/*
Theme Name: Rebecca Upjohn Theme
Description: Custom theme for Rebecca Upjohn by Alice Priestley
Version: 1

Template: twentytwentyone

*/

:root {
	--global--font-size-base: 1em;
	--global--font-size-xxs: .75rem;
  --global--font-size-xs: .875rem;
	--global--font-size-xxl: 2.5em;
  --global--font-primary: "Bad Script", cursive;
  --global--font-secondary: Merriweather, serif;
	--global--line-height-page-title: 1.4;
	--responsive--alignwide-width: 1240px;
  --primary-nav--font-family-mobile: var(--global--font-secondary);
  --primary-nav--font-size: var(--global--font-size-sm);
  --branding--title--font-family: var(--global--font-secondary);
  --branding--title--font-size-mobile: 28px;
  --branding--description--font-family: var(--global--font-primary);
  --branding--description--font-size: var(--global--font-size-sm);
  --branding--title--font-size: var(--global--font-size-xl);
	--heading--font-weight-page-title: 400;
	--heading--font-family: var(--global--font-secondary);
	--heading--font-weight: 300;
	--heading--font-size-h2: 2rem;
	--latest-posts--title-font-size: var(--heading--font-size-h4);
	--button--border-width: 1px;
	--button--font-size: var(--global--font-size-lg);
	--quote--font-style: italic;
	--quote--font-weight: 400;
	--widget--font-weight-title: 400;
  --footer--font-family: var(--global--font-secondary);
  --footer--font-size: var(--global--font-size-xs);
}

body, .site-main {
  min-width: 300px;
}

.site {
	position: relative;
	min-height: 100vh;
	padding-bottom: 150px;
}

.site-content a, .site-footer a {
  position: relative;
  text-decoration: none;
	border-bottom: 4px solid #def9de;;
	border-image: linear-gradient(to right, transparent, #000, transparent) 1 / 2px;
	border-image-width: 0 0 1px 0;
}

.site-content a:hover, .site-footer a:hover {
	text-decoration: none;
}

.site-content nav.post-navigation {
	max-width: var(--responsive--aligndefault-width);
}

.site-content nav.post-navigation a {
	border: none;
}

.site-content nav.post-navigation a p.post-title {
	font-weight: 400;
	position: relative;
	border: solid;
	border-image: linear-gradient(to right, transparent, #000, transparent) 1 / 2px;
	border-image-width: 0 0 1px 0;
}

.site-content a::before, .site-content nav.post-navigation a p.post-title::before, .site-footer a::before {
	content: " ";
	display: block;
	position: absolute;
	left: -.5em;
	top: -10%;
	width: calc(100% + 1em);
	height: calc(110% + 2px);
	background: #def9de;
	background-image: radial-gradient(at center 70%, #def9de 45%, #ffffff 75%);
	z-index: -1;
	opacity: 0;
	transition: opacity .5s ease;
}

.site-content nav.post-navigation a p.post-title::before {
	height: calc(120% + 2px);
	top: -20%;
}

.site-content .wp-block-button a::before, .site-content nav.post-navigation a::before, .site-content figure > a::before {
	display: none;
}

.site-content a:hover:before, .site-content nav.post-navigation a:hover p.post-title::before, .site-footer a:hover:before {
	opacity: 1;
	transition: opacity .5s ease;
}

.site-content figure > a, .site .primary-navigation .primary-menu-container > ul > .menu-item > a:focus, .site .site-content figure > a:focus:focus:not(.wp-block-button__link):not(.wp-block-file__button), .site-content nav.post-navigation a:focus:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
	border: none;
}

.primary-menu-container ul li {
	text-transform: lowercase;
}

#home-links a {
	background: none;
}

.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button), .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) img, .site a:focus-visible:not(.wp-block-button__link):not(.wp-block-file__button) img, #home-links a:focus-visible, .primary-navigation a:hover {
  border: none;
  outline: none;
  text-decoration: none;
}

.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button), .site-content nav.post-navigation a:focus:focus:not(.wp-block-button__link):not(.wp-block-file__button) p {
	background: none;
	color: var(--primary-nav--color-link-hover);
}

.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
	border-bottom: 4px solid transparent;
	border-image: linear-gradient(to right, transparent, green, transparent) 1 / 2px;
	border-image-width: 0 0 1px 0;
}

