/* ============================================================
   Blog Milton Figueiredo — style.css
   Paleta: #373737 | #777777 | #ffffff | #4d4d4d | #f5f5f5
   Fonte: DM Sans
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */
*, *::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: #373737;
    background: #ffffff;
    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 {
    --black:  #373737;
    --gray:   #777777;
    --white:  #ffffff;
    --dark:   #4d4d4d;
    --light:  #f5f5f5;
    --container: 1200px;
    --gap: 2rem;
    --radius: 2px;
}

/* --- Layout: Content + Sidebar ----------------------------- */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2.5rem;
}

@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: #595959;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    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: 36px;
}

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

.pre-header-datetime-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pre-header-datetime-item i {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.55);
}

.pre-header-datetime-item span {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
}

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

.pre-header-link {
    display: inline-flex;
    align-items: center;
    padding: 0 0.85rem;
    height: 36px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.78);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.25s ease, background 0.25s ease;
    border-left: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

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

.pre-header-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.pre-header-link--cta {
    color: var(--white);
    font-weight: 800;
}

.pre-header-link--cta:hover {
    background: rgba(255,255,255,0.14);
    color: var(--white);
}

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

/* --- Header ------------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(55,55,55,0.07);
}

.site-header-main {
    background: var(--white);
    border-top: 1px solid #e8e8e8;
}

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

@media (max-width: 900px) {
    .pre-header { height: auto; }
    .pre-header-inner {
        justify-content: space-between;
        padding: 0 1rem;
        height: 30px;
    }
    .pre-header-datetime {
        display: flex;
        gap: 0.75rem;
    }
    .pre-header-datetime-item {
        font-size: 0.6rem;
        gap: 0.25rem;
        letter-spacing: 0.02em;
        text-transform: none;
    }
    .pre-header-datetime-item i { font-size: 0.55rem; }
    .pre-header-link {
        font-size: 0.6rem;
        padding: 0 0.55rem;
        height: 30px;
        letter-spacing: 0.03em;
    }
    .header-inner {
        gap: 1rem;
        padding: 0 1rem;
        justify-content: space-between;
        height: 72px;
    }
    .site-logo        { order: 1; }
    .coin-avatar      { order: 2; margin-left: 4px; width: 36px; height: 36px; }
    .search-trigger   { order: 3; margin-left: auto; margin-right: -0.8rem; }
    .nav-toggle       { order: 4; }
}

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

/* Coin Avatar */
.coin-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

@media (min-width: 901px) {
    .coin-avatar { margin-left: -1.4rem; }
}

.coin-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    border-radius: 50%;
    animation: coin-spin 6s ease-in-out infinite;
    will-change: transform;
}

.coin-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    box-shadow:
        0 0 0 2px rgba(255,255,255,0.90),
        0 2px 12px rgba(0,0,0,0.18),
        inset 0 1px 3px rgba(255,255,255,0.40);
}

.coin-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.coin-face--front {
    transform: perspective(600px) rotateY(0deg);
}

.coin-face--back {
    transform: perspective(600px) rotateY(180deg);
}

@keyframes coin-spin {
    0%   { transform: perspective(600px) rotateY(0deg); }
    35%  { transform: perspective(600px) rotateY(0deg); }
    50%  { transform: perspective(600px) rotateY(180deg); }
    85%  { transform: perspective(600px) rotateY(180deg); }
    100% { transform: perspective(600px) rotateY(360deg); }
}

.coin-avatar:hover .coin-inner {
    animation-play-state: paused;
}

/* Nav */
.site-nav { margin-left: auto; }

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

.nav-item { position: relative; }

.nav-link {
    display: block;
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover { color: var(--dark); }

.nav-link--cta {
    background: var(--black);
    color: var(--white);
    padding: 0.45rem 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-link--cta:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-arrow {
    font-size: 0.6rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid #e8e8e8;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 200;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--black);
    transition: background 0.3s ease;
}

.nav-dropdown-link:hover { background: var(--light); }

/* Search trigger */
.search-trigger {
    background: none;
    border: none;
    color: var(--black);
    font-size: 1rem;
    padding: 0.4rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.search-trigger:hover { color: var(--dark); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.4rem;
    width: 32px;
    height: 32px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .site-nav  { display: none; }
    .nav-toggle { display: flex; }
}

/* Mobile nav */
.mobile-nav {
    background: var(--white);
    border-top: 1px solid #e8e8e8;
    padding: 1rem 1.5rem 1.5rem;
}

.mobile-nav-list { display: flex; flex-direction: column; gap: 0; }

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link--cta {
    color: var(--black);
    font-weight: 800;
}

.mobile-sub-list { padding: 0.25rem 0 0.5rem 1rem; }

.mobile-sub-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--gray);
}

/* --- Search Overlay ---------------------------------------- */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
}

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

