/*
Theme Name: Forthspark
Theme URI: 
Description: Child theme for the BlankSlate theme. Allows you to fully style and customize the features of your theme without them being overwritten upon upgrading the main BlankSlate theme. 
Author: Alexander Bailey
Author URI: 
Template: blankslate
Text Domain: blankslate
Author URI: 
Version: 0.1
*/
/*@import url("../blankslate/style.css");*/
/* Text meant only for screen readers. -------------------------------------------------------------- */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}
/*-----------------------------Forthspark styles--------------------------------- */ 
/* hide for my view  */
/* a.post-edit-link {display:none;} */


:root {
  --headHeight: 16rem;
}
body {
  font-family: 'Helvetica', Arial, sans-serif;
}

a {
  /* color: #000; */
  color: #555;
}
#wrapper {
  color: #555;
}
#wrapper #container, #wrapper #footer, p {
	line-height: 1.3;
}

h1, h2, h3, h4, h5, h6 {
	/* line-height: 1.5;  */
	font-family: 'Trebuchet MS', 'Lucida Grande', Tahoma, sans-serif;
	font-weight: bold;
}
h1 {font-size: 2em;}
h2 {font-size: 1.5em;}
h3 {font-size: 1.25em;}

h2, h3, p {margin-bottom: 1em;}
img {max-width:100%; height:auto;}

a img.wp-post-image {
margin-bottom: 1em; /* add break after newsletter thumbnail  */
}

header #branding #site-title a {
  background-image: url(gfx/forthspark.svg);
  background-repeat: no-repeat;
  width: 100%;
  display: block;
  height: calc(var(--headHeight) / 5);
  background-size: contain;
  margin-left: -1em;
/*  background-color: aqua;*/
}
/*hide search form via CSS till Jeff confirms he really doesn't want a search box */
/* header #search {display: none;} */
/*-----------------------------from AKS theme--------------------------------- */
/*-----------------------------WP styles--------------------------------- */

.wp-block-list {list-style-type:disc; margin-bottom: 1em;}

.entry-title a, .entry-summary a, #site-title a, #menu a, #footer a {
  text-decoration: none;
  cursor: pointer;
  /*	force cursor pointer when href is empty */
}
.entry-title a:hover, .entry-summary a:hover, #site-title a:hover, #menu a:hover, #footer a:hover, .entry-title a:focus, .entry-summary a:focus, #site-title a:focus, #menu a:focus, #footer a:focus, a {
  text-decoration: underline;
  /*  text-decoration-style: dotted;*/
  text-decoration-thickness: 1px;
}
a:hover, a:focus {
  /* color: #00a651; */
  text-decoration: underline;
  text-decoration-style: solid;
}
#wrapper {
  margin: .5em 2em;
}
@media (min-width: 1000px) {
  #wrapper {
    margin: .5em auto;
    max-width: calc(1000px - 4em);
  }
}
#site-title {
  /*   text-align: center; */
  text-align: left;
}
#site-title h1, #site-title {
  /* font-size: min(2rem, 7.5vw); */
  /* text-transform: uppercase; */
  margin: 0;
  /* margin-bottom: calc(1em - 25px) */
}
#footer {
  /* text-align: center; */
  margin: 2em auto 1em;
}
#footer ul.menu { display:flex;
				 gap: 2em;
				}
#footer ul.menu li a {padding: 1em 0; display: block;}
#footer #copyright {
  font-size: .85em;
}

article header {
  margin: 0 0 1em;
}
footer.entry-footer {
  text-align: center; /* margin: 0 0 .5em; */
}
footer.entry-footer .cat-links, footer.entry-footer .tag-links {
  margin: 0 0 1em;
  display: block;
}

.entry-content {
  line-height: 1.2;
}

/* Side-by-side logo and menu */
header#header {
  display: flex;
  justify-content: space-between;
/*  background-color: beige;*/
  margin: 0 0 2em;
}
#branding {
  width: 16rem;
}
nav#menu { 
	/* width: calc(100vw - 16em - 2em - 2em); */ 
/*	background-color: aliceblue;*/
}
nav#menu .menu {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  /* align-items: flex-start; */
  flex-wrap: nowrap;
  background: none;
}

nav#menu .menu a {
  line-height: 1em;
  padding: calc(var(--headHeight) / 10 - .5em) 0;
  margin: 0.2em 0 -0.2em;
  display: block;
  font-size: 1.1em;
}
@media (max-width:750px) {
  /* Side-by-side logo and menu */
  header#header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #footer {
    text-align: center;
  }
  #footer ul.menu {
    justify-content: center;
    /* align-items: center; */
  }
#wrapper {
  margin-left: 1em; margin-right: 1em;
}	
}


/* Newsletter archive  */
main#content header.header {margin-bottom:1.5em;}
.post-type-archive-newsletter h2 {margin-bottom:0;}

/*Make Money aka category archive page */
main#content.category-archive h1 {margin-bottom:1rem;}
main#content.category-archive h2 {font-size: 1.25em;}
main#content.category-archive h3 {margin-bottom:0;
font-weight: normal; text-decoration: underline;}
main#content.category-archive .cat h4 {font-weight: normal;}
main#content.category-archive .cat h4:last-child {margin-bottom:1.5em; }


