/* ==========================================================
   GENELIS BLOG DESIGN SYSTEM
   Complete replacement file
========================================================== */

:root {
    --gdl-bg: #070b16;
    --gdl-panel: #0f172a;
    --gdl-panel-soft: #111827;
    --gdl-card: #ffffff;
    --gdl-text: #e5e7eb;
    --gdl-muted: #94a3b8;
    --gdl-dark: #071126;
    --gdl-body: #475569;
    --gdl-blue: #2563eb;
    --gdl-purple: #7c3aed;
    --gdl-border: #e5eaf3;
    --gdl-radius-sm: 16px;
    --gdl-radius-md: 24px;
    --gdl-radius-lg: 34px;
    --gdl-shadow-soft: 0 18px 55px rgba(15, 23, 42, 0.07);
    --gdl-shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.28);
}

/* ==========================================================
   READING PROGRESS
========================================================== */

.gdl-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9999;
    background: transparent;
}

.gdl-reading-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--gdl-blue), var(--gdl-purple));
    transition: width 0.08s linear;
}

/* ==========================================================
   ARTICLE PAGE
========================================================== */

.gdl-article-page {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 30%),
        linear-gradient(180deg, #070b16 0%, #0b1020 42%, #ffffff 42%, #ffffff 100%);
    color: var(--gdl-dark);
}

/* ==========================================================
   ARTICLE HERO
========================================================== */

.gdl-article-hero {
    padding: 74px 24px 56px;
    color: #ffffff;
}

.gdl-article-hero-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.gdl-article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.gdl-article-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.gdl-article-breadcrumb a:hover {
    color: #93c5fd;
}

.gdl-article-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(147, 197, 253, 0.22);
    color: #bfdbfe;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 22px;
}

.gdl-article-hero h1 {
    max-width: 1160px;
    font-size: clamp(3rem, 5.8vw, 5.2rem);
    line-height: 1.03;
    letter-spacing: -0.06em;
    color: #ffffff;
    margin: 0 0 26px;
}

.gdl-article-excerpt {
    max-width: 880px;
    font-size: clamp(1.08rem, 1.8vw, 1.32rem);
    line-height: 1.75;
    color: #dbeafe;
    margin-bottom: 22px;
}

.gdl-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 650;
}

.gdl-article-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 12px;
    color: #64748b;
}

/* ==========================================================
   FEATURED IMAGE
========================================================== */

.gdl-article-image-wrap {
    max-width: 1180px;
    margin: 0 auto 56px;
    padding: 0 24px;
}

.gdl-article-image-wrap img {
    width: 100%;
    border-radius: var(--gdl-radius-lg);
    box-shadow: var(--gdl-shadow-dark);
}

/* ==========================================================
   ARTICLE LAYOUT
========================================================== */

.gdl-article-layout {
    max-width: 1380px;
    margin: 0 auto;
    padding: 68px 30px 110px;
    display: grid;
    grid-template-columns: 250px minmax(0, 960px);
    gap: 58px;
    align-items: start;
}

.gdl-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
}

.gdl-article-body {
    width: 100%;
    min-width: 0;
}

/* ==========================================================
   TABLE OF CONTENTS
========================================================== */

.gdl-toc {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--gdl-border);
    box-shadow: var(--gdl-shadow-soft);
}

.gdl-toc-header span,
.gdl-toc > span {
    display: block;
    color: var(--gdl-blue);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.gdl-toc h3 {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
    color: var(--gdl-dark);
}

.gdl-toc nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding-right: 4px;
}

.gdl-toc a {
    display: block;
    padding: 8px 10px;
    border-radius: 12px;
    color: #475569;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.45;
    transition: 0.2s ease;
}

.gdl-toc a:hover,
.gdl-toc a.active {
    color: var(--gdl-blue);
    background: #eef4ff;
}

.gdl-toc a.toc-h3 {
    padding-left: 24px;
    color: #64748b;
    font-size: 0.82rem;
}

/* ==========================================================
   ARTICLE TYPOGRAPHY
========================================================== */

.gdl-article-content,
.gdl-content {
    width: 100%;
}

.gdl-content {
    color: #334155;
    font-size: 1.12rem;
    line-height: 1.9;
}

.gdl-content section {
    margin: 88px 0;
}

.gdl-content section:first-child {
    margin-top: 0;
}

.gdl-content h2 {
    max-width: 900px;
    font-size: clamp(2.05rem, 3.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
    color: var(--gdl-dark);
    margin: 0 0 24px;
}

.gdl-content h3 {
    max-width: 900px;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.25;
    color: #0f172a;
    margin: 44px 0 16px;
}

.gdl-content h4 {
    color: var(--gdl-dark);
    margin: 0 0 10px;
}

.gdl-content p {
    max-width: 880px;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.9;
    margin: 20px 0;
}

.gdl-content strong {
    color: var(--gdl-dark);
}

.gdl-content em {
    color: var(--gdl-blue);
    font-style: normal;
    font-weight: 800;
}

.gdl-content a {
    color: var(--gdl-blue);
    text-decoration: none;
    font-weight: 800;
}

.gdl-content a:hover {
    text-decoration: underline;
}

.gdl-content ul,
.gdl-content ol {
    max-width: 880px;
    padding-left: 26px;
    margin: 26px 0;
}

.gdl-content li {
    margin: 12px 0;
    color: #475569;
    line-height: 1.8;
}
/* ==========================================================
   PREMIUM CONTENT COMPONENTS
========================================================== */

/* ---------- Section Kicker ---------- */

.gdl-section-kicker{
    display:inline-flex;
    align-items:center;
    gap:12px;

    margin-bottom:18px;

    color:var(--gdl-blue);

    font-size:.78rem;

    font-weight:900;

    letter-spacing:.14em;

    text-transform:uppercase;
}

.gdl-section-kicker::before{

    content:"";

    width:42px;

    height:2px;

    border-radius:999px;

    background:linear-gradient(
        90deg,
        var(--gdl-blue),
        var(--gdl-purple)
    );

}

/* ---------- Key Insight ---------- */

.gdl-callout{

    display:flex;

    gap:24px;

    align-items:flex-start;

    margin:60px 0;

    padding:34px;

    border-radius:28px;

    background:linear-gradient(
        135deg,
        #f8fbff,
        #eef4ff
    );

    border:1px solid #dbeafe;

    box-shadow:var(--gdl-shadow-soft);

}

.gdl-callout-icon{

    font-size:2rem;

    flex-shrink:0;

}

.gdl-callout-content h4{

    margin:0 0 12px;

    color:var(--gdl-dark);

}

.gdl-callout-content p{

    margin:0;

}

/* ---------- Card Grid ---------- */

.gdl-content .gdl-card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:28px;
    margin:60px 0;
}

.gdl-content .gdl-card{
    padding:30px;
    border-radius:28px;
    background:white;
    border:1px solid var(--gdl-border);
    box-shadow:var(--gdl-shadow-soft);
    transition:.25s;
}

.gdl-content .gdl-card:hover{
    transform:translateY(-6px);
    box-shadow:0 30px 80px rgba(15,23,42,.08);
}

.gdl-content .gdl-card-icon{
    font-size:2rem;
    margin-bottom:16px;
}

.gdl-content .gdl-card h4{
    margin-bottom:10px;
}

.gdl-content .gdl-card p{
    margin:0;
}

/* ---------- Comparison ---------- */

.gdl-compare{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:28px;

    margin:60px 0;

}

.gdl-good,

.gdl-bad{

    padding:34px;

    border-radius:26px;

}

.gdl-good{

    background:#ecfdf5;

    border:1px solid #bbf7d0;

}

.gdl-bad{

    background:#fff7ed;

    border:1px solid #fed7aa;

}

/* ---------- Timeline ---------- */

.gdl-timeline{

    position:relative;

    margin:70px 0;

}

.gdl-timeline::before{

    content:"";

    position:absolute;

    left:20px;

    top:0;

    bottom:0;

    width:2px;

    background:#dbeafe;

}

.gdl-step{

    position:relative;

    margin-left:70px;

    margin-bottom:34px;

    padding:28px;

    border-radius:24px;

    background:white;

    border:1px solid var(--gdl-border);

    box-shadow:var(--gdl-shadow-soft);

}

.gdl-step::before{

    content:"";

    position:absolute;

    left:-58px;

    top:32px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:var(--gdl-blue);

}

/* ---------- Statistics ---------- */

.gdl-stat-box{

    margin:60px 0;

    padding:36px;

    border-radius:30px;

    background:#0f172a;

    color:white;

}

.gdl-stat-box h3{

    color:white;

    margin-bottom:28px;

}

.gdl-stat-row{

    display:grid;

    grid-template-columns:180px 1fr 70px;

    gap:16px;

    align-items:center;

    margin-bottom:18px;

}

.gdl-stat-label{

    color:#cbd5e1;

    font-weight:700;

}

.gdl-stat-track{

    height:16px;

    border-radius:999px;

    background:rgba(255,255,255,.12);

    overflow:hidden;

}

.gdl-stat-fill{

    height:100%;

    border-radius:999px;

    background:linear-gradient(
        90deg,
        var(--gdl-blue),
        var(--gdl-purple)
    );

}

.gdl-stat-value{

    font-weight:900;

    color:white;

}

/* ---------- Pull Quote ---------- */

.gdl-quote{

    margin:80px auto;

    padding:36px 42px;

    max-width:900px;

    border-left:5px solid var(--gdl-blue);

    background:#f8fbff;

    border-radius:0 22px 22px 0;

    font-size:1.55rem;

    font-weight:700;

    line-height:1.6;

    color:var(--gdl-dark);

}

/* ---------- Subject Cards ---------- */

.gdl-subject-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:24px;

    margin:60px 0;

}

.gdl-subject-card{

    padding:30px;

    border-radius:26px;

    background:white;

    border:1px solid var(--gdl-border);

    box-shadow:var(--gdl-shadow-soft);

}

.gdl-subject-card h4{

    margin-bottom:14px;

}

.gdl-subject-card ul{

    margin:0;

    padding-left:18px;

}

/* ---------- Infographic Container ---------- */

.gdl-infographic{

    margin:70px 0;

    padding:42px;

    border-radius:34px;

    background:linear-gradient(
        135deg,
        #071126,
        #1e293b
    );

    color:white;

}

.gdl-infographic h3{

    color:white;

}

.gdl-infographic p{

    color:#cbd5e1;

}

/* ---------- Formula Box ---------- */

.gdl-formula{

    margin:55px 0;

    padding:28px;

    border-radius:22px;

    background:#eef4ff;

    border:1px solid #bfdbfe;

    text-align:center;

    font-size:1.6rem;

    font-weight:800;

    color:#1d4ed8;

}

/* ---------- Exam Tip ---------- */

.gdl-exam-tip{

    margin:60px 0;

    padding:28px 32px;

    border-left:5px solid #22c55e;

    border-radius:0 22px 22px 0;

    background:#f0fdf4;

}

.gdl-exam-tip h4{

    margin-bottom:10px;

}

.gdl-exam-tip p{

    margin:0;

}
/* ==========================================================
   CTA
========================================================== */

.gdl-article-cta {
    margin: 100px 0 80px;
    padding: 46px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.30), transparent 36%),
        linear-gradient(135deg, #0f172a, #1e1b4b);
    color:#ffffff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.gdl-article-cta span {
    display: inline-block;
    color:#8fb7ff;
    letter-spacing:.12em;
    text-transform:uppercase;
    font-weight:700;
    font-size: 0.78rem;
    margin-bottom: 16px;
}

.gdl-article-cta h2 {
    max-width: 760px;
    color:#ffffff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.055em;
    margin-bottom: 18px;
}

.gdl-article-cta p {
    color:rgba(255,255,255,.82);
    max-width:720px;
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.gdl-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

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

.gdl-article-faq {
    margin-top: 90px;
}

.gdl-faq-list details,
.gdl-article-faq details {
    background: #ffffff;
    border: 1px solid var(--gdl-border);
    border-radius: 20px;
    padding: 22px 24px;
    margin-bottom: 14px;
    box-shadow: var(--gdl-shadow-soft);
}

.gdl-faq-list summary,
.gdl-article-faq summary {
    cursor: pointer;
    color: var(--gdl-dark);
    font-weight: 900;
    line-height: 1.5;
}

.gdl-faq-list p,
.gdl-article-faq p {
    color: #475569;
    line-height: 1.75;
    margin: 16px 0 0;
}

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

.gdl-related-posts {
    margin-top: 95px;
}

.gdl-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gdl-related-card {
    background: #ffffff;
    border: 1px solid var(--gdl-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--gdl-shadow-soft);
    transition: 0.25s ease;
}

.gdl-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.09);
}

