/*
Theme Name: John D. Berry 2024
Text Domain: johndberry
Version: 3.0
Requires at least: 4.7
Requires PHP: 5.2.4
Description: Theme for John D. Berry's website.
Tags: 
Author: Paul Novitski
Author URI: https://juniperwebcraft.com/
Theme URI: https://johndberry.com/
*/
/*
	style.css
	
	modifications:
	2020-08-17
		- set responsive transition for bio page from 600px to 800px. (Make this a site-wide standard?)
	2020-08-26
		- renamed 'cards' to 'things-i-do'
	2020-09-26
		- moved this stylesheet from global.css in root directory to style.css in theme folder.
		- made corresponding changes to URLs here.
	2024-03-18
		- support for Typographic memoir parent & child pages
		
*/

/*--------------------
	fonts
--------------------*/

/*---------
Profile fonts:
---------*/
/* Profile light */
@font-face
{
	font-family: 'Profile Pro Web';
	font-style: normal;
	font-weight: 300;
	src: url('fonts/ProfilePro-Light.woff') format("woff"),
	url('fonts/ProfilePro-Light.woff2') format("woff2");
}
/* Profile light italic */
@font-face
{
	font-family: 'Profile Pro Web';
	font-style: italic;
	font-weight: 300;
	src: url('fonts/ProfilePro-LightIta.woff') format("woff"),
	url('fonts/ProfilePro-LightIta.woff2') format("woff2");
}

/* Profile regular */
@font-face
{
	font-family: 'Profile Pro Web';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/ProfilePro.woff2') format("woff2"),
	url('fonts/ProfilePro.woff') format("woff");
}
/* Profile regular italic */
@font-face
{
	font-family: 'Profile Pro Web';
	font-style: italic;
	font-weight: 400;
	src: url('fonts/ProfilePro-Ita.woff2') format("woff2"),
		 url('fonts/ProfilePro-Ita.woff') format("woff");
}
/* Profile medium */
@font-face
{
	font-family: 'Profile Pro Web';
	font-style: normal;
	font-weight: 600;
	src: url('fonts/ProfilePro-Medi.woff') format("woff"),
	url('fonts/ProfilePro-Medi.woff2') format("woff2");
}
/* Profile medium italic */
@font-face
{
	font-family: 'Profile Pro Web';
	font-style: italic;
	font-weight: 500;
	src: url('fonts/ProfilePro-MedIta.woff') format("woff"),
	url('fonts/ProfilePro-MedIta.woff2') format("woff2");
}
/* Profile bold */
@font-face
{
	font-family: 'Profile Pro Web';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/ProfilePro-Bold.woff') format("woff"),
	url('fonts/ProfilePro-Bold.woff2') format("woff2");
}
/* Profile bold italic */
@font-face
{
	font-family: 'Profile Pro Web';
	font-style: italic;
	font-weight: 700;
	src: url('fonts/ProfilePro-BoldIta.woff') format("woff"),
	url('fonts/ProfilePro-BoldIta.woff2') format("woff2");
}
/* Profile black */
@font-face
{
	font-family: 'Profile Pro Web';
	font-style: normal;
	font-weight: 900;
	src: url('fonts/ProfilePro-Black.woff') format("woff"),
	url('fonts/ProfilePro-Black.woff2') format("woff2");
}
/* Profile black italic */
@font-face
{
	font-family: 'Profile Pro Web';
	font-style: italic;
	font-weight: 900;
	src: url('fonts/ProfilePro-BlackIta.woff') format("woff"),
	url('fonts/ProfilePro-BlackIta.woff2') format("woff2");
}

/*---------
Fern Micro fonts:
---------*/

/* Fern Micro regular */
@font-face
{
	font-family: 'Fern Micro Web';
	font-style: normal;
	font-weight: normal;
	src: url('fonts/FernMicro-Regular.woff') format("woff"),
	url('fonts/FernMicro-Regular.woff2') format("woff2");
}
/* Fern Micro italic */
@font-face
{
	font-family: 'Fern Micro Web';
	font-style: italic;
	font-weight: normal;
	src: url('fonts/FernMicro-Italic.woff') format("woff"),
	url('fonts/FernMicro-Italic.woff2') format("woff2");
}

