/* ═══════════════════════════════════════════════════════
   PurePlay India — Main Stylesheet v1.0
   Sky Sports × NDTV Sports editorial dark theme
   Mobile-first, responsive, CSS custom properties
═══════════════════════════════════════════════════════ */

/* ─── 1. Custom Properties ─────────────────────────── */
:root {
    --bg-deep:       #040D1A;
    --bg-dark:       #020810;
    --bg-surface:    #0A1628;
    --bg-card:       #0A1E38;
    --bg-card-hover: #0D2244;
    --bg-border:     #0A1E38;
    --accent-blue:   #0070C0;
    --accent-red:    #E4001B;
    --logo-orange:   #F5A200;
    --logo-green:    #1B7B32;
    --logo-teal:     #00B4C8;
    --text-primary:  #FFFFFF;
    --text-secondary:#D0DCF0;
    --text-muted:    #A0B8D0;
    --text-dim:      #5A7090;
    --text-vdim:     #3A5070;
    --radius-sm:     4px;
    --radius-md:     6px;
    --radius-lg:     10px;
    --shadow-card:   0 2px 16px rgba(0,0,0,0.4);
    --nav-height:    58px;
    --util-height:   30px;
    --tabs-height:   36px;
    --ticker-height: 29px;
    --bottom-nav:    60px;
    --container-max: 1200px;
    --font:          'Inter', Arial, sans-serif;
    --transition:    0.18s ease;
}

/* ─── 2. Reset & Base ──────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: var(--bottom-nav);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

button { cursor: pointer; font-family: inherit; }

/* ─── 3. Utility Classes ───────────────────────────── */
.pi-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

