/*
Theme Name:  Portal Pará Negócios V2
Theme URI:   http://localhost/paranegocios
Author:      Portal Pará Negócios
Description: Portal de Negócios do Pará — V2 Premium. Tema editorial moderno, mobile-first, SEO otimizado com identidade visual própria.
Version:     2.0.0
Requires at least: 6.0
Requires PHP: 8.0
License:     GNU General Public License v2 or later
Text Domain: ppnv2
Tags:        news, business, blog, custom-logo, custom-menu, featured-images, mobile-first, dark-mode
*/

/* ============================================================
   DESIGN TOKENS — V2
   Paleta: Índigo #241D79 | Vermelho #D91C17
   Tipografia: Sora (display) + Inter (body)
   ============================================================ */
:root {
    /* — Brand Colors — */
    --clr-indigo:        #241D79;
    --clr-indigo-dark:   #1A1558;
    --clr-indigo-light:  #3A30A0;
    --clr-indigo-subtle: #EEF0FF;
    --clr-red:           #D91C17;
    --clr-red-dark:      #B01510;
    --clr-red-light:     #F23330;
    --clr-red-subtle:    #FFF0F0;

    /* — Neutrals — */
    --clr-white:         #FFFFFF;
    --clr-gray-50:       #F8F9FC;
    --clr-gray-100:      #F1F3F8;
    --clr-gray-200:      #E4E7F0;
    --clr-gray-300:      #CDD2E0;
    --clr-gray-400:      #A8B0C4;
    --clr-gray-500:      #7B84A0;
    --clr-gray-600:      #5A6278;
    --clr-gray-700:      #3D4459;
    --clr-gray-800:      #262D42;
    --clr-gray-900:      #131726;

    /* — Semantic — */
    --clr-bg:            var(--clr-gray-50);
    --clr-surface:       var(--clr-white);
    --clr-surface-2:     var(--clr-gray-100);
    --clr-border:        var(--clr-gray-200);
    --clr-border-light:  var(--clr-gray-100);
    --clr-text:          var(--clr-gray-900);
    --clr-text-body:     var(--clr-gray-700);
    --clr-text-muted:    var(--clr-gray-500);
    --clr-text-subtle:   var(--clr-gray-400);
    --clr-primary:       var(--clr-indigo);
    --clr-primary-dark:  var(--clr-indigo-dark);
    --clr-accent:        var(--clr-red);
    --clr-accent-dark:   var(--clr-red-dark);

    /* — Typography — */
    --font-display:  'Sora', 'Inter', system-ui, sans-serif;
    --font-body:     'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

    /* — Font Sizes (fluid) — */
    --text-2xs:   0.6875rem; /* 11px */
    --text-xs:    0.75rem;   /* 12px */
    --text-sm:    0.8125rem; /* 13px */
    --text-base:  0.9375rem; /* 15px */
    --text-md:    1rem;      /* 16px */
    --text-lg:    1.125rem;  /* 18px */
    --text-xl:    1.25rem;   /* 20px */
    --text-2xl:   1.5rem;    /* 24px */
    --text-3xl:   1.875rem;  /* 30px */
    --text-4xl:   2.25rem;   /* 36px */
    --text-5xl:   3rem;      /* 48px */

    /* — Font Weights — */
    --fw-normal:  400;
    --fw-medium:  500;
    --fw-semi:    600;
    --fw-bold:    700;
    --fw-black:   800;

    /* — Line Heights — */
    --lh-none:    1;
    --lh-tight:   1.2;
    --lh-snug:    1.35;
    --lh-normal:  1.5;
    --lh-relaxed: 1.65;
    --lh-loose:   1.8;

    /* — Spacing scale — */
    --sp-1:  0.25rem;
    --sp-2:  0.5rem;
    --sp-3:  0.75rem;
    --sp-4:  1rem;
    --sp-5:  1.25rem;
    --sp-6:  1.5rem;
    --sp-8:  2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* — Layout — */
    --container-max: 1340px;
    --container-pad: 1.25rem;
    --sidebar-w:     300px;
    --gap-grid:      1.5rem;

    /* — Borders — */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* — Shadows — */
    --shadow-xs:  0 1px 2px rgba(19,23,38,.06);
    --shadow-sm:  0 2px 8px rgba(19,23,38,.08);
    --shadow-md:  0 4px 16px rgba(19,23,38,.10);
    --shadow-lg:  0 8px 32px rgba(19,23,38,.12);
    --shadow-xl:  0 16px 48px rgba(19,23,38,.14);
    --shadow-indigo: 0 4px 20px rgba(36,29,121,.20);

    /* — Transitions — */
    --ease-out:  cubic-bezier(.16,1,.3,1);
    --ease-in:   cubic-bezier(.4,0,1,1);
    --dur-fast:  150ms;
    --dur-base:  250ms;
    --dur-slow:  400ms;

    /* — Z-Index scale — */
    --z-base:   0;
    --z-card:   1;
    --z-sticky: 100;
    --z-header: 200;
    --z-overlay:300;
    --z-modal:  400;
    --z-toast:  500;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--fw-normal);
    line-height: var(--lh-normal);
    color: var(--clr-text);
    background: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }
table { border-collapse: collapse; }
hr { border: none; border-top: 1px solid var(--clr-border); }

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

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--sp-4);
    background: var(--clr-indigo);
    color: var(--clr-white);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    z-index: var(--z-toast);
    transition: top var(--dur-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.site-wrapper {
    min-height: 60vh;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.ppnv2-topbar {
    background: var(--clr-indigo-dark);
    color: rgba(255,255,255,.75);
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    padding-block: var(--sp-2);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.ppnv2-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}
.ppnv2-topbar__left {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}
.ppnv2-topbar__ticker {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}
.ppnv2-topbar__ticker-label {
    background: var(--clr-red);
    color: var(--clr-white);
    font-size: var(--text-2xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 2px var(--sp-2);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.ppnv2-topbar__date { color: rgba(255,255,255,.6); }
.ppnv2-topbar__right {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}
.ppnv2-topbar__social {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}
.ppnv2-topbar__social a {
    color: rgba(255,255,255,.6);
    transition: color var(--dur-fast);
    display: flex;
    align-items: center;
}
.ppnv2-topbar__social a:hover { color: var(--clr-white); }

/* ============================================================
   SITE HEADER
   ============================================================ */
.ppnv2-header {
    background: var(--clr-white);
    border-bottom: 2px solid var(--clr-indigo);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    box-shadow: var(--shadow-sm);
}
.ppnv2-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--sp-6);
    padding-block: var(--sp-4);
}

/* Brand / Logo */
.ppnv2-header__brand a {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}
.ppnv2-header__logo-main {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--fw-black);
    color: var(--clr-indigo);
    letter-spacing: -.02em;
}
.ppnv2-header__logo-accent { color: var(--clr-red); }
.ppnv2-header__logo-tagline {
    font-size: var(--text-xs);
    color: var(--clr-text-muted);
    font-weight: var(--fw-medium);
    margin-top: 2px;
    letter-spacing: .01em;
}

/* Header Search */
.ppnv2-header__search { display: flex; justify-content: flex-end; }
.ppnv2-search-form {
    display: flex;
    align-items: center;
    background: var(--clr-gray-100);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: border-color var(--dur-base), box-shadow var(--dur-base);
    max-width: 340px;
    width: 100%;
}
.ppnv2-search-form:focus-within {
    border-color: var(--clr-indigo-light);
    box-shadow: 0 0 0 3px rgba(36,29,121,.10);
}
.ppnv2-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--text-sm);
    color: var(--clr-text);
}
.ppnv2-search-form input::placeholder { color: var(--clr-text-subtle); }
.ppnv2-search-form button {
    background: var(--clr-indigo);
    color: var(--clr-white);
    border: none;
    padding: var(--sp-2) var(--sp-4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur-fast);
}
.ppnv2-search-form button:hover { background: var(--clr-indigo-dark); }

/* Header actions */
.ppnv2-header__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}
.ppnv2-header__cta {
    background: var(--clr-red);
    color: var(--clr-white);
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--radius-full);
    transition: background var(--dur-fast), transform var(--dur-fast);
    white-space: nowrap;
}
.ppnv2-header__cta:hover {
    background: var(--clr-red-dark);
    transform: translateY(-1px);
}

/* ============================================================
   PRIMARY NAVIGATION
   ============================================================ */
.ppnv2-nav {
    background: var(--clr-indigo);
    border-top: none;
}
.ppnv2-nav__inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.ppnv2-nav__inner::-webkit-scrollbar { display: none; }

.ppnv2-nav__menu {
    display: flex;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0; padding: 0;
}
.ppnv2-nav__item {
    position: relative;
}
.ppnv2-nav__link {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-3) var(--sp-5);
    color: rgba(255,255,255,.85);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--dur-fast), background var(--dur-fast);
    border-bottom: 3px solid transparent;
}
.ppnv2-nav__link:hover,
.ppnv2-nav__item.current-menu-item > .ppnv2-nav__link {
    color: var(--clr-white);
    border-bottom-color: var(--clr-red);
}
.ppnv2-nav__item.menu-item-has-children > .ppnv2-nav__link::after {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255,255,255,.6);
    margin-left: var(--sp-1);
    transition: transform var(--dur-fast);
}
.ppnv2-nav__item.menu-item-has-children:hover > .ppnv2-nav__link::after {
    transform: rotate(180deg);
}