/*====================
	CSS Reset
====================*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video
{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section
{
	display: block;
}
body
{
	line-height: 1;
}
em
{
	font-style: italic;
}
p
{
	margin-bottom: .9em;
}
ol, ul
{
	list-style: none;
}
blockquote, q
{
	quotes: none;
}
blockquote::before, blockquote:after,
q::before, q:after
{
	content: '';
	content: none;
}
.dek
{
	Xfont-size: 1.15em;
	font-size: inherit;
	font-weight: bold;	
	color: #444;
}
strong
{
	font-weight: bold;
}
table
{
	border-collapse: collapse;
	border-spacing: 0;
}
::placeholder
{
	color: #999;
	opacity: 1;
	color: #000;
	opacity: 0.3;
}

/*====================
	John D. Berry website
====================*/
/*--------------------
	page styling
--------------------*/
html,
body
{
	font: normal 400 100%/1.3 'Profile Pro Web';
}
body
{
	max-width: 100%;
	margin: 40px;
}
p em
{
	font-family: 'Profile Pro Web';
	font-style: italic;
	font-weight: 400;
}
#page-content
{
	width: auto;
	max-width: 1600px;
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 4rem;
}


/* for phones & other narrow displays */
@media (max-width: 600px)
{
	body
	{
		margin: 15px;
	}
	#page-content
	{
		max-width: 100%;
	}
}

/* menu toggle */
.invisible
{
	display: none;
}
.images100 .wrapper img
{
	width: 100%;
}
.images75 .wrapper img
{
	width: 75%;
}
.background230
{
	background-color: rgb(230, 230, 230);
}
.wrapper,
.box
{
	background-color: inherit;
}

/*====================
	layout styles
====================*/
/*--------------------
layout_text
--------------------*/
/* layout_text : 1 narrow image column + 1 wide text column */
.layout_text
{
	max-width: 800px;
	display: grid;
	grid-template-columns: 2fr 3fr;		/* repeat(auto-fill, 300px);*/
	grid-auto-rows: minmax(00px, auto);
	gap: 40px;
	background-color: inherit;
	color: #444;
}
.layout_text .box
{
	padding: 0px;
	font-size: 1.5rem;
	line-height: 1.2;
	color: rgb(2, 0, 0);
	background-color: inherit;
}
.layout_text .box figcaption
{
	font-size: 1.15rem;
}
.layout_text .box img
{
	width: 100%;
	height: auto;
	border: 1px solid rgb(0,0, 0);
}
.layout_text .sidebar a + a,
.layout_text .sidebar a + p,
.layout_text .sidebar p + a,
.layout_text .sidebar img + img,
.layout_text .sidebar img + p,
.layout_text .sidebar p + img,
.layout_text .sidebar div + div,
.layout_text .sidebar section + section
{
	margin-top: 10px;
}
body .layout_text .sidebar div,
body .layout_text .sidebar section,
body .layout_text .sidebar p,
body .layout_text .sidebar img
{
	width: auto;
	max-width: 100%;
	text-align: right;
}

/*--------------------
	writing on type and design
--------------------*/
body#writing-on-type-and-design .wrapper
{
	padding-top: .5em;
}
body.page .layout_text a,
body.writing a,
#page-content footer a
{
	border: none;
	text-decoration: none;
	color: #993300; /* dark red */
}
body.page .layout_text a:hover,
body.writing a:hover,
#page-content footer a:hover
{
	opacity: .7;
}
body .layout_text .sidebar
{
	text-align: right;
}
body .layout_text .sidebar h2 + a,
body .layout_text .sidebar h2 + p img
{
	display: inline-block;
	margin-top: .6rem;
}
body .layout_text .sidebar img
{
	clear: right;
	float: right;
	display: block;
	max-width: 222px/* !important*/;
	margin-bottom: 10px;
}
body.page_franklin-press .layout_text .sidebar img
{
	max-width: 100%;
}
body .layout_text .sidebar p
{
	clear: right;
	float: right;
	display: block;
}
Xbody.writing h2,
body.jdb_article h2,
.comments-title
{
	margin-top: -0.25em;
	margin-bottom: .9rem;
	font-family: 'Profile Pro Web';
	font-weight: 700;
	font-size: 1.3em;
	color: #993300; /* dark red */;
}
body .layout_text hr,
body.section_writing .layout_text hr,
body.writing-on-type-and-design .layout_text hr
{
	margin: -.5em 0 .5em 0;
	border-color: transparent;
	color: black;
}
body .layout_text hr::before,
Xbody.section_writing hr::before,
Xbody.writing-on-type-and-design hr::before
{
	content: ":: :: ::";
}
body .layout_text .pagination-single hr,
body .layout_text .pagination-separator hr,
body .layout_text .styled-separator hr,
body .layout_text .is-style-wide hr
{
	display: none;
}
body .layout_text .pagination-single hr::before,
body .layout_text .pagination-separator hr::before
{
	content: "" !important;
}

