/* ============================================================ */
/* PIGMENT DESIGN SYSTEM — Core Variables                       */
/* ============================================================ */
:root {
    --pgm-black: #121212;
    --pgm-white: #fcfaf7;
    --pgm-blue: #002B7F;
    --pgm-yellow: #FCD116;
    --pgm-red: #CE1126;
    --pgm-navy: #0C2340;
    --pgm-navy-dark: #081A30; /* darker navy – footer, topbar */
    --pgm-grey: #888;
    --pgm-light-border: rgba(0,0,0,0.08);
    --pgm-font: 'Cera Pro', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body {
    background-color: var(--pgm-white);
    color: var(--pgm-black);
    font-family: var(--pgm-font);
    margin: 0; padding: 0;
    overflow-x: hidden;
}

/* Global scrollbar theme (public site) */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--pgm-blue) rgba(12, 35, 64, 0.12);
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background: rgba(12, 35, 64, 0.12);
}
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pgm-blue) 0%, var(--pgm-navy) 100%);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #003a9f 0%, var(--pgm-navy-dark) 100%);
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }

/* Typography Helpers */
.mono { font-family: 'Cera Pro', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; }
.text-blue, .pgm-text-blue { color: var(--pgm-blue); }
.text-red, .pgm-text-red { color: var(--pgm-red); }

/* Chips & badges */
.pgm-chip {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    vertical-align: middle;
}
.pgm-chip--primary { background: var(--pgm-blue); color: white; }
.pgm-chip--danger { background: var(--pgm-red); color: white; }
.pgm-chip--success { background: #16a34a; color: white; }

/* Filled CTA button */
.pgm-btn-primary {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--pgm-blue);
    color: white;
    border-radius: 4px;
    font-weight: 700;
    transition: background 0.2s;
}
.pgm-btn-primary:hover { background: #002265; color: white; }

/* Muted table row */
.pgm-row-muted { background: rgba(0,0,0,0.06); }

/* ============================================================ */
/* COMPONENTS                                                   */
/* ============================================================ */

/* Flag Stripe */
.pgm-flag { display: flex; height: 4px; }
.pgm-flag--slim { height: 2px; }
.pgm-flag--slim {
    display: block;
    background: linear-gradient(
        90deg,
        var(--pgm-blue) 0%,
        #2e5eb0 28%,
        var(--pgm-yellow) 50%,
        #e79f3c 70%,
        var(--pgm-red) 100%
    );
}
.pgm-flag--slim span { display: none; }
.pgm-flag span { flex: 1; }
.f-blue { background: var(--pgm-blue); }
.f-yellow { background: var(--pgm-yellow); }
.f-red { background: var(--pgm-red); }

/* Top Bar (above header) */
.pgm-topbar { background: var(--pgm-navy-dark); color: rgba(255,255,255,0.7); font-size: 0.72rem; position: sticky; top: 0; z-index: 101; }
.pgm-topbar-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 2rem; height: 36px;
    display: flex; align-items: center; justify-content: space-between;
}
.pgm-topbar-left, .pgm-topbar-right { display: flex; align-items: center; gap: 0; }
.pgm-topbar-link {
    font-family: var(--pgm-font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    padding: 0 1rem;
    height: 36px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.pgm-topbar-link:hover { color: var(--pgm-white); background: rgba(255,255,255,0.05); }
.pgm-topbar-link i { font-size: 0.72rem; }
.pgm-topbar-live { color: var(--pgm-red); font-weight: 700; }
.pgm-topbar-live:hover { color: #ff4444; }
.pgm-topbar-live i { font-size: 0.5rem; animation: pgm-pulse 1.5s ease-in-out infinite; }
@keyframes pgm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.pgm-topbar-search { padding: 0 1rem; }
.pgm-topbar-search i { font-size: 0.8rem; }

/* Header */
.pgm-header {
    background: var(--pgm-navy);
    color: var(--pgm-white);
    position: sticky;
    top: 36px;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.pgm-header-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 2rem; height: 72px;
    display: flex; align-items: center; justify-content: space-between;
}
.pgm-logo {
    display: flex; align-items: center; gap: 1rem; position: relative; z-index: 102;
    transition: opacity 0.2s ease;
}
.pgm-logo:hover { opacity: 0.9; }
.pgm-logo img { height: 40px; filter: none; }
.pgm-logo-text { font-weight: 900; font-size: 1.2rem; line-height: 1; }
.pgm-logo-sub { font-family: 'Cera Pro', sans-serif; font-size: 0.55rem; letter-spacing: 0.15em; opacity: 0.6; display: block; }

/* MEGA MENU SYSTEM */
.pgm-nav { display: flex; gap: 2px; list-style: none; height: 100%; margin: 0; position: static; }
.pgm-nav-item { height: 100%; display: flex; align-items: center; position: static; }

.pgm-nav-link {
    font-family: var(--pgm-font); font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.88); padding: 0.65rem 1.15rem; height: 100%; display: flex; align-items: center; gap: 0.4rem;
    position: relative; cursor: pointer; white-space: nowrap;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}
.pgm-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.pgm-nav-item.is-open .pgm-nav-link,
.pgm-nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.06);
}
/* Mega Dropdown */
.pgm-mega {
    position: absolute; top: 72px; left: 0; width: 100%; 
    background: #fff;
    color: var(--pgm-black);
    padding: 2.75rem 0 3.5rem; 
    border-top: none;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.2s cubic-bezier(0.2, 0, 0, 1),
                visibility 0.2s cubic-bezier(0.2, 0, 0, 1),
                transform 0.2s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 12px 40px -8px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.05);
    z-index: 101; pointer-events: none;
}
.pgm-mega::before {
    content: "";
    position: absolute; top: -12px; left: 0; width: 100%; height: 12px;
    background: transparent;
}
.pgm-nav-item.is-open .pgm-mega {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}

.pgm-mega-col .inline-group a {
    display: inline-block;
    padding: 3px 10px;
    font-weight: 500;
    font-size: 0.8rem;
    background: #f1f3f5;
    border-radius: 4px;
    margin: 0 4px 6px 0;
    color: #343a40;
    transition: background 0.15s, color 0.15s;
}
.pgm-mega-col .inline-group a:hover { background: var(--pgm-blue); color: #fff; }
.pgm-mega-col .inline-group {
    line-height: 1.9;
}

.pgm-mega-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 2.5rem;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; /* separators handle spacing */
}

/* Mapbox-style: vertical separators between columns */
.pgm-mega-col {
    padding: 0 2rem;
    border-right: 1px solid #e2e5e9;
}
.pgm-mega-col:first-child { padding-left: 0; }
.pgm-mega-col:last-child { border-right: none; padding-right: 0; }
.pgm-mega-inner--3col .pgm-mega-col:last-child { border-right: none; }
.pgm-mega-col--media {
    display: flex;
    flex-direction: column;
}
.pgm-mega-col-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 0.9rem;
    align-items: start;
}

.pgm-mega-col h4 {
    font-family: var(--pgm-font); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: #495057;
    margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid #f1f3f5;
    display: flex; align-items: center; gap: 0.6rem;
    font-weight: 600;
}
.pgm-mega-col h4 i { color: var(--pgm-blue); font-size: 0.9em; opacity: 0.9; }