.gdl-related-category {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.gdl-related-card h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.gdl-related-card h3 a {
    color: var(--gdl-dark);
    text-decoration: none;
}

.gdl-related-card h3 a:hover {
    color: var(--gdl-blue);
}

.gdl-related-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.gdl-read-more {
    color: var(--gdl-blue);
    text-decoration: none;
    font-weight: 900;
}

/* ==========================================================
   PREVIOUS / NEXT
========================================================== */

.gdl-prev-next {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 80px;
}

.gdl-prev-next a {
    display: block;
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--gdl-border);
    color: var(--gdl-dark);
    text-decoration: none;
    box-shadow: var(--gdl-shadow-soft);
    transition: 0.25s ease;
}

.gdl-prev-next a:hover {
    transform: translateY(-4px);
    color: var(--gdl-blue);
}

.gdl-prev-next span {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gdl-prev-next strong {
    display: block;
    line-height: 1.45;
}

/* ==========================================================
   LEGACY COMPONENT COMPATIBILITY
   Keeps your existing article content looking premium
========================================================== */

.vis-wrap,
.accuracy-demo,
.signal-box,
.week-grid,
.mistake-grid,
.loop-steps {
    margin: 52px 0;
}

.vis-wrap,
.accuracy-demo {
    padding: 32px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--gdl-border);
    box-shadow: var(--gdl-shadow-soft);
}

.vis-title,
.accuracy-demo h4 {
    color: var(--gdl-blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 26px;
}

.bar-row,
.acc-row {
    display: grid;
    grid-template-columns: 180px 1fr 70px;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.bar-label,
.acc-subject {
    color: #334155;
    font-weight: 800;
    font-size: 0.92rem;
    line-height: 1.35;
}

.bar-track,
.acc-bar {
    height: 18px;
    border-radius: 999px;
    background: #edf2f7;
    overflow: hidden;
}

.bar-fill,
.acc-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gdl-blue), var(--gdl-purple)) !important;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    padding-left: 9px;
}

.bar-marks,
.acc-pct {
    color: #64748b;
    font-weight: 900;
    font-size: 0.86rem;
    text-align: right;
}

.mistake-grid,
.week-grid,
.signal-box {
    display: grid;
    gap: 22px;
}

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

.week-grid {
    grid-template-columns: repeat(2, 1fr);
}

.signal-box {
    grid-template-columns: repeat(2, 1fr);
}

.mistake-card,
.week-card,
.signal-card {
    padding: 26px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid var(--gdl-border);
    box-shadow: var(--gdl-shadow-soft);
}

