@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&display=swap');

:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --paper-deep: #ebe8df;
  --ink: #172421;
  --ink-soft: #52605b;
  --muted: #7d8781;
  --line: #deddd4;
  --accent: #ed6348;
  --accent-dark: #b44230;
  --green: #c8d3b7;
  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Inter, system-ui, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.wrap, .page-shell { width: min(calc(100% - 64px), var(--wrap)); margin-inline: auto; }
.page-shell { min-height: 52vh; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.skip-link:focus { position: fixed; z-index: 99; top: 12px; left: 12px; padding: 12px 16px; color: white; background: var(--ink); }
::selection { color: white; background: var(--accent-dark); }

/* Edição, marca e navegação */
.edition-bar { height: 34px; color: #f0eee7; background: var(--ink); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.edition-inner { width: min(calc(100% - 64px), var(--wrap)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.edition-inner b { color: #819087; margin-inline: 7px; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: 1px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgb(237 99 72 / 18%); }
.brand-row { min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header { background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-family: var(--display); font-size: 27px; font-weight: 700; letter-spacing: -.06em; }
.brand-copy strong span { color: var(--accent); }
.brand-copy small { margin-top: 7px; color: var(--muted); font-size: 9px; letter-spacing: .025em; }
.header-search { width: min(310px, 34vw); height: 42px; display: flex; border: 1px solid var(--line); border-radius: 3px; background: #f8f7f3; }
.header-search input { width: 100%; min-width: 0; padding: 0 13px; color: var(--ink); border: 0; outline: none; background: transparent; font-size: 12px; }
.header-search input::placeholder { color: #858e88; }
.header-search button { width: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.header-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.header-search:focus-within { border-color: var(--ink-soft); box-shadow: 0 0 0 2px rgb(23 36 33 / 8%); }
.nav-border { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.primary-nav { min-height: 46px; display: flex; justify-content: space-between; align-items: center; }
.nav-links { height: 46px; display: flex; align-items: center; gap: 30px; }
.nav-links a { position: relative; height: 100%; display: inline-flex; align-items: center; color: #414c47; font-size: 11px; font-weight: 600; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent-dark); }
.nav-links .nav-home { color: var(--ink); }
.nav-links .nav-home::before { content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--accent); }
.nav-edition { color: var(--muted); font-family: var(--display); font-size: 14px; font-style: italic; }
.nav-edition span { color: var(--accent); font-family: var(--sans); font-style: normal; }
.menu-toggle { display: none; }

/* Página inicial */
.home-hero { position: relative; min-height: 510px; margin-top: 31px; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); background: #eae9e1; }
.hero-copy { position: relative; z-index: 1; padding: 58px clamp(28px, 5vw, 72px) 56px clamp(30px, 5.2vw, 74px); display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { display: inline-flex; align-items: center; color: var(--accent-dark); font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.hero-copy .eyebrow { margin-bottom: 30px; }
.hero-date { margin: 0 0 14px; color: var(--ink-soft); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.hero-date span { margin-inline: 6px; color: var(--accent); }
.hero-copy h1 { max-width: 560px; margin: 0; font-family: var(--display); font-size: clamp(40px, 4.1vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: .99; }
.hero-summary { max-width: 460px; margin: 21px 0 23px; color: #59645f; font-size: 14px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 18px; }
.button { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 0 18px; border: 1px solid transparent; font-size: 11px; font-weight: 700; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.button span, .read-more span, .text-link span { color: var(--accent); font-size: 15px; transition: transform .2s ease; }
.button:hover, .text-link:hover { transform: translateY(-1px); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: #29413a; }
.reading-time { color: var(--muted); font-size: 10px; }
.demo-note { margin-top: auto; padding-top: 22px; color: #8a918c; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.hero-visual { position: relative; min-height: 510px; overflow: hidden; background: #c4c5b9; }
.hero-media { width: 100%; height: 100%; position: absolute !important; inset: 0; aspect-ratio: auto !important; }
.story-image { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(0deg, rgb(17 27 24 / 59%), transparent); pointer-events: none; }
.hero-index { position: absolute; z-index: 2; right: 22px; top: 21px; color: white; font-family: var(--display); font-size: 15px; }
.hero-index span { color: rgb(255 255 255 / 62%); }
.hero-photo-caption { position: absolute; z-index: 2; right: 28px; bottom: 24px; max-width: 270px; color: white; font-family: var(--display); font-size: 20px; font-style: italic; text-align: right; }
.media-category { position: absolute; z-index: 3; left: 15px; bottom: 15px; padding: 6px 9px; color: var(--ink); background: var(--paper); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-visual .media-category { display: none; }

.latest-section { padding: 82px 0 79px; }
.section-heading { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-heading h2 { margin: 0; font-family: var(--display); font-size: 37px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 11px; font-weight: 700; transition: transform .2s ease; }
.text-link:hover span { transform: translate(2px, -2px); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 43px; }
.story-card { min-width: 0; animation: reveal .55s both; animation-delay: calc(var(--card-order, 0) * 55ms); }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.story-media { position: relative; display: block; width: 100%; aspect-ratio: 1.62 / 1; overflow: hidden; background: var(--paper-deep); }
.story-media-link { display: block; }
.story-media-link:focus-visible, .story-card-title:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.story-image { position: absolute; inset: 0; transition: transform .55s cubic-bezier(.2,.65,.3,1); }
.story-card:hover .story-image { transform: scale(1.035); }
.story-card-copy { padding: 17px 1px 0; }
.story-meta { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; letter-spacing: .04em; }
.category-label { color: var(--accent-dark); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.story-card-copy h3 { max-width: 380px; margin: 0; font-family: var(--display); font-size: clamp(23px, 2vw, 27px); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; transition: color .2s ease; }
.story-card-title:hover h3 { color: var(--accent-dark); }
.story-card-copy p { margin: 11px 0 12px; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.read-more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 10px; font-weight: 700; }
.story-card:hover .read-more span { transform: translate(2px, -2px); }

/* Capas ilustrativas das notícias sem fotografia */
.story-art { position: absolute; inset: 0; overflow: hidden; isolation: isolate; background: #c8d3b7; }
.story-art::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(145deg, rgb(255 255 255 / 20%), transparent 62%); }
.art-sun { position: absolute; width: 27%; aspect-ratio: 1; top: 14%; right: 17%; border-radius: 50%; background: rgb(247 213 156 / 87%); filter: blur(.2px); }
.art-line { position: absolute; display: block; width: 140%; height: 46%; left: -13%; bottom: -14%; border: 1px solid rgb(23 36 33 / 22%); border-radius: 50% 50% 0 0; transform: rotate(-9deg); }
.art-line-two { bottom: -23%; left: 6%; border-color: rgb(23 36 33 / 17%); transform: rotate(7deg); }
.art-tile { position: absolute; left: 8%; top: 16%; color: rgb(23 36 33 / 19%); font-family: var(--display); font-size: clamp(66px, 10vw, 116px); font-weight: 600; line-height: 1; }
.art-technology { background: #b9cdd1; }
.art-technology .art-sun { width: 37%; right: 13%; top: 21%; background: #e4eee5; }
.art-technology .art-line { border-radius: 0; width: 54%; height: 125%; left: 47%; bottom: -50%; transform: rotate(38deg); border-color: rgb(23 36 33 / 19%); }
.art-technology .art-line-two { left: 28%; transform: rotate(38deg); }
.art-culture { background: #dfb6a3; }
.art-culture .art-sun { right: 31%; top: 17%; background: #f3d7bc; }
.art-culture .art-line { width: 76%; height: 100%; left: 14%; bottom: -46%; border-radius: 50% 50% 0 0; transform: rotate(22deg); border-color: rgb(107 50 39 / 34%); }
.art-culture .art-line-two { left: 44%; bottom: -39%; transform: rotate(-22deg); }
.art-economy { background: #d9cfac; }
.art-economy .art-sun { width: 22%; right: 17%; top: 17%; background: #f1e4be; }
.art-economy .art-line { width: 95%; height: 86%; left: 2%; bottom: -52%; border-radius: 0; transform: rotate(-27deg); border-color: rgb(92 74 37 / 26%); }
.art-economy .art-line-two { left: 38%; bottom: -34%; transform: rotate(14deg); }
.art-climate { background: #a9beb1; }
.art-climate .art-sun { width: 20%; right: 18%; top: 18%; background: #e9d89e; }
.art-climate .art-line { width: 58%; height: 125%; left: -10%; bottom: -54%; border-radius: 48%; transform: rotate(19deg); border-color: rgb(23 36 33 / 23%); }
.art-climate .art-line-two { left: 48%; bottom: -42%; transform: rotate(-17deg); }
.art-sports { background: #d2b4a1; }
.art-sports .art-sun { width: 35%; right: 30%; top: 24%; background: #eed1a5; }
.art-sports .art-line { width: 95%; height: 95%; left: 33%; bottom: -35%; border-color: rgb(98 47 41 / 31%); transform: rotate(-38deg); }
.art-sports .art-line-two { left: -31%; bottom: -48%; transform: rotate(33deg); }
.art-politics { background: #bdc5bd; }
.art-politics .art-sun { width: 31%; right: 35%; top: 18%; background: #e6e2d3; }
.art-politics .art-line { width: 60%; height: 130%; left: 27%; bottom: -65%; border-radius: 0; transform: rotate(0); border-color: rgb(23 36 33 / 19%); }
.art-politics .art-line-two { left: 37%; bottom: -65%; transform: rotate(0); }

.category-band { margin: 0 calc((min(100vw, var(--wrap)) - min(100vw, var(--wrap))) / 2); padding: 53px clamp(32px, 6vw, 83px); display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; color: #f3f1e9; background: var(--ink); }
.category-band-copy { max-width: 390px; }
.eyebrow-light { color: #efa28c; }
.category-band h2 { margin: 13px 0 12px; font-family: var(--display); font-size: clamp(35px, 3.4vw, 47px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.category-band p { margin: 0; color: #bac3bd; font-size: 12px; }
.category-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 0 23px; }
.category-pill { min-height: 58px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgb(255 255 255 / 18%); color: #f3f1e9; font-family: var(--display); font-size: 20px; transition: color .2s ease; }
.category-pill:hover { color: #efa28c; }
.category-pill > span { color: #94a19a; font-family: var(--sans); font-size: 9px; }
.category-pill b { margin-left: auto; color: var(--accent); font-family: var(--sans); font-size: 14px; font-weight: 400; }
.editor-pick { padding: 35px 0 44px; display: grid; grid-template-columns: 48px 1fr auto; gap: 21px; align-items: center; border-bottom: 1px solid var(--line); }
.editor-mark { color: var(--accent); font-family: var(--display); font-size: 24px; }
.editor-pick p { max-width: 690px; margin: 0; color: var(--ink-soft); font-family: var(--display); font-size: 17px; }
.editor-pick p strong { color: var(--ink); font-weight: 600; }
.editor-pick > a { color: var(--ink); font-size: 10px; font-weight: 700; }
.editor-pick > a span { color: var(--accent); padding-left: 6px; }

/* Matéria */
.article-page { padding: 28px 0 86px; display: grid; grid-template-columns: minmax(0, 790px) minmax(220px, 1fr); gap: clamp(42px, 7vw, 91px); align-items: start; }
.article-main { min-width: 0; }
.breadcrumbs { margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 10px; }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs > span:nth-child(2) { color: var(--accent); }
.article-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 13px; }
.demo-label { padding-left: 13px; border-left: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.article-title { max-width: 850px; margin: 0; font-family: var(--display); font-size: clamp(42px, 5.4vw, 66px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.article-deck { max-width: 720px; margin: 19px 0 20px; color: var(--ink-soft); font-family: var(--display); font-size: 21px; line-height: 1.35; }
.article-byline { margin: 23px 0 24px; display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); font-family: var(--display); font-size: 19px; }
.article-byline div { display: flex; flex-direction: column; gap: 2px; }
.article-byline strong { font-size: 10px; }
.article-byline div span { color: var(--muted); font-size: 9px; }
.article-byline b { color: var(--accent); padding-inline: 4px; }
.article-media { position: relative; display: block; width: 100%; aspect-ratio: 1.75 / 1; }
.article-media .story-art { position: absolute; }
.image-caption { margin: 7px 0 0; color: var(--muted); font-size: 9px; text-align: right; }
.article-prose { max-width: 660px; margin: 36px auto 0; }
.article-prose p { color: #35423d; font-family: var(--display); font-size: 18px; line-height: 1.74; }
.article-prose .article-disclaimer { margin: 0 0 24px; padding: 11px 15px; color: #58635d; border-left: 2px solid var(--accent); background: #eeece5; font-family: var(--sans); font-size: 10px; }
.article-prose .lead-paragraph { color: var(--ink); font-size: 22px; line-height: 1.5; }
.article-end { margin-top: 34px; display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.article-end .end-rule { height: 1px; flex: 1; background: var(--line); }
.article-end a { color: var(--accent-dark); font-size: 17px; }
.article-share { max-width: 660px; margin: 29px auto 0; padding: 16px 0; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-share > span:first-child { color: var(--muted); font-size: 10px; }
.copy-link { padding: 7px 10px; border: 1px solid var(--line); background: transparent; font-size: 10px; cursor: pointer; }
.copy-link span { color: var(--accent); margin-left: 5px; }
.copy-status { color: var(--accent-dark); font-size: 10px; }
.article-aside { padding-top: 83px; }
.aside-sticky { position: sticky; top: 25px; }
.aside-sticky > .eyebrow { margin-bottom: 10px; }
.aside-sticky > h2 { margin: 0 0 19px; font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.related-link { padding: 16px 0; display: grid; grid-template-columns: 25px 1fr 13px; gap: 10px; align-items: start; border-top: 1px solid var(--line); }
.related-number { color: var(--accent); font-family: var(--display); font-size: 14px; }
.related-link > span:nth-child(2) { display: flex; flex-direction: column; gap: 6px; }
.related-link small { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.related-link strong { font-family: var(--display); font-size: 17px; font-weight: 500; line-height: 1.17; }
.related-link > b { color: var(--accent); font-size: 12px; font-weight: 400; }
.related-link:hover strong { color: var(--accent-dark); }
.aside-all { margin-top: 15px; }

/* Categoria, busca e institucional */
.listing-page, .search-page, .about-page { padding: 29px 0 91px; }
.listing-intro { padding: 0 0 31px; }
.listing-intro .breadcrumbs, .about-title .breadcrumbs { margin-bottom: 29px; }
.listing-intro .eyebrow, .about-title .eyebrow { margin-bottom: 10px; }
.listing-intro h1, .about-title h1 { max-width: 810px; margin: 0; font-family: var(--display); font-size: clamp(48px, 7vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: .97; }
.listing-intro > p { max-width: 540px; margin: 14px 0 0; color: var(--ink-soft); font-family: var(--display); font-size: 19px; line-height: 1.35; }
.category-filter { padding: 15px 0; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-chip { min-height: 31px; padding: 5px 10px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 9px; transition: background .2s ease, color .2s ease; }
.filter-chip span { color: var(--muted); font-size: 8px; }
.filter-chip:hover, .filter-chip.is-active { color: white; border-color: var(--ink); background: var(--ink); }
.filter-chip.is-active span { color: #d4d8d2; }
.listing-count { padding: 18px 0; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.listing-grid { padding-top: 5px; }
.empty-state { grid-column: 1 / -1; padding: 58px 24px; border: 1px solid var(--line); text-align: center; }
.empty-state h2 { margin: 0; font-family: var(--display); font-size: 32px; font-weight: 500; }
.empty-state p { margin: 8px 0 21px; color: var(--ink-soft); font-size: 12px; }
.large-search { max-width: 800px; margin: 9px 0 26px; display: flex; gap: 8px; }
.large-search input { min-width: 0; flex: 1; height: 51px; padding: 0 15px; border: 1px solid var(--line); outline: none; background: #fbfaf6; }
.large-search input:focus { border-color: var(--ink-soft); box-shadow: 0 0 0 2px rgb(23 36 33 / 7%); }
.large-search .button { height: 51px; }
.search-page .listing-count { max-width: 800px; border-top: 1px solid var(--line); }
.search-page .story-grid { max-width: 1000px; }
.about-title h1 { max-width: 800px; }
.about-title .about-lead { max-width: 650px; margin: 18px 0 0; color: var(--ink-soft); font-family: var(--display); font-size: 22px; line-height: 1.45; }
.about-layout { margin-top: 46px; display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 85px); align-items: center; }
.about-poster { min-height: 360px; padding: 31px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; color: var(--paper); background: var(--ink); }
.about-poster img { width: 57px; height: 57px; }
.about-poster > span { font-family: var(--display); font-size: clamp(48px, 5vw, 68px); font-weight: 500; letter-spacing: -.06em; line-height: .86; }
.about-poster small { color: #afb9b1; font-size: 9px; letter-spacing: .11em; }
.about-copy .eyebrow { margin-bottom: 11px; }
.about-copy h2 { max-width: 460px; margin: 0; font-family: var(--display); font-size: 37px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.about-copy p { max-width: 510px; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.about-copy .button { margin-top: 8px; }
.about-principles { margin-top: 68px; padding-top: 25px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; border-top: 1px solid var(--line); }
.about-principles > div > span { color: var(--accent); font-family: var(--display); font-size: 18px; }
.about-principles h3 { margin: 8px 0 5px; font-family: var(--display); font-size: 23px; font-weight: 500; }
.about-principles p { max-width: 250px; margin: 0; color: var(--ink-soft); font-size: 11px; }

/* Rodapé */
.site-footer { color: #edf0e9; background: #13201d; }
.footer-grid { padding: 50px 0 42px; display: grid; grid-template-columns: 1.6fr .8fr .8fr .8fr; gap: 42px; }
.brand-footer .brand-copy strong { color: #f2f0e8; font-size: 23px; }
.brand-footer .brand-copy small { color: #aab4ad; }
.footer-about p { max-width: 300px; margin: 17px 0 0; color: #aab4ad; font-size: 10px; line-height: 1.7; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column h2 { margin: 0 0 8px; color: #efa28c; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.footer-column a { color: #c6cdc7; font-size: 10px; transition: color .2s ease; }
.footer-column a:hover { color: white; }
.footer-column a span { color: var(--accent); margin-left: 3px; }
.footer-bottom { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgb(255 255 255 / 15%); color: #9aa79f; font-size: 9px; }
.footer-bottom a { color: #e2e5de; }

@media (max-width: 960px) {
  .wrap, .page-shell { width: min(calc(100% - 44px), var(--wrap)); }
  .edition-inner { width: min(calc(100% - 44px), var(--wrap)); }
  .home-hero { min-height: 450px; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
  .hero-copy { padding: 43px 30px; }
  .hero-copy h1 { font-size: clamp(38px, 5vw, 52px); }
  .hero-visual { min-height: 450px; }
  .nav-links { gap: 21px; }
  .nav-links a { font-size: 10px; }
  .story-grid { column-gap: 18px; }
  .article-page { grid-template-columns: minmax(0, 1fr) 240px; gap: 35px; }
  .footer-grid { gap: 23px; }
}
@media (max-width: 700px) {
  .wrap, .page-shell { width: min(calc(100% - 36px), var(--wrap)); }
  .edition-inner { width: min(calc(100% - 36px), var(--wrap)); }
  .edition-bar { height: 30px; font-size: 8px; letter-spacing: .05em; }
  .edition-inner > span:last-child { font-size: 0; }
  .edition-inner > span:last-child::after { content: 'PR'; font-size: 8px; }
  .brand-row { min-height: 75px; gap: 12px; flex-wrap: wrap; padding-block: 14px; }
  .brand img { width: 37px; height: 37px; }
  .brand-copy strong { font-size: 24px; }
  .brand-copy small { font-size: 8px; }
  .menu-toggle { width: 38px; height: 38px; margin-left: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 16px; height: 1px; background: var(--ink); }
  .header-search { order: 3; width: 100%; height: 38px; }
  .header-search input { font-size: 11px; }
  .header-search button { width: 38px; flex-basis: 38px; }
  .nav-border { border-top: 0; }
  .primary-nav { min-height: 0; display: none; padding-block: 6px 13px; }
  .primary-nav.is-open { display: block; }
  .nav-links { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .nav-links a { min-height: 39px; border-top: 1px solid var(--line); font-size: 11px; }
  .nav-links .nav-home::before { inset: auto auto 7px 0; width: 18px; }
  .nav-edition { display: none; }
  .home-hero { margin-top: 17px; display: flex; flex-direction: column; }
  .hero-copy { min-height: 370px; padding: 30px 24px 23px; }
  .hero-copy .eyebrow { margin-bottom: 25px; }
  .hero-date { font-size: 10px; }
  .hero-copy h1 { max-width: 520px; font-size: clamp(40px, 10vw, 54px); }
  .hero-summary { margin: 15px 0 18px; font-size: 12px; }
  .hero-actions { gap: 13px; }
  .button { min-height: 42px; padding-inline: 14px; font-size: 10px; }
  .hero-visual { min-height: 290px; }
  .hero-photo-caption { right: 17px; bottom: 16px; font-size: 17px; }
  .hero-index { right: 15px; top: 15px; }
  .latest-section { padding: 57px 0; }
  .section-heading { margin-bottom: 22px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading > .text-link { font-size: 9px; gap: 5px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 31px 14px; }
  .story-media { aspect-ratio: 1.25 / 1; }
  .media-category { left: 9px; bottom: 9px; padding: 5px 7px; font-size: 8px; }
  .story-card-copy { padding-top: 12px; }
  .story-meta { flex-wrap: wrap; gap: 4px 8px; font-size: 8px; }
  .story-card-copy h3 { font-size: 22px; }
  .story-card-copy p { margin-block: 8px; font-size: 10px; }
  .read-more { font-size: 9px; }
  .category-band { padding: 34px 24px; grid-template-columns: 1fr; gap: 24px; }
  .category-band h2 { font-size: 40px; }
  .category-pills { gap: 0 13px; }
  .category-pill { min-height: 49px; gap: 7px; font-size: 17px; }
  .category-pill > span { font-size: 8px; }
  .editor-pick { grid-template-columns: 28px 1fr; gap: 10px; padding-block: 25px 31px; }
  .editor-pick p { font-size: 15px; }
  .editor-pick > a { grid-column: 2; }
  .article-page { padding-top: 21px; display: flex; flex-direction: column; gap: 36px; }
  .breadcrumbs { margin-bottom: 24px; font-size: 9px; }
  .article-title { font-size: clamp(41px, 11vw, 57px); }
  .article-deck { font-size: 18px; }
  .article-byline { margin-block: 19px; }
  .article-media { aspect-ratio: 1.28 / 1; }
  .article-prose { margin-top: 29px; }
  .article-prose p { font-size: 17px; }
  .article-prose .lead-paragraph { font-size: 20px; }
  .article-aside { width: 100%; padding-top: 0; }
  .aside-sticky { position: static; }
  .article-share { flex-wrap: wrap; }
  .listing-page, .search-page, .about-page { padding-top: 21px; }
  .listing-intro { padding-bottom: 25px; }
  .listing-intro .breadcrumbs, .about-title .breadcrumbs { margin-bottom: 24px; }
  .listing-intro h1, .about-title h1 { font-size: clamp(48px, 12vw, 66px); }
  .listing-intro > p { font-size: 17px; }
  .category-filter { gap: 6px; }
  .filter-chip { padding-inline: 8px; font-size: 8px; }
  .listing-count { font-size: 8px; }
  .large-search { gap: 6px; }
  .large-search input { height: 45px; padding-inline: 11px; font-size: 11px; }
  .large-search .button { min-height: 45px; height: 45px; gap: 7px; padding-inline: 10px; }
  .about-layout { margin-top: 31px; grid-template-columns: 1fr; gap: 28px; }
  .about-poster { min-height: 300px; }
  .about-poster > span { font-size: 62px; }
  .about-copy h2 { font-size: 34px; }
  .about-principles { margin-top: 46px; grid-template-columns: 1fr; gap: 22px; }
  .about-principles > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; }
  .about-principles > div > span { grid-row: 1 / span 2; }
  .about-principles h3 { margin: 0 0 4px; }
  .footer-grid { padding-block: 37px 30px; grid-template-columns: 1fr 1fr; gap: 29px 17px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about p { max-width: 360px; }
  .footer-bottom { padding-block: 12px; flex-wrap: wrap; justify-content: flex-start; gap: 4px 15px; font-size: 8px; }
  .footer-bottom span:nth-child(2) { width: 100%; order: 3; }
  .footer-bottom a { margin-left: auto; }
}
@media (max-width: 390px) {
  .wrap, .page-shell, .edition-inner { width: calc(100% - 28px); }
  .story-grid { grid-template-columns: 1fr; }
  .story-media { aspect-ratio: 1.65 / 1; }
  .story-card-copy h3 { font-size: 25px; }
  .story-card-copy p { font-size: 11px; }
  .section-heading { align-items: start; }
  .section-heading > .text-link { margin-top: 18px; }
  .large-search .button { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Conta, publicação editorial e tema claro/escuro */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #151b19;
  --paper-deep: #202925;
  --ink: #edf1eb;
  --ink-soft: #bbc5bd;
  --muted: #98a49b;
  --line: #35423b;
  --accent: #ff8068;
  --accent-dark: #ffa08e;
  --green: #303a30;
}
:root[data-theme="dark"] body,
:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .article-prose p,
:root[data-theme="dark"] .article-prose .lead-paragraph,
:root[data-theme="dark"] .story-card-copy h3,
:root[data-theme="dark"] .article-title,
:root[data-theme="dark"] .listing-intro h1,
:root[data-theme="dark"] .about-title h1,
:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .about-copy h2 { color: var(--ink); }
:root[data-theme="dark"] .header-search,
:root[data-theme="dark"] .large-search input,
:root[data-theme="dark"] input,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] select,
:root[data-theme="dark"] .account-card,
:root[data-theme="dark"] .settings-card,
:root[data-theme="dark"] .editor-form,
:root[data-theme="dark"] .admin-queue,
:root[data-theme="dark"] .admin-list,
:root[data-theme="dark"] .comment-card,
:root[data-theme="dark"] .admin-notice { color: var(--ink); border-color: var(--line); background: #1b2420; }
:root[data-theme="dark"] .home-hero,
:root[data-theme="dark"] .hero-copy,
:root[data-theme="dark"] .hero-visual,
:root[data-theme="dark"] .story-media,
:root[data-theme="dark"] .story-art,
:root[data-theme="dark"] .article-prose .article-disclaimer { background-color: var(--paper-deep); }
:root[data-theme="dark"] .hero-summary,
:root[data-theme="dark"] .article-deck,
:root[data-theme="dark"] .article-prose p,
:root[data-theme="dark"] .story-card-copy p,
:root[data-theme="dark"] .about-copy p,
:root[data-theme="dark"] .listing-intro > p { color: var(--ink-soft); }
:root[data-theme="dark"] .category-band { background: #202a25; }
:root[data-theme="dark"] .filter-chip:hover,
:root[data-theme="dark"] .filter-chip.is-active { color: #121816; background: var(--accent); border-color: var(--accent); }
:root[data-theme="dark"] .filter-chip.is-active span { color: #34302c; }
:root[data-theme="dark"] .button-outline,
:root[data-theme="dark"] .copy-link,
:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .menu-toggle { color: var(--ink); border-color: var(--line); background: transparent; }
:root[data-theme="dark"] .skip-link:focus { color: #111; background: #fff; }

:root[data-theme="dark"] .admin-notice { border-color: #69483e; background: #30231f; }
:root[data-theme="dark"] .admin-notice strong { color: #ffd0c2; }
:root[data-theme="dark"] .admin-notice span { color: #e5d7d1; }
:root[data-theme="dark"] .admin-notice a { color: #ffad98; }
:root[data-theme="dark"] .email-setup-note { color: #e0ebe4; border-color: #4b6255; border-left-color: #ff9b84; background: #24342c; }
:root[data-theme="dark"] .status-published { color: #c7f2d0; border-color: #3d7550; background: #193323; }
:root[data-theme="dark"] .status-draft { color: #ffe4b0; border-color: #80673a; background: #382e1d; }
:root[data-theme="dark"] .status-archived { color: #c7d0ca; border-color: #59675e; background: #252e29; }
:root[data-theme="dark"] .page-message { padding: 28px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 3px; background: #1b2420; }
:root[data-theme="dark"] .page-message p { color: var(--ink-soft); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .header-logout { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.theme-toggle span { margin-left: 4px; }
.nav-links .account-link { color: var(--accent-dark); }
.nav-links .header-logout { height: 30px; min-height: 30px; margin-left: 3px; padding-inline: 8px; border: 0; font-size: 10px; }
.nav-links a[hidden] { display: none; }

.news-tag { display: inline-flex; align-items: center; width: fit-content; margin: 0 5px 7px 0; padding: 4px 7px; color: #5d392d; border: 1px solid #e8b9a6; background: #f4e5da; font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.news-tag.urgent { color: #782c24; border-color: #d87a69; background: #f4d4cd; }
.tag-row { margin-top: 14px; }
.empty-hero { background: var(--paper-deep); }
.empty-visual { display: grid; place-items: center; }
.empty-illustration { width: min(48%, 260px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgb(23 36 33 / 28%); border-radius: 50%; color: var(--ink); font-family: var(--display); font-size: clamp(60px, 10vw, 112px); letter-spacing: -.1em; }
.empty-illustration i { position: absolute; width: 19%; aspect-ratio: 1; margin: -21% 0 0 21%; border-radius: 50%; background: var(--accent); opacity: .8; }
:root[data-theme="dark"] .empty-illustration { border-color: #627068; }
.text-button { padding: 7px 0; border: 0; color: var(--accent-dark); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }

.account-page, .settings-page, .admin-page { padding: 34px 0 90px; }
.account-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 450px); align-items: start; gap: clamp(36px, 7vw, 90px); }
.account-intro { padding-top: 25px; }
.account-intro .breadcrumbs { margin-bottom: 30px; }
.account-intro .eyebrow, .settings-section > .eyebrow { margin-bottom: 9px; }
.account-intro h1, .admin-heading h1 { max-width: 650px; margin: 0; font-family: var(--display); font-size: clamp(42px, 6vw, 66px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.account-intro p, .admin-heading p { max-width: 520px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.account-card, .settings-card, .editor-form, .admin-queue, .admin-list { padding: 25px; border: 1px solid var(--line); background: #fbfaf6; }
.account-card { box-shadow: 0 20px 55px rgb(23 36 33 / 7%); }
.auth-tabs { margin: -3px 0 20px; display: flex; gap: 5px; border-bottom: 1px solid var(--line); }
.auth-tabs button { padding: 10px 13px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font-size: 11px; cursor: pointer; }
.auth-tabs button.is-active { color: var(--ink); border-color: var(--accent); font-weight: 700; }
.account-card label, .settings-card label, .editor-form label { margin: 14px 0 6px; display: block; color: var(--ink); font-size: 10px; font-weight: 700; }
.account-card label span, .settings-card label span, .editor-form label span { color: var(--muted); font-weight: 400; }
.account-card input, .account-card select, .settings-card input:not([type="checkbox"]), .settings-card select, .editor-form input:not([type="checkbox"]), .editor-form select, .editor-form textarea, .comment-form textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: #fff; outline: 0; font: inherit; font-size: 12px; }
.account-card input:focus, .account-card select:focus, .settings-card input:focus, .settings-card select:focus, .editor-form input:focus, .editor-form textarea:focus, .comment-form textarea:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 2px rgb(237 99 72 / 12%); }
.account-card input:disabled, .settings-card input:disabled { opacity: .7; }
.privacy-note, .settings-footnote { color: var(--muted); font-size: 10px; line-height: 1.6; }
.full-button { width: 100%; margin-top: 17px; }
.account-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.button-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.form-message { margin: 12px 0 0; padding: 11px 13px; border: 1px solid #cbd5ce; border-left-width: 4px; border-radius: 3px; color: #24362c; background: #edf3ee; font-size: 12px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.form-message[hidden] { display: none; }
.form-message.success { color: #185b36; border-color: #a9cfb3; border-left-color: #36804c; background: #eaf5ec; }
.form-message.error { color: #81271e; border-color: #e0b2aa; border-left-color: #b13f32; background: #fff0ed; }
.form-message.info { color: #29443a; border-color: #bdcfc3; border-left-color: #547564; background: #edf3ef; }
:root[data-theme="dark"] .form-message.success { color: #c7f2d0; border-color: #3d7550; border-left-color: #6bc487; background: #193323; }
:root[data-theme="dark"] .form-message.error { color: #ffd2ca; border-color: #81483f; border-left-color: #ff8068; background: #3a211f; }
:root[data-theme="dark"] .form-message.info { color: #e0ebe4; border-color: #4b6255; border-left-color: #91b39d; background: #24342c; }
.form-message:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.settings-page .listing-intro, .admin-heading { margin-bottom: 24px; }
.settings-card { max-width: 760px; }
.settings-section { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.settings-section:last-of-type { border-bottom: 0; }
.check-row { display: flex !important; align-items: flex-start; gap: 11px; cursor: pointer; }
.check-row input { width: 16px; min-height: 16px; margin: 2px 0 0; accent-color: var(--accent-dark); }
.check-row span { display: flex; flex-direction: column; gap: 4px; }
.check-row strong { font-size: 11px; }
.check-row small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.5; }
.settings-card .form-row { justify-content: flex-start; }

.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.admin-heading h1 { font-size: clamp(38px, 5vw, 58px); }
.admin-heading .breadcrumbs { margin-bottom: 25px; }
.admin-notice { margin: 18px 0 28px; padding: 14px 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; border: 1px solid #e5c4b9; background: #f4eae4; font-size: 10px; }
.admin-notice strong { color: var(--accent-dark); }
.admin-notice span { color: var(--ink-soft); }
.admin-notice a { margin-left: auto; color: var(--accent-dark); font-weight: 700; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
.admin-main, .admin-aside { min-width: 0; display: grid; gap: 24px; }
.editor-form-heading { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.editor-form-heading h2, .admin-list h2, .admin-queue h2 { margin: 3px 0 0; font-family: var(--display); font-size: 27px; font-weight: 500; }
.editor-form textarea { min-height: 108px; resize: vertical; }
.editor-form #article-body { min-height: 240px; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row, .editor-actions, .moderation-actions { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.editor-actions { justify-content: flex-start; flex-wrap: wrap; }
.admin-list { padding: 20px; }
.admin-list .section-heading { margin-bottom: 14px; }
.admin-item { padding: 15px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.admin-item h3 { margin: 6px 0 2px; font-family: var(--display); font-size: 19px; font-weight: 500; }
.admin-item small { color: var(--muted); font-size: 9px; }
.status-chip { padding: 3px 6px; color: var(--ink-soft); border: 1px solid var(--line); font-size: 8px; text-transform: uppercase; }
.status-published { color: #287044; border-color: #8ab396; }
.status-draft { color: #8a6432; border-color: #d2b477; }
.status-archived { color: var(--muted); }
.admin-queue { padding: 19px; }
.moderation-item, .notification-item { padding: 14px 0; border-top: 1px solid var(--line); }
.moderation-item > small, .notification-item > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; }
.moderation-item > strong, .notification-item > strong { display: block; font-size: 11px; }
.moderation-item p { margin: 8px 0 10px; color: var(--ink-soft); font-size: 11px; line-height: 1.55; white-space: pre-wrap; }
.moderation-actions { justify-content: flex-start; }
.moderation-actions .button { min-height: 34px; padding-inline: 10px; font-size: 9px; }
.report-queue { border-top: 2px solid var(--accent); }
.notification-queue { border-top: 2px solid #718579; }
.notification-item .text-button { margin-top: 3px; }

.article-media { height: auto; aspect-ratio: 1.75 / 1; overflow: hidden; }
.article-media img, .article-media .story-art { width: 100%; height: 100%; object-fit: cover; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 25px 0; background: #111; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-source { padding-top: 13px; border-top: 1px solid var(--line); font-family: var(--sans) !important; font-size: 11px !important; }
.article-source a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-actions { margin: 26px 0; padding: 16px 0; display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.button-like { color: var(--ink); border-color: var(--line); background: transparent; cursor: pointer; }
.button-like.is-liked { color: white; border-color: var(--accent-dark); background: var(--accent-dark); }
.button-like span { margin-left: 5px; }
.comments-section { margin-top: 34px; }
.comments-section .section-heading h2 { font-size: 31px; }
.comment-form { margin-bottom: 24px; padding: 17px; border: 1px solid var(--line); background: var(--paper-deep); }
.comment-form label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 700; }
.comment-form textarea { min-height: 100px; background: var(--paper); resize: vertical; }
.comment-form .form-row { margin-top: 8px; }
.comment-form .form-row > span { color: var(--muted); font-size: 9px; }
.comments-list { display: grid; gap: 10px; }
.comment-card { padding: 15px 17px; border: 1px solid var(--line); background: #fbfaf6; }
.comment-heading { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.comment-heading strong { color: var(--ink); font-size: 10px; }
.comment-card p { margin: 10px 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.report-button { font-size: 9px; }
.signin-prompt { color: var(--ink-soft); font-size: 11px; }
.signin-prompt a { color: var(--accent-dark); font-weight: 700; }
.page-message { margin: 40px auto; max-width: 780px; }
.page-message h1 { font-family: var(--display); font-size: clamp(32px, 5vw, 52px); font-weight: 500; }

@media (max-width: 960px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notification-queue { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .header-tools { margin-left: auto; }
  .theme-toggle { height: 34px; min-height: 34px; padding-inline: 7px; font-size: 9px; }
  .brand-row { flex-wrap: nowrap; }
  .brand { min-width: 0; }
  .brand-copy strong { font-size: 21px; }
  .brand-copy small { font-size: 7px; }
  .account-page { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .account-intro { padding-top: 0; }
  .account-card { padding: 20px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-aside { grid-template-columns: 1fr; }
  .notification-queue { grid-column: auto; }
  .form-columns { grid-template-columns: 1fr; gap: 0; }
  .editor-form, .admin-queue, .settings-card { padding: 18px; }
  .admin-notice { align-items: flex-start; flex-direction: column; }
  .admin-notice a { margin-left: 0; }
  .editor-form-heading { align-items: flex-start; flex-direction: column; }
  .form-row { align-items: flex-start; flex-direction: column; }
  .comment-form .form-row { align-items: flex-start; }
}
@media (max-width: 390px) {
  .theme-toggle span { display: none; }
  .brand-copy strong { font-size: 19px; }
  .account-card { padding: 16px; }
  .admin-item { align-items: flex-start; flex-direction: column; }
}

.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media .story-image { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hero-visual:hover .hero-media .story-image { transform: scale(1.025); }
.story-media .story-image { width: 100%; height: 100%; object-fit: cover; }
.editor-preview { margin-top: 20px; padding: 18px; border: 1px dashed var(--accent-dark); background: var(--paper); }
.editor-preview[hidden] { display: none; }
.preview-label { margin-bottom: 12px; color: var(--accent-dark); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.preview-article h2 { margin: 12px 0; font-family: var(--display); font-size: clamp(27px, 4vw, 40px); font-weight: 500; line-height: 1.08; }
.preview-article > small { display: block; margin-top: 12px; color: var(--muted); }
:root[data-theme="dark"] .editor-preview { background: #151b19; }

.email-setup-note { padding: 12px; border: 1px solid var(--line); border-left: 3px solid var(--accent); color: var(--ink-soft); background: var(--paper-deep); font-size: 10px; line-height: 1.6; }
