/* ============================================================
   PORTAL — style.css
   Sistema: Dark Editorial Premium
   Paleta: #bf282d (crimson) | #0a0a0a | #f0ece4 | #1a1a1a
   Tipo: Bebas Neue + DM Serif Display + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,800;1,9..40,300;1,9..40,400&display=swap');

/* --- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink);
    background: var(--base);
    overflow-x: hidden;
    max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

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

/* --- CSS Variables ----------------------------------------- */
:root {
    --crimson:    #bf282d;
    --crimson-dk: #9a1f23;
    --crimson-lt: #e0393f;
    --ink:        #1a1a1a;
    --ink-soft:   #3d3d3d;
    --parchment:  #ececec;
    --ash:        #e8e4dc;
    --white:      #ffffff;
    --void:       #0a0a0a;
    --void-2:     #111111;
    --void-3:     #161616;
    --muted:      #888888;
    --wire:       rgba(255,255,255,0.08);
    --wire-solid: #2a2a2a;

    --container: 1240px;
    --gap: 2rem;
    --radius: 0px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 296px;
    gap: 3rem;
    align-items: start;
    max-width: var(--container);
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

@media (max-width: 900px) {
    .page-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
        gap: 2rem;
    }
}

.page-content { min-width: 0; width: 100%; }

/* ============================================================
   PRE-HEADER
   ============================================================ */
.pre-header {
    background: var(--crimson);
    width: 100%;
}

.pre-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 50px;
}

.pre-header-datetime {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pre-header-datetime-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pre-header-datetime-item i {
    font-size: 0.6rem;
    color: #ffffff;
}

.pre-header-datetime-item span {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #ffffff;
}

.pre-header-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.pre-header-link {
    display: inline-flex;
    align-items: center;
    padding: 0 0.9rem;
    height: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease, background 0.2s ease;
    border-left: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
}

.pre-header-link:last-child { border-right: 1px solid rgba(255,255,255,0.15); }

.pre-header-link:hover {
    color: #ffffff;
    background: #981b1f;
}

.pre-header-link--cta {
    color: #ffffff;
    font-weight: 800;
}

.pre-header-link--cta:hover {
    background: #981b1f;
    color: #ffffff;
}

.pre-header-sep {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.2);
    margin: 0 0.1rem;
}

@media (max-width: 600px) {
    .pre-header-datetime { gap: 0.75rem; }
    .pre-header-datetime-item { font-size: 0.58rem; letter-spacing: 0.04em; text-transform: none; }
    .pre-header-datetime-item i { font-size: 0.52rem; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid #bbbbbb;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
}

.site-header-main { background: transparent; }

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 120px;
}

@media (max-width: 900px) {
    .pre-header-inner { padding: 0 1rem; height: 44px; }
    .pre-header-link { font-size: 0.58rem; padding: 0 0.55rem; height: 44px; }
    .header-inner { gap: 1rem; padding: 0 1rem; justify-content: space-between; height: 72px; }
    .site-logo { order: 1; }
    .search-trigger { order: 3; margin-left: auto; }
    .nav-toggle { order: 2; }
    .nav-toggle-label { display: none; }
}

.site-logo { flex-shrink: 0; }
.site-logo img { height: 46px; width: auto; }

/* === TOGGLE BUTTON (all breakpoints) === */
.site-nav { display: none; }

.nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: none;
    border: none;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    height: 20px;
    flex-shrink: 0;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--crimson);
    border-radius: 1px;
    transition: transform 0.3s var(--ease-out-expo), opacity 0.2s ease, width 0.3s ease;
    transform-origin: center;
}

/* X state */
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--crimson);
    line-height: 1;
}

/* Search trigger */
.search-trigger {
    background: none;
    border: none;
    color: var(--crimson);
    font-size: 1.05rem;
    padding: 0.4rem;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.search-trigger:hover { opacity: 0.7; }

/* === DRAWER MENU === */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.45);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    max-width: 88vw;
    height: 100%;
    background: #ffffff;
    z-index: 400;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.38s var(--ease-out-expo);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.drawer-panel.is-open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eeeeee;
    flex-shrink: 0;
}

.drawer-logo img {
    height: 36px;
    width: auto;
}

.drawer-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.1rem;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.drawer-close:hover { color: var(--crimson); }

.drawer-nav {
    flex: 1;
    padding: 1rem 0;
}

.drawer-nav-list { list-style: none; }

.drawer-nav-item { border-bottom: 1px solid #f2f2f2; }

.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: 0.04em;
    transition: color 0.18s ease, background 0.18s ease;
    text-transform: uppercase;
}

.drawer-nav-link:hover {
    color: var(--crimson);
    background: #fafafa;
}

.drawer-nav-arrow {
    font-size: 0.6rem;
    color: #cccccc;
    transition: transform 0.25s ease, color 0.2s ease;
    flex-shrink: 0;
}

.drawer-nav-item.is-expanded > .drawer-nav-link .drawer-nav-arrow {
    transform: rotate(180deg);
    color: var(--crimson);
}

.drawer-sub-list {
    background: #f9f9f9;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s var(--ease-out-expo);
}

.drawer-nav-item.is-expanded .drawer-sub-list {
    max-height: 600px;
}

.drawer-sub-link {
    display: block;
    padding: 0.7rem 1.5rem 0.7rem 2rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #444444;
    border-bottom: 1px solid #eeeeee;
    transition: color 0.18s ease, padding-left 0.18s ease;
}

.drawer-sub-link:last-child { border-bottom: none; }

.drawer-sub-link:hover {
    color: var(--crimson);
    padding-left: 2.25rem;
}

/* animate items on drawer open */
.drawer-panel.is-open .drawer-nav-item {
    animation: drawerItemIn 0.35s var(--ease-out-expo) both;
}

.drawer-panel.is-open .drawer-nav-item:nth-child(1)  { animation-delay: 0.05s; }
.drawer-panel.is-open .drawer-nav-item:nth-child(2)  { animation-delay: 0.08s; }
.drawer-panel.is-open .drawer-nav-item:nth-child(3)  { animation-delay: 0.11s; }
.drawer-panel.is-open .drawer-nav-item:nth-child(4)  { animation-delay: 0.14s; }
.drawer-panel.is-open .drawer-nav-item:nth-child(5)  { animation-delay: 0.17s; }
.drawer-panel.is-open .drawer-nav-item:nth-child(6)  { animation-delay: 0.20s; }
.drawer-panel.is-open .drawer-nav-item:nth-child(7)  { animation-delay: 0.23s; }
.drawer-panel.is-open .drawer-nav-item:nth-child(8)  { animation-delay: 0.26s; }