/* Dropdown */
.ppnv2-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--clr-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border-top: 3px solid var(--clr-red);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--dur-base) var(--ease-out);
    z-index: var(--z-overlay);
    list-style: none;
    padding: var(--sp-2) 0;
}
.ppnv2-nav__item:hover > .ppnv2-nav__dropdown,
.ppnv2-nav__item:focus-within > .ppnv2-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ppnv2-nav__dropdown a {
    display: block;
    padding: var(--sp-2) var(--sp-5);
    color: var(--clr-text-body);
    font-size: var(--text-sm);
    transition: color var(--dur-fast), background var(--dur-fast);
}
.ppnv2-nav__dropdown a:hover {
    color: var(--clr-indigo);
    background: var(--clr-indigo-subtle);
}

/* Breaking news ticker */
.ppnv2-nav__breaking {
    margin-left: auto;
    display: flex;
    align-items: center;
    padding-inline: var(--sp-4);
    gap: var(--sp-2);
    flex-shrink: 0;
}
.ppnv2-nav__breaking-label {
    background: var(--clr-red);
    color: var(--clr-white);
    font-size: var(--text-2xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 2px var(--sp-2);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}

/* Mobile nav toggle */
.ppnv2-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    color: var(--clr-white);
    background: rgba(255,255,255,.1);
    border-radius: var(--radius-md);
}

/* ============================================================
   BADGE / LABELS
   ============================================================ */
.ppnv2-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: var(--text-2xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px var(--sp-2);
    border-radius: var(--radius-sm);
    line-height: 1;
}
.ppnv2-badge--primary { background: var(--clr-indigo); color: var(--clr-white); }
.ppnv2-badge--accent  { background: var(--clr-red);    color: var(--clr-white); }
.ppnv2-badge--ghost   { background: var(--clr-indigo-subtle); color: var(--clr-indigo); }
.ppnv2-badge--dark    { background: var(--clr-gray-800); color: var(--clr-white); }
.ppnv2-badge--live    {
    background: var(--clr-red);
    color: var(--clr-white);
    animation: pulse-red 2s infinite;
}

/* Category pill */
.ppnv2-cat-pill {
    display: inline-block;
    align-self: flex-start;
    font-size: var(--text-2xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 2px var(--sp-2);
    border-radius: var(--radius-sm);
    background: var(--clr-red);
    color: var(--clr-white);
    line-height: 1.4;
    transition: background var(--dur-fast);
}
.ppnv2-cat-pill:hover { background: var(--clr-red-dark); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.ppnv2-hero {
    background: var(--clr-gray-900);
    padding-block: var(--sp-8);
}
.ppnv2-hero__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto;
    gap: var(--sp-3);
    align-items: start;
}

/* Hero Main Article */
.ppnv2-hero__main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    align-items: flex-end;
}
.ppnv2-hero__main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
}
.ppnv2-hero__main:hover .ppnv2-hero__main-img {
    transform: scale(1.03);
}
.ppnv2-hero__main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(13,10,50,.95) 0%,
        rgba(13,10,50,.7) 40%,
        rgba(13,10,50,.15) 70%,
        transparent 100%
    );
}
.ppnv2-hero__main-content {
    position: relative;
    padding: var(--sp-8);
    width: 100%;
}
.ppnv2-hero__main-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-3);
}
.ppnv2-hero__main-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--fw-black);
    line-height: var(--lh-tight);
    color: var(--clr-white);
    margin-bottom: var(--sp-3);
    letter-spacing: -.02em;
}
.ppnv2-hero__main-title a { color: inherit; }
.ppnv2-hero__main-title a:hover { color: rgba(255,255,255,.9); }
.ppnv2-hero__main-excerpt {
    font-size: var(--text-base);
    color: rgba(255,255,255,.75);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ppnv2-hero__main-byline {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-sm);
    color: rgba(255,255,255,.7);
}
.ppnv2-hero__main-byline span { display: flex; align-items: center; gap: var(--sp-1); }

/* Hero Sidebar List */
.ppnv2-hero__list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}
.ppnv2-hero__list-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--sp-3);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: background var(--dur-fast), transform var(--dur-fast);
    text-decoration: none;
}
.ppnv2-hero__list-item:hover {
    background: rgba(255,255,255,.1);
    transform: translateX(4px);
}
.ppnv2-hero__list-thumb {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.ppnv2-hero__list-content {
    padding: var(--sp-3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-2);
}
.ppnv2-hero__list-title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--clr-white);
    line-height: var(--lh-snug);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ppnv2-hero__list-time {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.5);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.ppnv2-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-4);
    border-bottom: 2px solid var(--clr-border);
}
.ppnv2-section-header--accent {
    border-bottom-color: var(--clr-red);
}
.ppnv2-section-header--indigo {
    border-bottom-color: var(--clr-indigo);
}
.ppnv2-section-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--fw-black);
    color: var(--clr-indigo);
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    line-height: 1;
}
.ppnv2-section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.2em;
    background: var(--clr-red);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}
.ppnv2-section-link {
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    transition: color var(--dur-fast);
}
.ppnv2-section-link:hover { color: var(--clr-indigo); }
.ppnv2-section-link svg { transition: transform var(--dur-fast); }
.ppnv2-section-link:hover svg { transform: translateX(3px); }