.search-form {
    display: flex;
    align-items: center;
    gap: 0;
    background: #ffffff;
    border-radius: 10px;
    padding: 0 20px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.55);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--black);
    padding: 1.1rem 0;
    background: transparent;
}

.search-input::placeholder { color: #c0c0c0; }

.search-submit {
    background: none;
    border: none;
    color: var(--black);
    font-size: 1.1rem;
    padding: 0.5rem 0 0.5rem 0.75rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.search-submit:hover { opacity: 1; }

.search-close {
    position: absolute;
    top: calc(100% + 24px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.70);
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.search-close:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.40);
    color: #ffffff;
}

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

.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;
}

.banner-padrao {
    margin: 2rem 0;
    text-align: center;
}

.banner-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.banner-link:hover { transform: scale(1.01); opacity: 0.95; }

.sidebar-banner {
    margin: 1.5rem 0;
    text-align: center;
}

/* --- 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.4s ease;
}

.thumb-wrapper:hover img { transform: scale(1.03); }

.thumb-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(55,55,55,0.0);
    transition: background 0.4s ease;
    pointer-events: none;
}

.thumb-wrapper:hover::after { background: rgba(55,55,55,0.12); }

.post-type-icon {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.6rem;
    z-index: 1;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

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

.post-meta .cat-link {
    color: var(--black);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

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

.post-meta .sep { color: #ddd; }

.post-title {
    margin-top: 0.4rem;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--black);
    transition: color 0.3s ease;
}

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

/* --- 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.8rem;
    color: var(--gray);
}

.breadcrumb-link {
    color: var(--gray);
    transition: color 0.3s ease;
}

.breadcrumb-link:hover { color: var(--black); }

.breadcrumb-sep { color: #ccc; font-size: 0.7rem; }

.breadcrumb-current { color: var(--black); font-weight: 700; }

/* --- Pagination -------------------------------------------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 2.5rem 0;
}

.page-link, .page-current, .page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--black);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.page-link:hover { background: var(--light); border-color: var(--black); }

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

.page-dots { border: none; color: var(--gray); min-width: auto; }

.page-prev, .page-next { font-size: 0.75rem; }

/* --- Sidebar ----------------------------------------------- */
.site-sidebar { position: sticky; top: 80px; }

.sidebar-block { margin-bottom: 2.5rem; }

.sidebar-heading {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--black);
    margin-bottom: 1rem;
}

.sidebar-empty { font-size: 0.85rem; color: var(--gray); }

/* Most Read Premium */
.mr-premium {
    background: #373737;
    border-radius: 10px;
    padding: 24px 20px 20px;
    position: relative;
    overflow: hidden;
}

.mr-heading-wrap {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 82px;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.mr-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    text-align: center;
    margin: 0 0 16px;
    position: relative;
}

/* Tabs */
.mr-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    border-bottom: none;
    justify-content: center;
    position: relative;
}

.mr-tab {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 5px;
    padding: 6px 4px;
    font-size: 0.68rem;
    font-weight: 800;
    color: rgba(255,255,255,0.50);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.mr-tab:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.13);
}

.mr-tab.tab-btn--active {
    background: #ffffff;
    border-color: #ffffff;
    color: #373737;
}

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

/* List */
.mr-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mr-item { list-style: none; }

.mr-item-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 7px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.mr-item-inner:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.18);
}

/* Top 1 highlight */
.mr-item--top .mr-item-inner {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
}

.mr-item--top .mr-item-inner:hover {
    background: rgba(255,255,255,0.18);
}

.mr-item--top .mr-link {
    font-size: 0.875rem;
    font-weight: 800;
    color: #ffffff;
}

/* Thumb */
.mr-thumb-wrap {
    flex-shrink: 0;
    position: relative;
    width: 54px;
    height: 54px;
}

.mr-thumb-wrap img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255,255,255,0.15);
}

.mr-item--top .mr-thumb-wrap {
    width: 58px;
    height: 58px;
}