.mistake-card .icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.mistake-card .prob,
.mistake-card .sol,
.week-card .wk,
.signal-card .label {
    display: inline-block;
    color: var(--gdl-blue);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mistake-card p,
.week-card p,
.signal-card p {
    margin: 0 0 14px;
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.7;
}

.week-card .wk-title {
    color: var(--gdl-dark);
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.week-card.peak {
    border-color: #fecaca;
}

.week-card.close {
    border-color: #bbf7d0;
}

.signal-card.noise {
    background: #fff7ed;
    border-color: #fed7aa;
}

.signal-card.signal {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.signal-card .val {
    color: var(--gdl-dark);
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.loop-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.loop-step {
    width: 140px;
    min-height: 90px;
    padding: 16px 12px;
    border-radius: 18px;
    background: #ffffff;
    border: 2px solid var(--gdl-blue);
    color: var(--gdl-dark);
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.loop-step .step-num {
    display: block;
    color: var(--gdl-blue);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.loop-arrow {
    color: #94a3b8;
    font-size: 1.4rem;
    font-weight: 900;
    align-self: center;
}

/* ==========================================================
   BLOG HOME COMPATIBILITY
========================================================== */

.blog-home-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 24px;
}

.featured-blog-card {
    margin-bottom: 90px;
    padding: 52px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 35%),
        linear-gradient(135deg, rgba(18, 25, 40, 0.98), rgba(12, 18, 32, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.featured-blog-card span {
    display: inline-block;
    color: #60a5fa;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.featured-blog-card h2 {
    max-width: 880px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.055em;
    margin-bottom: 20px;
}

.featured-blog-card h2 a {
    color: #f8fafc;
    text-decoration: none;
}

.featured-blog-card p {
    max-width: 760px;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 22px;
}

.featured-blog-meta,
.blog-card-meta {
    color: #94a3b8;
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.blog-search-section {
    margin: 50px 0 70px;
}

#blogSearch {
    width: 100%;
    padding: 20px 26px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #0f172a;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: 0.25s;
}

#blogSearch::placeholder {
    color: #94a3b8;
}

#blogSearch:focus {
    border-color: var(--gdl-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.blog-card h3 a {
    color: #ffffff;
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: #60a5fa;
}

.blog-card p {
    color: #cbd5e1;
}

.blog-read-more {
    display: inline-block;
    margin-top: 12px;
    color: #60a5fa;
    font-weight: 900;
    text-decoration: none;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1150px) {
    .gdl-article-page {
        background: #ffffff;
    }

    .gdl-article-layout {
        display: block;
        max-width: 960px;
        width: 100%;
        padding: 50px 24px 90px;
    }

    .gdl-sidebar {
        display: none;
    }

    .gdl-article-body,
    .gdl-article-content,
    .gdl-content {
        width: 100%;
        max-width: 100%;
    }

    .gdl-related-grid,
    .gdl-prev-next,
    .mistake-grid,
    .week-grid,
    .signal-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gdl-article-page {
        background: #ffffff;
    }

    .gdl-article-hero {
        padding: 44px 18px 36px;
        overflow: hidden;
    }

    .gdl-article-hero h1 {
        font-size: 2.25rem;
        line-height: 1.1;
        letter-spacing: -0.04em;
        max-width: 100%;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .gdl-article-excerpt {
        font-size: 1rem;
        line-height: 1.65;
        max-width: 100%;
    }

    .gdl-article-meta {
        font-size: 0.82rem;
    }

    .gdl-article-layout {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 32px 18px 72px;
    }

    .gdl-article-body,
    .gdl-article-content,
    .gdl-content {
        width: 100%;
        max-width: 100%;
    }

    .gdl-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .gdl-content section {
        margin: 64px 0;
    }

    .gdl-content h2 {
        font-size: 1.85rem;
        line-height: 1.18;
        max-width: 100%;
    }

    .gdl-content h3 {
        font-size: 1.28rem;
        max-width: 100%;
    }

    .gdl-content p,
    .gdl-content ul,
    .gdl-content ol,
    .gdl-content li,
    .gdl-content table {
        max-width: 100%;
        width: 100%;
    }

    .gdl-content p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .gdl-callout,
    .gdl-article-cta,
    .gdl-infographic,
    .gdl-stat-box,
    .vis-wrap,
    .accuracy-demo,
    .featured-blog-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .gdl-callout {
        flex-direction: column;
        gap: 12px;
    }

    .bar-row,
    .acc-row,
    .gdl-stat-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bar-label,
    .acc-subject,
    .bar-marks,
    .acc-pct {
        width: 100%;
        text-align: left;
    }

    .gdl-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .loop-arrow {
        display: none;
    }

    .loop-step {
        width: 100%;
    }
}
/* ==========================================================
   FINAL ARTICLE READABILITY OVERRIDES
========================================================== */

.gdl-article-page {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 28%),
        linear-gradient(180deg, #070b16 0%, #0b1020 30%, #ffffff 30%, #ffffff 100%);
}

.gdl-article-hero {
    padding: 64px 24px 44px;
}

.gdl-article-hero h1 {
    max-width: 1080px;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.05;
}

.gdl-article-layout {
    max-width: 1320px;
    grid-template-columns: 230px minmax(0, 980px);
    gap: 44px;
    padding-top: 52px;
}

.gdl-content p,
.gdl-content li {
    color: #334155;
}

.gdl-content section:first-child p {
    color: #334155;
}

.gdl-toc {
    padding: 20px;
}

.gdl-toc a {
    font-size: 0.82rem;
    line-height: 1.35;
}

.gdl-toc a.toc-h3 {
    padding-left: 18px;
}
/* ==========================================================
   FINAL BACKGROUND + READABILITY FIX
========================================================== */

.gdl-article-page {
    background: #ffffff;
}

.gdl-article-hero {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 32%),
        linear-gradient(180deg, #070b16 0%, #0b1020 100%);
    padding: 64px 24px 56px;
}

.gdl-article-layout {
    background: #ffffff;
    max-width: 1340px;
    grid-template-columns: 230px minmax(0, 980px);
    gap: 48px;
    padding-top: 64px;
}

.gdl-content p,
.gdl-content li,
.gdl-content td {
    color: #334155;
}

.gdl-content h2,
.gdl-content h3,
.gdl-content h4 {
    color: #071126;
}

.gdl-content section {
    margin: 86px 0;
}

.gdl-callout {
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
}
/* ==========================================================
   BLOG CARD TEXT FIX
========================================================== */

.blog-card{
    background:#ffffff;
}

.blog-card h2,
.blog-card h3{
    color:#071126 !important;
}

.blog-card h2 a,
.blog-card h3 a{
    color:#071126 !important;
    text-decoration:none;
}

.blog-card h2 a:hover,
.blog-card h3 a:hover{
    color:#2563eb !important;
}

.blog-card p{
    color:#475569 !important;
}

.blog-card-meta{
    color:#64748b !important;
}

.blog-card span{
    color:#06b6d4 !important;
}

.blog-read-more{
    color:#2563eb !important;
}
/* ==========================================================
   GENELIS STAT STRIP
========================================================== */

.gdl-stat-strip{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:22px;

    margin:42px 0 48px;

}

.gdl-stat-card{

    background:#ffffff;

    border:1px solid #e8eef8;

    border-radius:22px;

    padding:30px 26px;

    text-align:center;

    transition:.25s;

    box-shadow:0 10px 30px rgba(15,23,42,.06);

}

.gdl-stat-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 45px rgba(37,99,235,.12);

}

.gdl-stat-card.highlight{

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

}

.gdl-stat-number{

    display:block;

    font-size:2.6rem;

    font-weight:800;

    line-height:1;

    color:#0f172a;

    margin-bottom:14px;

}

.gdl-stat-card.highlight .gdl-stat-number{

    color:#ffffff;

}

.gdl-stat-label{

    display:block;

    font-size:.96rem;

    line-height:1.55;

    color:#64748b;

}

.gdl-stat-card.highlight .gdl-stat-label{

    color:rgba(255,255,255,.88);

}
.gdl-stat-card:nth-child(2) .gdl-stat-number,
.gdl-stat-card:nth-child(3) .gdl-stat-number{
    font-size:2.35rem;
}
.gdl-content .formula-hub {
    margin: 48px 0 72px;
}

.gdl-content .formula-hub-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.gdl-content .formula-hub-card {
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.07);
}

.gdl-content .formula-hub-card h3 {
    margin: 0 0 18px;
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gdl-content .formula-row {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid #eef2f7;
}

.gdl-content .formula-row:first-of-type {
    border-top: none;
}

.gdl-content .formula {
    color: #071126;
    font-weight: 900;
    font-size: 1rem;
}

.gdl-content .formula-use {
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.55;
}

.gdl-content .formula-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .gdl-content .formula-hub-grid {
        grid-template-columns: 1fr;
    }

    .gdl-content .formula-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
.days-visual {
    display: flex;
    margin: 34px 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5eaf3;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.07);
}

.days-block {
    text-align: center;
    padding: 30px 22px;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 700;
}

.days-block .num {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.d-cover {
    flex: 3;
    background: #e3f2fd;
    color: #1565c0;
}

.d-prep {
    flex: 2;
    background: #fff3e0;
    color: #e65100;
}

@media (max-width: 768px) {
    .days-visual {
        flex-direction: column;
    }
}
/* ==========================================================
   GENELIS LEARNING SYSTEM
========================================================== */

.learning-system {
    margin: 56px 0 70px;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:24px;
}

.learning-card{
    background:#fff;
    border:1px solid #dbe5f2;
    border-radius:18px;
    padding:28px;
    box-shadow:0 18px 45px rgba(15,23,42,.06);
}

.learning-card h3{
    margin:0 0 14px;
    font-size:1.08rem;
    color:#071126;
}

.learning-card p{
    margin:0;
    color:#475569;
    line-height:1.75;
}

.learning-highlight{
    display:inline-block;
    margin-bottom:16px;
    padding:7px 14px;
    border-radius:999px;
    background:#eef4ff;
    color:#2563eb;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.05em;
    text-transform:uppercase;
}

@media(max-width:900px){

.learning-grid{

grid-template-columns:1fr;

}

}
/* ==========================================================
   80 vs 90+ STUDY COMPARISON
========================================================== */

.study-comparison {
    margin: 56px 0 72px;
}

.study-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 28px;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

.study-table thead {
    background: #0f172a;
    color: #fff;
}

.study-table th,
.study-table td {
    padding: 18px 22px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: top;
}

.study-table th {
    font-size: .95rem;
    font-weight: 800;
}

.study-table td:first-child{
    width:30%;
    font-weight:700;
    color:#0f172a;
    background:#fafcff;
}

.study-table tr:last-child td{
    border-bottom:none;
}

@media(max-width:768px){

.study-table{
display:block;
overflow-x:auto;
}

}
/* ==========================================================
   SUBJECT STRATEGY TABLE
========================================================== */

.subject-strategy-wrap {
    margin: 52px 0 72px;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

.subject-strategy-table {
    width: 100%;
    border-collapse: collapse;
}

.subject-strategy-table thead {
    background: #0f172a;
    color: #ffffff;
}

.subject-strategy-table th,
.subject-strategy-table td {
    padding: 18px 22px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: top;
}

.subject-strategy-table th {
    font-size: .95rem;
    font-weight: 800;
}

.subject-strategy-table td:first-child {
    width: 24%;
    font-weight: 800;
    color: #0f172a;
    background: #fafcff;
}

.subject-strategy-table tr:last-child td {
    border-bottom: none;
}

@media(max-width:768px) {
    .subject-strategy-wrap {
        overflow-x: auto;
    }

    .subject-strategy-table {
        min-width: 760px;
    }
}
/* ==========================================================
   30 DAY PLAN
========================================================== */

.plan-wrap{
    margin:56px 0 72px;
}

.plan-table{
    width:100%;
    border-collapse:collapse;
    border:1px solid #dbe5f2;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(15,23,42,.06);
}

.plan-table thead{
    background:#0f172a;
    color:#fff;
}

.plan-table th,
.plan-table td{
    padding:18px 22px;
    text-align:left;
    vertical-align:top;
    border-bottom:1px solid #edf2f7;
}

.plan-table th{
    font-weight:800;
}

.plan-table td:first-child{
    width:18%;
    font-weight:800;
    color:#2563eb;
    background:#fafcff;
}

.plan-table tr:last-child td{
    border-bottom:none;
}

@media(max-width:768px){

.plan-wrap{
overflow-x:auto;
}

.plan-table{
min-width:760px;
}

}
/* ==========================================================
   COMMON MISTAKES
========================================================== */

.mistakes-wrap{
    margin:56px 0 72px;
}

.mistakes-table{
    width:100%;
    border-collapse:collapse;
    border:1px solid #dbe5f2;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(15,23,42,.06);
}

.mistakes-table thead{
    background:#0f172a;
    color:#fff;
}

.mistakes-table th,
.mistakes-table td{
    padding:18px 22px;
    border-bottom:1px solid #edf2f7;
    text-align:left;
    vertical-align:top;
}

.mistakes-table th{
    font-weight:800;
}

.mistakes-table td:first-child{
    width:10%;
    text-align:center;
    font-weight:900;
    color:#2563eb;
    background:#fafcff;
}

.mistakes-table tr:last-child td{
    border-bottom:none;
}

@media(max-width:768px){

.mistakes-wrap{
overflow-x:auto;
}

.mistakes-table{
min-width:850px;
}

}
/* ==========================================================
   EDITORIAL INSIGHT
========================================================== */

.editorial-insight{
    margin:34px 0;
    padding:24px 28px;
    border-left:5px solid #2563eb;
    background:#f8fbff;
    border-radius:12px;
}

.editorial-insight h3{
    margin:0 0 10px;
    font-size:1.2rem;
    color:#0f172a;
}

.editorial-insight p{
    margin:0;
    font-size:1.05rem;
    line-height:1.8;
    color:#334155;
}
/* ==========================================================
   JEE VS NEET COMPARISON
========================================================== */

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 30px 0 36px;
}

.compare-card {
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

.exam-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.jee-badge {
    background: #e3f2fd;
    color: #1565c0;
}

.neet-badge {
    background: #e8f5e9;
    color: #1b5e20;
}

.compare-card table {
    width: 100%;
    border-collapse: collapse;
}

.compare-card td {
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
    color: #475569;
    line-height: 1.55;
    vertical-align: top;
}

.compare-card tr:last-child td {
    border-bottom: none;
}

.compare-card td:first-child {
    width: 34%;
    color: #64748b;
    font-weight: 800;
}

.highlight-box {
    background: #f0faf5;
    border: 1px solid #b2dfdb;
    border-radius: 16px;
    padding: 18px 20px;
    margin: 24px 0;
    color: #1b5e20;
    line-height: 1.7;
}

@media(max-width:768px) {
    .compare-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================
   CLASS 11 FAILURE MODES
========================================================== */

.fail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 30px 0 42px;
}

.fail-card {
    background: #ffffff;
    border: 1px solid #fecaca;
    border-top: 4px solid #e04848;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

.fail-card .f-num {
    font-size: 2rem;
    font-weight: 900;
    color: #e04848;
    margin-bottom: 10px;
}

.fail-card h4 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #0f172a;
}

.fail-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    font-size: .95rem;
}

@media(max-width:900px) {
    .fail-grid {
        grid-template-columns: 1fr;
    }
}
.overlap-wrap {
    margin: 32px 0 46px;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    overflow-x: auto;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

.overlap-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    background: #ffffff;
}

.overlap-table th {
    background: #0f172a;
    color: #ffffff;
    padding: 16px 18px;
    text-align: left;
    font-weight: 800;
}

.overlap-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #edf2f7;
    color: #475569;
    vertical-align: top;
    line-height: 1.55;
}

.overlap-table tr:last-child td {
    border-bottom: none;
}

.overlap-table td:first-child {
    font-weight: 800;
    color: #0f172a;
}

.tag {
    display: inline-block;
    margin: 2px 4px 2px 0;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.tag-all { background: #e8f5e9; color: #1b5e20; }
.tag-jee { background: #e3f2fd; color: #1565c0; }
.tag-neet { background: #f3e5f5; color: #6a1b9a; }

/* ==========================================================
   LEARNING SEQUENCE
========================================================== */

.sequence-flow{
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    gap:18px;
    margin:34px 0;
}

.sequence-card{
    flex:1;
    background:#ffffff;
    border:1px solid #dbe5f2;
    border-radius:18px;
    padding:24px;
    box-shadow:0 18px 45px rgba(15,23,42,.06);
    position:relative;
}

.sequence-step{
    display:inline-block;
    background:#2563eb;
    color:#fff;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.08em;
    padding:6px 12px;
    border-radius:999px;
    margin-bottom:14px;
}

.sequence-card h3{
    margin:0 0 12px;
    color:#0f172a;
}

.sequence-card p{
    margin:0;
    color:#475569;
    line-height:1.7;
}

.sequence-arrow{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
    color:#94a3b8;
    font-weight:700;
}

@media(max-width:900px){

.sequence-flow{
flex-direction:column;
}

.sequence-arrow{
transform:rotate(90deg);
}

}
/* ==========================================================
   WEEKLY STUDY PLANNER
========================================================== */

.weekly-plan-wrap {
    margin: 34px 0 46px;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    overflow-x: auto;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

.weekly-plan-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    background: #ffffff;
}

.weekly-plan-table th {
    background: #0f172a;
    color: #ffffff;
    padding: 16px 18px;
    text-align: left;
    font-weight: 800;
}

.weekly-plan-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #edf2f7;
    color: #475569;
    vertical-align: top;
    line-height: 1.55;
}

.weekly-plan-table tr:last-child td {
    border-bottom: none;
}

.weekly-plan-table td:first-child {
    font-weight: 800;
    color: #0f172a;
    background: #fafcff;
}

.study-block {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.school-block {
    background: #e3f2fd;
    color: #1565c0;
}

.coaching-block {
    background: #fce4ec;
    color: #c62828;
}

.self-block {
    background: #e8f5e9;
    color: #1b5e20;
}
/* ==========================================================
   PRIORITY LISTS
========================================================== */

.priority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 34px 0 46px;
}

.priority-card {
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

.priority-card p {
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 14px;
}

.priority-card ol {
    margin: 0;
    padding-left: 20px;
    color: #475569;
    line-height: 1.85;
}

.priority-card li {
    margin-bottom: 4px;
}

.priority-card strong {
    color: #0f172a;
}

@media(max-width:768px) {
    .priority-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================
   CLASS 11 RED LINES
========================================================== */

.red-lines-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 34px 0 46px;
}

.red-line-card {
    background: #fff7f7;
    border: 1px solid #fecaca;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.05);
}

.red-line-symbol {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 14px;
}

.red-line-card h3 {
    margin: 0 0 10px;
    color: #b91c1c;
    font-size: 1.02rem;
}

.red-line-card p {
    margin: 0;
    color: #334155;
    line-height: 1.7;
}

@media(max-width:768px) {
    .red-lines-grid {
        grid-template-columns: 1fr;
    }
}
.genelis-split{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
    margin:34px 0;
}

.genelis-card{
    background:#ffffff;
    border:1px solid #dbe5f2;
    border-radius:18px;
    padding:26px;
    box-shadow:0 18px 45px rgba(15,23,42,.06);
}

.genelis-card.coaching-side{border-top:4px solid #f59e0b;}
.genelis-card.board-side{border-top:4px solid #22c55e;}

.g-label{
    font-size:.78rem;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:12px;
}

.coaching-side .g-label{color:#d97706;}
.board-side .g-label{color:#15803d;}

.loop-steps{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    justify-content:center;
    margin:30px 0;
}

.loop-step{
    background:#fff;
    border:1.5px solid #2563eb;
    border-radius:14px;
    padding:12px 16px;
    min-width:150px;
    text-align:center;
    font-size:.86rem;
    color:#0f172a;
}

.loop-step .sn{
    display:block;
    font-size:.68rem;
    font-weight:900;
    color:#2563eb;
    text-transform:uppercase;
    margin-bottom:4px;
}

.loop-arrow{
    color:#94a3b8;
    font-weight:900;
}

@media(max-width:768px){
    .genelis-split{grid-template-columns:1fr;}
}
/* Mobile fix for JEE vs NEET comparison */
@media (max-width: 768px) {
    .compare-grid {
        grid-template-columns: 1fr !important;
    }

    .compare-card {
        overflow-x: auto;
        padding: 18px;
    }

    .compare-card table {
        min-width: 560px;
    }

    .compare-card td {
        font-size: 0.88rem;
        line-height: 1.5;
        white-space: normal;
    }

    .compare-card td:first-child {
        min-width: 120px;
    }
}
/* =====================================================
   PREPARATION FRAMEWORK
===================================================== */

.gdl-prep-section{
    margin:80px 0;
}

.gdl-section-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 18px;
    margin-bottom:18px;

    font-size:.82rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;

    color:#2563eb;
    background:#eef5ff;
    border:1px solid #dbeafe;
    border-radius:999px;
}

.gdl-section-intro{
    max-width:900px;
    margin:20px 0 50px;
    font-size:1.08rem;
    line-height:1.9;
    color:#475569;
}

.gdl-prep-flow{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:34px;
    margin-top:10px;
}

.gdl-prep-flow::before{
    content:"";
    position:absolute;

    left:29px;
    top:8px;
    bottom:8px;

    width:2px;

    background:linear-gradient(
        to bottom,
        #2563eb,
        #8b5cf6
    );

    opacity:.18;
}

.gdl-prep-item{
    position:relative;
    display:flex;
    gap:26px;
    align-items:flex-start;
}

.gdl-prep-index{

    flex:0 0 60px;
    width:60px;
    height:60px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;

    font-size:1.05rem;
    font-weight:700;

    box-shadow:
        0 12px 30px rgba(37,99,235,.20);

    position:relative;
    z-index:2;
}

.gdl-prep-content{

    flex:1;

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:20px;

    padding:28px 34px;

    transition:.25s ease;

    box-shadow:
        0 10px 35px rgba(15,23,42,.05);
}

.gdl-prep-content:hover{

    transform:translateY(-3px);

    box-shadow:
        0 18px 45px rgba(37,99,235,.10);
}

.gdl-prep-content h3{

    margin:0 0 14px;

    font-size:1.35rem;
    font-weight:700;
    line-height:1.35;

    color:#0f172a;
}

.gdl-prep-content p{

    margin:0;

    color:#475569;

    font-size:1rem;
    line-height:1.95;
}

.gdl-prep-content cite{

    font-style:normal;
    font-weight:600;
    color:#2563eb;
}

@media(max-width:768px){

    .gdl-prep-flow::before{
        left:24px;
    }

    .gdl-prep-item{
        gap:18px;
    }

    .gdl-prep-index{

        width:48px;
        height:48px;
        flex:0 0 48px;

        font-size:.9rem;
    }

    .gdl-prep-content{

        padding:22px;
    }

    .gdl-prep-content h3{

        font-size:1.15rem;
    }

}
/* =====================================================
   COMMON MISTAKES
===================================================== */

.gdl-section-kicker--danger{
    color:#dc2626;
    background:#fef2f2;
    border-color:#fecaca;
}

.gdl-mistakes-section{
    margin:90px 0;
}

.gdl-mistake-layout{
    display:flex;
    flex-direction:column;
    gap:28px;
    margin-top:45px;
}

.gdl-mistake-item{

    display:grid;
    grid-template-columns:140px 1fr;

    background:#fff;

    border:1px solid #e5e7eb;
    border-radius:24px;

    overflow:hidden;

    transition:.25s ease;

    box-shadow:
        0 12px 34px rgba(15,23,42,.05);
}

.gdl-mistake-item:hover{

    transform:translateY(-4px);

    box-shadow:
        0 24px 50px rgba(15,23,42,.10);
}

.gdl-mistake-meta{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    background:linear-gradient(
        180deg,
        #f8fafc,
        #eef4ff
    );

    border-right:1px solid #e5e7eb;

    padding:30px 16px;
}

.gdl-mistake-number{

    font-size:2rem;
    font-weight:800;

    color:#2563eb;
}

.gdl-mistake-label{

    margin-top:8px;

    font-size:.82rem;
    font-weight:700;

    letter-spacing:.08em;
    text-transform:uppercase;

    color:#64748b;
}

.gdl-mistake-body{

    padding:34px 40px;
}

.gdl-mistake-body h3{

    margin:0 0 18px;

    font-size:1.42rem;
    line-height:1.35;

    color:#0f172a;
}

.gdl-mistake-body p{

    margin:0;

    font-size:1rem;
    line-height:1.95;

    color:#475569;
}

.gdl-mistake-fix{

    margin-top:26px;

    padding:20px 24px;

    border-left:5px solid #22c55e;

    background:#f0fdf4;

    border-radius:14px;
}

.gdl-mistake-fix-label{

    display:inline-block;

    margin-bottom:8px;

    font-size:.82rem;
    font-weight:700;

    text-transform:uppercase;
    letter-spacing:.08em;

    color:#15803d;
}

.gdl-mistake-fix p{
    margin:0;
}

@media(max-width:768px){

    .gdl-mistake-item{

        grid-template-columns:1fr;
    }

    .gdl-mistake-meta{

        border-right:none;
        border-bottom:1px solid #e5e7eb;

        padding:18px;

        flex-direction:row;
        justify-content:flex-start;
        gap:16px;
    }

    .gdl-mistake-number{

        font-size:1.4rem;
    }

    .gdl-mistake-body{

        padding:24px;
    }

    .gdl-mistake-body h3{

        font-size:1.2rem;
    }

}
/* =====================================================
   MOCK TEST ANALYSIS
===================================================== */

.gdl-analysis-section {
    margin: 90px 0;
}

.gdl-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 34px 0 30px;
}

.gdl-signal-card {
    padding: 28px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.gdl-signal-card--noise {
    background: linear-gradient(135deg, #fff7f7, #ffffff);
    border-color: #fecaca;
}

.gdl-signal-card--signal {
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
    border-color: #bbf7d0;
}

.gdl-signal-label {
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.gdl-signal-card--noise .gdl-signal-label {
    color: #dc2626;
}

.gdl-signal-card--signal .gdl-signal-label {
    color: #15803d;
}

.gdl-signal-value {
    margin-bottom: 12px;
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.gdl-signal-card--noise .gdl-signal-value {
    color: #b91c1c;
}

.gdl-signal-card--signal .gdl-signal-value {
    color: #166534;
}

.gdl-signal-card p {
    margin: 0;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.75;
}

.gdl-accuracy-panel {
    margin: 34px 0;
    padding: 30px;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(239, 246, 255, 0.75), rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 44px rgba(37, 99, 235, 0.08);
}

.gdl-accuracy-header {
    margin-bottom: 24px;
}

.gdl-accuracy-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gdl-accuracy-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.35rem;
    line-height: 1.35;
}

.gdl-accuracy-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gdl-accuracy-row {
    display: grid;
    grid-template-columns: minmax(210px, 1.2fr) minmax(180px, 2fr) 52px;
    gap: 16px;
    align-items: center;
}

.gdl-accuracy-label {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.4;
}

.gdl-accuracy-track {
    height: 16px;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 999px;
}

.gdl-accuracy-fill {
    height: 100%;
    border-radius: inherit;
}

.gdl-accuracy-fill--strong {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.gdl-accuracy-fill--good {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.gdl-accuracy-fill--average {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.gdl-accuracy-fill--weak {
    background: linear-gradient(90deg, #dc2626, #f87171);
}

.gdl-accuracy-value {
    text-align: right;
    font-size: 0.92rem;
    font-weight: 800;
}

.gdl-accuracy-value--strong {
    color: #15803d;
}

.gdl-accuracy-value--good {
    color: #1d4ed8;
}

.gdl-accuracy-value--average {
    color: #b45309;
}

.gdl-accuracy-value--weak {
    color: #b91c1c;
}

.gdl-accuracy-note {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid #dbeafe;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
}

.gdl-analysis-section > p:not(.gdl-section-intro) {
    margin: 28px 0;
    color: #334155;
    font-size: 1rem;
    line-height: 1.9;
}

.gdl-learning-loop {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    margin: 32px 0;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #f8fafc;
}

.gdl-loop-step {
    flex: 1 1 130px;
    min-width: 130px;
    padding: 16px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.gdl-loop-number {
    display: block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.gdl-loop-step strong {
    color: #0f172a;
    font-size: 0.9rem;
    line-height: 1.4;
}

.gdl-loop-step--result {
    border-color: #86efac;
    background: #f0fdf4;
}

.gdl-loop-step--result .gdl-loop-number {
    color: #15803d;
}

.gdl-loop-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.25rem;
}

.gdl-inline-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gdl-inline-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
}

@media (max-width: 820px) {
    .gdl-signal-grid {
        grid-template-columns: 1fr;
    }

    .gdl-accuracy-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gdl-accuracy-value {
        text-align: left;
    }

    .gdl-learning-loop {
        flex-direction: column;
    }

    .gdl-loop-arrow {
        transform: rotate(90deg);
        min-height: 22px;
    }
}
/* =====================================================
   FORMULA SHEET FRAMEWORK
===================================================== */

.gdl-formula-section {
    margin: 96px 0;
}

.gdl-section-kicker--formula {
    color: #6d28d9;
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.gdl-formula-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 34px 0 30px;
}

.gdl-formula-nav a {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 72px;
    padding: 14px 16px;

    border: 1px solid #e2e8f0;
    border-radius: 16px;

    background: linear-gradient(135deg, #ffffff, #f8fafc);
    color: #0f172a !important;

    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none !important;

    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.gdl-formula-nav a:hover {
    transform: translateY(-2px);
    border-color: #c4b5fd;
    box-shadow: 0 16px 36px rgba(109, 40, 217, 0.10);
}

.gdl-formula-nav-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;
    width: 34px;
    height: 34px;

    border-radius: 10px;

    background: #ede9fe;
    color: #6d28d9;

    font-size: 0.78rem;
    font-weight: 850;
}

.gdl-formula-guide {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;

    margin: 28px 0 10px;
    padding: 22px;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.98));

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.gdl-formula-guide-item {
    padding: 16px 18px;
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
}

.gdl-formula-guide-label {
    display: inline-block;
    margin-bottom: 8px;

    color: #6d28d9;

    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gdl-formula-guide-item p {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

.gdl-formula-guide-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #94a3b8;
    font-size: 1.35rem;
}

/* =====================================================
   FORMULA UNIT SHELL
   Used by all seven formula units
===================================================== */

.gdl-formula-unit {
    scroll-margin-top: 110px;
    margin: 34px 0;
    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 24px;

    background: #ffffff;

    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.gdl-formula-unit-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;

    padding: 22px 26px;

    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc, #f5f3ff);
}

.gdl-formula-unit-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 13px;

    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;

    font-size: 0.92rem;
    font-weight: 850;

    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.20);
}

.gdl-formula-unit-title h3 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.35;
}

.gdl-formula-unit-title p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
}

.gdl-formula-unit-marks {
    padding: 7px 12px;

    border: 1px solid #ddd6fe;
    border-radius: 999px;

    background: #f5f3ff;
    color: #6d28d9;

    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.gdl-formula-unit-body {
    padding: 26px;
}

.gdl-formula-subsection + .gdl-formula-subsection {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #eef2f7;
}

.gdl-formula-subtitle {
    margin: 0 0 14px;

    color: #475569;

    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gdl-formula-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gdl-formula-row {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(0, 2fr);
    gap: 18px;
    align-items: start;

    padding: 16px 18px;

    border: 1px solid #edf1f5;
    border-radius: 15px;

    background: #fbfcfe;
}

.gdl-formula-name {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.45;
}

.gdl-formula-expression {
    color: #111827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.gdl-formula-note {
    display: block;
    margin-top: 4px;

    color: #94a3b8;

    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.55;
}

.gdl-formula-callout {
    margin-top: 18px;
    padding: 16px 18px;

    border-left: 4px solid #6d28d9;
    border-radius: 12px;

    background: #faf5ff;
    color: #4c1d95;

    font-size: 0.9rem;
    line-height: 1.7;
}

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

@media (max-width: 980px) {
    .gdl-formula-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gdl-formula-guide {
        grid-template-columns: 1fr;
    }

    .gdl-formula-guide-arrow {
        min-height: 18px;
        transform: rotate(90deg);
    }

    .gdl-formula-unit-header {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .gdl-formula-unit-marks {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {
    .gdl-formula-section {
        margin: 72px 0;
    }

    .gdl-formula-nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gdl-formula-nav a {
        min-height: 62px;
    }

    .gdl-formula-unit {
        border-radius: 18px;
    }

    .gdl-formula-unit-header {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 18px;
    }

    .gdl-formula-unit-body {
        padding: 18px;
    }

    .gdl-formula-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px;
    }

    .gdl-formula-expression {
        font-size: 0.96rem;
    }
}
/* =====================================================
   TRIGONOMETRY — STANDARD ANGLE TABLE
===================================================== */

.gdl-angle-table-wrapper {
    width: 100%;
    margin-top: 16px;
    overflow-x: auto;

    border: 1px solid #dbeafe;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.05);
}

.gdl-angle-table {
    width: 100%;
    min-width: 620px;

    border-collapse: collapse;
    border-spacing: 0;

    font-size: 0.95rem;
}

.gdl-angle-table thead {
    background:
        linear-gradient(
            135deg,
            #ecfdf5,
            #f0fdf4
        );
}

.gdl-angle-table th {
    padding: 15px 16px;

    border-bottom: 1px solid #bbf7d0;

    color: #166534;

    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-align: center;
}

.gdl-angle-table th:first-child {
    text-align: left;
}

.gdl-angle-table td {
    padding: 15px 16px;

    border-bottom: 1px solid #eef2f7;

    color: #334155;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.gdl-angle-table td:first-child {
    color: #0f172a;
    font-family: inherit;
    font-weight: 800;
    text-align: left;
}

.gdl-angle-table tbody tr:last-child td {
    border-bottom: none;
}

.gdl-angle-table tbody tr:nth-child(even) {
    background: #fbfefc;
}

.gdl-angle-table tbody tr:hover {
    background: #f0fdf4;
}

/* Trigonometry formula section accents */

#formula-trigonometry .gdl-formula-unit-number {
    background:
        linear-gradient(
            135deg,
            #059669,
            #10b981
        );

    box-shadow:
        0 10px 24px rgba(5, 150, 105, 0.20);
}

#formula-trigonometry .gdl-formula-unit-marks {
    border-color: #bbf7d0;

    background: #f0fdf4;
    color: #166534;
}

#formula-trigonometry .gdl-formula-unit-header {
    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #ecfdf5
        );
}

#formula-trigonometry .gdl-formula-callout {
    border-left-color: #10b981;

    background: #f0fdf4;
    color: #166534;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {

    .gdl-angle-table {
        min-width: 560px;
    }

    .gdl-angle-table th,
    .gdl-angle-table td {
        padding: 13px 12px;
        font-size: 0.9rem;
    }

}
/* =====================================================
   COORDINATE GEOMETRY
===================================================== */

#formula-coordinate-geometry .gdl-formula-unit-number{
    background:linear-gradient(135deg,#ef4444,#f97316);
    box-shadow:0 10px 24px rgba(239,68,68,.22);
}

#formula-coordinate-geometry .gdl-formula-unit-header{
    background:linear-gradient(135deg,#fff7f7,#fef2f2);
}

#formula-coordinate-geometry .gdl-formula-unit-marks{
    background:#fef2f2;
    color:#dc2626;
    border-color:#fecaca;
}

#formula-coordinate-geometry .gdl-formula-callout{
    background:#fff7ed;
    border-left-color:#f97316;
    color:#9a3412;
}



/* =====================================================
   MENSURATION
===================================================== */

#formula-mensuration .gdl-formula-unit-number{
    background:linear-gradient(135deg,#7c3aed,#8b5cf6);
    box-shadow:0 10px 24px rgba(124,58,237,.22);
}

#formula-mensuration .gdl-formula-unit-header{
    background:linear-gradient(135deg,#faf5ff,#f5f3ff);
}

#formula-mensuration .gdl-formula-unit-marks{
    background:#f5f3ff;
    color:#6d28d9;
    border-color:#ddd6fe;
}


/* Slightly denser formula rows
   because Mensuration has long equations */

#formula-mensuration .gdl-formula-row{

    align-items:center;

}


#formula-mensuration .gdl-formula-expression{

    line-height:1.9;

}


/* Better spacing for grouped sections */

#formula-mensuration .gdl-formula-subsection + .gdl-formula-subsection{

    margin-top:42px;

}


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

@media(max-width:900px){

#formula-mensuration .gdl-formula-expression{

    font-size:.95rem;

}

}
/* =====================================================
   STATISTICS & PROBABILITY
===================================================== */

#formula-statistics-probability .gdl-formula-unit-number {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.22);
}

#formula-statistics-probability .gdl-formula-unit-header {
    background: linear-gradient(135deg, #fffaf0, #fff7ed);
}

#formula-statistics-probability .gdl-formula-unit-marks {
    background: #fff7ed;
    color: #b45309;
    border-color: #fed7aa;
}

#formula-statistics-probability .gdl-formula-row {
    align-items: center;
}

#formula-statistics-probability .gdl-formula-expression {
    line-height: 1.9;
}


/* =====================================================
   NUMBER SYSTEMS
===================================================== */

#formula-number-systems .gdl-formula-unit-number {
    background: linear-gradient(135deg, #475569, #64748b);
    box-shadow: 0 10px 24px rgba(71, 85, 105, 0.20);
}

#formula-number-systems .gdl-formula-unit-header {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

#formula-number-systems .gdl-formula-unit-marks {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

#formula-number-systems .gdl-formula-callout {
    background: #f8fafc;
    border-left-color: #64748b;
    color: #334155;
}


/* =====================================================
   FORMULA RETENTION BOX
===================================================== */

.gdl-formula-retention-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: start;

    margin: 34px 0 72px;
    padding: 26px 28px;

    border: 1px solid #bbf7d0;
    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #ffffff
        );

    box-shadow:
        0 16px 38px rgba(22, 163, 74, 0.08);
}

.gdl-formula-retention-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border-radius: 16px;

    background: #dcfce7;

    font-size: 1.5rem;
}

