:root {
    --teal: #2BA79B;
    --teal-dark: #0E6B6E;
    --coral: #FF7F6E;
    --yellow: #FFC857;
    --cream: #FFF4E6;
    --paper: #FFFDF9;
    --soft: #F6FBFA;
    --text: #273B3F;
    --muted: #6E7F83;
    --line: rgba(14, 107, 110, .12);
    --shadow: 0 16px 50px rgba(14, 107, 110, .12);
    --shadow-soft: 0 10px 30px rgba(14, 107, 110, .08);
    --radius: 24px;
    --radius-sm: 16px;
    --transition: all .35s cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 90%; scroll-behavior: smooth; overflow-y: auto; }
body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fff 0%, #fffdf9 42%, #f8fffe 100%);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-y: auto;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: rgba(43, 167, 155, .10);
    border: 1px solid rgba(43, 167, 155, .18);
    padding: 7px 15px;
    border-radius: 999px;
}
.section-title {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--teal-dark);
    margin: 14px 0 12px;
    font-weight: 800;
}
.section-title span { color: var(--coral); }
.section-subtitle { max-width: 720px; color: var(--muted); font-size: 1.04rem; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--coral), #ff6a57); color: #fff; box-shadow: 0 12px 28px rgba(255, 127, 110, .28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(255, 127, 110, .36); }
.btn-secondary { background: rgba(255, 255, 255, .78); color: var(--teal-dark); border: 1px solid rgba(14, 107, 110, .13); }
.btn-secondary:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-soft); }

.loader { position: fixed; inset: 0; background: rgba(255, 253, 249, .94); z-index: 99999; display: grid; place-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s ease, visibility .28s ease; }
.loader.show { opacity: 1; visibility: visible; pointer-events: auto; }
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-card { display: grid; justify-items: center; gap: 12px; font-family: 'Quicksand', sans-serif; font-weight: 800; color: var(--teal-dark); font-size: 1.05rem; text-align: center; }
.loader-logo { width: 86px; height: 86px; border-radius: 28px; object-fit: cover; background: #fff; border: 1px solid rgba(14, 107, 110, .12); box-shadow: 0 18px 44px rgba(14, 107, 110, .16); animation: breathe 1.35s infinite ease-in-out; }
@keyframes breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.04); } }