.site .widget-area .wp-block-social-links a:focus {
	border: none !important;
	color: #fff !important;
}

.site .site-title a:focus {
	border: none !important;
}

.site #home-links a::before {
	display: none;
}

div.wp-block-image, .wp-block-gallery {
    margin-bottom: 30px !important;
}	
																		 																 
hr.wp-block-separator.is-style-twentytwentyone-separator-thick {
	height: 4px;
	border-image: linear-gradient(to right, transparent, black, transparent) 1 / 2px;
	border-image-width: 1px 0 1px 0;
	background-image: linear-gradient(to right, transparent, #eee, transparent);
	background-size: cover;
}

.wp-block-pullquote {
	border-image: linear-gradient(to right, transparent, black, transparent) 1 / 2px;
	border-image-width: 1px 0 1px 0;
}

.wp-block-pullquote p em {
	font-weight: 400;
	font-style: normal;
}

.wp-block-pullquote blockquote::before {
	opacity: .25;
}

.site-header {
  position: relative;
  padding: 40px 0 0 0;
  height: 130px;
  flex-wrap: nowrap;
}

/* start MOBILE NAVIGATION */

.primary-navigation {
  position: absolute;
  top: 0;
  margin-right: auto;
  width: 100%;
}

@media only screen and (max-width: 652px) {

  .lock-scrolling .site {
    position: fixed;
    max-width: 100%;
    width: 100%;
  }

  .menu-button-container {
    padding-top: 4px;
    display: flex;
  }
	
	.menu-button-container #primary-mobile-menu {
		padding: 4px 20px;
	}
  
  .primary-navigation-open .menu-button-container {
    background: none;
  }
  
  .menu-button-container .button:focus {
    outline: none;
  }
  
  .primary-navigation-open .primary-navigation > .primary-menu-container {
    position: fixed;
  }
  
  .primary-navigation > .primary-menu-container {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: calc(var(--button--line-height) * var(--primary-nav--font-size-button) + 42px + 5px);
    padding-left: var(--global--spacing-unit);
    padding-right: var(--global--spacing-unit);
    padding-bottom: var(--global--spacing-horizontal);
    margin: 0;
    background-color: var(--global--color-background);
    transition: all 0.15s ease-in-out;
    transform: translateY(var(--global--spacing-vertical));
  }
  
  .primary-navigation > .primary-menu-container {
		height: 100vh;
		z-index: 499;
		overflow-x: hidden;
		overflow-y: auto;
		border: 2px solid transparent;
		background: #fff;
	}
	
	.primary-navigation > div > .menu-wrapper li {
    display: block;
    position: relative;
    width: 100%;
  }

}

/* end MOBILE NAVIGATION */

aside.widget-area {
	position: relative;
	display: block;
	padding: 20px 0; 
	margin-top: 40px;
}

.primary-navigation:after, aside.widget-area:before, .site-footer:before, #home-links .wp-block-column:not(:last-child):after, :not(.home) #masthead:after {
  display: block;
  position: absolute;
  content: " ";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.3) 20%, black 50%, rgba(0, 0, 0, 0.3) 80%, transparent);
}

aside.widget-area:before, .site-footer:before {
  top: 0;
  bottom: auto;
}

.site-header:not(.has-logo).has-title-and-tagline .site-branding {
  margin: 0 auto;
  max-width: calc(100% - 20px);
}

.site-title, .site-title a {
  font-weight: 300;
  text-align: center;
  text-decoration: none;
	letter-spacing: 2px;								 
  margin-bottom: 0;
}

.site-description {
  position: relative;
  text-align: center;
	letter-spacing: 1.5px;
}

.site-description:before, .site-description:after {
  content: " ";
  display: block;
  position: absolute;
  width: 30px;
  height: 15px;
  background: url(images/squiggle.png) no-repeat;
  background-size: 100%;
  bottom: -20px;
  right: 50%;
}
  
.site-description:before {
  right: auto;
  left: 50%;
  -webkit-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
  transform: scaleX(-1);
}

.home .site-main {
  padding: 0 0 40px 0;
}

#home-cover {
	font-size: 20px;
	min-height: calc(100vh - 130px) !important;
	padding: 20px;
}

#home-cover .wp-block-cover__image-background {
  min-height: calc(100vh - 130px) !important;
  background-size: auto 100vh;
  background-repeat: no-repeat;
  padding-bottom: 60px;
}

