/*
Theme Name: Sengerson Blush
Theme URI: https://sengerson.com/
Template: genesis
Author: Sengerson LLC
Author URI: https://sengerson.com/
Description: A blush editorial Genesis child theme for Sengerson, ported from the Chasing Experiences coastal editorial design. Serif display type, generous whitespace, hairline rules, quiet hover states, and Mediavine-friendly content flow.
Version: 1.8.1
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sengerson-blush
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*
 * Design system ported from the Chasing Experiences Vlog theme and recolored
 * to the Sengerson blush palette. Selectors are adapted from the source's
 * ce-* classes to Genesis Framework markup (.site-header, .site-inner,
 * .entry, .entry-title, .entry-content, .archive-pagination, .site-footer)
 * plus sb-* classes output by the child theme's own hooks.
 */

:root {
  --paper: #FBF7F6;
  --paper-soft: #F2E3E1;
  --ink: #2B2326;
  --ink-deep: #1D1719;
  --ink-soft: #5C4A4E;
  --ink-mute: #9A8589;
  --accent: #E8CFCB;
  --accent-warm: #8A5A54;
  --line: rgba(43, 35, 38, .14);
  --line-strong: rgba(43, 35, 38, .26);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 80px;
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 14px;
  --r-xl: 24px;
  --button-radius: 8px;
  --container: 1280px;
  --narrow: 760px;
}

/* Base ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Clear the sticky two-tier header when jumping to in-page anchors. */
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  /* 19px reading base (up from 17): larger text lengthens the article
   * column, which gives Mediavine more in-content ad slots. */
  font-size: 19px;
  line-height: 1.55;
  /* Guards the full-bleed hero band. Mediavine-safe: overflow on body
   * propagates to the viewport (html stays visible) and `clip` never
   * creates a scroll container, so position: sticky/fixed ads still work. */
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

i,
em {
  color: var(--accent-warm);
  font-style: italic;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.08;
}

p {
  margin: 0 0 var(--sp-5);
}

ul,
ol {
  margin: 0 0 var(--sp-5) 1.25rem;
  padding: 0;
}

blockquote {
  margin: 0 0 var(--sp-5);
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  color: var(--ink-soft);
  font-style: italic;
}

/* Accessibility ---------------------------------------------------------- */

.screen-reader-text,
.screen-reader-shortcut,
.wp-block-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--ink);
  color: var(--paper);
}

/* The core block-search widget ships its visually-hidden label absolutely
 * positioned at full width, which the block-library stylesheet re-widens on
 * source order. Raise specificity so the label cannot expand page width. */
.wp-block-search .wp-block-search__label,
.widget_search .wp-block-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.genesis-skip-link {
  margin: 0;
  padding: 0;
  list-style: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 3px;
}

/* Layout shell ------------------------------------------------------------ */

.wrap {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
}

.site-inner {
  padding: 40px 0 64px;
}

.content-sidebar-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: 64px;
  align-items: start;
}

.full-width-content .content-sidebar-wrap {
  display: block;
}

.sidebar-content .content-sidebar-wrap {
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
}

.sidebar-content .content {
  order: 2;
}

.sidebar-content .sidebar-primary {
  order: 1;
}

.content {
  min-width: 0;
}

/* Type utilities ---------------------------------------------------------- */

.sb-kicker,
.entry-kicker,
.entry-header .entry-meta,
.breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.sb-lede {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.5;
}

/* Buttons ------------------------------------------------------------------
 * Ported from .ce-btn / .ce-search-submit / .form-submit .submit.
 */

.sb-btn,
.button,
input[type="submit"],
.search-form input[type="submit"],
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--button-radius);
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.sb-btn:hover,
.sb-btn:focus-visible,
.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: var(--paper-soft);
}

/* Chips --------------------------------------------------------------------
 * Ported from .ce-chip / .ce-tags a / .page-numbers. Tag chips carry the
 * blush signature tint. Applied to entry tag links, tag clouds, pagination.
 */

.entry-tags a,
.entry-categories a,
.tag-cloud-link,
.post-page-numbers,
.archive-pagination li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.entry-tags a:hover,
.entry-categories a:hover,
.tag-cloud-link:hover,
.post-page-numbers:hover,
.archive-pagination li a:hover,
.archive-pagination li.active a {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* Header --------------------------------------------------------------------
 * Two-tier header ported from .ce-site-header: a blush utility bar over a
 * main row with the logo left and nav + search + hamburger on the right.
 * Sticky with z-index 40 (<100) so Mediavine sticky ads win the stack;
 * sticky (not fixed) keeps the header in flow, so content is never hidden.
 */

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: transform .25s ease;
}

/* Hide-on-scroll: theme.js adds this class once the reader scrolls below
 * the first viewport going down; scrolling up brings the header back. */
.site-header.sb-header-hidden {
  transform: translateY(-102%);
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

.admin-bar .site-header {
  top: 32px;
}

/* Shared self-centering inner container (header is full-bleed). */
.sb-header-utility__inner,
.sb-header-inner {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
}

/* Tier 1 — utility bar. The blush wash lives here as the signature tint. */
.sb-header-utility {
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.sb-header-utility__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 32px;
}

.sb-utility-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sb-utility-nav a {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: lowercase;
}

.sb-utility-nav a:hover {
  color: var(--accent-warm);
}

.sb-social-icons--utility {
  margin-left: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
}

.sb-social-icons--utility .sb-social-icons__link {
  color: var(--accent-warm);
}

.sb-social-icons--utility .sb-social-icons__link:hover {
  color: var(--ink);
}

/* Tier 2 — main row: logo left, nav + actions right. */
.sb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
}

.sb-header-logo-slot {
  display: flex;
  align-items: center;
  min-width: 0;
}

.sb-header-logo-slot .custom-logo,
.sb-header-logo-slot img {
  display: block;
  width: auto;
  max-height: 76px;
}

.site-title,
.sb-logo-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .95;
}

.site-title a {
  color: var(--ink);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--accent-warm);
}

.sb-header-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.sb-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.genesis-nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.genesis-nav-menu li {
  position: relative;
  display: flex;
  align-items: center;
}

