/* Peack News – World Cup 2026 Dashboard */
:root {
    --wc-navy:  #0A1628;
    --wc-red:   #C8102E;
    --wc-gold:  #D4AF37;
    --wc-light: #F5F5F5;
}

.pnwc-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    color: #1a1a2e;
    max-width: 960px;
    margin: 0 auto;
}

/* ══════════════════════════════════════════════════════
   HERO BANNER
══════════════════════════════════════════════════════ */
.pnwc-hero {
    position: relative;
    background: var(--wc-navy);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

/* Stadium photo — fills right half, clipped inside hero */
.pnwc-hero-photo {
    position: absolute;
    top: 0; right: 0;
    width: 65%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,1) 70%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,1) 70%);
}

/* Dark overlay for readability */
.pnwc-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10,22,40,1.0)  0%,
        rgba(10,22,40,0.85) 45%,
        rgba(10,22,40,0.2)  100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Hero content row — above the overlay */
.pnwc-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 36px 20px;
}

.pnwc-hero-left { flex: 1; }

.pnwc-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.pnwc-live-badge {
    background: var(--wc-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 3px 9px;
    border-radius: 20px;
    animation: pnwc-badge-pulse 2s ease-in-out infinite;
}
@keyframes pnwc-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0.6); }
    50%       { box-shadow: 0 0 0 6px rgba(200,16,46,0); }
}
.pnwc-hero-year {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Title */
.pnwc-hero-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 10px;
    line-height: 1;
}
.pnwc-title-world {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}
.pnwc-title-cup {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    color: var(--wc-gold);
    letter-spacing: -0.02em;
}
.pnwc-title-year {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.02em;
}

