/* Keep the main sidebar signup field and button separated. */
#blog_subscription-4 form #subscribe-submit {
	padding-top: 12px !important;
}

/* Libation masthead: keep the original wordmark and navigation. */
#header {
  background: #fbf9f6;
  box-shadow: inset 0 -2px #e8ded7, 0 2px 6px rgba(52, 30, 22, .07);
}
#header .toggle-search { background: transparent; color: #493831; }
#header .site-title > a:focus-visible,
#header .toggle-search:focus-visible,
#nav-topbar-nav a:focus-visible,
#nav-topbar-nav button:focus-visible {
  outline: 2px solid #a4161b;
  outline-offset: -3px;
}
#header .site-title > a:focus-visible { outline-color: #fff; }
#nav-topbar > li > .menu-item-wrapper > a {
  color: #382e2a;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
}
#nav-topbar > li.current-menu-item > .menu-item-wrapper > a,
#nav-topbar > li.current-menu-ancestor > .menu-item-wrapper > a {
  color: #831219;
  background: #f4e4e3;
}
#nav-topbar > li > .menu-item-wrapper > a:hover {
  color: #831219;
  background: #f4e4e3;
}
@media (min-width: 1220px) {
  #header .site-title > a { padding: 9px 16px 10px; border-radius: 0 0 0 0; }
  #header .site-title img { max-height: 72px; }
  #nav-topbar-nav:not(.mobile) { padding-top: 10px; }
  #header .toggle-search { padding-top: 31px; }
}
@media (max-width: 600px) {
  #header .site-title > a { padding: 10px 8px; }
  #header .site-title img { max-height: 66px; margin-inline: auto; }
  #nav-topbar-nav.mobile .menu-toggle { color: #493831; }
}

/* Let the theme's active pill provide the background, not the text link. */
#header #nav-topbar > li > .menu-item-wrapper > a { background: transparent; }
#header #nav-topbar > li.current-menu-item > .menu-item-wrapper > a,
#header #nav-topbar > li.current-menu-ancestor > .menu-item-wrapper > a { color: inherit; }
#header #nav-topbar > li.current-menu-item > .menu-item-wrapper,
#header #nav-topbar > li.current-menu-ancestor > .menu-item-wrapper { background: #9d181b; color: #fff; }