@keyframes drawerItemIn {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Legacy mobile-nav — hidden, replaced by drawer */
.mobile-nav { display: none !important; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(187,187,187,0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14vh;
}

.search-box {
    width: 100%;
    max-width: 720px;
    margin: 0 1.5rem;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border: 1px solid #686868;
    padding: 0 24px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #1a1a1a;
    padding: 1.1rem 0;
    background: transparent;
    font-style: normal;
}

.search-input::placeholder { color: #686868; font-style: normal; }

.search-submit {
    background: none;
    border: none;
    color: #686868;
    font-size: 1.1rem;
    padding: 0.5rem 0 0.5rem 0.75rem;
    transition: color 0.2s ease;
}

.search-submit:hover { color: var(--crimson); }

.search-close {
    position: absolute;
    top: calc(100% + 28px);
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: 1px solid #686868;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #686868;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, color 0.2s ease;
    border-radius: 50%;
}

.search-close:hover {
    border-color: var(--crimson);
    color: var(--crimson);
}

/* ============================================================
   BANNERS
   ============================================================ */
.banner-exclusivo {
    margin: 1.5rem auto 0;
    text-align: center;
    max-width: 970px;
    padding: 0 1rem;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 10px;
}

.banner-exclusivo img,
.banner-padrao img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.banner-exclusivo .banner-link {
    display: block;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.banner-padrao {
    margin: 2rem 0;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

.banner-link {
    display: inline-block;
    transition: opacity 0.25s ease;
}

.banner-link:hover { opacity: 0.88; }

.sidebar-banner {
    margin: 1.5rem 0;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

/* ============================================================
   POST CARD
   ============================================================ */
.post-card { display: block; }

.thumb-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo), filter 0.4s ease;
    filter: saturate(0.85);
}

.thumb-wrapper:hover img {
    transform: scale(1.05);
    filter: saturate(1);
}

.thumb-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(191,40,45,0.0);
    transition: background 0.4s ease;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.thumb-wrapper:hover::after { background: rgba(191,40,45,0.08); }

/* Scan line texture on hover */
.thumb-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.thumb-wrapper:hover::before { opacity: 1; }

.post-type-icon {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    width: 26px;
    height: 26px;
    background: var(--crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.55rem;
    z-index: 2;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.65rem;
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 400;
}

.post-meta .cat-link {
    color: var(--crimson);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    transition: color 0.2s ease;
}

.post-meta .cat-link:hover { color: var(--crimson-lt); }

.post-meta .sep { color: rgba(0,0,0,0.15); }

.post-title {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    transition: color 0.2s ease;
}

.post-card:hover .post-title { color: var(--crimson); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.breadcrumb-link { color: var(--muted); transition: color 0.2s ease; }
.breadcrumb-link:hover { color: var(--crimson); }
.breadcrumb-sep { color: rgba(0,0,0,0.2); font-size: 0.65rem; }
.breadcrumb-current { color: var(--ink); font-weight: 700; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin: 3rem 0;
}

.page-link, .page-current, .page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink);
    border: 1px solid #d8d4cc;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
}

.page-link:hover { background: var(--crimson); color: var(--white); border-color: var(--crimson); }

.page-current {
    background: var(--crimson);
    color: var(--white);
    border-color: var(--crimson);
}

.page-dots { border: none; color: var(--muted); min-width: auto; }
.page-prev, .page-next { font-size: 0.7rem; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.site-sidebar { position: sticky; top: 88px; }
.sidebar-block { margin-bottom: 1.5rem; }

/* heading fora do box — mesmo padrão de Destaques */
.site-sidebar > .section-heading {
    margin-bottom: 0.75rem;
}

/* Mais Lidas: altura alinhada ao slider visualmente */
.sidebar-mostread {
    margin-bottom: 0;
}

.sidebar-heading {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #d8d4cc;
    margin-bottom: 1.1rem;
}

.sidebar-heading::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 10px;
    background: var(--crimson);
    margin-right: 0.55rem;
    vertical-align: middle;
}

.sidebar-empty { font-size: 0.82rem; color: var(--muted); }

/* Most Read Premium */
/* ============================================================
   MAIS LIDAS — light theme premium
   ============================================================ */
.mr-premium .section-heading,
.ed-premium .section-heading { display: none; }

.mr-premium {
    background: #ebebeb;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.mr-premium::before { display: none; }

.mr-heading-wrap { display: none; }

.mr-title { display: none; }

/* Tabs */
.mr-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    justify-content: stretch;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.mr-tab {
    flex: 1;
    background: #dedede;
    border: none;
    border-right: 1px solid rgba(0,0,0,0.08);
    padding: 9px 4px;
    font-size: 0.6rem;
    font-weight: 800;
    color: rgba(26,26,26,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.2s ease, color 0.2s ease;
}

.mr-tab:last-child { border-right: none; }

.mr-tab:hover {
    background: #981b1f;
    color: #ffffff;
}

.mr-tab.tab-btn--active {
    background: var(--crimson);
    color: #ffffff;
}

.tab-panel { display: none; }
.tab-panel--active { display: block; }

/* List */
.mr-list { display: flex; flex-direction: column; gap: 0; padding: 8px; }
.mr-item { list-style: none; }

.mr-item-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 7px 8px;
    background: #f2f2f2;
    border-radius: 8px;
    margin-bottom: 5px;
    border: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.mr-item-inner:hover {
    background: var(--crimson);
}

.mr-item-inner:hover .mr-link {
    color: #ffffff;
}

.mr-item--top .mr-item-inner {
    background: #e4e4e4;
    border-left: 3px solid var(--crimson);
    border-radius: 8px;
}

.mr-item--top .mr-item-inner:hover {
    background: var(--crimson);
}

.mr-item--top .mr-link { font-size: 0.8rem; font-weight: 800; color: #1a1a1a; }
.mr-item--top .mr-item-inner:hover .mr-link { color: #ffffff; }

.mr-thumb-wrap { flex-shrink: 0; position: relative; width: 52px; height: 52px; }

.mr-thumb-wrap img {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    object-fit: cover;
    display: block;
    border: none;
}

.mr-item--top .mr-thumb-wrap { width: 56px; height: 56px; }
.mr-item--top .mr-thumb-wrap img { width: 56px; height: 56px; border-radius: 4px; }

.mr-thumb-placeholder {
    width: 52px;
    height: 52px;
    background: rgba(0,0,0,0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(26,26,26,0.25);
    font-size: 16px;
}

.mr-rank {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: rgba(0,0,0,0.35);
    color: #ffffff;
    font-size: 0.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 2px 0 4px 0;
    border: none;
}

.mr-item--top .mr-rank {
    background: var(--crimson);
    color: #ffffff;
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
}

.mr-crown {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--crimson);
    font-size: 10px;
    line-height: 1;
}

.mr-link {
    font-size: 0.73rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
    transition: color 0.2s ease;
    display: block;
}

.mr-item-inner:hover .mr-link { color: #ffffff; }

/* Editorias Premium */
.ed-premium {
    background: #ebebeb;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.ed-icon-wrap { display: none; }

.ed-title {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(26,26,26,0.4);
    text-align: center;
    margin: 0;
    padding: 10px 12px 8px;
    display: none;
}

.ed-list { display: flex; flex-direction: column; gap: 0; position: relative; padding: 8px; }
.ed-item { list-style: none; margin-bottom: 4px; }

.ed-row { display: flex; align-items: stretch; border-radius: 6px; overflow: hidden; }

.ed-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1a1a;
    background: #f2f2f2;
    border: none;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1.3;
    letter-spacing: 0.02em;
    border-radius: 8px;
    justify-content: flex-start;
}

.ed-item--has-sub .ed-link {
    border-radius: 8px 0 0 8px;
}

.ed-link-arrow {
    font-size: 0.5rem;
    color: rgba(26,26,26,0.3);
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ed-link:hover {
    background: var(--crimson);
    color: #ffffff;
}

.ed-link:hover .ed-link-arrow { color: rgba(255,255,255,0.7); transform: translateX(2px); }

.ed-toggle {
    flex-shrink: 0;
    width: 36px;
    background: var(--crimson);
    border: none;
    border-left: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background 0.2s ease;
}

.ed-toggle:hover { background: #981b1f; color: #ffffff; }
.ed-toggle i { transition: transform 0.25s ease; }
.ed-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.ed-toggle[aria-expanded="true"] { background: #981b1f; }

.ed-sub-list { display: flex; flex-direction: column; gap: 2px; margin-top: 3px; padding-left: 10px; }

.ed-sub-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    font-size: 0.73rem;
    font-weight: 600;
    color: #444444;
    text-decoration: none;
    background: #efefef;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.ed-sub-link:hover { color: #ffffff; background: var(--crimson); }

.ed-sub-bullet {
    font-size: 0.4rem;
    color: rgba(26,26,26,0.2);
    flex-shrink: 0;
}

/* Newsletter Premium */
.nl-premium {
    background: var(--void);
    padding: 26px 20px 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--crimson);
    border-radius: 10px;
}

.nl-icon-wrap {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 88px;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.nl-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.08em;
    margin: 0 0 14px;
    position: relative;
}

.nl-premium .nl-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}

.nl-premium .nl-avatar-wrap img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid rgba(191,40,45,0.4);
    filter: saturate(0.7);
}

.nl-desc {
    font-size: 12px;
    color: rgba(240,236,228,0.45);
    line-height: 1.65;
    margin: 0 0 18px;
    position: relative;
}

.nl-form { position: relative; display: flex; flex-direction: column; gap: 8px; }
.nl-field { width: 100%; }

.nl-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    padding: 10px 14px;
    font-size: 12px;
    color: rgba(240,236,228,0.85);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: inherit;
}

.nl-input::placeholder { color: rgba(240,236,228,0.25); }
.nl-input:focus { border-color: var(--crimson); background: rgba(255,255,255,0.07); }

.nl-terms-wrap { text-align: left; margin-top: 2px; }

.nl-terms-label {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    position: relative;
}

.nl-terms-check { position: absolute; opacity: 0; width: 0; height: 0; }

.nl-terms-custom {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.nl-terms-check:checked + .nl-terms-custom {
    background: var(--crimson);
    border-color: var(--crimson);
}

.nl-terms-check:checked + .nl-terms-custom::after {
    content: '';
    display: block;
    width: 8px;
    height: 4px;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
}

.nl-terms-text { font-size: 11px; color: rgba(240,236,228,0.35); line-height: 1.4; }
.nl-terms-link { color: rgba(240,236,228,0.6); text-decoration: underline; text-underline-offset: 2px; }
.nl-terms-link:hover { color: var(--parchment); }
.nl-terms-error { font-size: 10px; color: var(--crimson-lt); margin: 4px 0 0 23px; }

.nl-btn {
    width: 100%;
    background: var(--crimson);
    color: #ffffff;
    border: none;
    padding: 11px 16px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: inherit;
    margin-top: 4px;
}

.nl-btn:hover { background: var(--crimson-dk); transform: translateY(-1px); }
.nl-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

#newsletter-feedback-box {
    margin-bottom: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

.nl-feedback-inner {
    padding: 12px 14px 9px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    line-height: 1.45;
}

.nl-feedback-inner.nl--ok    { color: #7fffc4; }
.nl-feedback-inner.nl--dup   { color: #ffd980; }
.nl-feedback-inner.nl--error { color: var(--crimson-lt); }

.nl-countdown-bar-wrap { height: 2px; background: rgba(255,255,255,0.08); }
.nl-countdown-bar { height: 2px; background: var(--crimson); width: 100%; transform-origin: left; }

/* Newsletter (generic) */
.newsletter-desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.form-field { display: flex; flex-direction: column; }

.form-input {
    border: 1px solid #d8d4cc;
    padding: 0.6rem 0.75rem;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus { border-color: var(--crimson); }
.newsletter-btn { width: 100%; }
.newsletter-feedback { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-block;
    background: var(--crimson);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.75rem;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--crimson-dk);
    color: var(--white);
    transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--void);
    color: var(--parchment);
    margin-top: 5rem;
    border-top: 2px solid var(--crimson);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--container);
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
}

@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-logo img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }

.footer-about {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: rgba(240,236,228,0.28);
    line-height: 1.8;
    max-width: 26ch;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    color: var(--crimson);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-list { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-link {
    font-size: 0.82rem;
    color: #ffffff;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-link:hover { color: var(--crimson); }

.footer-social { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.82rem;
    color: #ffffff;
    transition: color 0.2s ease;
}

.footer-social-link i { width: 14px; text-align: center; }
.footer-social-link:hover { color: var(--crimson); }

.footer-bottom { background: var(--void-2); padding: 1.1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.04); }

.footer-bottom-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy { font-size: 0.7rem; color: rgba(240,236,228,0.2); letter-spacing: 0.04em; }

.footer-borda {
    font-size: 0.7rem;
    color: rgba(240,236,228,0.2);
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-borda:hover { color: rgba(240,236,228,0.55); }
.footer-borda strong { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 42px;
    height: 42px;
    background: var(--crimson);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 300;
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--crimson-dk); }

/* ============================================================
   COOKIE NOTICE
   ============================================================ */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--void);
    color: var(--parchment);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    z-index: 400;
    flex-wrap: wrap;
    border-top: 1px solid var(--crimson);
}

.cookie-text { font-size: 0.82rem; color: rgba(240,236,228,0.6); }
.cookie-link { color: var(--crimson); text-decoration: underline; }

.cookie-accept {
    background: var(--crimson);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.25rem;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.cookie-accept:hover { background: var(--crimson-dk); }

/* ============================================================
   STATIC PAGE
   ============================================================ */
.static-page__title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--ink);
}

.static-page__body h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 2rem 0 0.6rem;
    color: var(--ink);
    letter-spacing: 0.01em;
}

.static-page__body p { margin-bottom: 1rem; color: var(--ink); line-height: 1.75; }
.static-page__body a { color: var(--crimson); text-decoration: underline; transition: color 0.2s ease; }
.static-page__body a:hover { color: var(--crimson-dk); }
.static-page__updated { margin-top: 2rem; font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   AUTHOR PROFILE
   ============================================================ */
.author-profile {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 700px) {
    .author-profile { grid-template-columns: 1fr; }
    .author-profile__photo { max-width: 200px; }
}

.author-profile__photo img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; filter: saturate(0.8); }

.author-profile__name {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--ink);
}

.author-profile__bio {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
}

.author-profile__social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid #d8d4cc;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink);
    transition: all 0.2s ease;
    letter-spacing: 0.04em;
}

.social-link:hover { background: var(--crimson); color: var(--white); border-color: var(--crimson); }

/* ============================================================
   ANUNCIE FORM
   ============================================================ */
.anuncie-page__title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ink);
}

.anuncie-page__intro { font-size: 0.92rem; line-height: 1.75; color: var(--muted); margin-bottom: 2.5rem; max-width: 680px; }
.anuncie-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }

@media (max-width: 600px) { .form-row--2 { grid-template-columns: 1fr; } }

.form-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.form-label span { color: var(--muted); }

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%231a1a1a' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

.form-textarea { resize: vertical; min-height: 120px; }
.anuncie-form__submit { align-self: flex-start; }

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-box {
    background: var(--white);
    max-width: 480px;
    width: 100%;
    padding: 3rem 2.5rem;
    text-align: center;
    border-top: 3px solid var(--crimson);
}

.modal-icon { font-size: 2.5rem; color: var(--crimson); margin-bottom: 1.25rem; }
.modal-title { font-family: 'DM Serif Display', serif; font-size: 1.5rem; font-weight: 400; margin-bottom: 0.75rem; color: var(--ink); }
.modal-text { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; line-height: 1.65; }
.modal-redirect { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.modal-redirect strong { color: var(--ink); }

/* ============================================================
   LISTING
   ============================================================ */
.listing-header { margin-bottom: 2.5rem; }

.listing-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
}

.listing-desc {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 680px;
    line-height: 1.7;
}

.listing-empty { font-size: 0.9rem; color: var(--muted); padding: 2rem 0; }

/* ============================================================
   POST GRID
   ============================================================ */
.post-grid { display: grid; gap: 2.5rem; }
.post-grid--2 { grid-template-columns: 1fr 1fr; }

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

.post-card__thumb-link { display: block; }
.post-card__body { margin-top: 0.75rem; }

.thumb-placeholder { aspect-ratio: 16/9; background: var(--ash); }

/* Post list (busca) */
.post-list { display: flex; flex-direction: column; gap: 1.75rem; }

.post-list-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.25rem;
    align-items: start;
}

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

