/* ==========================================================================
   365 Breaking News - tema publico (2026)
   Layout editorial moderno, rapido e responsivo.
   ========================================================================== */

:root {
    --red: #e01e2b;
    --red-dark: #b3121d;
    --red-soft: #fdecec;
    --navy: #0b1220;
    --navy-2: #14203a;
    --ink: #101828;
    --ink-2: #344054;
    --muted: #667085;
    --line: #e4e7ec;
    --line-strong: #cfd4dc;
    --bg: #ffffff;
    --bg-alt: #f5f6f8;
    --bg-card: #ffffff;
    --gold: #d4a017;
    --ok: #067647;
    --ok-bg: #ecfdf3;
    --err: #b42318;
    --err-bg: #fef3f2;

    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", "Noto Serif", serif;

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --shadow: 0 6px 20px rgba(16, 24, 40, .08);
    --shadow-lg: 0 18px 44px rgba(16, 24, 40, .14);

    --shell: 1240px;
    --gap: 24px;

    --header-h: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg-alt);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--red);
}

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.01em;
}

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

button {
    font: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
    border-radius: 4px;
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 20px;
}

.shell--narrow {
    max-width: 820px;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--red);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
    left: 0;
}

.icon {
    width: 20px;
    height: 20px;
    flex: none;
}

.icon--sm {
    width: 16px;
    height: 16px;
}

.center {
    text-align: center;
}

/* ---------------------------------------------------------------- Cabecalho */

.masthead {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    /* Sem position: sticky. O cabecalho (topo, marca, menu e ticker de ultima
       hora) rola junto com a pagina. O position: relative mantem o contexto de
       empilhamento do menu suspenso "Mais" (.dropdown). */
    position: relative;
    z-index: 100;
}

.masthead__top {
    background: var(--navy);
    color: #cbd5e1;
    font-size: 12.5px;
}

.masthead__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    gap: 16px;
}

.masthead__date,
.masthead__top-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.masthead__live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0 rgba(224, 30, 43, .7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(224, 30, 43, .6); }
    70% { box-shadow: 0 0 0 9px rgba(224, 30, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 30, 43, 0); }
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .03em;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}

.masthead__main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
}

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

.brand__badge {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__text strong {
    font-size: 19px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.01em;
}

.brand__text small {
    font-size: 11.5px;
    color: var(--muted);
}

.masthead__main .search {
    justify-self: end;
    width: min(420px, 100%);
}

.search {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    overflow: hidden;
    background: var(--bg-alt);
}

.search__field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 0 14px;
    color: var(--muted);
}

.search__field input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 11px 0;
    font-size: 14.5px;
    color: var(--ink);
    min-width: 0;
}

.search__field input:focus {
    outline: none;
}

.search__submit {
    border: 0;
    background: var(--red);
    color: #fff;
    padding: 0 20px;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: .02em;
}

.search__submit:hover {
    background: var(--red-dark);
}

.search--page {
    max-width: 560px;
    margin-top: 8px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: var(--bg);
    color: var(--ink);
}

.nav-toggle .icon--close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon--menu {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon--close {
    display: block;
}

.mainnav {
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.mainnav__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.mainnav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-2);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.mainnav__link:hover {
    color: var(--red);
}

.mainnav__link.is-active {
    color: var(--red);
    border-bottom-color: var(--red);
}

.mainnav__more {
    position: relative;
}

.mainnav__more > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.mainnav__more > summary::-webkit-details-marker {
    display: none;
}

.mainnav__more[open] > .dropdown {
    display: block;
}

.mainnav__link--more {
    border: 0;
    background: none;
    border-bottom: 3px solid transparent;
}

.mainnav__link--horoscope {
    color: var(--red);
    font-weight: 800;
}

.mainnav__link--horoscope .horoscope-dot {
    font-size: 15px;
    line-height: 1;
}

.caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.dropdown {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    min-width: 220px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: none;
    z-index: 120;
}

.dropdown.is-open {
    display: block;
}

.dropdown__item {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
}

.dropdown__item:hover {
    background: var(--bg-alt);
    color: var(--red);
}

.dropdown__item--strong {
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 12px;
}

/* ------------------------------------------------------------------- Ticker */

.ticker {
    background: linear-gradient(90deg, var(--red), var(--red-dark));
    color: #fff;
}

.ticker__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 42px;
    overflow: hidden;
}