/* Libation editorial design: story cards, reading view, and sidebar. */
:root {
  --ll-ink: #2a2320;
  --ll-muted: #665950;
  --ll-red: #921c24;
  --ll-rule: #e8ded6;
  --ll-paper: #f8f5f1;
  --ll-serif: Georgia, 'Times New Roman', serif;
  --ll-sans: system-ui, -apple-system, sans-serif;
}
#subheader { background: #fff; border-color: var(--ll-rule); }
#subheader h3 { color: var(--ll-muted); }
.home.blog .main, .archive .main, .search-results .main { background: var(--ll-paper); }
.main .page-title {
  border-bottom-color: var(--ll-rule);
  color: var(--ll-muted);
  font: 650 12px/1.55 var(--ll-sans);
  letter-spacing: .09em;
}
.main .page-title :is(h1,h2) { color: inherit; font: inherit; letter-spacing: inherit; }
:is(.home.blog,.archive,.search-results) .content > .pad > .page-title {
  border-bottom: 1px solid #d4bdb3;
  margin-bottom: 19px;
  padding-bottom: 13px;
}
:is(.home.blog,.archive,.search-results) .post-row { border-bottom: 0; }
:is(.home.blog,.archive,.search-results) .post-row > article .post-inner {
  background: #fff;
  border: 1px solid var(--ll-rule);
  border-radius: 12px;
  box-shadow: 0 2px 7px rgba(48,33,24,.035);
}
:is(.home.blog,.archive,.search-results) .post-row > article .post-thumbnail {
  border-radius: 11px 11px 0 0;
  overflow: hidden;
  margin-bottom: 0;
}
:is(.home.blog,.archive,.search-results) .post-row > article .post-content { padding: 18px 20px 17px; }
:is(.home.blog,.archive,.search-results) .post-row .post-title {
  padding-top: 0;
  font: 700 clamp(21px, 2.2vw, 29px)/1.16 var(--ll-serif);
  letter-spacing: -.025em;
}
:is(.home.blog,.archive,.search-results) .post-row .post-title a { color: var(--ll-ink); }
:is(.home.blog,.archive,.search-results) .post-row .post-title a:hover { color: var(--ll-red); }
.main .post-meta { color: var(--ll-muted); font-family: var(--ll-sans); font-size: 11px; line-height: 1.55; }
.main .post-meta a { color: #6d524b; }
.main .entry.excerpt { color: #514742; font: 400 16px/1.56 var(--ll-serif); }
.main .entry.excerpt p:last-child { margin-bottom: 0; }
.main .pagination a { border-color: var(--ll-rule); }
.single-post .content > .pad > :is(.page-title, article),
.page .content > .pad > article { max-width: 800px; margin-inline: auto; }
.single-post .content > .pad > article .post-title,
.page .content > .pad > article .post-title {
  color: var(--ll-ink);
  font: 700 clamp(30px, 3.6vw, 47px)/1.11 var(--ll-serif);
  letter-spacing: -.037em;
}
.single-post .content > .pad > article .post-byline {
  color: var(--ll-muted);
  font: 600 12px/1.65 var(--ll-sans);
  letter-spacing: .045em;
  margin: 14px 0 24px;
}
:is(.single-post,.page) .content > .pad > article .entry.themeform {
  color: var(--ll-ink);
  font: 400 clamp(17px,1.65vw,19px)/1.7 var(--ll-serif);
  overflow-wrap: anywhere;
}
:is(.single-post,.page) .content > .pad > article .entry.themeform :is(h2,h3,h4) {
  color: var(--ll-ink);
  font-family: var(--ll-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
:is(.single-post,.page) .content > .pad > article .entry.themeform h2 { font-size: clamp(25px,2.5vw,33px); margin-top: 1.16em; }
:is(.single-post,.page) .content > .pad > article .entry.themeform a:not(.wp-block-button__link) {
  color: var(--ll-red);
  text-decoration: underline;
  text-decoration-color: #c0908b;
  text-underline-offset: .14em;
}
:is(.single-post,.page) .content > .pad > article .entry.themeform :is(blockquote,.wp-block-quote) {
  border-left: 3px solid #aa564c;
  background: var(--ll-paper);
  padding: 1em 1.2em;
  color: #4d3c36;
}
:is(.single-post,.page) .content > .pad > article .entry.themeform .wp-block-table { overflow-x: auto; }
:is(.single-post,.page) .content > .pad > article .entry.themeform :is(figcaption,.wp-caption-text) {
  color: var(--ll-muted);
  font: 400 .78em/1.5 var(--ll-sans);
}
.sidebar .widget h3, #footer-widgets .widget h3 {
  color: var(--ll-ink);
  font: 700 12px/1.5 var(--ll-sans);
  letter-spacing: .085em;
}
.sidebar .sidebar-content > .widget {
  box-sizing: border-box;
  width: calc(100% - 32px);
  margin: 12px 16px 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ll-rule);
  border-radius: 12px;
}

.sidebar #blog_subscription-4 input[type=email] {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid #b59c93;
  border-radius: 6px;
  background: #fff;
  color: var(--ll-ink);
  font: 400 14px/1.4 var(--ll-sans);
}
.sidebar #blog_subscription-4 button[type=submit] {
  min-height: 44px;
  border-radius: 6px;
  background: var(--ll-red);
  color: #fff;
  font: 700 14px/1.4 var(--ll-sans);
}
.sidebar #blog_subscription-4 button[type=submit]:hover { background: #70131a; }
.sidebar #blog_subscription-4 :is(input,button):focus-visible { outline: 2px solid #75151d; outline-offset: 2px; }
.sidebar #blog_subscription-4 .wp-block-jetpack-subscriptions__subscount { color: var(--ll-muted); margin-top: 12px; }
#footer { border-top: 1px solid var(--ll-rule); background: var(--ll-paper); }
#footer-bottom { background: #811b23; }
#footer-bottom #copyright, #footer-bottom #copyright p { color: #fff2ec; }
@media (max-width: 680px) {
  :is(.home.blog,.archive,.search-results) .post-row > article .post-content { padding: 14px 15px; }
  .single-post .content > .pad > article .post-byline { margin-bottom: 18px; }
}

.sidebar .sidebar-content > #blog_subscription-4 { background: #fff; border-color: var(--ll-rule); }
.sidebar .sidebar-content #blog_subscription-4 .wp-block-jetpack-subscriptions__container { color: var(--ll-muted); }