@media (max-width: 600px)
{
	body .layout_text .sidebar
	{
		text-align: left;
	}
	body.writing .sidebar img
	{
		max-width: 100%;
	}
	body .layout_text .sidebar img
	{
		clear: all;
		float: none;
		display: block;
		max-width: 100% !important;
		margin-bottom: 10px;
	}
}
/*--------------------
layout_cols_1wide
--------------------*/
/* layout_cols_1wide : 1 wide column approximately half the width of the wide-screen content area */
html body .layout_cols_1wide
{
	display: grid;
	grid-template-columns: 1fr;
	grid-auto-rows: auto;
	row-gap: .6em;
}
/*--------------------
layout_cols_3
--------------------*/
/* layout_cols_3 : 3 same-width columns to fill the wide-screen content area */
.layout_cols_3
{
	max-width: 1000px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-auto-rows: 1;
	column-gap: 30px;
	font-family: 'Profile Pro Web';
}
/*--------------------
layout_portfolio
--------------------*/
/* portfolio layout - grid of images */
.layout_portfolio
{
	display: grid;
	grid-template-columns: repeat(auto-fill, 300px);
	grid-auto-rows: minmax(00px, auto);
	gap: 40px;
	color: #444;
}
/* grid of portfolio images */
.layout_portfolio .box
{
	border: 2px solid transparent; /* rgb(230, 230, 230); */
	color: rgb(2, 0, 0);
	border-radius: 5px;
	padding: 0px;
	font-family: 'Profile Pro Web';
	font-size: 1.5rem;
	line-height: 1.1;
}
/* exceptions for editorial page */
body.editorial-and-book-design .layout_portfolio
{
	grid-template-columns: repeat(auto-fill, 600px);
}
body.editorial-and-book-design .layout_portfolio .box
{
	max-width: 600px;
}

/* grid of book-cover images */
.layout_portfolio .box img
{
	width: 100%;
	border: 1px solid rgb(0,0,0);
}

/* for phones & other narrow displays */
@media (max-width: 625px)
{
	.layout_text,
	.layout_cols_1wide,
	.layout_cols_3,
	.layout_portfolio
	{
		max-width: 100%;
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 20px;
	}
}
/* for phones & other narrow displays */
@media (max-width: 1300px)
{
	body.editorial-and-book-design .layout_portfolio
	{
		max-width: 100%;
		display: grid;
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 20px;
	}
}

/*--------------------
	page header
--------------------*/
.page-title
{
	line-height: 1;
	margin: 1.5em 0 1em 0;
	padding: 0;
	font-family: 'Profile Pro Web';
	font-size: 2.5em;
	font-weight: 700;
	letter-spacing: -.5px;
	text-align: left;
	color: #006666; /* teal */
}
.page-title a
{
	text-decoration: none;
	color: #006666 !important; /* teal */
}
span.nowrap
{
    white-space: nowrap;
}
.identity
{
	white-space: nowrap;
}
.page-title span.byline
{
	font-weight: 700;
	white-space: nowrap;
	color: #993300; /* dark red */
}

/* @media screen and (max-width: 990px)	/*  */
@media (max-width: 600px)
{
	.page-title
	{
		font-size: 2.0em;
	}
}
/*--------------------
	main header
--------------------*/
/* | menu | logo | search | */
.main-header
{
	display: grid;
	grid-template-columns: auto auto 1fr;
	gap: 30px;
}
/* SVG image logo */
.main-header .logo
{
	line-height: 1;
	margin: 0;
	padding: 0;
	font-family: 'Profile Pro Web';
	font-size: 2em;
	font-weight: 900;
	letter-spacing: -.5px;
	text-align: left;
}
.main-header .logo a:hover
{
	opacity: .7;
}
.main-header .logo img
{
	Xwidth: 10em;
	width: 400px;
	Xmax-width: 80%;
	Xmax-width: calc( 100vh - 100px );
}
.main-header .logo img.toggled-on
{
	display: none;
}
.main-header a
{
	text-decoration: none;
	color: #006666; /* teal */
}


