/* ============================================
   ALBAYAN TIMES - HOME PAGE
   ============================================
   1. English Stars Hero (with Lexi image)
   2. Stars Stage (grouped by grade)
   3. Latest News Section
   ============================================ */

/* ==========================================
   1. FEATURED HERO — ENGLISH STARS
   ========================================== */

.featured-hero {
    position: relative;
    width: 100%;
    min-height: 620px;
    background: linear-gradient(135deg, #1A2C42 0%, #2A3F5A 50%, #1A8F86 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.featured-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.28) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: hero-glow-pulse 8s ease-in-out infinite;
}

.featured-hero::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -140px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: hero-glow-pulse 10s ease-in-out infinite reverse;
}

@keyframes hero-glow-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}

/* Floating sparkle stars */
.featured-hero .hero-sparkle {
    position: absolute;
    background-color: var(--color-yellow);
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%,
        79% 91%, 50% 70%, 21% 91%, 32% 57%,
        2% 35%, 39% 35%
    );
    z-index: 2;
    pointer-events: none;
    animation: sparkle-spin 4s ease-in-out infinite;
    opacity: 0.7;
}

.featured-hero .hero-sparkle.s1 { top: 12%; left: 5%; width: 24px; height: 24px; animation-delay: 0s; }
.featured-hero .hero-sparkle.s2 { top: 70%; right: 45%; width: 20px; height: 20px; animation-delay: 1s; }
.featured-hero .hero-sparkle.s3 { bottom: 18%; left: 42%; width: 18px; height: 18px; animation-delay: 2s; }
.featured-hero .hero-sparkle.s4 { top: 22%; right: 6%; width: 28px; height: 28px; animation-delay: 3s; }

@keyframes sparkle-spin {
    0%, 100% { transform: scale(0.85) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.15) rotate(180deg); opacity: 1; }
}

.featured-hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.featured-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT SIDE — Text content */
.featured-hero-content {
    color: var(--color-white);
}

.featured-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-coral);
    color: var(--color-white);
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(255, 107, 107, 0.4);
    animation: badge-pulse 2.5s ease-in-out infinite;
}

.featured-hero-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-yellow);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.featured-hero-title {
    font-family: var(--font-heading);
    font-size: 72px;
    line-height: 1.02;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.featured-hero-title .title-accent {
    color: var(--color-yellow);
    display: block;
}

.featured-hero-excerpt {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    max-width: 500px;
}

.featured-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-white);
    backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
}

.hero-meta-chip .chip-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-meta-chip:nth-child(1) .chip-icon { background-color: var(--color-yellow); }
.hero-meta-chip:nth-child(2) .chip-icon { background-color: var(--color-mint); }
.hero-meta-chip:nth-child(3) .chip-icon { background-color: var(--color-coral); }

.featured-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background-color: var(--color-yellow);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 209, 102, 0.35);
}

.featured-hero-cta::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    background-color: currentColor;
    transition: transform 0.3s ease;
}

.featured-hero-cta:hover {
    background-color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.35);
}

.featured-hero-cta:hover::after {
    transform: translateX(6px);
}

/* ==========================================
   RIGHT SIDE — Lexi's Hero Image
   ========================================== */

.hero-lexi {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

/* Glow behind Lexi */
.hero-lexi::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.3) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: hero-glow-pulse 6s ease-in-out infinite;
}

.hero-lexi-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    height: auto;
    display: block;
    border-radius: 0;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: lexi-hero-float 5s ease-in-out infinite;
}

@keyframes lexi-hero-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(-1.5deg); }
}

/* ==========================================
   2. STARS STAGE — GROUPED BY GRADE
   ============================================ */

.stars-stage-section {
    padding: var(--space-3xl) 0;
    background-color: var(--color-cream);
    position: relative;
}

.stars-stage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--color-orange) 0%,
        var(--color-yellow) 25%,
        var(--color-teal) 50%,
        var(--color-mint) 75%,
        var(--color-coral) 100%
    );
}

.stars-stage-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.stars-week-label {
    display: inline-block;
    padding: 8px 22px;
    background-color: var(--color-yellow);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    box-shadow: 0 3px 10px rgba(255, 209, 102, 0.4);
}

.stars-stage-header h2 {
    font-family: var(--font-heading);
    font-size: 46px;
    color: var(--color-navy);
    margin-bottom: 10px;
    line-height: 1.1;
}