.mr-item--top .mr-thumb-wrap img {
    border-color: rgba(255,255,255,0.40);
    width: 58px;
    height: 58px;
}

.mr-thumb-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    border: 2px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.30);
    font-size: 18px;
}

/* Rank badge */
.mr-rank {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #373737;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mr-item--top .mr-rank {
    background: #ffffff;
    color: #373737;
    border-color: #ffffff;
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
    bottom: -4px;
    right: -4px;
}

/* Crown badge for top 1 */
.mr-crown {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: #f5c842;
    font-size: 11px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

/* Link text */
.mr-link {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    color: rgba(255,255,255,0.82);
    transition: color 0.3s ease;
    display: block;
}

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

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

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

.ed-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    text-align: center;
    margin: 0 0 18px;
    position: relative;
}

.ed-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.ed-item { list-style: none; }

.ed-row {
    display: flex;
    align-items: stretch;
}

.ed-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.82);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 7px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    line-height: 1.3;
}

.ed-item--has-sub .ed-link {
    border-radius: 7px 0 0 7px;
    border-right: none;
}

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

.ed-link:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.18);
    color: #ffffff;
}

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

/* Toggle button */
.ed-toggle {
    flex-shrink: 0;
    width: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 1px solid rgba(255,255,255,0.14);
    border-radius: 0 7px 7px 0;
    color: rgba(255,255,255,0.50);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.ed-toggle:hover {
    background: rgba(255,255,255,0.13);
    color: #ffffff;
}

.ed-toggle i {
    transition: transform 0.3s ease;
}

.ed-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.ed-toggle[aria-expanded="true"] {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.22);
    color: #ffffff;
}

/* Sub-list */
.ed-sub-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-left: 14px;
}

.ed-sub-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.60);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.ed-sub-link:hover {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.90);
}

.ed-sub-bullet {
    font-size: 0.45rem;
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
}

/* Newsletter Premium */
.nl-premium {
    background: #373737;
    border-radius: 10px;
    padding: 28px 22px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.nl-icon-wrap {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 88px;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.nl-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
    margin: 0 0 16px;
    position: relative;
    text-transform: uppercase;
}
.nl-premium .nl-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
}
.nl-premium .nl-avatar-wrap img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.20);
}
.nl-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin: 0 0 20px;
    position: relative;
}
.nl-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nl-field { width: 100%; }
.nl-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 13px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    font-family: inherit;
}
.nl-input::placeholder { color: rgba(255,255,255,0.40); }
.nl-input:focus {
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.12);
}
.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: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1.5px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
    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: #ffffff;
    border-color: #ffffff;
}
.nl-terms-check:checked + .nl-terms-custom::after {
    content: '';
    display: block;
    width: 9px;
    height: 5px;
    border-left: 2px solid #373737;
    border-bottom: 2px solid #373737;
    transform: rotate(-45deg) translateY(-1px);
}
.nl-terms-text {
    font-size: 12px;
    color: rgba(255,255,255,0.60);
    line-height: 1.4;
}
.nl-terms-link {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.nl-terms-link:hover { color: #ffffff; }
.nl-terms-error {
    font-size: 11px;
    color: #ffaaaa;
    margin: 5px 0 0 25px;
}
.nl-btn {
    width: 100%;
    background: #ffffff;
    color: #373737;
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
    font-family: inherit;
    margin-top: 4px;
}
.nl-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    letter-spacing: 0.09em;
}
.nl-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
#newsletter-feedback-box {
    margin-bottom: 14px;
    border-radius: 7px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
}
.nl-feedback-inner {
    padding: 13px 15px 10px;
    font-size: 13px;
    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: #ffaaaa; }
.nl-countdown-bar-wrap {
    height: 3px;
    background: rgba(255,255,255,0.12);
}
.nl-countdown-bar {
    height: 3px;
    background: rgba(255,255,255,0.60);
    width: 100%;
    transform-origin: left;
}

/* Newsletter */
.newsletter-desc {
    font-size: 0.85rem;
    color: var(--gray);
    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 #e0e0e0;
    padding: 0.6rem 0.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--black);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: var(--radius);
}

.form-input:focus { border-color: var(--black); }

.newsletter-btn { width: 100%; }

.newsletter-feedback {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

/* --- Buttons ----------------------------------------------- */
.btn-primary {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
    border-radius: var(--radius);
}

.btn-primary:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    letter-spacing: 0.07em;
}

