/*
 * IPTVProviderGuide /players/
 * Privacy-Policy-style editorial hero
 * Scoped ONLY to the Players Hub.
 */

/* =========================================================
   HERO — same visual language as Privacy Policy
   ========================================================= */

.pgp .pgp-hero {
    position: relative;
    width: 100vw;
    max-width: none;
    overflow: hidden;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 34px !important;

    padding:
        78px
        max(24px, calc((100vw - 1180px) / 2))
        76px !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    background: #061c25 !important;
    background-image: linear-gradient(
        125deg,
        #061419,
        #0b2934
    ) !important;

    color: #f4fdff !important;
}

.pgp .pgp-kicker {
    display: block;
    width: fit-content;

    margin: 0 0 18px !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;

    color: #44e4ca !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    line-height: 1.4;
    text-transform: uppercase;
}

.pgp .pgp-hero h1 {
    max-width: 1050px !important;

    margin: 0 0 20px !important;

    color: #f4fdff !important;
    font-size: clamp(35px, 4.2vw, 55px) !important;
    font-weight: 800 !important;
    line-height: 1.14 !important;
    letter-spacing: -.035em !important;
}

.pgp .pgp-hero .pgp-lead {
    max-width: 920px !important;

    margin: 0 0 15px !important;

    color: #b4cbd1 !important;
    font-size: 18px !important;
    line-height: 1.75 !important;
}

.pgp .pgp-meta {
    margin: 16px 0 0 !important;

    color: #89a8af !important;
    font-size: 13px !important;
    line-height: 1.5;
}

/* Hero navigation */
.pgp .pgp-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    max-width: 1180px;
    margin: 20px 0 0 !important;
}

.pgp .pgp-nav a {
    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;

    color: #e6f5f7 !important;
    background: rgba(255,255,255,.035);

    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.pgp .pgp-nav a:hover {
    border-color: #44e4ca;
    color: #44e4ca !important;
}


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

.pgp {
    width: 100%;
}

.pgp .pgp-shell {
    width: 100%;
}

.pgp .pgp-section {
    margin: 44px 0;
}

.pgp .pgp-section > h2 {
    margin: 0 0 17px;
}

.pgp .pgp-section > p {
    margin: 0 0 17px;
    line-height: 1.75;
}


/* =========================================================
   SOFTWARE CARDS
   ========================================================= */

.pgp .pgp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;

    margin: 0;
}

.pgp .pgp-card {
    padding: 22px;

    border: 1px solid #dbe5e8;
    border-radius: 14px;

    background: #f7fafb;

    box-shadow: 0 4px 16px rgba(6,20,25,.04);
}

.pgp .pgp-card-label {
    margin-bottom: 8px;

    color: #118f7d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pgp .pgp-card h3 {
    margin: 0 0 9px;

    color: #12333d;
    font-size: 19px;
}

.pgp .pgp-card p {
    margin: 0;
    line-height: 1.65;
}


/* =========================================================
   EDITORIAL NOTE
   ========================================================= */

.pgp .pgp-note {
    margin: 24px 0;
    padding: 18px 20px;

    border: 1px solid #c9e9e4;
    border-left: 4px solid #18b8a0;
    border-radius: 9px;

    background: #f1fbf9;

    line-height: 1.65;
}


/* =========================================================
   COMPARISON TABLE
   ========================================================= */

.pgp .pgp-table-wrap {
    width: 100%;

    margin: 24px 0 30px;

    overflow-x: auto;

    border: 1px solid #d9e2e5;
    border-radius: 12px;

    -webkit-overflow-scrolling: touch;
}

.pgp table {
    width: 100%;
    min-width: 760px;

    margin: 0;

    border-collapse: collapse;
}

.pgp table th,
.pgp table td {
    padding: 15px 17px;

    border: 0;
    border-bottom: 1px solid #e1e8ea;

    text-align: left;
    vertical-align: top;
}

.pgp table th {
    background: #0a242d;
    color: #fff;

    font-weight: 700;
}

.pgp table tbody tr:nth-child(even) td {
    background: #f7f9fa;
}

.pgp table tbody tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   CHECKLIST
   ========================================================= */

.pgp .pgp-checks {
    margin: 20px 0;
    padding: 0;

    list-style: none;
}

.pgp .pgp-checks li {
    position: relative;

    margin-bottom: 11px;
    padding-left: 28px;

    line-height: 1.6;
}

.pgp .pgp-checks li::before {
    content: "✓";

    position: absolute;
    left: 2px;

    color: #159b87;

    font-weight: 700;
}


/* =========================================================
   FAQ
   ========================================================= */

.pgp .pgp-faq {
    margin-top: 18px;

    border-top: 1px solid #dde5e7;
}

.pgp .pgp-faq details {
    border-bottom: 1px solid #dde5e7;
}

.pgp .pgp-faq summary {
    position: relative;

    cursor: pointer;

    padding: 18px 40px 18px 0;

    font-weight: 700;

    list-style: none;
}

.pgp .pgp-faq summary::-webkit-details-marker {
    display: none;
}

.pgp .pgp-faq summary::after {
    content: "+";

    position: absolute;
    right: 4px;
    top: 12px;

    font-size: 25px;
    font-weight: 400;
}

.pgp .pgp-faq details[open] summary::after {
    content: "−";
}

.pgp .pgp-faq details p {
    margin: 0;
    padding: 0 35px 18px 0;

    line-height: 1.7;
}


/* =========================================================
   RELATED
   ========================================================= */

.pgp .pgp-related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;

    margin-top: 20px;
}

.pgp .pgp-related > a {
    display: block;

    padding: 19px;

    border: 1px solid #dbe5e8;
    border-radius: 12px;

    background: #f7fafb;
    color: #12333d;

    text-decoration: none;
}

.pgp .pgp-related > a:hover {
    border-color: #27bda7;
}

.pgp .pgp-related > a span {
    display: block;

    margin-top: 5px;

    color: #687d82;

    font-size: 13px;
}


/* =========================================================
   SOURCES
   ========================================================= */

.pgp .pgp-sources {
    margin-top: 46px;
    padding-top: 20px;

    border-top: 1px solid #dde5e7;

    color: #65797e;

    font-size: 14px;
    line-height: 1.7;
}

.pgp .pgp-sources p {
    margin-top: 10px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

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


/* =========================================================
   MOBILE — same spacing logic as editorial/privacy pages
   ========================================================= */

@media (max-width: 780px) {

    .pgp .pgp-hero {
        padding: 52px 20px !important;
    }

    .pgp .pgp-hero h1 {
        font-size: 34px !important;
    }

    .pgp .pgp-hero .pgp-lead {
        font-size: 16px !important;
    }
}

@media (max-width: 640px) {

    .pgp .pgp-grid,
    .pgp .pgp-related {
        grid-template-columns: 1fr;
    }

    .pgp .pgp-section {
        margin: 34px 0;
    }

    .pgp .pgp-card {
        padding: 18px;
    }
}

@media (max-width: 480px) {

    .pgp .pgp-hero {
        padding: 48px 18px !important;
    }
}