.pi-container--narrow {
    max-width: 760px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ─── 4. Tags / Badges ─────────────────────────────── */
.pi-tag {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    white-space: nowrap;
}

.pi-tag--blue    { background: var(--accent-blue); color: #fff; }
.pi-tag--red     { background: var(--accent-red);  color: #fff; }
.pi-tag--green   { background: var(--logo-green);  color: #fff; }
.pi-tag--ghost   { background: var(--bg-card); color: var(--text-dim); border: 0.5px solid var(--bg-border); }
.pi-tag--xs      { font-size: 8px; padding: 2px 6px; }
.pi-tag--overlay { position: relative; z-index: 1; }

.pi-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
}
.pi-badge--live { background: var(--accent-red); color: #fff; }
.pi-badge--new  { background: var(--accent-blue); color: #fff; }
.pi-badge__dot  { width: 5px; height: 5px; background: #fff; border-radius: 50%; animation: pi-pulse 1s infinite; }

@keyframes pi-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

/* ─── 5. Buttons ───────────────────────────────────── */
.pi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
    cursor: pointer;
}

.pi-btn--solid {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}
.pi-btn--solid:hover { background: #005ba0; border-color: #005ba0; }

.pi-btn--outline {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--bg-card);
}
.pi-btn--outline:hover { color: #fff; border-color: var(--accent-blue); }

.pi-btn--lg { font-size: 13px; padding: 11px 24px; }
.pi-btn--block { width: 100%; }

/* ─── 6. Utility Bar ───────────────────────────────── */
.pi-util-bar {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--bg-border);
    height: var(--util-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    gap: 12px;
}

.pi-util-bar__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pi-util-bar__date {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.pi-util-links {
    display: none;
    gap: 12px;
}
.pi-util-links a {
    font-size: 10px;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}
.pi-util-links a:hover { color: var(--text-muted); }

.pi-util-bar__social {
    display: flex;
    gap: 5px;
}

.pi-social-icon {
    width: 22px;
    height: 22px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-dim);
    transition: background var(--transition), color var(--transition);
}
.pi-social-icon:hover { background: var(--accent-blue); color: #fff; }

/* ─── 7. Main Navigation ───────────────────────────── */
.pi-main-nav {
    background: var(--bg-deep);
    border-bottom: 3px solid var(--accent-blue);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.pi-main-nav__inner {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 16px;
    gap: 12px;
}

/* Logo */
.pi-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.pi-logo__ring {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    color: var(--accent-blue);
    flex-shrink: 0;
    transition: border-color var(--transition);
}
.pi-logo:hover .pi-logo__ring { border-color: var(--logo-orange); }

.pi-logo__ring--sm { width: 28px; height: 28px; font-size: 10px; }

.pi-logo__text-wrap { display: flex; flex-direction: column; }

.pi-logo__wordmark {
    font-size: 18px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.pi-logo__sub {
    font-size: 8px;
    color: var(--text-dim);
    letter-spacing: 2px;
    font-weight: 700;
}

/* Primary nav */
.pi-primary-nav { flex: 1; overflow: hidden; }

.pi-primary-nav__list,
.pi-primary-nav ul {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pi-primary-nav__list li { position: relative; }

.pi-primary-nav__list a,
.pi-primary-nav ul a {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 11px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: color var(--transition), border-color var(--transition);
}
.pi-primary-nav__list a:hover,
.pi-primary-nav__list .current-menu-item > a,
.pi-primary-nav__list .current-menu-ancestor > a {
    color: #fff;
    border-bottom-color: var(--accent-blue);
}

/* Dropdown */
.pi-primary-nav__list ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-top: 2px solid var(--accent-blue);
    min-width: 200px;
    z-index: 300;
    box-shadow: var(--shadow-card);
}
.pi-primary-nav__list li:hover > ul { display: block; }
.pi-primary-nav__list ul a { height: auto; padding: 10px 16px; border: none; margin: 0; }
.pi-primary-nav__list ul a:hover { background: var(--bg-card); }

/* Nav actions */
.pi-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pi-search-form {
    display: none;
    position: relative;
    align-items: center;
}
.pi-search-input {
    width: 170px;
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    padding: 7px 32px 7px 10px;
    color: var(--text-muted);
    font-size: 11px;
    font-family: var(--font);
    outline: none;
    transition: border-color var(--transition);
}
.pi-search-input:focus { border-color: var(--accent-blue); }
.pi-search-submit {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-dim);
    display: flex;
    align-items: center;
}

/* Hamburger */
.pi-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.pi-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.pi-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.pi-hamburger.is-open span:nth-child(2) { opacity: 0; }
.pi-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile drawer */
.pi-mobile-menu {
    display: none;
    background: var(--bg-surface);
    border-top: 1px solid var(--bg-border);
    padding: 12px 0 20px;
}
.pi-mobile-menu.is-open { display: block; }

.pi-mobile-menu__list,
.pi-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pi-mobile-menu__list a,
.pi-mobile-menu ul a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    border-left: 3px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.pi-mobile-menu__list a:hover,
.pi-mobile-menu__list .current-menu-item > a {
    color: #fff;
    border-left-color: var(--accent-blue);
    background: var(--bg-card);
}
.pi-mobile-menu__list ul { background: var(--bg-card); }
.pi-mobile-menu__list ul a { padding-left: 36px; font-size: 13px; }

.pi-mobile-menu__auth {
    padding: 16px 20px 0;
    display: flex;
    gap: 8px;
}

/* ─── 8. Sport Tabs Bar ────────────────────────────── */
.pi-sport-tabs {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--bg-border);
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 16px;
    position: sticky;
    top: var(--nav-height);
    z-index: 190;
}
.pi-sport-tabs::-webkit-scrollbar { display: none; }

.pi-sport-tab {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 9px 13px;
    white-space: nowrap;
    color: var(--text-dim);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    flex-shrink: 0;
    transition: color var(--transition), border-color var(--transition);
}
.pi-sport-tab:hover              { color: var(--text-muted); }
.pi-sport-tab--active            { color: #fff; border-bottom-color: var(--accent-red); }

/* ─── 9. Breaking Ticker ───────────────────────────── */
.pi-ticker {
    background: var(--accent-red);
    display: flex;
    align-items: center;
    height: var(--ticker-height);
    overflow: hidden;
}

.pi-ticker__label {
    background: #A30015;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.pi-ticker__dot {
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    animation: pi-pulse 1s infinite;
}

.pi-ticker__track {
    overflow: hidden;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.pi-ticker__inner {
    display: inline-block;
    white-space: nowrap;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    animation: pi-ticker-scroll 40s linear infinite;
}
@keyframes pi-ticker-scroll {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.pi-ticker:hover .pi-ticker__inner { animation-play-state: paused; }

/* ─── 10. Hero Section ─────────────────────────────── */
.pi-hero {
    padding: 14px 16px;
    background: var(--bg-deep);
}

.pi-hero__card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--bg-border);
    transition: border-color var(--transition);
}
.pi-hero__card:hover { border-color: var(--accent-blue); }

.pi-hero__img-link { position: relative; display: block; overflow: hidden; }
.pi-hero__img      { width: 100%; height: 200px; object-fit: cover; display: block; }
.pi-hero__img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-deep), #0A2840);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    opacity: 0.15;
}

.pi-hero__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.pi-hero__body    { padding: 14px 16px 18px; }
.pi-hero__cat     { margin-bottom: 10px; }

.pi-hero__title {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 10px;
}
.pi-hero__title a { color: inherit; }
.pi-hero__title a:hover { color: var(--accent-blue); }

.pi-hero__excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: none;
}

.pi-hero__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--text-dim);
    flex-wrap: wrap;
}

.pi-hero__avatar { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.pi-hero__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.pi-hero__author { font-weight: 600; color: var(--text-muted); }
.pi-hero__sep { color: var(--text-vdim); }

/* ─── 11. News Grid ────────────────────────────────── */
.pi-news-grid { padding: 0 0 12px; }

.pi-news-grid__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 16px;
}

.pi-news-grid__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pi-news-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--bg-border);
    transition: border-color var(--transition);
}
.pi-news-card:hover { border-color: var(--accent-blue); }

.pi-news-card__img-link { display: block; position: relative; overflow: hidden; }
.pi-news-card__img { width: 100%; height: 90px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.pi-news-card:hover .pi-news-card__img { transform: scale(1.04); }
.pi-news-card__img-placeholder {
    height: 90px;
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    opacity: 0.15;
}
.pi-news-card__cat { position: absolute; bottom: 6px; left: 6px; }

.pi-news-card__body { padding: 9px 11px 12px; }
.pi-news-card__title { font-size: 12px; font-weight: 700; color: var(--text-secondary); line-height: 1.35; margin-bottom: 4px; }
.pi-news-card__title a:hover { color: var(--accent-blue); }
.pi-news-card__excerpt { font-size: 11px; color: var(--text-dim); line-height: 1.5; margin-bottom: 6px; display: none; }
.pi-news-card__meta { font-size: 9px; color: var(--text-vdim); display: flex; gap: 5px; }

/* List sidebar */
.pi-news-list { display: none; }
.pi-news-list__heading { font-size: 11px; font-weight: 800; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--bg-border); }

.pi-news-list-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-border);
}
.pi-news-list-item:last-child { border-bottom: none; }
.pi-news-list-item__thumb { width: 64px; height: 48px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.pi-news-list-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pi-news-list-item__body { flex: 1; }
.pi-news-list-item__title { font-size: 12px; font-weight: 700; color: var(--text-secondary); line-height: 1.35; margin-bottom: 4px; }
.pi-news-list-item__title a:hover { color: var(--accent-blue); }
.pi-news-list-item__date { font-size: 9px; color: var(--text-dim); }

/* ─── 12. News in Focus ────────────────────────────── */
.pi-nif {
    background: var(--bg-dark);
    border-top: 1px solid var(--bg-border);
    border-bottom: 1px solid var(--bg-border);
    padding: 16px 0;
}

.pi-nif__inner { padding: 0 16px; }

.pi-nif__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.pi-nif__title-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pi-nif__icon {
    width: 32px;
    height: 32px;
    background: var(--accent-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pi-nif__icon svg { width: 16px; height: 16px; color: #fff; }

.pi-nif__name { font-size: 16px; font-weight: 900; color: #fff; line-height: 1.2; }
.pi-nif__sub  { font-size: 8px; color: var(--text-dim); letter-spacing: 0.5px; margin-top: 2px; }

.pi-nif__see-all {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-blue);
    flex-shrink: 0;
    white-space: nowrap;
}
.pi-nif__see-all:hover { text-decoration: underline; }

/* Filters */
.pi-nif__filters {
    display: flex;
    gap: 0;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--bg-border);
    overflow-x: auto;
    scrollbar-width: none;
}
.pi-nif__filters::-webkit-scrollbar { display: none; }

.pi-nif__filter {
    font-size: 10px;
    font-weight: 700;
    padding: 7px 14px;
    color: var(--text-dim);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
    flex-shrink: 0;
}
.pi-nif__filter:hover          { color: var(--text-muted); }
.pi-nif__filter--active        { color: var(--accent-blue); border-bottom-color: var(--accent-blue); }

/* NIF Cards */
.nif-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-border);
    padding: 14px 15px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition);
    cursor: pointer;
}
.nif-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent-blue);
    border-radius: 3px 0 0 3px;
}
.nif-card:hover { border-color: var(--accent-blue); }

