/*
Theme Name: PURPOSE-FULL Podcast
Theme URI: https://purposefullpod.com
Author: PURPOSE-FULL Studio
Description: A warm podcast magazine theme with demo importer and studio backend.
Version: 0.3.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: purposefull-podcast
*/

:root {
  --ink: #151111;
  --muted: #6f625d;
  --paper: #fff8ef;
  --line: #eadbd0;
  --coral: #f15649;
  --coral-dark: #d83c31;
  --copper: #b9783e;
  --gold: #d6a14d;
  --shadow: 0 18px 44px rgba(43, 28, 22, 0.14);
  --soft-shadow: 0 8px 22px rgba(43, 28, 22, 0.08);
  --gutter: clamp(18px, 4vw, 76px);
  --content-max: 1240px;
  --edge: max(var(--gutter), calc((100% - var(--content-max)) / 2));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: linear-gradient(90deg, #fffaf3 0%, #fff7ef 52%, #f6e5d6 100%);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: var(--content-max);
  min-height: 34px;
  margin: 0 auto;
  padding: 7px 20px;
  background: #0d0c0c;
  color: rgba(255,248,239,.85);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 0 0 14px 14px;
}
.announcement .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--content-max);
  min-height: 64px;
  margin: 12px auto 0;
  padding: 8px 10px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 243, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(43, 28, 22, .09);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { display: block; width: 44px; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { width: 44px !important; height: auto; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.05;
}
.brand-name small {
  display: block;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--copper);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}