/* ============================================================
   NEWS CARDS
   ============================================================ */

/* -- Card Padrão -- */
.ppnv2-card {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--dur-base), transform var(--dur-base);
}
.ppnv2-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.ppnv2-card__thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.ppnv2-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
}
.ppnv2-card:hover .ppnv2-card__thumb { transform: scale(1.05); }

.ppnv2-card__thumb-cat {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    z-index: 1;
}

.ppnv2-card__body {
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--sp-3);
}
.ppnv2-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    line-height: var(--lh-snug);
    color: var(--clr-text);
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ppnv2-card__title a { color: inherit; }
.ppnv2-card__title a:hover { color: var(--clr-indigo); }

.ppnv2-card__excerpt {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: var(--lh-relaxed);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.ppnv2-card__meta {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-xs);
    color: var(--clr-text-subtle);
    margin-top: auto;
    padding-top: var(--sp-3);
    border-top: 1px solid var(--clr-border-light);
}
.ppnv2-card__meta-item {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

/* -- Card Horizontal (lista) -- */
.ppnv2-card--horizontal {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-4);
    padding: var(--sp-4);
    margin-bottom: var(--sp-4);
}
.ppnv2-card--horizontal .ppnv2-card__thumb-wrap {
    width: 140px;
    flex-shrink: 0;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
}
.ppnv2-card--horizontal .ppnv2-card__body {
    padding: 0;
}
.ppnv2-card--horizontal .ppnv2-card__title {
    font-size: var(--text-base);
    -webkit-line-clamp: 4;
}

/* -- Card Destaque (1/3 largura) -- */
.ppnv2-card--feature {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3/4;
    display: flex;
    align-items: flex-end;
    border: none;
}
.ppnv2-card--feature .ppnv2-card__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ppnv2-card--feature .ppnv2-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,10,50,.92) 0%, rgba(13,10,50,.4) 55%, transparent 100%);
}
.ppnv2-card--feature .ppnv2-card__body {
    position: relative;
    padding: var(--sp-6);
    z-index: 1;
}
.ppnv2-card--feature .ppnv2-card__title {
    color: var(--clr-white);
    font-size: var(--text-xl);
}
.ppnv2-card--feature .ppnv2-card__title a:hover { color: rgba(255,255,255,.85); }
.ppnv2-card--feature .ppnv2-card__meta { border: none; color: rgba(255,255,255,.6); }

/* ============================================================
   NEWS GRIDS
   ============================================================ */
.ppnv2-grid { display: grid; gap: var(--gap-grid); }
.ppnv2-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ppnv2-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ppnv2-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Grid com destaque (1 grande + coluna direita) */
.ppnv2-grid--lead {
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto;
}
.ppnv2-grid--lead .ppnv2-card:first-child {
    grid-row: span 3;
}

/* ============================================================
   HOME LAYOUT
   ============================================================ */
.ppnv2-home-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-w);
    gap: var(--sp-8);
    align-items: start;
    padding-block: var(--sp-10);
}
.ppnv2-home-main { min-width: 0; }
.ppnv2-home-section { margin-bottom: var(--sp-10); }
.ppnv2-home-section:last-child { margin-bottom: 0; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.ppnv2-sidebar {
    position: sticky;
    top: calc(var(--sp-8) + 80px); /* header height */
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}
.ppnv2-widget {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    overflow: hidden;
}
.ppnv2-widget__header {
    background: var(--clr-indigo);
    padding: var(--sp-3) var(--sp-5);
}
.ppnv2-widget__title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: .06em;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}
.ppnv2-widget__body { padding: var(--sp-4); }

/* Recent Posts widget */
.ppnv2-widget-posts { display: flex; flex-direction: column; gap: var(--sp-3); }
.ppnv2-widget-post {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: var(--sp-3);
    align-items: center;
}
.ppnv2-widget-post__thumb {
    width: 70px;
    height: 52px;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.ppnv2-widget-post__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ppnv2-widget-post__title {
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    line-height: var(--lh-snug);
    color: var(--clr-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ppnv2-widget-post__title a:hover { color: var(--clr-indigo); }
.ppnv2-widget-post__meta {
    font-size: var(--text-xs);
    color: var(--clr-text-subtle);
    margin-top: var(--sp-1);
}

/* Categories widget */
.ppnv2-widget-cats { display: flex; flex-direction: column; }
.ppnv2-widget-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--clr-border-light);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
}
.ppnv2-widget-cat-item:last-child { border-bottom: none; }
.ppnv2-widget-cat-item a { color: var(--clr-text-body); transition: color var(--dur-fast); }
.ppnv2-widget-cat-item a:hover { color: var(--clr-indigo); }
.ppnv2-widget-cat-item__count {
    background: var(--clr-gray-100);
    color: var(--clr-text-muted);
    font-size: var(--text-xs);
    font-weight: var(--fw-semi);
    padding: 1px var(--sp-2);
    border-radius: var(--radius-full);
}

/* Ad widget */
.ppnv2-ad-widget {
    background: var(--clr-surface);
    border: 1px dashed var(--clr-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    font-size: var(--text-xs);
    color: var(--clr-text-subtle);
    text-align: center;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.ppnv2-single-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-w);
    gap: var(--sp-8);
    align-items: start;
    padding-block: var(--sp-10);
}
.ppnv2-article-header { margin-bottom: var(--sp-8); }
.ppnv2-article-header__meta {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
    margin-bottom: var(--sp-4);
}
.ppnv2-article__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: var(--fw-black);
    line-height: var(--lh-tight);
    color: var(--clr-indigo);
    letter-spacing: -.03em;
    margin-bottom: var(--sp-5);
}
.ppnv2-article__subtitle {
    font-size: var(--text-xl);
    font-weight: var(--fw-normal);
    color: var(--clr-text-muted);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-6);
}
.ppnv2-article__byline {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-5) 0;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: var(--sp-8);
}
.ppnv2-author-avatar {
    width: 52px; height: 52px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--clr-indigo-subtle);
    flex-shrink: 0;
}
.ppnv2-byline__name {
    font-weight: var(--fw-semi);
    color: var(--clr-text);
    font-size: var(--text-base);
}
.ppnv2-byline__info {
    font-size: var(--text-xs);
    color: var(--clr-text-muted);
    margin-top: 2px;
}