.ticker__label {
    flex: none;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: .12em;
    background: rgba(0, 0, 0, .25);
    padding: 4px 10px;
    border-radius: 999px;
}

.ticker__viewport {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker 60s linear infinite;
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

.ticker__group {
    display: flex;
    align-items: center;
}

.ticker__item {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 0 14px;
    white-space: nowrap;
}

.ticker__item:hover {
    text-decoration: underline;
    color: #fff;
}

.ticker__sep {
    opacity: .6;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker__track { animation: none; }
    .pulse { animation: none; }
}

/* ------------------------------------------------------------------ Estrutura */

.page {
    padding: 26px 0 46px;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: start;
}

.layout__main {
    min-width: 0;
}

.layout__side {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.panel {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.panel--hero {
    padding: 22px 22px 18px;
}

.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--line);
}

.sec-head__eyebrow {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 4px;
}

.sec-head__title {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
}

.sec-head__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
}

/* ---------------------------------------------------------------------- Hero */

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 22px;
}

.hero {
    display: block;
}

.hero__media {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 16 / 9;
    max-height: 430px;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.hero:hover .hero__img {
    transform: scale(1.02);
}

.hero__body {
    padding-top: 16px;
}

.hero__title {
    font-size: clamp(25px, 3.4vw, 38px);
    line-height: 1.13;
    margin: 0 0 10px;
    font-weight: 900;
}

.hero__excerpt {
    color: var(--ink-2);
    font-size: 16.5px;
    margin: 0;
}

.hero-sub {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.hero-grid__side {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.story--hero-side {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.story--hero-side:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.story--hero-side .story__media {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-alt);
}

.story--hero-side .story__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story--hero-side .story__title {
    font-size: 15.5px;
    line-height: 1.3;
    margin: 0;
}

.quicklist {
    list-style: none;
    margin: 20px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 10px;
}

.quicklist__link {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
}

.quicklist__cat {
    flex: none;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
    min-width: 92px;
}

.quicklist__title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
}

/* -------------------------------------------------------------------- Cards */

.grid {
    display: grid;
    gap: 20px;
}

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

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

.story {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.story__media {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 16 / 10;
}

.story__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.story:hover .story__img {
    transform: scale(1.04);
}

.story__title {
    font-size: 17px;
    line-height: 1.28;
    margin: 0;
    font-weight: 800;
}

.story--compact .story__title {
    font-size: 15.5px;
}

.story__excerpt {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.thumb--empty {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: rgba(255, 255, 255, .85);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -.04em;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.meta__cat {
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--red);
    font-size: 11px;
}

.meta__time::before,
.meta__read::before {
    content: "\2022";
    margin-right: 8px;
    color: var(--line-strong);
}

/* --------------------------------------------------------------- Listas / rows */

.stack {
    display: flex;
    flex-direction: column;
}

.rowstory {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 148px;
    gap: 18px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.rowstory:last-child {
    border-bottom: 0;
}

.rowstory__media {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-alt);
}

.rowstory__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rowstory__title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
}

.rowstory__excerpt {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.rowstory--dense {
    grid-template-columns: 1fr;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.rowstory--dense .rowstory__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    margin-top: 8px;
}

.rowstory--dense .rowstory__title {
    font-size: 15.5px;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 26px;
}

.split__list .rowstory:first-child {
    padding-top: 0;
}

/* ------------------------------------------------------------------ Sidebar */

.sidebox {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebox--accent {
    background: linear-gradient(160deg, var(--navy), var(--navy-2));
    color: #e2e8f0;
    border-color: transparent;
}

.sidebox--accent .sec-head {
    border-bottom-color: rgba(255, 255, 255, .16);
}

.sidebox--accent .sec-head__title {
    color: #fff;
}

.sidebox__text {
    color: inherit;
    font-size: 14px;
}

.sidebox__link {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--red);
    margin-top: 8px;
}

.sidebox__list {
    display: flex;
    flex-direction: column;
}

.sideitem {
    display: flex;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.sideitem:last-child {
    border-bottom: 0;
}

.sideitem__rank {
    flex: none;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--red-soft);
    color: var(--red);
    font-weight: 900;
    font-size: 14px;
}

.sideitem__title {
    font-size: 15px;
    line-height: 1.32;
    margin: 0;
    font-weight: 700;
}

.chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-2);
}

/* --------------------------------------------------------------------- Anuncios */

.adwrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 18px;
}

.adwrap--article {
    margin: 26px 0;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    max-width: 728px;
    min-height: 90px;
}

.ad-slot--300x250 {
    max-width: 300px;
    min-height: 250px;
}

.ad-slot--320x100 {
    max-width: 320px;
    min-height: 100px;
}

.ad-slot__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--ink-2);
    font-size: 13px;
    letter-spacing: .04em;
    text-align: center;
    padding: 12px;
}