.genesis-nav-menu a {
  display: inline-flex;
  align-items: center;
  padding: 14px 2px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item > a {
  color: var(--accent-warm);
}

/* Dropdown indicator for items that have a submenu */
.genesis-nav-menu .menu-item-has-children > a::after,
.genesis-nav-menu .page_item_has_children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
}

/* Hidden dropdown panels — only show on hover / keyboard focus */
.genesis-nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  min-width: 240px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px -20px rgba(43, 35, 38, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.genesis-nav-menu > li:hover > .sub-menu,
.genesis-nav-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items: serif (matching content), normal case */
.genesis-nav-menu .sub-menu li {
  display: block;
}

.genesis-nav-menu .sub-menu a {
  display: block;
  padding: 10px 22px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.genesis-nav-menu .sub-menu a:hover {
  color: var(--accent-warm);
  background: var(--paper-soft);
}

/* Nested (3rd-level) submenus open to the right */
.genesis-nav-menu .sub-menu .sub-menu {
  top: -14px;
  left: 100%;
}

.genesis-nav-menu .sub-menu .menu-item-has-children > a::after {
  margin-left: 12px;
  vertical-align: middle;
  transform: rotate(-90deg);
  border-top-color: var(--ink-mute);
}

/* Mobile menu -----------------------------------------------------------------
 * Slide-in panel ported from .ce-menu-toggle / .ce-mobile-panel /
 * .ce-mobile-nav / .ce-mobile-search, recolored to blush. The hamburger
 * replaces the primary nav below 700px; behavior lives in assets/js/theme.js.
 */

.sb-icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.sb-icon-button:hover,
.sb-icon-button:focus-visible {
  background: transparent;
  color: var(--accent-warm);
}

/* Header search panel, ported from .ce-search-panel. */
.sb-search-panel {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.sb-search-panel__inner {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
}

/* Both header toggle buttons hide on desktop; only search shows the panel. */
.sb-menu-toggle {
  display: none;
}

.sb-mobile-panel {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  width: min(392px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 64px -32px rgba(43, 35, 38, .38);
  background: var(--paper);
  overscroll-behavior: contain;
  overflow-y: auto;
}

.admin-bar .sb-mobile-panel {
  top: 48px;
  max-height: calc(100dvh - 64px);
}

.sb-mobile-panel__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.sb-mobile-panel__brand {
  min-width: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
  text-decoration: none;
}

.sb-mobile-panel__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.sb-mobile-search {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

/* Keep the panel's search input + button on one horizontal line. */
.sb-mobile-search .search-form {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
}

.sb-mobile-search .search-form input[type="submit"] {
  flex: 0 0 auto;
  white-space: nowrap;
}

.sb-mobile-nav {
  padding: 6px 0 12px;
}

.sb-mobile-nav ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-mobile-nav li {
  display: block;
  border-bottom: 1px solid var(--line);
}

.sb-mobile-nav a {
  display: block;
  padding: 13px 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}

.sb-mobile-nav a:hover {
  background: var(--paper-soft);
  color: var(--ink-deep);
}

/* Submenus: indented, collapsed until the chevron toggle is tapped. */
.sb-mobile-nav .sub-menu,
.sb-mobile-nav .children {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.sb-mobile-nav li.is-submenu-open > .sub-menu,
.sb-mobile-nav li.is-submenu-open > .children {
  display: block;
}

.sb-mobile-nav .sub-menu a,
.sb-mobile-nav .children a {
  padding-left: 42px;
  font-size: 10.5px;
  letter-spacing: .12em;
}

.sb-mobile-nav .sub-menu .sub-menu a,
.sb-mobile-nav .children .children a {
  padding-left: 60px;
}

/* Parent items get a real toggle button injected by JS. */
.sb-mobile-nav .menu-item-has-children,
.sb-mobile-nav .page_item_has_children {
  position: relative;
}

.sb-mobile-nav .menu-item-has-children > a,
.sb-mobile-nav .page_item_has_children > a {
  padding-right: 66px;
}

.sb-mobile-submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 45px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.sb-mobile-submenu-toggle:hover,
.sb-mobile-submenu-toggle:focus-visible {
  background: transparent;
  color: var(--accent-warm);
}

.sb-mobile-submenu-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform .15s ease;
}

.sb-mobile-nav li.is-submenu-open > .sb-mobile-submenu-toggle svg {
  transform: rotate(180deg);
}

/* Mobile subscribe block, ported from .ce-mobile-subscribe, recolored. */
.sb-mobile-subscribe {
  padding: 24px 22px 36px;
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}

.sb-mobile-subscribe__pitch {
  margin-bottom: 14px;
}

.sb-mobile-subscribe__pitch h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.sb-mobile-subscribe__pitch p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
}

.sb-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-subscribe-form__input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.sb-subscribe-form__input:focus {
  outline: none;
  border-color: var(--accent-warm);
}

/* Honeypot stays in the DOM for bots but is hidden from people. */
.sb-subscribe-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sb-subscribe-form__button {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--button-radius);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease;
}

.sb-subscribe-form__button:hover,
.sb-subscribe-form__button:focus-visible {
  background: var(--accent-warm);
}

body.sb-menu-is-open {
  overflow: hidden;
}

/* Homepage — widget-driven (Genesis Featured Posts) ------------------------
 * front-page.php renders only the Home widget areas. These rules style the
 * Genesis Featured Posts widget markup (.featured-content .entry with
 * .entry-image-link / .entry-title / .entry-meta / .entry-content /
 * .more-link) into the blush editorial look: "Home Featured" reads as the
 * big hero; "Home 1-4" read as the 3-up editorial card grid. Everything is
 * scoped under .sb-front-page so the shared .entry-title / .entry-content
 * class names never leak onto single posts or pages (which also carry the
 * generic .page body class on a static front page).
 */

.sb-front-page .site-inner {
  padding-top: 0;
}

/* Section shells */
.sb-front-page .sb-home-row {
  padding: 44px 0;
}

.sb-front-page .sb-home-featured {
  padding: 44px 0;
}

/* Hero widget title -> mono kicker ("MY LATEST OBSESSION") */
.sb-front-page .sb-home-featured .widget-title,
.sb-front-page .sb-home-featured .widgettitle {
  margin: 0 0 24px;
  padding: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Row widget titles -> big serif section headings, like the source rows */
.sb-front-page .sb-home-row .widget-title,
.sb-front-page .sb-home-row .widgettitle {
  margin: 0 0 24px;
  padding: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
  text-transform: none;
}

/* Homepage rows never show excerpts or read-more links (cards are image +
 * kicker + title). Applies to Genesis Featured Posts widgets too. */
.sb-front-page .sb-home-row .entry .entry-content,
.sb-front-page .sb-home-row .entry .more-link {
  display: none;
}

.sb-front-page .sb-home-area .widget {
  margin: 0;
}

.sb-front-page .sb-home-area .entry-meta {
  margin: 0 0 8px;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Shared image treatment */
.sb-front-page .sb-home-area .entry-image-link {
  display: block;
  overflow: hidden;
}

.sb-front-page .sb-home-area .entry-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shared title, excerpt, more-link */
.sb-front-page .sb-home-area .entry-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.sb-front-page .sb-home-area .entry-title a {
  padding: 0 .06em;
  margin: 0 -.06em;
  color: var(--ink);
  text-decoration: none;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(transparent 62%, rgba(232, 207, 203, .72) 0);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: color .18s ease, background-size .22s ease;
}

.sb-front-page .sb-home-area .entry-title a:hover,
.sb-front-page .sb-home-area .entry-title a:focus-visible {
  color: var(--ink-deep);
  background-size: 100% 100%;
}

.sb-front-page .sb-home-area .entry-content {
  max-width: none;
  color: var(--ink-soft);
  font-family: var(--serif);
}

.sb-front-page .sb-home-area .more-link {
  display: inline-flex;
  align-items: center;
  margin: 4px 0 0;
  padding: 5px 7px 6px;
  border: 0;
  border-bottom: 1px solid rgba(43, 35, 38, .28);
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.sb-front-page .sb-home-area .more-link:hover,
.sb-front-page .sb-home-area .more-link:focus-visible {
  color: var(--ink-deep);
  border-bottom-color: var(--accent-warm);
  background: rgba(232, 207, 203, .48);
  box-shadow: none;
}

.sb-front-page .sb-home-area .entry-image-link:focus-visible,
.sb-front-page .sb-home-area .entry-title a:focus-visible,
.sb-front-page .sb-home-area .more-link:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 3px;
}

/* --- Home Featured: big hero. Image left (spanning), text stacked right. --- */
.sb-front-page .sb-home-featured .featured-content .entry {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  column-gap: 48px;
  row-gap: 6px;
  align-content: center;
}

.sb-front-page .sb-home-featured .featured-content .entry + .entry {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.sb-front-page .sb-home-featured .entry-image-link {
  grid-column: 1;
  grid-row: 1 / span 20;
  align-self: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.sb-front-page .sb-home-featured .entry-image {
  height: auto;
  aspect-ratio: 4 / 3;
}

.sb-front-page .sb-home-featured .entry-title,
.sb-front-page .sb-home-featured .entry-meta,
.sb-front-page .sb-home-featured .entry-content {
  grid-column: 2;
}

.sb-front-page .sb-home-featured .entry-title {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.sb-front-page .sb-home-featured .entry-content {
  font-size: 18px;
  line-height: 1.55;
}

/* --- Home rows: 4-up editorial card grid (Genesis Featured Posts). --- */
.sb-front-page .sb-home-row .widget-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 28px;
}

.sb-front-page .sb-home-row .widget-title,
.sb-front-page .sb-home-row .widgettitle {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

/* The Sengerson widgets manage their own internal layout — their
 * widget-wrap must NOT become the 3-up grid. */
.sb-front-page .sb-home-row .widget_sengerson-category-row .widget-wrap,
.sb-front-page .sb-home-row .widget_sengerson-welcome .widget-wrap,
.sb-front-page .sb-home-row .widget_sengerson-newsletter .widget-wrap,
.sb-front-page .sb-home-row .widget_sengerson-featured-post .widget-wrap {
  display: block;
}

.sb-front-page .sb-home-row .widget + .widget {
  margin-top: 40px;
}

.sb-front-page .sb-home-row .entry {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.sb-front-page .sb-home-row .entry-image-link {
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.sb-front-page .sb-home-row .entry-image {
  transition: transform .6s ease;
}

.sb-front-page .sb-home-row .entry:hover .entry-image {
  transform: scale(1.02);
}

.sb-front-page .sb-home-row .entry-title {
  font-size: 22px;
  line-height: 1.2;
}

.sb-front-page .sb-home-row .entry-content {
  font-size: 16px;
  line-height: 1.55;
}

.sb-front-page .sb-home-row .more-link {
  align-self: flex-start;
}

/* Admin-only "add widgets" hint on a brand-new install. */
.sb-front-page .sb-home-empty {
  padding: 64px 0;
  text-align: center;
}

.sb-front-page .sb-home-empty__title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
}

.sb-front-page .sb-home-empty p {
  color: var(--ink-soft);
}

/* Archive / category / blog / search --------------------------------------
 * Editorial list: kicker, serif title, excerpt, hairline separators.
 * Ported from the source archive header + editorial rhythm.
 */

/* Full-bleed soft hero band: big serif title + description, as on the
 * source category pages. */
.archive-description {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 48px;
  padding: 44px max(24px, calc(50vw - (var(--container) / 2))) 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.archive-description .archive-title {
  margin: 4px 0 12px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.archive-description p,
.archive-description .archive-intro-text {
  /* Spans the full content width, aligned with the card grid below. */
  max-width: none;
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
}

.archive-description p:last-child,
.archive-description .archive-intro-text:last-child {
  margin-bottom: 0;
}

/* Card grid: 4-up (image, kicker, title), mirroring the source archive. */
.blog:not(.sb-front-page) .content,
.archive .content,
.search .content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 28px;
}

.blog:not(.sb-front-page) .content > .archive-description,
.archive .content > .archive-description,
.search .content > .archive-description,
.blog:not(.sb-front-page) .content > .archive-pagination,
.archive .content > .archive-pagination,
.search .content > .archive-pagination {
  grid-column: 1 / -1;
}

.blog:not(.sb-front-page) .content > .entry,
.archive .content > .entry,
.search .content > .entry {
  margin: 0;
  padding: 0;
  border: 0;
}

.blog:not(.sb-front-page) .content > .entry .entry-title,
.archive .content > .entry .entry-title,
.search .content > .entry .entry-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.sb-archive-card__media {
  display: block;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.sb-archive-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 520;
  object-fit: cover;
  transition: transform .35s ease;
}

.blog:not(.sb-front-page) .content > .entry:hover .sb-archive-card__media img,
.archive .content > .entry:hover .sb-archive-card__media img,
.search .content > .entry:hover .sb-archive-card__media img {
  transform: scale(1.03);
}

.entry-kicker {
  margin: 0 0 8px;
}

.entry-kicker a {
  color: inherit;
  text-decoration: none;
}

.entry-kicker a:hover {
  color: var(--ink);
}

.entry-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.entry-title a {
  padding: 0 .08em;
  margin: 0 -.08em;
  color: inherit;
  text-decoration: none;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(transparent 62%, rgba(232, 207, 203, .72) 0);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: color .18s ease, background-size .22s ease;
}

.entry-title a:hover,
.entry-title a:focus-visible {
  color: var(--ink-deep);
  background-size: 100% 100%;
}

.blog .entry-content,
.archive .entry-content,
.search .entry-content {
  max-width: 68ch;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
}

.blog .entry-content p:last-child,
.archive .entry-content p:last-child,
.search .entry-content p:last-child {
  margin-bottom: 0;
}

/* Pagination, ported from .ce-pagination + chips */

.archive-pagination {
  margin-top: 64px;
}

.archive-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-pagination li {
  margin: 0;
}

/* Single posts & pages -------------------------------------------------------
 * Narrow measure, serif body, blush drop cap, mono meta line.
 * Ported from .ce-single-hero / .ce-entry-wrap / .ce-entry-content.
 * Mediavine note: .entry-content stays a plain block flow — no flex/grid
 * wrappers — so ads can inject between paragraphs safely.
 */

.single .entry-header {
  margin-bottom: 12px;
}

.page .entry-header {
  margin-bottom: 24px;
}

.single .entry-title,
.page .entry-title {
  margin: 10px 0 16px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.entry-header .entry-meta {
  margin: 0;
}

.single .entry-content,
.page .entry-content {
  /* Full content-column width so text and images share the same left and
   * right edges as the title and breadcrumbs. */
  max-width: none;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
}

/* Long unbreakable tokens — e.g. raw affiliate shortcodes like
 * [amazon_box asins="B0...,B0...,B0..."] or bare URLs — must wrap instead of
 * pushing the column wider. Stays plain block flow (Mediavine-safe). */
.entry-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.single .entry-content > *,
.page .entry-content > * {
  margin-bottom: 24px;
  /* Nothing in the article body may spill past the content measure. */
  max-width: 100%;
}

/* Affiliate grids / tables / embeds / preformatted blocks stay inside the
 * column: cap width, allow scroll for genuinely wide tables. */
.entry-content table,
.entry-content pre,
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video,
.entry-content .wp-block-embed__wrapper,
.entry-content [class*="amazon"],
.entry-content [class*="affiliate"],
.entry-content [class*="product"] {
  max-width: 100%;
  box-sizing: border-box;
}

.entry-content pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.entry-content table {
  display: block;
  overflow-x: auto;
}

.entry-content h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 34px;
}

.entry-content h3 {
  margin-top: 36px;
  color: var(--ink);
  font-size: 26px;
}

/* In-content links: blush highlight underline, ported from .ce-entry-content a */
.entry-content a {
  color: var(--accent-warm);
  margin: 0 -.04em;
  padding: 0 .04em;
  background-image: linear-gradient(to top, rgba(232, 207, 203, .72) 0 .38em, transparent .38em);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 2px;
  text-decoration: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-color .18s ease, box-shadow .18s ease, color .18s ease;
}

/* Hover: the blush band thickens into a strong underline highlight —
 * never a full box fill. */
.entry-content a:hover,
.entry-content a:focus-visible {
  background-image: linear-gradient(to top, var(--accent) 0 .52em, transparent .52em);
  color: var(--ink-deep);
  outline: none;
}

.entry-content .wp-block-button__link,
.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus-visible,
.entry-content .sb-btn,
.entry-content .sb-btn:hover,
.entry-content .sb-btn:focus-visible,
.entry-content figure a,
.entry-content figure a:hover,
.entry-content figure a:focus-visible,
.entry-content .entry-title a {
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

.entry-content .wp-block-button__link,
.entry-content .sb-btn {
  padding: 11px 20px;
  color: var(--ink-soft);
}

/* Post cards embedded in page content (e.g. the About page reader-favorites
 * grids) behave like the homepage cards: the block-level anchor never gets
 * the in-content blush band — the title's own hover band handles it. */
.entry-content .sb-post-card__link,
.entry-content .sb-post-card__link:hover,
.entry-content .sb-post-card__link:focus-visible {
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
}

.entry-content img,
.wp-caption {
  max-width: 100%;
}

.wp-caption-text,
.gallery-caption,
.entry-content figcaption {
  margin-top: 8px;
  color: var(--ink-mute);
  font-family: var(--sans);
  font-size: 12px;
}

/* Entry footer: tag chips under a hairline, ported from .ce-tags */

.single .entry-footer {
  max-width: none;
}

.single .entry-footer .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 56px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.entry-tags,
.entry-categories {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Adjacent post navigation */

.adjacent-entry-pagination {
  margin-top: 40px;
}

.adjacent-entry-pagination .pagination-previous,
.adjacent-entry-pagination .pagination-next {
  font-family: var(--serif);
}

/* Author box, ported from .ce-author-box */

.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: none;
  margin-top: 48px;
  padding: 28px;
  background: var(--paper-soft);
}

.author-box .avatar {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box-title {
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.author-box-content {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
}

/* After-entry widget area */

.after-entry {
  max-width: none;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* Comments, ported from the source comment styles */

.entry-comments,
.comment-respond {
  max-width: none;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.entry-comments h3,
.comment-respond h3 {
  margin-bottom: 20px;
  font-size: 24px;
}

.comment-list,
.comment-list ul.children {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.comment-list ul.children {
  margin-left: 24px;
}

/* No avatars; each comment is a padded box, alternating blush / paper. */
.comment-list .avatar,
.comment-author img {
  display: none !important;
}

.comment-list li {
  margin-bottom: 12px;
  padding: 22px 26px;
  border-bottom: none;
  border-radius: 6px;
}
.comment-list li:nth-child(odd) {
  background: var(--paper-soft);
}
.comment-list li:nth-child(even) {
  background: var(--paper);
}
/* Threaded replies inherit the parent's container color (transparent so the
   parent box shows through) and are indented to show nesting. */
.comment-list ul.children li {
  background: transparent;
  border-radius: 0;
  margin-left: 28px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.comment-header {
  font-family: var(--sans);
  font-size: 14px;
}

.comment-meta {
  color: var(--ink-mute);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}

.comment-content {
  color: var(--ink-soft);
}

.comment-respond input:not([type="checkbox"]):not([type="submit"]),
.comment-respond textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: white;
  color: var(--ink);
  padding: 12px 14px;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.35;
}

.comment-form-cookies-consent input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
}

.comment-respond input[type="submit"] {
  width: auto;
  min-height: 44px;
  padding: 0 24px;
  border-color: #C4938C;
  background: #C4938C;
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.comment-respond input[type="submit"]:hover {
  border-color: var(--accent-warm);
  background: var(--accent-warm);
}

/* Sidebar, ported from .ce-sidebar / .ce-widget */

.sidebar {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 15px;
}

.sidebar .widget {
  padding: 0;
}

.sidebar .widget + .widget {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.widget-title {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
}

.sidebar ul {
  margin: 0;
  list-style: none;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar a {
  color: var(--ink-soft);
  text-decoration: none;
}

.sidebar a:hover {
  color: var(--accent-warm);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

/* Search form, ported from .ce-search-form */

.search-form {
  display: flex;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px;
  background: white;
}

.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  background: transparent;
  color: var(--ink);
}

.search-form input[type="submit"] {
  flex: 0 0 auto;
}

/* Footer ---------------------------------------------------------------------
 * Full port of the source footer: 4 divided columns on dark ink
 * (Subscribe | Brand | On the Blog | More) + centered mono colophon.
 * Ported from .ce-site-footer / .ce-footer-grid / .ce-footer-col /
 * .ce-footer-bottom / .ce-social-icons.
 */

.footer-widgets {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 40px;
}

.sb-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr .9fr;
  gap: 0;
  align-items: start;
}

/* Vertical dividers between footer columns, as in the source. */
.sb-footer-col {
  min-height: 200px;
  padding: 0 32px;
  border-right: 1px solid rgba(251, 247, 246, .14);
}

.sb-footer-col:first-child {
  padding-left: 0;
}

.sb-footer-col:last-child {
  border-right: 0;
  padding-right: 0;
}

.sb-footer-col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.sb-footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
}

.sb-footer-brand__kicker {
  color: rgba(251, 247, 246, .55);
}

.sb-footer-brand__kicker::before,
.sb-footer-brand__kicker::after {
  background: rgba(251, 247, 246, .35);
}

.sb-footer-brand__title {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1;
}

.sb-footer-brand:hover .sb-footer-brand__title {
  color: var(--accent);
}

.sb-footer-brand__logo img {
  display: block;
  width: auto;
  max-height: 64px;
  margin: 0 auto;
}

.sb-footer-tagline {
  max-width: 280px;
  margin: 0;
  color: rgba(251, 247, 246, .7);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
}

/* Subscribe column head: heading + social icons on one row. */
.sb-footer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.sb-footer-head .widget-title {
  margin-bottom: 0;
}

.sb-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.sb-social-icons__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(251, 247, 246, .65);
  transition: color .15s ease, transform .15s ease;
}

.sb-social-icons__link:hover,
.sb-social-icons__link:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
}

.footer-widgets .sb-btn {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-widgets .sb-btn:hover,
.footer-widgets .sb-btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.footer-widgets .widget + .widget {
  margin-top: 28px;
}

.footer-widgets .widget-title {
  margin-bottom: 14px;
  color: var(--paper);
}

.footer-widgets,
.footer-widgets p {
  color: rgba(251, 247, 246, .7);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
}

.footer-widgets ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  list-style: none;
}

.footer-widgets a {
  color: rgba(251, 247, 246, .82);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.footer-widgets a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

.footer-widgets input:not([type="submit"]):not([type="checkbox"]) {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(251, 247, 246, .35);
  background: rgba(251, 247, 246, .04);
  color: var(--paper);
  font: inherit;
  font-size: 14px;
}

.footer-widgets input:not([type="submit"]):not([type="checkbox"]):focus {
  outline: none;
  border-color: var(--paper);
}

.footer-widgets input[type="submit"],
.footer-widgets .button {
  min-height: 44px;
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-widgets input[type="submit"]:hover,
.footer-widgets .button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.site-footer {
  background: var(--ink);
  color: rgba(251, 247, 246, .45);
  padding: 0 0 28px;
  text-align: center;
}

.site-footer .wrap {
  border-top: 1px solid rgba(251, 247, 246, .15);
  padding-top: 24px;
}

.sb-colophon {
  margin: 0;
  color: rgba(251, 247, 246, .45);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* WordPress core / Genesis odds and ends */

.sticky,
.bypostauthor {
  outline: 0;
}

.alignwide {
  max-width: 1100px;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignleft {
  float: left;
  margin: 0 24px 24px 0;
}

img.alignright {
  float: right;
  margin: 0 0 24px 24px;
}

.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
}

/* v1.1.0 components -----------------------------------------------------------
 * Brand lockup, single hero byline, affiliate disclosure, Keep Reading grid,
 * sidebar bio card + Popular Ideas. All ported from the source theme
 * (.ce-logo-stack / .ce-single-meta / .ce-affiliate-disclosure / .ce-related /
 * .ce-sidebar-family / .ce-sidebar-popular), recolored to blush tokens.
 */

/* Brand lockup: serif title over a mono kicker between hairlines. */
.sb-brand-stack {
  margin: 0;
  line-height: 1;
}

.sb-brand-stack a {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  color: var(--ink);
  text-decoration: none;
}

.sb-brand-stack a:hover .sb-brand-stack__title {
  color: var(--accent-warm);
}

.sb-brand-stack__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .95;
  transition: color .18s ease;
}

.sb-brand-stack__rule {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-brand-stack__rule span {
  flex: 1;
  height: 1px;
  min-width: 14px;
  background: var(--line-strong);
}

.sb-brand-stack__rule b {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

/* Byline: avatar + two-line stack ("By …" over mono "Updated on …"). */
.sb-single-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 0;
}

.sb-single-meta__avatar,
.sb-single-meta .avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.sb-single-meta__lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sb-single-meta__author {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
}

.sb-single-meta__updated {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sb-single-meta__updated a {
  color: var(--accent-warm);
  text-decoration: none;
}

/* Affiliate disclosure: italic quiet lead-in, exactly as the source. */
.entry-content .sb-affiliate-disclosure {
  color: var(--ink-mute);
  font-style: italic;
  line-height: 1.6;
}

/* Editorial post card (Keep Reading grid + sidebar Popular Ideas). */
.sb-post-card__link {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.sb-post-card__media {
  display: block;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--paper-soft);
}

.sb-post-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.sb-post-card__link:hover .sb-post-card__media img {
  transform: scale(1.03);
}

.sb-post-card__kicker {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Title hover: blush band sweeps in from the left, like .ce-card-title —
 * an underline highlight, never a full box. */
.sb-post-card__title {
  display: inline;
  padding: 0 .08em;
  margin: 0 -.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.3;
  background-image: linear-gradient(transparent 62%, rgba(232, 207, 203, .72) 0);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: color .18s ease, background-size .22s ease;
}

.sb-post-card__link:hover .sb-post-card__title,
.sb-post-card__link:focus-visible .sb-post-card__title {
  color: var(--ink-deep);
  background-size: 100% 100%;
}

/* Keep Reading: kicker + serif heading + 3-up grid after the post. */
.sb-related {
  max-width: none;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.sb-related__kicker {
  margin: 0 0 10px;
}

.sb-related__title {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  letter-spacing: -.02em;
}

.sb-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}

/* Sidebar bio card: centered serif heading, circular photo, quiet button. */
.sb-bio-card {
  text-align: center;
}

.sb-bio-card__title {
  margin-bottom: 18px;
  font-size: 22px;
}

.sb-bio-card__photo {
  margin: 0 auto 18px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
}

.sb-bio-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-bio-card__text {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.65;
}

.sb-bio-card__link {
  /* Site-wide button standard: blush fill, box text color, burgundy hover. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--button-radius);
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

/* .sidebar selectors included so the generic .sidebar a:hover (burgundy
 * text + underline) can never win — that made the label invisible. */
.sb-bio-card__link:hover,
.sb-bio-card__link:focus-visible,
.sidebar .sb-bio-card__link:hover,
.sidebar .sb-bio-card__link:focus-visible {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: var(--paper-soft);
  text-decoration: none;
}

/* Sidebar Popular Ideas: stacked editorial cards. */
.sb-popular .sb-post-card + .sb-post-card {
  margin-top: 24px;
}

.sb-popular__title {
  margin-bottom: 18px;
}

/* v1.2.0 components -----------------------------------------------------------
 * Homepage widgets: Category Row (section head + card grid), Welcome Card,
 * Newsletter band. Ported from the source .ce-section-head / .ce-home-about /
 * .ce-newsletter-band, recolored to blush.
 */

/* Section head: serif title + lede left, mono arrow CTA right. */
.sb-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.sb-section-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.sb-section-lede {
  /* Spans the full section width, same edges as the card grid below. */
  margin: 10px 0 0;
  max-width: none;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

/* Underline-style arrow link, ported from .ce-section-cta: hairline under
 * the text, soft blush wash + slight shift on hover — never a full box. */
.sb-section-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px 6px;
  border-bottom: 1px solid rgba(43, 35, 38, .28);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.sb-section-cta:hover,
.sb-section-cta:focus-visible {
  color: var(--ink-deep);
  border-bottom-color: var(--accent-warm);
  background: rgba(232, 207, 203, .48);
  transform: translateX(2px);
}

/* Card grid used by the Category Row widget: 4-up like the source
 * homepage (.ce-grid--four), stepping 4 / 3 / 2 / 1. */
.sb-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 28px;
}

@media (max-width: 1100px) {
  .sb-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
}

@media (max-width: 540px) {
  .sb-card-grid {
    grid-template-columns: 1fr;
  }
}

.sb-card-grid .sb-post-card__link {
  gap: 0;
}

.sb-card-grid .sb-post-card__media {
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.sb-card-grid .sb-post-card__kicker {
  margin-bottom: 8px;
}

.sb-card-grid .sb-post-card__title {
  font-size: 19px;
}

/* Welcome band: boxed, photo left, text + button right. */
.sb-welcome {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.sb-welcome__photo {
  margin: 0;
}

.sb-welcome__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.sb-welcome__title {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.sb-welcome__text {
  margin: 0 0 22px;
  max-width: 56ch;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
}

/* Newsletter band: centered blush wash with inline signup form. */
.sb-newsletter-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 56px max(24px, calc(50vw - 340px));
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.sb-newsletter-band__kicker {
  margin: 0 0 10px;
}

.sb-newsletter-band__title {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.sb-newsletter-band__text {
  margin: 0 auto 24px;
  max-width: 58ch;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
}

.sb-newsletter-band__form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.sb-newsletter-band__form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: white;
  color: var(--ink);
}

.sb-newsletter-band__form button {
  flex: 0 0 auto;
}

/* Featured Post card, ported from .ce-popular-card: hairline-bordered box,
 * image left; kicker, serif title, excerpt, Read More button left-aligned
 * on the right. */
.sb-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  align-items: stretch;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.sb-feature__image {
  display: block;
  overflow: hidden;
  background: var(--paper-soft);
}

.sb-feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 28px 32px;
  text-align: left;
}

.sb-feature__kicker {
  margin: 0 0 12px;
}

.sb-feature__title {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sb-feature__excerpt {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
}

.sb-feature__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.sb-feature__cta:hover,
.sb-feature__cta:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Easy Table of Contents plugin ("In This Post" box) ------------------------
 * Entries read at body size in serif, slightly bolder; links carry NO
 * resting underline band — the blush band appears on hover only, starting
 * at the text (the bullet is the list marker, outside the link). The
 * plugin's list/arrows toggle icon is replaced with a simple chevron.
 */

/* The plugin prints its own inline style block (div#ez-toc-container
 * .ez-toc-title { font-size: 1.625em }) after this stylesheet — the
 * !important is required to beat it. */
div#ez-toc-container .ez-toc-title,
div#ez-toc-container p.ez-toc-title {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px !important;
  font-weight: 500;
  line-height: 1.4;
}

.entry-content #ez-toc-container .ez-toc-link,
#ez-toc-container .ez-toc-link {
  /* margin-left widens the bullet-to-text gap; the hover band (a background
   * on the link) still starts at the text. */
  margin: 0 0 0 .5em;
  padding: 0;
  background-image: none;
  background-color: transparent;
  box-shadow: none;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
}

.entry-content #ez-toc-container .ez-toc-link:hover,
.entry-content #ez-toc-container .ez-toc-link:focus-visible,
#ez-toc-container .ez-toc-link:hover,
#ez-toc-container .ez-toc-link:focus-visible {
  background-image: linear-gradient(transparent 62%, rgba(232, 207, 203, .9) 0);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: var(--ink-deep);
}

/* Toggle icon: hide the plugin's list/arrow svgs, draw a chevron. */
#ez-toc-container .ez-toc-icon-toggle-span svg {
  display: none;
}

#ez-toc-container .ez-toc-cssicon {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

#ez-toc-container .ez-toc-icon-toggle-span::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  /* Expanded state: chevron points up (click to collapse). */
  transform: rotate(-135deg) translateY(2px);
  transition: transform .2s ease;
}

/* Collapsed (checkbox checked): chevron points down. */
#ez-toc-container:has(input:checked) .ez-toc-icon-toggle-span::after {
  transform: rotate(45deg) translateY(-2px);
}

/* Mediavine Create "Recommended Products" -----------------------------------
 * Amazon-widget-style cards on top of the plugin's own flex layout (its
 * widths/margins are !important, so the card chrome lives on the link):
 * hairline-bordered white card, contained square product image, sans name
 * with hover-only underline, and a blush "Shop on Amazon" CTA at the bottom.
 */

.entry-content .mv-create-products-listitem {
  display: flex;
}

.entry-content .mv-create-products-link,
.entry-content .mv-create-products-link:hover,
.entry-content .mv-create-products-link:focus-visible {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 16px 14px 14px;
  border: 1px solid var(--line);
  background-color: #fff;
  background-image: none;
  box-shadow: none;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

/* Keep the plugin's square aspect box; just recolor and space it. */
.entry-content .mv-create-products-imgwrap {
  margin: 0 0 12px;
  background-color: #fff;
}

/* Fill the square box and center the product shot (the plugin's own
 * positioning leaves images off-center). */
.entry-content .mv-create-products-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.entry-content .mv-create-products-product-name {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

/* Underline on hover only, on the product name text. */
.entry-content .mv-create-products-link:hover .mv-create-products-product-name,
.entry-content .mv-create-products-link:focus-visible .mv-create-products-product-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

/* "Shop on Amazon" CTA, pinned to the bottom so cards stay even. */
.entry-content .mv-create-products-link::after {
  /* Text + color are Customizer settings (Product Buttons section);
   * sengerson_blush_product_button_css() prints the overrides. */
  content: "Buy on Amazon";
  /* The plugin hides link pseudo-elements — force this one back on. */
  display: inline-flex !important;
  align-self: center;
  margin-top: auto;
  padding: 10px 18px;
  border: 1px solid #FFD214;
  border-radius: 999px;
  background: #FFD214;
  color: #000;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.entry-content .mv-create-products-link:hover::after,
.entry-content .mv-create-products-link:focus-visible::after {
  filter: brightness(.88);
}

.entry-content .mv-create-affiliate-disclaimer {
  color: var(--ink-mute);
  font-size: 15px;
  font-style: italic;
}

/* The Create card itself: page background + hairline border, so it stops
 * standing out as a white block. The white actually lives on
 * .mv-create-wrapper (every plugin skin paints it: #fff / #333 / #efefe9),
 * with a 3px #f4f4f4 border at >=367px — override both. Product mini-cards
 * stay white inside. */
.entry-content .mv-create-wrapper,
.mv-create-card .mv-create-wrapper,
.mv-create-wrapper {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
}

.entry-content .mv-create-card,
.mv-create-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Archive prev/next links, styled like the section CTAs. */
.archive-pagination .pagination-previous a,
.archive-pagination .pagination-next a {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.archive-pagination .pagination-previous a:hover,
.archive-pagination .pagination-next a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Responsive -----------------------------------------------------------------
 * Same breakpoint set as the source theme: 1024 / 980 / 700 / 600 / 540.
 */

@media (max-width: 1024px) {
  .wrap,
  .sb-header-utility__inner,
  .sb-header-inner {
    width: min(100% - 48px, var(--container));
  }

  .content-sidebar-wrap,
  .sidebar-content .content-sidebar-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sidebar-content .content,
  .sidebar-content .sidebar-primary {
    order: 0;
  }

  .blog:not(.sb-front-page) .content,
  .archive .content,
  .search .content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .sb-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-front-page .sb-home-featured .featured-content .entry {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .sb-front-page .sb-home-featured .entry-image-link {
    grid-column: 1;
    grid-row: auto;
  }

  .sb-front-page .sb-home-featured .entry-title,
  .sb-front-page .sb-home-featured .entry-meta,
  .sb-front-page .sb-home-featured .entry-content {
    grid-column: 1;
  }

  .sb-front-page .sb-home-row .widget-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .sb-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .sb-footer-col,
  .sb-footer-col:first-child,
  .sb-footer-col:last-child {
    min-height: 0;
    padding: 0;
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .admin-bar .site-header {
    top: 46px;
  }

  /* 24px total gutter (vs the source's 32px) keeps the content column at or
   * above 336px on 360px viewports for Mediavine 336x280 units. */
  .wrap,
  .sb-header-utility__inner,
  .sb-header-inner {
    width: calc(100% - 24px);
  }

  .sb-header-inner {
    min-height: 72px;
  }

  /* Hamburger replaces the primary nav + search icon, as in the source. */
  .sb-primary-nav,
  .sb-search-toggle {
    display: none;
  }

  .sb-menu-toggle {
    display: grid;
  }

  .admin-bar .sb-mobile-panel {
    top: 62px;
    max-height: calc(100dvh - 78px);
  }

  .sb-hero {
    padding: 36px 0 42px;
  }

  .sb-section {
    padding: 36px 0;
  }

  .sb-related__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sb-brand-stack__title {
    font-size: clamp(24px, 6.4vw, 30px);
  }

  .sb-brand-stack__rule b {
    letter-spacing: .22em;
  }

  /* Archive/tag/category listings stay two-up on phones (like the homepage
   * rows) instead of a single tall column. */
  .blog:not(.sb-front-page) .content,
  .archive .content,
  .search .content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 14px;
  }

  .blog:not(.sb-front-page) .content > .entry .entry-title,
  .archive .content > .entry .entry-title,
  .search .content > .entry .entry-title {
    font-size: 17px;
  }


  .sb-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .sb-welcome {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }

  .sb-feature {
    grid-template-columns: 1fr;
  }

  .sb-feature__body {
    padding: 22px 10px 10px;
  }

  .sb-newsletter-band__form {
    flex-direction: column;
  }

  .sb-newsletter-band__form button {
    width: 100%;
  }

  .sb-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sb-section-cta {
    align-self: flex-start;
  }

  .sb-grid--three {
    grid-template-columns: 1fr;
  }

  .author-box {
    flex-direction: column;
    gap: 14px;
  }

  .search-form {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  /* Stack subscribe + brand full-width, then Blog | More as a 2-col row,
   * matching the source footer's grid-template-areas. */
  .sb-footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "subscribe"
      "brand"
      "blog"
      "more";
    gap: 32px;
  }

  .sb-footer-col--subscribe {
    grid-area: subscribe;
  }

  .sb-footer-col--brand {
    grid-area: brand;
  }

  .sb-footer-col--blog {
    grid-area: blog;
  }

  .sb-footer-col--more {
    grid-area: more;
  }

  /* Stacked footer: On the Blog + More center like the Subscribe column. */
  .sb-footer-col--blog,
  .sb-footer-col--more {
    text-align: center;
  }

  .sb-footer-col--blog .sb-footer-head,
  .sb-footer-col--more .sb-footer-head {
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .archive-description {
    padding: 18px 18px 20px;
  }

  .archive-pagination {
    margin-top: 44px;
  }
}

/* Motion preferences */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .sb-card:hover .sb-card-img {
    transform: none;
  }

  .sb-section-cta:hover {
    transform: none;
  }
}

/* Print */

@media print {
  .site-header,
  .sb-mobile-panel,
  .site-footer,
  .footer-widgets,
  .sidebar,
  .adjacent-entry-pagination,
  .comment-respond {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .wrap,
  .entry-content {
    width: 100%;
    max-width: none;
  }
}


/* ===== Ported from Cooking Lane Blush (session 2026-07-11) ===== */

/* ---- Sidebar widget headers centered ---- */
.sidebar .widget-title,
.sidebar .widgettitle {
  text-align: center;
}

/* ---- Footer Subscribe column: stack + center header and button ---- */
.sb-footer-col--subscribe {
  text-align: center;
}
.sb-footer-col--subscribe .sb-footer-head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sb-footer-col--subscribe .sb-btn {
  display: inline-flex;
  justify-content: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.footer-widgets .sb-btn:hover,
.footer-widgets .sb-btn:focus-visible {
  text-decoration: none;
}

/* ---- Stacked sidebar (tablet/mobile): center every widget, incl. custom HTML ---- */
@media (max-width: 1024px) {
  .sidebar .widget,
  .sidebar .widget_custom_html {
    text-align: center;
  }
  .sidebar .widget img { margin-left: auto; margin-right: auto; }
  .sidebar .widget form { display: inline-block; }
}

/* ---- Explore grid (used by [sengerson_post_grid] + 404) ---- */
.sb-explore { margin-top: 48px; }
.sb-explore__grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .sb-explore__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sb-explore__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } }

/* ---- 404 ---- */
.sb-404 { text-align: center; padding: 24px 0 8px; }
.sb-404__title { margin: 8px 0 12px; }
.sb-404__text { max-width: 560px; margin: 0 auto 20px; }
.sb-404__search { max-width: 420px; margin: 0 auto; }

/* ---- Utility Bar as a real menu: render assigned menu like the fallback links ---- */
.sb-utility-nav ul.sb-utility-menu { display: contents; margin: 0; padding: 0; list-style: none; }
.sb-utility-nav ul.sb-utility-menu li { display: contents; }

/* ---- Comment author name: serif, ~80% of the "Comments" heading ---- */
.comment-list .comment-author {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  text-transform: none;
  margin: 0 0 2px;
}
.comment-list .comment-author .says {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink-soft);
}

/* ---- Comment date: plain text, never a link/underline ---- */
.comment-meta a,
.comment-time-link {
  color: inherit;
  text-decoration: none !important;
  pointer-events: none;
  cursor: default;
  border: 0;
  background: none;
}
.comment-list .comment-meta { margin: 0 0 10px; }

/* ---- Comment body: serif at reading size ---- */
.comment-content {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}