/* Article content */
.ppnv2-article-content {
    font-size: var(--text-md);
    line-height: var(--lh-loose);
    color: var(--clr-text-body);
}
.ppnv2-article-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--clr-indigo);
    margin-top: var(--sp-10);
    margin-bottom: var(--sp-4);
    letter-spacing: -.02em;
}
.ppnv2-article-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--clr-text);
    margin-top: var(--sp-8);
    margin-bottom: var(--sp-3);
}
.ppnv2-article-content p { margin-bottom: var(--sp-5); }
.ppnv2-article-content a { color: var(--clr-indigo); text-decoration: underline; }
.ppnv2-article-content a:hover { color: var(--clr-indigo-dark); }
.ppnv2-article-content blockquote {
    border-left: 4px solid var(--clr-red);
    padding: var(--sp-4) var(--sp-6);
    margin: var(--sp-8) 0;
    background: var(--clr-indigo-subtle);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--clr-indigo-dark);
}
.ppnv2-article-content ul,
.ppnv2-article-content ol {
    padding-left: var(--sp-6);
    margin-bottom: var(--sp-5);
}
.ppnv2-article-content ul { list-style: disc; }
.ppnv2-article-content ol { list-style: decimal; }
.ppnv2-article-content li { margin-bottom: var(--sp-2); }
.ppnv2-article-content img {
    border-radius: var(--radius-lg);
    margin-block: var(--sp-6);
}
.ppnv2-article-content figcaption {
    font-size: var(--text-sm);
    color: var(--clr-text-subtle);
    text-align: center;
    margin-top: var(--sp-2);
}

/* Article hero image */
.ppnv2-article-hero-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius-xl);
    margin-bottom: var(--sp-3);
}
.ppnv2-article-img-caption {
    font-size: var(--text-xs);
    color: var(--clr-text-subtle);
    text-align: center;
    margin-bottom: var(--sp-8);
}

/* ============================================================
   SOCIAL SHARE
   ============================================================ */