/*--------------------
	menu toggle
--------------------*/
.main-header .site-nav
{
	width: 40px;
}
.main-header .site-nav .nav-icon
{
	width: 40px;
	margin-top: calc( 1.7em - 9px );
	cursor: pointer;
}
.main-header .site-nav .nav-icon:hover
{
	opacity: .7;
}
.main-header .site-nav .nav-icon .menulabel
{
	display: done;
	font-variant: small-caps;
}
.main-header .site-nav .nav-icon .yang3,
.main-header .site-nav .nav-icon .yang2,
.main-header .site-nav .nav-icon .yang1
{
	height: 4px;
	background-color: #8F9094;
	border: 1px solid #8F9094;
	Xborder-radius: 4px;
	margin: 6px 0;
	transition: 0.4s;
}
.main-header .site-nav-on .yang3
{
	-webkit-transform: rotate(-45deg) translate(-10px, 10px);
	transform: rotate(-45deg) translate(-10px, 10px);
}
.main-header .site-nav-on .yang2
{
	opacity: 0;
}
.main-header .site-nav-on .yang1
{
	-webkit-transform: rotate(45deg) translate(-8px, -8px);
	transform: rotate(45deg) translate(-8px, -8px);
}

.main-header2 .nav-icon .menulabel
{
	margin: 0;
	line-height: 1;
	color: #97330E; /* dark red */
	text-align: right;
}
.main-header2 .site-nav,
.main-header2 .site-nav .nav-icon
{
	width: auto;
}
.main-header2 .nav-icon .menulabel span
{
	background-color: white;
	color: #006666; /* teal */;
}
.main-header2 .site-nav .nav-icon .yang3,
.main-header2 .site-nav .nav-icon .yang2,
.main-header2 .site-nav .nav-icon .yang1
{
	height: 4px;
	background-color: #8F9094;
	border: 1px solid #8F9094;
	Xborder-radius: 4px;
	margin: 6px 0;
	transition: 0.4s;
}
.main-header2 .site-nav .nav-icon .yang3
{
	margin-top: 4px;
}



.main-header .site-nav .nav-menu
{
	display: none;
}
/* nav menu toggled on */
.main-header .site-nav-on .nav-menu
{
	display: block;
	position: absolute;
	max-width: 100%;
	margin-top: 7px;
	margin-left: -.5em;
	padding: .5em;
	border-radius: .3em;
	background-color: #A7DDDD; /* paler teal */
	opacity: .95;
}
header .site-nav-on .nav-menu nav
{
	font-size: 1.2em;
	background-color: #A7DDDD; /* paler teal */
	opacity: 1;
}
header .site-nav-on .nav-menu nav a,
header .site-nav-on .nav-menu nav span
{
	display: block;
}
header .site-nav-on .nav-menu nav a:hover
{
	color: #993300; /* dark red */
}
header .site-nav-on .nav-menu nav .current a
{
	color: #993300; /* dark red */
	cursor: default;
}
header .site-nav-on .nav-menu .divider
{
	height: 1px;
	margin: 5px 0;
	background-color: #006666; /* teal */;
}
.nav-menu ul ul
{
	margin-left: 1em;
}


/* for phones & other narrow displays */
@media (max-width: 600px)
{
	.main-header
	{
		gap: 15px;
	}
	.main-header .logo img
	{
		Xfont-size: 1.7em;
		max-width: calc( 100vw - 60px );
		max-width: 100%;
	}
	.main-header .site-nav
	{
		width: 30px;
	}
	.main-header .site-nav .nav-icon
	{
		width: 30px;
		margin-top: 1.0em;
	}
	.main-header .site-nav .nav-icon .yang3,
	.main-header .site-nav .nav-icon .yang2,
	.main-header .site-nav .nav-icon .yang1
	{
		height: 5px;
		margin: 5px 0;
	}
	.main-header .site-nav-on .yang3
	{
		-webkit-transform: rotate(-45deg) translate(-15px, 15px);
		transform: rotate(-45deg) translate(-15px, 15px);
	}
	.main-header .site-nav-on .yang1
	{
		-webkit-transform: rotate(45deg) translate(-6px, -6px);
		transform: rotate(45deg) translate(-6px, -6px);
	}	header .site-nav-on .nav-menu nav
	{
		font-size: .8em;
	}
}

/*====================
	home page 
====================*/
/*--------------------
	site title (home page only)
--------------------*/
body#home .site-logo
{
	margin: 0 auto;
}
body#home .entry-header
{
	display: none;
}

/*--------------------
	headshot & chief skills
--------------------*/
body#home .talking-head
{
	margin-left: 0;
	max-width: 600px;
	display: grid;
	grid-template-columns: auto;
	grid-auto-rows: 2;
	column-gap: 20px;
	row-gap: 20px;
}
body#home .talking-head .head
{
	margin-left: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-auto-rows: 1;
	gap: 20px;
}
body#home .talking-head .head .headshot
{
	width: 150px;
}
body#home .talking-head .head figcaption p
{
	line-height: 1.1;
	margin: 0;
	font-size: 2.75em;
	color: #006666; /* teal */
}
body#home .talking-head .quote
{
	grid-column-start: 1;
	grid-column-end: 2;
}
body#home .talking-head .quote blockquote
{
	line-height: 1.2;
	margin: 0;
	font-family: 'Profile Pro Web';
	font-size: 1.5rem;
	font-weight: 300;
	font-style: italic;
}
body#home .talking-head .quote .bold
{
	line-height: 1.2;
	margin: 0;
	font-family: 'Profile Pro Web';
	font-size: 1.5rem;
	font-weight: 700;
	font-style: italic;
	color: #993300; /* dark red */
}

