/**
 * InGoal ProReads Styles
 */

/* =========================================
   CSS Variables
   ========================================= */
:root {
    --navy: #0A1628;
    --navy-medium: #1a3a52;
    --ice-blue: #E8F4F8;
    --ice-blue-dark: #d4ebf3;
    --accent-blue: #31487A;
    --accent-blue-hover: #243658;
    --accent-blue-light: #4a6499;
    --promo-yellow: #FFD93D;
    --text-primary: #0A0A0A;
    --text-secondary: #4A4A4A;
    --text-tertiary: #6A6A6A;
    --header-bg: #0d1b2a;
    --border-color: #E0E0E0;
}

/* =========================================
   Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.ingoal-proreads-page {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-primary);
    background: white;
}

body.ingoal-proreads-page h1,
body.ingoal-proreads-page h2,
body.ingoal-proreads-page h3,
body.ingoal-proreads-page h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* =========================================
   Header Styles (shared)
   ========================================= */
.ig-site-header {
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ig-site-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 24px;
}

.ig-site-header__logo { flex-shrink: 0; }
.ig-site-header__logo-img { height: 45px; width: auto; }

.ig-site-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ig-site-header__nav a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s;
    white-space: nowrap;
}

.ig-site-header__nav a:hover { background: rgba(255,255,255,0.1); }

.ig-btn {
    display: inline-block;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.ig-btn--primary { background: var(--accent-blue); color: white; }
.ig-btn--primary:hover { background: var(--accent-blue-hover); color: white; }

/* =========================================
   Footer Styles (shared)
   ========================================= */
.ig-site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 40px;
    margin-top: 80px;
}

.ig-site-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.ig-site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.ig-site-footer__logo { height: 50px; width: auto; margin-bottom: 16px; }
.ig-site-footer__about p { margin: 0; color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.7; }

.ig-site-footer__nav h2 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.ig-site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.ig-site-footer__nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 2.2;
    transition: color 0.2s;
}
.ig-site-footer__nav a:hover { color: white; }

.ig-site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}
.ig-site-footer__bottom p { margin: 0; font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,0.5); }

/* =========================================
   ProReads Hero Section
   ========================================= */
.igpr-hero {
    background: linear-gradient(135deg, var(--ice-blue) 0%, white 100%);
    padding: 32px 0 40px;
    position: relative;
    overflow: hidden;
}

