body, p,  h1, h2, h3, h4, h5, h6 {
	-moz-hyphens: none !important;
	-ms-hyphens: none !important;
	-webkit-hyphens: none !important;
	hyphens: none !important;
}

/* unvisited link */
a:link {
	color: blue;
}

/* visited link */
a:visited {
	color: green;
}

/* mouse over link */
a:hover {
	color: orange;
}

/* selected link */
a:active {
	color: red;
}

.entry-content a:not(.wp-block-button__link):not(.wp-block-file__button),
.comment__content a:not(.wp-block-button__link):not(.wp-block-file__button) {
	color: #0000ff;
}

.entry-content a:not(.wp-block-button__link):not(.wp-block-file__button):hover,
.entry-content a:not(.wp-block-button__link):not(.wp-block-file__button):focus,
.comment__content a:not(.wp-block-button__link):not(.wp-block-file__button):hover,
.comment__content a:not(.wp-block-button__link):not(.wp-block-file__button):focus {
	color: #0000cc;
}

/* The theme sets li to display:block, which hides bullet and number markers. Restore them for lists in page and post content. */
.entry-content > :is(ul, ol) li {
	display: list-item;
}

/* Blog and archive pages */
/* On the blog and archive pages the theme has no sidebar and sets the menu much larger, right-aligned. Match the menu on the other pages. */
.blog .main-navigation,
.archive .main-navigation {
	text-align: left;
}
.blog .main-navigation a,
.archive .main-navigation a {
	font-size: 18px;
	line-height: 1.3;
}

/* Homepage title */
/* Break the title as "Welcome to / Viva Editing!" rather than leaving "Editing!" alone on the second line. */
.home .entry-title {
	text-wrap: balance;
}

/* Post lists on Selah and Stet */
/* Give the list-style post listings (Stet) some space between entries. */
.wp-block-post-template > li {
	margin-bottom: 1.5em;
}


/* Narrower gap beside left menu on pages and posts */
@media only screen and (min-width: 1240px) {
  .singular .site-main > [id*="post-"]:not(.pingback) { margin-left: -176px; }
}


/* Stet page title on one line */
@media only screen and (min-width: 1400px) {
  .page-id-4828 .entry-title { white-space: nowrap; }
}


/* Homepage photo: flush left beside first paragraph */
.home .entry-content img.alignright { float: left; width: 190px; height: 165px; object-fit: cover; object-position: 50% 22%; margin: 4px 28px 8px 0; }