.nif-card--manipur::before  { background: var(--logo-orange); }
.nif-card--manipur          { border-color: #1A1200; }

.nif-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
    flex-wrap: wrap;
}

.nif-card__source {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nif-srcbadge {
    font-size: 8px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    color: #fff;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nif-tag--sport   { font-size: 8px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-sm); color: var(--text-muted); border: 0.5px solid var(--bg-border); background: var(--bg-card); letter-spacing: 0.3px; }
.nif-tag--manipur { font-size: 8px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-sm); background: #1A1000; color: var(--logo-orange); border: 0.5px solid var(--logo-orange); }
.nif-tag--ne      { font-size: 8px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-sm); background: #001A10; color: var(--logo-green); border: 0.5px solid var(--logo-green); }

.nif-card__time { font-size: 9px; color: var(--text-vdim); white-space: nowrap; flex-shrink: 0; }

.nif-card__title { font-size: 14px; font-weight: 800; color: var(--text-secondary); line-height: 1.35; margin-bottom: 8px; }
.nif-card__title a { color: inherit; }
.nif-card__title a:hover { color: var(--accent-blue); }

.nif-card__summary { font-size: 12px; color: var(--text-dim); line-height: 1.65; margin-bottom: 10px; }

.nif-card__footer { display: flex; align-items: center; justify-content: space-between; }

.nif-readmore {
    font-size: 10px;
    color: var(--accent-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: gap var(--transition);
}
.nif-readmore::after { content: '→'; }
.nif-readmore:hover  { gap: 6px; }

.pi-nif__loading {
    text-align: center;
    padding: 20px;
    color: var(--text-dim);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pi-nif__spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--bg-border);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: pi-spin 0.8s linear infinite;
}
@keyframes pi-spin { to { transform: rotate(360deg); } }

.pi-nif__empty  { color: var(--text-dim); font-size: 13px; padding: 20px 0; }
.pi-nif__empty a { color: var(--accent-blue); text-decoration: underline; }

.pi-nif__credit {
    text-align: center;
    padding: 10px 0 2px;
    font-size: 9px;
    color: var(--text-vdim);
    letter-spacing: 0.3px;
}

/* ─── 13. Opportunities ────────────────────────────── */
.pi-opps {
    background: var(--bg-deep);
    border-top: 1px solid var(--bg-border);
    border-bottom: 1px solid var(--bg-border);
    padding: 16px;
}

.pi-opps__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pi-opps__title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pi-opps__dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
}

.pi-opps__see-all { font-size: 11px; font-weight: 600; color: var(--accent-blue); }
.pi-opps__see-all:hover { text-decoration: underline; }

.pi-opps__list { display: flex; flex-direction: column; gap: 8px; }

.pi-opp-item {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-border);
    transition: border-color var(--transition);
}
.pi-opp-item:hover { border-color: var(--accent-blue); }