#home-cover p {
  font-family: var(--global--font-primary);
  font-size: 1.125em;
  line-height: 1.2;
  text-align: center;
  margin-block-start: 0;
  margin-block-end: 0;
  margin: 1.25em 0;
}

#home-cover .wp-block-cover__inner-container {
	position: absolute;
	min-height: 100%;
}

#home-cover .wp-block-columns {
	position: absolute;
	min-width: 100%;
	min-height: 100%;
}

#home-cover .wp-block-column:first-child {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 380px;
	max-width: 100%;
}

#home-cover .wp-block-column:last-child {
	position: absolute;
	min-height: 100%;
	min-width: 100%;
}

#home-cover .wp-block-buttons {
  position: absolute;
  display: block;
  bottom: 30px;
  left: 50%;
  margin-left: -30px;
  width: 60px;
  height: 60px;
  background: #000;
  border-radius: 100%;
  overflow: hidden;
  opacity: 1;
  transition: opacity .5s;
}
  
#home-cover .wp-block-buttons:hover {
  opacity: .5;
}
  
#home-cover .wp-block-buttons:before, #home-cover .wp-block-buttons:after {
  display: block;
  content: " ";
  position: absolute;
  top: 18px;
  left: 19px;
  width: 6px;
  height: 28px;
  background: #fff;
  border-radius: 6px;
  transform: rotate(-45deg);
}
  
#home-cover .wp-block-buttons:after {
  left: 35px;
  transform: rotate(45deg);
}
  
#home-cover .wp-block-buttons a, #home-cover .wp-block-button { 
  display: block;
  font-size: 0;
  color: transparent;
  padding: 0;
  width: 100%;
  height: 100%;
}
  
#home-cover .wp-block-button .wp-block-button__link {
  background: none;
}
  
#home-cover .wp-block-button__link {  
  position: relative;
  z-index: 1;
}

#home-links {
  max-width: 1120px;
	overflow: hidden;
}

#home-links .wp-block-column > figure a img {
	width: 100%;
  max-width: 200px;
}

#home-links .wp-block-column {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 20px;
  margin-left: 0;
}

#home-links .wp-block-column a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: none
}
  
#home-links .wp-block-column a:hover {
  border: none;
}

#home-links .wp-block-column h3 {
  font-size: calc(1.5 * var(--global--font-size-lg));
	font-family: var(--global--font-primary);
  margin-top: -30px;
}

.home .wp-block-latest-posts.is-style-twentytwentyone-latest-posts-borders {
	border: 1px solid #aaa;
	box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.25);
}

.home .wp-block-latest-posts.is-style-twentytwentyone-latest-posts-borders li {
	border: none;
	margin-top: 0;
}

.site-main {
	padding: 60px 20px 40px;
}

.singular .entry-header, .page-header {
	position: relative;
	text-align: center;
	padding: 0;
	margin: 0 auto;
	border: none;
}

.parent-slug-books.singular .has-post-thumbnail .entry-header {
	padding-bottom: 0;
}

.site-main > article > * {
	margin-top: 60px;
}

.page-title, h1.entry-title {
	font-family: var(--global--font-primary);
}

.entry-content h2 {
	margin-top: 46px;
}

h4 {
	font-weight: normal;
}

.entry-footer {
	font-size: var(--global--font-size-xxs);
}

.entry-footer time {
    padding-right: 10px;
}		
																		
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], .site textarea, .wp-block-search .wp-block-search__input, input[type="checkbox"], .site .button:hover, .site .button:active, button:hover, button:active, input[type="submit"]:hover, input[type="submit"]:active, input[type="reset"]:hover, input[type="reset"]:active, .wp-block-search .wp-block-search__button:hover, .wp-block-search .wp-block-search__button:active, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:active, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:active {
	border-image: linear-gradient(to right, black, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 80%, black) 1;
	border-width: 1px;
	border-style: solid;
	background-image: none;
}

.wp-block-buttons.is-vertical .wp-block-button {
	margin-bottom: 20px;
}

.entry-content ul li {
	margin: 1.5em 0;
}

.wp-block-quote {
	margin-bottom: 40px;
}

.wp-block-quote p em {
	font-style: normal;
}

.wp-block-quote:before {
	top: -14px;
	left: -14px;
	font-size: 40px;
	font-style: italic;
	font-weight: bold;
	color: #ccc;
}