/* Selah and Stet pages: framed images with title label, like the old blog layout */
.page-id-188 .wp-block-post-template > li,
.page-id-4828 .wp-block-post-template > li { display: flex; flex-direction: column; }
.page-id-188 .wp-block-post-template .wp-block-post-featured-image,
.page-id-4828 .wp-block-post-template .wp-block-post-featured-image { border: 1px solid #000; padding: 8px; background: #fff; margin: 0; }
.page-id-188 .wp-block-post-template .wp-block-post-featured-image img,
.page-id-4828 .wp-block-post-template .wp-block-post-featured-image img { display: block; width: 100%; }
.page-id-188 .wp-block-post-template .wp-block-post-title,
.page-id-4828 .wp-block-post-template .wp-block-post-title { position: relative; width: max-content; max-width: 92%; margin: -24px auto 0; background: #fff; border: 1px solid #000; padding: 8px 14px; text-align: center; font-size: 1.05rem; line-height: 1.25; overflow-wrap: normal; word-break: normal; hyphens: none; }


/* Tablet and phone fixes */
@media only screen and (min-width: 800px) and (max-width: 899px) {
  .overlay-toggle { display: flex; }
}
@media only screen and (min-width: 900px) and (max-width: 1239px) {
  .main-navigation { width: 100%; max-width: 100%; }
  .main-navigation .primary-menu { flex-wrap: wrap; row-gap: 4px; }
}
@media only screen and (max-width: 599px) {
  .home .entry-content img.alignright { float: none; display: block; margin: 0 auto 16px; }
  .page-id-188 .wp-block-post-template,
  .page-id-4828 .wp-block-post-template { grid-template-columns: minmax(0, 1fr) !important; }
  .page-id-188 .wp-block-post-template > li,
  .page-id-4828 .wp-block-post-template > li { min-width: 0; }
}

/* Footer menu removed: the primary menu is the only navigation */
#footer-menu { display: none; }

/* Show subpages in the main menu all the time: indented and slightly smaller than the top-level items */
.main-navigation .sub-menu,
.main-navigation .children {
	display: block !important;
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;
	height: auto !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: 160px !important;
	left: auto !important;
	top: auto !important;
	margin: 0 0 6px 16px !important;
	padding: 0 !important;
	box-shadow: none !important;
	border: 0 !important;
	background: transparent !important;
	transform: none !important;
}
.main-navigation .sub-menu li a,
.main-navigation .children li a {
	font-size: 15px !important;
	padding: 3px 0 !important;
}
.main-navigation .menu-item-has-children > a::after,
.main-navigation .menu-item-has-children::after {
	content: none !important;
	display: none !important;
}

/* ChristianTrade Resources: hide post date, keep author */
.page-id-5001 .entry-meta .posted-on,
.parent-pageid-5001 .entry-meta .posted-on {
	display: none !important;
}

/* ChristianTrade Resources: show the real author on pieces not written by Kim */
.page-id-5003 .entry-meta .byline .author a { display: none !important; }
.page-id-5003 .entry-meta .byline .author::after { content: "Jack Scott with Kim Pettit"; }
.page-id-5008 .entry-meta .byline .author a { display: none !important; }
.page-id-5008 .entry-meta .byline .author::after { content: "Jack Scott"; }
.page-id-5019 .entry-meta .byline .author a { display: none !important; }
.page-id-5019 .entry-meta .byline .author::after { content: "Jack Scott"; }
.page-id-5022 .entry-meta .byline .author a { display: none !important; }
.page-id-5022 .entry-meta .byline .author::after { content: "James A. Ferrier"; }
.page-id-5024 .entry-meta .byline .author a { display: none !important; }
.page-id-5024 .entry-meta .byline .author::after { content: "William C. Bauers"; }
.page-id-5025 .entry-meta .byline .author a { display: none !important; }
.page-id-5025 .entry-meta .byline .author::after { content: "Praveena Balasunderam"; }


/* Cook Partners pilot: hide byline and date (credit is in the article text) */
.parent-pageid-251 .entry-meta .byline, .parent-pageid-251 .entry-meta .posted-on {display:none !important;}

/* Cook Partners pilot: lists - indent, and drop the theme's extra item numbers */
.parent-pageid-251 .entry-content ul.wp-block-list, .parent-pageid-251 .entry-content ol.wp-block-list {margin-left:2em !important; padding-left:0 !important;}
.parent-pageid-251 .entry-content ol.wp-block-list li::before, .parent-pageid-251 .entry-content ul.wp-block-list li::before {content:none !important; display:none !important;}
.parent-pageid-251 .entry-content ul.wp-block-list li > p, .parent-pageid-251 .entry-content ol.wp-block-list li > p {margin:0 0 0.5em;}

/* Provisional Ethics: keep the title line breaks */
.page-id-5153 .entry-title, .page-id-5598 .entry-title {white-space: pre-line;}


/* Block quotes on InterLit articles and more pages */
.parent-pageid-251 .entry-content blockquote.wp-block-quote{margin:0 2.5em 1.5em 2.5em !important;padding:0 !important;border:0 !important;max-width:none !important;background:none !important;text-align:left !important;float:none !important;width:auto !important;}
.parent-pageid-251 .entry-content blockquote.wp-block-quote::before,.parent-pageid-251 .entry-content blockquote.wp-block-quote::after{content:none !important;display:none !important;}
.parent-pageid-251 .entry-content blockquote.wp-block-quote p{text-transform:none !important;font-weight:normal !important;font-style:normal !important;font-size:inherit !important;line-height:inherit !important;letter-spacing:normal !important;margin:0 0 1em !important;color:inherit !important;}
.parent-pageid-251 .entry-content blockquote.wp-block-quote p em{font-style:italic !important;}


/* Indented paragraphs on InterLit articles and more pages */
.parent-pageid-251 .entry-content p.indented-paragraph{margin-left:2em !important;}

/* Credit line (First published in...) at the top of reprinted articles */
.entry-content p.credit-line{font-style:italic !important;font-size:0.9em !important;text-align:center !important;margin-bottom:2em !important;}
.entry-content p.credit-line em{font-style:normal !important;}

/* Single-spaced lists on the InterLit articles and more page */
.page-id-251 .entry-content li{padding:0 !important;margin:0 !important;}
.page-id-251 .entry-content li ul{margin:0 0 0 0 !important;}

/* Extra indent for one quote (class quote-indent), e.g. the Flesch quotation on Finding Creative Ideas */
.parent-pageid-251 .entry-content blockquote.wp-block-quote.quote-indent{margin-left:4.5em !important;}

/* Author section beside a floated poem box: drops below the box when the space beside it is too narrow (phones) */
.entry-content .author-beside {
  min-width: 260px;
}


/* Ordered lists: the theme adds its own bold number before each item on top of the browser number, so every number appears twice. Turn the extra one off site-wide. */
.entry-content ol > li::before, .comment__content ol > li::before {
	content: none !important;
}