.post-list-item__thumb { display: block; flex-shrink: 0; }
.post-list-item__body  { padding-top: 0.15rem; }
.busca-fallback { margin-top: 2rem; }

.busca-fallback__heading {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.listing-title em { font-style: italic; color: var(--muted); }

/* ============================================================
   POST SINGLE
   ============================================================ */
.post-single { max-width: 100%; width: 100%; min-width: 0; }

.post-single__title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.post-single__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
}

.post-single__author-meta { color: var(--muted); }

.post-single__thumb {
    margin: 0 0 2rem;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 10px;
}

.post-single__thumb img { width: 100%; height: 100%; object-fit: cover; }

.post-single__internal-img { margin: 0 0 2rem; position: relative; display: inline-block; width: 100%; }
.post-single__internal-img img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* Lightbox expand button */
.img-expand-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: var(--crimson);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.img-expand-btn:hover { background: var(--crimson-dk); transform: scale(1.08); }

/* Lightbox overlay */
.img-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.92);
    z-index: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    cursor: zoom-out;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.img-lightbox img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 64px rgba(0,0,0,0.6);
    cursor: default;
    margin: 0 !important;
}

.img-lightbox__caption {
    margin-top: 0.85rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.04em;
    text-align: center;
}

.img-lightbox__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.img-lightbox__close:hover { background: var(--crimson); color: #fff; border-color: var(--crimson); }

.post-single__img-caption {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 5px 12px 5px 10px;
    background: var(--parchment);
    border-left: 2px solid var(--crimson);
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.post-single__content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--ink);
}

