@import url("./fonts.css");

:root {
  color-scheme: light;
  --ink: #21201e;
  --body: #4d4b47;
  --muted: #68635b;
  --gold: #826a3c;
  --soft-gold: #b49b66;
  --line: #eeece7;
  --paper: #f9f8f5;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", Arial, sans-serif;
  --page: 982px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: white; color: var(--body); font: 400 1rem/1.72 var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
.wrap { width: min(var(--page), calc(100% - 3.5rem)); margin-inline: auto; }
.skip { position: absolute; top: 0; left: -999px; padding: .65rem 1rem; background: white; z-index: 9; }
.skip:focus { left: 1rem; }

.topline { border-block: 1px solid var(--line); min-height: 43px; }
.topline .wrap { display: flex; align-items: center; min-height: 43px; }
.toplinks, .links { display: flex; align-items: center; gap: 1.02rem; }
.nav-link { color: #393733; font-size: .715rem; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; }
.nav-link[aria-current="page"] { color: var(--gold); }
.masthead { position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden; height: clamp(325px, 31.5vw, 550px); background: #e7e1d9; text-align: center; }
.masthead picture, .masthead picture img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center 53%; z-index: -2; }
.masthead::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg, #fff2, #fff6 40%, #fff6 60%, #fff1); }
.masthead-content { width: 100%; padding: 0 1vw; margin-top: -.15rem; }
.masthead-title { display: block; margin: 0; color: #171615; font: 400 clamp(2.15rem, 6.12vw, 6.3rem)/.98 Arial, sans-serif; letter-spacing: -.022em; text-transform: uppercase; }
.masthead-title span { display: block; }
.masthead-title a:hover { color: #171615; }
.masthead p { display: inline-block; margin: 1.05rem 0 0; padding: .15rem .5rem; color: #292622; font-size: .9rem; line-height: 1.5; text-shadow: 0 1px 5px #fff, 0 1px 9px #fff; }
.masthead--inner { height: clamp(175px, 15vw, 250px); }
.masthead--inner .masthead-title { font-size: clamp(1.75rem, 4vw, 4rem); }
.masthead--inner p { margin-top: .55rem; font-size: .8rem; }

.navigation { border-bottom: 1px solid var(--line); box-shadow: 0 2px 6px #29201506; }
.navrow { display: grid; min-height: 52px; grid-template-columns: 42px 1fr 42px; align-items: center; position: relative; }
.links { justify-content: center; gap: clamp(1.12rem, 2.8vw, 2.4rem); }
.menu { position: relative; justify-self: start; }
.menu summary, .search-jump { color: #52504a; display: flex; width: 35px; height: 35px; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; }
.menu summary { margin-left: -7px; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-lines { width: 15px; height: 11px; border-block: 2px solid currentColor; position: relative; }
.menu-lines::after { content: ""; position: absolute; inset: 3px 0 auto; height: 2px; background: currentColor; }
.menu-panel { position: absolute; z-index: 4; top: 40px; left: 0; background: white; min-width: 215px; border: 1px solid var(--line); padding: .55rem 0; box-shadow: 0 9px 24px #24211c14; }
.menu-panel a { display: block; padding: .34rem .85rem; font-size: .86rem; }
.menu-panel a:hover { background: var(--paper); }
.search-jump { justify-self: end; margin-right: -7px; }
.magnifier { display: block; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; }
.magnifier::after { content: ""; position: absolute; width: 5px; height: 1.5px; background: currentColor; transform: rotate(47deg); transform-origin: left; top: 7.5px; left: 7.5px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 246px; gap: 33px; padding-top: 2.7rem; padding-bottom: 4rem; }
.main { min-width: 0; }
.post-preview { padding: 1rem 0 1.08rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.post-preview + .post-preview { padding-top: 1.2rem; }
.post-head { text-align: center; }
.post-cats { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; color: var(--gold); letter-spacing: .125em; font-weight: 700; font-size: .67rem; line-height: 1.45; text-transform: uppercase; }
.post-cats span { color: var(--soft-gold); }
.post-head h1, .post-head h2, .page-heading, .article-body h2, .article-body h3, .related h2 { margin: .52rem 0; color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1.15; }
.post-head h2 { font-size: clamp(1.7rem, 3vw, 2.65rem); text-wrap: balance; }
.post-head h2 a:hover { color: var(--gold); }
.post-head h1, .page-heading { font-size: clamp(2rem, 4vw, 3.3rem); text-wrap: balance; }
.post-rule { display: block; width: 33px; height: 1px; margin: 1.04rem auto 1.4rem; background: #c9b88f; }
.preview-copy { margin: 0 0 1.65rem; font-size: .965rem; line-height: 1.66; }
.preview-copy::first-letter, .article-body > p:first-of-type::first-letter { float: left; margin: .018em .135em -.05em 0; color: var(--ink); font: 400 4.2rem/.86 var(--serif); }
.read-more { text-align: center; margin: 0 0 1.5rem; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .61rem 1.26rem; min-height: 40px; border: 1px solid #c4ae7e; background: white; color: var(--gold); font: 700 .66rem/1.35 var(--sans); text-transform: uppercase; letter-spacing: .14em; }
.button:hover { color: var(--ink); background: var(--paper); border-color: var(--gold); }
.byline { display: flex; justify-content: space-between; align-items: center; gap: .7rem; color: var(--muted); font-size: .74rem; }
.author { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.avatar { display: inline-block; width: 24px; height: 24px; background: #deddd8; border-radius: 50%; position: relative; overflow: hidden; }
.avatar::before, .avatar::after { content: ""; background: white; position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; }
.avatar::before { top: 5px; width: 8px; height: 8px; }
.avatar::after { bottom: -5px; width: 15px; height: 15px; }
.post-topic { font-style: italic; }

.sidebar { min-width: 0; }
.widget { margin: 0 0 1.85rem; }
.widget-title { display: flex; align-items: center; gap: .55rem; margin: 0 0 .7rem; font: 700 .91rem/1.35 Georgia, serif; text-align: center; text-transform: uppercase; letter-spacing: .037em; color: #5b564d; }
.widget-title::before, .widget-title::after { flex: 1; height: 1px; background: var(--line); content: ""; }
.widget-list, .tags { margin: 0; padding: 0; list-style: none; }
.widget-list a { display: block; padding: .16rem 0; font-size: .855rem; line-height: 1.47; }
.widget-list li ul { margin: .04rem 0 .12rem; padding: 0 0 0 .65rem; list-style: none; border-left: 1px solid var(--line); }
.widget-list li ul a { color: #5f5a51; font-size: .78rem; }
.widget-list a:hover, .tags a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.sidebar-partner { border: 1px solid #e5dfd1; padding: .75rem .8rem .85rem; text-align: center; background: #fff; }
.partner-brand { display: inline-flex; gap: .44rem; max-width: 100%; text-align: left; align-items: center; margin: .12rem 0 .52rem; color: #242322; }
.partner-brand:hover { color: #242322; }
.partner-brand img { width: 53px; height: auto; }
.partner-wordmark { display: grid; font: 700 1.17rem/1.01 Arial, sans-serif; letter-spacing: .036em; }
.partner-wordmark span + span { color: #655334; letter-spacing: .15em; }
.sidebar-partner p { margin: 0 0 .56rem; font-size: .785rem; line-height: 1.57; }
.partner-link { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: .815rem; }
.search-controls { display: flex; align-items: stretch; }
.search-controls input { width: 100%; min-width: 0; padding: .52rem .6rem; border: 1px solid #ddd9d0; border-radius: 0; color: var(--ink); background: #fff; font-size: .86rem; }
.search-controls button { color: white; padding-inline: .75rem; background: #35332e; border: 1px solid #35332e; flex: none; display: grid; place-items: center; min-width: 37px; }
.search-controls button:hover { background: #5a4d36; }
.form-consent { display: flex; align-items: flex-start; gap: .42rem; margin: .57rem 0 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.form-consent input { flex: none; margin: .22rem .12rem 0 0; accent-color: var(--gold); }
.form-consent a { text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: .38rem .75rem; }
.tags a { font-size: .79rem; color: #6a6254; }
.rss { display: inline-flex; gap: .45rem; align-items: center; font-size: .8rem; }
.rss::before { content: ""; width: .65rem; height: .65rem; border-radius: 2px; background: #a56e39; }

.page-header, .entry .post-head { margin: .45rem 0 1.85rem; text-align: center; }
.page-header p { margin: .9rem auto; max-width: 93%; color: var(--muted); }
.breadcrumbs { display: flex; gap: .45rem; flex-wrap: wrap; color: var(--muted); font-size: .77rem; margin: 0 0 1.25rem; }
.breadcrumbs a { color: var(--gold); }
.article-body { color: var(--body); line-height: 1.82; overflow-wrap: break-word; }
.article-body p { margin: 0 0 1.08rem; }
.article-body h2 { font-size: clamp(1.52rem, 2.65vw, 2.08rem); margin: 2.05rem 0 .72rem; }
.article-body h3 { font-size: 1.43rem; margin: 1.55rem 0 .65rem; }
.article-body a, .text-link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul { margin: 0 0 1.12rem; padding-left: 1.35rem; }
.article-body li + li { margin-top: .4rem; }
.entry .byline { margin: .85rem 0 1.6rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
.feature-image { margin: 0 0 1.75rem; }
.feature-image img { width: 100%; max-height: 370px; object-fit: cover; }
figure figcaption { margin: .45rem 0 0; font-size: .8rem; color: var(--muted); }
.related { border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 2.1rem; }
.related h2 { font-size: 1.7rem; }
.related ul, .search-results { padding-left: 1.2rem; }
.related a, .search-results a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.pagination { display: flex; justify-content: center; gap: .45rem; margin: 2rem 0 0; }
.pagination span, .pagination a { display: inline-flex; padding: .34rem .8rem; min-width: 2.3rem; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--gold); font-size: .8rem; }
.pagination span { background: var(--paper); border-color: #c8b78e; color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem; margin: 1.5rem 0 2.5rem; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-note { border-top: 1px solid var(--line); padding-top: .6rem; }
.archive-index { columns: 2; column-gap: 1.8rem; }
.archive-index section { break-inside: avoid; }
.search-page form { max-width: 37rem; }
.search-results li { padding: .65rem 0; }
.search-results p { margin: .17rem 0 0; font-size: .9rem; }
.cookie-settings { display: flex; flex-wrap: wrap; gap: .45rem; }

.footer { border-top: 1px solid var(--line); background: #faf9f7; padding: 1.95rem 0 2.2rem; text-align: center; color: #666057; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.14rem; font-size: .79rem; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.footer p { margin: .72rem 0 0; font-size: .81rem; }
.footer p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar { position: fixed; z-index: 8; left: max(12px, calc((100% - var(--page)) / 2)); right: max(12px, calc((100% - var(--page)) / 2)); bottom: 13px; background: #fff; border: 1px solid #dfd7c6; box-shadow: 0 4px 28px #2d281f1c; padding: .62rem .8rem; display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.cookie-bar p { font-size: .76rem; line-height: 1.45; margin: 0; }
.cookie-bar a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar .button { min-height: 32px; padding: .36rem .66rem; white-space: nowrap; letter-spacing: .06em; }
.cookie-actions { display: flex; gap: .35rem; flex: none; }
.cookie-actions .button + .button { color: var(--muted); border-color: #ded9cf; }
.cookie-status { min-height: 1.7em; margin-top: .75rem; font-size: .9rem; }

@media (max-width: 820px) {
  .layout { grid-template-columns: minmax(0, 1fr) minmax(170px, 28%); column-gap: 24px; }
  .wrap { width: calc(100% - 2.3rem); }
  .masthead { height: clamp(290px, 34vw, 420px); }
  .masthead--inner { height: 172px; }
}

@media (max-width: 610px) {
  .wrap { width: calc(100% - 2rem); }
  .topline, .topline .wrap { min-height: 35px; }
  .toplinks { gap: .85rem; }
  .nav-link { font-size: .65rem; }
  .masthead { height: 262px; }
  .masthead--inner { height: 180px; }
  .masthead-title { font-size: clamp(1.65rem, 6.3vw, 2.45rem); line-height: 1.07; padding-inline: .6rem; }
  .masthead--inner .masthead-title { font-size: clamp(1.4rem, 5.5vw, 2.15rem); }
  .masthead-title span { display: inline; }
  .masthead p { font-size: .74rem; margin-top: .73rem; max-width: 90%; }
  .masthead picture img { object-position: 51% center; }
  .navrow { grid-template-columns: 29px 1fr 29px; min-height: 46px; }
  .links { gap: .8rem; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; padding-top: 1.65rem; padding-bottom: 2.4rem; }
  .post-preview { margin-bottom: 1.05rem; }
  .post-head h2 { font-size: clamp(1.72rem, 7vw, 2.35rem); }
  .sidebar { border-top: 1px solid var(--line); padding-top: 1rem; }
  .sidebar .widget-categories { order: 2; }
  .sidebar { display: flex; flex-direction: column; }
  .sidebar .widget-partner { order: 1; }
  .sidebar .widget--secondary { order: 3; }
  .preview-copy { line-height: 1.68; }
  .byline { font-size: .68rem; }
  .gallery-grid { gap: 1rem; }
  .archive-index { columns: auto; }
  .cookie-bar { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .cookie-actions { align-self: flex-end; }
}

.partner-mobile { display: none; }
@media (max-width: 610px) {
  .home .partner-mobile { display: block; margin: 1.6rem 0 2rem; }
  .home .widget-partner { display: none; }
}
