﻿:root {
    --brand-primary: #F8DE9F;
    --brand-secondary: #EF9A2B;
    --brand-accent: #9C111D;
    --brand-dark: #070403;
    --brand-light: #F9EDD5;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #1f1f1f;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: var(--brand-dark);
    border-bottom: 1px solid rgba(248, 222, 159, 0.18);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    max-height: 68px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

    .main-nav a {
        color: var(--brand-light);
        font-size: 15px;
        font-weight: 600;
        opacity: 0.9;
    }

        .main-nav a:hover {
            color: var(--brand-primary);
        }

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
    font-size: 24px;
    border-radius: 8px;
    padding: 6px 12px;
}

.hero {
    min-height: 620px;
    background: radial-gradient(circle at top right, rgba(239,154,43,0.22), transparent 36%), radial-gradient(circle at bottom left, rgba(156,17,29,0.32), transparent 35%), linear-gradient(135deg, #070403 0%, #160706 55%, #070403 100%);
    color: var(--brand-light);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero-kicker {
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.02;
    margin: 16px 0;
}

.hero p {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(249, 237, 213, 0.86);
    max-width: 680px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #1a0804;
}

.btn-outline {
    border-color: rgba(248, 222, 159, 0.55);
    color: var(--brand-light);
}

.video-frame {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(248,222,159,0.22);
    border-radius: 26px;
    padding: 14px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}

    .video-frame iframe {
        width: 100%;
        aspect-ratio: 16 / 9;
        border: 0;
        border-radius: 18px;
    }

.section {
    padding: 72px 0;
}

.section-light {
    background: #fff;
}

.section-soft {
    background: #faf7f1;
}

.section-title {
    font-size: 36px;
    margin: 0 0 12px;
    color: #171717;
}

.section-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 34px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-card {
    background: #fff;
    border: 1px solid #eee2d1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(0,0,0,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .video-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 60px rgba(0,0,0,0.11);
    }

.video-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #111;
}

.video-card-body {
    padding: 18px;
}

.video-card h3 {
    font-size: 19px;
    line-height: 1.35;
    margin: 0 0 10px;
}

.video-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 12px;
}
.channel-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 12px;
    margin-top: 8px;
    margin-left: 10px;
    font-weight: bold;
    display: inline-flex;
    background: rgba(239,154,43,0.12);
    border-radius: 999px;
    padding: 6px 12px;
}
.tag {
    display: inline-flex;
    background: rgba(239,154,43,0.12);
    color: #8a4300;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}

.site-footer {
    background: var(--brand-dark);
    color: var(--brand-light);
    padding: 42px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.footer-logo {
    max-height: 64px;
    margin-bottom: 14px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

    .footer-links a {
        color: var(--brand-light);
        opacity: 0.85;
    }

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: var(--brand-dark);
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

        .main-nav.open {
            display: flex;
        }
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }

    .hero {
        min-height: auto;
        padding: 56px 0;
    }
}
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.short-card .video-thumb {
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

@media (max-width: 1000px) {
    .shorts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-card {
    background: #ffffff;
    border: 1px solid #ead8ba;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 14px 38px rgba(0,0,0,0.06);
}

    .form-card label {
        display: block;
        margin: 16px 0 7px;
        font-weight: 700;
        color: #5f3b08;
    }

    .form-card input[type="text"],
    .form-card textarea {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid #d9bd85;
        border-radius: 10px;
        font-size: 15px;
        box-sizing: border-box;
    }

    .form-card textarea {
        min-height: 160px;
        resize: vertical;
    }

.message {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: 600;
}

    .message.success {
        background: #e8ffe9;
        border: 1px solid #9ed9a0;
        color: #246b28;
    }

    .message.error {
        background: #fff0f0;
        border: 1px solid #ffaaaa;
        color: #8a1c1c;
    }

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff0000;
    color: #ffffff !important;
    padding: 11px 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(255,0,0,0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .subscribe-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 36px rgba(255,0,0,0.36);
    }

.subscribe-card {
    background: linear-gradient(135deg, #180707, #3a0d0d);
    color: #fff;
    border-radius: 20px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

    .subscribe-card h3 {
        margin-top: 0;
        color: #ffffff;
    }

    .subscribe-card p {
        color: rgba(255,255,255,0.82);
    }

.channel-hero {
    display: flex;
    gap: 26px;
    align-items: center;
}

.channel-avatar {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand-primary);
    box-shadow: 0 18px 45px rgba(0,0,0,0.28);
    background: #fff;
}

.channel-stats {
    margin: 14px 0 20px;
    color: rgba(255,255,255,0.78);
    font-weight: 600;
}

@media (max-width: 700px) {
    .channel-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}
.channel-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

    .channel-tabs a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 18px;
        border-radius: 999px;
        border: 1px solid rgba(248, 222, 159, 0.35);
        color: var(--brand-light);
        text-decoration: none;
        font-weight: 700;
        background: rgba(255,255,255,0.06);
    }

        .channel-tabs a:hover,
        .channel-tabs a.active {
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
            color: #1a0804;
            border-color: transparent;
        }
body.brand-english-rankers .channel-tabs a {
    border-color: rgba(255,255,255,0.45);
    color: #ffffff;
    background: rgba(255,255,255,0.10);
}
    body.brand-english-rankers .channel-tabs a:hover,
    body.brand-english-rankers .channel-tabs a.active {
        background: linear-gradient(135deg, #F05A1A, #FF8A00);
        color: #ffffff;
    }
.channel-logo-card-img {
    object-fit: contain;
    background: #ffffff;
    padding: 24px;
}

.video-channel-card {
    text-align: center;
}

.video-channel-logo {
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
    margin: 0 auto 14px;
    display: block;
}

.video-channel-card h3 {
    margin-top: 0;
}

/* EnglishRankers theme */
body.brand-english-rankers {
    background: #FFF7ED;
    color: #101828;
}

    body.brand-english-rankers .site-header {
        background: #ffffff;
        border-bottom: 1px solid rgba(16, 26, 143, 0.12);
        box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    }

    body.brand-english-rankers .main-nav a {
        color: #101828;
    }

        body.brand-english-rankers .main-nav a:hover {
            color: #FF5A14;
        }

    body.brand-english-rankers .page-hero,
    body.brand-english-rankers .hero {
        background: radial-gradient(circle at top right, rgba(255, 196, 42, 0.35), transparent 30%), linear-gradient(135deg, #101A8F 0%, #1826B8 42%, #FF5A14 100%);
        color: #ffffff;
    }

        body.brand-english-rankers .hero h1,
        body.brand-english-rankers .page-hero h1 {
            color: #ffffff;
        }

        body.brand-english-rankers .hero p,
        body.brand-english-rankers .page-hero p {
            color: rgba(255,255,255,0.88);
        }

    body.brand-english-rankers .btn-primary {
        background: linear-gradient(135deg, #FF5A14, #FF9400);
        color: #ffffff;
    }

    body.brand-english-rankers .subscribe-btn {
        background: #101A8F;
        color: #ffffff !important;
        box-shadow: 0 12px 28px rgba(16, 26, 143, 0.25);
    }

        body.brand-english-rankers .subscribe-btn:hover {
            box-shadow: 0 16px 36px rgba(16, 26, 143, 0.34);
        }

    body.brand-english-rankers .video-card {
        border: 1px solid rgba(16, 26, 143, 0.10);
        box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
    }

    body.brand-english-rankers .tag {
        background: rgba(255, 90, 20, 0.10);
        color: #FF5A14;
    }

.er-channel-section {
    margin-top: 0;
}

.er-section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.er-kicker {
    display: inline-block;
    color: #FF5A14;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    margin-bottom: 8px;
}

.er-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.er-channel-card {
    background: #ffffff;
    border: 1px solid rgba(16, 26, 143, 0.10);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 24px;
    align-items: center;
}

.er-channel-logo-wrap {
    background: linear-gradient(135deg, #FFF7ED, #ffffff);
    border-radius: 20px;
    padding: 18px;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 90, 20, 0.12);
}

    .er-channel-logo-wrap img {
        max-width: 100%;
        max-height: 105px;
        object-fit: contain;
    }

.er-channel-content h3 {
    margin: 10px 0 10px;
    color: #101828;
    font-size: 24px;
}

.er-channel-content p {
    color: #475467;
    line-height: 1.65;
}

.er-language-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #101A8F;
    color: #ffffff;
    padding: 5px 11px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}

.er-channel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

@media (max-width: 900px) {
    .er-channel-grid {
        grid-template-columns: 1fr;
    }

    .er-channel-card {
        grid-template-columns: 1fr;
    }
}
/* Improved EnglishRankers theme */
body.brand-english-rankers {
    background: #FFF7ED;
    color: #101828;
}

    body.brand-english-rankers .site-header {
        background: #ffffff;
        border-bottom: 1px solid rgba(16, 42, 104, 0.10);
        box-shadow: 0 8px 26px rgba(16, 24, 40, 0.06);
    }

    body.brand-english-rankers .main-nav a {
        color: #101828;
    }

        body.brand-english-rankers .main-nav a:hover {
            color: #FF5A14;
        }

    /* Softer, more educational hero */
    body.brand-english-rankers .hero,
    body.brand-english-rankers .page-hero {
        background: radial-gradient(circle at 85% 15%, rgba(255, 196, 42, 0.35), transparent 28%), radial-gradient(circle at 5% 95%, rgba(62, 159, 224, 0.16), transparent 30%), linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 44%, #FFE4CC 100%);
        color: #101828;
    }

        body.brand-english-rankers .hero h1,
        body.brand-english-rankers .page-hero h1 {
            color: #102A68;
        }

        body.brand-english-rankers .hero p,
        body.brand-english-rankers .page-hero p {
            color: #344054;
        }

        body.brand-english-rankers .hero .kicker,
        body.brand-english-rankers .kicker {
            color: #FF5A14;
        }

    body.brand-english-rankers .btn-primary {
        background: linear-gradient(135deg, #FF5A14, #FF8A00);
        color: #ffffff;
        box-shadow: 0 12px 28px rgba(255, 90, 20, 0.24);
    }

    body.brand-english-rankers .subscribe-btn {
        background: #102A68;
        color: #ffffff !important;
        box-shadow: 0 12px 28px rgba(16, 42, 104, 0.24);
    }

        body.brand-english-rankers .subscribe-btn:hover {
            box-shadow: 0 16px 34px rgba(16, 42, 104, 0.32);
        }

    /* EnglishRankers channel section */
    body.brand-english-rankers .er-channel-section .section-light {
        background: #ffffff;
    }

.er-section-heading {
    max-width: 740px;
    margin-bottom: 30px;
}

.er-kicker {
    display: inline-block;
    color: #FF5A14;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    margin-bottom: 8px;
}

.er-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.er-channel-card-new {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(16, 42, 104, 0.10);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 430px;
}

.er-card-topline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, #FF5A14, #FF8A00, #FFC42A, #3E9FE0, #102A68);
}

.er-channel-logo-box {
    width: 100%;
    height: 132px;
    background: radial-gradient(circle at top right, rgba(255, 196, 42, 0.22), transparent 34%), linear-gradient(135deg, #FFF7ED, #ffffff);
    border: 1px solid rgba(255, 90, 20, 0.12);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    margin-bottom: 22px;
}

    .er-channel-logo-box img {
        max-width: 260px;
        max-height: 95px;
        object-fit: contain;
    }

.er-channel-content-new {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.er-language-pill-new {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    background: rgba(16, 42, 104, 0.08);
    color: #102A68;
    border: 1px solid rgba(16, 42, 104, 0.12);
    padding: 7px 13px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
}

.er-channel-content-new h3 {
    margin: 16px 0 10px;
    color: #101828;
    font-size: 26px;
    line-height: 1.2;
}

.er-channel-content-new p {
    color: #475467;
    line-height: 1.65;
    margin-bottom: 22px;
}

.er-channel-actions-new {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

body.brand-english-rankers .video-card {
    border: 1px solid rgba(16, 42, 104, 0.10);
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.07);
}

body.brand-english-rankers .tag {
    background: rgba(255, 90, 20, 0.10);
    color: #FF5A14;
}

@media (max-width: 900px) {
    .er-channel-grid {
        grid-template-columns: 1fr;
    }

    .er-channel-card-new {
        min-height: auto;
    }
}
/* EnglishRankers premium balanced theme override */
body.brand-english-rankers {
    background: #FFF3E4;
    color: #101828;
}

    /* Header */
    body.brand-english-rankers .site-header {
        background: #ffffff;
        border-bottom: 1px solid rgba(16, 42, 104, 0.14);
        box-shadow: 0 8px 26px rgba(16, 24, 40, 0.08);
    }

    body.brand-english-rankers .main-nav a {
        color: #111827;
    }

        body.brand-english-rankers .main-nav a:hover {
            color: #F05A1A;
        }

    /* Hero: stronger, still clean */
    body.brand-english-rankers .hero {
        background: radial-gradient(circle at 85% 18%, rgba(255, 196, 42, 0.35), transparent 26%), radial-gradient(circle at 12% 90%, rgba(62, 159, 224, 0.20), transparent 30%), linear-gradient(135deg, #102A68 0%, #173C86 42%, #F05A1A 100%);
        color: #ffffff;
        position: relative;
        overflow: hidden;
    }

        body.brand-english-rankers .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(16, 42, 104, 0.90), rgba(16, 42, 104, 0.60), rgba(240, 90, 26, 0.18));
            pointer-events: none;
        }

        body.brand-english-rankers .hero .container {
            position: relative;
            z-index: 1;
        }

        body.brand-english-rankers .hero h1 {
            color: #ffffff;
            text-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
        }

        body.brand-english-rankers .hero p {
            color: rgba(255, 255, 255, 0.88);
        }

        body.brand-english-rankers .hero .kicker,
        body.brand-english-rankers .kicker {
            color: #FFC42A;
            letter-spacing: 0.16em;
        }

    body.brand-english-rankers .hero-media,
    body.brand-english-rankers .featured-video-frame {
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    }

    /* Buttons */
    body.brand-english-rankers .btn-primary {
        background: linear-gradient(135deg, #F05A1A, #FF8A00);
        color: #ffffff;
        box-shadow: 0 14px 30px rgba(240, 90, 26, 0.30);
    }

    body.brand-english-rankers .btn-outline {
        border-color: rgba(255, 255, 255, 0.55);
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }

        body.brand-english-rankers .btn-outline:hover {
            background: rgba(255, 255, 255, 0.16);
        }

    body.brand-english-rankers .subscribe-btn {
        /*background: #0F2E73;*/
        background: #ff0000;
        color: #ffffff !important;
        box-shadow: 0 14px 32px rgba(15, 46, 115, 0.30);
    }

        body.brand-english-rankers .subscribe-btn:hover {
            box-shadow: 0 18px 40px rgba(15, 46, 115, 0.38);
        }

    /* Sections */
    body.brand-english-rankers .section-light {
        background: radial-gradient(circle at top left, rgba(255, 196, 42, 0.12), transparent 26%), linear-gradient(180deg, #FFF3E4 0%, #ffffff 70%);
    }

    body.brand-english-rankers .section-heading h2,
    body.brand-english-rankers .er-section-heading h2 {
        color: #102A68;
    }

    body.brand-english-rankers .section-heading p,
    body.brand-english-rankers .er-section-heading p {
        color: #475467;
    }

.er-kicker {
    color: #F05A1A;
}

/* Better channel cards */
.er-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.er-channel-card-new {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #FFF9F1 100%);
    border: 1px solid rgba(16, 42, 104, 0.12);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 22px 55px rgba(16, 24, 40, 0.12);
    display: flex;
    flex-direction: column;
    min-height: 395px;
}

    .er-channel-card-new::after {
        content: "";
        position: absolute;
        right: -70px;
        bottom: -70px;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(255, 90, 20, 0.08);
    }

.er-card-topline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #F05A1A, #FF8A00, #FFC42A, #3E9FE0, #102A68);
}

.er-channel-logo-box {
    width: 100%;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(255, 196, 42, 0.22), transparent 34%), linear-gradient(135deg, #FFF3E4, #ffffff);
    border: 1px solid rgba(240, 90, 26, 0.16);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    margin-bottom: 22px;
}

    .er-channel-logo-box img {
        max-width: 260px;
        max-height: 86px;
        object-fit: contain;
    }

.er-language-pill-new {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    background: #102A68;
    color: #ffffff;
    border: 0;
    padding: 7px 14px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
}

.er-channel-content-new h3 {
    margin: 16px 0 10px;
    color: #101828;
    font-size: 25px;
    line-height: 1.2;
}

.er-channel-content-new p {
    color: #475467;
    line-height: 1.65;
    margin-bottom: 22px;
}

.er-channel-actions-new {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

/* Video cards: add depth */
body.brand-english-rankers .video-card {
    background: #ffffff;
    border: 1px solid rgba(16, 42, 104, 0.10);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.10);
}

    body.brand-english-rankers .video-card h3 a {
        color: #101828;
    }

        body.brand-english-rankers .video-card h3 a:hover {
            color: #F05A1A;
        }

body.brand-english-rankers .tag {
    background: rgba(240, 90, 26, 0.10);
    color: #F05A1A;
}

/* Page hero should not be too white */
body.brand-english-rankers .page-hero {
    background: radial-gradient(circle at 90% 10%, rgba(255, 196, 42, 0.24), transparent 28%), linear-gradient(135deg, #102A68 0%, #173C86 60%, #F05A1A 100%);
    color: #ffffff;
}

    body.brand-english-rankers .page-hero h1 {
        color: #ffffff;
    }

    body.brand-english-rankers .page-hero p {
        color: rgba(255,255,255,0.86);
    }

@media (max-width: 900px) {
    .er-channel-grid {
        grid-template-columns: 1fr;
    }

    .er-channel-card-new {
        min-height: auto;
    }
}
body.brand-english-rankers .btn-secondary-er {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.50);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

    body.brand-english-rankers .btn-secondary-er:hover {
        background: rgba(255, 255, 255, 0.22);
    }
/* EnglishRankers homepage content sections */
body.brand-english-rankers .er-learning-section {
    background: radial-gradient(circle at top right, rgba(255, 196, 42, 0.12), transparent 28%), #ffffff;
}

body.brand-english-rankers .er-learning-section-alt {
    background: radial-gradient(circle at top left, rgba(62, 159, 224, 0.10), transparent 26%), linear-gradient(180deg, #FFF3E4 0%, #ffffff 80%);
}

body.brand-english-rankers .er-shorts-section {
    background: radial-gradient(circle at top right, rgba(240, 90, 26, 0.10), transparent 26%), #FFF8EF;
}

.section-more-link {
    margin-top: 28px;
    text-align: center;
}

body.brand-english-rankers .er-learning-section .video-grid,
body.brand-english-rankers .er-learning-section-alt .video-grid {
    margin-top: 24px;
}

body.brand-english-rankers .er-shorts-section .shorts-grid {
    margin-top: 24px;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-subscribe-btn {
    padding: 10px 18px;
    font-size: 14px;
    white-space: nowrap;
}

/* Rishte hero outline button visibility */
body.brand-rishte-aur-jazbaat .hero .btn-outline {
    color: #F9EDD5;
    border: 1px solid rgba(248, 222, 159, 0.55);
    background: rgba(255, 255, 255, 0.04);
}

    body.brand-rishte-aur-jazbaat .hero .btn-outline:hover {
        background: rgba(248, 222, 159, 0.12);
        color: #F8DE9F;
    }

/* EnglishRankers header subscribe button */
body.brand-english-rankers .header-subscribe-btn {
    background: #102A68;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(16, 42, 104, 0.24);
}

    body.brand-english-rankers .header-subscribe-btn:hover {
        box-shadow: 0 16px 34px rgba(16, 42, 104, 0.34);
    }

/* Mobile */
@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 14px;
    }

    .header-actions {
        margin-left: auto;
    }
}