/* --- Footer ------------------------------------------------ */
.site-footer {
    background: #1e1e1e;
    color: var(--white);
    margin-top: 4rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--container);
    margin: 0 auto;
    padding: 4.5rem 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: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-about {
    margin-top: 1.1rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    max-width: 26ch;
}

.footer-heading {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 1.4rem;
}

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

.footer-link {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--white);
    padding-left: 4px;
}

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

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    background: #161616;
    padding: 1.25rem 1.5rem;
}

.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.78rem; color: rgba(255,255,255,0.3); letter-spacing: 0.02em; }

.footer-borda {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-borda:hover { color: rgba(255,255,255,0.7); }

.footer-borda strong {
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --- Back to Top ------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 44px;
    height: 44px;
    background: rgba(55,55,55,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease, border-color 0.3s ease;
    z-index: 300;
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover {
    background: rgba(77,77,77,0.75);
    border-color: rgba(255,255,255,0.25);
}

/* --- Cookie Notice ----------------------------------------- */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    z-index: 400;
    flex-wrap: wrap;
}

.cookie-text { font-size: 0.875rem; color: rgba(255,255,255,0.8); }

.cookie-link { color: var(--white); text-decoration: underline; }

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

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

/* --- Static Page (privacidade) ----------------------------- */
.static-page__title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--black);
}

.static-page__body h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 2rem 0 0.6rem;
    color: var(--black);
}

.static-page__body p {
    margin-bottom: 1rem;
    color: var(--black);
    line-height: 1.7;
}

.static-page__body a {
    color: var(--black);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.static-page__body a:hover { color: var(--dark); }

.static-page__updated {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--gray);
}

/* --- Author Profile (sobre / milton-figueiredo) ------------ */
.author-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

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

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

.author-profile__name {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--black);
}

.author-profile__bio {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--black);
    margin-bottom: 1.5rem;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--black);
    transition: all 0.3s ease;
}

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

/* --- Anuncie Form ------------------------------------------ */
.anuncie-page__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--black);
}

.anuncie-page__intro {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray);
    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.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--black);
    margin-bottom: 0.4rem;
}

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

.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23373737' d='M6 8L0 0h12z'/%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(55,55,55,0.75);
    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;
}

.modal-icon {
    font-size: 3rem;
    color: var(--black);
    margin-bottom: 1.25rem;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.modal-text {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.modal-redirect {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.modal-redirect strong { color: var(--black); }

/* --- Listing Header ---------------------------------------- */
.listing-header { margin-bottom: 2rem; }

.listing-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--black);
}

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

.listing-empty {
    font-size: 0.95rem;
    color: var(--gray);
    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(--light);
}

/* --- Post List (busca — 1 por linha) ----------------------- */
.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.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-bottom: 1.25rem;
}

.listing-title em { font-style: normal; color: var(--gray); }

/* --- Post Single ------------------------------------------- */
.post-single {
    max-width: 100%;
    width: 100%;
    min-width: 0;
}

.post-single__title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--black);
}

.post-single__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

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

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

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

.post-single__internal-img {
    margin: 0 0 2rem;
}

.post-single__internal-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-single__img-caption {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 5px 12px 5px 10px;
    background: #f5f5f5;
    border-left: 3px solid #373737;
    border-radius: 0 3px 3px 0;
    font-size: 12px;
    font-weight: 600;
    color: #777777;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

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

.post-single__content h2 { font-size: 1.3rem; font-weight: 800; margin: 2rem 0 0.75rem; }
.post-single__content h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.post-single__content p  { margin-bottom: 1.25rem; }

.post-single__content img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto !important;
    margin: 1.5rem 0;
}

.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(--black);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

/* --- Share ------------------------------------------------- */
.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ebebeb;
    flex-wrap: wrap;
}

.post-share__label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
}

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

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

.share-btn:hover { background: var(--dark); 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(--light);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

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

.author-block__photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.10);
}

.author-block__name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.4rem;
}

.author-block__bio {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.author-block__social { display: flex; gap: 0.5rem; }

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

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

/* --- Related Posts Carousel -------------------------------- */
.related-posts {
    margin-top: 3rem;
    max-width: 100%;
    overflow: hidden;
}

.related-posts__heading {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--black);
    margin-bottom: 1.5rem;
}

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