.gdl-formula-retention-content h3 {
    margin: 0 0 10px;

    color: #166534;

    font-size: 1.22rem;
    line-height: 1.35;
}

.gdl-formula-retention-content p {
    margin: 0;

    color: #3f6212;

    font-size: 0.98rem;
    line-height: 1.85;
}


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

@media (max-width: 900px) {
    #formula-statistics-probability .gdl-formula-expression,
    #formula-number-systems .gdl-formula-expression {
        font-size: 0.95rem;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {
    .gdl-formula-retention-box {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .gdl-formula-retention-icon {
        width: 46px;
        height: 46px;
    }

    .gdl-formula-retention-content h3 {
        font-size: 1.1rem;
    }
}
/* =====================================================
   FAQ SECTION
===================================================== */

.gdl-faq-section {
    margin: 96px 0 84px;
}

.gdl-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 34px;
}

.gdl-faq-item {
    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.05);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.gdl-faq-item[open] {
    border-color: #bfdbfe;

    box-shadow:
        0 16px 38px rgba(37, 99, 235, 0.08);
}

.gdl-faq-item summary {
    position: relative;

    padding: 20px 56px 20px 22px;

    color: #0f172a;

    font-size: 1rem;
    font-weight: 750;
    line-height: 1.5;

    cursor: pointer;
    list-style: none;
}

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

.gdl-faq-item summary::after {
    content: "+";

    position: absolute;
    top: 50%;
    right: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: #eff6ff;
    color: #2563eb;

    font-size: 1.15rem;
    font-weight: 700;

    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.gdl-faq-item[open] summary::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}

.gdl-faq-answer {
    padding: 0 22px 22px;

    border-top: 1px solid #eef2f7;
}

.gdl-faq-answer p {
    margin: 18px 0 0;

    color: #475569;

    font-size: 0.98rem;
    line-height: 1.85;
}

.gdl-faq-answer cite {
    color: #2563eb;
    font-style: normal;
    font-weight: 650;
}


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

.gdl-related-section {
    margin: 84px 0;
}

.gdl-related-header {
    margin-bottom: 28px;
}

.gdl-related-kicker {
    display: inline-block;
    margin-bottom: 8px;

    color: #2563eb;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gdl-related-header h2 {
    margin: 0;

    color: #0f172a;

    font-size: 2rem;
    line-height: 1.25;
}

.gdl-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gdl-related-card {
    display: flex;
    flex-direction: column;

    min-height: 190px;
    padding: 24px;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f8fafc
        );

    color: inherit !important;
    text-decoration: none !important;

    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.05);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.gdl-related-card:hover {
    transform: translateY(-4px);

    border-color: #bfdbfe;

    box-shadow:
        0 20px 44px rgba(37, 99, 235, 0.10);
}