.ppnv2-share {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
    padding: var(--sp-5) 0;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    margin: var(--sp-8) 0;
}
.ppnv2-share__label {
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    color: var(--clr-text-muted);
    flex-shrink: 0;
}
.ppnv2-share__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    text-decoration: none;
    transition: transform var(--dur-fast), opacity var(--dur-fast);
}
.ppnv2-share__btn:hover { transform: translateY(-2px); opacity: .9; }
.ppnv2-share--whatsapp { background: #25D366; color: #fff; }
.ppnv2-share--facebook { background: #1877F2; color: #fff; }
.ppnv2-share--telegram { background: #26A5E4; color: #fff; }
.ppnv2-share--twitter  { background: #000; color: #fff; }

/* ============================================================
   RELATED POSTS
   ============================================================ */
.ppnv2-related { margin-top: var(--sp-12); }

/* ============================================================
   ARCHIVE / CATEGORY
   ============================================================ */
.ppnv2-archive-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-w);
    gap: var(--sp-8);
    align-items: start;
    padding-block: var(--sp-10);
}
.ppnv2-archive-header {
    background: linear-gradient(135deg, var(--clr-indigo) 0%, var(--clr-indigo-dark) 100%);
    padding-block: var(--sp-12);
    margin-bottom: var(--sp-8);
}
.ppnv2-archive-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: var(--fw-black);
    color: var(--clr-white);
    letter-spacing: -.03em;
}
.ppnv2-archive-header__desc {
    font-size: var(--text-lg);
    color: rgba(255,255,255,.7);
    margin-top: var(--sp-3);
}
.ppnv2-archive-header__count {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.5);
    margin-top: var(--sp-2);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.ppnv2-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    margin-top: var(--sp-10);
}
.ppnv2-pagination a,
.ppnv2-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    border: 1.5px solid var(--clr-border);
    color: var(--clr-text-body);
    background: var(--clr-surface);
    transition: all var(--dur-fast);
}
.ppnv2-pagination a:hover {
    background: var(--clr-indigo);
    border-color: var(--clr-indigo);
    color: var(--clr-white);
}
.ppnv2-pagination .current {
    background: var(--clr-indigo);
    border-color: var(--clr-indigo);
    color: var(--clr-white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.ppnv2-footer {
    background: var(--clr-indigo-dark);
    color: rgba(255,255,255,.75);
    margin-top: var(--sp-16);
}
.ppnv2-footer__top {
    padding-block: var(--sp-16);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.ppnv2-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--sp-10);
}
.ppnv2-footer__brand-name {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--fw-black);
    color: var(--clr-white);
    letter-spacing: -.02em;
    margin-bottom: var(--sp-4);
}
.ppnv2-footer__brand-name span { color: var(--clr-red); }
.ppnv2-footer__brand-desc {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.55);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-6);
}
.ppnv2-footer__social {
    display: flex;
    gap: var(--sp-3);
}
.ppnv2-footer__social-link {
    width: 36px; height: 36px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    transition: all var(--dur-fast);
}
.ppnv2-footer__social-link:hover {
    background: var(--clr-red);
    border-color: var(--clr-red);
    color: var(--clr-white);
    transform: translateY(-2px);
}
.ppnv2-footer__col-title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--clr-white);
    margin-bottom: var(--sp-5);
}
.ppnv2-footer__col-menu {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.ppnv2-footer__col-menu a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.6);
    transition: color var(--dur-fast);
}
.ppnv2-footer__col-menu a:hover { color: var(--clr-white); }

.ppnv2-footer__bottom {
    padding-block: var(--sp-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}
.ppnv2-footer__copy {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.4);
}
.ppnv2-footer__legal {
    display: flex;
    gap: var(--sp-5);
}
.ppnv2-footer__legal a {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.4);
    transition: color var(--dur-fast);
}
.ppnv2-footer__legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   AD SLOTS
   ============================================================ */
.ppnv2-ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-surface);
    border: 1px dashed var(--clr-border);
    border-radius: var(--radius-lg);
    min-height: 90px;
    font-size: var(--text-xs);
    color: var(--clr-text-subtle);
    text-align: center;
    overflow: hidden;
}
.ppnv2-ad-slot--leaderboard { min-height: 90px; }
.ppnv2-ad-slot--rectangle  { min-height: 250px; }
.ppnv2-ad-slot--half-page  { min-height: 600px; }
.ppnv2-ad-slot-wrapper {
    padding-block: var(--sp-4);
    text-align: center;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.ppnv2-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-2);
    font-size: var(--text-xs);
    color: var(--clr-text-subtle);
    padding-block: var(--sp-4);
    border-bottom: 1px solid var(--clr-border-light);
}
.ppnv2-breadcrumb a { color: var(--clr-text-muted); transition: color var(--dur-fast); }
.ppnv2-breadcrumb a:hover { color: var(--clr-indigo); }
.ppnv2-breadcrumb__sep { color: var(--clr-border); }
.ppnv2-breadcrumb__current { color: var(--clr-text-body); }

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.ppnv2-search-header {
    background: var(--clr-indigo-subtle);
    padding-block: var(--sp-8);
    border-bottom: 2px solid var(--clr-indigo);
}
.ppnv2-search-header h1 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--fw-black);
    color: var(--clr-indigo);
    letter-spacing: -.02em;
}
.ppnv2-search-term { color: var(--clr-red); }
.ppnv2-search-count { font-size: var(--text-base); color: var(--clr-text-muted); margin-top: var(--sp-2); }

/* ============================================================
   404 PAGE
   ============================================================ */
.ppnv2-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-block: var(--sp-24);
}
.ppnv2-404__number {
    font-family: var(--font-display);
    font-size: 10rem;
    font-weight: var(--fw-black);
    color: var(--clr-indigo-subtle);
    line-height: 1;
    letter-spacing: -.05em;
}
.ppnv2-404__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--fw-black);
    color: var(--clr-indigo);
    margin-block: var(--sp-4);
}
.ppnv2-404__desc { color: var(--clr-text-muted); max-width: 400px; }

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.ppnv2-mobile-nav {
    position: fixed;
    top: 0; left: -100%;
    width: min(320px, 90vw);
    height: 100vh;
    background: var(--clr-white);
    z-index: var(--z-modal);
    transition: left var(--dur-slow) var(--ease-out);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}
