:root {
    --charcoal: #15120e;
    --charcoal-2: #211a13;
    --cream: #f8f1e3;
    --cream-2: #fff9ed;
    --gold: #d6a84f;
    --gold-dark: #a97a29;
    --green: #1f6f54;
    --green-dark: #123f31;
    --red: #9e1b32;
    --blue: #2f6f8f;
    --brown: #5b3a24;
    --text: #241c15;
    --muted: #786a5a;
    --line: rgba(91, 58, 36, .17);
    --shadow: 0 18px 45px rgba(21, 18, 14, .12);
    --shadow-soft: 0 10px 28px rgba(21, 18, 14, .08);
    --radius: 22px;
    --radius-sm: 14px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(214, 168, 79, .18), transparent 34rem),
        linear-gradient(180deg, var(--cream-2), var(--cream));
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(91,58,36,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91,58,36,.028) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: .45;
    z-index: -1;
}

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

a:hover { color: var(--gold-dark); }

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.container.narrow { width: min(820px, calc(100% - 32px)); }

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

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    padding: 10px 14px;
    margin: 10px;
    z-index: 9999;
    background: var(--gold);
    color: var(--charcoal);
    border-radius: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(21, 18, 14, .96);
    backdrop-filter: blur(16px);
    color: var(--cream);
    border-bottom: 1px solid rgba(214, 168, 79, .24);
}

.header-inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.brand-symbol {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(214, 168, 79, .7);
    border-radius: 50%;
    color: var(--gold);
    font-size: 25px;
    box-shadow: inset 0 0 18px rgba(214, 168, 79, .14), 0 0 18px rgba(214, 168, 79, .08);
}

.brand-text strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.brand-text small {
    display: block;
    margin-top: 4px;
    color: rgba(248, 241, 227, .72);
    font-size: .72rem;
}

.custom-logo-link img { max-height: 58px; width: auto; }

.primary-navigation { justify-self: center; }

.main-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu li { position: relative; }

.main-menu a {
    display: inline-flex;
    padding: 12px 14px;
    border-radius: 999px;
    color: rgba(248, 241, 227, .92);
    font-weight: 650;
    font-size: .92rem;
}

.main-menu a:hover,
.main-menu .current-menu-item > a {
    background: rgba(214, 168, 79, .14);
    color: var(--gold);
}

.main-menu .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 230px;
    padding: 10px;
    margin: 0;
    list-style: none;
    background: rgba(21, 18, 14, .98);
    border: 1px solid rgba(214, 168, 79, .2);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
}

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

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

.search-toggle,
.nav-toggle {
    border: 0;
    color: var(--cream);
    background: transparent;
    cursor: pointer;
}

.search-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.search-toggle:hover { background: rgba(255,255,255,.08); }

.nav-toggle { display: none; }

.header-search {
    padding: 16px 0;
    background: rgba(21, 18, 14, .98);
    border-top: 1px solid rgba(214, 168, 79, .16);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form label { flex: 1; }

.search-field,
.fake-newsletter input,
.comment-form input,
.comment-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    background: rgba(255, 249, 237, .82);
    color: var(--text);
    outline: none;
}

.search-field:focus,
.fake-newsletter input:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: rgba(214, 168, 79, .72);
    box-shadow: 0 0 0 4px rgba(214, 168, 79, .16);
}

.search-submit,
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    color: var(--cream-2);
    background: var(--charcoal);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover,
.search-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    color: var(--cream-2);
}