.gdl-related-card--class {
    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #ffffff
        );
}

.gdl-related-type {
    margin-bottom: 14px;

    color: #2563eb;

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.gdl-related-card h3 {
    margin: 0 0 24px;

    color: #0f172a;

    font-size: 1.1rem;
    line-height: 1.5;
}

.gdl-related-link {
    margin-top: auto;

    color: #2563eb;

    font-size: 0.9rem;
    font-weight: 800;
}


/* =====================================================
   FINAL CTA
===================================================== */

.gdl-final-cta {
    position: relative;
    overflow: hidden;

    margin: 88px 0 36px;
    padding: 54px 44px;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(124, 58, 237, 0.50),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0f172a,
            #1d4ed8 55%,
            #6d28d9
        );

    box-shadow:
        0 24px 60px rgba(30, 64, 175, 0.25);
}

.gdl-final-cta::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.04),
            transparent 40%
        );

    pointer-events: none;
}

.gdl-final-cta-content {
    position: relative;
    z-index: 1;

    max-width: 760px;
}

.gdl-final-cta-kicker {
    display: inline-block;

    margin-bottom: 14px;

    color: #bfdbfe;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.gdl-final-cta h2 {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: 2.15rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.gdl-final-cta p {
    max-width: 680px;
    margin: 0;

    color: #dbeafe;

    font-size: 1rem;
    line-height: 1.75;
}

.gdl-final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 28px;
}

.gdl-final-cta-primary,
.gdl-final-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 13px 20px;

    border-radius: 14px;

    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none !important;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.gdl-final-cta-primary {
    background: #ffffff;
    color: #0f172a !important;

    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.18);
}

.gdl-final-cta-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 36px rgba(15, 23, 42, 0.24);
}

.gdl-final-cta-secondary {
    border: 1px solid rgba(255, 255, 255, 0.30);

    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
}

.gdl-final-cta-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}


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

@media (max-width: 900px) {
    .gdl-related-grid {
        grid-template-columns: 1fr;
    }

    .gdl-final-cta {
        padding: 42px 32px;
    }

    .gdl-final-cta h2 {
        font-size: 1.85rem;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {
    .gdl-faq-section,
    .gdl-related-section {
        margin: 72px 0;
    }

    .gdl-faq-item summary {
        padding: 18px 52px 18px 18px;
        font-size: 0.95rem;
    }

    .gdl-faq-answer {
        padding: 0 18px 18px;
    }

    .gdl-related-header h2 {
        font-size: 1.65rem;
    }

    .gdl-related-card {
        min-height: auto;
        padding: 20px;
    }

    .gdl-final-cta {
        margin-top: 72px;
        padding: 34px 24px;
        border-radius: 22px;
    }

    .gdl-final-cta h2 {
        font-size: 1.55rem;
    }

    .gdl-final-cta-actions {
        flex-direction: column;
    }

    .gdl-final-cta-primary,
    .gdl-final-cta-secondary {
        width: 100%;
    }
}
/* ==========================================
   Sequence Flow Fix
========================================== */

.sequence-flow{
    flex-wrap:wrap !important;
    justify-content:center !important;
    overflow:visible !important;
    row-gap:24px !important;
}

.sequence-card{
    flex:0 1 280px !important;
}

.sequence-arrow{
    display:none !important;
}
/* =====================================================
   BLOG : COST COMPARISON
===================================================== */

.gdl-cost-intro-section{
    margin:70px 0;
}

.gdl-cost-compare{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
    margin:36px 0;
}

.gdl-cost-card{
    position:relative;
    background:#ffffff;
    border:1px solid #e6eaf2;
    border-radius:22px;
    padding:30px;
    transition:.25s ease;
    box-shadow:0 10px 28px rgba(15,23,42,.05);
}

.gdl-cost-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 45px rgba(15,23,42,.10);
}

.gdl-cost-card--tuition{
    border-top:5px solid #2563eb;
}

.gdl-cost-card--ai{
    border-top:5px solid #10b981;
}

.gdl-cost-card-label{
    display:inline-block;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#64748b;
    margin-bottom:18px;
}

.gdl-cost-card-amount{
    font-size:2.4rem;
    font-weight:800;
    line-height:1;
    margin-bottom:20px;
    color:#0f172a;
}

.gdl-cost-card p{
    margin:0;
    color:#475569;
    line-height:1.8;
}

@media (max-width:768px){

    .gdl-cost-compare{
        grid-template-columns:1fr;
        gap:20px;
    }

    .gdl-cost-card{
        padding:24px;
    }

    .gdl-cost-card-amount{
        font-size:2rem;
    }

}
/* =====================================================
   BLOG : PREMIUM COMPARISON TABLE
===================================================== */

.gdl-compare-section{
    margin:72px 0;
}

.gdl-compare-table{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    border:1px solid #e5e7eb;
    border-radius:22px;
    overflow:hidden;
    margin-top:36px;
    background:#fff;
    box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.gdl-compare-table>div{
    padding:20px 22px;
    border-bottom:1px solid #eef2f7;
    border-right:1px solid #eef2f7;
    line-height:1.7;
    font-size:.96rem;
    color:#475569;
}

.gdl-compare-table>div:nth-child(3n){
    border-right:none;
}

.gdl-compare-head{
    background:#f8fafc;
    font-weight:700;
    color:#0f172a !important;
    font-size:.95rem;
    letter-spacing:.02em;
}

.gdl-compare-feature{
    font-weight:700;
    color:#0f172a !important;
    background:#fcfcfd;
}

.gdl-compare-tuition{
    text-align:center;
    border-top:4px solid #2563eb;
}

.gdl-compare-ai{
    text-align:center;
    border-top:4px solid #10b981;
}

.gdl-compare-table>div:nth-last-child(-n+3){
    border-bottom:none;
}

@media (max-width:900px){

    .gdl-compare-table{
        grid-template-columns:1fr;
        border:none;
        box-shadow:none;
        gap:18px;
        background:transparent;
    }

    .gdl-compare-table>div{
        border:1px solid #e5e7eb;
        border-radius:16px;
        background:#fff;
    }

    .gdl-compare-head{
        display:none;
    }

    .gdl-compare-feature{
        background:#f8fafc;
        font-size:1rem;
        margin-top:8px;
    }

}
/* =====================================================
   BLOG : DECISION FRAMEWORK
===================================================== */

.gdl-decision-section{
    margin:72px 0;
}

.gdl-decision-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
    margin:36px 0;
}

.gdl-decision-card{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    padding:30px;
    box-shadow:0 10px 28px rgba(15,23,42,.05);
    transition:.25s ease;
}

.gdl-decision-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(15,23,42,.10);
}

