/* Amazing Theme — Premium News Portal CSS v2.0 */

/* ── Design tokens ────────────────────────────────────────────────────────── */
:root {
    --ink:       #111111;
    --paper:     #ffffff;
    --flame:     #e05a2b;
    --sun:       #f0c93a;
    --grey-50:   #fafaf9;
    --grey-100:  #f5f4f0;
    --grey-200:  #e9e8e4;
    --grey-300:  #d1d0cc;
    --grey-400:  #b8b6b0;
    --grey-600:  #787672;
    --grey-700:  #555452;
    --grey-800:  #3d3c3a;
    --red:       #cc2200;
    --blue:      #0055cc;
    --max-w:     1240px;
    --max-article: 760px;
    --sidebar-w: 300px;
    --gap:       1.5rem;
    --radius:    4px;
    --ff-head:   'Georgia', 'Times New Roman', serif;
    --ff-body:   system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ff-mono:   'Courier New', Courier, monospace;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.10);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
    --trans:     0.18s ease;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--ff-body); background: var(--paper); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* ── Skip link ────────────────────────────────────────────────────────────── */
.amazing-skip-link { position: absolute; top: -100%; left: 0; background: var(--flame); color: #fff; padding: .5rem 1rem; z-index: 9999; font-weight: 700; }
.amazing-skip-link:focus { top: 0; }

/* ── Reading progress bar ─────────────────────────────────────────────────── */
.amazing-progress { position: fixed; top: 0; left: 0; width: 0; height: 3px; background: var(--flame); z-index: 9999; transition: width .1s linear; }

/* ════════════════════════════════════════════════════════════════════════════
   HEADER — JNS News
══════════════════════════════════════════════════════════════════════════════ */

/* Container helper */
.jns-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Topbar ──────────────────────────────────────────────────────────────── */
.jns-topbar { background: #111; color: rgba(255,255,255,.7); display: none; }
@media (min-width: 769px) { .jns-topbar { display: block; } }
.jns-topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 1rem; }
.jns-topbar__date { font-size: .7rem; text-transform: capitalize; letter-spacing: .01em; }
.jns-topbar__social { display: flex; align-items: center; gap: .5rem; }
.jns-topbar__social a { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); transition: all var(--trans); }
.jns-topbar__social a:hover { background: var(--flame); border-color: var(--flame); color: #fff; }

/* ── Sticky header wrapper ───────────────────────────────────────────────── */
.jns-header { background: #fff; position: sticky; top: 0; z-index: 200; transition: box-shadow var(--trans); }
.jns-header--static { position: static; }
.jns-header.is-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.12); }
.admin-bar .jns-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .jns-header { top: 46px; } }

/* ── Brand bar ───────────────────────────────────────────────────────────── */
.jns-header__brand-bar { border-top: 3px solid var(--flame); border-bottom: 1px solid var(--grey-200); }
.jns-header__brand-inner {
    display: flex;
    align-items: center;
    height: 74px;
}
.jns-header__brand { flex-shrink: 0; line-height: 1; }
.jns-header__site-name { font-family: var(--ff-head); font-size: 1.9rem; font-weight: 900; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.jns-header__site-name:hover { color: var(--flame); }
.jns-header__brand .custom-logo-link { display: flex; align-items: center; }
.jns-header__brand .custom-logo { height: 52px; width: auto; }
.jns-header__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

/* Search button */
.jns-search-btn { display: flex; align-items: center; gap: .4rem; padding: .5rem 1.1rem; border: 1.5px solid var(--grey-300); border-radius: 24px; background: transparent; color: var(--grey-700); font-size: .78rem; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: background var(--trans), border-color var(--trans), color var(--trans); }
.jns-search-btn:hover { background: var(--flame); border-color: var(--flame); color: #fff; }

/* Hamburger (mobile only) */
.jns-hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 42px; height: 42px; border: 1.5px solid var(--grey-300); border-radius: var(--radius); background: transparent; cursor: pointer; }
.jns-hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }

/* ── Navigation bar ──────────────────────────────────────────────────────── */
.jns-header__nav-bar { background: #fff; }
.jns-header__nav-bar .jns-wrap { display: flex; align-items: stretch; height: 44px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.jns-header__nav-bar .jns-wrap::-webkit-scrollbar { display: none; }

/* Nav list */
.jns-nav { display: contents; }
.jns-nav__list { display: flex; align-items: stretch; gap: 0; list-style: none; width: 100%; }
.jns-nav__list > li { position: relative; display: flex; }
.jns-nav__list > li > a {
    display: flex;
    align-items: center;
    padding: 0 .8rem;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #444;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color var(--trans), border-color var(--trans);
}
.jns-nav__list > li > a:hover,
.jns-nav__list .current-menu-item > a,
.jns-nav__list .current_page_item > a,
.jns-nav__list .current-menu-ancestor > a { color: var(--flame); border-bottom-color: var(--flame); }

/* Dropdown */
.jns-nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--grey-200); border-top: 3px solid var(--flame); box-shadow: 0 8px 24px rgba(0,0,0,.12); opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .15s, transform .15s; z-index: 300; list-style: none; padding: .4rem 0; }
.jns-nav__list > li:hover > .sub-menu,
.jns-nav__list > li:focus-within > .sub-menu { opacity: 1; pointer-events: all; transform: none; }
.jns-nav__list .sub-menu a { display: block; padding: .6rem 1.1rem; font-size: .8rem; font-weight: 600; color: var(--ink); border-left: 3px solid transparent; transition: all var(--trans); white-space: nowrap; }
.jns-nav__list .sub-menu a:hover { color: var(--flame); border-left-color: var(--flame); padding-left: 1.3rem; background: var(--grey-50); }

/* ── Search overlay ──────────────────────────────────────────────────────── */
.amazing-search-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); z-index: 500; display: flex; align-items: flex-start; justify-content: center; padding-top: 120px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.amazing-search-overlay.is-open { opacity: 1; pointer-events: all; }
.amazing-search-overlay__box { width: 100%; max-width: 620px; padding: 0 1.25rem; }

/* Título acima da caixa */
.amazing-search-overlay__box::before { content: 'O que você procura?'; display: block; color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; letter-spacing: .01em; }