.pi-opp-item__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 13px;
    gap: 12px;
}

.pi-opp-item__left { display: flex; align-items: center; gap: 10px; flex: 1; }

.pi-opp-item__type {
    font-size: 8px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    color: #fff;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.pi-opp-item__title { font-size: 13px; font-weight: 700; color: var(--text-secondary); line-height: 1.3; }
.pi-opp-item__org   { font-size: 9px; color: var(--text-dim); margin-top: 2px; }

.pi-opp-item__arrow { font-size: 18px; color: var(--accent-blue); flex-shrink: 0; }

/* ─── 14. PurePlay TV ──────────────────────────────── */
.pi-tv {
    padding: 16px 0 16px 16px;
    background: var(--bg-dark);
}

.pi-tv__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-right: 16px;
}

.pi-tv__title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pi-tv__play-icon { width: 16px; height: 16px; color: var(--accent-blue); }

.pi-tv__live-badge {
    background: var(--accent-red);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
}

.pi-tv__see-all { font-size: 11px; font-weight: 600; color: var(--text-dim); padding-right: 0; }
.pi-tv__see-all:hover { color: var(--accent-blue); }

.pi-tv__scroll-wrap { overflow-x: auto; scrollbar-width: none; }
.pi-tv__scroll-wrap::-webkit-scrollbar { display: none; }