.gdl-decision-card--highlight{
    border-top:5px solid #10b981;
}

.gdl-decision-card:not(.gdl-decision-card--highlight){
    border-top:5px solid #2563eb;
}

.gdl-decision-icon{
    font-size:2rem;
    margin-bottom:14px;
}

.gdl-decision-card h3{
    margin:0 0 18px;
    font-size:1.3rem;
    color:#0f172a;
}

.gdl-decision-card ul{
    margin:0;
    padding-left:20px;
}

.gdl-decision-card li{
    margin-bottom:12px;
    line-height:1.75;
    color:#475569;
}

.gdl-editor-note{
    margin-top:40px;
    padding:28px 30px;
    border-left:5px solid #0f172a;
    background:#f8fafc;
    border-radius:16px;
}

.gdl-editor-note strong{
    display:block;
    margin-bottom:10px;
    color:#0f172a;
    font-size:1rem;
}

.gdl-editor-note p{
    margin:0;
    color:#475569;
    line-height:1.8;
}

@media (max-width:768px){

    .gdl-decision-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .gdl-decision-card{
        padding:24px;
    }

}
/* =====================================================
   SCIENCE SUBJECT OVERVIEW
===================================================== */

.gdl-subject-overview {
    margin: 84px 0;
}

.gdl-subject-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0 28px;
}

.gdl-subject-card {
    padding: 26px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.gdl-subject-card.biology {
    border-top: 5px solid #16a34a;
}

.gdl-subject-card.chemistry {
    border-top: 5px solid #dc2626;
}

.gdl-subject-card.physics {
    border-top: 5px solid #2563eb;
}

.gdl-subject-marks {
    display: block;
    margin-bottom: 8px;
    font-size: 2.35rem;
    font-weight: 850;
    line-height: 1;
    color: #0f172a;
}

.gdl-subject-card h3 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 1.15rem;
}

.gdl-subject-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
}


/* Reuses the visual language of existing analytics panels */

.gdl-chart-card {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.07);
}

.gdl-chart-card > h3 {
    margin: 0 0 24px;
    color: #0f172a;
    font-size: 1.2rem;
    line-height: 1.4;
}