.wp-block-quote cite:before {
	content: "\2014";
	display: inline;
	padding-right: .25em;
}

.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator).wide-accordion {
	max-width: 1000px;
}

.accordion {
	display: none;
}
	
.page-the-last-loon .accordion-button {
	max-width: var(--responsive--aligndefault-width);
	margin: 0 auto;
	font-weight: 400;
	text-align: center;
	margin-bottom: 40px;
	cursor: pointer;
}

.page-the-last-loon .accordion-button::after {
	display: block;
	content: "Show Report";
	font-size: 1em;
	color: black;
	width: 150px;
	text-align: center;
	padding: 6px;
	margin: 10px auto;
	border: 1px solid #aaa;
}

.accordion-button:hover::after {
	background: #def9de;
}

.accordion-button.accordion-open::after {
  content: "Hide Report";
}

hr.wp-block-separator.is-style-squiggle-separator:not(.is-style-wide):not(.is-style-dots) {
	position: relative;
	height: 15px;
	width: 90px;
	margin: 46px auto;
	border: none;
}

.wp-block-query li.wp-block-post, .archive.category article.post, .search .content-main-container article {
	position: relative;
	padding: 20px;
	margin-bottom: 60px;
	border: 1px solid rgb(170, 170, 170);
	box-shadow: rgba(0, 0, 0, 0.25) -5px 5px 10px;
}

.is-style-squiggle-separator:before, .is-style-squiggle-separator:after, .wp-block-query li.wp-block-post:before, .wp-block-query li.wp-block-post:after, .archive.category article.post:before, .archive.category article.post:after, .search .content-main-container article:before, .search .content-main-container article:after {
	position: absolute;
	display: inline-block;
	content: " ";
	bottom: 0;
	left: 0;
	width: 44px;
	height: 15px;
	background: url(images/squiggle.png) no-repeat bottom;
	background-size: 100%;
}

.wp-block-query li.wp-block-post:before, .archive.category article.post:before, .search .content-main-container article:before {
	left: 50%;	
	bottom: -40px;
	margin-left: -46px;
}

.is-style-squiggle-separator:after, .wp-block-query li.wp-block-post:after, .archive.category article.post:after, .search .content-main-container article:after {
	left: auto;
	right: 0;
	transform: scaleX(-1);
}

.wp-block-query li.wp-block-post:after, .archive.category article.post:after, .search .content-main-container article:after {
	right: 50%;
	bottom: -40px;
	margin-right: -46px;
}

.archive.category article.post .entry-header, .archive.category article.post .entry-header a.post-thumbnail-inner img, .search .content-main-container article .entry-header, .search .content-main-container article .entry-header a.post-thumbnail-inner img {
	margin-top: 0;
}

.archive.category article.post .entry-header figure {
	margin-top: var(--global--spacing-vertical);
}

.archive.category .page-title {
	margin-bottom: 40px;
}

.is-style-fancy-frame img {
	padding: 16px;
	background-image: url(images/ff-top-l.png), url(images/ff-top-r.png), url(images/ff-bottom-l.png), url(images/ff-bottom-r.png);
	background-size: 50px auto;
	background-position: left top, right top, left bottom, right bottom;
	background-repeat: no-repeat;
}

#main-sidebar > section {
	max-width: var(--responsive--aligndefault-width);
	margin: 0 auto 40px;
}

#main-sidebar h2 {
	font-family: var(--global--font-primary);
}

#main-sidebar .widget h2 {
	font-size: var(--global--font-size-lg);
	margin-bottom: 10px;
}

#main-sidebar .widget ul {
	padding-left: 20px;
	margin-top: 0;
}

.archive .content-sidebar-container .content-main-container, .search .content-sidebar-container .content-main-container, .single .content-sidebar-container .entry-header .post-thumbnail {
	max-width: 610px;
}

.site-footer {
  position: absolute;
	display: block;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
  padding-top: 20px;
	height: 150px;
	width: 100%;
}

.site-footer > .site-info, .site-footer > .design-credit {
  display: block;
  margin: 0 auto;
  text-align: center;
  border: none;
}

.site-footer > .site-info .site-name, .site-footer > .design-credit {
  font-size: var(--footer--font-size);
  text-transform: none;
}