.related-carousel__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
    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; }

.related-card__title {
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.6rem;
    color: var(--black);
}

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

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

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

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

.carousel-btn:hover:not(:disabled) { background: var(--black); color: var(--white); border-color: var(--black); }
.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: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

.carousel-dot--active { background: var(--black); }

/* --- Home Slider ------------------------------------------- */
.home-slider {
    margin-bottom: 2.5rem;
    position: relative;
}

.home-slider__wrapper {
    position: relative;
    overflow: hidden;
}

.home-slider__track {
    position: relative;
    width: 100%;
}

.home-slide {
    display: none;
    width: 100%;
}

.home-slide--active { display: block; }

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

.home-slide .thumb-wrapper {
    aspect-ratio: 16/9;
    width: 100%;
}

.home-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,30,30,0.72) 0%, rgba(30,30,30,0.0) 55%);
    pointer-events: none;
}

.home-slide__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.5rem 1.75rem;
    color: #fff;
}

.home-slide__category {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.4rem;
}

.home-slide__title {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-slide__date {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
}

.home-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.9);
    border: none;
    color: var(--black);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s ease;
    cursor: pointer;
}

.home-slider__btn:hover { background: #fff; }
.home-slider__btn--prev { left: 0.75rem; }
.home-slider__btn--next { right: 0.75rem; }

.home-slider__dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 0 0;
}

.home-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

.home-slider__dot--active { background: var(--black); }

/* --- 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); }

@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; }
}

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

.home-card__thumb-link { display: block; }
.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.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

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

.home-card .post-title { font-size: 0.95rem; }
.home-card .post-title--sm { font-size: 0.85rem; }
.home-card .post-title a { color: var(--black); transition: color 0.3s ease; }
.home-card .post-title a:hover { color: var(--dark); }

.home-card .post-meta__date {
    display: block;
    font-size: 0.72rem;
    color: var(--gray);
    margin-top: 0.3rem;
}

/* --- Mobile adjustments ------------------------------------ */
@media (max-width: 600px) {
    .home-slider__btn { display: none; }
    .home-slide__info { padding: 1rem 1rem 1.25rem; }
}

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

/* --- Utility ----------------------------------------------- */
[hidden] { display: none !important; }

/* --- Home Row Divider -------------------------------------- */
.home-row-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 2rem 0;
    width: 100%;
    display: block;
}

/* --- Home Card — Row Spacing ------------------------------- */
.home-block--4 { row-gap: 2rem; }
.home-block--8 { row-gap: 2rem; }

/* --- Home Card — Hover Effect ------------------------------ */
.home-card,
.home-card--small {
    padding: 0.65rem;
    margin: -0.65rem;
    border-radius: 2px;
    transition: background 0.3s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.home-card:hover,
.home-card--small:hover {
    background: #f7f7f7;
    transform: translateY(-2px);
}

.home-card:hover .post-title a,
.home-card--small:hover .post-title a {
    color: var(--dark);
}

/* ============================================================
   Daily Message Modal
   ============================================================ */
#daily-message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-width: 0;
    max-width: 100vw;
    background: rgba(0,0,0,0.82);
    z-index: 9990;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 16px;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}

.daily-msg-box {
    background: #151515;
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 12px;
    max-width: 580px;
    width: 100%;
    overflow: hidden;
    animation: dmFadeIn 0.35s ease;
    box-shadow: 0 0 60px rgba(212,175,55,0.08), 0 24px 64px rgba(0,0,0,0.7);
}

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

.daily-msg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(212,175,55,0.15);
}

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

.daily-msg-badge i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 8px;
    color: #d4af37;
    font-size: 15px;
}

.daily-msg-badge span {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4af37;
}

.daily-msg-date {
    font-size: 0.78rem;
    color: rgba(212,175,55,0.6);
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 20px;
    padding: 5px 14px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .daily-msg-badge span {
        font-size: 0.58rem;
        letter-spacing: 0.08em;
    }
    .daily-msg-badge i {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .daily-msg-date {
        font-size: 0.62rem;
        padding: 4px 10px;
        letter-spacing: 0.01em;
    }
}

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

.daily-msg-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 180deg, #d4af37, #f5e27a, #a07d1c, #d4af37);
    margin: 0 0 28px;
    flex-shrink: 0;
}

.daily-msg-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #151515;
}

.daily-msg-box h1 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #f5e27a;
    line-height: 1.25;
    margin-bottom: 16px;
}

