/* Fonte serifada editorial (estilo revista de beleza/moda), carregada
   condicionalmente via functions.php só nesta página. Usada nos títulos e
   destaques — o corpo de texto continua na fonte padrão do tema. */
:root {
    --tn-font-beauty-heading: 'Playfair Display', var(--tn-font-heading), Georgia, serif;
}


/* =========================
   MARQUEE (entre a hero e a seção escura)
========================= */

.tn-marquee {
    position: relative;
    overflow: hidden;

    background: var(--tn-color-bg);
    color: var(--tn-color-muted);

    padding: 12px 0;

    border-top: 1px solid var(--tn-color-border);
    border-bottom: 1px solid var(--tn-color-border);
}

.tn-marquee-track {
    display: flex;
    align-items: center;
    gap: 22px;

    width: max-content;

    animation: tn-marquee-scroll 32s linear infinite;
}

.tn-marquee-item {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--tn-color-muted);
}

.tn-marquee-sep {
    color: var(--tn-color-primary);
    font-size: 0.4rem;
    opacity: 0.7;
}

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

@media (prefers-reduced-motion: reduce) {
    .tn-marquee-track {
        animation: none;
    }
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    width: min(100%, 1450px);
    height: 90vh;
    min-height: 620px;
    margin: 0 auto;
    overflow: hidden;
}


/* =========================
   HERO CONTENT
========================= */

.hero-content {
    position: absolute;
    inset: 0;

    overflow: hidden;
}


/* =========================
   QUOTE
========================= */

.quote {
    position: absolute;

    top: 40px;
    left: 28px;

    z-index: 8;
}

.quote-mark {
    display: block;

    font-size: 18px;
    line-height: 15px;
    font-weight: 700;

    margin-bottom: 5px;
}

.quote p {
    font-family: var(--tn-font-beauty-heading);
    font-style: italic;

    font-size: 15px;
    line-height: 1.17;

    font-weight: 800;
    letter-spacing: -0.5px;

    color: #111;
}

.quote small {
    display: block;

    margin-top: 10px;

    font-size: 8px;
    color: #555;
}


/* =========================
   NUMBER
========================= */

.player-number {
    position: absolute;

    top: 36px;
    right: 25px;

    font-size: clamp(70px, 9vw, 140px);
    line-height: 1;

    font-weight: 800;

    color: transparent;

    -webkit-text-stroke: 1px #111;

    opacity: 0.85;

    z-index: 1;

    /* striped effect */
    background-image: repeating-linear-gradient(
        -45deg,
        #222 0,
        #222 1px,
        transparent 1px,
        transparent 5px
    );

    -webkit-background-clip: text;
    background-clip: text;
}


/* =========================
   HUGE NAME
========================= */

.player-name {
    position: absolute;

    left: 18px;
    right: 18px;

    bottom: 190px;

    text-align: center;

    color: var(--tn-color-primary);

    font-family: var(--tn-font-beauty-heading);
    font-size: clamp(75px, 13.5vw, 205px);
    line-height: 0.8;

    font-weight: 900;
    letter-spacing: -0.02em;

    white-space: nowrap;

    z-index: 3;

    user-select: none;
}


/* =========================
   PLAYER
========================= */

.player-image {
    position: absolute;

    left: 50%;
    bottom: -15px;

    width: min(42%, 540px);
    height: 82%;

    transform: translateX(-50%);

    display: flex;
    align-items: flex-end;
    justify-content: center;

    z-index: 5;

    pointer-events: none;
}

.player-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center bottom;

    display: block;
}


/* =========================
   POST EM DESTAQUE
========================= */

.post-spotlight {
    position: absolute;

    left: 28px;
    bottom: 25px;

    width: 216px;
    height: 112px;

    display: block;

    overflow: hidden;
    border-radius: 14px;

    z-index: 12;
    isolation: isolate;

    background: #ddd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.5);

    text-decoration: none;

    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.post-spotlight:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.26);
}