.desktop-nav li { display: contents; }
.desktop-nav a {
  display: block;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  transition: color .15s ease, background .15s ease;
}
.desktop-nav li, .footer-menu li, .mobile-nav li { list-style: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  touch-action: manipulation;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.85);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.site.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  max-width: calc(100% - 20px);
  margin: 10px auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 243, .98);
  box-shadow: 0 10px 30px rgba(43, 28, 22, .09);
}
.mobile-nav ul { margin: 0; padding: 6px 14px 10px; }
.mobile-nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 800; }
.mobile-nav li:last-child a { border-bottom: 0; }
.site.nav-open .mobile-nav { display: block; }
@media (min-width: 761px) {
  .mobile-nav { display: none !important; }
}
.desktop-nav a:hover { color: var(--ink); background: rgba(241, 86, 73, .08); }
.desktop-nav .current-menu-item > a, .desktop-nav .current_page_item > a,
.mobile-nav .current-menu-item > a, .mobile-nav .current_page_item > a { color: #fff !important; background: var(--coral) !important; box-shadow: 0 4px 12px rgba(241, 86, 73, .35); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-form { display: flex; align-items: center; }
.search-input {
  width: 0;
  min-height: 42px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  opacity: 0;
  font: inherit;
  transition: width .25s ease, opacity .2s ease, padding .25s ease, margin .25s ease;
}
.search-form.search-open .search-input {
  width: 190px;
  margin-right: 8px;
  padding: 0 16px;
  border-color: var(--line);
  background: #fff;
  opacity: 1;
}
.search-input:focus { outline: none; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
}
.icon-btn:hover { background: #fff; }
.pf-push-btn { position: relative; }
.pf-push-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.pf-push-btn.is-on { border-color: var(--coral); color: var(--coral); }
.pf-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 9999;
  transform: translateX(-50%);
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 12px;
  background: #121010;
  color: #fff8ef;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 14px 34px rgba(21, 17, 17, .3);
  opacity: 0;
  transition: opacity .2s ease;
}
.pf-toast.show { opacity: 1; }
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .84rem;
  font-weight: 800;
  touch-action: manipulation;
}
.user-avatar, .account-avatar { display: block; border-radius: 999px; object-fit: cover; }
.user-chip { cursor: pointer; font-family: inherit; }
.user-menu { position: relative; }
.user-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 172px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 17, 17, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.user-menu:hover .user-menu-panel,
.user-menu:focus-within .user-menu-panel,
.user-menu.open .user-menu-panel { opacity: 1; visibility: visible; transform: none; }
.user-menu-panel a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 750;
}
.user-menu-panel a:hover { background: #fdf1e9; color: var(--coral); }

.button, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #fff;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 800;
  box-shadow: var(--soft-shadow);
  touch-action: manipulation;
}
.button.primary, .wp-block-button__link { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(241, 86, 73, .3); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.82); box-shadow: none; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(430px, 60vh, 620px);
  padding: clamp(38px, 5vw, 62px) var(--edge);
  border-bottom: 1px solid var(--line);
  background-position: center right;
  background-size: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,248,239,1) 0%, rgba(255,248,239,.98) 28%, rgba(255,248,239,.78) 42%, rgba(255,248,239,.14) 58%, rgba(255,248,239,0) 100%);
}
.hero-copy { position: relative; z-index: 1; max-width: 520px; }
.hero-logo { width: min(270px, 60vw); margin-bottom: 16px; }
.hero h1 { margin: 0 0 14px; max-width: 520px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 3.6vw, 3.6rem); line-height: 1.02; }
.hero p { max-width: 360px; color: var(--muted); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.section {
  padding: clamp(34px, 6vw, 72px) var(--edge);
  border-bottom: 1px solid var(--line);
}
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 3rem); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.eyebrow { margin: 0 0 10px; color: #2f7671; font-size: .78rem; font-weight: 850; text-transform: uppercase; }

.articles-layout { display: grid; grid-template-columns: minmax(320px, 1.08fr) minmax(340px, 1fr); gap: 22px; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.article-grid .card { min-height: 0; gap: 10px; padding: 16px; }
.article-grid .card .article-thumb { margin: -16px -16px 0; border-radius: 7px 7px 0 0; }
.article-grid .card .eyebrow { margin-bottom: 4px; font-size: .7rem; }
.article-grid .card h3 { margin-bottom: 2px; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.article-grid .card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .88rem;
}
.article-grid .card .meta { font-size: .78rem; }
.card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--soft-shadow);
}
.card.featured { padding: clamp(24px, 4vw, 38px); background: linear-gradient(135deg, rgba(255,248,239,.94), rgba(239,224,209,.72)), #fff; }
.card.featured h3 { font-size: clamp(2rem, 4vw, 4rem); line-height: .98; }
.card h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.15rem, 2vw, 1.55rem); }
.card p { color: var(--muted); line-height: 1.56; }
.meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .82rem; font-weight: 750; }
.article-thumb { display: block; overflow: hidden; margin: -20px -20px 0; border-radius: 8px 8px 0 0; background: #f4e4d6; }
.article-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card.featured .article-thumb { margin: calc(clamp(24px, 4vw, 38px) * -1) calc(clamp(24px, 4vw, 38px) * -1) 4px; }
.card.featured .article-thumb img { aspect-ratio: 1.85 / 1; }

.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr); }
.home-grid.band {
  background: linear-gradient(180deg, #1d1817 0%, #110f0f 100%);
}
.home-grid.band .section { border-bottom-color: rgba(255, 248, 239, .08); }
.home-grid.band .section-heading h2 { color: #fff8ef; }
.home-grid.band .section-heading a { color: var(--gold); }
.home-grid.band .section-heading a:hover { color: var(--coral); }
.home-grid.band article h3 { color: #fff8ef; }
.home-grid.band article p { color: rgba(255, 248, 239, .66); }
.home-grid.band .event-date { border-right-color: rgba(255, 248, 239, .16); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; box-shadow: var(--soft-shadow); }
.photo-thumb { aspect-ratio: 1.22 / 1; }
.event-card { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 13px; }
.event-date { display: grid; place-items: center; min-height: 72px; border-right: 1px solid var(--line); color: var(--coral); font-size: .82rem; font-weight: 900; text-align: center; text-transform: uppercase; }

.community-cta {
  background: linear-gradient(130deg, rgba(255,250,243,.92), rgba(244,222,205,.86)), #f7e8db;
}
.community-cta > div { max-width: 760px; }
.account-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.auth-layout { display: grid; grid-template-columns: repeat(2, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.auth-form, .account-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--soft-shadow);
}
.auth-form { display: grid; gap: 14px; }
.auth-form h2, .account-panel h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 3vw, 2.4rem); }
.auth-form label { display: grid; gap: 7px; color: var(--muted); font-size: .86rem; font-weight: 800; }
.auth-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.check-row { display: flex !important; grid-template-columns: none; align-items: center; gap: 9px; }
.hidden-field { position: absolute; left: -9999px; opacity: 0; }
.auth-blurb { margin: -6px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.auth-alt { margin: 2px 0 0; font-size: .86rem; }
.auth-alt a { color: var(--copper); font-weight: 700; }
.auth-alt a:hover { color: var(--coral); }
.notice-box {
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--coral-dark);
  font-weight: 800;
}
.notice-box.success { color: #2f7671; }
.account-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.account-profile { display: flex; align-items: center; gap: 16px; }
.account-profile p, .account-profile h2 { margin: 0 0 4px; }

.site-footer {
  position: relative;
  background: #0d0c0c;
  color: #fff8ef;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--copper));
}
.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr)) minmax(190px, 1.1fr);
  gap: clamp(34px, 5.5vw, 78px);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 66px) var(--edge) clamp(30px, 4vw, 46px);
}
.footer-brand > a { display: inline-block; }
.footer-logo-gold {
  display: block;
  width: min(200px, 52vw);
  height: auto;
  mix-blend-mode: lighten;
}
.footer-tagline { max-width: 300px; margin: 18px 0 22px; color: rgba(255, 248, 239, .72); line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin: 0; padding: 0; }
.footer-social li { list-style: none; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 248, 239, .28);
  border-radius: 50%;
  color: rgba(255, 248, 239, .85);
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.footer-social a:hover { color: var(--coral); border-color: var(--coral); transform: translateY(-2px); }
.footer-social-title { margin-top: 22px; }
.footer-title {
  margin: 4px 0 18px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.footer-title::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--coral);
}
.footer-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.footer-links li { list-style: none; }
.footer-links a { color: rgba(255, 248, 239, .8); font-size: .94rem; font-weight: 700; transition: color .15s ease; }
.footer-links a:hover { color: var(--coral); }
.chat-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--coral);
  animation: chat-pulse 2.2s ease-out infinite;
}
@keyframes chat-pulse {
  0% { box-shadow: 0 0 0 0 rgba(241, 86, 73, .45); }
  70% { box-shadow: 0 0 0 9px rgba(241, 86, 73, 0); }
  100% { box-shadow: 0 0 0 0 rgba(241, 86, 73, 0); }
}
.footer-menu { gap: 12px; }
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 20px var(--edge) 30px;
  border-top: 1px solid rgba(255, 248, 239, .1);
  color: rgba(255, 248, 239, .55);
  font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.footer-legal li { list-style: none; }