.daily-msg-box p {
    font-size: 0.97rem;
    color: rgba(245,226,122,0.65);
    line-height: 1.7;
}

.daily-msg-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px 24px;
    border-top: 1px solid rgba(212,175,55,0.1);
}

.daily-msg-hint {
    font-size: 0.75rem;
    color: rgba(212,175,55,0.35);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.02em;
}

.daily-msg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: #d4af37;
    color: #1a1710;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.daily-msg-btn:hover {
    background: #f5e27a;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212,175,55,0.35);
}

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

/* ============================================================
   Reader Toolbar
   ============================================================ */
.reader-toolbar {
    display: flex;
    align-items: center;
    gap: 0;
    background: #595959;
    border-radius: 4px;
    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;
}
.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: 20px;
    background: rgba(255,255,255,0.2);
    margin: 0 8px;
    flex-shrink: 0;
}

.reader-toolbar__btn {
    background: transparent;
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease;
    flex-shrink: 0;
    font-size: 15px;
}
.reader-toolbar__btn:hover,
.reader-toolbar__btn.active,
.reader-toolbar__btn[aria-pressed="true"] {
    background: rgba(255,255,255,0.18);
}

.rt-font-label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}
.rt-serif { font-family: Georgia, 'Times New Roman', serif; }
.rt-sans  { font-family: 'DM Sans', sans-serif; }

/* Inverted color scheme */
body.rt-inverted {
    background: #1a1a1a;
    color: #e8e8e8;
}
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.75); }
body.rt-inverted .page-layout { background: #1a1a1a; }
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: #e8e8e8; }
body.rt-inverted .cat-link,
body.rt-inverted .post-single__meta { color: #aaaaaa; }
body.rt-inverted a { color: #cccccc; }
body.rt-inverted .reader-toolbar { background: #3a3a3a; }
body.rt-inverted .breadcrumb,
body.rt-inverted .breadcrumb a { color: #aaaaaa; }
body.rt-inverted .sidebar-categories { background: #252525; border-color: #3a3a3a; }
body.rt-inverted .related-card { background: #252525; }
body.rt-inverted .related-card__title a { color: #e0e0e0; }
body.rt-inverted .author-block { background: #252525; border-color: #3a3a3a; }

/* 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: Georgia, 'Times New Roman', 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; }

/* Font size — applied to article content */
.post-single__content { font-size: var(--rt-font-size, 1rem); transition: font-size 0.2s ease; }

/* ============================================================
   Focus Reading Modal
   ============================================================ */
.focus-modal {
    position: fixed;
    inset: 0;
    z-index: 8888;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.focus-modal[hidden] { display: none; }

body.rt-inverted .focus-modal { background: #1a1a1a; }

.focus-modal__bar {
    background: #595959;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
    flex-shrink: 0;
}
body.rt-inverted .focus-modal__bar { background: #3a3a3a; }

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

.focus-modal__tool {
    background: transparent;
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease;
    font-size: 15px;
}
.focus-modal__tool:hover { background: rgba(255,255,255,0.18); }

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

.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: 800; }
.focus-modal__body p { margin: 0 0 1rem; }

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

/* ============================================================
   Inline Related Posts — mid-content "Leia Também"
   ============================================================ */
.inline-related {
    border-left: 3px solid #373737;
    background: #f5f5f5;
    padding: 1rem 1.25rem;
    margin: 1.75rem 0;
    border-radius: 0 2px 2px 0;
}

.inline-related__heading {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #373737;
    margin: 0 0 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inline-related__heading i {
    font-size: 0.85rem;
    color: #595959;
}

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

.inline-related__list li::before {
    content: '·';
    margin-right: 0.45rem;
    color: #777777;
}

.inline-related__list a {
    font-weight: 700;
    color: #373737;
    text-decoration: none;
    transition: color 0.25s ease;
    font-size: 0.95rem;
    line-height: 1.45;
}

.inline-related__list a:hover {
    color: #4d4d4d;
    text-decoration: underline;
}

body.rt-inverted .inline-related {
    background: #2a2a2a;
    border-left-color: #aaaaaa;
}

body.rt-inverted .inline-related__heading,
body.rt-inverted .inline-related__list a {
    color: #e0e0e0;
}

body.rt-inverted .inline-related__list a:hover {
    color: #ffffff;
}