/* Formulário */
.amazing-search-overlay__box .search-form { display: flex; align-items: stretch; background: #fff; border-radius: 50px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.45); }
.amazing-search-overlay__box .search-field { flex: 1; min-width: 0; border: none; padding: 1rem 1.4rem; font-size: 1rem; background: transparent; outline: none; color: #1a1a1a; }
.amazing-search-overlay__box .search-field::placeholder { color: #aaa; }
.amazing-search-overlay__box .search-submit { display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0; border: none; background: var(--flame); color: #fff; padding: 1rem 1.6rem; font-size: .88rem; font-weight: 700; cursor: pointer; border-radius: 0 50px 50px 0; transition: background var(--trans); white-space: nowrap; }
.amazing-search-overlay__box .search-submit:hover { background: #c44e22; }
.amazing-search-overlay__box .search-submit__text { display: inline; }

/* Fechar overlay clicando fora */
.amazing-search-overlay__backdrop { position: absolute; inset: 0; z-index: -1; cursor: pointer; }

/* ── Breaking news ───────────────────────────────────────────────────────── */
.amazing-breaking { background: var(--red); color: #fff; display: flex; align-items: center; overflow: hidden; height: 36px; font-size: .78rem; font-weight: 600; }
.amazing-breaking__label { background: #111; padding: 0 1rem; height: 100%; display: flex; align-items: center; gap: .4rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; flex-shrink: 0; white-space: nowrap; }
.amazing-breaking__ticker { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; padding: 0 1rem; }
.amazing-breaking__text { white-space: nowrap; animation: ticker 22s linear infinite; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ── Mobile nav drawer ───────────────────────────────────────────────────── */
.jns-mobile-nav { background: #fff; border-bottom: 3px solid var(--flame); position: sticky; top: 74px; z-index: 199; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.jns-mobile-nav[hidden] { display: none; }
.jns-mobile-nav__list { padding: .25rem 1.5rem .75rem; list-style: none; }
.jns-mobile-nav__list li { border-bottom: 1px solid var(--grey-100); }
.jns-mobile-nav__list li:last-child { border-bottom: none; }
.jns-mobile-nav__list a { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; font-size: .95rem; font-weight: 600; color: var(--ink); transition: color var(--trans); }
.jns-mobile-nav__list a:hover { color: var(--flame); }
.jns-mobile-nav__list .current-menu-item > a { color: var(--flame); }

/* ── Legacy class aliases (backward compat) ──────────────────────────────── */
.amazing-header { background: #fff; }
.amazing-header__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; }
.amazing-nav { display: flex; }
.amazing-nav__list { display: flex; align-items: center; list-style: none; }
.amazing-hamburger { display: none; }

/* ════════════════════════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════════════════════════ */
.amazing-page { max-width: var(--max-w); margin: 0 auto; padding: 2rem 1.5rem; }
.amazing-layout { display: grid; gap: 2rem; }
.amazing-layout--sidebar-right  { grid-template-columns: 1fr var(--sidebar-w); }
.amazing-layout--sidebar-left   { grid-template-columns: var(--sidebar-w) 1fr; }
.amazing-layout--sidebar-left .amazing-sidebar { order: -1; }
.amazing-content { min-width: 0; }

/* ════════════════════════════════════════════════════════════════════════════
   HOMEPAGE HERO
══════════════════════════════════════════════════════════════════════════════ */
.amazing-hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    aspect-ratio: 16 / 7;
    max-height: 520px;
}
.amazing-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .6s ease, opacity .4s; }
.amazing-hero:hover .amazing-hero__img { transform: scale(1.03); opacity: .7; }
.amazing-hero__body {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 55%, transparent 100%);
    color: #fff;
}
.amazing-hero__cat { display: inline-block; align-self: flex-start; background: var(--flame); color: #fff; font-size: .56rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .09rem .35rem; margin-bottom: .55rem; border-radius: 2px; opacity: .92; }
.amazing-hero__title { font-family: var(--ff-head); font-size: clamp(1.5rem, 3.5vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; margin-bottom: .75rem; color: #fff; }
.amazing-hero__title a { color: inherit; }
.amazing-hero__title a:hover { color: var(--sun); }
.amazing-hero__meta { display: flex; gap: 1rem; font-size: .78rem; opacity: .85; }

/* Hero grid (1 grande + 2 pequenos) */
.amazing-hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3px; background: var(--grey-200); margin-bottom: 2rem; }
.amazing-hero-grid__secondary { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; }
.amazing-hero-grid .amazing-hero { aspect-ratio: unset; max-height: none; height: 100%; }
.amazing-hero-grid .amazing-hero--sm { aspect-ratio: 3/2; }
.amazing-hero-grid .amazing-hero--sm .amazing-hero__title { font-size: clamp(1rem, 1.5vw, 1.3rem); }
.amazing-hero-grid .amazing-hero--sm .amazing-hero__body { padding: 1rem; }

/* ════════════════════════════════════════════════════════════════════════════
   SECTION HEADING
══════════════════════════════════════════════════════════════════════════════ */
.amazing-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--ink);
}
.amazing-section-head__title {
    font-family: var(--ff-head);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.amazing-section-head__title::before { content: ''; display: block; width: 4px; height: 1em; background: var(--flame); }
.amazing-section-head__more { font-size: .78rem; font-weight: 700; color: var(--flame); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid transparent; transition: border-color var(--trans); }
.amazing-section-head__more:hover { border-color: var(--flame); }

/* ════════════════════════════════════════════════════════════════════════════
   CARD
══════════════════════════════════════════════════════════════════════════════ */
@keyframes cardReveal {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

.amazing-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--grey-200);
    border-radius: 10px;
    overflow: hidden;
    transition: transform var(--trans), box-shadow var(--trans);
    box-shadow: var(--shadow-sm);
    animation: cardReveal .35s ease both;
}

/* Stagger: cada card no grid atrasa um pouco (até 6 itens) */
.amazing-grid__item:nth-child(2) .amazing-card { animation-delay: .05s; }
.amazing-grid__item:nth-child(3) .amazing-card { animation-delay: .10s; }
.amazing-grid__item:nth-child(4) .amazing-card { animation-delay: .12s; }
.amazing-grid__item:nth-child(5) .amazing-card { animation-delay: .14s; }
.amazing-grid__item:nth-child(6) .amazing-card { animation-delay: .16s; }

.amazing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.13);
}

/* Thumbnail wrapper — relative para badge absoluto */
.amazing-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    flex-shrink: 0;
    position: relative;
    background: var(--grey-200);
}

.amazing-card__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}

.amazing-card:hover .amazing-card__thumb-img { transform: scale(1.06); }

/* Placeholder when no thumbnail */
.amazing-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--grey-100) 0%, var(--grey-200) 100%);
}

/* Category badge — acima do título, clicável */
.amazing-card__cat-badge {
    display: inline-block;
    background: var(--flame);
    color: #fff;
    font-size: .52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .12rem .42rem;
    border-radius: 2px;
    line-height: 1.4;
    text-decoration: none;
    margin-bottom: .35rem;
    transition: background var(--trans);
}
.amazing-card__cat-badge:hover { background: #c0421b; color: #fff; }

/* Gradient scrim on image bottom (readability of badge) */
.amazing-card__thumb::after {
    content: '';
    position: absolute;
    inset: 50% 0 0 0;
    background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Card body */
.amazing-card__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    flex: 1;
}

/* Legacy cat (used in card-h) */
.amazing-card__cat {
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--flame);
}

.amazing-card__title {
    font-family: var(--ff-head);
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.amazing-card__title a { color: var(--ink); }

.amazing-card__title a:hover { color: var(--flame); }

.amazing-card__excerpt {
    font-size: .82rem;
    color: var(--grey-600);
    line-height: 1.55;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.amazing-card__meta {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .7rem;
    color: var(--grey-400);
    margin-top: auto;
    padding-top: .65rem;
    border-top: 1px solid var(--grey-100);
    flex-wrap: wrap;
}

.amazing-card__date,
.amazing-card__time,
.amazing-card__views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.amazing-card__date svg,
.amazing-card__time svg,
.amazing-card__views svg { flex-shrink: 0; }

.amazing-card__sep {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--grey-400);
    flex-shrink: 0;
}

/* Card horizontal */
.amazing-card--h { flex-direction: row; }
.amazing-card--h .amazing-card__thumb { width: 110px; min-height: 90px; flex-shrink: 0; aspect-ratio: unset; border-radius: 0; }
.amazing-card--h .amazing-card__thumb::after { display: none; }
.amazing-card--h .amazing-card__body { padding: .7rem .75rem; }
.amazing-card--h .amazing-card__title { font-size: .85rem; }
.amazing-card--h .amazing-card__excerpt { display: none; }
.amazing-card--h .amazing-card__meta { padding-top: .35rem; }

/* Card numbered (trending) */
.amazing-card--numbered {
    border: none;
    border-bottom: 1px solid var(--grey-100);
    border-radius: 0;
    box-shadow: none;
    animation: none;
    padding: .75rem 0;
    gap: .75rem;
    flex-direction: row;
    align-items: center;
}
.amazing-card--numbered .amazing-card__num { font-family: var(--ff-head); font-size: 1.8rem; color: var(--grey-200); line-height: 1; flex-shrink: 0; width: 2rem; text-align: center; }
.amazing-card--numbered:first-child .amazing-card__num { color: var(--flame); }
.amazing-card--numbered .amazing-card__body { padding: 0; border: none; }
.amazing-card--numbered:hover { transform: none; box-shadow: none; }

/* ════════════════════════════════════════════════════════════════════════════
   GRID
══════════════════════════════════════════════════════════════════════════════ */
.amazing-grid { display: grid; gap: var(--gap); list-style: none; padding: 0; margin: 0; }
.amazing-grid--2 { grid-template-columns: repeat(2, 1fr); }
.amazing-grid--3 { grid-template-columns: repeat(3, 1fr); }
.amazing-grid--4 { grid-template-columns: repeat(4, 1fr); }
.amazing-grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* Grid 4 cols → 2 cols em tablet, 2 cols em mobile */
@media (max-width: 900px) { .amazing-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .amazing-grid--4 { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

/* ── Category overlay cards (home category sections) ── */
.amazing-cat-ol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    list-style: none;
    padding: 0; margin: 0;
}

.amazing-cat-ol-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--grey-200);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans), box-shadow var(--trans);
}
.amazing-cat-ol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.amazing-cat-ol-card__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.amazing-cat-ol-card:hover .amazing-cat-ol-card__img { transform: scale(1.07); }