.site-footer a {
  text-decoration: none;
}

aside.widget-area > .widget_block {
	display: table;
	margin: 0 auto;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link:not(:hover) {
	background-color: #000;
	transition: background-color .2s, transform .2s ease;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-bluesky {
	background-color: #0a7aff;
	transition: background-color .2s, transform .2s ease;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-facebook {
	background-color: #0866ff;
	transition: background-color .2s, transform .2s ease;
}

/* CUSTOM PAGE GRAPHICS */

.page-making .site-main, .page-books .site-main, .page-writing .site-main {
	padding-top: 0;
}

.page-making .entry-title, .page-books .entry-title, .page-writing .entry-title {
	position: relative;
}

.page-making .entry-title:before, .page-books .entry-title:before, .page-writing .entry-title:before {
	position: relative;
	content: " ";
	display: block;
	width: 280px;
	height: 340px;
	margin: 0 auto;
	background: url(images/making-colour.jpg) no-repeat;
	background-size: 100% auto;
	z-index: -1;
}

.page-books .entry-title:before {
	background-image: url(images/books-colour.jpg);
}

.page-writing .entry-title:before {
	background-image: url(images/writing-colour.jpg);
}

/* end CUSTOM PAGE GRAPHICS */

/* Books menu styling */

.books-menu {
	display: flex;
	justify-content: center;
	margin: 40px auto;
}

.books-menu ul {
	position: relative;
	display: inline-block;
	padding: 10px 4px 20px 4px;
	border: 1px solid #aaa;
}

.books-menu ul:before {
	position: absolute;
	top: -34px;
	left: 8px;
	content: "Books Menu";
	font-size: var(--global--font-size-lg);
	font-family: var(--global--font-primary);
	color: #6f6f6f;
	text-align: center;
	margin-bottom: 20px;
}

.books-list li {
	position: relative;
	display: inline-block;
	height: 110px;
	padding: 0 1px 40px 1px;
}

#books-menu li > a {
	border: none;
}

.books-list li a span:last-child {
	position: absolute;
	bottom: -4px;
	left: 0;
	height: 40px;
	width: 100%;
	text-align: center;
	font-size: 10px;
}

.books-list li img {
	max-height: 100%;
	width: auto !important;
}

ul.wp-block-categories-list > li > a {
	font-family: var(--global--font-primary);
	font-size: var(--global--font-size-lg);
  pointer-events: none;
  cursor: default;
	border: none;
}

#contact-social > span {
	position: relative;
	padding-left: 30px;
	margin: 5px 0;
}

#contact-social svg {
	position: absolute;
	left: 0;
	top: 2px;
}

@media only screen and (max-width: 340px) {
	
	#contact-social {
		padding-left: 10px;
	}
	
	#contact-social > span {
		padding-left: 26px;
		font-size: 14px;
	}
	
	#contact-social svg {
		top: 0;
	}

}

@media only screen and (max-width: 400px) {

	.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator) {
		margin-left: 0;
		margin-right: 0;
	}
	
	p {
		min-width: 100%;
	}

}

@media only screen and (max-width: 652px) {
  
  #home-links .wp-block-column:not(:last-child) {
    padding-bottom: 40px;
  }
  
  #home-links .wp-block-column {
    flex-basis: 100% !important;
  }
  
  .no-widgets .site-footer {
    margin-top: 0;
  }

}

@media only screen and (max-width: 1000px) {
	
	#home-latest .wp-block-latest-posts__featured-image.alignright {
		float: none;
		max-width: 300px;
		margin-left: 0;
	}

}

@media only screen and (max-width: 800px) {
  
  #home-cover .wp-block-columns {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  #home-cover .wp-block-column {
    display: block;    
  }

}

@media only screen and (min-width: 300px) {

	.books-list li {
		height: calc(15vw + 60px);
		padding: 0 1vw 40px 1vw;
	}

}

@media only screen and (min-width: 380px) {
	
	.page-making .site-main, .page-books .site-main, .page-writing .site-main, .site-main {
		padding-top: 40px;
	}
	
	/* CUSTOM PAGE GRAPHICS */

	.page-making .entry-title, .page-books .entry-title, .page-writing .entry-title {
		text-align: right;
		padding: 136px 0 130px 200px;
		width: 360px;
		max-width: calc(100vw - 40px);
		margin: 0 auto;
	}
	
	.page-books .entry-title {
		max-width: 300px;
		padding-top: 100px;
		padding-bottom: 166px;
	}

	.page-making .entry-title:before, .page-books .entry-title:before, .page-writing .entry-title:before {
		position: absolute;
		top: -20px;
		left: -40px;
		width: 300px;
		height: 400px;
	}
	
}