.pgm-mega-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.pgm-mega-placeholder {
    width: 84px;
    height: 162px;
    border-radius: 10px;
    border: 1px dashed #cfd6de;
    background: linear-gradient(135deg, #f8fafc, #eef2f6);
    color: #7b8794;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.35rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}
.pgm-mega-placeholder--m {
    border-color: #c5d6f0;
    color: #4f6480;
}
.pgm-mega-placeholder--f {
    border-color: #d9c7ea;
    color: #6b5583;
}
.pgm-mega-placeholder--b {
    border-color: #d7d2bf;
    color: #6f6751;
}
.pgm-mega-banner {
    width: 84px;
    height: 162px;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #d8dee6;
    box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.45);
    clip-path: inset(0 round 10px);
}
.pgm-mega-banner--m {
    object-position: 34% center;
}
.pgm-mega-banner--f {
    object-position: 74% center;
    transform: scale(1.07);
    transform-origin: center center;
}
.pgm-mega-banner--b {
    object-position: 50% 58%;
    transform: scale(1.07);
    transform-origin: center 58%;
}

/* Standard link */
.pgm-mega-col a { 
    font-family: var(--pgm-font);
    font-size: 0.9rem; font-weight: 600; color: #343a40; 
    display: flex; align-items: center;
    padding: 0.4rem 0;
    margin: 0;
    border-radius: 0;
    transition: color 0.15s ease;
    line-height: 1.4;
}
.pgm-mega-col a:hover { color: var(--pgm-blue); }
.pgm-mega-col a i { color: var(--pgm-blue); margin-right: 0.6rem; font-size: 0.75em; opacity: 0.7; transition: opacity 0.15s; }
.pgm-mega-col a:hover i { opacity: 1; }

/* Mega menu partner logos */
.pgm-mega-partners a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.5rem 0.6rem;
    margin: 0 -0.6rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.pgm-mega-partners a:hover { background: #f8f9fa; }
.pgm-mega-partner-logo {
    width: 40px; height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.15s;
}
.pgm-mega-partners a:hover .pgm-mega-partner-logo { opacity: 1; }

/* Block with title + description (Mapbox Resources/Connect style) */
.pgm-mega-item {
    display: block;
    padding: 0.6rem 0.75rem;
    margin: 0 -0.75rem 0.25rem;
    border-radius: 6px;
    transition: background 0.15s ease;
}
.pgm-mega-item:hover { background: #f8f9fa; }
.pgm-mega-item a {
    display: block;
    padding: 0;
    margin: 0;
}
.pgm-mega-desc {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: #6c757d;
    margin-top: 0.2rem;
    line-height: 1.4;
}
.pgm-mega-item:hover .pgm-mega-desc { color: #868e96; }

/* Featured/highlighted block (Mapbox "Work at Mapbox" / HIRING style) */
.pgm-mega-item.pgm-mega-featured {
    background: #ebf5ff;
    border: 1px solid #cce5ff;
}
.pgm-mega-item.pgm-mega-featured:hover { background: #d6edff; }

/* CTA link (Mapbox "View all docs →", "Register now →") */
.pgm-mega-cta {
    font-weight: 600; color: var(--pgm-blue) !important;
    margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.35rem;
}
.pgm-mega-cta:hover { color: #001a4d !important; }

/* Specific column layouts */
.pgm-mega-inner--3col { grid-template-columns: repeat(3, 1fr); }
.col-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.pgm-mega-spacer { margin-top: 0.5rem; }
.pgm-mega-divider {
    border-top: 1px solid #e8edf2;
    padding-top: 0.6rem;
}

/* Pill/badge (Mapbox "HIRING" style) */
.pgm-label-new {
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em;
    padding: 2px 8px; border-radius: 6px; margin-left: 6px; vertical-align: middle;
    background: var(--pgm-red); color: white;
}
.pgm-label-pill {
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em;
    padding: 2px 8px; border-radius: 6px; margin-left: 6px; vertical-align: middle;
    background: #3399ff; color: white;
}

/* Mobile Menu */
.pgm-burger { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; z-index: 102; }
.pgm-mobile-menu {
    position: fixed; top: 0; right: 0; width: 300px; height: 100vh; background: var(--pgm-navy);
    padding: 5rem 2rem 2rem; transform: translateX(100%); transition: transform 0.3s ease; z-index: 99;
    overflow-y: auto; box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.pgm-mobile-menu.open { transform: translateX(0); }
.pgm-mobile-link { display: block; color: rgba(255,255,255,0.8); font-family: 'Cera Pro', sans-serif; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.pgm-mobile-sub { max-height: 0; overflow: hidden; padding-left: 1rem; transition: max-height 0.3s ease, margin 0.3s ease; margin-bottom: 0; }
.pgm-mobile-sub.is-open { max-height: 600px; margin-bottom: 1rem; }
.pgm-mobile-sub a { display: block; color: rgba(255,255,255,0.6); font-family: var(--pgm-font); font-size: 0.8rem; padding: 0.5rem 0; }
.pgm-mobile-trigger { float: right; opacity: 0.5; }
.pgm-burger-close { float: right; margin-bottom: 2rem; }
.pgm-mobile-link--live { color: var(--pgm-yellow); }
.pgm-mobile-link--shop { color: var(--pgm-red); }
.pgm-mobile-link--youth { color: #5cb85c; }
.pgm-mobile-link--insider { color: #f0ad4e; }

/* Dark Backdrop Overlay */
.pgm-mega-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}
.pgm-mega-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Close Button inside Mega Panels */
.pgm-mega-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--pgm-grey);
    font-size: 1rem;
    transition: all 0.2s;
    z-index: 10;
}
.pgm-mega-close:hover {
    background: rgba(0,0,0,0.05);
    color: var(--pgm-black);
    border-color: rgba(0,0,0,0.2);
}

/* Chevron Indicator on Nav Links */
.pgm-nav-chevron {
    font-size: 0.5rem;
    margin-left: 0.35rem;
    transition: transform 0.3s ease;
    opacity: 0.5;
}
.pgm-nav-item.is-open .pgm-nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Body Scroll Lock when mega menu is open */
body.pgm-mega-active,
body.pgm-mobile-active {
    overflow: hidden;
}

/* ============================================================ */
/* LAYOUT                                                       */
/* ============================================================ */

/* Hero Section */
.pgm-hero {
    position: relative; height: 60vh; min-height: 500px;
    display: flex; align-items: flex-end;
    color: white; overflow: hidden;
}
.pgm-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.pgm-hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(18,18,18,0.9), transparent 60%); z-index: 1;
}
.pgm-hero-content {
    position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; padding: 4rem 2rem;
}
.pgm-hero-tag {
    background: var(--pgm-red); padding: 4px 12px; display: inline-block;
    font-size: 0.7rem; font-weight: 700; margin-bottom: 1rem;
}
.pgm-hero-title {
    font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; max-width: 800px; margin-bottom: 1.5rem;
    text-transform: uppercase; letter-spacing: -0.02em;
}

/* News Carousel (Mapbox-style / Splide) */
.pgm-carousel {
    position: relative;
    padding: 3.5rem 0 3.1rem;
    overflow: hidden;
    /* Premium navy “aurora” surface */
    background:
        radial-gradient(1200px 520px at 10% -18%, rgba(252,209,22,0.22) 0%, rgba(252,209,22,0) 62%),
        radial-gradient(1120px 520px at 90% -12%, rgba(0,43,127,0.55) 0%, rgba(0,43,127,0) 64%),
        radial-gradient(920px 560px at 50% 118%, rgba(206,17,38,0.14) 0%, rgba(206,17,38,0) 58%),
        radial-gradient(900px 380px at 50% 12%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 62%),
        linear-gradient(180deg, #061325 0%, #0a1f39 42%, var(--pgm-navy) 74%, #061325 100%);
}
.pgm-carousel .splide {
    position: relative;
    z-index: 3;
}
.pgm-carousel .splide__track {
    overflow: visible;
    padding-bottom: 1.25rem;
}
/* Splide overrides */
.pgm-carousel .splide__slide {
    width: 720px; max-width: 66vw; height: 420px;
    text-align: left; backface-visibility: hidden;
    position: relative;
    overflow: visible;
    transition: opacity 0.4s;
}
.pgm-carousel .splide__slide { z-index: 1; }
.pgm-carousel .splide__slide:not(.is-active) {
    opacity: 0.55;
}
.pgm-carousel .splide__slide.is-active {
    opacity: 1;
    z-index: 3;
}
.pgm-carousel .splide__slide.is-prev,
.pgm-carousel .splide__slide.is-next {
    z-index: 2;
}
.pgm-carousel .splide__slide .pgm-slide {
    box-shadow: 0 30px 90px rgba(0,0,0,0.35);
    transform: perspective(2000px) translateY(10%) scale(0.78);
    transition: box-shadow 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.pgm-carousel .splide__slide.is-active .pgm-slide {
    transform: perspective(2000px) translateY(0) scale(1);
    box-shadow: 0 45px 120px rgba(0,0,0,0.45);
}
.pgm-carousel .splide__slide.is-prev .pgm-slide {
    transform: perspective(2000px) translateX(24%) translateY(10%) scale(0.78);
}
.pgm-carousel .splide__slide.is-next .pgm-slide {
    transform: perspective(2000px) translateX(-24%) translateY(10%) scale(0.78);
}
/* Slide card */
.pgm-slide {
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative; width: 100%; height: 100%;
    padding: 36px; color: white; text-decoration: none;
    border-radius: 15px; overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
}
.pgm-slide-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
    border-radius: inherit;
    display: block;
}
.pgm-slide-img-fallback {
    position: absolute; inset: 0; width: 100%; height: 100%;
    background: url('../images/news-placeholder.png') 70% center / cover no-repeat, linear-gradient(135deg, #00112a 0%, #071935 100%);
    z-index: 0;
    border-radius: inherit;
}
.pgm-slide-overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    /* Lighter overlay (more image, still readable text) — gradient avoids inset shadow corner artefact */
    background:
        linear-gradient(180deg, transparent 0%, transparent 35%, rgba(8,26,48,0.5) 70%, rgba(8,26,48,0.75) 100%),
        linear-gradient(90deg, rgba(12,35,64,0.62), rgba(12,35,64,0.18));
    border-radius: 15px;
    overflow: hidden;
}
.pgm-slide-content {
    position: relative; z-index: 2; max-width: 420px;
}
.pgm-slide-tag {
    display: inline-block; background: var(--pgm-yellow); color: var(--pgm-navy);
    padding: 4px 14px; font-size: 0.7rem; font-weight: 700;
    border-radius: 2px; margin-bottom: 1.25rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.pgm-slide-title {
    font-size: clamp(1.15rem, 2.2vw, 1.65rem); font-weight: 800;
    line-height: 1.3; color: white; margin: 0;
    text-shadow: 0 10px 40px rgba(0,0,0,0.55);
}
.pgm-slide-cta {
    position: relative; z-index: 2; font-size: 0.9rem; font-weight: 600;
    color: white; display: inline-flex; align-items: center; gap: 0.4rem;
    text-shadow: 0 10px 40px rgba(0,0,0,0.55);
}
.pgm-slide-arrow { transition: transform 0.2s; }
.pgm-slide:hover .pgm-slide-arrow { transform: translateX(4px); }
/* Nav arrows */
.pgm-carousel-nav {
    display: flex; justify-content: center; align-items: center; gap: 4px;
    margin-top: 1.5rem; padding: 0 2rem;
    position: relative; z-index: 2;
}
.pgm-carousel-btn {
    width: 44px; height: 44px; border: none; background: transparent;
    color: rgba(255,255,255,0.78); cursor: pointer; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.15s, background-color 0.15s; padding: 0;
}
.pgm-carousel-btn:hover { color: white; background: rgba(255,255,255,0.12); }

/* Section Layout */
.pgm-section { padding: 5rem 2rem; max-width: 1400px; margin: 0 auto; }
.pgm-section--news { padding-top: 1.5rem; padding-bottom: 1.5rem; } /* Consistent vertical rhythm on homepage */
.pgm-home-dual-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.pgm-page-sidebar.pgm-home-comunicate-heading {
    margin-bottom: 1rem;
    position: static;
    top: auto;
}
.pgm-page-sidebar.pgm-home-comunicate-heading .pgm-page-title {
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    margin: 0.65rem 0 0;
    line-height: 0.98;
}
.pgm-home-com-list {
    margin-bottom: 1.25rem;
}
.pgm-home-com-list .pgm-com-item {
    padding: 1.35rem;
}
.pgm-home-com-footer {
    justify-content: flex-start;
    margin-top: 0;
}
.pgm-home-com-footer .pgm-com-pl-cta {
    background: var(--pgm-blue);
    color: #ffffff;
    border-color: var(--pgm-blue);
}
.pgm-home-com-footer .pgm-com-pl-cta:hover {
    background: var(--pgm-yellow);
    color: var(--pgm-navy);
    border-color: var(--pgm-yellow);
}
.pgm-section-header { 
    display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; 
    border-bottom: 1px solid var(--pgm-light-border); padding-bottom: 1rem;
}
.pgm-title { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; margin: 0; }

/* Grid Systems */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

/* Homepage News Strip (Premier League inspired) */
.pgm-news-pl {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(600px 300px at 20% 0%, rgba(252,209,22,0.08) 0%, transparent 50%),
        radial-gradient(500px 250px at 80% 100%, rgba(0,43,127,0.2) 0%, transparent 50%),
        linear-gradient(160deg, var(--pgm-navy-dark) 0%, var(--pgm-navy) 70%, #123563 100%);
    border-radius: 14px;
    padding: 1.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 16px 40px -20px rgba(0,0,0,0.5);
}
.pgm-news-pl-heading {
    margin: 0 0 1.5rem;
    padding: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

/* Index Banners — stacked one under another, original shop look */
.pgm-index-banners-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    gap: 1rem;
}
/* Full-width background; banners stay same size (constrained by parent max-width) */
.pgm-index-banners-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: 0;
    bottom: 0;
    z-index: -1;
    background: var(--pgm-navy-dark);
}
/* Logo ball motif watermark overlay */
.pgm-index-banners-wrap::after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: -80px;
    width: 480px;
    height: 480px;
    z-index: 0;
    background: url('../images/logo-ball-motif.svg') no-repeat center/contain;
    opacity: 0.04;
    transform: rotate(-15deg);
    pointer-events: none;
}

.pgm-index-banners-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.pgm-index-banners-stack--duo {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
}
.pgm-index-banners-stack--duo .pgm-index-banner {
    width: calc(50% - 0.5rem);
}

/* Homepage: single banner placed inline (e.g. after partners) */
.pgm-index-banner-inline {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pgm-index-banner {
    display: block;
    width: 70%;
    position: relative;
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    background: #0C2340;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Match homepage shop/ticket banners to comunicat card height */
.pgm-index-banner--com-card-height {
    min-height: 210px;
}

.pgm-index-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 60, 180, 0.25);
    border-color: rgba(255,255,255,0.15);
}

.pgm-index-banner-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 10%, rgba(252, 209, 22, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(206, 17, 38, 0.15) 0%, transparent 40%),
        linear-gradient(120deg, #0f2d52 0%, #081A30 100%);
    transition: transform 0.6s ease;
    z-index: 1;
}
.pgm-index-banner-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 95% at 92% 12%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 52%),
        repeating-linear-gradient(115deg, rgba(255,255,255,0.040) 0 2px, transparent 2px 16px);
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.pgm-index-banner:hover .pgm-index-banner-bg::after { opacity: 0.72; }
.pgm-index-banner:hover .pgm-index-banner-bg { transform: scale(1.05); }

.pgm-index-banner--shop { --pgm-index-icon-bg: rgba(252,209,22,0.22); }
.pgm-index-banner--harta { --pgm-index-icon-bg: rgba(0,43,127,0.30); }
.pgm-index-banner--bilete { --pgm-index-icon-bg: rgba(206,17,38,0.22); }
.pgm-index-banner--program { --pgm-index-icon-bg: rgba(255,255,255,0.16); }

.pgm-index-banner-icon-bg {
    position: absolute;
    right: -22px;
    bottom: -44px;
    font-size: 8.5rem;
    line-height: 1;
    transform: rotate(-12deg);
    color: var(--pgm-index-icon-bg, rgba(255,255,255,0.18));
    opacity: 0.95;
    filter: drop-shadow(0 26px 48px rgba(0,0,0,0.42));
    z-index: 1;
    pointer-events: none;
    transition:
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.35s ease,
        filter 0.55s ease;
}
.pgm-index-banner:hover .pgm-index-banner-icon-bg {
    transform: rotate(-12deg) translateY(-10px) scale(1.04);
    filter: drop-shadow(0 34px 64px rgba(0,0,0,0.48));
}

.pgm-index-banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2.5rem;
    gap: 1.5rem;
    color: #fff;
}

.pgm-index-banner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.pgm-index-banner-icon {
    width: 56px; height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--pgm-yellow);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}

.pgm-index-banner:hover .pgm-index-banner-icon {
    transform: rotate(-8deg) scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.pgm-index-banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pgm-index-banner-label {
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
    line-height: 1;
}

.pgm-index-banner-cta {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.pgm-index-banner-action {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--pgm-yellow);
    color: var(--pgm-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(252, 209, 22, 0.3);
    transition: transform 0.3s ease, background 0.3s, box-shadow 0.3s;
}

.pgm-index-banner:hover .pgm-index-banner-action {
    transform: translateX(6px);
    background: #fff;
    color: var(--pgm-blue);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
    .pgm-index-banner { width: 90%; }
    .pgm-index-banners-stack--duo {
        flex-direction: column;
        align-items: center;
    }
    .pgm-index-banners-stack--duo .pgm-index-banner { width: 90%; }
    .pgm-index-banner-inner { padding: 1.25rem 1.5rem; }
    .pgm-index-banner-label { font-size: 1.1rem; }
    .pgm-index-banner-cta { font-size: 0.85rem; }
    .pgm-index-banner-icon { width: 48px; height: 48px; font-size: 1.25rem; }
    .pgm-index-banner-action { width: 40px; height: 40px; font-size: 1rem; }
    .pgm-index-banner-icon-bg { font-size: 7.2rem; right: -18px; bottom: -38px; }
    .pgm-index-banner--com-card-height { min-height: 190px; }
}
@media (max-width: 600px) {
    .pgm-index-banner { width: 95%; }
    .pgm-index-banner-inner { padding: 1rem; gap: 1rem; }
    .pgm-index-banner-icon-bg { font-size: 6.4rem; right: -14px; bottom: -34px; }
    .pgm-index-banner--com-card-height { min-height: auto; }
}

/* ===== V2 Design Banners (Magazin + Bilete) ===== */
.pgm-banner-v2 {
    display: flex !important;
    height: 340px;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    backdrop-filter: blur(10px);
    box-shadow: none !important;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.6s ease, box-shadow 0.6s ease !important;
}
.pgm-banner-v2:hover {
    transform: scale(1.01) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
}
/* Blue variant — Shop */
.pgm-banner-v2--shop {
    background:
        linear-gradient(135deg, rgba(0,43,127,0.45) 0%, rgba(0,43,127,0.30) 50%, rgba(0,20,60,0.50) 100%),
        url('../images/banners/store-bg.jpg') center/cover no-repeat !important;
    border-color: rgba(0,43,127,0.25) !important;
}
.pgm-banner-v2--shop:hover {
    border-color: rgba(0,43,127,0.5) !important;
    box-shadow: 0 0 30px rgba(0,43,127,0.2), inset 0 0 60px rgba(0,43,127,0.06) !important;
}
/* Blue variant — Tickets */
.pgm-banner-v2--tickets {
    background:
        linear-gradient(135deg, rgba(0,43,127,0.45) 0%, rgba(0,43,127,0.30) 50%, rgba(0,20,60,0.50) 100%),
        url('../images/banners/bilete-bg.jpg') center/cover no-repeat !important;
    border-color: rgba(0,43,127,0.25) !important;
}
.pgm-banner-v2--tickets:hover {
    border-color: rgba(0,43,127,0.5) !important;
    box-shadow: 0 0 30px rgba(0,43,127,0.2), inset 0 0 60px rgba(0,43,127,0.06) !important;
}


/* Content layout */
.pgm-banner-v2-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
}
.pgm-banner-v2-label {
    font-family: var(--pgm-font);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: var(--pgm-yellow);
    margin-bottom: 0.75rem;
    display: block;
}
.pgm-banner-v2-heading {
    font-family: var(--pgm-font);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0 0 1.5rem;
}
.pgm-banner-v2-cta {
    width: fit-content;
    padding: 0.75rem 2rem;
    background: white;
    color: black;
    text-decoration: none;
    font-family: var(--pgm-font);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
    transition: padding 0.3s ease, background 0.3s ease;
    display: inline-block;
}
.pgm-banner-v2:hover .pgm-banner-v2-cta {
    padding-right: 3rem;
    background: var(--pgm-yellow);
}
.pgm-banner-v2--shop .pgm-banner-v2-label { color: #5b9aff; }
.pgm-banner-v2--tickets .pgm-banner-v2-label { color: #ff6b7a; }
.pgm-banner-v2--shop:hover .pgm-banner-v2-cta { background: #5b9aff; color: #fff; }
.pgm-banner-v2--tickets:hover .pgm-banner-v2-cta { background: var(--pgm-red); color: #fff; }

/* Kinetic shapes */
.pgm-banner-v2-kinetic {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 120%;
    pointer-events: none;
    z-index: 1;
}
.pgm-banner-v2-prism {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--pgm-red), var(--pgm-yellow));
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    opacity: 0.4;
    mix-blend-mode: screen;
    animation: pgm-banner-morph 10s infinite alternate ease-in-out;
}
.pgm-banner-v2-prism--alt {
    opacity: 0.2;
    transform: scale(0.8);
}
@keyframes pgm-banner-morph {
    0% { clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%); }
    100% { clip-path: polygon(10% 20%, 90% 0%, 100% 80%, 20% 100%); }
}

/* Shop variant: prism — red/yellow */
.pgm-banner-v2--shop .pgm-banner-v2-prism {
    background: linear-gradient(45deg, var(--pgm-red), var(--pgm-yellow));
}

/* Tickets variant: prism — red/yellow */
.pgm-banner-v2--tickets .pgm-banner-v2-prism {
    background: linear-gradient(45deg, var(--pgm-red), var(--pgm-yellow));
}

/* Harta variant — blue */
.pgm-banner-v2--harta {
    background:
        linear-gradient(135deg, rgba(0,43,127,0.45) 0%, rgba(0,43,127,0.30) 50%, rgba(0,20,60,0.50) 100%),
        url('../images/banners/harta-handbalului-bg2.jpg') center/cover no-repeat !important;
    border-color: rgba(0,43,127,0.25) !important;
}
.pgm-banner-v2--harta:hover {
    border-color: rgba(0,43,127,0.5) !important;
    box-shadow: 0 0 30px rgba(0,43,127,0.2), inset 0 0 60px rgba(0,43,127,0.06) !important;
}
.pgm-banner-v2--harta .pgm-banner-v2-prism {
    background: linear-gradient(45deg, var(--pgm-red), #ff6a00);
}

/* Program variant — blue */
.pgm-banner-v2--program {
    background:
        linear-gradient(135deg, rgba(0,43,127,0.45) 0%, rgba(0,43,127,0.30) 50%, rgba(0,20,60,0.50) 100%),
        url('../images/banners/program-handbal-bg2.jpeg') center/cover no-repeat !important;
    border-color: rgba(0,43,127,0.25) !important;
}
.pgm-banner-v2--program:hover {
    border-color: rgba(0,43,127,0.5) !important;
    box-shadow: 0 0 30px rgba(0,43,127,0.2), inset 0 0 60px rgba(0,43,127,0.06) !important;
}
.pgm-banner-v2--program .pgm-banner-v2-prism {
    background: linear-gradient(45deg, var(--pgm-red), #ff6a00);
}

/* Data grid */
.pgm-banner-v2-data {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    text-align: right;
    font-family: var(--pgm-font);
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    opacity: 0.5;
    line-height: 1.5;
    color: #fff;
    z-index: 2;
}


/* V2 Responsive */
@media (max-width: 900px) {
    .pgm-banner-v2 { height: 280px; }
    .pgm-banner-v2-content { padding: 1.5rem; }
    .pgm-banner-v2-heading { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
}
@media (max-width: 600px) {
    .pgm-banner-v2 { height: 260px; }
    .pgm-banner-v2-content { padding: 1.25rem; width: 70%; }
    .pgm-banner-v2-heading { font-size: 1.4rem; margin-bottom: 1rem; }
    .pgm-banner-v2-cta { font-size: 0.65rem; padding: 0.6rem 1.5rem; }
}

.pgm-news-pl-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 1.15rem;
    row-gap: 1.6rem;
}
.pgm-news-pl-grid--two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pgm-news-pl-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #f8f9ff;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pgm-news-pl-card:hover {
    transform: translateY(-4px);
}
.pgm-news-pl-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
    background: #0c2340;
    margin-bottom: 0.6rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.pgm-news-pl-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.pgm-news-pl-card:hover .pgm-news-pl-img {
    transform: scale(1.05);
}
.pgm-news-pl-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #ffffff;
    min-height: calc(1.4em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pgm-news-pl-cat {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.76);
    margin-top: 0.25rem;
}
.pgm-news-pl-footer {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
    padding-bottom: 0.25rem;
}
.pgm-news-pl-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.28);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.pgm-news-pl-cta:hover {
    background: var(--pgm-yellow);
    color: var(--pgm-navy);
    border-color: var(--pgm-yellow);
    transform: translateY(-2px);
}
.pgm-news-pl-cta i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}
.pgm-news-pl-cta:hover i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .pgm-home-dual-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .pgm-news-pl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pgm-news-pl-grid--two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .pgm-news-pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pgm-news-pl-grid--two-cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .pgm-news-pl-grid { grid-template-columns: 1fr; }
    .pgm-news-pl { padding: 1.25rem; }
    .pgm-news-pl-heading { font-size: 1.2rem; margin-bottom: 1.25rem; }
}

/* Comunicate strip — grid like știri, category-based placeholders */
.pgm-com-pl {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(550px 280px at 75% 0%, rgba(252,209,22,0.06) 0%, transparent 45%),
        radial-gradient(500px 250px at 15% 100%, rgba(0,43,127,0.22) 0%, transparent 50%),
        linear-gradient(165deg, var(--pgm-navy-dark) 0%, var(--pgm-navy) 68%, #123563 100%);
    border-radius: 14px;
    padding: 1.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 16px 40px -20px rgba(0,0,0,0.5);
}
.pgm-com-pl-heading {
    margin: 0 0 1.5rem;
    padding: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.pgm-com-pl-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 1.15rem;
    row-gap: 1.6rem;
}
.pgm-com-pl-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #f8f9ff;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pgm-com-pl-card:hover {
    transform: translateY(-4px);
}
.pgm-com-pl-card:hover .pgm-com-pl-img-wrap {
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.pgm-com-pl-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
    margin-bottom: 0.6rem;
    background: #0c2340;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    --pgm-com-ph-accent: rgba(252,209,22,0.16);
}
.pgm-com-pl-img-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 95% at 92% 12%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 52%),
        radial-gradient(70% 65% at 15% 90%, var(--pgm-com-ph-accent) 0%, transparent 55%),
        repeating-linear-gradient(115deg, rgba(255,255,255,0.040) 0 2px, transparent 2px 16px);
    opacity: 0.65;
    pointer-events: none;
    z-index: 1;
}
.pgm-com-pl-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.22) 100%);
    pointer-events: none;
    z-index: 1;
}
.pgm-com-pl-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.55rem;
    padding: 1rem 1.05rem;
}
.pgm-com-pl-kicker {
    position: absolute;
    top: 1rem;
    left: 1.05rem;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 14px 32px rgba(0,0,0,0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.pgm-com-pl-icon-bg {
    position: absolute;
    right: -28px;
    bottom: -36px;
    font-size: 6.1rem;
    line-height: 1;
    transform: rotate(-12deg);
    color: var(--pgm-com-ph-icon, rgba(255,255,255,0.22));
    opacity: 0.95;
    filter: drop-shadow(0 22px 38px rgba(0,0,0,0.35));
    pointer-events: none;
}
.pgm-com-pl-placeholder-cat {
    font-family: var(--pgm-font);
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.98);
    text-align: left;
    max-width: 78%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.12;
    max-height: calc(1.12em * 2);
    text-shadow: 0 14px 34px rgba(0,0,0,0.40);
}
/* Category-based gradient themes */
.pgm-com-ph--discipline {
    --pgm-com-ph-accent: rgba(252,209,22,0.18);
    --pgm-com-ph-icon: rgba(255,255,255,0.22);
    background: linear-gradient(145deg, #0d2a4e 0%, #1a3a6e 50%, #0a203d 100%);
}
.pgm-com-ph--appeal {
    --pgm-com-ph-accent: rgba(200,220,255,0.16);
    --pgm-com-ph-icon: rgba(200,220,255,0.26);
    background: linear-gradient(135deg, #1e3a5f 0%, #0c2340 50%, #162d4a 100%);
}
.pgm-com-ph--doc {
    --pgm-com-ph-accent: rgba(252,209,22,0.18);
    --pgm-com-ph-icon: rgba(252,209,22,0.30);
    background: linear-gradient(150deg, #0f2d52 0%, #0a1f3d 100%);
}
.pgm-com-ph--decision {
    --pgm-com-ph-accent: rgba(206,17,38,0.20);
    --pgm-com-ph-icon: rgba(255,200,200,0.22);
    background: linear-gradient(160deg, #1a1520 0%, #0c2340 60%, #0d1828 100%);
}
.pgm-com-ph--office {
    --pgm-com-ph-accent: rgba(0,43,127,0.18);
    --pgm-com-ph-icon: rgba(180,220,255,0.24);
    background: linear-gradient(140deg, #0d2d4a 0%, #0a2235 100%);
}
.pgm-com-ph--press {
    --pgm-com-ph-accent: rgba(252,209,22,0.16);
    --pgm-com-ph-icon: rgba(252,209,22,0.26);
    background: linear-gradient(155deg, #1a2d4a 0%, #0c2340 100%);
}
.pgm-com-ph--gov {
    --pgm-com-ph-accent: rgba(255,255,255,0.10);
    --pgm-com-ph-icon: rgba(220,230,255,0.22);
    background: linear-gradient(135deg, #122639 0%, #0a1828 100%);
}
.pgm-com-ph--sport {
    --pgm-com-ph-accent: rgba(252,209,22,0.18);
    --pgm-com-ph-icon: rgba(252,209,22,0.28);
    background: linear-gradient(145deg, #0d2a4e 0%, #002B7F 50%, #0a203d 100%);
}
.pgm-com-pl-card:hover .pgm-com-pl-icon-bg {
    transform: rotate(-12deg) translateY(-4px) scale(1.04);
}
.pgm-com-pl-icon-bg {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.pgm-com-pl-title {
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    color: #ffffff;
    min-height: calc(1.4em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.02em;
}
.pgm-com-pl-cat {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    margin-top: 0.25rem;
}
.pgm-com-pl-footer {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
    padding-bottom: 0.25rem;
}
.pgm-com-pl-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.28);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.pgm-com-pl-cta:hover {
    background: var(--pgm-yellow);
    color: var(--pgm-navy);
    border-color: var(--pgm-yellow);
    transform: translateY(-2px);
}
.pgm-com-pl-cta i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}
.pgm-com-pl-cta:hover i {
    transform: translateX(4px);
}
@media (max-width: 1024px) {
    .pgm-com-pl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .pgm-com-pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .pgm-com-pl-grid { grid-template-columns: 1fr; }
    .pgm-com-pl { padding: 1.25rem; }
    .pgm-com-pl-heading { font-size: 1.2rem; margin-bottom: 1.25rem; }
    .pgm-com-pl-icon-bg { font-size: 5.2rem; right: -22px; bottom: -28px; }
    .pgm-com-pl-placeholder-cat { font-size: 0.92rem; max-width: 84%; }
}

/* Homepage league modules */
.pgm-home-leagues {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.pgm-home-leagues-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

.pgm-home-league-card {
    background:
        radial-gradient(600px 260px at 18% 0%, rgba(252,209,22,0.07) 0%, transparent 48%),
        radial-gradient(520px 240px at 85% 100%, rgba(0,43,127,0.2) 0%, transparent 50%),
        linear-gradient(160deg, var(--pgm-navy-dark) 0%, var(--pgm-navy) 72%, #123563 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    box-shadow: 0 16px 40px -24px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Card header: title + CTA */
.pgm-home-league-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pgm-home-league-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.pgm-home-league-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.08);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.pgm-home-league-link:hover {
    background: var(--pgm-yellow);
    border-color: var(--pgm-yellow);
    color: var(--pgm-navy);
    transform: translateY(-1px);
}

/* Round line */
.pgm-home-league-round-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}
.pgm-home-league-round-name {
    color: rgba(255,255,255,0.85);
    font-weight: 700;
    font-size: 0.84rem;
}
.pgm-home-league-round-date {
    color: rgba(255,255,255,0.45);
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.74rem;
}

/* Match cards (bracket-style) — 2 per row */
.pgm-home-league-matches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Glass-effect match cards */
.pgm-hl-match {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px -4px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease;
}
.pgm-hl-match:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.16);
}

.pgm-hl-match-date {
    font-family: var(--pgm-font);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.5);
    text-align: left;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pgm-hl-match-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 1rem;
    gap: 0.6rem;
    border-bottom: none;
    transition: background 0.15s ease;
}
.pgm-hl-match-team:last-child {
    border-bottom: none;
}

.pgm-hl-match-team-name {
    font-family: var(--pgm-font);
    font-weight: 700;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.pgm-hl-match-team-score {
    font-family: var(--pgm-font);
    font-weight: 900;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    color: rgba(255,255,255,0.92);
    min-width: 24px;
    text-align: center;
    padding: 0.12rem 0.35rem;
    border-radius: 4px;
}
.pgm-hl-match-team-score--win {
    background: var(--pgm-yellow, #FCD116);
    color: var(--pgm-navy-dark, #0a1628);
}

.pgm-hl-match-team--winner {
    background: rgba(255,255,255,0.06);
}
.pgm-hl-match-team--winner .pgm-hl-match-team-name {
    font-weight: 900;
    color: #ffffff;
}

.pgm-hl-match-team--loser .pgm-hl-match-team-name {
    opacity: 0.45;
}
.pgm-hl-match-team--loser .pgm-hl-match-team-score {
    opacity: 0.45;
}

/* Standings (under matches) */
.pgm-home-league-standings {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.35rem;
}

.pgm-home-league-standings-title {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.pgm-home-league-table {
    width: 100%;
    border-collapse: collapse;
    color: #ffffff;
    font-size: 0.82rem;
}

.pgm-home-league-table thead th {
    color: rgba(255,255,255,0.55);
    font-size: 0.68rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-align: left;
    padding: 0 0.3rem 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.pgm-home-league-table tbody td {
    padding: 0.38rem 0.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pgm-home-league-table tbody tr:last-child td {
    border-bottom: none;
}

.pgm-home-league-table .pgm-col-pos {
    width: 28px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-weight: 700;
}

.pgm-home-league-table .pgm-col-pts {
    width: 40px;
    text-align: center;
    font-weight: 800;
    color: #ffffff;
}

.pgm-home-league-table-first td {
    color: var(--pgm-yellow);
}
.pgm-home-league-table-first .pgm-col-pos {
    color: var(--pgm-yellow);
}

.pgm-home-league-empty {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    padding: 0.5rem 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .pgm-home-leagues-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .pgm-home-league-card {
        padding: 1.75rem 1.35rem;
    }

    .pgm-home-league-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pgm-home-league-title {
        font-size: 1.15rem;
    }

    .pgm-home-league-matches {
        grid-template-columns: 1fr;
    }

    .pgm-hl-match-team-name {
        font-size: 0.76rem;
    }
}

/* News Card */
.pgm-card { display: flex; flex-direction: column; height: 100%; border-bottom: 1px solid transparent; transition: all 0.3s; }
.pgm-card:hover { transform: translateY(-5px); }
.pgm-card-img-wrap { overflow: hidden; border-radius: 4px; margin-bottom: 1rem; }
.pgm-card-img-wrap--fallback {
    background: url('../images/news-placeholder.png') 70% center / cover no-repeat, linear-gradient(135deg, #00112a 0%, #071935 100%);
    position: relative;
    aspect-ratio: 16/9;
}
.pgm-laitmotiv {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.pgm-laitmotiv--news {
    overflow: hidden;
    opacity: 1;
}
.pgm-laitmotiv--news::before,
.pgm-laitmotiv--news::after {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 62%;
    height: 120%;
    background: linear-gradient(45deg, #0033cc, #00c6ff);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    mix-blend-mode: screen;
}
.pgm-laitmotiv--news::before {
    opacity: 0.72;
    animation: pgm-banner-morph 10s infinite alternate ease-in-out;
}
.pgm-laitmotiv--news::after {
    opacity: 0.35;
    transform: scale(0.85) translateX(8%);
    animation: pgm-banner-morph 10s infinite alternate ease-in-out;
    animation-delay: -3s;
}
.pgm-news-fallback-logo {
    position: absolute;
    top: 0;
    right: 40px;
    width: 44px;
    height: auto;
    object-fit: contain;
    opacity: 0.92;
    pointer-events: none;
}
.pgm-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 1rem; filter: grayscale(20%); transition: 0.3s; }
.pgm-card:hover .pgm-card-img { filter: grayscale(0%); }
.pgm-card-meta { font-size: 0.7rem; color: var(--pgm-grey); margin-bottom: 0.5rem; display: flex; gap: 1rem; }
.pgm-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.75rem; color: var(--pgm-black); }
.pgm-card-excerpt { font-size: 0.9rem; color: #555; line-height: 1.6; margin-bottom: 1.5rem; flex-grow: 1; }
.pgm-btn-link { font-size: 0.75rem; font-weight: 700; color: var(--pgm-blue); display: inline-flex; align-items: center; gap: 0.5rem; }
.pgm-btn-link--hero { color: white; font-size: 1rem; }

/* Doc List (Comunicate) */
.pgm-doc-list { display: flex; flex-direction: column; gap: 1px; background: var(--pgm-light-border); }
.pgm-doc-item {
    background: var(--pgm-white); padding: 1.25rem; display: grid; grid-template-columns: 4rem 1fr auto; 
    gap: 1.5rem; align-items: center; transition: all 0.3s;
}
.pgm-doc-item:hover { background: #fff; padding-left: 1.75rem; border-left: 4px solid var(--pgm-blue); }
.pgm-doc-date { font-size: 0.7rem; text-align: center; color: var(--pgm-grey); font-weight: 700; line-height: 1.2; }
.pgm-doc-date span { display: block; font-size: 1.2rem; color: var(--pgm-black); }
.pgm-doc-title { font-weight: 700; font-size: 1rem; line-height: 1.4; }
.pgm-doc-tag { font-size: 0.6rem; background: var(--pgm-navy); color: white; padding: 2px 6px; border-radius: 2px; }

/* Ticker / Fast Games */
.pgm-ticker-wrap {
    position: relative;
    background: var(--pgm-navy-dark);
    color: white;
    padding: 1rem 0 1.15rem;
    overflow: hidden;
}
.pgm-home-top-strip-partners {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: var(--pgm-navy-dark);
}
.pgm-home-top-strip-partners .pgm-partners--box {
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.pgm-ticker-wrap::before,
.pgm-ticker-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    pointer-events: none;
    z-index: 5;
}
.pgm-ticker-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--pgm-navy-dark, #0a1628), transparent);
}
.pgm-ticker-wrap::after {
    right: 0;
    background: linear-gradient(270deg, var(--pgm-navy-dark, #0a1628), transparent);
}

.pgm-ticker-inner {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 0.6rem;
    padding: 4px 1.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 2rem;
    scrollbar-width: none;
}
.pgm-ticker-inner::-webkit-scrollbar { display: none; }

.pgm-match-card {
    flex: 0 0 auto;
    min-width: 250px;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: none;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--pgm-white);
    text-decoration: none;
    box-shadow: 0 4px 16px -4px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
    transition:
        transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.18s,
        box-shadow 0.18s;
    scroll-snap-align: start;
}
.pgm-match-card:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.12);
}

.pgm-match-teams {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.15;
    color: rgba(255,255,255,0.92);
    letter-spacing: -0.01em;
}
.pgm-match-teams > div:last-child {
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

.pgm-match-meta {
    margin-left: auto;
    font-size: 0.66rem;
    text-align: right;
    color: rgba(255,255,255,0.5);
    opacity: 1;
}
.pgm-match-meta--end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}
.pgm-match-meta--end.mono {
    font-family: var(--pgm-font);
    text-transform: none;
    letter-spacing: 0.01em;
}
.pgm-match-meta > div {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    white-space: nowrap;
}
.pgm-match-meta .pgm-flex-center-gap {
    color: rgba(255,255,255,0.85);
    font-weight: 700;
    font-size: 0.74rem;
    gap: 0.35rem;
}

/* Promo Box (legacy) */
.pgm-promo { position: relative; aspect-ratio: 1/1; overflow: hidden; display: flex; align-items: flex-end; background: #ddd; }
.pgm-promo img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.pgm-promo:hover img { transform: scale(1.05); }
.pgm-promo-content { 
    position: relative; z-index: 1; padding: 2rem; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: white;
}
.pgm-promo h3 { font-size: 1rem; margin: 0; }

/* ============================================================ */
/* CONTACT PAGE                                                  */
/* ============================================================ */
.page-contact .pgm-page-canvas {
    background: var(--pgm-white);
}

.page-contact .pgm-page-layout {
    padding-bottom: 0;
}

.page-contact .pgm-page-sidebar {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.page-contact .pgm-page-sidebar .pgm-mark {
    color: #111827;
    margin-bottom: 1.5rem;
}

.page-contact .pgm-page-sidebar .pgm-page-title {
    margin-bottom: 2.5rem;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.page-contact .pgm-sidebar-nav-link {
    color: #0f172a;
    border-bottom: 1px solid rgba(0,0,0,0.18);
    padding: 0.75rem 0;
}

.page-contact .pgm-sidebar-nav-link:hover,
.page-contact .pgm-sidebar-nav-link.active {
    padding-left: 1rem;
}

.pgm-contact-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.4rem, 2.3vw, 2.1rem);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 2.2rem;
    background: #fff;
    box-shadow: none;
    color: #0f2748;
}

.pgm-contact-hero-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(8, 35, 82, 0.74);
}

.pgm-contact-hero-kicker::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--pgm-blue);
    border-radius: 999px;
}

.pgm-contact-hero-title {
    position: relative;
    margin: 0.7rem 0 0.55rem;
    max-width: 720px;
    color: var(--pgm-navy);
    font-size: clamp(1.4rem, 3.1vw, 2rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.pgm-contact-hero-text {
    position: relative;
    max-width: 680px;
    margin: 0 0 1.1rem;
    color: rgba(16, 41, 78, 0.82);
    font-size: 0.95rem;
}

.pgm-contact-hero-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.pgm-contact-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--pgm-blue);
    color: #fff;
    border: 1px solid var(--pgm-blue);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.78rem;
    font-family: "Cera Pro", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    padding: 0.58rem 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pgm-contact-hero-btn:hover {
    transform: none;
    box-shadow: none;
    background: #063686;
}

.pgm-contact-hero-btn--ghost {
    background: #fff;
    color: var(--pgm-blue);
    border-color: rgba(0, 43, 127, 0.35);
}

.pgm-contact-hero-btn--ghost:hover {
    background: #f4f7fd;
    box-shadow: none;
}

.pgm-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.15rem;
    margin-bottom: 2.6rem;
}

.pgm-contact-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 3px solid transparent;
    border-radius: 10px;
    padding: 1.3rem 1.3rem 1.15rem;
    transition: border-color 0.2s ease-out, border-left-color 0.2s ease-out;
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pgm-contact-card::after {
    content: none;
}

.pgm-contact-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(0, 43, 127, 0.2);
    border-left-color: var(--pgm-blue);
}

@media (prefers-reduced-motion: reduce) {
    .pgm-contact-card { transition: none; }
    .pgm-contact-card:hover { transform: none; }
}

.pgm-contact-role {
    position: relative;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 43, 127, 0.72);
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.pgm-contact-name {
    position: relative;
    font-family: var(--pgm-font);
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #11294b;
    line-height: 1.2;
}

.pgm-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.pgm-contact-info li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.84rem;
    color: rgba(18, 47, 89, 0.9);
    line-height: 1.45;
}

.pgm-contact-info i {
    color: rgba(0, 43, 127, 0.82);
    width: 15px;
    text-align: center;
    font-size: 0.72rem;
    margin-top: 0.22rem;
}

.pgm-contact-info a {
    color: var(--pgm-blue);
    text-decoration: underline;
    text-decoration-color: rgba(0, 43, 127, 0.4);
    text-underline-offset: 0.18em;
}

.pgm-contact-info a:hover {
    color: #0a2f7a;
    text-decoration-color: var(--pgm-yellow);
}

.page-contact .pgm-section-label {
    color: #003b8f;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-contact .pgm-section-label::after {
    background: rgba(0,0,0,0.08);
}

.page-contact .pgm-address-line {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.45;
    color: #21324f;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.page-contact .pgm-address-icon {
    margin-right: 0;
}

.page-contact .pgm-contact-map-card {
    width: 100%;
    margin: 2.5rem 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.page-contact .pgm-page-canvas + .pgm-partners {
    padding-top: 0;
    margin-top: 0;
}

.pgm-contact-map-card .pgm-map-container {
    width: 100%;
    height: 440px;
    margin-top: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    filter: none;
}

@media (max-width: 1024px) {
    .page-contact .pgm-page-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .pgm-contact-grid {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }

    .pgm-contact-card {
        padding: 1.05rem;
    }

    .pgm-contact-map-card .pgm-map-container {
        height: 320px;
    }

    .page-contact .pgm-address-line {
        border-radius: 14px;
        align-items: flex-start;
    }
}

.pgm-footer {
    background: var(--pgm-navy-dark);
    color: rgba(255,255,255,0.6);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

.pgm-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.pgm-footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.pgm-footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Prevent flex items from stretching to full width */
}

.pgm-footer-logo {
    height: 48px;
    width: auto;
    max-width: 100%; /* Ensure it doesn't overflow container width if screen is very small */
    opacity: 0.9;
    margin-bottom: 1rem;
    filter: none;
    object-fit: contain; /* Additional safety against distortion */
    align-self: flex-start; /* Explicitly prevent self-stretching in cross axis */
}

.pgm-footer-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 250px;
    line-height: 1.5;
}

.pgm-footer-social {
    display: flex;
    gap: 1rem;
}
.pgm-footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    color: white;
}
.pgm-footer-social a:hover {
    background: var(--pgm-blue);
    transform: translateY(-3px);
}

.pgm-footer-title {
    color: white;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Cera Pro', sans-serif;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.pgm-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.pgm-footer-nav a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
    font-family: var(--pgm-font);
}
.pgm-footer-nav a:hover {
    color: white;
    padding-left: 5px;
}

.pgm-footer-legal-row {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.9rem 1.25rem;
}

.pgm-footer-legal-row a {
    color: rgba(255,255,255,0.6);
    font-family: var(--pgm-font);
    white-space: nowrap;
    transition: color 0.2s;
}

.pgm-footer-legal-row a:hover {
    color: white;
}

.contact-col address {
    font-style: normal;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}
.contact-link {
    color: white;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
}
.contact-link:hover { border-bottom-color: white; }

.pgm-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pgm-developer a {
    color: white;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .pgm-footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
    .pgm-footer-main { grid-template-columns: 1fr; gap: 2.5rem; }
    .pgm-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .pgm-footer-legal-row { flex-wrap: wrap; }
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 1024px) {
    .pgm-topbar { display: none; }
    .pgm-header { top: 0; }
    .pgm-nav { display: none; } 
    .pgm-burger { display: block; }
    .pgm-hero-title { font-size: 2rem; }
    .pgm-doc-item { grid-template-columns: 1fr; gap: 0.5rem; }
    .pgm-doc-date { display: none; }
    .pgm-carousel .splide__slide { max-width: 85vw; height: auto; max-height: 49.28vw; min-height: 225px; }
    .pgm-slide { padding: 24px; }
    .pgm-home-top-strip-partners { padding: 0; }
}

/* ============================================================ */
/* UTILITY CLASSES (replace Tailwind for structure)             */
/* ============================================================ */
.pgm-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.pgm-container--narrow { max-width: 900px; }
.pgm-container--wide { max-width: 1400px; }
.pgm-mt-0 { margin-top: 0; }
.pgm-mb-0 { margin-bottom: 0; }
.pgm-mb-1 { margin-bottom: 0.5rem; }
.pgm-mb-2 { margin-bottom: 1rem; }
.pgm-mb-3 { margin-bottom: 1.5rem; }
.pgm-mb-4 { margin-bottom: 2rem; }
.pgm-mb-6 { margin-bottom: 3rem; }
.pgm-mt-2 { margin-top: 1rem; }
.pgm-mt-4 { margin-top: 2rem; }
.pgm-pt-0 { padding-top: 0 !important; }
.pgm-text-center { text-align: center; }
.pgm-text-left { text-align: left; }
.pgm-text-right { text-align: right; }
.pgm-text-grey { color: var(--pgm-grey); }
.pgm-text-small { font-size: 0.85rem; }
.pgm-overflow-x { overflow-x: auto; }
.pgm-hidden { display: none; }
.pgm-mb-0 { margin-bottom: 0; }
.pgm-tooltip {
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255,255,255,0.14);
    color: white;
    font-family: var(--pgm-font);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    z-index: 9999;
    pointer-events: none;
    max-width: min(340px, calc(100vw - 16px));
    box-shadow: 0 18px 50px rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px) scale(0.96);
    transform-origin: center;
    transition:
        opacity 120ms ease,
        transform 160ms cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0ms linear 160ms;
}
.pgm-tooltip[data-state="open"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition:
        opacity 120ms ease,
        transform 160ms cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0ms;
}
.pgm-tooltip[data-state="closed"][data-side="bottom"] { transform: translateY(-4px) scale(0.96); }
.pgm-tooltip[data-state="open"][data-side="bottom"] { transform: translateY(0) scale(1); }

.pgm-tooltip::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 6px solid transparent;
}
.pgm-tooltip[data-side="top"]::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: rgba(15, 23, 42, 0.95);
}
.pgm-tooltip[data-side="bottom"]::after {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: rgba(15, 23, 42, 0.95);
}

@media (prefers-reduced-motion: reduce) {
    .pgm-tooltip { transition: none; }
}


