:root {
  --ink: #302d2c;
  --muted: #615e59;
  --burgundy: #681e20;
  --blue: #3d6279;
  --rule: #ddd9d3;
  --paper: #fbfaf7;
  --serif: Georgia, 'Times New Roman', serif;
  --gutter: clamp(26px,5.5vw,76px);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; font: 16px/1.6 Arial, sans-serif; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { color: var(--burgundy); }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1em; top: 1em; background: white; padding: .5em; z-index: 2; }
header, footer, .directory { padding-inline: max(var(--gutter), calc((100% - 1100px)/2)); }
header { display: flex; align-items: center; gap: 2rem; padding-block: 21px; border-bottom: 1px solid var(--rule); }
.brand { display: block; width: 232px; flex: none; }
.brand-logo { width: 100%; height: auto; display: block; }
nav { display: flex; gap: clamp(14px,2vw,32px); flex-wrap: wrap; margin-left: auto; }
nav a { font-size: 15px; color: var(--ink); text-decoration: none; }
nav a:hover, nav [aria-current], footer a:hover { text-decoration: underline; }
.button { display: inline-block; color: white; background: var(--burgundy); padding: .55em 1.1em; border-radius: 3px; text-decoration: none; }
.button:hover { background: #501518; color: white; }
.home-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 330px); align-items: stretch; border-bottom: 1px solid var(--rule); }
.home-top .reading { border-bottom: 0; }
.signup-card { align-self: center; margin: 28px clamp(16px,2.2vw,30px) 28px 0; padding: 23px; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--blue); }
.signup-card .eyebrow { margin: 0 0 8px; }
.signup-card h2 { color: var(--burgundy); font-size: 25px; margin: 0 0 10px; }
.signup-card > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.AW-Form-893462191 { min-width: 0; }
.reading { background: var(--paper); text-align: center; padding: clamp(42px,6vw,83px) var(--gutter); border-bottom: 1px solid var(--rule); }
.reading h1, .eyebrow { color: var(--burgundy); font: bold 12px/1.5 Arial,sans-serif; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.reading figure { margin: 0; }
.reading blockquote { font: normal clamp(31px,4vw,53px)/1.19 var(--serif); letter-spacing: -.025em; max-width: 790px; margin: 23px auto; text-wrap: balance; }
.reading figcaption { font: italic 20px var(--serif); }
.reading figcaption a { color: var(--blue); text-decoration-thickness: 1px; }
h1,h2,h3 { font-family: var(--serif); font-weight: normal; line-height: 1.2; }
.directory {  padding-block: clamp(35px,5vw,66px); }
.home-collection { padding-block: clamp(32px,4vw,48px); }
.shelves { max-width: 740px; margin: auto; }
.shelf:hover span, footer a:hover { text-decoration: underline; }
.directory h2 { font-size: 28px; margin: 0 0 18px; }
.collection-intro { font: 19px/1.6 var(--serif); margin: 0 0 17px; }
.collection-note { color: var(--muted); font: 14px/1.6 Arial,sans-serif; margin: 17px 0 0; }
.shelf { display: grid; grid-template-columns: 1fr auto; align-items: center; border-top: 1px solid var(--rule); padding: 14px 0; text-decoration: none; }
.shelf span { font: 23px/1.35 var(--serif); }
.shelf small { color: var(--muted); grid-column: 1; font-size: 15px; }
.shelf::after { content: '→'; grid-column: 2; grid-row: 1/3; margin-left: 10px; }
footer { border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; padding-block: 35px; font-size: 14px; color: var(--muted); }
footer .brand { width: 168px; }
footer h3 { font: bold 15px Arial,sans-serif; margin: 0 0 10px; color: var(--ink); }
footer>div>a:not(.brand) { display: block; padding-block: 3px; }
.page { max-width: 860px; margin: auto; padding: clamp(34px,5vw,64px) var(--gutter); box-sizing: content-box; }
.page h1 { font-size: clamp(35px,5vw,52px); margin: 8px 0 22px; letter-spacing: -.025em; }
.intro, .results-count, .notice { color: var(--muted); }
.prose { font: 19px/1.65 var(--serif); max-width: 72ch; overflow-wrap: anywhere; }
.prose img { max-width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.prose figure { margin: 20px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 17px; }
.prose td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose ul { padding-left: 1.25em; }
.prose .notice { font: 15px/1.6 Arial,sans-serif; }
.controls { display: block; padding-block: 20px; }
.controls label { font-weight: bold; font-size: 14px; }
.controls input,.controls select { display: block; width: 100%; padding: 12px; margin-top: 5px; border: 1px solid #aba7a1; border-radius: 3px; color: var(--ink); background: white; font-size: 16px; }
.results-count { font-size: 14px; border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.quote { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.quote blockquote { font: 24px/1.45 var(--serif); margin: 0 0 12px; }
.quote-bottom,.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quote cite { color: var(--burgundy); font-style: normal; }
.copy,.pager button { padding: 6px 10px; border: 1px solid var(--rule); color: var(--blue); background: white; cursor: pointer; border-radius: 3px; }
.copy { font-size: 13px; }
button:disabled { opacity: .45; cursor: default; }
.pager { justify-content: center; margin-top: 20px; flex-wrap: wrap; }
@media(max-width: 900px) {
  header { flex-wrap: wrap; gap: 15px; }
  header .button { margin-left: auto; }
  nav { order: 3; width: 100%; margin: 0; }
}
@media(max-width: 650px) {
  header { padding-block: 15px; }
  header .brand { width: min(190px, 55%); }
  nav { gap: 5px 18px; }
  .home-top { grid-template-columns: 1fr; }
  .signup-card { margin: 0 14px 20px; }
  .directory,.controls { grid-template-columns: 1fr; }
  footer { grid-template-columns: repeat(2,1fr); }
  footer>div:first-child { grid-column: 1/-1; }
}

.author-intro { display: grid; grid-template-columns: minmax(150px, 205px) 1fr; gap: clamp(24px, 5vw, 55px); align-items: center; margin: 30px 0 40px; }
.author-intro figure { margin: 0; }
.author-intro img { display: block; width: 100%; height: auto; }
.author-intro figcaption { margin-top: 7px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.author-selections h2 { margin-bottom: 4px; }
.author-selections p { margin: 0 0 18px; color: var(--muted); }
.author-selections blockquote { margin: 0; padding: 19px 0; border-top: 1px solid var(--rule); font: 24px/1.45 var(--serif); }
@media (max-width: 600px) {
  .author-intro { grid-template-columns: 1fr; }
  .author-intro figure { max-width: 170px; }
}

.author-intro figcaption { overflow-wrap: anywhere; }
.author-intro.bio-only { display: block; }
.author-profile .bio-source { font-size: 13px; }

.prose .greg-portrait { display: block; width: min(50%, 310px); height: auto; }

/* Give the home page a little breathing room around its wide feature band. */
.home-top {
  margin-inline: clamp(18px, 4vw, 56px);
  border: 1px solid var(--rule);
}
.home-intro {
  width: min(100%, 1100px);
  margin-inline: auto;
  padding: clamp(30px, 4vw, 52px) var(--gutter);
}

.library-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 36%); gap: 20px; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-bottom: 30px; }
.topic-grid a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.topic-grid a:hover span:first-child { text-decoration: underline; }
.topic-grid a span:first-child { font: 21px/1.35 var(--serif); }
.topic-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.frequent-topics { background: var(--paper); padding: 22px; margin: 30px 0 40px; border: 1px solid var(--rule); }
.frequent-topics h2 { margin-top: 0; }
.frequent-topics .topic-grid { margin-bottom: 0; }
.quote-topics { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 13px; }
@media (max-width: 1050px) {
  header { flex-wrap: wrap; gap: 15px; }
  header > .button { margin-left: auto; }
  header nav { order: 3; width: 100%; margin: 0; }
}
@media (max-width: 650px) {
  .library-controls, .topic-grid { grid-template-columns: 1fr; }
  .frequent-topics { padding: 18px; }
}

@media (min-width: 651px) and (max-width: 1050px) {
  .home-top { grid-template-columns: minmax(0, 1fr) minmax(250px, 290px); }
  .signup-card { margin-right: clamp(16px,2.2vw,30px); }
}

.daily-date { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.reading-links, .share-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 14px; }
.reading-links { margin-top: 18px; }
.reading .reading-links { justify-content: center; }
.selection-link { display: inline-block; font-size: 13px; margin-bottom: 18px; }
.author-selections .all-by { margin-top: 20px; }
#all-authors-filter { margin-left: 14px; }

/* Make archive pages and reference tables easier to scan. */
.page-daily-posts { max-width: 1120px; }
.daily-post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 28px 0 0; padding: 0 !important; }
.daily-post-card { min-width: 0; padding: 20px; list-style: none; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--blue); display: flex; flex-direction: column; align-items: stretch; }
.daily-post-image { display: block; width: min(100%, 420px); aspect-ratio: 1; object-fit: cover; margin: 8px auto 18px; border: 1px solid var(--rule); }
.daily-post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: center; margin: -6px 0 18px; font: 14px/1.5 Arial, sans-serif; }
.daily-post-actions .copy-image-status { flex-basis: 100%; text-align: center; color: var(--muted); }
.daily-quote-image { display: block; width: min(100%, 420px); aspect-ratio: 1; object-fit: cover; margin: 0 auto 18px; border: 1px solid var(--rule); }
.daily-post-card h2 { font-size: 25px; margin: 0 0 4px; }
.daily-post-card .post-date { color: var(--muted); font: 14px/1.5 Arial, sans-serif; margin: 0 0 14px; }
.post-images { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; }
.post-image-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-images figure { width: 100%; max-width: 360px; margin: 0 auto; padding: 8px; background: white; border: 1px solid var(--rule); }
.post-image-pair figure { max-width: none; padding: 4px; }
.post-images img { display: block; width: 100%; max-width: none; height: auto; max-height: none; object-fit: contain; }
.archive-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 42px; padding: 24px 28px; background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--burgundy); }
.archive-cta h2 { margin: 0 0 5px; font-size: 25px; }
.archive-cta p { margin: 0; color: var(--muted); font-size: 15px; }
.author-directory-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 7px 18px; margin: 24px 0 14px; }
.author-directory-tools label { grid-column: 1 / -1; font-size: 14px; font-weight: bold; }
.author-directory-tools input { width: 100%; padding: 12px; border: 1px solid #aba7a1; border-radius: 3px; color: var(--ink); background: white; font: inherit; }
.author-directory-count { margin: 0 0 2px; color: var(--muted); font: 13px Arial, sans-serif; white-space: nowrap; }
.page-authors .prose figure { margin-top: 16px; }
.page-authors .prose thead th { padding: 11px 10px; text-align: left; color: var(--muted); background: var(--paper); border-bottom: 2px solid var(--rule); font: bold 12px/1.4 Arial, sans-serif; letter-spacing: .06em; }
.page-authors .prose tbody tr:nth-child(even) { background: #fbfaf7; }
.page-authors .prose tbody tr:hover { background: #f2f0eb; }
.page-authors .prose td:first-child a { font: 19px/1.35 var(--serif); }
.author-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; list-style: none; margin: 22px 0 0; padding: 0; }
.author-directory li { padding: 8px 2px; border-bottom: 1px solid var(--rule); }
.author-directory a { display: block; font: 18px/1.35 var(--serif); text-decoration: none; }
.author-directory a:hover { text-decoration: underline; }
.page-books-resources .prose { max-width: 100%; }
.book-feature { display: grid; grid-template-columns: minmax(210px, 300px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); max-width: 930px; margin: 12px auto 58px; }
.book-cover { aspect-ratio: .72; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; color: white; text-align: center; background: linear-gradient(145deg, #7b2b2d, #501518 62%, #3d6279 62%); border: 8px solid var(--paper); outline: 1px solid var(--rule); box-shadow: 12px 14px 24px rgba(48,45,44,.14); }
.book-cover-kicker { font: bold 10px/1.5 Arial, sans-serif; letter-spacing: .12em; }
.book-cover strong { margin: 20px 0; font: normal clamp(27px, 3.4vw, 36px)/1.08 var(--serif); }
.book-cover-rule { width: 38%; height: 1px; background: rgba(255,255,255,.75); }
.book-cover small { margin-top: 14px; font: 12px/1.5 Arial, sans-serif; letter-spacing: .04em; }
.book-copy p { margin-top: 0; }
.book-copy .button { margin-top: 4px; }
.book-highlights { padding-top: 26px; border-top: 1px solid var(--rule); }
.book-highlights > h2 { margin: 0 0 20px; font-size: 30px; }
.book-highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
.book-highlights-grid article { padding-top: 13px; border-top: 2px solid var(--blue); }
.book-highlights-grid h3 { margin: 0 0 8px; font-size: 21px; }
.book-highlights-grid p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.book-highlights-grid a { font-size: 14px; }
.page > .eyebrow + h1 { margin-top: 8px; }
@media (max-width: 700px) {
  .daily-post-list { grid-template-columns: 1fr; gap: 18px; }
  .daily-post-card { padding: 16px; }
  .post-images figure { max-width: 100%; }
  .archive-cta { align-items: flex-start; flex-direction: column; padding: 20px; }
  .author-directory-tools { grid-template-columns: 1fr; }
  .author-directory-count { white-space: normal; }
  .book-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .book-cover { width: min(100%, 260px); margin-inline: auto; }
  .book-highlights-grid { grid-template-columns: 1fr; gap: 22px; }
  .author-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}
@media (max-width: 420px) { .author-directory { grid-template-columns: 1fr; } }

/* Make contact options easy to find and read. */
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.contact-card { padding: 22px 24px; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--blue); }
.contact-card h2 { margin: 0 0 10px; font-size: 24px; }
.contact-card p { margin: 0; }
.contact-card address { font-style: normal; }
@media (max-width: 620px) { .contact-details { grid-template-columns: 1fr; } }