.pi-tv__track {
    display: flex;
    gap: 10px;
    width: max-content;
}

.pi-tv-card {
    width: 158px;
    flex-shrink: 0;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--bg-border);
    transition: border-color var(--transition);
}
.pi-tv-card:hover { border-color: var(--accent-blue); }
.pi-tv-card__link { display: block; }

.pi-tv-card__thumb {
    position: relative;
    height: 89px;
    overflow: hidden;
    background: var(--bg-deep);
}
.pi-tv-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pi-tv-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0.1;
}

.pi-tv-card__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 34px; height: 34px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), background var(--transition);
}
.pi-tv-card__play svg { width: 12px; height: 12px; color: #fff; margin-left: 2px; }
.pi-tv-card:hover .pi-tv-card__play { transform: translate(-50%, -50%) scale(1.1); background: #005ba0; }

.pi-tv-card__duration,
.pi-tv-card__live {
    position: absolute;
    bottom: 4px; right: 5px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 2px;
}
.pi-tv-card__live { background: var(--accent-red); }

.pi-tv-card__body    { padding: 8px 10px 10px; }
.pi-tv-card__type    { font-size: 8px; color: var(--accent-blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.pi-tv-card__title   { font-size: 11px; font-weight: 700; color: var(--text-muted); line-height: 1.35; }

/* ─── 15. Join Banner ──────────────────────────────── */
.pi-join-banner {
    background: linear-gradient(135deg, #011830, #00286A);
    border-top: 2px solid var(--accent-blue);
    padding: 20px 16px;
}

.pi-join-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.pi-join-banner__title {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
}

.pi-join-banner__sub {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
    line-height: 1.5;
}

.pi-join-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── 16. Footer ───────────────────────────────────── */
.pi-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--bg-border);
    padding: 20px 16px 12px;
    padding-bottom: calc(var(--bottom-nav) + 12px);
}

.pi-footer__top {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bg-border);
}

.pi-footer__brand { display: flex; flex-direction: column; gap: 10px; }

.pi-footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pi-footer__wordmark {
    font-size: 16px;
    font-weight: 900;
    font-style: italic;
}

.pi-footer__tagline { font-size: 11px; color: var(--text-dim); line-height: 1.5; max-width: 380px; }

.pi-footer__social { display: flex; gap: 6px; }

.pi-footer__social-icon {
    width: 30px;
    height: 30px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-dim);
    transition: background var(--transition), color var(--transition);
}
.pi-footer__social-icon:hover { background: var(--accent-blue); color: #fff; }

.pi-footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pi-footer__col-title {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.pi-footer__links { list-style: none; }
.pi-footer__links li { margin-bottom: 6px; }
.pi-footer__links a {
    font-size: 11px;
    color: var(--text-dim);
    transition: color var(--transition);
}
.pi-footer__links a:hover { color: #fff; }

.pi-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pi-footer__copy { font-size: 9px; color: var(--text-vdim); }
.pi-footer__copy a { color: var(--text-vdim); transition: color var(--transition); }
.pi-footer__copy a:hover { color: var(--text-dim); }
.pi-footer__made { font-size: 9px; color: var(--text-vdim); }

/* ─── 17. Bottom Mobile Nav ────────────────────────── */
.pi-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--bottom-nav);
    background: var(--bg-deep);
    border-top: 1px solid var(--bg-border);
    display: flex;
    z-index: 200;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.pi-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px 8px;
    color: var(--text-vdim);
    transition: color var(--transition);
}
.pi-bottom-nav__item:hover,
.pi-bottom-nav__item--active { color: var(--accent-blue); }

.pi-bottom-nav__icon { width: 22px; height: 22px; }
.pi-bottom-nav__icon svg { width: 100%; height: 100%; }

.pi-bottom-nav__label { font-size: 8px; font-weight: 700; }

/* ─── 18. Article Template ─────────────────────────── */
.pi-article-wrap { padding-bottom: 40px; }

.pi-article__header {
    padding: 20px 16px 0;
}

.pi-article__cats { display: flex; gap: 6px; margin-bottom: 12px; }

.pi-article__title {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 12px;
}

.pi-article__standfirst {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.pi-article__byline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pi-article__author-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--accent-blue); }
.pi-article__avatar-img    { width: 100%; height: 100%; object-fit: cover; }

.pi-article__author-name   { font-size: 13px; font-weight: 700; color: var(--text-secondary); }
.pi-article__byline-meta   { font-size: 11px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }

.pi-article__share {
    margin-left: auto;
    display: flex;
    gap: 6px;
}
.pi-share-btn {
    width: 30px; height: 30px;
    background: var(--bg-card);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.pi-share-btn:hover { background: var(--accent-blue); color: #fff; }

.pi-article__hero-img { margin: 0 0 16px; }
.pi-article__hero-photo { width: 100%; max-height: 500px; object-fit: cover; display: block; }
.pi-article__img-caption { font-size: 11px; color: var(--text-dim); padding: 6px 16px; }

.pi-article__body-wrap {
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.pi-article__content {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.pi-article__content h2,
.pi-article__content h3 { color: #fff; font-weight: 800; margin: 28px 0 12px; line-height: 1.3; }
.pi-article__content h2 { font-size: 20px; }
.pi-article__content h3 { font-size: 17px; }
.pi-article__content p  { margin-bottom: 16px; }
.pi-article__content a  { color: var(--accent-blue); text-decoration: underline; }
.pi-article__content ul,
.pi-article__content ol { padding-left: 20px; margin-bottom: 16px; }
.pi-article__content li { margin-bottom: 6px; }
.pi-article__content blockquote {
    border-left: 4px solid var(--accent-blue);
    padding: 12px 16px;
    margin: 24px 0;
    background: var(--bg-surface);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 16px;
    font-style: italic;
    color: var(--text-secondary);
}
.pi-article__content img { border-radius: var(--radius-md); margin: 16px 0; }

.pi-article__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; }

.pi-article__post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-border);
}
.pi-article__post-nav-item {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    padding: 12px;
    transition: border-color var(--transition);
}
.pi-article__post-nav-item:hover { border-color: var(--accent-blue); }
.pi-article__post-nav-item--next { text-align: right; }
.pi-article__post-nav-label { font-size: 9px; color: var(--text-dim); font-weight: 700; display: block; margin-bottom: 4px; }
.pi-article__post-nav-title { font-size: 12px; font-weight: 700; color: var(--text-secondary); line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* Sidebar */
.pi-sidebar-widget {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-border);
    padding: 16px;
}
.pi-sidebar-widget__title { font-size: 11px; font-weight: 800; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--bg-border); }

/* ─── 19. Archive / Search ─────────────────────────── */
.pi-archive-header { padding: 20px 0 16px; border-bottom: 1px solid var(--bg-border); margin-bottom: 20px; }
.pi-archive-header__title { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 4px; }
.pi-archive-header__desc  { font-size: 13px; color: var(--text-dim); }

.pi-archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.pi-pagination { margin: 24px 0; text-align: center; }
.pi-pagination .nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pi-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition);
}
.pi-pagination .page-numbers:hover,
.pi-pagination .current { background: var(--accent-blue); color: #fff; border-color: var(--accent-blue); }
.pi-pagination .prev,
.pi-pagination .next { width: auto; padding: 0 12px; }

.pi-no-results { color: var(--text-dim); font-size: 15px; padding: 40px 0; text-align: center; }

/* ─── 20. Responsive — Tablet 640px+ ──────────────── */
@media (min-width: 640px) {
    .pi-util-links  { display: flex; }

    .pi-hero__img            { height: 260px; }
    .pi-hero__title          { font-size: 26px; }
    .pi-hero__excerpt        { display: block; }

    .pi-news-grid__inner     { grid-template-columns: 2fr 1fr; }
    .pi-news-grid__cards     { grid-template-columns: 1fr 1fr; }
    .pi-news-card__img       { height: 120px; }
    .pi-news-card__excerpt   { display: block; }
    .pi-news-list            { display: block; }

    .pi-archive-grid { grid-template-columns: repeat(3, 1fr); }

    .pi-join-banner__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .pi-footer__top { flex-direction: row; gap: 32px; }
    .pi-footer__nav { grid-template-columns: repeat(3, 1fr); }

    .pi-article__body-wrap  { grid-template-columns: 1fr 300px; }
    .pi-article__title      { font-size: 30px; }
}

/* ─── 21. Responsive — Desktop 1024px+ ────────────── */
@media (min-width: 1024px) {
    body { padding-bottom: 0; }

    /* Hide bottom nav on desktop */
    .pi-bottom-nav { display: none; }

    /* Show desktop search & links */
    .pi-primary-nav__list { display: flex; }
    .pi-search-form       { display: flex; }
    .pi-hamburger         { display: none; }

    .pi-hero__img          { height: 360px; }
    .pi-hero__title        { font-size: 32px; }

    .pi-news-card__img     { height: 150px; }
    .pi-news-card__title   { font-size: 13px; }

    .pi-tv-card            { width: 200px; }
    .pi-tv-card__thumb     { height: 112px; }

    .pi-archive-grid { grid-template-columns: repeat(4, 1fr); }

    .pi-footer { padding-bottom: 20px; }
}

/* ─── 22. Print ────────────────────────────────────── */
@media print {
    .pi-util-bar, .pi-main-nav, .pi-sport-tabs, .pi-ticker,
    .pi-bottom-nav, .pi-join-banner, .pi-tv, .pi-opps { display: none; }
    body { background: #fff; color: #000; }
    .pi-article__content { color: #000; }
    .pi-article__content a { color: #000; }
}