@media only screen and (min-width: 482px) {
	
	.site-description {
		letter-spacing: 1px;
	}

  .site-description:before, .site-description:after {
    bottom: auto;
    top: 8px;
    right: 4px;
  }
  
  .site-description:before {
    right: auto;
    left: 2px;
  }
	
	.books-list li {
		height: 140px;
	}

}

@media only screen and (min-width: 653px) {

  :root {
    --global--font-size-xl: 2.875rem;
    --branding--description--font-size: var(--global--font-size-lg);
  }
  
  .site-header {
    height: 184px;
    padding-top: 40px;
    flex-direction: column;
    align-items: center;
  }
  
  .site-title, .site-title a {
    letter-spacing: 6px;
  }
  
  .site-description {
    letter-spacing: 2px;
    margin-top: -.3125em;
  }
  
  .site-description:before, .site-description:after {
    width: 44px;
  }
    
  .primary-navigation {
    position: absolute;
    top: 0;
    min-height: 47px;
    margin-right: auto;
    width: 100%;
  }
  
  .primary-navigation:after {
    display: block;
  }
  
  .primary-navigation-open .primary-navigation > .primary-menu-container {
    position: absolute;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }  
  
  .primary-navigation .primary-menu-container {
    padding: 0 6px;
		max-width: 860px;
    margin: 0 auto;
  }
  
  .primary-navigation > div > .menu-wrapper {
    justify-content: space-between;
  }
	
	.primary-navigation > div > .menu-wrapper li {
		padding: 0 14px;
	}
	
	.primary-navigation .current-menu-item > a:first-child, .primary-navigation .current_page_item > a:first-child, .primary-navigation .current-menu-item > a:first-child:hover, .primary-navigation .current_page_item > a:first-child:hover {
		text-decoration: none;
	}
  
  .primary-navigation > div > .menu-wrapper li:before, .primary-navigation > div > .menu-wrapper li:after {
    content: " ";
    display: block;
    position: absolute;
    top: 15px;
    left: 4px;
    width: 22px;
    height: 20px;
    background: url(images/squiggle.png) no-repeat;
    background-size: 180%;
    background-position: left top;
    opacity: 0;
    transition: opacity .5s;
    z-index: -1;
    box-shadow: inset -9px 0 6px #fff;
  }
  
  .primary-navigation > div > .menu-wrapper li:before {
    left: auto;
    right: 4px;
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
  }
  
  .primary-navigation > div > .menu-wrapper li:hover:before, .primary-navigation > div > .menu-wrapper li:hover:after, .primary-navigation > div > .menu-wrapper li.current_page_item:before, .primary-navigation > div > .menu-wrapper li.current_page_item:after, .primary-navigation > div > .menu-wrapper li.current-page-ancestor:before, .primary-navigation > div > .menu-wrapper li.current-page-ancestor:after, .primary-navigation > div > .menu-wrapper li.current_page_parent:before, .primary-navigation > div > .menu-wrapper li.current_page_parent:after {
    opacity: 1;
  }
  
  #home-cover {
    min-height: calc(100vh - 184px) !important;
		overflow: hidden;
  }
  
  #home-links {
    justify-content: center;
		padding-bottom: 60px;
  }
  
  #home-links .wp-block-column {
    position: relative;
    margin-top: 100px;
    margin-bottom: 0;
    padding: 0;
  }
  
  #home-links .wp-block-column:not(:last-child):after {
    display: none;
  }
	
	#home-links .wp-block-column > figure {
    margin-bottom: 0;
  }
  
  #home-links .wp-block-column > figure a {
    margin-bottom: 0;
  }
  
  #home-links .wp-block-column > figure a img {
    max-width: 240px;
  }
	
	#home-links .wp-block-column figure a:before {
		content: " ";
    display: block;
    position: absolute;
    left: -15%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
    z-index: -1;
	}
	
	#home-links .wp-block-column figure a:before {
		background: no-repeat center;
    background-size: 257px;
	}
  
  #home-links .wp-block-column figure a[href*="making"]:before {
    background-image: url(images/journal-back.png);
  }
	
	#home-links .wp-block-column figure a[href*="books"]:before {
    background-image: url(images/books-back.png);
  }
	
	#home-links .wp-block-column figure a[href*="writing"]:before {
    background-image: url(images/writing-back.png);
  }
  
  #home-links .wp-block-column:hover figure a:before, #home-links .wp-block-column figure a:focus:before {
    opacity: 1;
  }
  
  #home-links .wp-block-column h3 {
    margin-top: -10px;
  }
  
  .no-widgets .site-footer {
    margin-top: 100px;
    padding-top: 10px;
  }

}