/*--------------------
	clients & writing links
--------------------*/
body#home .selected-clients
{
	max-width: 1000px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-auto-rows: 1;
	column-gap: 30px;
	font-family: 'Profile Pro Web';
}
body#home .selected-clients h2
{
	margin: 0;
	font-style: normal;
	font-weight: 900;
	font-size: 1.5em;
	font-variant-caps: all-small-caps;
	letter-spacing: 0.02em;
	color: #006666; /* teal */
}
body#home .selected-clients h3
{
	margin: 0;
	line-height: 1.2;
	font-style: italic;
	font-weight: bold;
	font-size: 1.3em;
	color: #993300; /* dark red */
}
#memoir_list
{
	margin-top: 2rem;
}
body.typographic-memoir h3
{
	margin-bottom: 0.3em;
	line-height: 1.2;
	font-style: normal;
	font-weight: bold;
	Xfont-size: inherit;
	font-size: 1.15em;
	color: inherit;
}
body#home .selected-clients ul
{
	padding-left: 1em;
}
body#home .selected-clients li
{
	line-height: 1.1;
	font-style: normal;
	font-weight: normal;
	font-size: 1.3em;
	list-style-type: square;
}
/*--------------------
	testimonials
--------------------*/
body#home .testimonials
{
	max-width: 1000px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-auto-rows: 1;
	column-gap: 30px;
	font-family: 'Fern Micro Web';
	font-style: normal;
	font-weight: 500;
}
body#home .testimonials blockquote
{
	margin: 0 0 1.5em 0;
}
body#home .testimonials blockquote:first-child
{
	margin-top: 0;
}
body#home .testimonials blockquote::before
{
	content: '*';
	font-family: 'Profile Pro Web';
	font-weight: normal;
	line-height: .5;
	margin-bottom: 0;
	font-size: 3em;
	color: #993300; /* dark red */
}
body#home .testimonials blockquote p
{
	margin: 0;
	color: #000000; /* black */
}
body#home .testimonials blockquote cite
{
	margin: 0;
	font-size: 1em;
	font-style: normal;
	font-variant-caps: all-small-caps;
	letter-spacing: 0.05em;
	color: #993300; /* dark red */
}
body#home .testimonials blockquote a
{
	border: none;
	text-decoration: none;
	color: #993300; /* dark red */
}
body#home .testimonials blockquote .book-title
{
	font-family: 'Fern Micro Web';
	font-style: italic;
	font-weight: 500;
	border: none;
	text-decoration: none;
	color: #993300; /* dark red */
}
body#home .testimonials blockquote .smallcaps
{
	font-style: normal;
	font-variant-caps: all-small-caps;
	letter-spacing: 0.05em;
}


/*--------------------
	the pitch
--------------------*/
body#home .thepitch
{
	display: grid;
	grid-template-columns: 1fr;
	grid-auto-rows: auto;
	row-gap: .6em;

	line-height: 1;
	max-width: 800px;
	margin: 0;
	padding: 0, 0, 0, 1rem;
	font-family: 'Profile Pro Web';
	font-style: italic;
	font-size: 3em;
	font-weight: 700;
	color: #993300; /* dark red */	
	text-align: left;
}
body#home .thepitch .contactinfo p
{
	line-height: 1;
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: 900;
	color: #006666; /* teal */
}
body#home .thepitch .contactinfo .email
{
	font-style: italic;
}
body#home .thepitch .contactinfo span
{
	color: #993300; /* dark red */
}