.footer-legal a { color: rgba(255, 248, 239, .55); transition: color .15s ease; }
.footer-legal a:hover { color: var(--coral); }
.footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 248, 239, .25);
  border-radius: 50%;
  color: rgba(255, 248, 239, .8);
  transition: color .15s ease, border-color .15s ease, transform .15s ease, background-color .15s ease;
}
.footer-top:hover { color: var(--coral); border-color: var(--coral); background: rgba(241, 86, 73, .12); transform: translateY(-2px); }
.footer-talk p { margin: 0 0 10px; color: rgba(255, 248, 239, .72); }
.footer-mail { color: var(--gold); font-weight: 700; word-break: break-word; }
.footer-mail:hover { color: var(--coral); }
.footer-pin { display: flex; align-items: center; gap: 7px; margin-top: 4px !important; color: rgba(255, 248, 239, .6) !important; font-size: .88rem; }
.footer-decor {
  position: absolute;
  top: clamp(18px, 3vw, 40px);
  right: clamp(16px, 5vw, 70px);
  width: min(230px, 22vw);
  height: auto;
  opacity: .9;
  mix-blend-mode: lighten;
  pointer-events: none;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
html { scroll-behavior: smooth; }

.footer-cta {
  position: relative;
  padding: clamp(42px, 6vw, 76px) var(--edge);
  background:
    linear-gradient(90deg, rgba(13, 12, 12, .95), rgba(13, 12, 12, .82) 46%, rgba(13, 12, 12, .92)),
    url("assets/images/footer-studio-scene.png") center bottom / cover no-repeat #0d0c0c;
}
.footer-cta::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--copper));
}
.footer-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 1px minmax(0, 1fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
}
.footer-cta-heading { margin: 0 0 14px; line-height: 1.08; }
.cta-line {
  display: block;
  color: #fff8ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}
.cta-brand {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cta-script {
  display: block;
  color: rgba(255, 248, 239, .92);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}
.footer-cta-text { max-width: 46ch; margin: 0; color: rgba(255, 248, 239, .75); line-height: 1.65; }
.footer-cta-divider { background: rgba(255, 248, 239, .16); }
.footer-cta-tagline {
  margin: 0 0 4px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.footer-cta-sub { max-width: 42ch; margin: 0 0 18px; color: rgba(255, 248, 239, .75); line-height: 1.65; }
.footer-cta-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.button.ghost {
  border: 1px solid rgba(255, 248, 239, .3);
  background: transparent;
  color: #fff8ef;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.button.ghost:hover { color: var(--coral); border-color: var(--coral); background: rgba(241, 86, 73, .08); }

.page-header { background: linear-gradient(90deg, rgba(255,248,239,.96), rgba(255,248,239,.76)), url("assets/images/banner-placeholder.jpg") center/cover; }
.page-content { max-width: 920px; margin: 0 auto; }

@media (max-width: 1100px) {
  .articles-layout, .home-grid, .account-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .footer-decor { display: none; }
  .footer-cta-inner { grid-template-columns: 1fr; }
  .footer-cta-divider { width: 100%; height: 1px; }
}
@media (max-width: 760px) {
  .announcement, .desktop-nav .optional { display: none; }
  .topbar { top: 8px; min-height: 60px; margin: 8px 10px 0; padding: 8px 8px 8px 12px; gap: 12px; border-radius: 16px; }
  .brand { gap: 0; }
  .brand img, .custom-logo { width: 40px !important; }
  .brand-name { display: none; }
  .desktop-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .search-form { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .button { min-height: 40px; padding: 0 12px; font-size: .8rem; }
  .user-chip { min-height: 40px; padding: 4px; }
  .user-chip span { display: none; }
  .user-avatar { width: 32px; height: 32px; }
  .hero { min-height: clamp(420px, 74svh, 560px); align-items: end; padding: 30px 16px 34px; background-position: 78% top; }
  .hero::before { background: linear-gradient(0deg, rgba(255,248,239,.99) 0%, rgba(255,248,239,.96) 42%, rgba(255,248,239,.42) 70%, rgba(255,248,239,.05) 100%); }
  .section { padding: 28px 16px; }
  .article-grid, .grid-3, .grid-4, .auth-layout { grid-template-columns: 1fr; }
  .account-panel, .account-profile { align-items: flex-start; }
  .account-panel { display: grid; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-logo-gold { width: min(160px, 44vw); }
}