.btn-small { min-height: 42px; padding: 10px 15px; font-size: .9rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #b47d25); color: #201609; }
.btn-green { background: linear-gradient(135deg, var(--green), #164b39); }
.btn-red { background: linear-gradient(135deg, var(--red), #6d1022); }
.btn-outline { background: transparent; color: var(--brown); border: 1px solid rgba(91,58,36,.28); }
.btn-outline:hover { background: rgba(214,168,79,.14); color: var(--brown); }
.btn.full { width: 100%; }

.hero-section {
    position: relative;
    overflow: hidden;
    color: var(--cream);
    background:
        radial-gradient(circle at 18% 35%, rgba(214, 168, 79, .3), transparent 18rem),
        radial-gradient(circle at 78% 42%, rgba(31, 111, 84, .45), transparent 24rem),
        linear-gradient(135deg, #18110b 0%, #1a2417 58%, #0e1814 100%);
    border-bottom: 1px solid rgba(214, 168, 79, .22);
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(214,168,79,.38) 1px, transparent 1.4px),
        linear-gradient(120deg, rgba(248,241,227,.06), transparent 40%);
    background-size: 70px 70px, auto;
    opacity: .35;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: center;
    gap: 48px;
    padding: 78px 0;
}

.section-kicker {
    margin: 0 0 10px;
    color: var(--gold);
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .77rem;
}

.hero-content h1,
.archive-hero h1,
.single-header h1,
.section-heading h2 {
    margin: 0;
    font-family: var(--serif);
    letter-spacing: -.05em;
    line-height: .96;
}

.hero-content h1 {
    max-width: 700px;
    font-size: clamp(3.1rem, 7vw, 6.4rem);
}

.hero-content p:not(.section-kicker) {
    max-width: 560px;
    margin: 20px 0 0;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: rgba(248, 241, 227, .86);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-visual {
    position: relative;
    min-height: 410px;
}

.candle-card {
    position: absolute;
    left: 8%;
    bottom: 8%;
    width: min(330px, 70vw);
    height: 300px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 18%, rgba(214,168,79,.38), transparent 8rem),
        linear-gradient(135deg, rgba(248,241,227,.14), rgba(31,111,84,.16));
    border: 1px solid rgba(214,168,79,.28);
    box-shadow: 0 25px 90px rgba(0,0,0,.28);
    backdrop-filter: blur(6px);
}

.flame {
    position: absolute;
    left: 50%;
    top: 45px;
    width: 34px;
    height: 62px;
    transform: translateX(-50%);
    background: radial-gradient(circle at 45% 75%, #fff2a6 0 14%, #ffb735 31%, #dc5f1f 64%, transparent 68%);
    border-radius: 50% 50% 45% 45%;
    filter: blur(.1px) drop-shadow(0 0 28px rgba(214,168,79,.85));
}

.candle {
    position: absolute;
    left: 50%;
    top: 104px;
    width: 96px;
    height: 132px;
    transform: translateX(-50%);
    border-radius: 18px 18px 12px 12px;
    background: linear-gradient(90deg, #d7c3a2, #fff6df 52%, #b99f78);
    box-shadow: inset -18px 0 28px rgba(91,58,36,.24), 0 30px 40px rgba(0,0,0,.24);
}

.leaves {
    position: absolute;
    width: 150px;
    height: 110px;
    border-radius: 60% 40% 55% 45%;
    background:
        radial-gradient(ellipse at 20% 50%, transparent 32%, rgba(248,241,227,.14) 33% 34%, transparent 35%),
        linear-gradient(135deg, #164b39, #2b8f67);
    opacity: .92;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.22));
}

.leaves-one { left: -40px; bottom: 42px; transform: rotate(-22deg); }
.leaves-two { right: -28px; bottom: 76px; transform: rotate(24deg) scale(.86); }

.sacred-mark {
    position: absolute;
    right: 8%;
    top: 18%;
    width: 270px;
    height: 270px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(214,168,79,.33);
    border-radius: 50%;
    color: rgba(214,168,79,.66);
    font-size: 7rem;
    box-shadow: inset 0 0 46px rgba(214,168,79,.08), 0 0 70px rgba(214,168,79,.09);
}

.section-pad { padding: 56px 0; }

.topic-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.topic-card,
.post-card,
.archive-card,
.card-soft,
.test-card,
.entry-content-wrap {
    background: rgba(255, 249, 237, .82);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.topic-card { transition: transform .2s ease, box-shadow .2s ease; }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.topic-media { display: block; height: 136px; overflow: hidden; }
.topic-image,
.post-card-image,
.archive-card-image,
.test-image,
.post-list-image,
.popular-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-orixa {
    display: grid;
    place-items: center;
    min-height: 100%;
    color: var(--gold);
    background:
        radial-gradient(circle at 30% 30%, rgba(214,168,79,.32), transparent 9rem),
        radial-gradient(circle at 70% 70%, rgba(31,111,84,.28), transparent 8rem),
        linear-gradient(135deg, #1d1510, #17382e);
}

.placeholder-orixa span {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(214,168,79,.4);
    border-radius: 50%;
    font-size: 2rem;
}

.topic-body { padding: 16px; }
.topic-body h2,
.post-card h3,
.post-list-item h3,
.archive-card h2,
.test-card h3,
.widget-title,
.footer-widget-title {
    margin: 0;
    font-family: var(--serif);
    letter-spacing: -.025em;
    line-height: 1.1;
}

.topic-body h2 { font-size: 1.45rem; }
.topic-body p { min-height: 52px; margin: 8px 0 12px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.text-link { color: var(--green); font-weight: 850; font-size: .92rem; }
.topic-red .text-link,
.topic-rose .text-link { color: var(--red); }
.topic-blue .text-link { color: var(--blue); }
.topic-brown .text-link { color: var(--brown); }

.editorial-layout { padding-top: 24px; }
.content-sidebar-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
    align-items: start;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 20px;
}

.section-heading h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); color: var(--charcoal); }
.section-heading > a { color: var(--brown); font-weight: 800; white-space: nowrap; }
.spaced-heading { margin-top: 46px; }

.post-card-grid { display: grid; gap: 18px; }
.three-cols { grid-template-columns: repeat(3, 1fr); }
.post-card-media { display: block; height: 174px; overflow: hidden; }
.post-card-body { padding: 18px; }
.post-card h3 { margin: 8px 0; font-size: 1.35rem; }
.post-card p { color: var(--muted); margin: 0 0 14px; font-size: .96rem; }
.post-meta-pill {
    display: inline-flex;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(214,168,79,.13);
    color: var(--brown);
    font-size: .72rem;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.test-card {
    position: relative;
    min-height: 260px;
    background: var(--charcoal);
}

.test-card a { display: block; height: 100%; color: var(--cream); }
.test-image { position: absolute; inset: 0; filter: brightness(.58) saturate(1.1); }
.test-overlay {
    position: relative;
    z-index: 2;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 20px;
    background: linear-gradient(180deg, transparent 10%, rgba(21,18,14,.82));
}

.test-overlay span { color: var(--gold); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.test-overlay h3 { margin-top: 4px; font-size: 1.45rem; }
.test-overlay p { margin: 8px 0 14px; color: rgba(248,241,227,.78); font-size: .92rem; }
.test-overlay strong { align-self: start; padding: 9px 12px; border-radius: 11px; background: rgba(214,168,79,.94); color: var(--charcoal); font-size: .85rem; }

.post-list {
    display: grid;
    gap: 14px;
}

.post-list-item {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 18px;
    padding: 14px;
    background: rgba(255,249,237,.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.post-list-media { display: block; height: 124px; border-radius: 14px; overflow: hidden; }
.post-list-body h3 { margin: 5px 0; font-size: 1.35rem; }
.post-list-body p { margin: 0; color: var(--muted); }
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 750;
}
.entry-meta span:not(:last-child)::after { content: '•'; margin-left: 8px; color: var(--gold-dark); }

.site-sidebar {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 18px;
}

.widget { padding: 20px; }
.widget-title { margin-bottom: 14px; font-size: 1.45rem; }
.widget ul,
.widget ol { padding-left: 0; margin: 0; list-style: none; }
.widget li + li { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.popular-list { counter-reset: item; }
.popular-list li { counter-increment: item; }
.popular-list li a {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
}
.popular-list li a::before {
    content: counter(item);
    font-family: var(--serif);
    color: var(--gold-dark);
    font-size: 1.5rem;
    grid-column: 1 / -1;
    display: none;
}
.popular-thumb { width: 64px; height: 50px; border-radius: 10px; object-fit: cover; }
.fake-newsletter { display: grid; gap: 10px; }
.widget small { color: var(--muted); font-size: .78rem; }

.archive-hero,
.single-header {
    position: relative;
    overflow: hidden;
    padding: 74px 0;
    color: var(--cream);
    background:
        radial-gradient(circle at 78% 18%, rgba(214,168,79,.21), transparent 20rem),
        linear-gradient(135deg, #17110d, #153628);
}
.archive-hero::after,
.single-header::after {
    content: '✺';
    position: absolute;
    right: clamp(20px, 8vw, 160px);
    top: 20px;
    font-size: 12rem;
    color: rgba(214,168,79,.09);
}
.archive-hero h1,
.single-header h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); }
.archive-hero p:not(.section-kicker),
.single-excerpt,
.archive-description { max-width: 760px; color: rgba(248,241,227,.82); font-size: 1.15rem; }
.archive-hero .search-form { margin-top: 24px; }

.archive-list { display: grid; gap: 22px; }
.archive-card { display: grid; grid-template-columns: 300px 1fr; }
.archive-card-media { min-height: 230px; overflow: hidden; }
.archive-card-body { padding: 24px; }
.archive-card h2 { margin: 8px 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.archive-card p { color: var(--muted); margin: 0 0 18px; }

.single-featured-wrap { margin-top: -36px; position: relative; z-index: 2; }
.single-featured {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(214,168,79,.28);
}
.single-layout { padding: 44px 0 64px; }
.entry-content-wrap { padding: clamp(22px, 4vw, 46px); }
.page-content-wrap { margin: 52px 0 70px; }
.entry-content {
    font-size: 1.08rem;
    color: #2c221a;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: var(--serif);
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--charcoal);
}
.entry-content h2 { margin-top: 1.9em; font-size: 2.3rem; }
.entry-content h3 { margin-top: 1.6em; font-size: 1.75rem; }
.entry-content a { color: var(--green); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content blockquote {
    margin: 28px 0;
    padding: 20px 22px;
    border-left: 5px solid var(--gold);
    background: rgba(214,168,79,.1);
    border-radius: 0 18px 18px 0;
    font-family: var(--serif);
    font-size: 1.3rem;
}
.entry-content img { border-radius: 20px; box-shadow: var(--shadow-soft); }
.article-callout {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(31,111,84,.1);
    border: 1px solid rgba(31,111,84,.18);
    color: var(--green-dark);
}
.tag-list { margin-top: 30px; color: var(--muted); }
.tag-list a { display: inline-flex; margin: 4px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.post-navigation-wrap { margin-top: 34px; }
.post-navigation { display: grid; gap: 12px; }
.nav-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.nav-previous,
.nav-next { padding: 16px; border: 1px solid var(--line); border-radius: 16px; }

.comments-area { margin-top: 34px; padding: 24px; }
.comment-list { padding-left: 22px; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 800; }
.form-submit .submit { border: 0; border-radius: 14px; background: var(--green); color: #fff; padding: 12px 18px; font-weight: 800; cursor: pointer; }

.pagination-wrap { margin-top: 26px; }
.page-numbers {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: rgba(255,249,237,.72);
    font-weight: 800;
}
.page-numbers.current { background: var(--charcoal); color: var(--cream); }

.empty-state { padding: 30px; }
.empty-state h2 { margin-top: 0; font-family: var(--serif); font-size: 2rem; }

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 56px 0 22px;
    color: var(--cream);
    background:
        radial-gradient(circle at 78% 12%, rgba(31,111,84,.35), transparent 22rem),
        linear-gradient(135deg, #11100d, #123328);
    border-top: 1px solid rgba(214,168,79,.22);
}
.site-footer::after {
    content: '';
    position: absolute;
    inset: auto -10% -30% auto;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(214,168,79,.13), transparent 60%);
    pointer-events: none;
}
.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.35fr .75fr 1fr 1fr;
    gap: 34px;
}
.footer-brand p,
.footer-widgets p,
.footer-quote span { color: rgba(248,241,227,.74); }
.footer-links h2,
.footer-widgets h2 { margin: 0 0 14px; font-family: var(--serif); }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li + li { margin-top: 8px; }
.footer-menu a { color: rgba(248,241,227,.78); }
.footer-quote p { margin: 0 0 12px; color: var(--gold); font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(248,241,227,.12);
    color: rgba(248,241,227,.68);
    font-size: .9rem;
}

@media (max-width: 1080px) {
    .header-inner { grid-template-columns: auto auto auto; justify-content: space-between; }
    .nav-toggle {
        display: inline-grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        place-items: center;
        padding: 10px;
        border-radius: 12px;
        border: 1px solid rgba(214,168,79,.2);
    }
    .nav-toggle span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; background: var(--cream); }
    .primary-navigation {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        padding: 16px;
        background: rgba(21,18,14,.98);
        border: 1px solid rgba(214,168,79,.22);
        border-radius: 18px;
        box-shadow: var(--shadow);
        display: none;
    }
    body.nav-open .primary-navigation { display: block; }
    .main-menu { display: grid; gap: 3px; }
    .main-menu a { display: flex; }
    .main-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding-left: 16px; }
    .header-actions .btn { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 330px; }
    .topic-grid { grid-template-columns: repeat(3, 1fr); }
    .content-sidebar-grid { grid-template-columns: 1fr; }
    .site-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
    .container { width: min(100% - 24px, 1180px); }
    .header-inner { min-height: 68px; gap: 10px; }
    .brand-symbol { width: 42px; height: 42px; }
    .brand-text strong { font-size: 1.55rem; }
    .brand-text small { display: none; }
    .hero-grid { min-height: auto; padding: 54px 0 40px; gap: 24px; }
    .hero-content h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
    .hero-actions { display: grid; }
    .hero-visual { min-height: 260px; }
    .candle-card { left: 0; right: 0; margin: auto; height: 250px; }
    .sacred-mark { width: 190px; height: 190px; right: 0; font-size: 5rem; }
    .section-pad { padding: 38px 0; }
    .topic-grid,
    .three-cols,
    .test-grid,
    .site-sidebar { grid-template-columns: 1fr; }
    .topic-card { display: grid; grid-template-columns: 120px 1fr; }
    .topic-media { height: 100%; min-height: 130px; }
    .topic-body p { min-height: auto; }
    .section-heading { align-items: start; }
    .section-heading h2 { font-size: 2.25rem; }
    .post-list-item,
    .archive-card { grid-template-columns: 1fr; }
    .post-list-media { height: 170px; }
    .archive-card-media { min-height: 190px; }
    .single-header,
    .archive-hero { padding: 52px 0; }
    .single-layout { padding-top: 28px; }
    .entry-content h2 { font-size: 1.9rem; }
    .article-callout { display: block; }
    .nav-links { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .search-form { display: grid; }
}

@media (max-width: 430px) {
    .brand-mark { min-width: auto; }
    .brand-text strong { font-size: 1.28rem; }
    .search-toggle { width: 36px; }
    .topic-card { grid-template-columns: 1fr; }
    .topic-media { height: 128px; }
}

/* === Correções v1.1: home estável, SEO e AdSense === */
.content-column {
    min-width: 0;
    width: 100%;
}

.content-sidebar-grid > * {
    min-width: 0;
}

.post-card-grid.three-cols,
.content-column .post-card-grid.three-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 22px;
    align-items: stretch;
    width: 100%;
}

.post-card-grid.three-cols > .post-card,
.post-card,
.topic-card,
.test-card,
.archive-card,
.post-list-item {
    min-width: 0;
    width: 100%;
}

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

.post-card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 176px;
    flex: 0 0 auto;
    background: var(--green-dark);
}

.post-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.post-card h3 a,
.topic-body h2 a,
.post-list-body h3 a,
.archive-card h2 a,
.popular-list li a span {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.post-card h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card .text-link {
    margin-top: auto;
}

.post-meta-pill {
    max-width: 148px;
}

.topic-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.topic-media {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 132px;
}

.test-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.test-card,
.test-overlay {
    min-height: 280px;
}

.post-list-item {
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
}

.popular-list li a {
    grid-template-columns: 70px minmax(0, 1fr);
}

.popular-thumb {
    width: 70px;
    height: 56px;
    flex: none;
}

.placeholder-orixa {
    min-height: 100%;
    background:
        radial-gradient(circle at 48% 45%, rgba(214,168,79,.25), transparent 4.6rem),
        radial-gradient(circle at 20% 10%, rgba(248,241,227,.12), transparent 7rem),
        linear-gradient(145deg, #302817, #173c2f 62%, #102820);
}

.placeholder-orixa span:empty::before {
    content: '✺';
}

.placeholder-orixa span {
    width: clamp(54px, 42%, 82px);
    height: auto;
    aspect-ratio: 1;
    font-size: clamp(1.4rem, 3vw, 2rem);
    background: rgba(21,18,14,.18);
    backdrop-filter: blur(2px);
}

.ad-wrap {
    margin: 28px auto;
    width: 100%;
}

.ad-wrap.container {
    max-width: var(--container);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.ad-slot {
    display: block;
    width: 100%;
    min-height: 90px;
    padding: 8px;
    overflow: visible;
    background: rgba(255, 249, 237, .55);
    border: 1px dashed rgba(91, 58, 36, .22);
    border-radius: 18px;
    box-shadow: none;
    text-align: center;
}

.ad-title {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ad-before-content-wrap,
.ad-after-content-wrap,
.ad-inarticle-wrap,
.ad-between-sections {
    margin: 28px 0;
}

.sidebar-ad-top,
.sidebar-ad-sticky {
    margin: 0;
}

.sidebar-ad-sticky {
    position: sticky;
    top: 98px;
}

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

.entry-content .ad-slot {
    margin: 0;
}

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

@media (max-width: 980px) {
    .post-card-grid.three-cols,
    .content-column .post-card-grid.three-cols,
    .test-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    .site-sidebar {
        align-items: start;
    }

    .sidebar-ad-sticky {
        position: static;
    }
}

@media (max-width: 700px) {
    .post-card-grid.three-cols,
    .content-column .post-card-grid.three-cols,
    .test-grid,
    .topic-grid {
        grid-template-columns: 1fr;
    }

    .post-card-media,
    .topic-media {
        min-height: 190px;
    }

    .post-list-item {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 12px;
    }

    .post-list-media {
        height: 96px;
    }

    .section-heading {
        flex-direction: column;
    }

    .ad-slot {
        min-height: 110px;
    }
}