@media only screen and (max-width: 781px) {
	
	.is-style-wide-group-shadow {
		padding: 20px;
		max-width: 400px;
		border: 1px solid #6f6f6f;
	}
	
	.parent-slug-books #page {
		display: flex;
		flex-direction: column;
	}
	
	.parent-slug-books .site-header {
		width: 100%;
	}
	
	.parent-slug-books .site-main {
		padding-bottom: 40px;
	}
	
	.books-menu {
		order: 4;
	}
	
	.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		width: 100%;
	}
	
	.book-group .wp-block-column {
		text-align: center;
	}
	
	.wide-accordion .wp-block-gallery.has-nested-images.book-group figure.wp-block-image img, .wide-accordion .wp-block-gallery.has-nested-images.is-cropped.book-group figure.wp-block-image:not(#individual-image) img {
		max-width: 400px !important;
		margin: 5px auto;
		border: 1px solid #ccc;
	}
	
	.image-shadow img {
		border: 1px solid #ccc;
	}
	
	.page-books .wp-block-column {
		max-width: 300px;
		margin: 0 auto;
	}

	.page-books .wp-element-caption {
		font-size: var(--global--font-size-lg);
	}
	
}

@media only screen and (min-width: 782px) {

  #home-links .wp-block-columns {
    margin-top: 1.5rem;
  }
	
	#home-latest h2 {
		margin-top: 10px;
	}
  
  .no-widgets .site-footer {
    padding-top: 20px;
  }
	
	.is-style-wide-group-shadow {
		padding: 40px;
		max-width: 1000px;
		border: 1px solid #aaa;
		box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.25);
	}
	
	.book-group div:first-child {
		display: flex;
		justify-content: right;
	}
	
	.book-group img, .image-shadow img, .is-style-image-shadow img, .page-the-last-loon .c-accordion__title::after, .wp-block-latest-posts img {
		box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.5);
	}
	
	.wide-accordion .book-group {
		padding: 40px;
	}
	
	.wide-accordion.is-open {
		margin-bottom: 60px;
	}
	
	.page-books .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: auto;
	}
	
	.page-books .wp-block-column figure > a {
		position: relative;
		display: block;
		width: auto;
		border: none;
		transition: .15s;
	}
	
	.page-books .wp-block-column a img {
		transition: .15s;
	}
	
	.page-books .wp-block-column figure > a:before, .page-books .wp-block-column figure > a:after {
		content: " ";
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.5);
		transition: .3s;
		z-index: -1;
	}
	
	.page-books .wp-block-column figure > a:after {
		box-shadow: -8px 8px 16px rgba(0, 0, 0, 0.35);
		opacity: 0;
	}
	
	.page-books .wp-block-column a:hover, .page-books .wp-block-column a:hover img {
		transform: scale(1.005);
	}
	
	.page-books .wp-block-column a:hover:after {
		opacity: 1;
	}
	
	.page-books .wp-block-column a:hover:before {
		opacity: 0;
	}
	
	.books-menu {
		margin: 60px auto 20px auto;
	}
	
	.books-menu ul {
		padding: 40px 14px 12px 14px;
		box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.25);
	}

	.books-menu ul:before {
		top: -34px;
	}
	
	.books-list li {
		height: 190px;
		padding: 0 12px 40px 12px;
	}

	.books-list li img {
		max-height: 100%;
		width: auto !important;
		transition: .5s;
	}
	
	.books-list li:not(.current_page_item) img:hover {
		filter: brightness(105%) drop-shadow(-2px 2px 3px rgba(0, 0, 0, 0.75));
	}
	
	.books-list li.current_page_item {
		padding: 0 40px 40px 40px;
		transform: scale(1.25);
	}

	.books-list li.current_page_item span:last-child {
	    transform: scale(.8);
	}		
	
	.books-list li.current_page_item img {
		box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5);
	}
	
	#home-latest ul li {
		position: relative;
		padding-bottom: 0;
		margin: 0;
	}
	
	#home-latest ul li::after {
		content: " ";
		width: 100%;
		display: inline-block;
	}
	
	#home-latest .wp-block-latest-posts__featured-image.alignright {
		float: right;
		max-width: 35%;
	}
	
	#home-latest .wp-block-latest-posts__featured-image.alignright ~ * {
		display: block;
		max-width: calc(65% - 20px);
	}
  
}