.igpr-hero__ghost-names {
    position: absolute;
    inset: 0;
    padding: 12px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.9;
    color: rgba(10, 22, 40, 0.06);
    word-break: break-word;
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.igpr-hero__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.igpr-hero__content { max-width: 700px; }

.igpr-hero__breadcrumbs {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.igpr-hero__breadcrumbs a { color: var(--accent-blue); text-decoration: none; }
.igpr-hero__breadcrumbs a:hover { text-decoration: underline; }
.igpr-hero__breadcrumbs span { margin: 0 8px; }

.igpr-hero__title {
    font-size: 52px;
    color: var(--navy);
    margin: 0 0 6px 0;
    font-weight: 800;
}

.igpr-hero__subtitle {
    font-family: 'Merriweather', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    font-weight: 400;
}

.igpr-hero__description {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.igpr-hero__meta {
    font-size: 14px;
    color: var(--text-tertiary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Progress Stats (reuses igm-archive classes from magazine archive) */
.igpr-hero__content .igm-archive__progress {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.igpr-hero__content .igm-archive__progress-count {
    color: var(--text-secondary);
}

.igpr-hero__content .igm-archive__progress-count strong {
    color: var(--accent-blue);
    font-weight: 700;
}

.igpr-hero__content .igm-archive__progress-sep {
    color: var(--border-color);
    margin: 0 2px;
}

.igpr-hero__content .igm-archive__progress-rank {
    color: var(--accent-blue);
    font-weight: 600;
}

.igpr-hero__content .igm-archive__progress-cta {
    color: var(--accent-blue);
    font-weight: 500;
}

/* Hero Drills Badge */
.igpr-hero__drills-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    background: rgba(255, 217, 61, 0.15);
    border: 1px solid rgba(255, 217, 61, 0.4);
    padding: 8px 16px;
    border-radius: 6px;
}

.igpr-hero__drills-icon {
    font-size: 16px;
}

.igpr-hero__drills-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.igpr-hero__drills-link:hover {
    color: var(--navy);
    text-decoration: underline;
}

.igpr-hero__drills-hint {
    color: var(--text-tertiary);
    font-weight: 400;
    font-size: 13px;
}

/* Sponsor Module */
.igpr-hero__sponsor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.igpr-sponsor__tagline {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.igpr-sponsor {
    display: flex;
    align-items: center;
    justify-content: center;
}

.igpr-sponsor__link { display: block; transition: opacity 0.2s; }
.igpr-sponsor__link:hover { opacity: 0.8; }
.igpr-sponsor__logo { max-width: 240px; max-height: 120px; object-fit: contain; }

/* =========================================
   Goalie Index Section (Compact Flow)
   ========================================= */
.igpr-goalie-section {
    background: var(--navy);
    padding: 28px 0;
}

.igpr-goalie-section__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.igpr-goalie-section__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    margin-bottom: 16px;
}

.igpr-goalie-section__toggle:hover .igpr-goalie-section__title {
    color: var(--ig-ice-blue-dark, #B8DDE8);
}

.igpr-goalie-section__chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-left: 16px;
    border-right: 2.5px solid rgba(255,255,255,0.6);
    border-bottom: 2.5px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.igpr-goalie-section__toggle[aria-expanded="false"] .igpr-goalie-section__chevron {
    transform: rotate(-45deg);
}

.igpr-goalie-section__toggle:hover .igpr-goalie-section__chevron {
    border-color: rgba(255,255,255,0.9);
}

.igpr-goalie-section__body {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    max-height: 600px;
    opacity: 1;
}

.igpr-goalie-section__body.is-collapsed {
    max-height: 0;
    opacity: 0;
}

.igpr-goalie-section__header { margin-bottom: 0; }

.igpr-goalie-section__title {
    font-size: 22px;
    color: white;
    margin: 0 0 2px 0;
    font-weight: 700;
    transition: color 0.2s ease;
}

.igpr-goalie-section__subtitle {
    font-family: 'Merriweather', Georgia, serif;
    font-style: italic;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-weight: 400;
}

.igpr-goalie-index {
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    padding: 16px 20px;
}

.igpr-goalie-index__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.igpr-goalie-index__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    text-decoration: none;
    transition: all 0.15s;
}

.igpr-goalie-index__item:hover .igpr-goalie-index__name {
    color: #7EB3FF;
}

.igpr-goalie-index__name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    transition: color 0.15s;
}

.igpr-goalie-index__count {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
    padding: 2px 6px;
    border-radius: 8px;
    min-width: 22px;
    text-align: center;
}

.igpr-goalie-index__empty {
    color: rgba(255,255,255,0.5);
    padding: 20px;
    text-align: center;
    font-style: italic;
}

/* =========================================
   Archive Section Title
   ========================================= */
.igpr-archive-intro {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 50px 0;
}

.igpr-archive-intro__title {
    font-size: 26px;
    color: var(--navy);
    margin: 0 0 4px 0;
    font-weight: 700;
}

.igpr-archive-intro__subtitle {
    font-family: 'Merriweather', Georgia, serif;
    font-style: italic;
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* =========================================
   ProReads Archive - Filter Bar
   ========================================= */
.igpr-archive__filter-bar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 90;
}

.igpr-archive__filter-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.igpr-archive__filter-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Search with dropdown */
.igpr-archive__search-wrapper {
    position: relative;
    flex: 0 0 240px;
}

.igpr-archive__search-input {
    width: 100%;
    padding: 9px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 40px;
}

.igpr-archive__search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(49,72,122,0.1);
}

.igpr-archive__search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: none;
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
}

.igpr-archive__search-dropdown.active { display: block; }

.igpr-search-result {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    background: none;
    border-left: none;
    border-right: none;
    width: 100%;
    text-align: left;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
}

.igpr-search-result:last-child { border-bottom: none; }
.igpr-search-result:hover { background: var(--ice-blue); }

.igpr-search-result__type {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-blue);
    font-weight: 700;
}

.igpr-search-result__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.igpr-search-result__meta {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Filter groups */
.igpr-archive__filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.igpr-archive__filter-label {
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    white-space: nowrap;
}

.igpr-archive__filter-select {
    padding: 9px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    background: white;
    cursor: pointer;
    height: 40px;
    min-width: 130px;
}

.igpr-archive__filter-select--narrow { min-width: 90px; }

.igpr-archive__filter-select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* Read Toggle Button */
.igpr-archive__read-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    height: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.igpr-archive__read-toggle:hover {
    border-color: var(--accent-blue);
    background: var(--ice-blue);
}

.igpr-archive__read-toggle[data-active="true"] {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.igpr-archive__read-toggle[data-active="true"]:hover {
    background: var(--accent-blue-hover);
}

/* Icon visibility based on state */
.igpr-archive__read-toggle[data-active="false"] .igpr-archive__read-toggle-icon--hide { display: block; }
.igpr-archive__read-toggle[data-active="false"] .igpr-archive__read-toggle-icon--show { display: none; }
.igpr-archive__read-toggle[data-active="false"] .igpr-archive__read-toggle-text--hide { display: inline; }
.igpr-archive__read-toggle[data-active="false"] .igpr-archive__read-toggle-text--show { display: none; }

.igpr-archive__read-toggle[data-active="true"] .igpr-archive__read-toggle-icon--hide { display: none; }
.igpr-archive__read-toggle[data-active="true"] .igpr-archive__read-toggle-icon--show { display: block; }
.igpr-archive__read-toggle[data-active="true"] .igpr-archive__read-toggle-text--hide { display: none; }
.igpr-archive__read-toggle[data-active="true"] .igpr-archive__read-toggle-text--show { display: inline; }

/* Subscribe CTA */
.igpr-archive__filter-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 20px;
    border-left: 1px solid var(--border-color);
    flex-shrink: 0;
}

.igpr-archive__cta-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.igpr-archive__cta-btn {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
    white-space: nowrap;
}

.igpr-archive__cta-btn:hover { background: var(--accent-blue-hover); color: white; }

/* Filter meta row (active filters + results count) */
.igpr-archive__filter-meta {
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.igpr-archive__filter-meta .igpr-archive__filter-inner {
    padding: 10px 50px;
    justify-content: flex-start;
    gap: 16px;
}

.igpr-archive__active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.igpr-archive__active-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: white;
    border: 1px solid var(--accent-blue);
    border-radius: 16px;
    padding: 5px 8px 5px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
}

.igpr-archive__active-filter-label { color: var(--text-secondary); font-weight: 500; }
.igpr-archive__active-filter-term { color: var(--navy); font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.igpr-archive__active-filter-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: none;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    padding: 0;
    transition: background 0.2s;
}

.igpr-archive__active-filter-clear:hover { background: var(--navy); }

.igpr-archive__clear-all {
    background: none;
    border: none;
    color: var(--accent-blue);
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.2s;
}

.igpr-archive__clear-all:hover { color: var(--navy); text-decoration: underline; }

/* Related Drills Button */
.igpr-archive__drills-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--promo-yellow);
    color: var(--navy);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
}

