:root {
  --bg: #fffaf5;
  --paper: #fffdfb;
  --text: #4a3a34;
  --muted: #7e6d67;
  --btn-hover: #8b6f5e;
  --line: rgba(118, 90, 77, 0.14);
  --berry: #f27b73;
  --berry-dark: #d45d5f;
  --gold: #f2c45b;
  --mint: #c8e6dc;
  --sky: #c4deee;
  --lilac: #d4c0eb;
  --peach: #ffbea0;
  --sand: #f4e0c3;
  --shadow: 0 16px 32px rgba(159, 116, 85, 0.12);
  --font-body: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --font-display: "Trebuchet MS", "Arial Rounded MT Bold", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(242, 196, 91, 0.10), transparent 26%),
    radial-gradient(circle at 85% 8%, rgba(242, 123, 115, 0.08), transparent 20%),
    linear-gradient(180deg, #fff9f3 0%, #fffdfb 34%, #fff7ef 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-confetti span {
  position: absolute;
  top: -30px;
  width: 10px;
  height: 18px;
  border-radius: 999px;
  opacity: 0.24;
  animation: pageDrift 14s linear infinite;
}

.page-confetti span:nth-child(1) { left: 4%; background: #ff9a7c; animation-delay: -2s; }
.page-confetti span:nth-child(2) { left: 11%; width: 8px; height: 8px; border-radius: 50%; background: #8ecfc6; animation-delay: -7s; }
.page-confetti span:nth-child(3) { left: 19%; background: #ffc657; animation-delay: -11s; }
.page-confetti span:nth-child(4) { left: 28%; width: 12px; height: 12px; border-radius: 50%; background: #9bcff2; animation-delay: -5s; }
.page-confetti span:nth-child(5) { left: 36%; background: #ffb28e; animation-delay: -9s; }
.page-confetti span:nth-child(6) { left: 45%; width: 7px; height: 12px; background: #91d6a7; animation-delay: -3s; }
.page-confetti span:nth-child(7) { left: 54%; background: #ff9a7c; animation-delay: -12s; }
.page-confetti span:nth-child(8) { left: 63%; width: 8px; height: 8px; border-radius: 50%; background: #8ecfc6; animation-delay: -1s; }
.page-confetti span:nth-child(9) { left: 72%; background: #ffc657; animation-delay: -8s; }
.page-confetti span:nth-child(10) { left: 81%; width: 12px; height: 12px; border-radius: 50%; background: #9bcff2; animation-delay: -6s; }
.page-confetti span:nth-child(11) { left: 89%; background: #ffb28e; animation-delay: -10s; }
.page-confetti span:nth-child(12) { left: 95%; width: 7px; height: 12px; background: #91d6a7; animation-delay: -4s; }

.site-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 18px auto 48px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 4px 6px;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo-image {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong,
h1,
h2,
h3 {
  font-family: var(--font-display);
}

.brand-text strong {
  font-size: 1.1rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.92rem;
}

.main-nav .menu,
.main-nav-list,
.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav {
  position: relative;
  z-index: 30;
}

.main-nav .menu > li,
.main-nav-list > li {
  position: relative;
  list-style: none;
}

.main-nav a,
.footer-nav a {
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  padding: 6px 0;
}

.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 360px;
  margin: 0;
  padding: 10px 26px 18px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  z-index: 50;
}


.main-nav .sub-menu li {
  list-style: none;
  position: relative;
}

.main-nav .sub-menu a {
  display: block;
  padding: 12px 0;
  white-space: nowrap;
  font-size: 1rem;
}

.main-nav .sub-menu .sub-menu {
  top: -18px;
  left: calc(100% + 2px);
}

.main-nav .sub-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18px;
  width: 18px;
}

.main-nav .menu-item-has-children > a {
  padding-right: 22px;
}

.main-nav .sub-menu .menu-item-has-children > a::after {
  content: "›";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(116, 91, 75, 0.8);
}

.main-nav .sub-menu > li + li {
  margin-top: 8px;
}

.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li.is-hovered > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu,
.main-nav-list > li:hover > .sub-menu,
.main-nav-list > li.is-hovered > .sub-menu,
.main-nav-list > li:focus-within > .sub-menu {
  display: block;
}

.main-nav .sub-menu li:hover > .sub-menu,
.main-nav .sub-menu li:focus-within > .sub-menu {
  display: block;
}

.main-nav a:hover,
.footer-nav a:hover {
  color: var(--berry-dark);
}

.header-social-area {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.header-social-area .header-widget {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.header-social-area .wp-block-social-links {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 0;
  padding: 0;
  list-style: none;
}

.header-social-area .wp-social-link {
  margin: 0;
  list-style: none;
}

.header-social-area .wp-social-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  background: #e60023;
  color: #fff;
  box-shadow: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.header-social-area .wp-social-link a:hover {
  background: #cc001f;
  color: #fff;
  transform: translateY(-1px);
}

.header-social-area .wp-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.header-social-area .wp-social-link-label {
  display: none;
}

.header-social-area .wp-social-link.wp-social-link-pinterest a,
.header-social-area .wp-social-link.wp-social-link-pinterest a:hover,
.header-social-area .wp-social-link.wp-social-link-pinterest a:focus {
  background: #e60023;
  color: #fff;
}

.header-social-area .wp-block-image,
.header-social-area .wp-block-buttons,
.header-social-area .wp-block-button,
.header-social-area p {
  margin: 0;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 800;
  border: 1.5px solid rgba(74, 58, 52, 0.35);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.button:hover,
.button-secondary:hover {
  background: var(--btn-hover);
  color: white;
  border-color: var(--text);
}

.button-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.bunting {
  display: flex;
  justify-content: space-between;
  gap: 0;
  padding: 0 10px;
  margin: 4px auto 16px;
  position: relative;
  z-index: 5;
}

.bunting::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(123, 99, 76, 0.45);
  border-radius: 999px;
}

.flag {
  position: relative;
  width: 0;
  height: 0;
  border-left: 23px solid transparent;
  border-right: 23px solid transparent;
  border-top: 48px solid var(--berry);
  filter: drop-shadow(0 8px 10px rgba(114, 67, 38, 0.15));
}

.flag-gold { border-top-color: var(--gold); }
.flag-mint { border-top-color: #84ccb0; }
.flag-sky { border-top-color: #92c9ef; }
.flag-lilac { border-top-color: var(--lilac); }
.flag-peach { border-top-color: var(--peach); }

.original-hero {
  padding: 0;
}

.logo-stage {
  display: grid;
  place-items: center;
  min-height: auto;
  margin-bottom: 0;
}

.hero-logo {
  width: min(736px, 70.4vw);
  max-width: 100%;
  display: block;
  margin-bottom: -28px;
  opacity: 1;
  filter: none;
}

.inner-hero {
  display: block;
  margin: 8px 0 28px;
  padding: 18px 8px 8px;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.inner-hero-logo {
  width: min(420px, 58vw);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.inner-hero-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 4.5vw, 3.4rem);
  line-height: 1.2;
  overflow-wrap: break-word;
}

.inner-hero-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 34px;
}

.chip-pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  color: var(--berry-dark);
  font-weight: 800;
}

.home-categories,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.seo-intro-section {
  margin-top: 0;
}

.guide-box {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.landing-hero-card {
  padding: 10px 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-copy {
  max-width: 1080px;
}

.landing-copy p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.97rem;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hub-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  justify-content: center;
}

.hub-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 160px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(74, 58, 52, 0.35);
  color: var(--text);
  font-weight: 800;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.hub-link-list a:hover {
  background: var(--btn-hover);
  color: white;
  border-color: var(--text);
}

.home-categories {
  margin-bottom: 48px;
  grid-template-columns: 0.9fr 1.1fr 0.9fr;
}

.home-category {
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
}

.home-category-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 28px 28px 22px;
}

.home-category h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
  white-space: nowrap;
}

.card-birthday h2 {
  font-size: clamp(1.75rem, 2.2vw, 2.25rem);
}

.card-recipes { background: linear-gradient(180deg, #fff1bd 0%, #fff5d6 100%); }
.card-birthday { background: linear-gradient(180deg, #ffc7a5 0%, #ffd3bb 100%); }
.card-diy { background: linear-gradient(180deg, #9fd8d4 0%, #b8e5df 100%); }

.category-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  margin-top: auto;
}

.category-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.category-image-fallback {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 232, 170, 0.7), transparent 22%),
    linear-gradient(135deg, #f0d8be, #f7eddc 45%, #f5d7c8 100%);
}

.section,
.content-shell,
.page-content-card {
  margin-top: 62px;
}

.page-content-card,
.content-shell,
.post-card,
.trust-strip,
.site-footer {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.page-content-card,
.content-shell,
.site-footer {
  padding: 34px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(242, 196, 91, 0.22);
  color: var(--berry-dark);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-heading h1,
.section-heading h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.1;
}

.section-heading p:last-child,
.archive-description,
.entry-meta,
.post-card-body p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.footer-note-area {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.footer-note-widget {
  margin: 0;
}

.footer-note-widget p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px 24px;
}

.content-hub-section .post-grid {
  margin-top: 12px;
}

.guide-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: 30px 34px;
  margin-top: 72px;
}

.guide-box > div {
  max-width: 860px;
}

.guide-box h2 {
  margin: 14px 0 12px;
}

.guide-box p {
  margin: 0;
}

.post-card {
  overflow: hidden;
}

.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.post-card-meta {
  color: var(--berry-dark);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

.post-card h3 {
  margin: 0;
  font-size: 1.6rem;
}

.post-card-body p {
  margin: 0;
}

.post-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 800;
  border: 1.5px solid rgba(74, 58, 52, 0.35);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.post-card:hover .post-card-cta {
  background: var(--btn-hover);
  color: white;
  border-color: var(--text);
}

/* ── Blog category filter ────────────────────────── */

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid var(--line);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.blog-filter-btn:hover {
  border-color: var(--berry);
  color: var(--berry-dark);
}

.blog-filter-btn.is-active {
  background: var(--berry);
  color: white;
  border-color: var(--berry);
}

.blog-category-section {
  margin-top: 36px;
}

.blog-category-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.blog-category-section.is-hidden {
  display: none;
}

/* ── Sidebar widgets ─────────────────────────────── */

.widget_recent_comments {
  display: none;
}

.widget {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 16px;
  color: var(--text);
}

.search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-form label {
  flex: 1;
  min-width: 0;
  display: flex;
}

.search-field {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  outline: none;
  transition: border-color 0.18s;
}

.search-field:focus {
  border-color: var(--berry);
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
  border: 1.5px solid rgba(74, 58, 52, 0.35);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  font-family: inherit;
}

.search-submit:hover {
  background: var(--btn-hover);
  color: white;
  border-color: var(--text);
}

/* Recent posts widget */
.widget_recent_entries ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget_recent_entries ul li {
  border-bottom: 1px solid var(--line);
}

.widget_recent_entries ul li:last-child {
  border-bottom: 0;
}

.widget_recent_entries ul li a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.widget_recent_entries ul li a:hover {
  color: var(--berry-dark);
}

/* ── Featured media ──────────────────────────────── */

.featured-media {
  position: relative;
  margin-bottom: 22px;
  border-radius: 26px;
  border: 1px solid rgba(118, 90, 77, 0.14);
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.featured-media-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 10px;
  max-width: calc(100% - 28px);
}

.featured-media-action,
.prose-content a.featured-media-action {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(74, 58, 52, 0.76);
  color: #fff7ef;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease, border-color 240ms ease;
}

.featured-media-action:hover,
.featured-media-action:focus-visible,
.prose-content a.featured-media-action:hover,
.prose-content a.featured-media-action:focus-visible {
  color: #fff7ef;
  border-color: rgba(255, 214, 163, 0.28);
  background: rgba(58, 41, 35, 0.88);
  outline: none;
}

.featured-media-action-share.is-copied {
  border-color: rgba(255, 214, 163, 0.32);
  background: rgba(242, 123, 115, 0.26);
}

.featured-media img {
  width: 100%;
  height: auto;
}

@media (hover: hover) and (pointer: fine) {
  .featured-media-interactive:hover,
  .featured-media-interactive:focus-within {
    transform: translateY(-2px);
    border-color: rgba(242, 123, 115, 0.18);
    box-shadow:
      0 16px 36px rgba(91, 62, 49, 0.18),
      0 0 0 1px rgba(242, 196, 91, 0.06);
  }

  .featured-media-interactive:hover .featured-media-action,
  .featured-media-interactive:focus-within .featured-media-action {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  }
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  margin-top: 28px;
}

.single-main {
  align-self: start;
}

.single-sidebar {
  /* stretches to full grid row height so .sidebar-sticky can scroll within it */
}

.sidebar-sticky {
  position: sticky;
  top: 24px;
  margin-top: 62px;
}

.sidebar-recent-posts {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  padding: 24px;
}

.sidebar-recent-posts h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.sidebar-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-post-list li {
  border-bottom: 1px solid var(--line);
}

.sidebar-post-list li:last-child {
  border-bottom: 0;
}

.sidebar-post-list a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.sidebar-post-list a:hover {
  color: var(--berry-dark);
}

.entry-content,
.prose-content {
  line-height: 1.8;
}

.entry-content a,
.prose-content a {
  color: #d59b39;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: none;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.entry-content a:hover,
.prose-content a:hover,
.entry-content a:focus-visible,
.prose-content a:focus-visible {
  color: var(--text);
  text-decoration-color: #d59b39;
}

.prose-content h2,
.prose-content h3,
.prose-content h4 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.prose-content ul,
.prose-content ol {
  padding-left: 1.3rem;
}

.sidebar-area {
  margin-top: 40px;
}

.site-footer {
  display: block;
  margin-top: 64px;
}

.site-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.wp-block-image img,
.entry-content img {
  border-radius: 22px;
  height: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.entry-content .wp-block-image {
  display: block !important;
  max-width: 660px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-content .wp-block-image img {
  width: 100%;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after  { transform: rotate(-45deg) translate(4px, -4px); }

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

@keyframes pageDrift {
  0% { transform: translate3d(0, -12px, 0) rotate(0deg) scale(1); }
  100% { transform: translate3d(22px, 120vh, 0) rotate(180deg) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .page-confetti { display: none; }
}

@media (max-width: 980px) {
  .trust-strip,
  .home-categories,
  .post-grid,
  .site-footer,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .content-shell,
  .page-content-card {
    margin-top: 36px;
  }

  .single-sidebar {
    display: none;
  }

  .topbar {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .topbar > .button-secondary {
    display: none;
  }

  .featured-media-overlay {
    top: 14px;
    right: 14px;
    gap: 8px;
  }

  .featured-media-action {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .header-social-area {
    margin-left: auto;
  }

  .main-nav {
    display: none;
    flex-basis: 100%;
    order: 10;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav .menu,
  .main-nav-list {
    flex-direction: column;
    gap: 0;
  }

  .main-nav > .menu > li,
  .main-nav-list > li {
    border-bottom: 1px solid var(--line);
  }

  .main-nav a {
    display: block;
    padding: 12px 4px;
  }

  .main-nav .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 6px 14px;
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
  }

  .main-nav .sub-menu .sub-menu {
    left: 0;
    top: 0;
    padding-left: 14px;
  }

  .inner-hero {
    text-align: center;
  }

  .guide-box {
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .content-shell,
  .page-content-card {
    margin-top: 24px;
  }

  .site-shell {
    width: min(100% - 20px, 1120px);
    margin-top: 12px;
  }

  .bunting {
    padding: 0 10px;
    margin-bottom: 26px;
  }

  .flag {
    border-left-width: 14px;
    border-right-width: 14px;
    border-top-width: 30px;
  }

  .brand-logo-wrap {
    width: 58px;
    height: 58px;
  }

  .brand-logo-image {
    width: 46px;
    height: 46px;
  }

  .hero-logo {
    width: min(100%, 640px);
  }

  .inner-hero-logo {
    width: min(100%, 320px);
    margin-bottom: 14px;
  }

  .category-image {
    height: 220px;
  }

  .page-content-card,
  .content-shell,
  .site-footer {
    padding: 22px;
  }

  .landing-actions,
  .hub-link-list {
    flex-direction: column;
  }

  .hub-link-list a {
    width: 100%;
    justify-content: center;
  }

  .guide-box {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }
}