.post-single__content h2 { font-family: 'DM Serif Display', serif; font-size: 1.4rem; font-weight: 400; margin: 2.25rem 0 0.75rem; color: var(--ink); }
.post-single__content h3 { font-size: 1.05rem; font-weight: 800; margin: 1.5rem 0 0.5rem; letter-spacing: 0.01em; }
.post-single__content p  { margin-bottom: 1.35rem; }

.post-single__content img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto !important;
    margin: 1.75rem 0;
    border-radius: 10px;
}

.post-single__content iframe { max-width: 100%; width: 100%; aspect-ratio: 16/9; height: auto; }
.post-single__content table { width: 100%; overflow-x: auto; display: block; }

.post-single__content a {
    color: var(--crimson);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.post-single__content a:hover { color: var(--crimson-dk); }

/* ============================================================
   SHARE
   ============================================================ */
.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ash);
    flex-wrap: wrap;
}

.post-share__label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.post-share__list { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--ink);
    color: var(--white);
    border: none;
    font-size: 0.82rem;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.share-btn:hover { background: var(--crimson); transform: translateY(-2px); }

/* ============================================================
   AUTHOR BLOCK
   ============================================================ */
.author-block {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--parchment);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    border-left: 3px solid var(--crimson);
    border-radius: 10px;
}

@media (max-width: 600px) {
    .author-block { flex-direction: column; }
    .author-block__photo { width: 60px; height: 60px; }
}

.author-block__photo {
    width: 76px;
    height: 76px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 0;
    filter: saturate(0.75);
}

.author-block__name { font-size: 0.9rem; font-weight: 800; color: var(--ink); margin-bottom: 0.35rem; letter-spacing: 0.02em; }
.author-block__bio { font-size: 0.82rem; color: var(--muted); line-height: 1.65; margin-bottom: 0.75rem; }
.author-block__social { display: flex; gap: 0.4rem; }

.author-block__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--ink);
    color: var(--white);
    font-size: 0.7rem;
    transition: background 0.2s ease;
}

.author-block__social a:hover { background: var(--crimson); }