/* Hosts */
.pnwc-hero-hosts {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.pnwc-dot-sep { color: var(--wc-gold); font-weight: 900; }
.pnwc-hero-dates {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    letter-spacing: 0.04em;
}

/* Trophy */
.pnwc-hero-trophy {
    font-size: clamp(56px, 8vw, 90px);
    line-height: 1;
    filter: drop-shadow(0 0 24px rgba(212,175,55,0.5));
    animation: pnwc-trophy-glow 3s ease-in-out infinite;
    user-select: none;
    flex-shrink: 0;
}
@keyframes pnwc-trophy-glow {
    0%, 100% { filter: drop-shadow(0 0 16px rgba(212,175,55,0.35)); }
    50%       { filter: drop-shadow(0 0 32px rgba(212,175,55,0.7)); }
}

/* Stats bar — above the overlay */
.pnwc-hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.06);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 14px 24px;
}
.pnwc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
    flex: 1;
}
.pnwc-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--wc-gold);
    line-height: 1;
}
.pnwc-stat-lbl {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 3px;
    white-space: nowrap;
}
.pnwc-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   TABS
══════════════════════════════════════════════════════ */
.pnwc-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    background: #fff;
}
.pnwc-tab {
    background: none;
    border: none;
    padding: 13px 22px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #888;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.pnwc-tab:hover { color: var(--wc-navy); }
.pnwc-tab.active {
    color: var(--wc-red);
    border-bottom-color: var(--wc-red);
}

/* ══════════════════════════════════════════════════════
   PANELS
══════════════════════════════════════════════════════ */
.pnwc-panel { display: none; padding: 6px 0; }
.pnwc-panel.active { display: block; }

/* ── Match card ── */
.pnwc-match {
    display: flex;
    flex-direction: column;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
}
.pnwc-match:hover { background: #fafafa; }

.pnwc-group {
    font-size: 10px;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.pnwc-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.pnwc-team {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-size: 14px;
}
.pnwc-team.away {
    justify-content: flex-end;
    flex-direction: row-reverse;
}
.pnwc-crest {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.pnwc-score {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--wc-navy);
    min-width: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.pnwc-score.live { color: var(--wc-red); }

.pnwc-time {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    background: #f2f2f2;
    border-radius: 5px;
    padding: 4px 9px;
}

.pnwc-live-dot {
    width: 8px;
    height: 8px;
    background: var(--wc-red);
    border-radius: 50%;
    display: inline-block;
    animation: pnwc-blink 1s infinite;
}
@keyframes pnwc-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.15; }
}

.pnwc-ft {
    font-size: 10px;
    color: #ccc;
    text-align: center;
    margin-top: 3px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pnwc-match.finished .pnwc-score { color: #555; }

/* ── Day label (upcoming) ── */
.pnwc-day-block { margin-bottom: 6px; }
.pnwc-day-label {
    background: #f5f5f5;
    padding: 7px 16px;
    font-size: 11px;
    font-weight: 800;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-left: 3px solid var(--wc-red);
}

/* ── Standings ── */
.pnwc-group-block { margin-bottom: 20px; }
.pnwc-group-title {
    background: var(--wc-navy);
    color: #fff;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pnwc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.pnwc-table thead th {
    background: #f8f8f8;
    padding: 7px 8px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 2px solid #eee;
}
.pnwc-table thead th.pnwc-tname { text-align: left; }
.pnwc-table tbody tr { border-bottom: 1px solid #f2f2f2; transition: background 0.1s; }
.pnwc-table tbody tr:hover { background: #fafafa; }
.pnwc-table tbody tr.qualify { border-left: 3px solid #22c55e; }
.pnwc-table td { padding: 8px; text-align: center; }
.pnwc-table td.pnwc-tname {
    text-align: left;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}
.pnwc-pos { color: #ccc; font-size: 12px; width: 22px; }
.pnwc-pts { font-weight: 800; color: var(--wc-navy); }

/* ── Footer ── */
.pnwc-footer {
    padding: 12px 4px;
    font-size: 11px;
    color: #ccc;
    text-align: right;
}

/* ── Empty ── */
.pnwc-empty {
    padding: 36px;
    text-align: center;
    color: #bbb;
    font-style: italic;
}

/* ══════════════════════════════════════════════════════
   MOBILE
══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    .pnwc-hero-inner    { padding: 22px 18px 14px; }
    .pnwc-hero-trophy   { font-size: 52px; }
    .pnwc-title-world,
    .pnwc-title-cup     { font-size: 28px; }
    .pnwc-title-year    { font-size: 18px; }
    .pnwc-stat          { padding: 0 12px; }
    .pnwc-stat-num      { font-size: 20px; }
    .pnwc-stat-lbl      { font-size: 9px; }
    .pnwc-hero-hosts    { font-size: 11px; flex-wrap: wrap; }
    .pnwc-team          { font-size: 12px; }
    .pnwc-score         { font-size: 16px; min-width: 50px; }
    .pnwc-tab           { padding: 10px 12px; font-size: 11px; }
    .pnwc-table         { font-size: 11px; }
    .pnwc-table td      { padding: 6px 4px; }
}

/* ══ Latest World Cup News section ══════════════════════════════════════════ */
.pnwc-news-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--wc-gold);
}
.pnwc-news-heading {
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--contrast-3, #5e5e69);
    margin: 0 0 24px;
    letter-spacing: .04em;
}
.pnwc-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pnwc-news-card {
    display: flex;
    flex-direction: column;
    background: var(--base-2, #fff);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.pnwc-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
.pnwc-news-img {
    width: 100%;
    padding-top: 56%;
    background-size: cover;
    background-position: center;
    background-color: var(--wc-navy);
}
.pnwc-news-img-placeholder {
    background-image: linear-gradient(135deg, var(--wc-navy) 0%, var(--wc-red) 100%);
}
.pnwc-news-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pnwc-news-date {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--wc-gold);
    font-weight: 700;
    margin-bottom: 6px;
}
.pnwc-news-title {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--contrast-2, #343a40);
    margin: 0 0 8px;
}
.pnwc-news-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: var(--contrast-4, #a0a1ad);
    margin: 0;
    flex: 1;
}
.pnwc-news-more {
    text-align: center;
    margin-top: 28px;
}
.pnwc-more-btn {
    display: inline-block;
    padding: 11px 28px;
    background: linear-gradient(135deg, var(--wc-red) 0%, #8B0020 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 24px;
    text-decoration: none;
    letter-spacing: .03em;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 2px 10px rgba(200,16,46,.35);
}
.pnwc-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(200,16,46,.5);
    color: #fff !important;
}
@media (max-width: 768px) {
    .pnwc-news-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .pnwc-news-heading { font-size: 18px; }
}
@media (max-width: 480px) {
    .pnwc-news-grid { grid-template-columns: 1fr; }
}