/* Shared Libation brand red: wordmark field and active navigation. */
:root { --ll-brand-red: #9d181b; }
#header .site-title > a,
#header #nav-topbar > li.current-menu-item > .menu-item-wrapper,
#header #nav-topbar > li.current-menu-ancestor > .menu-item-wrapper,
#footer-bottom { background-color: var(--ll-brand-red); }

/* Let the outlined logo silhouette show against the masthead. */
#header .site-title > a { background-color: transparent; }
#header .site-title > a:focus-visible { outline-color: var(--ll-brand-red); }
@media (min-width: 1220px) {
  #header .site-title > a { padding: 6px 16px 7px; }
  #header .site-title img { max-height: 78px; }
}

/* Original Libation logo and the shared deep-red theme accent. */
:root { --ll-red: var(--ll-brand-red); }
#header .site-title > a { background-color: var(--ll-brand-red); }
#header .site-title > a:focus-visible { outline-color: #fff; }
@media (min-width: 1220px) {
  #header .site-title > a { padding: 9px 16px 10px; }
  #header .site-title img { max-height: 72px; }
}
a, .themeform label .required, .post-hover:hover .post-title a,
.post-title a:hover, .post-nav li a:hover i, .post-nav li a:hover span,
.widget_rss ul li a, .widget_calendar a, .alx-tabs-nav li.active a,
.alx-tab .tab-item-category a, .alx-posts .post-item-category a,
.alx-tab li:hover .tab-item-title a, .alx-tab li:hover .tab-item-comment a,
.alx-posts li:hover .post-item-title a, .comment-tabs li.active a,
.comment-awaiting-moderation, .child-menu a:hover, .child-menu .current_page_item > a,
.wp-pagenavi a { color: var(--ll-brand-red); }
::selection { background-color: var(--ll-brand-red); color: #fff; }
.themeform input[type="button"], .themeform input[type="reset"],
.themeform input[type="submit"], .themeform button[type="button"],
.themeform button[type="reset"], .themeform button[type="submit"],
.s1 .sidebar-top, .s1 .sidebar-toggle, .s2 .sidebar-top, .s2 .sidebar-toggle,
.post-hover:hover .square-icon-inner, .square-icon:hover .square-icon-inner,
#header .toggle-search:hover, #header .toggle-search.active,
.search-expand, .post-tags a:hover, .author-bio .bio-avatar:after,
.jp-play-bar, .jp-volume-bar-value, .widget_calendar caption,
.commentlist li.bypostauthor > .comment-body:after,
.commentlist li.comment-author-admin > .comment-body:after,
.post-comments, .page-title .meta-single li.comments a,
.sidebar #blog_subscription-2 button[type="submit"] { background-color: var(--ll-brand-red); }
#header .toggle-search:hover, #header .toggle-search.active,
.sidebar #blog_subscription-2 button[type="submit"] { color: #fff; }
#header #nav-topbar > li.current_page_item > .menu-item-wrapper,
#header #nav-topbar > li.current-post-parent > .menu-item-wrapper {
  background-color: var(--ll-brand-red); border-color: var(--ll-brand-red);
}
.alx-tabs-nav li.active a { border-color: var(--ll-brand-red); }
.widget > h3 > span, .comment-tabs li.active a, .wp-pagenavi a:hover,
.wp-pagenavi a:active, .wp-pagenavi span.current { border-bottom-color: var(--ll-brand-red) !important; }
.post-comments span:before, .page-title .meta-single li.comments a:before {
  border-right-color: var(--ll-brand-red); border-top-color: var(--ll-brand-red);
}


/* Sidebar RSS link: branded icon, original feed link and accessible image label. */
#rss_links-2 p > a {
  display: inline-flex;
  vertical-align: middle;
  border-radius: 4px;
  background: var(--ll-brand-red, #9d181b) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20cx%3D%226.6%22%20cy%3D%2217.4%22%20r%3D%221.5%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M5.5%2011.8a6.7%206.7%200%200%201%206.7%206.7M5.5%206.6a11.9%2011.9%200%200%201%2011.9%2011.9%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / 22px 22px no-repeat;
}
#rss_links-2 p > a > img {
  display: block;
  width: 22px;
  height: 22px;
  opacity: 0;
}
/* About and Contact: editorial lead, natural portrait and contact form. */
body:is(.page-id-1,.page-id-3) .entry > p:first-child { font-size: clamp(1.17rem, 2.1vw, 1.36rem); line-height: 1.5; color: #2a2320; }
body.page-id-1 .entry .wp-image-17158 { background: transparent; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; mask-image: linear-gradient(to bottom, #000 0%, #000 94%, transparent 100%); }
body.page-id-3 .entry form.contact-form { box-sizing: border-box; width: 100%; padding: clamp(14px, 4vw, 28px); border: 1px solid var(--ll-rule, #e8ded6); border-radius: 12px; background: #fff; }
body.page-id-3 .entry form.contact-form .grunion-field { box-sizing: border-box; width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid #bdafa8; border-radius: 6px; color: #2a2320; font-size: 16px; }
body.page-id-3 .entry form.contact-form .grunion-field:focus-visible, body.page-id-3 .entry form.contact-form button[type="submit"]:focus-visible { outline: 2px solid var(--ll-brand-red, #9d181b); outline-offset: 2px; }
body.page-id-3 .entry form.contact-form button[type="submit"] { width: auto; min-height: 44px; padding: 9px 22px; border-radius: 6px; }
body.page-id-3 .entry .wp-block-jetpack-map { border-radius: 12px; overflow: hidden; }
@media (max-width: 480px) { body.page-id-1 .entry figure:has(> .wp-image-17158) { float: none; margin: 12px auto 18px; } }

/* Keep the retired lower newsletter widget hidden if it reactivates. */
.sidebar .sidebar-content > #blog_subscription-2 { display: none !important; }