.topbar { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color: #fff; font-weight: 800; font-size: .9rem; line-height: 1.35; text-align: center; padding: 9px 20px; overflow-wrap: anywhere; }
header { position: sticky; top: 0; z-index: 1000; background: #fff; backdrop-filter: blur(14px); border-bottom: 1px solid rgba(14, 107, 110, .08); }
header.scrolled { box-shadow: 0 10px 30px rgba(14, 107, 110, .08); }
.nav { min-height: 84px; padding-block: 6px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo-wrap { width: 58px; height: 58px; border-radius: 18px; background: #fff; box-shadow: none; border: 0; overflow: hidden; display: grid; place-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center; }
.brand-full .brand-logo-wrap { width: min(315px, 38vw); aspect-ratio: 575 / 180; height: auto; min-height: 70px; padding: 1px 2px; border-radius: 0; background: #fff; box-shadow: none; border: 0; }
.footer-logo .brand-logo-wrap { width: min(315px, 100%); aspect-ratio: 575 / 180; height: auto; min-height: 70px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: 'Quicksand', sans-serif; font-size: 1.55rem; font-weight: 800; color: var(--teal-dark); }
.brand-name .na { color: var(--coral); }
.brand-name.light { color: #fff; }
.brand-tag { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 900; margin-top: 4px; }
.brand-tag.light { color: rgba(255, 255, 255, .68); }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.menu a { display: inline-flex; padding: 8px 10px; border-radius: 999px; color: var(--text); font-weight: 800; font-size: 1rem; transition: var(--transition); }
.menu a:hover, .menu a.active { background: rgba(43, 167, 155, .10); color: var(--teal-dark); }
.menu .heart-link { color: var(--coral); }
.hamb { display: none; width: 42px; height: 42px; border: 0; background: rgba(43, 167, 155, .09); border-radius: 14px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.hamb span { width: 22px; height: 3px; border-radius: 10px; background: var(--teal-dark); transition: var(--transition); }
.hamb.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 5px); }
.hamb.open span:nth-child(2) { opacity: 0; }
.hamb.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -5px); }
.flash { position: fixed; top: 86px; right: 22px; z-index: 4000; max-width: min(420px, calc(100vw - 44px)); padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); font-weight: 800; }
.flash.success { background: #e9fbf7; color: var(--teal-dark); border: 1px solid rgba(43, 167, 155, .18); }
.flash.error { background: #fff0ed; color: #a43a2d; border: 1px solid rgba(255, 127, 110, .22); }

.ad-wrap { padding: 18px 0; }
.ad-slot { position: relative; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, var(--cream), #fff7ea); border: 2px dashed rgba(14, 107, 110, .18); border-radius: var(--radius-sm); color: #7a8586; font-weight: 900; font-size: .86rem; min-height: 96px; overflow: hidden; padding: 16px; }
.ad-slot::before { content: 'Publicidade'; position: absolute; top: 10px; right: 14px; font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; color: #9ca5a4; }
.ad-leaderboard { max-width: 970px; min-height: 100px; margin: 0 auto; }
.ad-sidebar { min-height: 250px; }
.ad-incontent { min-height: 280px; margin: 30px 0; }
.ad-note { font-size: .78rem; color: var(--muted); font-weight: 700; margin-top: 6px; text-align: center; }

.hero { position: relative; margin-top: 12px; padding: 0; }
.hero-carousel { height: 560px; position: relative; overflow: hidden; }
.hero-track { height: 100%; display: flex; transition: transform .85s cubic-bezier(.22, .61, .36, 1); }
.slide { min-width: 100%; height: 100%; position: relative; display: grid; align-items: center; isolation: isolate; }
.slide-bg { position: absolute; inset: 0; z-index: -2; background: var(--teal); overflow: hidden; }
.slide-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 18% 30%, rgba(255,255,255,.28), transparent 32%), radial-gradient(circle at 82% 25%, rgba(255,200,87,.28), transparent 30%), linear-gradient(135deg, rgba(14,107,110,.94), rgba(43,167,155,.88)); }
.slide:nth-child(2) .slide-bg::before { background: radial-gradient(circle at 24% 26%, rgba(255,255,255,.25), transparent 30%), linear-gradient(135deg, rgba(255,127,110,.92), rgba(255,200,87,.86)); }
.slide:nth-child(3) .slide-bg::before { background: radial-gradient(circle at 72% 20%, rgba(255,255,255,.25), transparent 28%), linear-gradient(135deg, rgba(43,167,155,.93), rgba(14,107,110,.88)); }
.slide:nth-child(4) .slide-bg::before { background: radial-gradient(circle at 22% 35%, rgba(255,200,87,.32), transparent 30%), linear-gradient(135deg, rgba(14,107,110,.95), rgba(255,127,110,.82)); }
.slide-inner { display: grid; grid-template-columns: 1.05fr .8fr; gap: 36px; align-items: center; color: #fff; }
.slide-copy { max-width: 610px; }
.slide-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(12px); padding: 7px 15px; border-radius: 999px; font-weight: 900; font-size: .78rem; margin-bottom: 15px; }
.slide h1 { font-family: 'Quicksand', sans-serif; font-size: clamp(1.95rem, 3.85vw, 3.35rem); line-height: 1.08; font-weight: 800; margin-bottom: 14px; text-shadow: 0 18px 38px rgba(0,0,0,.12); }
.slide p { font-size: 1.02rem; max-width: 560px; margin-bottom: 24px; opacity: .94; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.mascot-card { position: relative; width: min(330px, 84vw); border-radius: 34px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35); box-shadow: 0 24px 56px rgba(0,0,0,.14); backdrop-filter: blur(14px); padding: 22px; animation: float 5s ease-in-out infinite; }
.mascot-card img { border-radius: 28px; object-fit: cover; aspect-ratio: 1/1; object-position: center 13%; background: #fff; }
.float-icon { position: absolute; z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.24); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); font-size: 1.5rem; animation: float 6s ease-in-out infinite; }
.fi-1 { top: 38px; left: 8px; } .fi-2 { right: 10px; top: 92px; animation-delay: .8s; } .fi-3 { left: 50px; bottom: 36px; animation-delay: 1.2s; } .fi-4 { right: 60px; bottom: 18px; animation-delay: 1.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-btn { position: absolute; z-index: 6; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.18); color: #fff; font-size: 1.25rem; cursor: pointer; backdrop-filter: blur(12px); transition: var(--transition); }
.hero-btn:hover { background: rgba(255,255,255,.32); transform: translateY(-50%) scale(1.06); }
.hero-btn.prev { left: 24px; } .hero-btn.next { right: 24px; }
.dots { position: absolute; z-index: 7; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; }
.dot { width: 12px; height: 12px; border-radius: 999px; border: 2px solid rgba(255,255,255,.65); background: rgba(255,255,255,.28); cursor: pointer; transition: var(--transition); }
.dot.active { width: 38px; background: #fff; }

section { padding: 64px 0; }
section[id] { scroll-margin-top: 104px; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 34px; }
.category-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 18px; text-align: center; box-shadow: var(--shadow-soft); transition: var(--transition); }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-icon { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.75rem; }
.category-card h3 { font-family: 'Quicksand', sans-serif; font-size: 1rem; color: var(--teal-dark); line-height: 1.2; margin-bottom: 8px; }
.category-card p { font-size: .82rem; color: var(--muted); line-height: 1.45; }

.timeline { background: linear-gradient(180deg, var(--soft), #fff); }
.timeline-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.timeline-card { background: #fff; border-radius: 34px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.timeline-card img { border-radius: 28px; aspect-ratio: 1/1; object-fit: cover; object-position: center 13%; background: #fff; }
.steps { display: grid; gap: 14px; margin-top: 28px; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 8px 24px rgba(14,107,110,.06); transition: var(--transition); }
.step:hover { transform: translateX(6px); box-shadow: var(--shadow-soft); }
.step-num { height: 72px; width: 72px; border-radius: 22px; background: #fffdf9; border: 1px solid rgba(14,107,110,.10); box-shadow: 0 10px 24px rgba(14,107,110,.10); overflow: hidden; display: grid; place-items: center; padding: 3px; }
.step-num img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.step h3 { font-family: 'Quicksand', sans-serif; font-size: 1.08rem; color: var(--teal-dark); margin-bottom: 3px; }
.step p { font-size: .92rem; color: var(--muted); }

.layout { display: grid; grid-template-columns: 1fr 330px; gap: 34px; align-items: start; margin-top: 34px; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.post-grid-ad { grid-column: 1 / -1; width: 100%; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-soft); transition: var(--transition); position: relative; }
.post-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.post-img { height: 210px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); display: block; position: relative; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--teal-dark); font-weight: 900; font-size: .73rem; border-radius: 999px; padding: 6px 12px; }
.post-body { padding: 22px; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .78rem; font-weight: 800; margin-bottom: 10px; }
.post-body h3 { font-family: 'Quicksand', sans-serif; color: var(--text); font-size: 1.28rem; line-height: 1.22; margin-bottom: 10px; overflow-wrap: anywhere; }
.post-body p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.read-more { color: var(--coral); font-weight: 900; display: inline-flex; gap: 7px; align-items: center; }
.read-more:hover { color: var(--teal-dark); }
.sidebar { display: grid; gap: 22px; position: sticky; top: 98px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 24px; box-shadow: var(--shadow-soft); }
.widget h3 { font-family: 'Quicksand', sans-serif; color: var(--teal-dark); font-size: 1.18rem; margin-bottom: 15px; }
.newsletter { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color: #fff; }
.newsletter h3 { color: #fff; }
.newsletter p { opacity: .88; font-size: .91rem; margin-bottom: 16px; }
.form-row { display: grid; gap: 10px; }
.form-row input, .story-form input, .story-form textarea, .search-box input { width: 100%; border: 1px solid rgba(14,107,110,.14); border-radius: 15px; padding: 13px 14px; font-family: 'Nunito', sans-serif; outline: none; background: #fff; color: var(--text); }
.newsletter input { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.28); }
.newsletter input::placeholder { color: rgba(255,255,255,.72); }
.popular { display: grid; gap: 13px; }
.popular a { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(14,107,110,.08); }
.popular a:last-child { border-bottom: 0; padding-bottom: 0; }
.popular-thumb { width: 52px; height: 52px; border-radius: 16px; background: rgba(43,167,155,.12); display: grid; place-items: center; }
.popular strong { font-size: .9rem; line-height: 1.25; }
.popular small { font-size: .73rem; color: var(--muted); font-weight: 800; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags a { font-size: .79rem; font-weight: 900; border-radius: 999px; padding: 7px 12px; background: rgba(43,167,155,.09); color: var(--teal-dark); }
.tags a:hover { background: var(--teal); color: #fff; }

.story-box { background: linear-gradient(135deg, #fff, var(--cream)); border: 1px solid rgba(255,127,110,.16); border-radius: 34px; padding: 34px; display: grid; grid-template-columns: 1fr .9fr; gap: 32px; align-items: center; box-shadow: var(--shadow-soft); }
.story-card { background: #fff; border-radius: 28px; padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.story-form { display: grid; gap: 12px; }
.story-form label { font-weight: 900; color: var(--teal-dark); font-size: .84rem; }
.story-form textarea { min-height: 110px; resize: vertical; }
.checkline { display: flex; align-items: flex-start; gap: 10px; color: var(--text) !important; line-height: 1.35; }
.checkline input { width: auto; margin-top: 3px; }
.privacy-note { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.single-story { margin-top: 28px; }

.sponsored { background: #fff; }
.sponsored-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-soft); overflow: hidden; position: relative; transition: var(--transition); }
.s-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.s-img { height: 170px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); overflow: hidden; }
.s-img img { width: 100%; height: 100%; object-fit: cover; }
.s-body { padding: 22px; }
.s-badge { display: inline-flex; background: rgba(39,59,63,.75); color: #fff; border-radius: 999px; padding: 5px 10px; font-size: .66rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.s-body h3 { font-family: 'Quicksand', sans-serif; font-size: 1.1rem; margin-bottom: 8px; }
.s-body p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }

.page-hero { background: linear-gradient(135deg, var(--cream), #fff); padding: 44px 0; border-bottom: 1px solid var(--line); }
.page-hero .section-title { font-size: clamp(1.65rem, 2.9vw, 2.3rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .88rem; font-weight: 800; margin-bottom: 18px; }
.breadcrumbs a { color: var(--teal-dark); }
.search-box { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 640px; margin-top: 24px; }
.page-content { padding-top: 34px; }
.article-hero { background: linear-gradient(135deg, #fff, var(--cream)); padding: 44px 0; border-bottom: 1px solid var(--line); }
.article-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 38px; align-items: center; }
.article-grid > *, .article-layout > * { min-width: 0; }
.article h1 { font-family: 'Quicksand', sans-serif; font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.08; color: var(--teal-dark); margin: 14px 0; overflow-wrap: anywhere; }
.article-hero p { color: var(--muted); font-size: .92rem; max-width: 650px; }
.article-cover { width: 100%; max-height: min(520px, 58vh); aspect-ratio: 1.25 / 1; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; align-items: start; padding-top: 38px; padding-bottom: 58px; }
.article-body { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3.4vw, 36px); box-shadow: var(--shadow-soft); overflow-wrap: anywhere; overflow: visible; font-size: .95rem; }
.article-body p, .article-body li { color: #415357; margin-bottom: 16px; text-align: justify; hyphens: auto; }
.article-body h2, .article-body h3 { font-family: 'Quicksand', sans-serif; color: var(--teal-dark); margin: 24px 0 10px; line-height: 1.2; }
.article-body h2 { font-size: 1.45rem; }
.article-body h3 { font-size: 1.2rem; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body a { color: var(--coral); font-weight: 800; }
.article-body > * { max-width: 100%; }
.article-body figure { margin: 26px 0; position: static !important; overflow: visible !important; }
.article-body figcaption { color: var(--muted); font-size: .84rem; font-weight: 700; margin-top: 8px; text-align: center; }
.article-body img { display: block; width: auto; max-width: 100% !important; height: auto !important; max-height: min(720px, 82vh); margin: 22px auto; border-radius: 18px; object-fit: contain; position: static !important; inset: auto !important; float: none !important; }
.article-body figure img { margin: 0 auto; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-body blockquote { margin: 24px 0; padding: 18px 20px; border-left: 5px solid var(--coral); background: #fff8ed; border-radius: 0 18px 18px 0; color: #3e4d51; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.audio-memo { margin: 28px 0; border: 1px solid rgba(14,107,110,.14); border-radius: 24px; background: linear-gradient(135deg, #f6fbfa, #fff8ed); box-shadow: var(--shadow-soft); padding: 18px; }
.audio-memo figcaption { text-align: left; margin: 0 0 14px; color: var(--teal-dark); font-family: 'Quicksand', sans-serif; font-size: 1.04rem; font-weight: 800; }
.audio-memo-shell { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; align-items: center; }
.audio-play { width: 54px; height: 54px; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--coral), #ff6a57); color: #fff; font-weight: 900; cursor: pointer; box-shadow: 0 12px 26px rgba(255,127,110,.28); transition: var(--transition); }
.audio-play:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255,127,110,.36); }
.audio-wave-wrap { min-width: 0; display: grid; gap: 8px; }
.audio-wave { height: 54px; display: flex; align-items: center; gap: 5px; overflow: hidden; }
.audio-wave span { flex: 1 1 8px; max-width: 12px; min-width: 4px; border-radius: 999px; background: linear-gradient(180deg, var(--teal), var(--teal-dark)); opacity: .76; transform-origin: center; animation: audioIdle 2.2s ease-in-out infinite; animation-play-state: paused; }
.audio-wave span:nth-child(2n) { height: 34px; animation-delay: .12s; }
.audio-wave span:nth-child(3n) { height: 46px; animation-delay: .24s; }
.audio-wave span:nth-child(4n) { height: 24px; animation-delay: .36s; }
.audio-wave span:nth-child(5n) { height: 42px; animation-delay: .48s; }
.audio-wave span:nth-child(6n) { height: 30px; animation-delay: .6s; }
.audio-memo.is-playing .audio-wave span { animation-play-state: running; opacity: 1; }
@keyframes audioIdle { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.audio-memo audio { width: 100%; margin-top: 14px; display: block; }
.audio-caption { color: var(--muted); font-size: .82rem; font-weight: 800; margin: 0; text-align: left; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.article-body th { background: #eaf6f4; color: var(--teal-dark); font-weight: 900; }
.article-body td { background: #fff; }
.article-side { position: sticky; top: 98px; display: grid; gap: 22px; }
.affiliate-note { background: #fff8ed; border: 1px solid rgba(255,200,87,.38); color: #735515; border-radius: 18px; padding: 16px; font-weight: 800; margin-bottom: 22px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.gallery img { border-radius: 18px; aspect-ratio: 1 / .75; object-fit: cover; }
.article-tags { margin-top: 22px; }

footer { background: linear-gradient(135deg, var(--teal-dark), #073f42); color: #fff; padding: 58px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
.footer-mascot { display: inline-grid; width: 96px; height: 96px; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.footer-mascot img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.footer-brand p { color: rgba(255,255,255,.72); font-size: .93rem; margin-top: 14px; }
.footer-col h4 { font-family: 'Quicksand', sans-serif; margin-bottom: 15px; color: #fff; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: rgba(255,255,255,.58); font-size: .84rem; }
.back-top { position: fixed; right: 24px; bottom: 24px; width: 52px; height: 52px; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; font-size: 1.2rem; box-shadow: 0 14px 30px rgba(14,107,110,.24); cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; }
.back-top.show { opacity: 1; visibility: visible; }
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 9999; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 60px rgba(14,107,110,.18); padding: 18px; display: none; align-items: center; justify-content: space-between; gap: 16px; }
.cookie.show { display: flex; }
.cookie p { font-size: .9rem; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.animate { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.animate.in { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .layout, .article-layout { grid-template-columns: 1fr; }
    .sidebar, .article-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .slide-inner, .timeline-wrap, .story-box, .article-grid { grid-template-columns: 1fr; }
    .hero-carousel { height: auto; min-height: 640px; }
    .slide { padding: 48px 0; }
    .hero-visual { min-height: 320px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .nav { position: relative; padding-right: 70px; }
    .hamb { position: fixed; right: 24px; top: 21px; z-index: 3000; transform: none; display: flex !important; margin-left: 0; }
    .menu { position: fixed; top: 84px; left: 16px; right: 16px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 14px; display: none; flex-direction: column; align-items: stretch; }
    .menu.open { display: flex; }
    .menu a { justify-content: center; }
    .slide-copy { max-width: min(520px, calc(100vw - 48px)); }
    .slide h1 { font-size: clamp(1.85rem, 4.7vw, 2.85rem); }
}

@media (max-width: 780px) {
    .nav { min-height: 78px; }
    .nav { gap: 12px; }
    .brand-full .brand-logo-wrap { width: min(260px, 70vw); min-height: 62px; padding: 0; }
    .brand-name { font-size: 1.28rem; }
    .brand-tag { display: none; }
    .hero-btn { width: 44px; height: 44px; }
    .hero-btn.prev { left: 10px; }
    .hero-btn.next { right: 10px; }
    .slide h1 { font-size: clamp(1.85rem, 9vw, 2.75rem); }
    .slide p { font-size: .96rem; }
    .category-grid, .post-grid, .sponsored-grid, .sidebar, .article-side, .gallery { grid-template-columns: 1fr; }
    .search-box { grid-template-columns: 1fr; }
    .story-box { padding: 22px; border-radius: 26px; }
    .cookie { flex-direction: column; align-items: stretch; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    html, body { width: 100%; overflow-x: hidden; }
    .container { padding: 0 18px; }
    .topbar { font-size: .82rem; padding: 8px 14px; }
    .nav { gap: 8px; padding-right: 66px; }
    .hamb { position: fixed; top: 18px; right: 18px; transform: none; }
    .brand-full .brand-logo-wrap { width: min(245px, calc(100vw - 104px)); min-height: 58px; }
    section { padding: 46px 0; }
    .hero-carousel { min-height: 650px; }
    .slide-inner, .slide-copy { max-width: calc(100vw - 36px); overflow: hidden; }
    .slide h1 { max-width: 100%; font-size: clamp(1.7rem, 8vw, 2.35rem); overflow-wrap: break-word; }
    .slide p { max-width: 100%; overflow-wrap: break-word; }
    .mascot-card { padding: 18px; border-radius: 32px; }
    .mascot-card img { border-radius: 24px; }
    .float-icon { width: 44px; height: 44px; font-size: 1.2rem; }
    .article-cover { max-height: 360px; }
    .article-body { padding: 22px; border-radius: 22px; }
    .article-body img { max-height: none; }
}