.stars-stage-header p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-gray);
    margin: 0 auto;
    max-width: 620px;
    line-height: 1.6;
}

/* Grade groups */
.grade-group {
    margin-bottom: var(--space-2xl);
    position: relative;
}

.grade-group:last-child {
    margin-bottom: 0;
}

.grade-group-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: var(--space-lg);
    padding-bottom: 12px;
    border-bottom: 2px dashed var(--color-gray-light);
}

.grade-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 14px rgba(26, 44, 66, 0.12);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.grade-group:hover .grade-badge {
    transform: rotate(0deg) scale(1.08);
}

.grade-group:nth-child(2) .grade-badge { background-color: var(--color-yellow); color: var(--color-navy); }
.grade-group:nth-child(3) .grade-badge { background-color: var(--color-coral); color: var(--color-white); }
.grade-group:nth-child(4) .grade-badge { background-color: var(--color-mint); color: var(--color-navy); }
.grade-group:nth-child(5) .grade-badge { background-color: var(--color-teal); color: var(--color-white); }

.grade-group-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.2;
}

.grade-group-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-gray);
    margin: 0;
    font-weight: 600;
}

/* Stars row */
.stars-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

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

/* Star card */
.star-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-light);
    border-radius: var(--radius-lg);
    padding: 20px 14px 18px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 240px;
}

.star-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.star-card:hover::before {
    transform: scaleX(1);
}

.star-card::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background-color: var(--color-yellow);
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%,
        79% 91%, 50% 70%, 21% 91%, 32% 57%,
        2% 35%, 39% 35%
    );
    opacity: 0;
    transform: scale(0) rotate(-45deg);
    transition: all 0.35s ease;
}

.star-card:hover::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.star-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 12px 28px rgba(26, 44, 66, 0.12);
}

/* Star photo */
.star-photo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-white);
    box-shadow: 0 4px 14px rgba(26, 44, 66, 0.15);
    flex-shrink: 0;
    position: relative;
    background-color: var(--color-yellow);
    transition: transform 0.35s ease;
}

.star-card:hover .star-photo {
    transform: scale(1.1) rotate(-4deg);
}

.star-photo .photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

.star-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    z-index: 2;
    background-color: var(--color-white);
    color: transparent;
    font-size: 0;
}

.star-card:nth-child(5n+1) .star-photo { background-color: var(--color-yellow); }
.star-card:nth-child(5n+1)::before { background-color: var(--color-yellow); }
.star-card:nth-child(5n+2) .star-photo { background-color: var(--color-teal); }
.star-card:nth-child(5n+2)::before { background-color: var(--color-teal); }
.star-card:nth-child(5n+3) .star-photo { background-color: var(--color-coral); }
.star-card:nth-child(5n+3)::before { background-color: var(--color-coral); }
.star-card:nth-child(5n+4) .star-photo { background-color: var(--color-mint); }
.star-card:nth-child(5n+4)::before { background-color: var(--color-mint); }
.star-card:nth-child(5n+5) .star-photo { background-color: var(--color-orange); }
.star-card:nth-child(5n+5)::before { background-color: var(--color-orange); }

.star-card:nth-child(5n+2) .photo-fallback,
.star-card:nth-child(5n+3) .photo-fallback {
    color: var(--color-white);
}

/* Star name + class + badge */
.star-name {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
    width: 100%;
    word-break: break-word;
}

.star-class-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--color-cream);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: var(--radius-full);
}

.star-achievement {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background-color: var(--color-yellow);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: var(--radius-full);
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
}

/* ==========================================
   3. LATEST NEWS SECTION
   ========================================== */

.home-news-section {
    padding: var(--space-3xl) 0;
    background-color: var(--color-gray-lighter);
    position: relative;
}

.home-news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background-color: var(--color-orange);
}

.home-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-gray-light);
    gap: var(--space-md);
    flex-wrap: wrap;
}

.home-news-header h2 {
    font-family: var(--font-heading);
    font-size: 46px;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.1;
}

.home-news-header .news-header-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.home-news-header .news-header-link:hover {
    color: var(--color-orange);
}

.home-news-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.home-news-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 22px 28px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-left: 6px solid var(--color-orange);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.home-news-item:nth-child(2) { border-left-color: var(--color-coral); }
.home-news-item:nth-child(3) { border-left-color: var(--color-teal); }
.home-news-item:nth-child(4) { border-left-color: var(--color-mint); }
.home-news-item:nth-child(5) { border-left-color: var(--color-yellow); }