.igpr-archive__drills-btn:hover { background: #f5c800; }
.igpr-archive__drills-btn.active { background: var(--navy); color: white; }
.igpr-archive__drills-btn.active:hover { background: #1a3a52; }
.igpr-archive__drills-btn-icon { font-size: 14px; }

.igpr-archive__drills-btn--empty {
    background: #e0e0e0;
    color: var(--text-tertiary);
    cursor: default;
    font-weight: 600;
}
.igpr-archive__drills-btn--empty:hover { background: #e0e0e0; }

.igpr-archive__results-count {
    font-size: 13px;
    color: var(--text-tertiary);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    margin-left: auto;
}

/* =========================================
   ProReads Archive - Article Grid
   ========================================= */
.igpr-archive__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 50px 80px;
}

.igpr-archive__grid-wrapper {
    display: flex;
    gap: 40px;
}

.igpr-archive__articles-wrapper {
    flex: 1;
    transition: opacity 0.2s;
}

.igpr-archive__articles-wrapper.loading { opacity: 0.5; pointer-events: none; }

.igpr-archive__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Split view when showing drills */
.igpr-archive__grid-wrapper--split .igpr-archive__articles-wrapper {
    flex: 0 0 60%;
}

.igpr-archive__grid-wrapper--split .igpr-archive__grid {
    grid-template-columns: 1fr;
}

.igpr-archive__drills-column {
    flex: 0 0 38%;
    display: none;
}

.igpr-archive__grid-wrapper--split .igpr-archive__drills-column {
    display: block;
}

.igpr-archive__drills-header {
    background: var(--navy);
    color: white;
    padding: 16px 20px;
    border-radius: 6px 6px 0 0;
    margin-bottom: 0;
}

.igpr-archive__drills-header h3 {
    font-size: 18px;
    margin: 0 0 4px 0;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: white;
}

.igpr-archive__drills-header span {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-family: 'Inter', sans-serif;
}

.igpr-archive__drills-list {
    background: var(--ice-blue);
    border-radius: 0 0 6px 6px;
    padding: 16px;
}

.igpr-archive__drill-item {
    background: white;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.igpr-archive__drill-item:last-child { margin-bottom: 0; }
.igpr-archive__drill-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.igpr-archive__drill-link {
    display: flex;
    gap: 16px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.igpr-archive__drill-image {
    flex: 0 0 120px;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    background: var(--navy);
}

.igpr-archive__drill-image img { width: 100%; height: 100%; object-fit: contain; background: var(--ice-blue-dark); }

.igpr-archive__drill-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--promo-yellow);
}

.igpr-archive__drill-content { flex: 1; min-width: 0; }

.igpr-archive__drill-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--promo-yellow);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    background: var(--navy);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 6px;
}

