:root {
    --aoe-navy: #214252;
    --aoe-heading: #155e75;
    --aoe-heading-blue: #1e40af;
    --aoe-heading-indigo: #4338ca;
    --aoe-copy: #526a78;
    --aoe-teal: #0f766e;
    --aoe-teal-dark: #115e59;
    --aoe-blue: #2563eb;
    --aoe-indigo: #3730a3;
    --aoe-green: #15803d;
    --aoe-purple: #7c3aed;
    --aoe-border: #d7e8ed;
    --aoe-light: #f4faf9;
    --aoe-shadow: 0 14px 30px rgba(33, 66, 82, .09);
}

html { scroll-behavior: smooth; }
.ielts-site { color: var(--aoe-navy); }
.ielts-site :where(h1,h2,h3,h4,h5,h6) { color: var(--aoe-heading); }
.ielts-skip-link { position: fixed; top: -80px; left: 16px; z-index: 10000; padding: 9px 14px; background: #fff; color: var(--aoe-navy); border-radius: 0 0 8px 8px; font-weight: 800; }
.ielts-skip-link:focus { top: 0; }
.ielts-site-nav { position: sticky; top: 0; z-index: 1000; box-shadow: 0 5px 18px rgba(20,49,63,.13); }
.ielts-site-nav .logo { white-space: nowrap; }
.ielts-nav-cta { align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; background: #fff; color: var(--aoe-navy); border-radius: 8px; font-size: 13px; font-weight: 850; text-decoration: none; }
.ielts-nav-cta:hover { color: #fff; background: var(--aoe-blue); }

.ielts-hero { position: relative; overflow: hidden; padding: 0 0 48px !important; background: linear-gradient(135deg,#f8f9fa 0%,#eef8f6 58%,#eef2ff 100%) !important; }
.ielts-hero::before { content: ""; position: absolute; right: -135px; top: -190px; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle,rgba(37,99,235,.15) 0%,rgba(15,118,110,.07) 48%,transparent 70%); pointer-events: none; }
.ielts-hero::after { content: ""; position: absolute; left: 8%; bottom: -125px; width: 260px; height: 260px; border: 46px solid rgba(15,118,110,.045); border-radius: 50%; pointer-events: none; }
.ielts-hero .container { position: relative; z-index: 1; }
.ielts-breadcrumb { padding-top: 10px; }
.ielts-breadcrumb .breadcrumb { margin-bottom: 12px; padding: 0; background: transparent; font-size: 13px; }
.ielts-breadcrumb a { color: var(--aoe-teal); font-weight: 750; }
.ielts-breadcrumb .active { color: #71848e; }
.ielts-hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(330px,.92fr); align-items: stretch; gap: 24px; }
.ielts-page-header { padding: 24px 0 6px; }
.ielts-section-kicker { display: block; margin-bottom: 8px; color: var(--aoe-teal); font-size: .78rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.ielts-page-header h1 { max-width: 780px; margin: 0 0 13px; color: var(--aoe-heading-blue); font-size: clamp(2rem,4vw,3.15rem); font-weight: 900; line-height: 1.1; }
.ielts-page-header h1 span { color: var(--aoe-teal); background: linear-gradient(135deg,var(--aoe-teal),var(--aoe-blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ielts-page-header > p { max-width: 760px; margin-bottom: 16px; color: var(--aoe-copy); font-size: 1.04rem; line-height: 1.65; }
.ielts-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.ielts-chip-row span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; color: var(--aoe-indigo); background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 999px; font-size: .83rem; font-weight: 800; }
.ielts-chip-row span:nth-child(2) { color: var(--aoe-teal); background: #ccfbf1; border-color: #5eead4; }
.ielts-chip-row span:nth-child(3) { color: var(--aoe-blue); background: #eff6ff; border-color: #bfdbfe; }
.ielts-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.ielts-primary-button,.ielts-secondary-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 8px; font-weight: 850; text-decoration: none; transition: transform .2s ease,box-shadow .2s ease; }
.ielts-primary-button { color: #fff !important; background: var(--aoe-teal); border: 1px solid var(--aoe-teal); }
.ielts-secondary-button { color: var(--aoe-teal) !important; background: #fff; border: 1px solid #2dd4bf; }
.ielts-primary-button:hover,.ielts-secondary-button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(15,118,110,.18); }
.ielts-primary-button:hover { background: var(--aoe-teal-dark); }
.ielts-trial-note { display: flex; align-items: center; gap: 7px; color: #657b85; font-weight: 650; }
.ielts-trial-note i { color: var(--aoe-green); }

.ielts-practice-panel { position: relative; align-self: end; padding: 22px; background: rgba(255,255,255,.94); border: 1px solid #cfe1e8; border-left: 5px solid var(--aoe-blue); border-radius: 8px; box-shadow: 0 20px 45px rgba(33,66,82,.14); }
.ielts-practice-panel::after { content: "PRACTISE • REVIEW • RETRY"; position: absolute; right: 18px; top: -14px; padding: 5px 10px; color: #fff; background: var(--aoe-indigo); border-radius: 999px; font-size: .62rem; font-weight: 900; letter-spacing: .05em; }
.ielts-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 13px; border-bottom: 1px solid #e6eef1; }
.ielts-panel-heading span { color: var(--aoe-blue); font-size: .75rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.ielts-panel-heading h2 { margin: 3px 0 0; color: var(--aoe-heading-blue); font-size: 1.16rem; font-weight: 900; }
.ielts-panel-heading > i { display: grid; place-items: center; width: 44px; height: 44px; color: var(--aoe-blue); background: #dbeafe; border-radius: 8px; font-size: 1.45rem; }
.ielts-practice-steps { margin: 12px 0; padding: 0; list-style: none; }
.ielts-practice-steps li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 11px; padding: 10px 0; }
.ielts-practice-steps li > span { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--aoe-teal); border-radius: 999px; font-size: .8rem; font-weight: 900; }
.ielts-practice-steps strong,.ielts-practice-steps small { display: block; }
.ielts-practice-steps strong { color: var(--aoe-heading); font-size: .93rem; }
.ielts-practice-steps small { color: var(--aoe-copy); line-height: 1.4; }
.ielts-practice-panel > a { display: inline-flex; align-items: center; gap: 7px; color: var(--aoe-blue); font-weight: 900; text-decoration: none; }

.ielts-section-head { max-width: 820px; margin-bottom: 25px; }
.ielts-section-head h2,.ielts-feedback-copy h2 { margin: 0 0 10px; color: var(--aoe-heading); font-size: clamp(1.65rem,3vw,2.35rem); font-weight: 900; line-height: 1.18; }
.ielts-section-head p,.ielts-feedback-copy p { margin: 0; color: var(--aoe-copy); line-height: 1.65; }
.ielts-focus { background: #fff; }
.ielts-focus-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ielts-focus-card { position: relative; min-height: 285px; display: flex; flex-direction: column; padding: 22px; background: #fff; border: 1px solid var(--aoe-border); border-radius: 8px; box-shadow: var(--aoe-shadow); transition: transform .2s ease,box-shadow .2s ease; }
.ielts-focus-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(33,66,82,.13); }
.ielts-focus-card:nth-child(1) { border-top: 4px solid var(--aoe-blue); }
.ielts-focus-card:nth-child(2) { border-top: 4px solid var(--aoe-teal); }
.ielts-focus-card:nth-child(3) { border-top: 4px solid var(--aoe-purple); }
.ielts-focus-card > i { width: 46px; height: 46px; display: grid; place-items: center; margin: 8px 0 17px; color: var(--aoe-blue); background: #dbeafe; border-radius: 8px; font-size: 1.3rem; }
.ielts-focus-card:nth-child(2) > i { color: var(--aoe-teal); background: #ccfbf1; }
.ielts-focus-card:nth-child(3) > i { color: var(--aoe-purple); background: #ede9fe; }
.ielts-focus-number { position: absolute; top: 16px; right: 18px; color: #9aabb3; font-size: .75rem; font-weight: 900; }
.ielts-focus-card h3 { margin: 0 0 8px; color: var(--aoe-heading-blue); font-size: 1.18rem; font-weight: 900; }
.ielts-focus-card:nth-child(2) h3 { color: var(--aoe-teal-dark); }
.ielts-focus-card:nth-child(3) h3 { color: var(--aoe-heading-indigo); }
.ielts-focus-card p { margin-bottom: 18px; color: var(--aoe-copy); line-height: 1.55; }
.ielts-focus-card a { display: flex; justify-content: space-between; margin-top: auto; color: var(--aoe-teal); font-weight: 850; text-decoration: none; }

.ielts-speaking { background: linear-gradient(180deg,#fff 0%,#f3faf8 100%); }
.ielts-part-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ielts-part-card { padding: 20px; background: #fff; border: 1px solid var(--aoe-border); border-top: 4px solid var(--aoe-blue); border-radius: 8px; box-shadow: var(--aoe-shadow); }
.ielts-part-card:nth-child(2) { border-top-color: var(--aoe-purple); }
.ielts-part-card:nth-child(3) { border-top-color: var(--aoe-teal); }
.ielts-part-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ielts-part-card-top span { padding: 6px 10px; color: #fff; background: var(--aoe-blue); border-radius: 999px; font-size: .78rem; font-weight: 900; }
.ielts-part-card:nth-child(2) .ielts-part-card-top span { background: var(--aoe-purple); }
.ielts-part-card:nth-child(3) .ielts-part-card-top span { background: var(--aoe-teal); }
.ielts-part-card-top small { color: #71848e; font-weight: 800; }
.ielts-part-card > i { display: inline-block; margin-bottom: 10px; color: var(--aoe-blue); font-size: 1.6rem; }
.ielts-part-card:nth-child(2) > i { color: var(--aoe-purple); }
.ielts-part-card:nth-child(3) > i { color: var(--aoe-teal); }
.ielts-part-card h3 { color: var(--aoe-heading-blue); font-size: 1.14rem; font-weight: 900; }
.ielts-part-card:nth-child(2) h3 { color: var(--aoe-heading-indigo); }
.ielts-part-card:nth-child(3) h3 { color: var(--aoe-teal-dark); }
.ielts-part-card p,.ielts-part-card li { color: var(--aoe-copy); line-height: 1.55; }
.ielts-part-card ul { margin: 14px 0 0; padding: 13px 0 0 19px; border-top: 1px solid #e1eaed; }
.ielts-part-card li { padding: 2px 0; font-size: .9rem; }
.ielts-learning-path { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 28px; margin-top: 20px; padding: 20px; background: #fffdf7; border: 1px solid #eadfbc; border-radius: 8px; }
.ielts-learning-path h3 { margin: 0 0 6px; color: var(--aoe-heading); font-size: 1.16rem; font-weight: 900; }
.ielts-learning-path p { margin: 0; color: var(--aoe-copy); }
.ielts-topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ielts-topic-chips a { padding: 7px 10px; color: var(--aoe-indigo); background: #fff; border: 1px solid #d7dcf7; border-radius: 999px; font-size: .8rem; font-weight: 800; text-decoration: none; }
.ielts-topic-chips a:hover { color: #fff; background: var(--aoe-indigo); }
.ielts-card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--aoe-teal); font-weight: 850; text-decoration: none; }

/* IELTS editorial pages */
.ielts-article-hero { padding: 0 0 34px; background: linear-gradient(135deg,#f8fafc,#eef8f6 58%,#eef2ff); border-bottom: 1px solid var(--aoe-border); }
.ielts-article-hero h1 { max-width: 850px; margin: 14px 0 12px; color: var(--aoe-heading-blue); font-size: clamp(2rem,4vw,3rem); font-weight: 900; line-height: 1.12; }
.ielts-article-hero p { max-width: 790px; margin: 0; color: var(--aoe-copy); font-size: 1.05rem; line-height: 1.7; }
.ielts-article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: #647985; font-size: .84rem; font-weight: 750; }
.ielts-article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ielts-article-wrap { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 32px; padding-top: 42px; padding-bottom: 52px; }
.ielts-article-main { min-width: 0; }
.ielts-article-main h2 { margin: 36px 0 12px; color: var(--aoe-heading); font-size: clamp(1.45rem,2.4vw,2rem); font-weight: 900; }
.ielts-article-main h2:first-child { margin-top: 0; }
.ielts-article-main h3 { margin: 24px 0 8px; color: var(--aoe-heading-indigo); font-size: 1.15rem; font-weight: 900; }
.ielts-article-main p,.ielts-article-main li { color: var(--aoe-copy); line-height: 1.72; }
.ielts-article-main ul,.ielts-article-main ol { padding-left: 22px; }
.ielts-article-main li { margin: 5px 0; }
.ielts-toc { position: sticky; top: 92px; padding: 18px; background: #fff; border: 1px solid var(--aoe-border); border-top: 4px solid var(--aoe-teal); border-radius: 8px; box-shadow: var(--aoe-shadow); }
.ielts-toc strong { display: block; margin-bottom: 9px; color: var(--aoe-heading); }
.ielts-toc a { display: block; padding: 5px 0; color: var(--aoe-copy); font-size: .88rem; font-weight: 700; text-decoration: none; }
.ielts-toc a:hover { color: var(--aoe-teal); }
.ielts-callout,.ielts-example { margin: 22px 0; padding: 18px 20px; border-radius: 8px; }
.ielts-callout { background: #ecfdf8; border: 1px solid #99e4d7; border-left: 5px solid var(--aoe-teal); }
.ielts-callout.warning { background: #fff7ed; border-color: #fed7aa; border-left-color: #ea580c; }
.ielts-callout p:last-child,.ielts-example p:last-child { margin-bottom: 0; }
.ielts-example { background: #f8fafc; border: 1px solid #dce6eb; }
.ielts-example .label { display: block; margin-bottom: 8px; color: var(--aoe-blue); font-size: .75rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.ielts-step-grid,.ielts-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.ielts-step-card,.ielts-related-grid a { padding: 17px; background: #fff; border: 1px solid var(--aoe-border); border-radius: 8px; box-shadow: 0 8px 20px rgba(33,66,82,.06); }
.ielts-step-card span { color: var(--aoe-teal); font-size: .76rem; font-weight: 900; }
.ielts-step-card h3 { margin: 5px 0; color: var(--aoe-heading-blue); font-size: 1rem; }
.ielts-step-card:nth-child(2) h3 { color: var(--aoe-teal-dark); }
.ielts-step-card:nth-child(3) h3 { color: var(--aoe-heading-indigo); }
.ielts-related-grid a { color: var(--aoe-heading); font-weight: 850; text-decoration: none; }
.ielts-related-grid a:hover { border-color: var(--aoe-teal); color: var(--aoe-teal); }
.ielts-table-wrap { overflow-x: auto; margin: 18px 0; }
.ielts-comparison-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.ielts-comparison-table th,.ielts-comparison-table td { padding: 13px; border: 1px solid #dce6eb; vertical-align: top; text-align: left; }
.ielts-comparison-table th { color: var(--aoe-heading); background: #eef8f6; }
.ielts-comparison-table td { color: var(--aoe-copy); line-height: 1.55; }
.ielts-source-list { padding: 18px 20px; background: #f8fafc; border-radius: 8px; }
.ielts-source-list a { color: var(--aoe-blue); }
.ielts-inline-cta { margin-top: 36px; padding: 24px; color: #fff; background: linear-gradient(135deg,var(--aoe-teal),var(--aoe-blue)); border-radius: 8px; }
.ielts-inline-cta h2 { margin: 0 0 8px; color: #fff; }
.ielts-inline-cta p { color: rgba(255,255,255,.9); }
.ielts-inline-cta .ielts-primary-button { color: var(--aoe-heading) !important; background: #fff; border-color: #fff; }

.ielts-feedback { background: #fff; }
.ielts-feedback-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(380px,1.15fr); gap: 24px; align-items: center; }
.ielts-feedback-copy { padding: 23px; background: #fff; border: 1px solid var(--aoe-border); border-left: 5px solid var(--aoe-teal); border-radius: 8px; box-shadow: var(--aoe-shadow); }
.ielts-feedback-copy p { margin-bottom: 18px; }
.ielts-feedback-cards { display: grid; gap: 12px; }
.ielts-feedback-cards article { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--aoe-border); border-radius: 8px; box-shadow: 0 10px 22px rgba(33,66,82,.07); }
.ielts-feedback-cards article > i { width: 42px; height: 42px; display: grid; place-items: center; color: var(--aoe-teal); background: #ccfbf1; border-radius: 8px; font-size: 1.2rem; }
.ielts-feedback-cards article:nth-child(2) > i { color: #c2410c; background: #ffedd5; }
.ielts-feedback-cards h3 { margin: 0 0 7px; color: var(--aoe-teal-dark); font-size: 1.05rem; font-weight: 900; }
.ielts-feedback-cards article:nth-child(2) h3 { color: #9a3412; }
.ielts-feedback-cards ul { margin: 0; padding-left: 18px; color: var(--aoe-copy); line-height: 1.55; }

.ielts-faq { background: #f8fafc; }
.ielts-faq .accordion { border-radius: 8px; box-shadow: var(--aoe-shadow); overflow: hidden; }
.ielts-faq .accordion-button { color: var(--aoe-heading); font-weight: 850; }
.ielts-faq .accordion-button:not(.collapsed) { color: var(--aoe-teal); background: #ecfdf8; }
.ielts-faq .accordion-body { color: var(--aoe-copy); line-height: 1.65; }
.ielts-final-cta { color: #fff; background: linear-gradient(135deg,var(--aoe-teal),var(--aoe-blue)); }
.ielts-final-cta span { font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.ielts-final-cta h2 { max-width: 780px; margin: 8px auto; color: #fff; font-size: clamp(1.7rem,3vw,2.45rem); font-weight: 900; }
.ielts-final-cta p { margin-bottom: 17px; color: rgba(255,255,255,.9); }
.ielts-final-cta a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; color: var(--aoe-navy); background: #fff; border-radius: 8px; font-weight: 900; text-decoration: none; }

.ielts-site-footer { padding: 55px 0 25px; }
.ielts-footer-brand { color: #fff !important; font-size: 1.5rem; font-weight: 900; text-decoration: none; }
.ielts-footer-brand span { color: #6ea8fe; }
.ielts-footer-copy { max-width: 520px; margin: 15px 0 0; color: rgba(255,255,255,.72) !important; }
.ielts-site-footer h2 { margin: 0 0 12px; color: #fff; font-size: .88rem; font-weight: 900; text-transform: uppercase; }
.ielts-site-footer ul { margin: 0; padding: 0; list-style: none; }
.ielts-site-footer li { margin: 7px 0; }
.ielts-site-footer a { text-decoration: none; }
.ielts-footer-bottom { display: flex; justify-content: space-between; gap: 35px; margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); font-size: .75rem; }
.ielts-footer-bottom span:last-child { max-width: 650px; text-align: right; }

@media (max-width: 991.98px) {
    .ielts-hero-grid,.ielts-feedback-layout { grid-template-columns: 1fr; }
    .ielts-focus-grid { grid-template-columns: 1fr; }
    .ielts-practice-panel { align-self: auto; }
    .ielts-article-wrap { grid-template-columns: 1fr; }
    .ielts-toc { position: static; }
}

@media (max-width: 767.98px) {
    .ielts-site-nav { position: relative; }
    .ielts-page-header h1 { font-size: 2rem; }
    .ielts-hero-actions { align-items: stretch; flex-direction: column; }
    .ielts-primary-button,.ielts-secondary-button { width: 100%; }
    .ielts-part-grid { grid-template-columns: 1fr; }
    .ielts-focus-card { min-height: 0; }
    .ielts-learning-path { grid-template-columns: 1fr; }
    .ielts-feedback-cards article { grid-template-columns: 1fr; }
    .ielts-step-grid,.ielts-related-grid { grid-template-columns: 1fr; }
    .ielts-footer-bottom { display: block; }
    .ielts-footer-bottom span { display: block; }
    .ielts-footer-bottom span:last-child { margin-top: 10px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,*::before,*::after { transition-duration: .01ms !important; }
}