/*--------------------
	videos
--------------------*/
body#home .videos
{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
	column-gap: 30px;

	max-width: 1000px;
	font-family: 'Profile Pro Web';
	font-style: normal;
	font-weight: bold;
}
body#home .videos figure
{
	margin: 0;
}
body#home .videos figure:nth-child(1)
{
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 1;
    grid-column-end: 1;
}
body#home .videos figure:nth-child(2)
{
    grid-row-start: 2;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 1;
}
body#home .videos figure:nth-child(3)
{
    grid-row-start: 1;
    grid-column-start: 2;
    grid-row-end: 1;
    grid-column-end: 2;
}
body#home .videos figure:nth-child(4)
{
    grid-row-start: 2;
    grid-column-start: 2;
    grid-row-end: 2;
    grid-column-end: 2;
}
body#home .videos figure:nth-child(5)
{
    grid-row-start: 1;
    grid-column-start: 3;
    grid-row-end: 1;
    grid-column-end: 3;
}
body#home .videos figure:nth-child(6)
{
    grid-row-start: 2;
    grid-column-start: 3;
    grid-row-end: 2;
    grid-column-end: 3;
}
body#home .videos figure img
{
	width: 100%;
	border: 1px solid black;
}
body#home .videos figcaption
{
	line-height: 1.2;
	font-size: 1.5em;
	color: #006666; /* teal */
	padding-bottom: 1rem;
}
body#home .videos figcaption span
{
	display: block;
	white-space: nowrap;
}

/*--------------------
	cards
--------------------*/
body#home .cards_link img
{
	display: block;
	max-width: 313px;
	border: 1px solid black;
}
body#home .cards_link img:hover
{
	border-color: red;
}

/* for phones & other narrow displays */
/* @media screen and (max-width: 990px)	/*  */
@media (max-width: 600px)
{
	/*--------------------
		headshot & chief skills
	--------------------*/
	body#home .talking-head
	{
		max-width: 100%;
	}
	body#home .talking-head .head
	{
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}
	body#home .talking-head .head figcaption p
	{
		font-size: 2.0em;
	}
	/*--------------------
		clients & writing links
	--------------------*/
	body#home .selected-clients
	{
		margin-top: 30px;
		grid-template-columns: 1fr;
		grid-auto-rows: 3;
		column-gap: 0px;
		row-gap: 20px;
	}
	/* toggled off */
	body#home .selected-clients h2:after
	{
		content: '▼';	/* &#x25BC;' '&#9660;'; down-pointing triangle */
		font-size: .8em;
		color: #993300; /* dark red */
	}
	body#home .selected-clients .toggleable
	{
		display: none;
	}
	/* toggled on */
	body#home .selected-clients .toggled-on h2:after
	{
		content: '▲';	/* &#x25BC;' '&#25B2;'; up-pointing triangle */
		/*color: #003399; /* dark blue */
	}
	body#home .selected-clients .toggled-on .toggleable
	{
		display: block;
	}
	/*--------------------
		testimonials
	--------------------*/
	body#home .testimonials
	{
		display: block;
	}
	/*--------------------
		the pitch
	--------------------*/
	body#home .thepitch
	{
		max-width: 100%;
		font-size: 2.1em;
	}
	/*--------------------
		videos
	--------------------*/
	body#home .videos
	{
		display: block;
		max-width: 100%;
	}
	body#home .videos figure img
	{
		max-width: 300px;
		max-width: 100%;
	}
	body#home .cards_link img
	{
		max-width: 100%;
	}
}

/*====================
	book covers
====================*/
/*
body#book-covers,
body#book-covers .wrapper,
body#book-covers .box
{
	background-color: rgb(255, 255, 255);
}
*/

/*====================
	editorial and book design
====================*/
/* for phones & other narrow displays */
/* @media screen and (max-width: 990px)	/*  */
@media (max-width: 600px)
{
	body.editorial-and-book-design .wrapper
	{
		grid-template-columns: 100%;
	}
	body.editorial-and-book-design header .site-nav nav a
	{
		font-size: 3em;
	}
}

/*====================
	Books edited or written
====================*/
body#books-edited-or-written .wrapper figcaption
{
	width: 100%;
}
body#books-edited-or-written .wrapper img
{
	width: 75%;
}
body#books-edited-or-written .wrapper p
{
	margin: 0;
}
body#books-edited-or-written .wrapper .title
{
	width: auto;
	font-family: 'Profile Pro Web';
	font-size: 1.5rem;
	font-style: normal;
	font-weight: 700;
	line-height: 1.1;
	color: #006666; /* teal */ 
}

body#books-edited-or-written .wrapper .subtitle {
	width: auto;
	color: #993300; /* dark red */
	font-family: 'Profile Pro Web';
	font-size: 1.2rem;
	font-style: italic;
	font-weight: 700;
	line-height: 1.1;
}

body#books-edited-or-written .wrapper .details {	
	width: auto;
	color: #000000; /* black */
	font-family: 'Profile Pro Web';
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.1;
}

/*====================
	other designs
====================*/

/*====================
	things-i-do
====================*/