.home-news-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 22px rgba(26, 44, 66, 0.08);
    border-color: var(--color-orange);
}

.home-news-number {
    width: 52px;
    height: 52px;
    background-color: var(--color-orange);
    color: var(--color-navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.home-news-content {
    min-width: 0;
}

.home-news-title {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.25;
    color: var(--color-navy);
    margin: 0 0 6px 0;
    transition: color 0.2s ease;
}

.home-news-item:hover .home-news-title {
    color: var(--color-orange);
}

.home-news-meta {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.home-news-category {
    display: inline-block;
    padding: 5px 14px;
    background-color: var(--color-yellow);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==========================================
   4. RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .stars-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .featured-hero-inner {
        gap: 40px;
    }

    .featured-hero-title {
        font-size: 60px;
    }

    .hero-lexi {
        min-height: 400px;
    }

    .hero-lexi-img {
        max-width: 400px;
    }
}

@media (max-width: 1024px) {
    .featured-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .featured-hero-content {
        order: 1;
    }

    .hero-lexi {
        order: 2;
        min-height: 340px;
    }

    .hero-lexi-img {
        max-width: 340px;
    }

    .featured-hero-title {
        font-size: 52px;
    }

    .featured-hero-excerpt {
        margin-left: auto;
        margin-right: auto;
    }

    .featured-hero-meta {
        justify-content: center;
    }

    .stars-stage-header h2 {
        font-size: 36px;
    }

    .home-news-header h2 {
        font-size: 36px;
    }

    .stars-row,
    .stars-row-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stars-row,
    .stars-row-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-news-item {
        grid-template-columns: 40px 1fr;
        gap: 16px;
        padding: 18px 20px;
    }

    .home-news-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .home-news-category {
        grid-column: 2;
        justify-self: flex-start;
        margin-top: 6px;
    }

    .grade-group-title {
        font-size: 22px;
    }

    .grade-badge {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .hero-lexi {
        min-height: 280px;
    }

    .hero-lexi-img {
        max-width: 280px;
    }
}

@media (max-width: 640px) {
    .featured-hero {
        min-height: 520px;
        padding: 40px 0;
    }

    .featured-hero-content {
        padding: 0 var(--container-padding);
    }

    .featured-hero-title {
        font-size: 38px;
    }

    .featured-hero-excerpt {
        font-size: 15px;
    }

    .featured-hero-cta {
        padding: 16px 32px;
        font-size: 14px;
    }

    .featured-hero .hero-sparkle {
        display: none;
    }

    .hero-lexi {
        min-height: 240px;
    }

    .hero-lexi-img {
        max-width: 240px;
    }

    .hero-meta-chip {
        font-size: 11px;
        padding: 6px 12px;
    }

    .stars-stage-section {
        padding: var(--space-2xl) 0;
    }

    .stars-stage-header h2 {
        font-size: 28px;
    }

    .stars-stage-header p {
        font-size: 14px;
    }

    .star-card {
        padding: 16px 10px;
        min-height: 220px;
    }

    .star-photo {
        width: 72px;
        height: 72px;
        border-width: 3px;
    }

    .star-photo .photo-fallback {
        font-size: 28px;
    }

    .star-name {
        font-size: 14px;
        min-height: 34px;
    }

    .home-news-section {
        padding: var(--space-2xl) 0;
    }

    .home-news-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 400px) {
    .stars-row,
    .stars-row-4 {
        grid-template-columns: 1fr;
    }
}
/* ==========================================
   ANNOUNCEMENT HERO VARIANT
   ========================================== */

.featured-hero-inner-announcement {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.featured-hero-badge-red {
    background-color: #FF3B3B !important;
    animation: badge-pulse 2.5s ease-in-out infinite;
}

.featured-hero-subtitle-large {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-yellow);
    margin-bottom: 16px;
    line-height: 1.4;
}

.announcement-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background-color: #0F1A28;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.announcement-video-wrapper iframe,
.announcement-video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.announcement-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .featured-hero-inner-announcement {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .featured-hero-subtitle-large {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .featured-hero-subtitle-large {
        font-size: 16px;
    }
}
/* Swiper Container */
.featured-hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.featuredSwiper {
    width: 100%;
    height: auto;
}

/* Make sure the hero inside swiper has no extra margins */
.featuredSwiper .featured-hero {
    margin-bottom: 0;
}

/* Style Swiper Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-yellow) !important;
    background-color: rgba(26, 44, 66, 0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--color-navy);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

/* Style Swiper Pagination Dots */
.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-yellow) !important;
    width: 30px !important;
    border-radius: 10px !important;
}

/* Make arrows visible on mobile */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important; /* On mobile users usually just swipe, so we hide the arrows */
    }
}
.featured-hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    /* This padding keeps the text and Lexi away from the arrows */
    padding: 0 80px; 
}
@media (max-width: 768px) {
    .featured-hero .container {
        padding: 0 var(--container-padding); /* Revert to normal padding on phones */
    }
}
/* ==========================================
   ANNOUNCEMENT: top strip + "Latest Competition" section
   ========================================== */