.ppnv2-mobile-nav.is-open { left: 0; }
.ppnv2-mobile-nav__header {
    background: var(--clr-indigo);
    padding: var(--sp-5) var(--sp-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ppnv2-mobile-nav__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--fw-black);
    color: var(--clr-white);
}
.ppnv2-mobile-nav__close {
    color: rgba(255,255,255,.7);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: background var(--dur-fast);
}
.ppnv2-mobile-nav__close:hover { background: rgba(255,255,255,.1); color: var(--clr-white); }
.ppnv2-mobile-nav__menu { padding: var(--sp-4); }
.ppnv2-mobile-nav__item { border-bottom: 1px solid var(--clr-border-light); }
.ppnv2-mobile-nav__link {
    display: block;
    padding: var(--sp-4) var(--sp-2);
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    color: var(--clr-text);
    transition: color var(--dur-fast);
}
.ppnv2-mobile-nav__link:hover { color: var(--clr-indigo); }

.ppnv2-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13,10,50,.6);
    backdrop-filter: blur(4px);
    z-index: calc(var(--z-modal) - 1);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-slow);
}
.ppnv2-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.ppnv2-fade-in-up {
    animation: fadeInUp var(--dur-slow) var(--ease-out) both;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .ppnv2-home-layout,
    .ppnv2-single-layout,
    .ppnv2-archive-layout {
        grid-template-columns: 1fr;
    }
    .ppnv2-sidebar { position: static; }
    .ppnv2-hero__grid { grid-template-columns: 1fr 280px; }
    .ppnv2-footer__grid { grid-template-columns: 1fr 1fr; }
    .ppnv2-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --container-pad: 1rem;
        --gap-grid: 1rem;
    }
    .ppnv2-hero__grid { grid-template-columns: 1fr; }
    .ppnv2-hero__list { display: none; }
    .ppnv2-grid--3, .ppnv2-grid--2 { grid-template-columns: 1fr; }
    .ppnv2-grid--lead { grid-template-columns: 1fr; }
    .ppnv2-grid--lead .ppnv2-card:first-child { grid-row: auto; }
    .ppnv2-header__inner { grid-template-columns: auto 1fr; }
    .ppnv2-header__actions { display: none; }
    .ppnv2-header__search { display: none; }
    .ppnv2-header__mobile-actions { display: flex; gap: var(--sp-2); }
    .ppnv2-topbar__left .ppnv2-topbar__ticker { display: none; }
    .ppnv2-nav__menu { display: none; }
    .ppnv2-nav-toggle { display: flex; }
    .ppnv2-nav__inner { justify-content: flex-end; }
    .ppnv2-footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
    .ppnv2-card--horizontal .ppnv2-card__thumb-wrap { width: 100px; }
    .ppnv2-footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .ppnv2-home-layout { padding-block: var(--sp-6); }
    .ppnv2-hero__main-content { padding: var(--sp-5); }
    .ppnv2-hero__main-title { font-size: 1.4rem; }
    .ppnv2-article__title { font-size: 1.6rem; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .ppnv2-topbar,
    .ppnv2-header,
    .ppnv2-nav,
    .ppnv2-sidebar,
    .ppnv2-footer,
    .ppnv2-share,
    .ppnv2-ad-slot,
    .ppnv2-ad-widget { display: none !important; }
    .ppnv2-article-content { font-size: 12pt; line-height: 1.5; }
}