@media only screen and (min-width: 782px) and (min-height: 760px) {

  #home-cover p {
    font-size: 1.375em;
  }

}

@media only screen and (min-width: 800px) {

  #home-cover .wp-block-cover__image-background.parallax {
    min-height: calc(100vh - 188px) !important;
    background-size: auto calc(115vh - 20px);
    background-position: center -20px;
  }
    
  #home-cover.wp-block-cover .wp-block-cover__inner-container {
		box-sizing: border-box;
    height: 100%;
    width: calc((100vh - 20px) / .651);
		max-width: 100%;
    padding: 0 30px;
  }
  
  #home-cover .wp-block-columns {
    width: 100%;
    max-width: calc(100% - 60px);
		min-width: calc(100% - 60px);
  }
  
  #home-cover .wp-block-column:first-child {
		left: 0;
		transform: translate(0, -50%);
    margin-left: 4%;
  }
  
  #home-cover .has-background-dim:not([class*="-background-color"]) {
    width: 50%;
    background-color: transparent;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.35) 80%, transparent);
    opacity: 1;
  }

}

@media only screen and (min-width: 1000px) {
  
  #home-links .wp-block-column:not(:first-child) {
    margin-left: 2em;
  }
	
	#home-latest a.wp-block-latest-posts__post-title {
		margin-top: 0;
	}
	
	#home-latest .wp-block-column h2 + ul > li {
		min-height: 286px;
	}
	
	.wide-accordion .book-group {
		padding: 50px;
	}
	
	.wide-accordion .book-group figure {
		padding: 5px;
	}
	
	.page-books .wp-element-caption {
		font-size: var(--global--font-size-base);
	}
  
} 

@media only screen and (min-width: 1000px) and (min-height: 800px) {

  #home-cover .wp-block-column {
    max-width: 370px;
  }

  #home-cover p {
    line-height: 1.5;
  }

} 

@media only screen and (max-width: 1199px) {
	
	#main-sidebar {
		padding-top: 30px;
	}
	
}

@media only screen and (min-width: 1200px) {

	.content-sidebar-container {
		display: flex;
		justify-content: space-between;
		max-width: 1200px;
		padding: 20px 40px;
		margin: 0 auto;
	}
	
	#main-sidebar {
		position: relative;
		padding-left: calc((100vw - 1115px) / 2);
	}
	
	#main-sidebar:before {
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		content: " ";
		width: 1px;
		height: 100%;
		background: linear-gradient(transparent, rgba(0, 0, 0, 0.3) 80px, black 50%, rgba(0, 0, 0, 0.3) calc(100% - 80px), transparent);
	}
	
	#home-links {		
		padding-bottom: 50px !important;
		margin-bottom: 0;
	}
	
	#home-links .wp-block-column:before {
    content: " ";
    display: block;
    position: absolute;
    left: calc(50% - 150px);
    top: -15%;
    width: 300px;
    height: 130%;
    border-radius: 100%;
    border: 1px solid #aaa;
    opacity: 0;
    transition: opacity 1s;
  }
  
  #home-links .wp-block-column:hover:before, #home-links .wp-block-column:focus-within:before {
    opacity: 1;
  }
  
  #home-links .wp-block-column:focus-within:before {
    border: 3px dotted #aaa;
  }
  

}

@media only screen and (min-width: 1260px) {
	
	#main-sidebar {
		position: relative;
		padding-left: 70px;
	}
	
}

@media only screen and (min-width: 1400px) {

  #home-cover .wp-block-column:first-child {
    margin-left: 5%;
  }
    
  #home-links .wp-block-column:not(:first-child) {
    margin-left: 3em;
  }
  
} 
 