/* ============================================================
   RELATED POSTS CAROUSEL
   ============================================================ */
.related-posts { margin-top: 3rem; max-width: 100%; overflow: hidden; }

.related-posts__heading {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--ash);
    margin-bottom: 1.5rem;
}

.related-posts__heading::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 10px;
    background: var(--crimson);
    margin-right: 0.55rem;
    vertical-align: middle;
}

.related-carousel { position: relative; overflow: hidden; width: 100%; }

.related-carousel__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s var(--ease-in-out-quart);
    width: 100%;
}

.related-card { flex: 0 0 calc(33.333% - 1rem); max-width: calc(33.333% - 1rem); min-width: 0; }

@media (max-width: 900px) {
    .related-card { flex-basis: calc(50% - 0.75rem); max-width: calc(50% - 0.75rem); }
    .carousel-btn--prev { left: 0; }
    .carousel-btn--next { right: 0; }
}

@media (max-width: 600px) {
    .related-card { flex-basis: 100%; max-width: 100%; }
    .carousel-btn { display: none; }
}

.related-card__thumb-link { display: block; margin-bottom: 0.75rem; border-radius: 10px; overflow: hidden; }

.related-card__title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.related-card__title a { transition: color 0.2s ease; }
.related-card__title a:hover { color: var(--crimson); }

.related-card__cta {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--crimson);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.related-card__cta:hover { gap: 0.55rem; }

.carousel-btn {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--parchment);
    border: 1px solid #d8d4cc;
    color: var(--ink);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.carousel-btn:hover:not(:disabled) { background: var(--crimson); color: var(--white); border-color: var(--crimson); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }
.carousel-btn--prev { left: 4px; }
.carousel-btn--next { right: 4px; }

.carousel-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1.25rem; }

.carousel-dot {
    width: 6px;
    height: 6px;
    background: #d8d4cc;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
    padding: 0;
}

.carousel-dot--active { background: var(--crimson); width: 18px; }

/* ============================================================
   SECTION HEADING
   ============================================================ */
.section-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--crimson);
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-heading i {
    color: var(--crimson);
    font-size: 0.85em;
}

/* ============================================================
   HOME SLIDER — carrossel com thumbs compactas
   ============================================================ */

.home-slider {
    margin-bottom: 2.5rem;
    position: relative;
    user-select: none;
}

/* Palco principal */
.home-slider__stage {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 10px 10px 0 0;
}

/* Track deslizante */
.home-slider__track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
    will-change: transform;
}

/* Cada slide = 100% do palco */
.home-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    position: relative;
}

.home-slide__link {
    display: block;
    position: relative;
    width: 100%;
}

/* Imagem */
.home-slide__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    max-height: 420px;
}

.home-slide__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    filter: saturate(0.88) brightness(0.92);
}

.home-slide--active .home-slide__img-wrap img {
    filter: saturate(1) brightness(1);
}

/* Overlay gradiente */
.home-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,10,10,0.88) 0%,
        rgba(10,10,10,0.18) 55%,
        transparent 100%
    );
    pointer-events: none;
}

.home-slide__overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3px;
    height: 60%;
    background: var(--crimson);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.home-slide--active .home-slide__overlay::after {
    transform: scaleY(1);
}

/* Info sobre a imagem */
.home-slide__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.1rem 1.4rem 1.25rem 1.6rem;
    color: #fff;
    pointer-events: none;
}

.home-slide__category {
    display: inline-flex;
    align-items: center;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #fff;
    background: var(--crimson);
    padding: 0.18rem 0.55rem;
    margin-bottom: 0.45rem;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.home-slide--active .home-slide__category {
    opacity: 1;
    transform: translateY(0);
}

.home-slide__title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.38s ease 0.16s, transform 0.38s ease 0.16s;
}

.home-slide--active .home-slide__title {
    opacity: 1;
    transform: translateY(0);
}

.home-slide__date {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
    opacity: 0;
    transition: opacity 0.35s ease 0.26s;
}

.home-slide--active .home-slide__date {
    opacity: 1;
}

/* ---- Arrows translúcidas ---- */
.home-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(10,10,10,0.42);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.82);
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.home-slider__arrow:hover {
    background: var(--crimson);
    border-color: var(--crimson);
    color: #fff;
}

.home-slider__arrow--prev { left: 0.8rem; }
.home-slider__arrow--next { right: 0.8rem; }

/* Progress bar no topo */
.home-slider__progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.06);
    z-index: 8;
}

.home-slider__progress-bar {
    height: 2px;
    background: var(--crimson);
    width: 0%;
}

/* ============================================================
   THUMBS — faixa com arrows, 3 visíveis
   ============================================================ */
.home-slider__thumbs-wrap {
    display: flex;
    align-items: stretch;
    background: var(--void);
    border-top: 2px solid var(--crimson);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
}

.home-slider__thumb-arrow {
    flex-shrink: 0;
    width: 36px;
    background: var(--void-3);
    border: none;
    border-right: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.45);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 2;
}

.home-slider__thumb-arrow--next {
    border-right: none;
    border-left: 1px solid rgba(255,255,255,0.06);
}

.home-slider__thumb-arrow:hover {
    background: var(--crimson);
    color: #fff;
}

.home-slider__thumb-arrow:disabled {
    opacity: 0.25;
    cursor: default;
    background: var(--void-3);
    color: rgba(255,255,255,0.2);
}

.home-slider__thumbs {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

/* Cada thumb: 1/3 da faixa */
.home-slider__thumb {
    flex: 0 0 33.333%;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--void-2);
    border: none;
    border-right: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: background 0.2s ease, transform 0.4s var(--ease-out-expo);
    text-align: left;
    height: 104px;
}

.home-slider__thumb:last-child { border-right: none; }

.home-slider__thumb img {
    width: 120px;
    height: 104px;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
    opacity: 0.38;
    filter: saturate(0.3) brightness(0.65);
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.home-slider__thumb:hover img {
    opacity: 0.62;
    filter: saturate(0.6) brightness(0.82);
}

.home-slider__thumb--active img {
    opacity: 1;
    filter: saturate(1) brightness(1);
}

.home-slider__thumb-label {
    flex: 1;
    min-width: 0;
    padding: 0.45rem 0.75rem;
    font-size: 0.63rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.35;
    color: rgba(240,236,228,0.32);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    align-self: center;
}

.home-slider__thumb:hover .home-slider__thumb-label {
    color: rgba(240,236,228,0.65);
}

.home-slider__thumb--active .home-slider__thumb-label {
    color: rgba(240,236,228,0.95);
}

.home-slider__thumb-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--crimson);
}

.home-slider__thumb--active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--crimson);
    z-index: 2;
}

/* ============================================================
   RESPONSIVO — SLIDER
   ============================================================ */