.amazing-cat-ol-card__placeholder {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--grey-100), var(--grey-300));
}

.amazing-cat-ol-card__overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: .85rem .75rem .65rem;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.22) 55%, transparent 100%);
}

.amazing-cat-ol-card__badge {
    display: inline-block; align-self: flex-start;
    background: var(--flame); color: #fff;
    font-size: .55rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    padding: .1rem .42rem; border-radius: 2px; margin-bottom: .35rem;
}

.amazing-cat-ol-card__title {
    font-family: var(--ff-head);
    font-size: clamp(.78rem, 1.4vw, .92rem);
    font-weight: 700; color: #fff; line-height: 1.25; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

@media (max-width: 900px) { .amazing-cat-ol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .amazing-cat-ol-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; } }

/* Section: editorial grid (1 principal + lateral) */
.amazing-editorial { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
.amazing-editorial__main .amazing-card__thumb { aspect-ratio: 16/9; }
.amazing-editorial__main .amazing-card__title { font-size: 1.2rem; }
.amazing-editorial__main .amazing-card__excerpt { -webkit-line-clamp: 3; }
.amazing-editorial__list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; }
.amazing-editorial__list .amazing-card--h:last-child { border-bottom: none; }


/* ════════════════════════════════════════════════════════════════════════════
   TAG / BADGE
══════════════════════════════════════════════════════════════════════════════ */
.amazing-tag {
    display: inline-block;
    background: var(--flame);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: .18rem .55rem;
    border-radius: 2px;
    transition: background var(--trans);
}
.amazing-tag:hover { background: var(--ink); }
.amazing-tag--ghost { background: transparent; color: var(--grey-600); border: 1px solid var(--grey-200); }
.amazing-tag--ghost:hover { background: var(--grey-100); color: var(--ink); }

/* ════════════════════════════════════════════════════════════════════════════
   ARCHIVE HEADER
══════════════════════════════════════════════════════════════════════════════ */
.amazing-archive-header { margin-bottom: 2rem; padding: 2rem; background: var(--grey-100); border-left: 4px solid var(--flame); }
.amazing-archive-title { font-family: var(--ff-head); font-size: clamp(1.5rem, 4vw, 2.5rem); letter-spacing: -.03em; }
.amazing-archive-description { margin-top: .5rem; color: var(--grey-600); font-size: .9rem; }
.amazing-archive-count { margin-top: .35rem; font-size: .8rem; color: var(--grey-400); }
.amazing-subcats { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.amazing-subcats__count { opacity: .6; font-size: .9em; }

/* Sub-categorias em cards visuais (dentro da página de categoria) */
.amazing-subcats--cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: .75rem;
    margin-top: 1.1rem;
    margin-bottom: .5rem;
}
.amazing-subcat-card {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans), box-shadow var(--trans);
}
.amazing-subcat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.amazing-subcat-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--grey-200);
    overflow: hidden;
}
.amazing-subcat-card__media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.amazing-subcat-card:hover .amazing-subcat-card__media img { transform: scale(1.08); }
.amazing-subcat-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--grey-100), var(--grey-300)); }

.amazing-subcat-card__overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: .65rem .6rem .55rem;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
}
.amazing-subcat-card__name {
    font-family: var(--ff-head);
    font-size: .85rem; font-weight: 700;
    color: #fff; line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.amazing-subcat-card__count {
    font-size: .64rem; color: rgba(255,255,255,.75); margin-top: .2rem;
}
/* Orange accent bar at bottom on hover */
.amazing-subcat-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--flame);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--trans);
}
.amazing-subcat-card:hover::after { transform: scaleX(1); }

@media (max-width: 600px) {
    .amazing-subcats--cards { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: .5rem; }
}

/* ════════════════════════════════════════════════════════════════════════════
   SINGLE ARTICLE
══════════════════════════════════════════════════════════════════════════════ */
.amazing-article__hero { margin: 0 0 2rem; overflow: hidden; border-radius: var(--radius); }
.amazing-article__hero-img { width: 100%; max-height: 500px; object-fit: cover; }
.amazing-article__header { margin-bottom: 1.5rem; }
.amazing-article__cats { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .75rem; }
.amazing-article__title { font-family: var(--ff-head); font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1rem; }
.amazing-article__deck { font-size: 1.15rem; color: var(--grey-600); line-height: 1.6; margin-bottom: 1.25rem; border-left: 3px solid var(--flame); padding-left: 1rem; }
.amazing-article__meta {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: .75rem 1.25rem;
    font-size: .8rem; color: var(--grey-600);
    padding: .85rem 0;
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
    margin-bottom: 1.75rem;
}
.amazing-article__author { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); }
.amazing-article__author img { border-radius: 50%; width: 28px; height: 28px; }
.amazing-article__share { display: flex; gap: .3rem; margin-left: auto; align-items: center; }
.amazing-share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 7px;
    color: #fff; border: none; cursor: pointer;
    transition: opacity var(--trans), transform var(--trans);
    flex-shrink: 0;
    text-decoration: none;
}
.amazing-share-btn:hover { opacity: .82; transform: translateY(-1px); color: #fff; }
.amazing-share-btn--fb   { background: #1877f2; }
.amazing-share-btn--tw   { background: #111; }
.amazing-share-btn--wa   { background: #25d366; }
.amazing-share-btn--copy { background: var(--grey-500); }

/* Article body typography */
.amazing-article__content { font-size: 1.05rem; line-height: 1.8; color: var(--grey-800); max-width: var(--max-article); }
.amazing-article__content > * + * { margin-top: 1.35rem; }
.amazing-article__content h2 { font-family: var(--ff-head); font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); border-left: 4px solid var(--flame); padding-left: .75rem; }
.amazing-article__content h3 { font-family: var(--ff-head); font-size: 1.2rem; color: var(--ink); }
.amazing-article__content a { color: var(--flame); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.amazing-article__content a:hover { color: var(--ink); }
.amazing-article__content ul { padding-left: 0; list-style: none; }
.amazing-article__content ol { padding-left: 1.5rem; }
.amazing-article__content ul li {
    list-style: none;
    background: rgba(224,90,43,.07);
    border-left: 3px solid var(--flame);
    padding: .38rem .75rem;
    border-radius: 0 4px 4px 0;
    margin-bottom: .4rem;
    color: var(--grey-800);
}
.amazing-article__content ul li:hover { background: rgba(224,90,43,.13); }
.amazing-article__content ol li { list-style: decimal; margin-bottom: .4rem; }
.amazing-article__content blockquote {
    border-left: 4px solid var(--flame);
    padding: 1rem 1.5rem;
    background: var(--grey-50);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--grey-800);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.amazing-article__content pre {
    background: #1a1a2e;
    color: #e2e2e2;
    padding: 1.25rem;
    overflow-x: auto;
    font-family: var(--ff-mono);
    font-size: .85rem;
    line-height: 1.6;
    border-radius: var(--radius);
}
.amazing-article__content code {
    background: var(--grey-100);
    padding: .1em .35em;
    font-family: var(--ff-mono);
    font-size: .875em;
    border-radius: 2px;
    color: var(--flame);
}
.amazing-article__content pre code { background: none; color: inherit; padding: 0; }
.amazing-article__content img { border-radius: var(--radius); }
.amazing-article__content figure { margin: 0; }
.amazing-article__content figcaption { font-size: .8rem; color: var(--grey-600); text-align: center; margin-top: .4rem; }
.amazing-article__content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.amazing-article__content th, .amazing-article__content td { padding: .6rem; border: 1px solid var(--grey-200); text-align: left; }
.amazing-article__content th { background: var(--grey-100); font-weight: 700; }

.amazing-article__footer { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--grey-200); }
.amazing-article__tags { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.amazing-article__tags-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; color: var(--grey-600); margin-right: .25rem; }

/* Author box */
.amazing-author-box {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    margin: 2rem 0;
}
.amazing-author-box__avatar { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.amazing-author-box__name { font-family: var(--ff-head); font-size: 1rem; margin-bottom: .3rem; }
.amazing-author-box__bio { font-size: .85rem; color: var(--grey-600); line-height: 1.5; }

/* Post navigation */
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--grey-200); border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; margin: 2rem 0; }
.nav-previous, .nav-next { padding: 1.1rem 1.25rem; background: var(--paper); transition: background var(--trans); }
.nav-next { text-align: right; }
.nav-previous:hover, .nav-next:hover { background: var(--grey-50); }
.nav-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-600); margin-bottom: .3rem; }
.nav-title { font-family: var(--ff-head); font-size: .9rem; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Related */
.amazing-related { margin-top: 2.5rem; }
.amazing-related__title { font-family: var(--ff-head); font-size: 1.1rem; margin-bottom: 1.25rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); display: flex; align-items: center; gap: .5rem; }
.amazing-related__title::before { content: ''; display: block; width: 4px; height: 1em; background: var(--flame); }
.amazing-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--gap); }