.igpr-archive__drill-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
}

/* Article Cards */
.igpr-archive__article {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.igpr-archive__article:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.igpr-archive__article--read { opacity: 0.85; }

.igpr-archive__article-link { display: block; text-decoration: none; color: inherit; }

.igpr-archive__article-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--navy);
    overflow: hidden;
}

.igpr-archive__article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.igpr-archive__article:hover .igpr-archive__article-image img { transform: scale(1.05); }

.igpr-archive__article-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: rgba(255,255,255,0.3);
    font-weight: 800;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
}

/* Read badge styling is centralized in ingoal-activity.css */

.igpr-archive__premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--promo-yellow);
    color: var(--navy);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.igpr-archive__article-content { padding: 20px; }

.igpr-archive__article-goalie {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
}

.igpr-archive__article-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 4px 0;
    color: var(--navy);
    font-weight: 700;
    transition: color 0.2s;
}

.igpr-archive__article:hover .igpr-archive__article-title { color: var(--accent-blue); }

.igpr-archive__article-excerpt {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
}

/* Article tags */
.igpr-archive__article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.igpr-archive__article-tag {
    display: inline-block;
    background: var(--ice-blue);
    color: var(--accent-blue);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.igpr-archive__article-tag--drills {
    background: var(--navy);
    color: var(--promo-yellow);
    letter-spacing: 0.2px;
}

.igpr-archive__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    font-style: italic;
}

/* Pagination */
.igpr-archive__pagination-wrapper { margin-top: 40px; }

.igpr-archive__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-family: 'Inter', sans-serif;
}