.post-spotlight img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 0.5s ease;
    z-index: 0;
}

.post-spotlight:hover img {
    transform: scale(1.06);
}

/* Moldura automática (mesma técnica de assets/populares.css) */
.post-spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tn-frame-image) center/cover no-repeat;
    pointer-events: none;
    z-index: 1;
}

.post-spotlight-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;

    padding: 14px 16px;

    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1) 65%);

    z-index: 2;
}

.post-spotlight-label {
    align-self: flex-start;

    background: var(--tn-color-primary);
    color: #111;

    border-radius: 20px;

    padding: 3px 10px;

    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.post-spotlight-title {
    color: #ffffff;

    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.28;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================
   CATEGORIA EM DESTAQUE
========================= */

.category-spotlight {
    position: absolute;

    right: 28px;
    bottom: 25px;

    width: 215px;
    height: 112px;

    background: linear-gradient(145deg, #131313, #000000);
    color: #ffffff;

    padding: 17px 18px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.28);

    isolation: isolate;
    z-index: 12;

    text-decoration: none;
    overflow: hidden;

    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.category-spotlight::after {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle at 100% 100%, rgba(var(--tn-color-primary-rgb), 0.25), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.category-spotlight:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.38);
    border-color: rgba(var(--tn-color-primary-rgb), 0.5);
}

.category-spotlight-label {
    align-self: flex-start;

    background: var(--tn-color-primary);
    color: #111;

    border-radius: 20px;

    padding: 5px 10px;

    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.category-spotlight-name {
    font-family: var(--tn-font-beauty-heading);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.category-spotlight-count {
    font-size: 8px;
    color: #999;
    margin-top: 3px;
}

.category-spotlight-cta {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--tn-color-primary);

    display: flex;
    align-items: center;
    gap: 6px;

    transition: gap 0.3s ease;
}

.category-spotlight:hover .category-spotlight-cta {
    gap: 9px;
}

.category-spotlight-cta i {
    font-size: 7px;
}


/* =========================
   SEÇÃO: 3 CATEGORIAS EM DESTAQUE (ESCURA, BLOBS)
========================= */

.beauty-categories {
    position: relative;
    isolation: isolate;
    overflow: hidden;
box-shadow: 0 1px 0 rgba(0, 0, 0, .1), 0 4px 16px rgba(0, 0, 0, .08);
    background-color:#ffeaba;
    color: #ffffff;

    padding: 72px 20px;

    content-visibility: auto;
    contain-intrinsic-size: auto 520px;
}

.beauty-categories .magazine-section-header {
    margin-bottom: 36px;
    text-align: center;
}

.beauty-categories .magazine-section-eyebrow {
    display: block;

    color: var(--tn-color-primary);
}

.beauty-section-title {
    font-family: var(--tn-font-beauty-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #14120e;
    margin: 0;
}

.beauty-categories-inner {
    position: relative;
    z-index: 1;

    max-width: 1200px;
    margin: 0 auto;
}


/* ===== ÍCONES DE BELEZA FLUTUANDO PELO FUNDO ===== */

.beauty-floaters {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.beauty-floater {
    position: absolute;
    color: rgba(255,255,255,0.14);
    animation: tn-float 8s ease-in-out infinite;
}

.beauty-floater--1 {
    top: 10%;
    left: 5%;
    font-size: 26px;
    animation-duration: 9s;
    color: rgba(var(--tn-color-primary-rgb), 0.3);
}

.beauty-floater--2 {
    top: 72%;
    left: 11%;
    font-size: 18px;
    animation-duration: 7s;
    animation-delay: 1s;
}

.beauty-floater--3 {
    top: 16%;
    left: 45%;
    font-size: 20px;
    animation-duration: 10s;
    animation-delay: 2s;
    color: rgba(var(--tn-color-primary-rgb), 0.26);
}

.beauty-floater--4 {
    top: 80%;
    left: 54%;
    font-size: 28px;
    animation-duration: 8.5s;
    animation-delay: 0.5s;
}

.beauty-floater--5 {
    top: 8%;
    right: 7%;
    font-size: 22px;
    animation-duration: 9.5s;
    animation-delay: 1.5s;
    color: rgba(var(--tn-color-primary-rgb), 0.28);
}

.beauty-floater--6 {
    top: 62%;
    right: 5%;
    font-size: 24px;
    animation-duration: 7.5s;
    animation-delay: 2.5s;
}

.beauty-floater--7 {
    top: 40%;
    left: 2%;
    font-size: 16px;
    animation-duration: 8.8s;
    animation-delay: 0.8s;
    color: rgba(var(--tn-color-primary-rgb), 0.24);
}

.beauty-floater--8 {
    top: 4%;
    left: 30%;
    font-size: 18px;
    animation-duration: 9.2s;
    animation-delay: 1.8s;
}

.beauty-floater--9 {
    top: 46%;
    right: 22%;
    font-size: 20px;
    animation-duration: 7.8s;
    animation-delay: 3s;
    color: rgba(var(--tn-color-primary-rgb), 0.24);
}

.beauty-floater--10 {
    bottom: 4%;
    right: 30%;
    font-size: 22px;
    animation-duration: 10.5s;
    animation-delay: 1.2s;
}

.beauty-floater--11 {
    top: 26%;
    left: 18%;
    font-size: 15px;
    animation-duration: 8.2s;
    animation-delay: 2.2s;
    color: rgba(var(--tn-color-primary-rgb), 0.22);
}

.beauty-floater--12 {
    top: 4%;
    right: 42%;
    font-size: 17px;
    animation-duration: 9.6s;
    animation-delay: 0.3s;
}

.beauty-floater--13 {
    bottom: 12%;
    left: 24%;
    font-size: 19px;
    animation-duration: 8.9s;
    animation-delay: 1.6s;
}

.beauty-floater--14 {
    top: 55%;
    left: 34%;
    font-size: 16px;
    animation-duration: 7.4s;
    animation-delay: 2.8s;
    color: rgba(var(--tn-color-primary-rgb), 0.22);
}

.beauty-floater--15 {
    top: 30%;
    right: 8%;
    font-size: 18px;
    animation-duration: 9s;
    animation-delay: 0.9s;
}

.beauty-floater--16 {
    bottom: 18%;
    right: 15%;
    font-size: 20px;
    animation-duration: 10s;
    animation-delay: 1.9s;
}

@keyframes tn-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-18px) rotate(8deg);
    }
}

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

.beauty-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 20px;
}

.blob-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 26px;
    border-radius: 32px;

    background: rgb(255, 223, 142);

    text-decoration: none;
    color: #14120e;

    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.blob-card:hover {
    box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

/* Tamanhos e posições diferentes por card — o do meio (Cabelos) é o
   maior/mais alto, igual na referência, os dois dos lados são menores
   e descem um pouco. */
.blob-card:nth-child(1) {
    min-height: 360px;
    margin-top: 60px;
}

.blob-card:nth-child(1):hover {
    transform: translateY(-8px) rotate(-1deg);
}

.blob-card:nth-child(2) {
    min-height: 500px;
    margin-top: 0;
}

.blob-card:nth-child(2):hover {
    transform: translateY(-8px) rotate(1deg);
}

.blob-card:nth-child(3) {
    min-height: 360px;
    margin-top: 60px;
}

.blob-card:nth-child(3):hover {
    transform: translateY(-8px) rotate(-1deg);
}

/* As duas manchas orgânicas sobrepostas, estilo blob */
.blob-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;

    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.blob-shape--a {
    width: 78%;
    aspect-ratio: 1;

    top: -18%;
    right: -22%;

    background: rgba(0,0,0,0.16);
    mix-blend-mode: multiply;
}

.blob-shape--b {
    width: 58%;
    aspect-ratio: 1;

    bottom: -20%;
    left: -18%;

    background: rgba(255,255,255,0.22);

    border-radius: 46% 54% 60% 40% / 55% 45% 55% 45%;
}

.blob-card:hover .blob-shape--a {
    transform: scale(1.12) translate(-4%, 4%);
}

.blob-card:hover .blob-shape--b {
    transform: scale(1.12) translate(4%, -4%) rotate(12deg);
}

.blob-badge {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 50%;
    background: #14120e;
    color: rgb(255, 230, 104);

    font-size: 18px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.25);

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blob-card:hover .blob-badge {
    transform: scale(1.1) rotate(-8deg);
}

.blob-card-body {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blob-card-name {
    font-family: var(--tn-font-beauty-heading);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.blob-card:hover .blob-card-name {
    color: #000000;
}

.blob-card-desc {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(20,18,14,0.7);

    max-width: 34ch;
}

.blob-card-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(20,18,14,0.65);
}

.blob-card-cta {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;

    margin-top: 18px;
    padding: 8px 16px;

    border-radius: 20px;
    background: rgba(20,18,14,0.12);

    font-size: 0.78rem;
    font-weight: 700;

    transition: gap 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.blob-card:hover .blob-card-cta {
    gap: 12px;
    background: #14120e;
    color: var(--blob-color, var(--tn-color-primary));
}


/* ============================================================
   CADA CARD É DIFERENTE DO OUTRO — layout, decoração e CTA
   próprios, não só cor/tamanho.
============================================================ */

/* --- CARD 1 (Pele): o "clássico" — badge pequeno + selo "Favorita" --- */
.blob-card:nth-child(1)::after {
    content: "Favorita";

    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;

    padding: 5px 12px;

    border-radius: 20px;
    background: rgba(20,18,14,0.15);

    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- CARD 2 (Cabelos): o maior/destaque — conteúdo centralizado,
       badge grande, listras diagonais no lugar dos blobs, CTA sublinhado --- */
.blob-card:nth-child(2) {
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 14px;
}

.blob-card:nth-child(2) .blob-shape--a,
.blob-card:nth-child(2) .blob-shape--b {
    display: none;
}

.blob-card:nth-child(2)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: repeating-linear-gradient(
        45deg,
        rgba(20,18,14,0.07) 0,
        rgba(20,18,14,0.07) 2px,
        transparent 2px,
        transparent 16px
    );

    pointer-events: none;
}

.blob-card:nth-child(2) .blob-badge {
    width: 68px;
    height: 68px;
    font-size: 26px;
}

.blob-card:nth-child(2) .blob-card-body {
    align-items: center;
}

.blob-card:nth-child(2) .blob-card-name {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.blob-card:nth-child(2) .blob-card-cta {
    align-self: center;

    padding: 0;

    background: transparent;
    border-bottom: 2px solid rgba(20,18,14,0.4);
    border-radius: 0;
}

.blob-card:nth-child(2):hover .blob-card-cta {
    gap: 8px;
    background: transparent;
    color: inherit;
    border-color: #14120e;
}

/* --- CARD 3 (Maquiagem): layout horizontal — texto à esquerda, badge
       grande vazando pela borda direita, seta encostada no nome, sem CTA em pill --- */
.blob-card:nth-child(3) {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
}

.blob-card:nth-child(3) .blob-shape--b {
    display: none;
}

.blob-card:nth-child(3) .blob-shape--a {
    width: 100%;
    aspect-ratio: 1;
    top: auto;
    bottom: -55%;
    right: -35%;
}

.blob-card:nth-child(3) .blob-badge {
    order: 2;
    flex-shrink: 0;

    width: 88px;
    height: 88px;

    margin-right: -16px;

    font-size: 32px;

    background: rgba(255,255,255,0.3);
    color: #14120e;
    box-shadow: none;
}

.blob-card:nth-child(3):hover .blob-badge {
    transform: scale(1.08) rotate(6deg);
}

.blob-card:nth-child(3) .blob-card-body {
    order: 1;
    flex: 1;
}

.blob-card:nth-child(3) .blob-card-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blob-card:nth-child(3) .blob-card-name::after {
    content: "\2192";

    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.blob-card:nth-child(3):hover .blob-card-name::after {
    opacity: 1;
    transform: translateX(0);
}

.blob-card:nth-child(3) .blob-card-cta {
    display: none;
}


/* =========================
   SEÇÃO: CATEGORIAS (CLARA)
========================= */

.magazine-categories {
    background: transparent;
    color: var(--tn-color-text);

    padding: 20px 20px 64px;
}

.magazine-categories-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.magazine-categories .magazine-section-header {
    display: flex;
    align-items: baseline;
    gap: 10px;

    margin-bottom: 20px;
}

.magazine-section-eyebrow {
    display: inline-block;

    color: var(--tn-color-primary);

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    margin-bottom: 8px;
}

.magazine-categories .magazine-section-eyebrow {
    display: none;
}

.magazine-section-title {
    font-family: var(--tn-font-beauty-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;

    margin-bottom: 20px !important;
    margin: 0;
}

.magazine-categories .magazine-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tn-color-text);
}

/* Chips discretos, sem exagero — só um jeito simples de navegar */
.magazine-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.magazine-category-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 9px 16px 9px 10px;

    border-radius: 999px;
    background: var(--tn-color-bg);
    border: 1px solid var(--tn-color-border);

    text-decoration: none;
    color: var(--tn-color-text);

    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.magazine-category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--tn-color-primary-rgb), 0.5);
    background: rgba(var(--tn-color-primary-rgb), 0.06);
}

.magazine-category-card.is-blog {
    border-color: var(--tn-color-primary);
    color: var(--tn-color-primary);
}

.magazine-category-card.is-blog:hover {
    background: rgba(var(--tn-color-primary-rgb), 0.1);
}

.magazine-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;
    background: rgba(var(--tn-color-primary-rgb), 0.1);
    color: var(--tn-color-primary);

    font-size: 11px;

    transition: background 0.25s ease, color 0.25s ease;
}

.magazine-category-card:hover .magazine-category-icon {
    background: var(--tn-color-primary);
    color: #111111;
}

.magazine-category-card.is-blog .magazine-category-icon {
    background: rgba(var(--tn-color-primary-rgb), 0.14);
    color: var(--tn-color-primary);
}

.magazine-category-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.magazine-category-count {
    font-size: 0.75rem;
    color: var(--tn-color-muted);
}

.magazine-category-card.is-blog .magazine-category-count {
    color: rgba(var(--tn-color-primary-rgb), 0.75);
}


/* =========================
   SEÇÃO: POSTS RECENTES (CLARA)
========================= */

.magazine-recent {
    color: var(--tn-color-text);

    padding: 64px 20px 24px;

    contain-intrinsic-size: auto 700px;
}

.magazine-recent-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.magazine-recent .magazine-section-title {
    color: var(--tn-color-text);
}

.magazine-recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.magazine-recent-card {
    display: flex;
    flex-direction: column;

    text-decoration: none;
    color: inherit;

    border-radius: 16px;
    overflow: hidden;

    background: var(--tn-color-surface);
    border: 1px solid var(--tn-color-border);

    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.magazine-recent-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--tn-color-primary-rgb), 0.35);
    box-shadow: 0 20px 44px rgba(0,0,0,0.1);
}