@media (max-width: 768px) {
    .home-slide__img-wrap { max-height: 320px; }
    .home-slide__title { font-size: 0.95rem; }
    .home-slider__arrow { width: 30px; height: 30px; font-size: 0.65rem; }
    .home-slider__thumb { height: 80px; }
    .home-slider__thumb img { width: 90px; height: 80px; }
    .home-slider__thumb-label { font-size: 0.58rem; -webkit-line-clamp: 4; }
    .home-slider__thumb-arrow { width: 30px; font-size: 0.58rem; }
}

@media (max-width: 480px) {
    .home-slide__img-wrap { max-height: 240px; aspect-ratio: 4/3; }
    .home-slide__title { -webkit-line-clamp: 2; font-size: 0.88rem; }
    .home-slide__info { padding: 0.75rem 0.8rem 0.9rem 1rem; }
    .home-slider__arrow { width: 28px; height: 28px; font-size: 0.6rem; }
    .home-slider__arrow--prev { left: 0.4rem; }
    .home-slider__arrow--next { right: 0.4rem; }
    .home-slider__thumb { height: 48px; }
    .home-slider__thumb img { width: 64px; height: 48px; }
    .home-slider__thumb-label { display: none; }
    .home-slider__thumb-arrow { width: 28px; }
}

/* ============================================================
   HOME CASCATA + CARDS
   ============================================================ */
.home-cascata { }

.home-block { display: grid; gap: 1.75rem; margin-bottom: 0; }
.home-block--4 { grid-template-columns: repeat(2, 1fr); }
.home-block--8 { grid-template-columns: repeat(2, 1fr); }

/* Featured block: large card left + 3 stacked right */
.home-block--featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}
.home-block__side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.home-block__side .home-card {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: flex-start;
}
.home-block__side .home-card .home-card__thumb-link {
    flex-shrink: 0;
    width: 120px;
}
.home-block__side .home-card .home-card__body {
    margin-top: 0;
    flex: 1;
}
.home-card--featured .thumb-wrapper { aspect-ratio: 16/9; }
.home-card--featured .home-card__body { margin-top: 0.75rem; }
.post-title--featured { font-size: 1.1rem; }

@media (max-width: 700px) {
    .home-block--featured { grid-template-columns: 1fr; }
    .home-block__side .home-card { flex-direction: column; }
    .home-block__side .home-card .home-card__thumb-link { width: 100%; }
}

@media (min-width: 901px) {
    .home-block--4 { grid-template-columns: repeat(4, 1fr); }
    .home-block--8 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
    .home-block--4 { grid-template-columns: 1fr; }
    .home-block--8 { grid-template-columns: 1fr 1fr; }
}

/* Hero block: 1 large left + 3 stacked right */
.home-block--hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.home-block--hero .home-card:first-child {
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
}

.home-block--hero .home-card:first-child .thumb-wrapper {
    aspect-ratio: 4/3;
    flex: 1;
}

.home-block--hero .home-card:first-child .thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-block--hero .home-card:first-child .post-title {
    font-size: 1.15rem;
}

.home-block--hero .home-card:not(:first-child) {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: flex-start;
}

.home-block--hero .home-card:not(:first-child) .home-card__thumb-link {
    flex-shrink: 0;
    width: 110px;
}

.home-block--hero .home-card:not(:first-child) .home-card__body {
    margin-top: 0;
    flex: 1;
}

.home-block--hero .home-card:not(:first-child) .post-title {
    font-size: 0.82rem;
}

@media (max-width: 700px) {
    .home-block--hero {
        grid-template-columns: 1fr;
    }
    .home-block--hero .home-card:first-child {
        grid-row: auto;
    }
    .home-block--hero .home-card:not(:first-child) {
        flex-direction: column;
    }
    .home-block--hero .home-card:not(:first-child) .home-card__thumb-link {
        width: 100%;
    }
}

/* Large block: 4 cards with bigger images and larger titles */
.home-block--large {
    grid-template-columns: repeat(2, 1fr);
}

.home-block--large .thumb-wrapper {
    aspect-ratio: 16/9;
}

.home-block--large .home-card__thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-block--large .post-title {
    font-size: 1.05rem !important;
}

@media (min-width: 901px) {
    .home-block--large {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-block--large {
        grid-template-columns: 1fr;
    }
}

.home-card { display: flex; flex-direction: column; }
.home-card--small { display: flex; flex-direction: column; }

.home-card__thumb-link { display: block; border-radius: 8px; overflow: hidden; }
.home-card--small .thumb-wrapper { aspect-ratio: 16/9; }
.home-card__body { margin-top: 0.6rem; }

.home-card .cat-link {
    display: block;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--crimson);
    margin-bottom: 0.25rem;
    transition: color 0.2s ease;
}

.home-card .cat-link:hover { color: var(--crimson-dk); }

.home-card .post-title { font-size: 0.9rem; }
.home-card .post-title--sm { font-size: 0.82rem; }
.home-card .post-title a { color: var(--ink); transition: color 0.2s ease; }
.home-card .post-title a:hover { color: var(--crimson); }

.home-card .post-meta__date {
    display: block;
    font-size: 0.68rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

/* Home card hover — rounded, clean */
.home-card,
.home-card--small {
    padding: 0.75rem;
    margin: 0;
    background: #f9f9f9;
    border-radius: 10px;
    transition: background 0.22s ease, transform 0.28s var(--ease-out-expo), color 0.22s ease;
    will-change: transform;
}

.home-card:hover,
.home-card--small:hover {
    background: var(--crimson);
    transform: translateY(-3px);
}

.home-card:hover .post-title a,
.home-card--small:hover .post-title a {
    color: #ffffff;
}

.home-card:hover .cat-link,
.home-card--small:hover .cat-link {
    color: rgba(255,255,255,0.75);
}

.home-card:hover .post-meta__date,
.home-card--small:hover .post-meta__date {
    color: rgba(255,255,255,0.6);
}

/* ============================================================
   MOBILE ADJUSTMENTS
   ============================================================ */
@media (max-width: 900px) {
    .nav-dropdown { display: none !important; }
}

/* ============================================================
   UTILITY
   ============================================================ */
[hidden] { display: none !important; }

.home-row-divider {
    border: none;
    border-top: 1px solid var(--ash);
    margin: 2rem 0;
    width: 100%;
    display: block;
}

.home-block--4 { row-gap: 2rem; }
.home-block--8 { row-gap: 2rem; }

/* ============================================================
   DAILY MESSAGE MODAL
   ============================================================ */
#daily-message-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    min-width: 0; max-width: 100vw;
    background: rgba(10,10,10,0.92);
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}