.ad-slot__image {
    width: 100%;
    height: auto;
    display: block;
}

.music-ad {
    width: 100%;
    max-width: 728px;
}

.music-ad--300x250 {
    max-width: 300px;
}

.music-ad__link {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
    border-radius: var(--radius);
    padding: 12px 16px;
}

.music-ad__cover {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
}

.music-ad__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.music-ad__kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: .8;
}

.music-ad__play {
    font-size: 13px;
    color: var(--gold);
}

/* -------------------------------------------------------------- Breadcrumbs */

.breadcrumbs {
    margin-bottom: 16px;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.breadcrumbs__item:not(:last-child)::after {
    content: "\203A";
    margin-left: 8px;
    color: var(--line-strong);
}

.breadcrumbs__link:hover {
    color: var(--red);
}

.pagehead {
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--line);
}

.pagehead__eyebrow {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
}

.pagehead__title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    margin: 0 0 8px;
}

.pagehead__text,
.pagehead__meta {
    color: var(--ink-2);
    margin: 0;
}

.pagehead__meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}

/* -------------------------------------------------------------------- Artigo */

.article__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}

.article__main {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
}

.article__title {
    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.12;
    font-weight: 900;
    margin: 0 0 14px;
}

.article__summary {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0 0 18px;
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.article__byline {
    font-weight: 700;
    color: var(--ink-2);
}

.article__figure {
    margin: 22px 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
}

.article__img {
    width: 100%;
    height: auto;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.article__body {
    font-family: var(--font-serif);
    font-size: 18.5px;
    line-height: 1.75;
    color: #1c2537;
    margin-top: 20px;
}

.article__body > p:first-child::first-letter {
    font-family: var(--font-sans);
    font-size: 3.1em;
    font-weight: 900;
    float: left;
    line-height: .82;
    margin: 6px 10px 0 0;
    color: var(--red);
}

.article__body h2,
.article__body h3 {
    font-family: var(--font-sans);
    margin-top: 1.4em;
}

.article__body a {
    color: var(--red);
    text-decoration: underline;
}

.article__body img {
    border-radius: var(--radius);
    margin: 18px 0;
}

.article__body blockquote {
    margin: 22px 0;
    padding: 6px 20px;
    border-left: 4px solid var(--red);
    font-style: italic;
    color: var(--ink-2);
}

.editorial-box {
    margin: 24px 0;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.editorial-box__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.editorial-box__lead {
    font-weight: 700;
    font-size: 16.5px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.editorial-box__points {
    margin: 0 0 10px;
    padding-left: 1.1em;
    font-size: 15px;
}

.editorial-box__note {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.sourcebox {
    margin: 26px 0;
    padding: 16px 18px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.sourcebox__title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.sourcebox__name {
    font-weight: 800;
}

.sourcebox__link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    color: var(--red);
}

.share {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.share__label {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.share__links {
    display: flex;
    gap: 8px;
}

.share__link {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--bg);
    color: var(--ink-2);
    transition: all .2s ease;
}

.share__link:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

.share__link--whatsapp:hover { background: #25d366; }
.share__link--facebook:hover { background: #1877f2; }
.share__link--x:hover { background: #000; }
.share__link--telegram:hover { background: #229ed9; }
.share__link--linkedin:hover { background: #0a66c2; }
.share__link--copy:hover { background: var(--navy); }

.related {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 2px solid var(--line);
}

.article__side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ------------------------------------------------------------------ Horoscopo */

.signs {
    display: grid;
    gap: 14px;
}

.signs--grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.signcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    transition: all .2s ease;
}

.signcard:hover {
    border-color: var(--red);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.signcard.is-active {
    border-color: var(--red);
    background: var(--red-soft);
}

.signcard__symbol {
    font-size: 26px;
    line-height: 1;
    color: var(--red);
}

.signcard__name {
    font-weight: 800;
    font-size: 14px;
}

.signcard__period {
    font-size: 11.5px;
    color: var(--muted);
}

.sign__symbol {
    display: block;
    font-size: 52px;
    line-height: 1;
    color: var(--red);
    margin-bottom: 8px;
}

.sign__body {
    max-width: 760px;
}

/* --------------------------------------------------------------- Horoscopo */

.horoscope-box {
    background: linear-gradient(135deg, #1b1035, #2b1a4d 55%, #3d1f57);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    margin-bottom: 24px;
    color: #ede9fe;
}

.horoscope-box__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.horoscope-box__star {
    font-size: 26px;
    line-height: 1;
    color: var(--gold);
}

.horoscope-box__titles {
    min-width: 0;
}

.horoscope-box__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #c4b5fd;
}

.horoscope-box__title {
    margin: 2px 0 0;
    font-size: 20px;
    font-weight: 900;
}

.horoscope-box__title a {
    color: #fff;
}

.horoscope-box__all {
    margin-left: auto;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--gold);
    white-space: nowrap;
}

.horoscope-box__signs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.hsign {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .09);
    text-align: center;
    transition: background .18s ease, transform .18s ease;
}

.hsign:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-2px);
}

.hsign__symbol {
    font-size: 20px;
    line-height: 1;
    color: var(--gold);
}

.hsign__name {
    font-size: 12px;
    font-weight: 700;
    color: #e9e4ff;
}

.horoscope-box--compact {
    padding: 16px;
    margin-bottom: 0;
}

.horoscope-box--compact .horoscope-box__signs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.horoscope-box--compact .hsign__name {
    font-size: 11px;
}

.horoscope-box--compact .horoscope-box__title {
    font-size: 17px;
}

/* --------------------------------------------------------------- Categorias */

.catgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.catcard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14.5px;
    transition: all .2s ease;
}

.catcard:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.catcard__arrow {
    opacity: .5;
}

/* --------------------------------------------------------------- Institucional */

.institutional {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.institutional__intro {
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink-2);
    padding-bottom: 8px;
}

.institutional__section {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.institutional__heading {
    font-size: 21px;
    margin-bottom: 10px;
}

.institutional p {
    line-height: 1.75;
    color: var(--ink-2);
}

.contactform {
    display: grid;
    gap: 16px;
    max-width: 560px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
}

.field input,
.field textarea {
    font: inherit;
    font-weight: 400;
    padding: 11px 13px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--ink);
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--red);
    outline-offset: 0;
    border-color: var(--red);
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid transparent;
    transition: all .2s ease;
}

.btn:hover {
    background: var(--red);
    color: #fff;
}

.btn--primary {
    background: var(--red);
    justify-self: start;
}

.btn--primary:hover {
    background: var(--red-dark);
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    margin: 0 0 16px;
}

.alert--ok {
    background: var(--ok-bg);
    color: var(--ok);
    border: 1px solid #a6f4c5;
}

.alert--error {
    background: var(--err-bg);
    color: var(--err);
    border: 1px solid #fecdca;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--muted);
}

.empty-state .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    color: var(--line-strong);
}

/* -------------------------------------------------------------------- Pager */

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.pager__link {
    font-weight: 800;
    color: var(--red);
}

.pager__current {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

/* ------------------------------------------------------------------ Newsletter */

.newsletter-card {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.newsletter-card__text {
    font-size: 14px;
    color: var(--muted);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form__input {
    flex: 1;
    padding: 11px 13px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    font: inherit;
    min-width: 0;
}

.newsletter-form__button {
    border: 0;
    background: var(--red);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 0 16px;
    font-weight: 700;
}

.section-heading {
    margin-bottom: 14px;
}

.section-heading__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
}

.section-heading__title {
    margin: 4px 0 0;
    font-size: 19px;
}

/* --------------------------------------------------------------------- Rodape */

.sitefoot {
    background: var(--navy);
    color: #cbd5e1;
    margin-top: 30px;
}

.sitefoot__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 34px;
    padding-top: 44px;
    padding-bottom: 34px;
}

.sitefoot .brand__text strong,
.sitefoot .brand__text small {
    color: #fff;
}

.sitefoot__brand p {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
}

.sitefoot__social a {
    font-weight: 800;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: .08em;
}

.sitefoot__title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #fff;
    margin-bottom: 14px;
}

.sitefoot__col {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.sitefoot__link {
    font-size: 14px;
    color: #94a3b8;
}

.sitefoot__link:hover {
    color: #fff;
}

.promo {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
}

.promo span {
    font-size: 13px;
    color: #94a3b8;
}

.sitefoot__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.sitefoot__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 13px;
    color: #94a3b8;
}

/* --------------------------------------------------------------- Responsivo */

@media (max-width: 1080px) {
    .layout,
    .article__layout {
        grid-template-columns: 1fr;
    }

    .layout__side,
    .article__side {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .layout__side > *,
    .article__side > * {
        flex: 1 1 300px;
    }

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

    .horoscope-box__signs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .masthead__main {
        grid-template-columns: auto auto;
        grid-template-areas:
            "brand toggle"
            "search search";
        row-gap: 12px;
    }

    .brand { grid-area: brand; }
    .nav-toggle { grid-area: toggle; display: inline-flex; }
    .masthead__main .search { grid-area: search; width: 100%; justify-self: stretch; }

    .mainnav {
        display: none;
        max-height: 70vh;
        overflow-y: auto;
    }

    .mainnav.is-open {
        display: block;
    }

    .mainnav__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 14px;
    }

    .mainnav__link {
        border-bottom: 1px solid var(--line);
        padding: 13px 4px;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border: 0;
        padding: 0 0 8px 12px;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .hero-sub {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .sitefoot__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .hero-sub {
        grid-template-columns: 1fr;
    }

    .rowstory {
        grid-template-columns: minmax(0, 1fr) 104px;
        gap: 12px;
    }

    .rowstory--dense {
        grid-template-columns: 10px minmax(0, 1fr);
    }

    .article__main,
    .panel,
    .institutional {
        padding: 18px;
        border-radius: var(--radius);
    }

    .hero-grid__side {
        grid-template-rows: none;
    }

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

    .horoscope-box__signs,
    .horoscope-box--compact .horoscope-box__signs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .horoscope-box__head {
        flex-wrap: wrap;
    }

    .horoscope-box__all {
        margin-left: 0;
        width: 100%;
    }

    .sitefoot__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sitefoot__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .quicklist__cat {
        min-width: 74px;
    }

    .article__body {
        font-size: 17.5px;
    }
}

/* -------------------------------------------------------------------- Print */

@media print {
    .masthead,
    .ticker,
    .sitefoot,
    .adwrap,
    .layout__side,
    .article__side,
    .share,
    .related {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .article__main {
        border: 0;
        box-shadow: none;
        padding: 0;
    }
}