/* ============================================================
   ALIGNMENT OVERRIDES (V2 DESIGN SYSTEM ALIGNMENT)
   ============================================================ */
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; white-space: normal; }
  .ticker-wrap:hover .ticker-track,
  .ticker-wrap:focus-within .ticker-track { animation-play-state: paused !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Mobile hamburger */
.hamburger { display: none; }
@media (max-width: 860px) { .hamburger { display: flex !important; } .nav-desktop { display: none !important; } .search-box { display: none !important; } }

/* Responsive layout */
@media (max-width: 1100px) {
  .topbar-row { display: none !important; }
  .main-wrap { flex-direction: column !important; }
  .main-col { flex-direction: column !important; }
  .single-wrap { flex-direction: column !important; }
  .news-sidebar { width: 100% !important; }
  .hero-wrap { height: auto !important; flex-direction: column !important; }
  .hero-main { width: 100% !important; height: 360px !important; }
  .hero-side { width: 100% !important; flex-direction: row !important; height: 200px !important; }
  .hero-side-card { flex: 1 !important; }
  .mod-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .b1-layout { flex-direction: column !important; }
  .b2-grid { grid-template-columns: 1fr 1fr !important; }
  .b3-grid { grid-template-columns: 1fr 1fr !important; }
  .b4-layout { flex-direction: column !important; }
  .b5-grid { grid-template-columns: 1fr 1fr !important; }
  .agenda-grid { grid-template-columns: 1fr 1fr !important; }
  .kpi-row { flex-wrap: wrap !important; justify-content: center !important; }
  .eco-ctas { flex-direction: column !important; align-items: center !important; }
  .spons-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .supp-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .footer-inner { flex-wrap: wrap !important; gap: 32px !important; }
  .cat-grid-2 { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 768px) {
  .hero-side { flex-direction: column !important; height: auto !important; }
  .hero-side-card { height: 180px !important; flex: none !important; width: 100% !important; }
  .mod-grid { grid-template-columns: 1fr 1fr !important; }
  .b2-grid { grid-template-columns: 1fr !important; }
  .b3-grid { grid-template-columns: 1fr !important; }
  .b5-grid { grid-template-columns: 1fr !important; }
  .agenda-grid { grid-template-columns: 1fr !important; }
  .spons-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .supp-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .footer-cats { grid-template-columns: 1fr 1fr !important; }
  .cat-grid-2 { grid-template-columns: 1fr !important; }
  .cat-list-item { flex-direction: column !important; height: auto !important; }
  .cat-list-img { width: 100% !important; height: 180px !important; }
  .pagination { gap: 4px !important; }
  .art-h1 { font-size: 26px !important; }
  .art-meta { flex-wrap: wrap !important; }
  .related-grid { grid-template-columns: 1fr !important; }
  .share-bar { flex-wrap: wrap !important; }
}
@media (max-width: 480px) {
  .mod-grid { grid-template-columns: 1fr 1fr !important; }
  .supp-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ============================================================
   RESPONSIVE FIXES — CTA SECTIONS & COMPACT HEROES
   ============================================================ */
@media (max-width: 768px) {
  /* Divulgue seu evento / Seja colunista CTA Blocks */
  .ppnv2-cta-section {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    padding: 28px 20px !important;
    gap: 20px !important;
  }
  .ppnv2-cta-section div {
    max-width: 100% !important;
    text-align: center !important;
  }
  .ppnv2-cta-section a {
    display: block !important;
    white-space: normal !important;
    align-self: center !important;
    width: 100% !important;
  }

  /* Compact Hero Header (Categories, Colunistas, Eventos) */
  .ppnv2-hero-compact {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    padding: 24px 20px !important;
    gap: 16px !important;
  }
  .ppnv2-hero-compact__kpi {
    display: none !important; /* Hide KPIs on mobile */
  }
  .ppnv2-hero-compact h1 {
    font-size: 22px !important;
  }
  .ppnv2-hero-compact p {
    font-size: 13px !important;
    max-width: 100% !important;
    line-height: 1.5 !important;
  }
  .ppnv2-hero-compact a {
    align-self: center !important;
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.ppnv2-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background-color: var(--clr-indigo);
    color: var(--clr-white) !important;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--dur-base) var(--ease-out),
                transform var(--dur-base) var(--ease-out),
                background-color var(--dur-fast),
                visibility var(--dur-base);
    text-decoration: none;
}
.ppnv2-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ppnv2-back-to-top:hover {
    background-color: var(--clr-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.ppnv2-back-to-top svg {
    display: block;
    width: 18px;
    height: 18px;
    transition: transform var(--dur-fast);
}
.ppnv2-back-to-top:hover svg {
    transform: translateY(-1px);
}
/* Mobile adaptations */
@media (max-width: 767px) {
    .ppnv2-back-to-top {
        bottom: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
    }
    /* Compensação se tiver publicidade de rodapé flutuante ativa no mobile */
    body.ppnv2-has-anchor-ad .ppnv2-back-to-top {
        bottom: 84px; /* sobe o botão para ficar acima da publicidade flutuante */
    }
}

/* ============================================================
   SUBMENU / DROPDOWN (Desktop)
   ============================================================ */
.ppnv2-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}
.ppnv2-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--dur-fast) var(--ease-out),
                transform var(--dur-fast) var(--ease-out),
                visibility var(--dur-fast);
    display: flex;
    flex-direction: column;
}
.ppnv2-nav__item:hover .ppnv2-nav__dropdown,
.ppnv2-nav__item:focus-within .ppnv2-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ppnv2-nav__item:hover svg {
    transform: rotate(180deg);
}
.ppnv2-nav__dropdown-link {
    display: block;
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--clr-text-body);
    transition: background var(--dur-fast), color var(--dur-fast);
    text-decoration: none;
    text-align: left;
    white-space: nowrap;
}
.ppnv2-nav__dropdown-link:hover {
    background-color: var(--clr-gray-100);
    color: var(--clr-indigo);
}

/* ============================================================
   SUBMENU & TOGGLE (Mobile)
   ============================================================ */
.ppnv2-mobile-nav__item.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.ppnv2-mobile-nav__item.menu-item-has-children > .ppnv2-mobile-nav__link {
    flex: 1;
}
.ppnv2-mobile-submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--dur-fast), color var(--dur-fast);
}
.ppnv2-mobile-submenu-toggle:hover,
.ppnv2-mobile-submenu-toggle:focus {
    color: var(--clr-indigo);
}
.ppnv2-mobile-submenu {
    width: 100%;
    margin: 0;
    padding: 0 0 0 16px;
    list-style: none;
    background: rgba(0, 0, 0, 0.02);
    border-left: 2px solid var(--clr-border-light);
}