.featured-hero-section.single-slide .swiper-pagination,
.featured-hero-section.single-slide .swiper-button-next,
.featured-hero-section.single-slide .swiper-button-prev {
    display: none;
}

#spotlight-top.is-visible {
    animation: spotlight-drop 0.45s ease-out;
}

@keyframes spotlight-drop {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.spotlight-strip {
    display: block;
    background: linear-gradient(90deg, #FF6B6B 0%, #F5A623 100%);
    color: #fff;
    text-decoration: none;
}

.spotlight-strip-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.spotlight-strip-thumb {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.spotlight-strip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spotlight-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-left: 14px solid #fff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.spotlight-strip-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.spotlight-strip-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(26, 44, 66, 0.85);
    color: #FFD166;
    padding: 3px 10px;
    border-radius: 999px;
}

.spotlight-strip-title {
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.15;
}

.spotlight-strip-cta {
    flex-shrink: 0;
    background: #fff;
    color: var(--color-navy);
    font-weight: 800;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    transition: transform 0.2s ease;
}

.spotlight-strip:hover .spotlight-strip-cta {
    transform: translateX(4px);
}

.spotlight-below-section {
    padding: 56px 0;
    background: #FFF6DD;
}

.spotlight-below {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.spotlight-below-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-navy);
    aspect-ratio: 16 / 9;
    box-shadow: 0 12px 32px rgba(26, 44, 66, 0.2);
}

.spotlight-below-media video,
.spotlight-below-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spotlight-below-content h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--color-navy);
    margin: 10px 0 8px;
}

.spotlight-below-content p {
    color: var(--color-navy-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.spotlight-winner-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spotlight-winner-list li {
    background: #fff;
    border: 1px solid var(--color-gray-light);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
}

.spotlight-winner-list em {
    font-style: normal;
    color: var(--color-coral);
    margin-left: 6px;
}

@media (max-width: 768px) {
    .spotlight-strip-inner { flex-wrap: wrap; gap: 12px; }
    .spotlight-strip-thumb { width: 72px; }
    .spotlight-strip-title { font-size: 20px; }
    .spotlight-strip-cta { width: 100%; text-align: center; }
    .spotlight-below { grid-template-columns: 1fr; gap: 24px; }
    .spotlight-below-content h2 { font-size: 32px; }
}

/* ==========================================
   ENGLISH STARS LINE (while an announcement is on)
   ========================================== */

.stars-line {
    display: block;
    background: var(--color-navy);
    color: #fff;
    text-decoration: none;
}

.stars-line-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 15px;
}

.stars-line-icon { font-size: 18px; }

.stars-line-text {
    flex: 1;
    min-width: 0;
    color: rgba(255, 255, 255, 0.8);
}

.stars-line-text strong {
    color: var(--color-yellow);
    margin-right: 6px;
}

.stars-line-cta {
    flex-shrink: 0;
    font-weight: 800;
    color: var(--color-yellow);
    transition: transform 0.2s ease;
}

.stars-line:hover .stars-line-cta { transform: translateX(4px); }

/* Nothing in the banner or the stars section shows until the page has decided what to show */
.featured-hero-section,
.stars-stage-section {
    transition: opacity 0.25s ease;
}

body:not(.home-ready) .featured-hero-section,
body:not(.home-ready) .stars-stage-section {
    opacity: 0;
}

@media (max-width: 640px) {
    .stars-line-inner { flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
    .stars-line-cta { width: 100%; padding-left: 28px; }
}

/* "Watch the video" button under the winners: spaced out, centered, normal size */
.spotlight-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.spotlight-more .featured-hero-cta {
    font-size: 15px;
    padding: 14px 28px;
}