.magazine-recent-thumb {
    position: relative;
    isolation: isolate;

    display: block;

    aspect-ratio: 18 / 10;

    background: var(--tn-color-border);
    overflow: hidden;
}

.magazine-recent-thumb img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.magazine-recent-card:hover .magazine-recent-thumb img {
    transform: scale(1.05);
}

/* Moldura automática (mesma técnica de assets/populares.css) */
.magazine-recent-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tn-frame-image) center/cover no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* Avatar do autor flutuando no canto superior esquerdo da imagem */
.magazine-recent-avatar-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;

    display: flex;

    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);

    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.magazine-recent-card:hover .magazine-recent-avatar-badge {
    transform: scale(1.08);
}

.magazine-recent-body {
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 18px 20px 20px;
}

.magazine-recent-cat {
    align-self: flex-start;

    padding: 3px 10px;

    border-radius: 20px;
    background: rgba(var(--tn-color-primary-rgb), 0.12);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tn-color-primary);
}

.magazine-recent-title {
    font-family: var(--tn-font-beauty-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--tn-color-text);

    transition: color 0.3s ease;
}

.magazine-recent-card:hover .magazine-recent-title {
    color: var(--tn-color-primary);
}

.magazine-recent-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--tn-color-muted);
}

.magazine-recent-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.magazine-recent-avatar {
    display: block;

    width: 32px;
    height: 32px;

    border-radius: 50%;
    border: 2px solid #ffffff;
}