.igpr-archive__page-link {
    padding: 10px 20px;
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
    transition: background 0.2s;
}

.igpr-archive__page-link:hover { background: var(--accent-blue-hover); color: white; }

.igpr-archive__page-info { font-size: 13px; color: var(--text-secondary); }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1200px) {
    .igpr-archive__filter-cta { display: none; }
    .igpr-archive__grid { gap: 24px; }
}

@media (max-width: 1100px) {
    .igpr-hero__inner { grid-template-columns: 1fr; gap: 24px; }
    .igpr-hero__sponsor { flex-direction: row; align-items: center; gap: 16px; }
    .igpr-hero__title { font-size: 42px; }
    .ig-site-header__inner { padding: 0 30px; }
    .ig-site-header__nav a { font-size: 12px; padding: 8px 8px; }
    
    .igpr-archive__grid-wrapper--split { flex-direction: column; }
    .igpr-archive__grid-wrapper--split .igpr-archive__articles-wrapper { flex: 1; }
    .igpr-archive__grid-wrapper--split .igpr-archive__grid { grid-template-columns: repeat(2, 1fr); }
    .igpr-archive__drills-column { flex: 1; }
}

@media (max-width: 900px) {
    .igpr-hero__inner,
    .igpr-goalie-section__inner,
    .igpr-archive-intro,
    .igpr-archive__container { padding-left: 30px; padding-right: 30px; }
    .igpr-archive__filter-inner { padding-left: 30px; padding-right: 30px; }
    .igpr-archive__filter-meta .igpr-archive__filter-inner { padding-left: 30px; padding-right: 30px; }
    
    .igpr-hero__title { font-size: 36px; }
    
    .ig-site-header__nav { display: none; }
    .ig-site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .ig-site-footer__inner { padding: 0 30px; }
    
    .igpr-archive__filter-left { flex-wrap: wrap; gap: 10px; }
    .igpr-archive__search-wrapper { flex: 1 1 100%; }
}

@media (max-width: 768px) {
    .igpr-archive__grid { grid-template-columns: 1fr; gap: 20px; }
    .igpr-archive__article-title { font-size: 16px; }
    .igpr-archive__article-content { padding: 16px; }
    .igpr-archive__drills-btn { margin-left: 0; margin-top: 8px; }
    .igpr-archive__filter-meta .igpr-archive__filter-inner { flex-wrap: wrap; }
    .igpr-hero__drills-hint { display: none; }
    .igpr-hero__drills-badge { font-size: 13px; padding: 6px 12px; }
}

@media (max-width: 600px) {
    .igpr-hero__inner,
    .igpr-goalie-section__inner,
    .igpr-archive-intro,
    .igpr-archive__container { padding-left: 20px; padding-right: 20px; }
    
    .igpr-archive__filter-inner { padding: 12px 20px; flex-direction: column; align-items: stretch; gap: 10px; }
    .igpr-archive__filter-meta .igpr-archive__filter-inner { padding: 10px 20px; }
    .igpr-archive__filter-left { flex-direction: column; }
    .igpr-archive__filter-group { width: 100%; justify-content: space-between; }
    .igpr-archive__filter-select { flex: 1; }
    
    .igpr-hero { padding: 24px 0 32px; }
    .igpr-hero__title { font-size: 30px; }
    .igpr-hero__subtitle { font-size: 16px; }
    .igpr-hero__sponsor { flex-direction: column; width: 100%; }
    
    .igpr-goalie-section { padding: 28px 0; }
    .igpr-goalie-section { padding: 20px 0; }
    .igpr-goalie-section__title { font-size: 18px; }
    .igpr-archive-intro__title { font-size: 22px; }
    
    .ig-site-header__inner { padding: 0 20px; height: 70px; }
    .ig-site-header__logo-img { height: 35px; }
    .ig-site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .ig-site-footer__inner { padding: 0 20px; }
    .ig-site-footer { padding: 40px 0 30px; }
}