.daily-msg-box {
    background: var(--void-2);
    border: 1px solid rgba(191,40,45,0.3);
    border-top: 3px solid var(--crimson);
    max-width: 580px;
    width: 100%;
    overflow: hidden;
    animation: dmFadeIn 0.35s var(--ease-out-expo);
    box-shadow: 0 0 80px rgba(191,40,45,0.12), 0 24px 80px rgba(0,0,0,0.8);
}

@keyframes dmFadeIn {
    from { opacity: 0; transform: scale(0.97) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.daily-msg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(191,40,45,0.12);
}

.daily-msg-badge { display: flex; align-items: center; gap: 10px; }

.daily-msg-badge i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(191,40,45,0.1);
    border: 1px solid rgba(191,40,45,0.25);
    color: var(--crimson);
    font-size: 13px;
}

.daily-msg-badge span {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--crimson);
}

.daily-msg-date {
    font-size: 0.72rem;
    color: rgba(240,236,228,0.35);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 4px 12px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .daily-msg-badge span { font-size: 0.56rem; letter-spacing: 0.08em; }
    .daily-msg-badge i { width: 26px; height: 26px; font-size: 11px; }
    .daily-msg-date { font-size: 0.58rem; padding: 3px 8px; }
}

.daily-msg-body {
    padding: 32px 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.daily-msg-avatar-wrap {
    width: 76px;
    height: 76px;
    border: 2px solid rgba(191,40,45,0.4);
    margin: 0 0 24px;
    flex-shrink: 0;
}

.daily-msg-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.6);
}

.daily-msg-box h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.45rem;
    font-weight: 400;
    font-style: italic;
    color: var(--parchment);
    line-height: 1.3;
    margin-bottom: 14px;
}

.daily-msg-box p {
    font-size: 0.92rem;
    color: rgba(240,236,228,0.4);
    line-height: 1.75;
}

.daily-msg-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px 22px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.daily-msg-hint {
    font-size: 0.68rem;
    color: rgba(240,236,228,0.2);
    letter-spacing: 0.06em;
}

.daily-msg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 26px;
    background: var(--crimson);
    color: #ffffff;
    border: none;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.daily-msg-btn:hover { background: var(--crimson-dk); transform: translateY(-1px); }

@media (max-width: 600px) {
    .daily-msg-body { padding: 24px 18px 18px; }
    .daily-msg-footer { padding: 14px 18px 18px; flex-direction: column; align-items: center; gap: 12px; }
    .daily-msg-header { padding: 12px 18px; }
    .daily-msg-box h1 { font-size: 1.2rem; }
    .daily-msg-hint { display: none; }
    .daily-msg-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   READER TOOLBAR
   ============================================================ */
.reader-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--crimson);
    border-top: none;
    border-bottom: 2px solid var(--crimson-dk);
    padding: 0 10px;
    margin: 0 0 1.5rem;
    height: 44px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    transition: box-shadow 0.25s ease;
}

/* Estado fixo — compacto, só o necessário */
.reader-toolbar--sticky {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    margin: 0;
    width: auto;          /* só o tamanho dos botões */
    min-width: 0;
    max-width: calc(100vw - 2rem);
    height: 40px;
    padding: 0 6px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 20px rgba(191,40,45,0.45), 0 1px 0 var(--crimson-dk);
}

/* Espaçador */
.reader-toolbar-spacer {
    height: 44px;
    display: block;
    margin-bottom: 1.5rem;
}

.reader-toolbar::-webkit-scrollbar { display: none; }

.reader-toolbar__group { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }

.reader-toolbar__sep {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.25);
    margin: 0 8px;
    flex-shrink: 0;
}

.reader-toolbar__btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.75);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
    flex-shrink: 0;
    font-size: 14px;
    border-radius: 3px;
}

.reader-toolbar__btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.18);
}

/* Ativo: fundo branco + ícone/texto VERMELHO para leitura */
.reader-toolbar__btn.active,
.reader-toolbar__btn[aria-pressed="true"] {
    color: var(--crimson);
    background: #fff;
}

.rt-font-label {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255,255,255,0.8);
}

/* Quando o label do botão ativo está sobre fundo branco — fica vermelho */
.reader-toolbar__btn[aria-pressed="true"] .rt-font-label,
.reader-toolbar__btn.active .rt-font-label {
    color: var(--crimson);
}

.rt-serif { font-family: 'DM Serif Display', serif; }
.rt-sans  { font-family: 'DM Sans', sans-serif; }

/* Inverted */
body.rt-inverted {
    background: var(--void);
    color: rgba(240,236,228,0.85);
}

body.rt-inverted .site-header,
body.rt-inverted .site-footer,
body.rt-inverted .sidebar,
body.rt-inverted .banner-exclusivo,
body.rt-inverted .banner-padrao,
body.rt-inverted .banner-quadrado { filter: brightness(0.7); }

body.rt-inverted .page-layout { background: var(--void); }

body.rt-inverted .post-single__title,
body.rt-inverted .post-single__content,
body.rt-inverted h1, body.rt-inverted h2, body.rt-inverted h3 { color: rgba(240,236,228,0.9); }

body.rt-inverted .cat-link,
body.rt-inverted .post-single__meta { color: rgba(240,236,228,0.4); }

body.rt-inverted a { color: rgba(240,236,228,0.7); }
body.rt-inverted .reader-toolbar { background: var(--crimson-dk); }

body.rt-inverted .breadcrumb,
body.rt-inverted .breadcrumb a { color: rgba(240,236,228,0.4); }

body.rt-inverted .sidebar-categories { background: var(--void-2); border-color: var(--wire-solid); }
body.rt-inverted .related-card { background: var(--void-2); }
body.rt-inverted .related-card__title a { color: rgba(240,236,228,0.85); }
body.rt-inverted .author-block { background: var(--void-3); border-color: var(--wire-solid); }

/* Font family overrides */
body.rt-font-serif .post-single__content,
body.rt-font-serif .post-single__title,
body.rt-font-serif .post-single__meta { font-family: 'DM Serif Display', serif; }

body.rt-font-sans .post-single__content,
body.rt-font-sans .post-single__title,
body.rt-font-sans .post-single__meta { font-family: 'DM Sans', sans-serif; }

.post-single__content { font-size: var(--rt-font-size, 1.05rem); transition: font-size 0.2s ease; }

/* ============================================================
   FOCUS READING MODAL
   ============================================================ */
.focus-modal {
    position: fixed;
    inset: 0;
    z-index: 8888;
    background: var(--parchment);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.focus-modal[hidden] { display: none; }

body.rt-inverted .focus-modal { background: var(--void); }

.focus-modal__bar {
    background: var(--void);
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
    flex-shrink: 0;
    border-bottom: 2px solid var(--crimson);
}

body.rt-inverted .focus-modal__bar { background: var(--void-2); }

.focus-modal__bar-actions { display: flex; align-items: center; gap: 4px; }

.focus-modal__tool {
    background: transparent;
    border: none;
    color: rgba(240,236,228,0.6);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 14px;
}

.focus-modal__tool:hover { color: var(--parchment); background: rgba(255,255,255,0.1); }

.focus-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 2.5rem clamp(1rem, 8vw, 8rem);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--rt-focus-size, 1.1rem);
    line-height: 1.9;
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
    transition: font-size 0.2s ease;
}