.magazine-recent-author {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tn-color-text);
}

.magazine-recent-meta-dot {
    font-size: 0.6rem;
    color: var(--tn-color-muted);
}

.magazine-recent-date {
    font-size: 0.75rem;
    color: var(--tn-color-muted);
}

.magazine-recent-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;

    margin-top: 4px;
    padding: 7px 14px;

    border-radius: 20px;
    border: 1px solid var(--tn-color-border);

    font-size: 0.72rem;
    font-weight: 700;
    color: var(--tn-color-text);

    transition: gap 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.magazine-recent-card:hover .magazine-recent-cta {
    gap: 9px;
    background: var(--tn-color-primary);
    border-color: var(--tn-color-primary);
    color: #111111;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    body {
        padding: 0;
    }

    .hero {
        width: 100%;
        height: 100vh;
        min-height: 650px;
    }

    .player-name {
        font-size: 16vw;
        bottom: 220px;
    }

    .player-image {
        width: 60%;
        height: 70%;
    }

    .quote {
        top: 24px;
        left: 20px;
    }

    .quote p {
        font-size: 12px;
    }

    .player-number {
        top: 20px;
        right: 15px;
        font-size: 90px;
    }

    .beauty-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blob-card:nth-child(1),
    .blob-card:nth-child(3) {
        margin-top: 0;
        min-height: 300px;
    }

    .blob-card:nth-child(2) {
        order: -1;
        grid-column: span 2;
        min-height: 260px;
        aspect-ratio: 16 / 9;
        margin-top: 0;
    }

    .magazine-recent-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .socials {
        gap: 10px;
    }

    .player-name {
        bottom: 205px;

        font-size: 18vw;
    }

    .player-image {
        width: 80%;
        height: 65%;
    }

    .post-spotlight {
        left: 20px;
        bottom: 20px;

        width: 43%;
        height: 90px;
    }

    .category-spotlight {
        right: 20px;
        bottom: 20px;

        width: 43%;
        height: 90px;

        padding: 12px;
    }

    .category-spotlight-name {
        font-size: 12px;
    }

    .quote {
        top: 20px;
    }

    .quote p {
        font-size: 10px;
    }

    .magazine-recent {
        padding: 48px 16px 20px;
    }

    .magazine-categories {
        padding: 16px 16px 40px;
    }

    .beauty-categories {
        padding: 48px 16px;
    }

    .beauty-categories-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .blob-card,
    .blob-card:nth-child(1),
    .blob-card:nth-child(2) {
        min-height: 220px;
        aspect-ratio: auto;
        margin-top: 0;
    }

    .blob-card:nth-child(3) {
        grid-column: auto;
        min-height: 0;
        aspect-ratio: auto;
        margin-top: 0;
    }
}