/*====================
	shop page 
====================*/
body#shop .layout_text .box h2
{
	margin-top: -0.25em;
	font-family: 'Profile Pro Web';
	font-weight: 700;
	font-size: 1.3em;
	color: #993300; /* dark red */;
}

body#shop .layout_text .box h3

{
	font-family: 'Profile Pro Web';
	font-style: italic;
	font-weight: 600;
	font-size: 1.3em;
	color: #006666; /* teal */
}

/*====================
	Biographical note
====================*/
body#biographical-note .layout_text .box h2
{
	margin-top: -0.25em;
	font-family: 'Profile Pro Web';
	font-weight: 700;
	font-size: 1.3em;
	color: #993300; /* dark red */
}
body#biographical-note .layout_text .box h3

{
	font-family: 'Profile Pro Web';
	font-style: italic;
	font-weight: 600;
	font-size: 1.3em;
	color: #006666; /* teal */
}

@media (max-width: 800px)
{
	body#biographical-note .wrapper img
	{
		width: 100%;
		max-width: 230px;
	}
}

/*====================
	blog pages
====================*/
body.blog .page-title .blog
{
	word-spacing: 0;
}
body.blog .page-title .blog span:first-child
{
	font-family: 'Profile Pro Web';
	font-weight: 300;
}
body.blog .page-title .blog span:nth-child(2)
{
	font-style: italic;
	font-weight: 900;
	color: #993300; /* dark red */
}
body.blog .page-title .delimiter
{
	font-weight: 400;
}
body.blog .entry-header
{
	margin-bottom: 1em;
}
h1 a:hover
{
	opacity: .7;
}
body.blog .layout_text .box .entry-title
{
	margin-top: -0.25em;
	font-family: 'Profile Pro Web';
	font-style: normal;
	font-weight: 700;
	font-size: 1.95rem;
	color: #993300; /* dark red */;
}
body.blog.archive .archive-title
{
	font-family: 'Profile Pro Web';
	font-weight: 700;
	font-style: normal;
	font-size: 1.95rem;
	color: #006666; /* teal */
}
body.blog.archive .archive-title a
{
	text-decoration: none;
	color: #006666; /* teal */
}
body.blog.archive .archive-title a:hover
{
	opacity: .7;
}
body.blog .layout_text a
{
	text-decoration: none;
	color: #993300; /* dark red */
}
body.blog .layout_text a:hover
{
	opacity: .7;
}
body.blog .entry-header .posted-on
{
	font-size: 1rem;
}


.pagination-single,
.nav-links
{
	color: #006666; /* teal */
}
.pagination-single a,
.nav-links > a,
.nav-links > span
{
	font-size: 1rem;
	white-space: nowrap;
	color: #006666 !important; /* teal */
}
.pagination-single .separator
{
	margin: 0 .25em;
	font-size: 1.2rem;
	color: #993300; /* dark red */
}
.pagination-single .pagelink_separator
{
	padding: 0 .5em;
}

/*
	new trial page link format 2024-03-20
*/
.memoir_page_links
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 2rem;
}
.memoir_page_links .previous-post
{
	Xdisplay: inline-block;
	Xwidth: 50%;
	text-align: left;
}
.memoir_page_links .next-post
{
	Xdisplay: inline-block;
	Xwidth: 50%;
	text-align: right;
}
.pagination-single .pagelink_separator
{
	display: none;
}



/*
.pagination-single .next-post
{
	text-align: right;
	Xfloat: right;
}
*/
.nav-links .page-numbers
{
	display: none;
}
.nav-links .prev,
.nav-links .next
{
	display: inline;
}
.nav-links span.prev,
.nav-links span.next
{
	opacity: .7;
}
.nav-links .next::before
{
	content: "|";
	margin: 0 .25em;
	font-size: 1.2rem;
	color: #993300; /* dark red */
}
/*
.pagination-single hr:first-child
{
	display: block;
	Xclear: both;
}
*/
/*--------------------
	blog categories & dates
--------------------*/
body#blog-posts-by-category .entry-header h2 a,
body#blog-posts-by-date .entry-header h2 a
{
	font-family: 'Profile Pro Web';
	font-weight: 700;
	font-size: 1.75em;
	border: none;
	text-decoration: none;
	xcolor: #993300; /* dark red */
	color: #006666 !important; /* teal */
}
.blog-menu li a
{
	border: none;
	text-decoration: none;
	color: #993300; /* dark red */
}
.blog-menu li a:visited
{
	color: #006666 !important; /* teal */
}




.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	word-break: normal;
}