/* ════════════════════════════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════════════════════════════ */
.amazing-sidebar { display: flex; flex-direction: column; gap: 1.75rem; }
.widget { }
.widget-title {
    font-family: var(--ff-head);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: .4rem;
}
.widget-title::before { content: ''; display: block; width: 3px; height: .9em; background: var(--flame); }
.widget ul { display: flex; flex-direction: column; }
.widget ul li { border-bottom: 1px solid var(--grey-100); }
.widget ul li:last-child { border-bottom: none; }
.widget ul a { display: block; padding: .55rem 0; font-size: .85rem; color: var(--grey-800); transition: color var(--trans); }
.widget ul a:hover { color: var(--flame); padding-left: .3rem; }

/* ════════════════════════════════════════════════════════════════════════════
   NEWSLETTER WIDGET
══════════════════════════════════════════════════════════════════════════════ */
.amazing-newsletter {
    background: #f9f7f5;
    color: #222;
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid #e8e4e0;
}
.amazing-newsletter__title { font-family: var(--ff-head); font-size: 1.1rem; margin-bottom: .4rem; color: #111; }
.amazing-newsletter__desc { font-size: .82rem; color: #666; margin-bottom: 1rem; }
.amazing-newsletter__form { display: flex; flex-direction: column; gap: .5rem; }
.amazing-newsletter__input {
    border: 1.5px solid #d4d0cb;
    background: #fff;
    color: #222;
    padding: .65rem .9rem;
    border-radius: var(--radius);
    font-size: .88rem;
    outline: none;
    transition: border-color var(--trans);
}
.amazing-newsletter__input::placeholder { color: #aaa; }
.amazing-newsletter__input:focus { border-color: var(--flame); }
.amazing-newsletter__btn {
    background: var(--flame);
    color: #fff;
    border: none;
    padding: .7rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    transition: background var(--trans);
}
.amazing-newsletter__btn:hover { background: #c44e22; }

/* ════════════════════════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════════════════════════ */
.navigation.pagination { margin: 2.5rem 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; justify-content: center; }
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.2rem; height: 2.2rem;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    font-size: .85rem;
    font-weight: 600;
    padding: 0 .5rem;
    color: var(--grey-800);
    transition: all var(--trans);
}
.page-numbers:hover { background: var(--flame); color: #fff; border-color: var(--flame); }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-numbers.dots { border-color: transparent; }

/* ════════════════════════════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════════════════════════════ */
.amazing-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .78rem; color: var(--grey-400); margin-bottom: 1.25rem; }
.amazing-breadcrumb a { color: var(--grey-600); transition: color var(--trans); }
.amazing-breadcrumb a:hover { color: var(--flame); }
.amazing-breadcrumb .sep { color: var(--grey-400); }

/* ════════════════════════════════════════════════════════════════════════════
   SEARCH FORM
══════════════════════════════════════════════════════════════════════════════ */
.search-form { display: flex; align-items: stretch; border: 1.5px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.search-form .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.search-field { flex: 1; min-width: 0; border: none; padding: .65rem 1rem; font-size: .9rem; background: transparent; outline: none; color: var(--ink); }
.search-field::placeholder { color: var(--grey-400); }
.search-submit { display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; border: none; border-left: 1.5px solid var(--grey-200); background: var(--grey-50); color: var(--grey-700); padding: .65rem 1.1rem; font-size: .85rem; font-weight: 700; cursor: pointer; transition: background var(--trans), color var(--trans), border-color var(--trans); }
.search-submit:hover { background: var(--flame); color: #fff; border-color: var(--flame); }
.search-submit__text { font-size: .85rem; }

/* ════════════════════════════════════════════════════════════════════════════
   COMMENTS
══════════════════════════════════════════════════════════════════════════════ */
.amazing-comments { margin-top: 2.5rem; padding-top: 2rem; border-top: 2px solid var(--grey-200); }
.amazing-comments__title { font-family: var(--ff-head); font-size: 1.1rem; margin-bottom: 1.5rem; }
.amazing-comment-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.comment { padding: 1rem; background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: var(--radius); }
.comment-author { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 700; font-size: .9rem; font-style: normal; }
.comment-meta { font-size: .75rem; color: var(--grey-400); }
.comment-content p { font-size: .9rem; color: var(--grey-800); }
.comment-form label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .3rem; color: var(--grey-800); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: .65rem .85rem; font-size: .9rem; background: var(--paper); color: var(--ink); margin-bottom: 1rem; transition: border-color var(--trans); }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--flame); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.amazing-btn--primary { background: var(--flame); color: #fff; border: none; padding: .7rem 1.75rem; border-radius: var(--radius); font-weight: 700; font-size: .9rem; cursor: pointer; transition: background var(--trans); }
.amazing-btn--primary:hover { background: #c44e22; }

/* ════════════════════════════════════════════════════════════════════════════
   404
══════════════════════════════════════════════════════════════════════════════ */
.amazing-404 { text-align: center; padding: 5rem 2rem; }
.amazing-404__code { font-family: var(--ff-head); font-size: clamp(6rem, 15vw, 10rem); line-height: 1; color: var(--grey-100); letter-spacing: -.05em; }
.amazing-404__title { font-family: var(--ff-head); font-size: 2rem; margin: 1rem 0; }
.amazing-404__description { color: var(--grey-600); max-width: 440px; margin: 0 auto 2rem; }

/* No results */
.amazing-no-results { text-align: center; padding: 3rem; background: var(--grey-50); border-radius: var(--radius); border: 1px solid var(--grey-200); }
.amazing-no-results__title { font-family: var(--ff-head); font-size: 1.4rem; margin-bottom: .75rem; }
.amazing-no-results__description { color: var(--grey-600); margin-bottom: 1.5rem; }

/* ════════════════════════════════════════════════════════════════════════════
   ADS
══════════════════════════════════════════════════════════════════════════════ */
.amazing-ad { text-align: center; margin: 1.5rem 0; }
.amazing-ad-placeholder { border: 1px dashed var(--grey-400); padding: 1.25rem; text-align: center; color: var(--grey-600); font-size: .78rem; background: var(--grey-50); border-radius: var(--radius); }
.amazing-ad-placeholder span { display: block; font-weight: 700; margin-bottom: .25rem; color: var(--grey-800); }
.amazing-infeed-ad { grid-column: 1 / -1; }

/* ════════════════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════════════════ */
.amazing-footer { background: #f5f5f5; color: #444; margin-top: 3rem; border-top: 3px solid var(--flame); }

/* Brand zone */
.amazing-footer__brand { border-bottom: 1px solid rgba(0,0,0,.08); padding: 1.25rem 0; }
.amazing-footer__brand-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.amazing-footer__identity { display: flex; flex-direction: column; gap: .25rem; }
.amazing-footer__logo { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.amazing-footer__logo:hover { color: var(--flame); }
.amazing-footer__tagline { font-size: .78rem; color: #888; max-width: 320px; line-height: 1.4; margin: 0; }

/* Social icons — min 44×44px (WCAG 2.5.5 touch target) */
.amazing-footer__social { display: flex; gap: .15rem; align-items: center; }
.amazing-footer__social a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1.5px solid rgba(0,0,0,.12); border-radius: 50%; color: #555; transition: all var(--trans); }
.amazing-footer__social a:hover { background: var(--flame); border-color: var(--flame); color: #fff; transform: translateY(-2px); }
.amazing-footer__social svg { flex-shrink: 0; }

/* Widget columns */
.amazing-footer__widgets { padding: 1.25rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.amazing-footer__grid { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.5rem; }
.amazing-footer .widget-title { color: var(--ink); font-size: .85rem; }
.amazing-footer .widget-title::before { background: var(--flame); }
.amazing-footer .widget a { color: #555; }
.amazing-footer .widget a:hover { color: var(--flame); padding-left: .3rem; }
.amazing-footer .widget li { border-color: rgba(0,0,0,.07); }

/* Bottom bar */
.amazing-footer__bottom { padding: .6rem 0; background: #f5f5f5; border-top: 1px solid rgba(0,0,0,.08); }
.amazing-footer__bottom-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.amazing-footer__copy { font-size: .72rem; color: #888; }
.amazing-footer__copy strong { color: #555; font-weight: 600; }
.amazing-footer__nav-list { display: flex; flex-wrap: wrap; gap: 0; list-style: none; }
.amazing-footer__nav-list li + li::before { content: '·'; color: #ccc; padding: 0 .3rem; }
.amazing-footer__nav-list a { font-size: .72rem; color: #888; transition: color var(--trans); }
.amazing-footer__nav-list a:hover { color: var(--flame); }

/* ════════════════════════════════════════════════════════════════════════════
   PAGE CONTENT
══════════════════════════════════════════════════════════════════════════════ */
.amazing-page-content__header { margin-bottom: 2rem; }
.amazing-page-content__title { font-family: var(--ff-head); font-size: clamp(1.5rem, 4vw, 2.5rem); border-left: 4px solid var(--flame); padding-left: .75rem; }
.amazing-page-content__hero { overflow: hidden; border-radius: var(--radius); margin-bottom: 2rem; }
.amazing-page-content__hero-img { width: 100%; max-height: 400px; object-fit: cover; }
.amazing-page-content__body { font-size: 1.05rem; line-height: 1.8; max-width: var(--max-article); color: var(--grey-800); }
.amazing-page-content__body > * + * { margin-top: 1.25rem; }
.amazing-page-content__body h2 { font-family: var(--ff-head); color: var(--ink); border-left: 4px solid var(--flame); padding-left: .75rem; }
.amazing-page-content__body a { color: var(--flame); text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════════════
   SKELETON LOADER
══════════════════════════════════════════════════════════════════════════════ */
.skeleton { background: linear-gradient(90deg, var(--grey-100) 25%, var(--grey-200) 37%, var(--grey-100) 63%); background-size: 400% 100%; animation: skeleton-shine 1.4s ease infinite; border-radius: var(--radius); }
@keyframes skeleton-shine { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ════════════════════════════════════════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════════════════════════════════════════ */
.amazing-scroll-top {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    width: 40px; height: 40px;
    background: var(--ink); color: #fff;
    border: none; border-radius: var(--radius);
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s;
    z-index: 200;
    box-shadow: var(--shadow-md);
}
.amazing-scroll-top.is-visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.amazing-scroll-top:hover { background: var(--flame); }

/* ════════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY
══════════════════════════════════════════════════════════════════════════════ */
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ════════════════════════════════════════════════════════════════════════════
   WORDPRESS CORE
══════════════════════════════════════════════════════════════════════════════ */
.alignleft  { float: left;  margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem;  margin-bottom: 1rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: var(--grey-600); text-align: center; margin-top: .4rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.gallery-item img { width: 100%; height: auto; border-radius: var(--radius); }
.wp-block-image img { border-radius: var(--radius); }
.is-style-rounded img { border-radius: 50%; }

/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .amazing-layout--sidebar-right,
    .amazing-layout--sidebar-left { grid-template-columns: 1fr; }
    .amazing-layout--sidebar-left .amazing-sidebar { order: unset; }
    .amazing-sidebar { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .amazing-hero-grid { grid-template-columns: 1fr; }
    .amazing-hero-grid__secondary { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
    .amazing-editorial { grid-template-columns: 1fr; }
    .amazing-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    /* Header mobile */
    .jns-header__brand-inner { height: 58px; }
    .jns-header__nav-bar { display: none; }
    .jns-search-btn__label { display: none; }
    .jns-search-btn { padding: .45rem .55rem; border-radius: var(--radius); gap: 0; }
    .jns-hamburger { display: flex; }
    .jns-mobile-nav { top: 61px; /* 3px border-top + 58px brand bar */ }
    /* Content */
    .amazing-grid--3, .amazing-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .amazing-hero__title { font-size: clamp(1.1rem, 3.5vw, 1.6rem); }
    .amazing-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .post-navigation { grid-template-columns: 1fr; }
    .nav-next { text-align: left; border-top: 1px solid var(--grey-200); }
    .amazing-article__share { display: none; }
}
@media (max-width: 480px) {
    .amazing-page { padding: 1.25rem 1rem; }
    .amazing-grid--2, .amazing-grid--3, .amazing-grid--4 { grid-template-columns: 1fr; }
    .amazing-hero-grid__secondary { grid-template-columns: 1fr; }
    .amazing-footer__brand-inner { flex-direction: column; gap: 1rem; }
    .amazing-footer__grid { grid-template-columns: 1fr; }
    .amazing-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
    .amazing-hero { aspect-ratio: 4/3; }
}

/* ════════════════════════════════════════════════════════════════════════════
   LGPD / COOKIE BANNER
══════════════════════════════════════════════════════════════════════════════ */
.amazing-lgpd {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--ink);
    color: #fff;
    padding: .85rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,.25);
    animation: lgpdSlide .3s ease;
}
@keyframes lgpdSlide { from { transform: translateY(100%); } to { transform: translateY(0); } }
.amazing-lgpd__inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.amazing-lgpd__text { flex: 1; font-size: .82rem; line-height: 1.5; opacity: .9; min-width: 180px; }
.amazing-lgpd__link { color: var(--sun); text-decoration: underline; margin-left: .3rem; }
.amazing-lgpd__actions { display: flex; gap: .45rem; flex-shrink: 0; }
.amazing-lgpd__btn { padding: .45rem 1rem; border-radius: var(--radius); font-size: .8rem; font-weight: 700; cursor: pointer; border: none; transition: all var(--trans); }
.amazing-lgpd__btn--accept { background: var(--flame); color: #fff; }
.amazing-lgpd__btn--accept:hover { background: #c44e22; }
.amazing-lgpd__btn--reject { background: transparent; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.22); }
.amazing-lgpd__btn--reject:hover { background: rgba(255,255,255,.08); }

/* ════════════════════════════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
══════════════════════════════════════════════════════════════════════════════ */
.amazing-whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 4.75rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.22);
    z-index: 200;
    transition: transform var(--trans), box-shadow var(--trans);
}
.amazing-whatsapp-float:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,.28); }

/* ════════════════════════════════════════════════════════════════════════════
   KEYWORD HIGHLIGHTS (artigos)
══════════════════════════════════════════════════════════════════════════════ */
.amazing-kw {
    position: relative;
    cursor: help;
    border-radius: 2px;
    padding: 0 1px;
    transition: background var(--trans);
    display: inline;
}
.amazing-kw--focus {
    background: rgba(224,90,43,.14);
    border-bottom: 2px solid var(--flame);
}
.amazing-kw--related {
    background: rgba(240,201,58,.18);
    border-bottom: 2px solid var(--sun);
}
.amazing-kw__tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    font-size: .65rem;
    font-weight: 600;
    white-space: nowrap;
    padding: .22rem .55rem;
    border-radius: var(--radius);
    pointer-events: none;
    z-index: 50;
    font-family: var(--ff-body);
}
.amazing-kw__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--ink);
}
.amazing-kw:hover .amazing-kw__tooltip,
.amazing-kw:focus-visible .amazing-kw__tooltip { display: block; }
.amazing-kw-wrap { display: contents; }

/* ════════════════════════════════════════════════════════════════════════════
   CONTACT FORM  [amazing_contact_form]
══════════════════════════════════════════════════════════════════════════════ */
.amazing-cf-wrap { max-width: 680px; margin: 0 auto; }

.amazing-cf-success,
.amazing-cf-error {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.amazing-cf-success { background: #e6f7ee; color: #1a6b3a; border: 1px solid #a8d9bc; }
.amazing-cf-error   { background: #fde8e8; color: #9b1c1c; border: 1px solid #f5c6c6; }
.amazing-cf-success svg,
.amazing-cf-error svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: .1rem; }

.amazing-cf__honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.amazing-cf__row { display: grid; gap: 1rem; }
.amazing-cf__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .amazing-cf__row--2 { grid-template-columns: 1fr; } }

.amazing-cf__field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.amazing-cf__field label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--grey-700, #555);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.amazing-cf__field label span { color: var(--flame); margin-left: .15rem; }

.amazing-cf__field input,
.amazing-cf__field textarea {
    width: 100%;
    padding: .65rem .85rem;
    border: 1.5px solid var(--grey-300, #d1d0cc);
    border-radius: var(--radius);
    font-family: var(--ff-body);
    font-size: .95rem;
    color: var(--ink);
    background: #fff;
    transition: border-color var(--trans), box-shadow var(--trans);
    outline: none;
    resize: vertical;
    box-sizing: border-box;
}
.amazing-cf__field input:focus,
.amazing-cf__field textarea:focus {
    border-color: var(--flame);
    box-shadow: 0 0 0 3px rgba(224,90,43,.15);
}
.amazing-cf__field input::placeholder,
.amazing-cf__field textarea::placeholder { color: var(--grey-600, #888); }

.amazing-cf__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .25rem;
}
.amazing-cf__required { font-size: .78rem; color: var(--grey-600, #888); margin: 0; }

.amazing-cf__btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--flame);
    color: #fff;
    border: none;
    padding: .7rem 1.6rem;
    border-radius: var(--radius);
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--trans), transform var(--trans);
    letter-spacing: .03em;
}
.amazing-cf__btn svg { width: 1rem; height: 1rem; }
.amazing-cf__btn:hover  { background: #c44e22; transform: translateY(-1px); }
.amazing-cf__btn:active { transform: translateY(0); }

/* ════════════════════════════════════════════════════════════════════════════
   SKELETON LOADING
══════════════════════════════════════════════════════════════════════════════ */
@keyframes amz-shimmer {
    0%   { background-position: -600px 0 }
    100% { background-position: 600px 0 }
}
.amz-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 1200px 100%;
    animation: amz-shimmer 1.4s infinite linear;
    border-radius: var(--radius);
}
.amz-skeleton-card { padding: 0; overflow: hidden; }
.amz-skeleton-card__img  { aspect-ratio: 16/9; width: 100%; }
.amz-skeleton-card__line { height: 12px; margin: 8px 12px; border-radius: 6px; }
.amz-skeleton-card__line--wide  { width: 80%; }
.amz-skeleton-card__line--short { width: 50%; }
.amz-skeleton-card__line--xshort { width: 30%; margin-top: 14px; }

/* ════════════════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS (IntersectionObserver adds .is-visible)
══════════════════════════════════════════════════════════════════════════════ */
.amazing-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.amazing-reveal.is-visible {
    opacity: 1;
    transform: none;
}
/* Delay chaining for grid items */
.amazing-grid .amazing-reveal:nth-child(2)  { transition-delay: 0.07s }
.amazing-grid .amazing-reveal:nth-child(3)  { transition-delay: 0.14s }
.amazing-grid .amazing-reveal:nth-child(4)  { transition-delay: 0.21s }
.amazing-grid .amazing-reveal:nth-child(5)  { transition-delay: 0.28s }
.amazing-grid .amazing-reveal:nth-child(n+6){ transition-delay: 0.32s }
/* Disable on reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .amazing-reveal { opacity: 1; transform: none; transition: none; }
}

/* ════════════════════════════════════════════════════════════════════════════
   MEGA MENU
══════════════════════════════════════════════════════════════════════════════ */
.jns-nav__item--has-mega { position: static !important; }
.jns-nav__chevron {
    margin-left: 3px;
    transition: transform var(--trans);
    flex-shrink: 0;
}
.jns-nav__item--has-mega:hover .jns-nav__chevron,
.jns-nav__item--has-mega:focus-within .jns-nav__chevron { transform: rotate(180deg); }

.jns-mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid var(--flame);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    pointer-events: none;
}
.jns-nav__item--has-mega:hover .jns-mega-panel,
.jns-nav__item--has-mega:focus-within .jns-mega-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}
.jns-mega-panel__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
}
.jns-mega-panel__header {
    padding-right: 1.5rem;
    border-right: 1px solid var(--grey-200);
    display: flex; flex-direction: column; gap: .75rem;
}
.jns-mega-panel__cat-link {
    display: block;
    font-size: 1.05rem; font-weight: 800;
    color: var(--flame);
    text-decoration: none;
    letter-spacing: .01em;
}
.jns-mega-panel__cat-link:hover { text-decoration: underline; }
.jns-mega-panel__desc { font-size: .82rem; color: var(--grey-600); line-height: 1.5; }

/* Subcategory pills */
.jns-mega-panel__subcats { display: flex; flex-wrap: wrap; gap: .35rem; }
.jns-mega-panel__subcat {
    display: inline-block;
    font-size: .7rem; font-weight: 600;
    color: var(--grey-800);
    background: var(--grey-100);
    border: 1px solid var(--grey-300);
    border-radius: 20px;
    padding: .18rem .65rem;
    text-decoration: none;
    line-height: 1.6;
    transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.jns-mega-panel__subcat:hover { background: var(--flame); color: #fff; border-color: var(--flame); }
.jns-mega-panel__see-all {
    display: inline-block;
    font-size: .72rem; font-weight: 700;
    color: var(--flame);
    text-decoration: none;
    margin-top: auto;
    padding-top: .5rem;
    border-top: 1px solid var(--grey-200);
}
.jns-mega-panel__see-all:hover { text-decoration: underline; }

/* Post cards grid */
.jns-mega-panel__posts { display: grid; grid-template-columns: repeat(4,1fr); gap: .85rem; list-style: none; padding: 0; margin: 0; }
.jns-mega-panel__post { list-style: none; }

.jns-mega-post-card {
    display: flex; flex-direction: column;
    text-decoration: none; color: var(--ink);
    border-radius: 8px; overflow: hidden;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.jns-mega-post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.jns-mega-post-card__img {
    width: 100%; aspect-ratio: 4 / 3;
    object-fit: cover; display: block;
    transition: transform .3s ease;
}
.jns-mega-post-card:hover .jns-mega-post-card__img { transform: scale(1.04); }
.jns-mega-post-card__placeholder {
    width: 100%; aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--grey-100), var(--grey-300));
}
.jns-mega-post-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .75rem; font-weight: 600; line-height: 1.4;
    padding: .55rem .6rem .65rem;
    color: var(--ink);
    transition: color var(--trans);
}
.jns-mega-post-card:hover .jns-mega-post-card__title { color: var(--flame); }

@media (max-width: 900px) {
    .jns-mega-panel { display: none; }
}

/* ════════════════════════════════════════════════════════════════════════════
   MAGAZINE HOME LAYOUT
══════════════════════════════════════════════════════════════════════════════ */
.amazing-mag-hero {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 1.5rem auto;
    padding: 0 var(--gap);
}
.amazing-mag-hero__main { position: relative; border-radius: var(--radius); overflow: hidden; }
.amazing-mag-hero__main img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.amazing-mag-hero__img-wrap { display: block; }
.amazing-mag-hero__body {
    padding: 1rem 0 .5rem;
}
.amazing-mag-hero__title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    margin: .4rem 0 .6rem;
}
.amazing-mag-hero__title a { color: var(--ink); }
.amazing-mag-hero__title a:hover { color: var(--flame); }
.amazing-mag-hero__excerpt { color: var(--grey-600); font-size: .9rem; line-height: 1.55; }
.amazing-mag-hero__meta { display: flex; gap: .75rem; font-size: .78rem; color: var(--grey-600); margin-top: .6rem; }
.amazing-mag-hero__side { display: flex; flex-direction: column; gap: 1rem; }
.amazing-mag-side-item { display: grid; grid-template-columns: 80px 1fr; gap: .65rem; text-decoration: none; color: var(--ink); }
.amazing-mag-side-item img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius); }
.amazing-mag-side-item__cat { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--flame); }
.amazing-mag-side-item__title { font-size: .82rem; font-weight: 700; line-height: 1.35; margin: .1rem 0 .25rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.amazing-mag-side-item time { font-size: .72rem; color: var(--grey-600); }
.amazing-mag-side-item:hover .amazing-mag-side-item__title { color: var(--flame); }
@media (max-width: 768px) {
    .amazing-mag-hero { grid-template-columns: 1fr; }
    .amazing-mag-hero__side { flex-direction: row; overflow-x: auto; }
}

/* ════════════════════════════════════════════════════════════════════════════
   BLOG HOME LAYOUT
══════════════════════════════════════════════════════════════════════════════ */
.amazing-blog-list { display: flex; flex-direction: column; gap: 1.75rem; }
.amazing-blog-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.25rem;
    border-bottom: 1px solid var(--grey-200);
    padding-bottom: 1.75rem;
}
.amazing-blog-item__thumb { display: block; }
.amazing-blog-item__thumb img { width: 220px; height: 148px; object-fit: cover; border-radius: var(--radius); display: block; }
.amazing-blog-item__body { display: flex; flex-direction: column; }
.amazing-blog-item__title { font-size: 1.18rem; font-weight: 700; line-height: 1.35; margin: .35rem 0 .55rem; }
.amazing-blog-item__title a { color: var(--ink); }
.amazing-blog-item__title a:hover { color: var(--flame); }
.amazing-blog-item__excerpt { color: var(--grey-600); font-size: .88rem; line-height: 1.55; flex: 1; }
.amazing-blog-item__footer {
    display: flex; align-items: center; gap: .6rem;
    font-size: .75rem; color: var(--grey-600); margin-top: .6rem;
}
.amazing-blog-item__avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.amazing-blog-item__author { font-weight: 600; }
@media (max-width: 600px) {
    .amazing-blog-item { grid-template-columns: 1fr; }
    .amazing-blog-item__thumb img { width: 100%; height: auto; aspect-ratio: 16/9; }
}

/* ════════════════════════════════════════════════════════════════════════════
   GRID HERO
══════════════════════════════════════════════════════════════════════════════ */
.amazing-grid-hero {
    position: relative;
    max-width: var(--max-w);
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
}
.amazing-grid-hero__link { display: block; position: relative; }
.amazing-grid-hero img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.amazing-grid-hero__body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
    color: #fff;
}
.amazing-grid-hero__title { font-size: 1.75rem; font-weight: 800; line-height: 1.25; margin-top: .4rem; }
.amazing-grid-hero__title:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════════════
   MINIMAL HOME LAYOUT
══════════════════════════════════════════════════════════════════════════════ */
.amazing-minimal-feed { padding: 0; }
.amazing-minimal-item { padding: 1.25rem 0; }
.amazing-minimal-item__meta { display: flex; align-items: center; gap: .75rem; font-size: .75rem; margin-bottom: .35rem; }
.amazing-minimal-item__cat { font-weight: 700; color: var(--flame); text-transform: uppercase; letter-spacing: .06em; font-size: .65rem; }
.amazing-minimal-item__title { font-size: 1.22rem; font-weight: 700; line-height: 1.35; margin-bottom: .4rem; }
.amazing-minimal-item__title a { color: var(--ink); }
.amazing-minimal-item__title a:hover { color: var(--flame); }
.amazing-minimal-item__excerpt { color: var(--grey-600); font-size: .88rem; line-height: 1.55; }
.amazing-minimal-item__footer { display: flex; gap: .75rem; font-size: .75rem; color: var(--grey-600); margin-top: .4rem; }
.amazing-minimal-divider { border: 0; border-top: 1px solid var(--grey-200); }

/* ════════════════════════════════════════════════════════════════════════════
   TRENDING / MOST READ SECTION
══════════════════════════════════════════════════════════════════════════════ */
.amazing-trending__list { display: flex; flex-direction: column; gap: .75rem; }
.amazing-trending__item {
    display: grid;
    grid-template-columns: 28px 64px 1fr;
    gap: .65rem;
    align-items: center;
}
.amazing-trending__num {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--grey-300);
    text-align: center;
    line-height: 1;
}
.amazing-trending__item:nth-child(1) .amazing-trending__num { color: var(--flame); }
.amazing-trending__item:nth-child(2) .amazing-trending__num { color: var(--sun); }
.amazing-trending__item:nth-child(3) .amazing-trending__num { color: var(--grey-400); }
.amazing-trending__thumb { width: 64px; height: 48px; object-fit: cover; border-radius: var(--radius); display: block; }
.amazing-trending__title { font-size: .82rem; font-weight: 700; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.amazing-trending__title:hover { color: var(--flame); }
.amazing-trending__views { font-size: .7rem; color: var(--grey-600); display: block; margin-top: .15rem; }

/* ════════════════════════════════════════════════════════════════════════════
   WHATSAPP ENHANCED
══════════════════════════════════════════════════════════════════════════════ */
.amazing-wa {
    position: fixed;
    bottom: 24px;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.amazing-wa--right { right: 20px; align-items: flex-end; }
.amazing-wa--left  { left: 20px;  align-items: flex-start; }

.amazing-wa-btn {
    display: flex;
    align-items: center;
    gap: .55rem;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: .7rem 1.2rem .7rem .9rem;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(37,211,102,.45);
    transition: transform var(--trans), box-shadow var(--trans);
    position: relative;
}
.amazing-wa-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,.55); }
.amazing-wa-btn__icon--close { display: none; font-size: 1.3rem; line-height: 1; }
.amazing-wa--open .amazing-wa-btn__icon--open  { display: none; }
.amazing-wa--open .amazing-wa-btn__icon--close { display: block; }
.amazing-wa-btn__badge {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--flame);
    color: #fff;
    border-radius: 50%;
    width: 18px; height: 18px;
    font-size: .65rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    animation: wa-pulse 2s ease infinite;
}
.amazing-wa--open .amazing-wa-btn__badge { display: none; }
@keyframes wa-pulse {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.25); }
}

.amazing-wa-popup {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 320px;
    overflow: hidden;
    animation: wa-popup-in .25s ease;
}
@keyframes wa-popup-in {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.amazing-wa-popup__header {
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
}
.amazing-wa-popup__icon svg { width: 28px; height: 28px; }
.amazing-wa-popup__head-text strong { display: block; font-size: .9rem; }
.amazing-wa-popup__close {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,.8);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.amazing-wa-popup__close:hover { color: #fff; }
.amazing-wa-status { font-size: .72rem; opacity: .9; }
.amazing-wa-status--online::before { content: '●'; margin-right: 3px; color: #a8ffb0; font-size: .5rem; }
.amazing-wa-status--offline::before { content: '●'; margin-right: 3px; color: rgba(255,255,255,.4); font-size: .5rem; }
.amazing-wa-popup__body { padding: 1rem; }
.amazing-wa-greeting, .amazing-wa-offline-msg {
    font-size: .85rem;
    color: var(--grey-700);
    margin-bottom: .85rem;
    line-height: 1.5;
}
.amazing-wa-offline-msg { color: var(--red); }
.amazing-wa-agents { display: flex; flex-direction: column; gap: .6rem; }
.amazing-wa-agent {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .85rem;
    border: 1.5px solid var(--grey-200);
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink);
    transition: border-color var(--trans), box-shadow var(--trans);
}
.amazing-wa-agent:hover { border-color: #25d366; box-shadow: 0 0 0 2px rgba(37,211,102,.15); }
.amazing-wa-agent__avatar { position: relative; flex-shrink: 0; }
.amazing-wa-agent__avatar img, .amazing-wa-agent__avatar span {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    background: #25d366; color: #fff;
    overflow: hidden; object-fit: cover;
}
.amazing-wa-agent__dot {
    position: absolute; bottom: 1px; right: 1px;
    width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff;
}
.amazing-wa-agent__dot.is-online  { background: #25d366; }
.amazing-wa-agent__dot.is-offline { background: var(--grey-400); }
.amazing-wa-agent__info { flex: 1; }
.amazing-wa-agent__info strong { display: block; font-size: .88rem; }
.amazing-wa-agent__info span { font-size: .75rem; color: var(--grey-600); }
.amazing-wa-agent__arrow { flex-shrink: 0; }
@media (max-width: 480px) {
    .amazing-wa-popup { width: calc(100vw - 40px); }
    .amazing-wa-btn__label { display: none; }
    .amazing-wa-btn { padding: .75rem; border-radius: 50%; }
}

/* ════════════════════════════════════════════════════════════════════════════
   LANDING PAGE TEMPLATE
══════════════════════════════════════════════════════════════════════════════ */
.amazing-lp body, body.amazing-lp { background: #fff; }
.amazing-lp-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--grey-200);
    padding: .75rem 0;
}
.amazing-lp-header__inner { display: flex; align-items: center; justify-content: space-between; }
.amazing-lp-header__name { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.amazing-lp-header__nav { display: flex; gap: 1.5rem; align-items: center; font-size: .88rem; font-weight: 600; }
.amazing-lp-header__nav a { color: var(--grey-700); }
.amazing-lp-header__nav a:hover { color: var(--flame); }
.amazing-lp-header__cta {
    background: var(--flame); color: #fff !important;
    padding: .45rem 1.1rem; border-radius: var(--radius);
    transition: background var(--trans);
}
.amazing-lp-header__cta:hover { background: #c44e22; }

.amazing-lp-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}
.amazing-lp-hero__bg { position: absolute; inset: 0; }
.amazing-lp-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.amazing-lp-hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.45) 100%); }
.amazing-lp-hero__body { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; padding: 4rem var(--gap); }
.amazing-lp-hero__badge {
    display: inline-block;
    background: var(--flame);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .25rem .75rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.amazing-lp-hero__title { font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.25rem; }
.amazing-lp-hero__subtitle { font-size: 1.1rem; opacity: .88; line-height: 1.6; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.amazing-lp-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.amazing-lp-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 2rem;
    border-radius: var(--radius);
    font-weight: 700; font-size: .95rem;
    text-decoration: none;
    transition: all var(--trans);
}
.amazing-lp-btn--primary { background: var(--flame); color: #fff; }
.amazing-lp-btn--primary:hover { background: #c44e22; transform: translateY(-2px); }
.amazing-lp-btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.amazing-lp-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.amazing-lp-features { background: var(--grey-50); padding: 4rem 0; }
.amazing-lp-features__grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.amazing-lp-feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--flame);
    transition: box-shadow var(--trans), transform var(--trans);
}
.amazing-lp-feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.amazing-lp-feature-card__icon { font-size: 2rem; display: block; margin-bottom: .75rem; }
.amazing-lp-feature-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.amazing-lp-feature-card__text { font-size: .88rem; color: var(--grey-600); line-height: 1.55; }

.amazing-lp-content { padding: 4rem var(--gap); max-width: 800px; margin: 0 auto; }
.amazing-lp-content__inner { font-size: 1rem; line-height: 1.75; }

.amazing-lp-cta-banner {
    background: var(--ink); color: #fff;
    text-align: center; padding: 4rem var(--gap);
}
.amazing-lp-cta-banner__title { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.amazing-lp-cta-banner p { opacity: .8; margin-bottom: 2rem; }

.amazing-lp-contact { padding: 4rem 0; }

.amazing-lp-footer {
    background: var(--grey-50);
    border-top: 1px solid var(--grey-200);
    padding: 2rem 0;
    text-align: center;
    font-size: .85rem;
    color: var(--grey-600);
}
.amazing-lp-footer__nav { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: .75rem; }
.amazing-lp-footer__nav a { color: var(--grey-600); }
.amazing-lp-footer__nav a:hover { color: var(--flame); }

/* ════════════════════════════════════════════════════════════════════════════
   TEXTO JUSTIFICADO — opt-in individual por postagem
══════════════════════════════════════════════════════════════════════════════ */
.amazing-article__content--justified p,
.amazing-article__content--justified li {
    text-align: justify;
    text-align-last: left;
    -webkit-hyphens: auto;
    hyphens: auto;
}
/* Preservar alinhamento original em elementos que nunca devem ser justificados */
.amazing-article__content--justified h1,
.amazing-article__content--justified h2,
.amazing-article__content--justified h3,
.amazing-article__content--justified h4,
.amazing-article__content--justified h5,
.amazing-article__content--justified h6,
.amazing-article__content--justified table,
.amazing-article__content--justified th,
.amazing-article__content--justified td,
.amazing-article__content--justified figcaption,
.amazing-article__content--justified blockquote,
.amazing-article__content--justified .wp-block-buttons,
.amazing-article__content--justified button {
    text-align: unset;
}

/* ════════════════════════════════════════════════════════════════════════════
   DARK MODE
══════════════════════════════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
    body.dark-mode-auto {
        --paper: #111; --ink: #f0ede6;
        --grey-50: #1a1a1a; --grey-100: #1e1e1e; --grey-200: #2a2a2a;
        --grey-600: #999; --grey-800: #ccc;
    }
}