body.rt-font-serif .focus-modal__body { font-family: 'DM Serif Display', serif; }

body.rt-inverted .focus-modal__body { color: rgba(240,236,228,0.85); }

.focus-modal__body img { max-width: 100%; height: auto; display: block; margin: 1.5rem auto; }
.focus-modal__body h1,
.focus-modal__body h2,
.focus-modal__body h3 { margin: 1.5rem 0 0.75rem; font-weight: 400; }
.focus-modal__body p { margin: 0 0 1.1rem; }

@media (max-width: 600px) {
    .reader-toolbar { height: 40px; padding: 0 6px; }
    .reader-toolbar--sticky { height: 36px; padding: 0 4px; }
    .reader-toolbar-spacer  { height: 40px; }
    .reader-toolbar__btn { width: 28px; height: 28px; font-size: 12px; }
    .reader-toolbar__sep { margin: 0 5px; }
    .focus-modal__body { padding: 1.5rem 1rem; }
}

/* ============================================================
   INLINE RELATED
   ============================================================ */
.inline-related {
    border-left: 2px solid var(--crimson);
    background: var(--parchment);
    padding: 1rem 1.25rem;
    margin: 1.75rem 0;
    border-radius: 10px;
}

.inline-related__heading {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--crimson);
    margin: 0 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inline-related__heading i { font-size: 0.8rem; color: var(--crimson); }

.inline-related__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }

.inline-related__list li::before { content: '—'; margin-right: 0.45rem; color: rgba(0,0,0,0.2); font-size: 0.7rem; }

.inline-related__list a {
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.92rem;
    line-height: 1.45;
}

.inline-related__list a:hover { color: var(--crimson); }

body.rt-inverted .inline-related { background: rgba(255,255,255,0.04); border-left-color: var(--crimson); }
body.rt-inverted .inline-related__heading { color: var(--crimson); }
body.rt-inverted .inline-related__heading i { color: var(--crimson); }
body.rt-inverted .inline-related__list a { color: rgba(240,236,228,0.8); }
body.rt-inverted .inline-related__list a:hover { color: var(--parchment); }

/* ============================================================
   SCROLL REVEAL — classes adicionadas via JS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger para grids */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.reveal-stagger.revealed > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0ms; }
.reveal-stagger.revealed > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:60ms; }
.reveal-stagger.revealed > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:120ms; }
.reveal-stagger.revealed > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:180ms; }
.reveal-stagger.revealed > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:240ms; }
.reveal-stagger.revealed > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:300ms; }
.reveal-stagger.revealed > *:nth-child(7) { opacity:1; transform:translateY(0); transition-delay:360ms; }
.reveal-stagger.revealed > *:nth-child(8) { opacity:1; transform:translateY(0); transition-delay:420ms; }

/* ============================================================
   PROGRESS BAR — reading
   ============================================================ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--crimson);
    z-index: 9999;
    transition: width 0.05s linear;
}

/* ============================================================
   SIDEBAR CATEGORIES
   ============================================================ */
.sidebar-categories {
    border: 1px solid var(--ash);
    overflow: hidden;
}

.sidebar-categories li { border-bottom: 1px solid var(--ash); }
.sidebar-categories li:last-child { border-bottom: none; }

.sidebar-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.sidebar-categories a:hover {
    color: var(--crimson);
    background: var(--parchment);
    padding-left: 1.1rem;
}

.sidebar-categories .cat-count {
    font-size: 0.65rem;
    color: var(--muted);
    font-weight: 400;
}

/* ============================================================
   SIDEBAR WIDGETS — Clima / Dólar / Ouro
   ============================================================ */
.sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;           /* espaço segmentado entre os 3 widgets */
    margin-bottom: 2.5rem;
}

/* Widget base */
.sw-widget {
    background: #f2f2f2;
    padding: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

/* Linha colorida lateral por tipo */
.sw-widget--clima { border-left: 4px solid #3b9ede; }
.sw-widget--dolar { border-left: 4px solid #27ae60; }
.sw-widget--ouro  { border-left: 4px solid #c9960a; }

.sw-widget:hover { background: #e4e4e4; }

/* Header */
.sw-widget__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem 0.45rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: #e2e2e2;
}

.sw-widget__icon {
    font-size: 0.78rem;
    flex-shrink: 0;
}

.sw-widget--clima .sw-widget__icon { color: #2980b9; }
.sw-widget--dolar .sw-widget__icon { color: #1e8449; }
.sw-widget--ouro  .sw-widget__icon { color: #a07808; }

.sw-widget__label {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(26,26,26,0.55);
}

.sw-widget__badge,
.sw-widget__city {
    margin-left: auto;
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(26,26,26,0.38);
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* Body */
.sw-widget__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0.9rem 0.9rem;
    gap: 0.5rem;
}

/* Clima — layout diferente */
.sw-widget__body--clima {
    align-items: flex-start;
}

.sw-clima-main {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.sw-clima-temp {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    line-height: 1;
    transition: color 0.4s ease;
}

.sw-clima-unit {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(26,26,26,0.4);
    align-self: flex-start;
    margin-top: 0.4rem;
}

.sw-clima-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.sw-clima-desc {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(26,26,26,0.7);
    text-align: right;
    line-height: 1.3;
}

.sw-clima-detail {
    font-size: 0.6rem;
    color: rgba(26,26,26,0.42);
    text-align: right;
    line-height: 1.4;
}

/* Dólar / Ouro — rate grande */
.sw-rate {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 0.04em;
    line-height: 1;
}

.sw-rate-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.sw-rate-var {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.sw-rate-var--up   { color: #1e8449; }
.sw-rate-var--down { color: var(--crimson); }
.sw-rate-var--neu  { color: rgba(26,26,26,0.3); }

.sw-rate-time {
    font-size: 0.56rem;
    color: rgba(26,26,26,0.35);
    letter-spacing: 0.03em;
}

/* Erro */
.sw-widget__footer--error {
    padding: 0.4rem 0.9rem 0.55rem;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(26,26,26,0.4);
    letter-spacing: 0.04em;
}

/* Skeleton pulse enquanto carrega */
.sw-loading {
    animation: swPulse 1.4s ease-in-out infinite;
}

@keyframes swPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Fade clima — troca de cidade */
.sw-fade-out {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sw-fade-in {
    opacity: 1;
    transition: opacity 0.3s ease;
}