/*====================
	footer
====================*/
#page-content footer
{
	display: grid;
	row-gap: 10px;

	margin-top: 50px;
	color: #006666 !important; /* teal */
}
#page-content footer .box
{
	grid-column: 1 / span 2;
	padding-top: .5em;
	font-size: 1.2rem;
	color: inherit;
}
Xbody.blog #page-content footer .box
{
	margin-left: -40px;
}
#page-content footer.layout_text
{
	margin-top: -30px;
}
#page-content footer.layout_text .box
{
	grid-column: 2 / span 1;
}
@media (max-width: 800px)
{
	#page-content footer
	{
		display: block;
	}
	body.blog #page-content footer .box
	{
		margin-left: 0;
	}
}

/*--------------------
	go to top button
--------------------*/
html body .gototop
{
	text-align: left;
}
html body .gototop a
{
    text-decoration: none;
	white-space: nowrap;
	color: #006666 !important; /* teal */
}
html body .gototop a:hover
{
	opacity: 0.7;
}
html body .gototop .arrow
{
    Xdisplay: block;
	margin-right: .25em;
}
/*--------------------
	colophon
--------------------*/
#page-content footer .colophon
{
	border-top: 1px solid #006666; /* teal */
}
#page-content footer .colophon p
{
	margin-bottom: .2em;
}
/*
@media (max-width: 800px)
{
	#page-content footer
	{
		display: block;
	}
}
*/

/*--------------------
	search
--------------------*/
.searchform-wrapper
{
	position: relative;
	top: 30px;
	justify-self: end;
}
.searchform-wrapper .searchbutton
{
	margin-left: 1em;
	opacity: 0.3;
}
.searchform-wrapper .searchinput
{
	padding: 0 .5em;
	border-color: #999;
	font-family: 'Profile Pro Web';
	font-size: 1.2em;
}
.searchform-wrapper .searchform.input_hidden .searchbutton
{
	opacity: 1;
}
.searchform-wrapper .searchform .searchbutton:hover
{
	opacity: 0.3;
}
.searchform-wrapper .searchform.input_hidden .searchinput
{
	visibility: hidden;
}
@media (max-width: 800px)
{
	.searchform-wrapper .searchform .searchinput
	{
		visibility: visible;
	}
}
.searchform-wrapper .searchform > div
{
	float: right;
}
/*
@media (max-width: 800px)
{
}
*/
#comments
{
	margin-top: 30px;
	padding-top: .5em;
	border-top: 1px solid #006666; /* teal */
}
#comments .comment-meta.commentmetadata
{
	margin-bottom: .6em;
	font-size: .9em;
}
#comments .comment-form-flex,
#comments li.comment
{
	margin-top: 10px;
	padding-top: .5em;
	border-top: 1px solid #006666; /* teal */
}
.comment-form-comment label
{
	display: none;
}


/*--------------------
	main header
--------------------*/
/* | menu | logo | search | */
body .main-header
{
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "menu logo search";
	gap: 25px;
}
body .main-header .site-nav
{
	grid-area: menu;
}
body .main-header .logo
{
	grid-area: logo;
}
body .main-header .searchform-wrapper
{
	grid-area: search;
}
body .main-header .site-nav .nav-icon
{
	margin-top: 23px;
	cursor: pointer;
}
body .main-header .site-nav .nav-icon img
{
	display: block;
	width: 45px;
}
body .main-header .site-nav .nav-icon img.toggled-on
{
	display: none;
}
body .main-header .site-nav.site-nav-on .nav-icon img.toggled-on
{
	display: block;
}
body .main-header .site-nav.site-nav-on .nav-icon img.toggled-off
{
	display: none;
}
@media (max-width: 800px)
{
	body .main-header
	{
		grid-template-columns: auto 1fr 30px;
		grid-template-rows: auto auto;
		grid-template-areas:
			"menu logo searchbutton"
			"search search search"
		;
		row-gap: 0;
	}
	body .main-header .site-nav .nav-icon
	{
		margin-top: -3px;
	}
	body .main-header .logo
	{
		margin-left: 20px;
	}
	.searchform-wrapper .searchbutton
	{
		position: absolute;
		top: -73px;
		right: 0;
		margin-top: 0;
	}
	.searchform-wrapper .searchinput
	{
		margin-top: -32px;
	}
}
body .main-header .logo img
{
	width: 400px;
}

body#search-test
{
	background-image: url("images/ruler2.jpg");
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: auto;
}

body .layout_text.typmem-excerpt .sidebar
{
	display: grid;
	columns: 1fr;
	rows: auto auto;
}
body .layout_text.typmem-excerpt .sidebar img
{
	clear: none;
	float: none;
}