.gdl-progress-item {
    display: grid;
    grid-template-columns: minmax(210px, 1.4fr) minmax(180px, 2fr) 72px;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.gdl-progress-item > span {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.4;
}

.gdl-progress-item > strong {
    color: #334155;
    font-size: 0.82rem;
    text-align: right;
    white-space: nowrap;
}

.gdl-progress {
    height: 16px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.gdl-progress-fill {
    height: 100%;
    min-width: 42px;
    border-radius: inherit;
    padding: 0 8px;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 16px;
    white-space: nowrap;
}

.gdl-progress-fill.biology {
    background: linear-gradient(90deg, #15803d, #22c55e);
}

.gdl-progress-fill.chemistry {
    background: linear-gradient(90deg, #b91c1c, #ef4444);
}

.gdl-progress-fill.physics {
    background: linear-gradient(90deg, #1d4ed8, #3b82f6);
}

.gdl-progress-fill.physics-light {
    background: linear-gradient(90deg, #0369a1, #38bdf8);
}

.gdl-chart-card .gdl-callout {
    margin: 24px 0 0;
    padding: 18px 20px;
    border-left: 4px solid #2563eb;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 0.92rem;
    line-height: 1.75;
}

.gdl-chart-card .gdl-callout strong {
    display: block;
    margin-bottom: 5px;
    color: #1d4ed8;
}


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

@media (max-width: 900px) {

    .gdl-subject-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .gdl-subject-card {
        padding: 22px 14px;
    }

    .gdl-progress-item {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 22px;
    }

    .gdl-progress-item > strong {
        text-align: left;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {

    .gdl-subject-overview {
        margin: 68px 0;
    }

    .gdl-subject-strip {
        grid-template-columns: 1fr;
    }

    .gdl-chart-card {
        padding: 22px 18px;
    }

    .gdl-progress {
        height: 18px;
    }

    .gdl-progress-fill {
        line-height: 18px;
    }
}
/* =====================================================
   BIOLOGY & PHYSICS DIAGRAM SECTION
===================================================== */

.gdl-diagram-section {
    margin: 82px 0;
}

.gdl-diagram-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(0, 1.15fr)
        minmax(230px, 0.8fr);
    gap: 20px;
    align-items: stretch;
    margin-top: 30px;
    width: 100%;
}

.gdl-diagram-panel,
.gdl-diagram-note {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    border-radius: 20px;
}

.gdl-diagram-panel {
    padding: 26px 24px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.gdl-diagram-panel--biology {
    border-top: 4px solid #16a34a;
}

.gdl-diagram-panel--physics {
    border-top: 4px solid #2563eb;
}

.gdl-diagram-tag {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gdl-diagram-panel--biology .gdl-diagram-tag {
    background: #f0fdf4;
    color: #15803d;
}

.gdl-diagram-panel h3,
.gdl-diagram-note h3 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.4;
}

.gdl-diagram-panel ul {
    margin: 0;
    padding-left: 20px;
}

.gdl-diagram-panel li {
    margin-bottom: 12px;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.65;
}

.gdl-diagram-panel li:last-child {
    margin-bottom: 0;
}

.gdl-diagram-note {
    display: block !important;
    padding: 26px 22px;
    border: 1px solid #bfdbfe;
    background: linear-gradient(180deg, #eff6ff, #f8fbff);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.07);
}

.gdl-diagram-note-label {
    display: inline-block;
    margin-bottom: 16px;
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.gdl-diagram-note p {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.8;
}


/* Tablet */

@media (max-width: 1000px) {

    .gdl-diagram-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gdl-diagram-note {
        grid-column: 1 / -1;
    }
}


/* Mobile */

@media (max-width: 640px) {

    .gdl-diagram-layout {
        grid-template-columns: 1fr;
    }

    .gdl-diagram-note {
        grid-column: auto;
    }

    .gdl-diagram-panel,
    .gdl-diagram-note {
        padding: 22px 20px;
    }
}
/* =====================================================
   BEFORE → AFTER TRANSITION CARDS
===================================================== */

.gdl-transition-section{
    margin:72px 0;
}

.gdl-transition-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
    margin-top:36px;
}

.gdl-transition-card{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    padding:28px;
    box-shadow:0 10px 30px rgba(15,23,42,.05);
    transition:.25s ease;
}

.gdl-transition-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(15,23,42,.08);
}

.gdl-transition-label{
    display:inline-flex;
    align-items:center;
    padding:6px 12px;
    border-radius:999px;
    font-size:.72rem;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
    margin-bottom:14px;
}

.gdl-transition-label.old{
    background:#fef2f2;
    color:#dc2626;
}

.gdl-transition-label.new{
    background:#ecfdf5;
    color:#059669;
    margin-top:18px;
}

.gdl-transition-card h3{
    margin:0 0 12px;
    color:#0f172a;
    font-size:1.2rem;
    line-height:1.4;
}

.gdl-transition-card p{
    margin:0;
    color:#475569;
    line-height:1.8;
}

.gdl-transition-divider{
    margin:22px 0 18px;
    height:1px;
    background:linear-gradient(to right,#e5e7eb,transparent);
}

@media(max-width:768px){

    .gdl-transition-grid{
        grid-template-columns:1fr;
    }

    .gdl-transition-card{
        padding:24px;
    }

}
/* =====================================================
   PREMIUM PYQ ANALYSIS TABLE
===================================================== */

.gdl-pyq-overview {
    margin: 82px 0;
}

.gdl-pyq-table {
    margin-top: 34px;
    padding: 30px;
    border: 1px solid #e6ebf2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.055),
        0 4px 14px rgba(15, 23, 42, 0.025);
}

.gdl-pyq-table-title {
    margin-bottom: 24px;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.35;
}

.gdl-pyq-table-head,
.gdl-pyq-row {
    display: grid;
    grid-template-columns:
        minmax(230px, 1.35fr)
        minmax(260px, 1.55fr)
        minmax(150px, 0.8fr);
    gap: 28px;
    align-items: center;
}

.gdl-pyq-table-head {
    padding: 0 8px 13px;
    border-bottom: 1px solid #e8edf4;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.gdl-pyq-row {
    min-height: 68px;
    padding: 14px 8px;
    border-bottom: 1px solid #eef2f6;
}

.gdl-pyq-row:last-of-type {
    border-bottom: 0;
}

.gdl-pyq-unit {
    display: flex;
    gap: 13px;
    align-items: center;
    min-width: 0;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.45;
}

.gdl-pyq-unit > span:last-child {
    min-width: 0;
}

.gdl-pyq-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.66rem;
    font-weight: 800;
    opacity: 0.9;
}

.gdl-pyq-frequency {
    display: grid;
    grid-template-columns: 104px minmax(100px, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
}

.gdl-pyq-badge {
    display: inline-flex;
    width: max-content;
    max-width: 104px;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 7px;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.gdl-pyq-track {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef5;
}

.gdl-pyq-fill {
    height: 100%;
    border-radius: inherit;
}

.gdl-pyq-marks {
    color: #334155;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.45;
}

.gdl-pyq-source {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 20px;
    padding: 15px 17px;
    border: 1px solid #dbeafe;
    border-radius: 13px;
    background: #f8fbff;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.65;
}

.gdl-pyq-source strong {
    flex-shrink: 0;
    color: #2563eb;
}


/* =====================================================
   PYQ COLOUR VARIANTS
===================================================== */

.gdl-pyq-icon--blue {
    color: #2563eb;
    background: #f8fbff;
}

.gdl-pyq-badge--blue,
.gdl-pyq-fill--blue {
    background: #2563eb;
}

.gdl-pyq-icon--cyan {
    color: #0891b2;
    background: #f4fcfe;
}

.gdl-pyq-badge--cyan,
.gdl-pyq-fill--cyan {
    background: #0891b2;
}

.gdl-pyq-icon--red {
    color: #dc2626;
    background: #fffafa;
}

.gdl-pyq-badge--red,
.gdl-pyq-fill--red {
    background: #dc2626;
}

.gdl-pyq-icon--orange {
    color: #ea580c;
    background: #fffaf5;
}

.gdl-pyq-badge--orange,
.gdl-pyq-fill--orange {
    background: #ea580c;
}

.gdl-pyq-icon--green {
    color: #15803d;
    background: #f7fcf8;
}

.gdl-pyq-badge--green,
.gdl-pyq-fill--green {
    background: #15803d;
}

.gdl-pyq-icon--sky {
    color: #0284c7;
    background: #f7fcff;
}

.gdl-pyq-badge--sky,
.gdl-pyq-fill--sky {
    background: #0284c7;
}

.gdl-pyq-icon--purple {
    color: #7c3aed;
    background: #fbfaff;
}

.gdl-pyq-badge--purple,
.gdl-pyq-fill--purple {
    background: #7c3aed;
}

.gdl-pyq-icon--slate {
    color: #64748b;
    background: #fafbfc;
}

.gdl-pyq-badge--slate,
.gdl-pyq-fill--slate {
    background: #64748b;
}


/* =====================================================
   SUBTLE ROW INTERACTION
===================================================== */

.gdl-pyq-row {
    transition:
        background-color 0.18s ease,
        transform 0.18s ease;
}

.gdl-pyq-row:hover {
    background: #fbfcfe;
}


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

@media (max-width: 980px) {

    .gdl-pyq-table {
        padding: 24px;
    }

    .gdl-pyq-table-head {
        display: none;
    }

    .gdl-pyq-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 20px;
        padding: 20px 4px;
    }

    .gdl-pyq-frequency {
        grid-column: 1 / -1;
        grid-template-columns: 110px minmax(0, 1fr);
        padding-left: 47px;
    }

    .gdl-pyq-marks {
        text-align: right;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {

    .gdl-pyq-overview {
        margin: 68px 0;
    }

    .gdl-pyq-table {
        padding: 20px 18px;
        border-radius: 19px;
    }

    .gdl-pyq-table-title {
        font-size: 1.12rem;
    }

    .gdl-pyq-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gdl-pyq-marks {
        padding-left: 47px;
        text-align: left;
    }

    .gdl-pyq-frequency {
        grid-template-columns: 1fr;
        gap: 9px;
        padding-left: 47px;
    }

    .gdl-pyq-badge {
        max-width: none;
    }

    .gdl-pyq-source {
        display: block;
    }

    .gdl-pyq-source strong {
        display: block;
        margin-bottom: 4px;
    }
}
/* =====================================================
   PHYSICS CHAPTER ANALYSIS
===================================================== */

.gdl-physics-chapter-section {
    margin: 84px 0;
}

.gdl-physics-chapter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
    align-items: stretch;
}

.gdl-physics-chapter-card {
    position: relative;
    height: 100%;
    padding: 26px;
    border: 1px solid #e6ebf2;
    border-top: 4px solid transparent;
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.05),
        0 3px 10px rgba(15, 23, 42, 0.02);
}

.gdl-physics-chapter-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.gdl-physics-chapter-top > div {
    min-width: 0;
}

.gdl-physics-chapter-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 0.72rem;
    font-weight: 800;
}

.gdl-physics-chapter-card h3 {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: 1.12rem;
    line-height: 1.4;
}

.gdl-physics-chapter-card ul {
    margin: 0;
    padding-left: 20px;
}

.gdl-physics-chapter-card li {
    margin-bottom: 11px;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.62;
}

.gdl-physics-chapter-card li:last-child {
    margin-bottom: 0;
}


/* =====================================================
   ACCENT VARIANTS
===================================================== */

.gdl-physics-chapter-card--blue {
    border-top-color: #2563eb;
}

.gdl-physics-chapter-card--blue .gdl-physics-chapter-icon {
    background: #eff6ff;
    color: #2563eb;
}

.gdl-physics-chapter-card--red {
    border-top-color: #dc2626;
}

.gdl-physics-chapter-card--red .gdl-physics-chapter-icon {
    background: #fef2f2;
    color: #dc2626;
}

.gdl-physics-chapter-card--cyan {
    border-top-color: #0891b2;
}

.gdl-physics-chapter-card--cyan .gdl-physics-chapter-icon {
    background: #ecfeff;
    color: #0891b2;
}

.gdl-physics-chapter-card--green {
    border-top-color: #15803d;
}

.gdl-physics-chapter-card--green .gdl-physics-chapter-icon {
    background: #f0fdf4;
    color: #15803d;
}


/* =====================================================
   SUBTLE INTERACTION
===================================================== */

.gdl-physics-chapter-card {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.gdl-physics-chapter-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 42px rgba(15, 23, 42, 0.08),
        0 5px 14px rgba(15, 23, 42, 0.03);
}


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

@media (max-width: 900px) {

    .gdl-physics-chapter-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {

    .gdl-physics-chapter-section {
        margin: 68px 0;
    }

    .gdl-physics-chapter-card {
        padding: 22px 20px;
        border-radius: 18px;
    }

    .gdl-physics-chapter-top {
        gap: 12px;
    }

    .gdl-physics-chapter-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .gdl-physics-chapter-card h3 {
        font-size: 1.02rem;
    }
}
/* =====================================================
   ORGANIC CHEMISTRY REACTION FLOW
===================================================== */

.gdl-organic-section {
    margin: 84px 0;
}

.gdl-reaction-flow {
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid #f0d7df;
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.05),
        0 4px 12px rgba(15, 23, 42, 0.025);
}

.gdl-reaction-flow-header {
    padding: 18px 22px;
    border-bottom: 1px solid #f3dfe6;
    background: linear-gradient(180deg, #fff7fa, #fffafb);
    color: #be123c;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    line-height: 1.5;
    text-transform: uppercase;
}

.gdl-reaction-row {
    display: grid;
    grid-template-columns:
        minmax(120px, 1fr)
        minmax(130px, 0.8fr)
        minmax(120px, 1fr)
        minmax(130px, 0.8fr)
        minmax(120px, 1fr);
    gap: 14px;
    align-items: center;
    padding: 22px;
    border-bottom: 1px solid #f2f4f7;
}

.gdl-reaction-row:last-of-type {
    border-bottom: 0;
}

.gdl-reaction-box {
    display: flex;
    min-height: 74px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    border: 1px solid #f2a9bb;
    border-radius: 14px;
    background: #fffafb;
    color: #9f1239;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.4;
    text-align: center;
}

.gdl-reaction-box span {
    display: block;
    margin-top: 4px;
    color: #be123c;
    font-family: Georgia, serif;
    font-size: 0.78rem;
    font-weight: 600;
}

.gdl-reaction-arrow {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gdl-reaction-reagent {
    margin-bottom: 5px;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 650;
    line-height: 1.45;
}

.gdl-reaction-arrow-symbol {
    color: #cbd5e1;
    font-size: 1.45rem;
    line-height: 1;
}

.gdl-reaction-flow .gdl-formula-callout {
    margin: 20px 22px 22px;
}


/* Subtle interaction */

.gdl-reaction-box {
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.gdl-reaction-box:hover {
    transform: translateY(-2px);
    border-color: #e8799c;
    box-shadow: 0 10px 24px rgba(190, 18, 60, 0.08);
}


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

@media (max-width: 980px) {

    .gdl-reaction-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gdl-reaction-arrow {
        min-height: 54px;
    }

    .gdl-reaction-arrow-symbol {
        transform: rotate(90deg);
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {

    .gdl-organic-section {
        margin: 68px 0;
    }

    .gdl-reaction-flow {
        border-radius: 18px;
    }

    .gdl-reaction-flow-header {
        padding: 16px 18px;
        font-size: 0.74rem;
    }

    .gdl-reaction-row {
        padding: 18px;
    }

    .gdl-reaction-box {
        min-height: 66px;
        border-radius: 12px;
    }

    .gdl-reaction-flow .gdl-formula-callout {
        margin: 18px;
    }
}
/* =====================================================
   PREMIUM TOPIC-WISE PERFORMANCE TABLE
===================================================== */

.gdl-performance-section {
    margin: 84px 0;
}

.gdl-performance-card {
    margin-top: 32px;
    padding: 30px;
    border: 1px solid #dbe7f6;
    border-radius: 24px;
    background: #ffffff;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.055),
        0 4px 12px rgba(15, 23, 42, 0.025);
}

.gdl-performance-card > h3 {
    margin: 0 0 24px;
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.4;
}

.gdl-performance-head,
.gdl-performance-row {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.2fr)
        minmax(300px, 2fr)
        minmax(110px, 0.7fr);
    gap: 24px;
    align-items: center;
}

.gdl-performance-head {
    padding: 0 6px 12px;
    border-bottom: 1px solid #e8edf4;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.gdl-performance-row {
    min-height: 66px;
    padding: 14px 6px;
    border-bottom: 1px solid #eef2f6;
}

.gdl-performance-row:last-of-type {
    border-bottom: 0;
}

.gdl-performance-topic {
    color: #334155;
    font-size: 0.91rem;
    font-weight: 650;
    line-height: 1.45;
}

.gdl-performance-meter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.gdl-performance-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7edf5;
}

.gdl-performance-fill {
    height: 100%;
    border-radius: inherit;
}

.gdl-performance-fill--blue {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.gdl-performance-fill--green {
    background: linear-gradient(90deg, #15803d, #22c55e);
}

.gdl-performance-fill--red {
    background: linear-gradient(90deg, #dc2626, #f87171);
}

.gdl-performance-fill--orange {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.gdl-performance-meter strong {
    color: #334155;
    font-size: 0.82rem;
    text-align: right;
}

.gdl-performance-status {
    display: inline-flex;
    width: max-content;
    min-width: 92px;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    white-space: nowrap;
}

.gdl-performance-status--priority {
    background: #fef2f2;
    color: #b91c1c;
}

.gdl-performance-status--strong {
    background: #f0fdf4;
    color: #15803d;
}

.gdl-performance-status--good {
    background: #fff7ed;
    color: #c2410c;
}

.gdl-performance-status--work {
    background: #eff6ff;
    color: #1d4ed8;
}

.gdl-performance-insight {
    margin-top: 22px;
    padding: 18px 20px;
    border-left: 4px solid #2563eb;
    border-radius: 14px;
    background: #f8fbff;
}

.gdl-performance-insight strong {
    display: block;
    margin-bottom: 7px;
    color: #1d4ed8;
}

.gdl-performance-insight p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}


/* Tablet */

@media (max-width: 900px) {

    .gdl-performance-head {
        display: none;
    }

    .gdl-performance-row {
        grid-template-columns: 1fr auto;
        gap: 10px 18px;
        padding: 18px 4px;
    }

    .gdl-performance-meter {
        grid-column: 1 / -1;
    }
}


/* Mobile */

@media (max-width: 640px) {

    .gdl-performance-section {
        margin: 68px 0;
    }

    .gdl-performance-card {
        padding: 22px 18px;
        border-radius: 19px;
    }

    .gdl-performance-row {
        grid-template-columns: 1fr;
    }

    .gdl-performance-status {
        justify-self: start;
    }

    .gdl-performance-meter {
        grid-column: auto;
    }
}
/* =====================================================
   PARENT PRESSURE SECTION
===================================================== */

.gdl-parent-pressure-section {
    margin: 84px 0;
}

.gdl-parent-pressure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.gdl-parent-pressure-card {
    min-height: 100%;
    padding: 28px;
    border: 1px solid #dbe5f1;
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.05),
        0 3px 10px rgba(15, 23, 42, 0.02);
}

.gdl-parent-pressure-content {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.gdl-parent-pressure-card h3 {
    margin: 16px 0 10px;
    color: #0f172a;
    font-size: 1.15rem;
    line-height: 1.35;
}

.gdl-parent-pressure-card p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}

.gdl-parent-role-callout {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2.1fr);
    gap: 28px;
    align-items: center;
    margin-top: 24px;
    padding: 26px 30px;
    border: 1px solid #dbeafe;
    border-left: 5px solid #2563eb;
    border-radius: 18px;
    background: #f8fbff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.05);
}

.gdl-parent-role-heading strong {
    display: block;
    color: #0f172a;
    font-size: 1.08rem;
    line-height: 1.45;
}

.gdl-parent-role-copy p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}


/* Tablet */

@media (max-width: 850px) {

    .gdl-parent-pressure-grid {
        grid-template-columns: 1fr;
    }

    .gdl-parent-role-callout {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}


/* Mobile */

@media (max-width: 640px) {

    .gdl-parent-pressure-section {
        margin: 68px 0;
    }

    .gdl-parent-pressure-card {
        padding: 22px 20px;
        border-radius: 18px;
    }

    .gdl-parent-role-callout {
        padding: 22px 20px;
        border-radius: 16px;
    }
}
/* =====================================================
   CLASS 9 → CLASS 10 FOUNDATION MAP
===================================================== */

.gdl-foundation-map-section {
    margin: 84px 0;
}

.gdl-foundation-map {
    margin-top: 34px;
    padding: 26px;
    border: 1px solid #dfe7f1;
    border-radius: 24px;
    background: #ffffff;
    box-shadow:
        0 20px 52px rgba(15, 23, 42, 0.055),
        0 4px 14px rgba(15, 23, 42, 0.025);
}

.gdl-foundation-header,
.gdl-foundation-row {
    display: grid;
    grid-template-columns:
        minmax(180px, 1.1fr)
        42px
        minmax(220px, 1.4fr)
        minmax(110px, 0.65fr);
    gap: 18px;
    align-items: center;
}

.gdl-foundation-header {
    padding: 0 10px 14px;
    border-bottom: 1px solid #e8edf4;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.gdl-foundation-row {
    min-height: 72px;
    padding: 15px 10px;
    border-bottom: 1px solid #eef2f6;
    transition:
        background-color 0.18s ease,
        transform 0.18s ease;
}

.gdl-foundation-row:last-child {
    border-bottom: 0;
}

.gdl-foundation-row:hover {
    background: #fbfcfe;
}

.gdl-foundation-class9,
.gdl-foundation-class10 {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.gdl-foundation-class9 {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.gdl-foundation-class10 {
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

.gdl-foundation-arrow {
    color: #94a3b8;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
}

.gdl-foundation-marks {
    justify-self: stretch;
    padding: 10px 12px;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}

.gdl-foundation-map-section .gdl-callout {
    margin-top: 24px;
}


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

@media (max-width: 900px) {

    .gdl-foundation-map {
        padding: 22px;
    }

    .gdl-foundation-header {
        display: none;
    }

    .gdl-foundation-row {
        grid-template-columns: 1fr 34px 1fr;
        gap: 12px;
        padding: 20px 4px;
    }

    .gdl-foundation-marks {
        grid-column: 1 / -1;
        justify-self: start;
        margin-left: 0;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {

    .gdl-foundation-map-section {
        margin: 68px 0;
    }

    .gdl-foundation-map {
        padding: 18px;
        border-radius: 19px;
    }

    .gdl-foundation-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gdl-foundation-arrow {
        transform: rotate(90deg);
        font-size: 1.15rem;
    }

    .gdl-foundation-marks {
        grid-column: auto;
        justify-self: start;
    }

    .gdl-foundation-class9,
    .gdl-foundation-class10 {
        width: 100%;
        box-sizing: border-box;
    }
}
/* =====================================================
   CLASS 9 SUBJECT STRATEGY — BALANCED 2 × 2 GRID
===================================================== */

.gdl-class9-subject-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.gdl-class9-subject-grid .learning-card {
    height: 100%;
}


/* Tablet and mobile */

@media (max-width: 780px) {

    .gdl-class9-subject-grid {
        grid-template-columns: 1fr;
    }

}
/* =====================================================
   BIOLOGY PYQ TABLE
===================================================== */

.gdl-biology-pyq-table {
    margin: 32px 0;
    overflow: hidden;
    border: 1px solid #dbe5f1;
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.05),
        0 4px 12px rgba(15, 23, 42, 0.025);
}

.gdl-biology-pyq-head,
.gdl-biology-pyq-row {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.35fr)
        minmax(150px, 0.8fr)
        minmax(260px, 1.55fr)
        minmax(90px, 0.45fr);
    gap: 22px;
    align-items: center;
}

.gdl-biology-pyq-head {
    padding: 18px 22px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    line-height: 1.45;
    text-transform: uppercase;
}

.gdl-biology-pyq-row {
    min-height: 78px;
    padding: 18px 22px;
    border-bottom: 1px solid #edf1f6;
}

.gdl-biology-pyq-row:last-child {
    border-bottom: 0;
}

.gdl-biology-pyq-row:nth-child(even) {
    background: #fbfdff;
}

.gdl-biology-pyq-topic {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.5;
}

.gdl-biology-pyq-pattern {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

.gdl-biology-pyq-marks {
    color: #334155;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.45;
    white-space: nowrap;
}

.gdl-biology-frequency {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.gdl-biology-frequency--highest {
    background: #fce7f3;
    color: #be123c;
}

.gdl-biology-frequency--high {
    background: #fff7ed;
    color: #c2410c;
}


/* Tablet */

@media (max-width: 900px) {

    .gdl-biology-pyq-head {
        display: none;
    }

    .gdl-biology-pyq-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px 20px;
        padding: 20px;
    }

    .gdl-biology-pyq-pattern {
        grid-column: 1 / -1;
    }

    .gdl-biology-pyq-marks {
        justify-self: end;
    }
}


/* Mobile */

@media (max-width: 640px) {

    .gdl-biology-pyq-table {
        border-radius: 18px;
    }

    .gdl-biology-pyq-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px;
    }

    .gdl-biology-pyq-pattern {
        grid-column: auto;
    }

    .gdl-biology-pyq-marks {
        justify-self: start;
    }
}
.gdl-biology-frequency--medium {
    background: #ecfdf5;
    color: #047857;
}
/* ==========================================================
   BLOG COLLECTION NAVIGATION
   Shared by General and Class 9–12 blog collection pages
========================================================== */

.blog-collection-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 860px;
    margin: 0 auto 48px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.blog-collection-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 999px;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.blog-collection-link:hover {
    color: #1d4ed8;
    background: #eff6ff;
    transform: translateY(-1px);
}

.blog-collection-link.active,
.blog-collection-link[aria-current="page"] {
    color: #ffffff;
    background: linear-gradient(135deg, var(--gdl-blue), var(--gdl-purple));
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.blog-collection-link.active:hover,
.blog-collection-link[aria-current="page"]:hover {
    color: #ffffff;
    transform: none;
}

/* ==========================================================
   BLOG COLLECTION EMPTY STATES
========================================================== */

.blog-empty-state {
    max-width: 720px;
    margin: 32px auto 0;
    padding: 52px 28px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: var(--gdl-shadow-soft);
    text-align: center;
}

.blog-empty-state[hidden] {
    display: none;
}

.blog-empty-state h3 {
    margin: 0 0 10px;
    color: var(--gdl-dark);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    letter-spacing: -0.03em;
}

.blog-empty-state p {
    max-width: 520px;
    margin: 0 auto;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .blog-collection-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: 100%;
        margin-bottom: 38px;
        padding: 7px;
        overflow-x: auto;
        border-radius: 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .blog-collection-nav::-webkit-scrollbar {
        display: none;
    }

    .blog-collection-link {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 10px 17px;
        font-size: 0.86rem;
    }

    .blog-empty-state {
        padding: 40px 22px;
        border-radius: 22px;
    }
}

@media (max-width: 420px) {
    .blog-collection-link {
        padding-inline: 15px;
    }
}
/* ==========================================================
   BLOG COLLECTION PAGE — SPACING + NAVIGATION REFINEMENT
   Final overrides only. Existing blog/article styles preserved.
========================================================== */

/* Reduce the empty space above the blog hero by approximately 20–25%. */
.page-hero {
    margin-top: 72px;
    margin-bottom: 90px;
    padding-top: 64px;
    padding-bottom: 32px;
}

/* Reduce the gap between the hero CTA and the collection navigation. */
.blog-home-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* Premium dark collection navigation shared by all blog pages. */
.blog-collection-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 860px;
    margin: 0 auto 48px;
    padding: 9px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.blog-collection-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 21px;
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.blog-collection-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.blog-collection-link.active,
.blog-collection-link[aria-current="page"] {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #6d4cff);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.34);
}

.blog-collection-link.active:hover,
.blog-collection-link[aria-current="page"]:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #6d4cff);
    transform: none;
}

@media (max-width: 900px) {
    .page-hero {
        margin-top: 54px;
        margin-bottom: 68px;
        padding-top: 48px;
        padding-bottom: 28px;
    }

    .blog-home-section {
        padding-top: 48px;
    }
}

@media (max-width: 760px) {
    .blog-collection-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: 100%;
        margin-bottom: 38px;
        padding: 7px;
        overflow-x: auto;
        border-radius: 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .blog-collection-nav::-webkit-scrollbar {
        display: none;
    }

    .blog-collection-link {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 10px 17px;
        font-size: 0.86rem;
    }
}

@media (max-width: 420px) {
    .blog-collection-link {
        padding-inline: 15px;
    }
}
/* ==========================================================
   FORMAT MASTERY — BALANCED 2 × 2 CARD LAYOUT
========================================================== */

#format-mastery .gdl-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

#format-mastery .gdl-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#format-mastery .gdl-card .gdl-exam-tip {
    margin-top: auto;
}

#format-mastery .gdl-card .gdl-section-kicker {
    align-self: flex-start;
    min-height: 42px;
}

@media (max-width: 768px) {
    #format-mastery .gdl-card-grid {
        grid-template-columns: 1fr;
    }

    #format-mastery .gdl-card {
        height: auto;
    }
}
/* CLASS 12 ECONOMICS — MACROECONOMICS CARDS 2 × 2 LAYOUT */
#macroeconomics-chapter-strategy .gdl-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

#macroeconomics-chapter-strategy .gdl-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#macroeconomics-chapter-strategy .gdl-stat-number {
    align-self: flex-start;
}

@media (max-width: 768px) {
    #macroeconomics-chapter-strategy .gdl-card-grid {
        grid-template-columns: 1fr;
    }

    #macroeconomics-chapter-strategy .gdl-card {
        height: auto;
    }
}
/* CLASS 12 ECONOMICS — INDIAN ECONOMY CARDS */
#indian-economic-development .gdl-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

#indian-economic-development .gdl-card {
    height: 100%;
}

#indian-economic-development .gdl-card:last-child {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    #indian-economic-development .gdl-card-grid {
        grid-template-columns: 1fr;
    }

    #indian-economic-development .gdl-card:last-child {
        grid-column: auto;
    }
}
/* REUSABLE CARD-GRID MODIFIERS */

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

.gdl-card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gdl-card-grid--last-wide > :last-child {
    grid-column: 1 / -1;
}

.gdl-card--stacked {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gdl-card--stacked .freq-tag,
.gdl-card--stacked .gdl-exam-tip {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 992px) {
    .gdl-card-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gdl-card-grid--2,
    .gdl-card-grid--3 {
        grid-template-columns: 1fr;
    }

    .gdl-card-grid--last-wide > :last-child {
        grid-column: auto;
    }
}
.bar-label-note {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.35;
    color: #6b7280;
}
/* Two-part subject split */
.two-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 28px 0 34px;
}

.split-c {
    position: relative;
    padding: 28px;
    border: 1px solid #dfe7f3;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.split-c::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.split-c.micro::before {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
}

.split-c .s-marks {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.split-c.micro .s-marks {
    background: #f4efff;
    color: #7c3aed;
}

.split-c h4 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.35;
    color: #0f172a;
}

.split-c p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
}

.split-c .mode {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .two-split {
        grid-template-columns: 1fr;
    }

    .split-c {
        padding: 22px;
    }
}
/* =========================================================
   Code Blocks
   ========================================================= */

.code-block {
    margin: 20px 0 26px;
    background: #111827;
    border: 1px solid #253047;
    border-radius: 14px;
    overflow-x: auto;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.code-block pre {
    margin: 0;
    padding: 22px 24px;
    background: transparent;
    color: #e5e7eb;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre;
    tab-size: 4;
}

.code-block .cmt {
    color: #94a3b8;
}

.code-block .kw {
    color: #93c5fd;
    font-weight: 600;
}

.code-block .str {
    color: #86efac;
}

@media (max-width: 640px) {
    .code-block pre {
        padding: 18px;
        font-size: 12.5px;
        line-height: 1.7;
    }
}