/* Approved college design layer. The export's utilities are scoped separately. */
.kalej-site-v2, .installment-portal {
    --v2-navy: #002b49;
    --v2-deep: #021c31;
    --v2-chalk: #f2f8fc;
    --v2-canvas: #fff;
    --v2-ink: #102d42;
    --v2-muted: #4d6577;
    --v2-accent-text: #2d681b;
    --v2-on-dark: #f1f8ff;
    --v2-line: #dbe7ee;
    --v2-lime: #89ee00;
    --v2-gold: #ffd46e;
    --v2-soft: #eaf5e5;
    --v2-radius: 21px;
    --v2-shadow: 0 18px 42px -31px #032b4d80;
    --v2-zip-hero:
        radial-gradient(circle at 1px 1px, #a6d8f217 1px, transparent 1.3px) 0 0 / 23px 23px,
        radial-gradient(circle at 14% 28%, rgba(33,117,139,.38),transparent 31%),
        radial-gradient(circle at 83% 74%, rgba(23,100,110,.23),transparent 42%),
        linear-gradient(130deg,#001b32,#002b49 55%,#032f4c);
    --v2-hero:
        radial-gradient(circle at 1px 1px, #a6d8f227 1px, transparent 1.3px) 0 0 / 23px 23px,
        radial-gradient(ellipse at 98% 12%, #064366, transparent 56%),
        linear-gradient(120deg, #031b2e, #032a45 76%, #043851);
    font-family: Vazirmatn, KalejVazirmatn, Tahoma, sans-serif;
}

html[data-theme="dark"] :is(.kalej-site-v2,.installment-portal) {
    --v2-chalk: #071e31;
    --v2-canvas: #102a40;
    --v2-ink: #e8f3fa;
    --v2-muted: #b7cedd;
    --v2-accent-text: #b6ef8c;
    --v2-line: #2b4c64;
    --v2-soft: #1e453c;
}

.kalej-v2-header { display: contents; }
.kalej-v2-skip-link { position: fixed; inset-block-start: .75rem; inset-inline-start: .75rem; z-index: 110; padding: .65rem 1rem; border-radius: .7rem; background: var(--v2-canvas); color: var(--v2-ink); }
.kalej-v2-skip-link:not(:focus) { clip-path: inset(50%); }
.kalej-v2-drawer-tools { display: flex; flex-wrap: wrap; gap: .55rem; margin-block-end: .65rem; }
.kalej-v2-region [hidden] { display: none !important; }
.kalej-v2-archive-intro { position:relative; overflow:clip; }
.kalej-v2-header [data-header] { z-index: 51; }
.kalej-v2-header [data-header] > div { min-width: 0; }
.kalej-v2-header [data-header] > div > nav { gap: clamp(.6rem, 1.15vw, 1.1rem); }
.kalej-v2-header [data-header] > div > nav > a,
.kalej-v2-header [data-header] > div > nav > div > a { white-space: nowrap; }
/* Release refinement: archive header. */
@media (min-width:1280px) {
    .kalej-v2-archive-page .kalej-v2-header [data-header] > .container-x { max-width:90rem; gap:.75rem; }
    .kalej-v2-archive-page .kalej-v2-header [data-header] > .container-x > nav { gap:clamp(.5rem,.78vw,.85rem); }
}
@media (min-width:1280px) and (max-width:1359px) {
    .kalej-v2-archive-page .kalej-v2-header [data-header] [data-kalej-header-actions] > [data-support-open] {
        font-size:0; gap:0; inline-size:2.75rem; flex:0 0 2.75rem; padding-inline:.45rem;
    }
}
/* End release refinement: archive header. */
.kalej-v2-header [data-header] nav a[aria-current="page"] { color: #28691a; font-weight: 850; }
.kalej-v2-header [data-header] > div > nav > a[aria-current="page"]::after,
.kalej-v2-header [data-header] > div > nav > div > a[aria-current="page"]::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-end: -.7rem;
    height: 3px;
    border-radius: 6px;
    background: #86e700;
}
.kalej-v2-header :is([data-drawer], [data-search]) { z-index: 95; }
.kalej-v2-header [data-search] input { min-height: 44px; font-size: 1rem; }
.kalej-v2-region :focus-visible { outline: 2px solid #377923; outline-offset: 3px; }
.kalej-v2-header [data-announce] :focus-visible, .kalej-v2-footer :focus-visible { outline-color: #baf798; }
.kalej-v2-live { max-height: min(56dvh, 32rem); margin-top: .65rem; padding: .65rem; overflow: auto; background: var(--v2-canvas); color: var(--v2-ink); border: 1px solid var(--v2-line); border-radius: var(--v2-radius); }
.kalej-v2-live li + li { margin-block-start: .3rem; }
.kalej-v2-live li a { display: flex; justify-content: space-between; align-items: center; gap: .65rem; min-height: 44px; padding: .5rem; border-radius: .6rem; font-size: .875rem; }
.kalej-v2-live li a:is(:hover,:focus-visible) { background: var(--v2-soft); }
.kalej-v2-live li small { flex-shrink: 0; }
html[data-theme="dark"] .kalej-v2-header :is([data-header], [data-drawer] .drawer-panel, [data-search] form) {
    background: var(--v2-canvas);
    color: var(--v2-ink);
}
html[data-theme="dark"] .kalej-v2-header :is(.nav-link, .icon-btn) { color: var(--v2-ink); }
html[data-theme="dark"] .kalej-v2-header [data-header] nav a[aria-current="page"] { color: #acf267; }
html[data-theme="dark"] .kalej-v2-header :is(.icon-btn, [data-kalej-query]) { background: var(--v2-chalk); border-color: var(--v2-line); }
.kalej-v2-footer [data-college-footer] .site-footer__trust a { display: inline-grid; place-items: center; width: 5rem; height: 5rem; overflow: hidden; text-align: center; }
.kalej-v2-footer .site-footer__trust img { max-width: 100%; max-height: 100%; object-fit: contain; font-size: .65rem; }
.kalej-v2-footer footer a { transition: color 160ms, border-color 160ms, translate 160ms; }
.kalej-v2-footer footer a:hover { translate: 0 -2px; }

.kalej-v2-archive-page { background: var(--v2-chalk); color: var(--v2-ink); }
.kalej-v2-archive-page .kalej-v2-archive-intro #kalej-v2-archive-title { color: var(--v2-on-dark); }
.kalej-v2-archive-page .kalej-v2-archive-intro .eyebrow-gold::before { background: #ffd166; }
.kalej-v2-archive-page .library-types a[aria-current] { color: #fff; background: #002b49; border-color: #24546d; }
.kalej-v2-archive-page .library-types a:not([aria-current]) { color: var(--v2-muted); }
.kalej-v2-archive-page .library-filter-bar { padding: .45rem; }
.kalej-v2-archive-page .article-featured { width: min(100% - 2rem,73.25rem); padding-inline: 0; padding-block-start: clamp(1.2rem,4vw,3.5rem); }
.kalej-v2-archive-page .article-featured article { display: grid; overflow: hidden; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: var(--v2-canvas); box-shadow: var(--v2-shadow); }
.kalej-v2-archive-page .article-featured__media { position: relative; min-width: 0; min-height: 8rem; aspect-ratio: 16/8; background: linear-gradient(135deg,var(--v2-chalk),#125373); }
.kalej-v2-archive-page .article-featured__media img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.kalej-v2-archive-page .article-featured__media span { position: absolute; inset-block-start: .85rem; inset-inline-start: .85rem; padding: .2rem .65rem; background: #ffd166; color: #152e40; border-radius: 5rem; font-size: .77rem; font-weight: 850; }
.kalej-v2-archive-page .article-featured__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .55rem; padding: clamp(1rem,3.5vw,2.4rem); }
.kalej-v2-archive-page .article-featured__body h2 { color: var(--v2-ink); font-size: clamp(1.05rem,2.3vw,1.85rem); font-weight: 880; line-height: 1.6; overflow-wrap: anywhere; }
.kalej-v2-archive-page .article-featured__body p { color: var(--v2-accent-text); font-size: .82rem; font-weight: 750; }
.kalej-v2-archive-page .article-featured__body time { color: var(--v2-muted); font-size: .83rem; }
.kalej-v2-archive-page .article-featured__body a { display: inline-flex; min-height: 44px; align-items: center; gap: .45rem; color: var(--v2-accent-text); text-decoration: underline; text-underline-offset: .27em; font-weight: 800; }
@media (min-width: 48rem) { .kalej-v2-archive-page .article-featured article { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.kalej-v2-archive-page :is(.library-content,.article-archive__list) { width: min(100% - 2rem, 73.25rem); max-width: none; padding-inline: 0; }
.kalej-v2-archive-page .library-content { position: relative; margin-top: clamp(-2.5rem, -4vw, -1rem); padding-block: 0 3rem; }
.kalej-v2-archive-page :is(.library-filter-bar,.library-card,.article-card) { background: var(--v2-canvas); border: 1px solid var(--v2-line); border-radius: var(--v2-radius); box-shadow: var(--v2-shadow); }
.kalej-v2-archive-page .library-card :is(h2,.library-card-price), .kalej-v2-archive-page .article-card h3 { color: var(--v2-ink); }
.kalej-v2-archive-page .library-card-action { background: var(--v2-soft); color: var(--v2-ink); }
.kalej-v2-archive-page .library-card :is(del,ins), .kalej-v2-region [data-hero-art] ins { background: transparent; color: inherit; }
.kalej-v2-region [data-hero-product] .screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.kalej-v2-region [data-hero-product] .amount { white-space: nowrap; }
.kalej-v2-region [data-hero-product] .amount bdi { display: inline-flex; gap: .2em; }
.kalej-v2-region [data-hero-product] del { color: #bed0da; }
.kalej-v2-archive-page .article-card:nth-child(even) { background: color-mix(in srgb, var(--v2-canvas) 65%, var(--v2-chalk)); }
.kalej-v2-archive-page .article-card time { color: var(--v2-muted); }
.kalej-v2-archive-page .article-archive__button { background: var(--v2-lime); color: var(--v2-deep); }
.kalej-v2-archive-page .article-archive__list { padding-block-start: clamp(1.5rem, 4vw, 3rem); }
.kalej-v2-archive-page :is(.library-search input,.library-sort select) { color: var(--v2-ink); background: var(--v2-canvas); }

.kalej-site-v2 :is(.college-editorial,.kalej-v2-search-results,.site-generic-page) {
    --ed-bg: var(--v2-chalk);
    --ed-paper: var(--v2-canvas);
    --ed-alt: var(--v2-chalk);
    --ed-ink: var(--v2-ink);
    --ed-copy: var(--v2-muted);
    --ed-line: var(--v2-line);
}
.kalej-site-v2 :is(.editorial-shell,.service-shell) { max-width: 73.25rem; }
.kalej-site-v2 :is(.editorial-hero,.service-hero,.site-generic-hero,.kalej-purchase-hero,.kalej-auth-layout > .hero-bg,.kalej-v2-search-results .hero-bg,.sp-hero) {
    background: var(--v2-zip-hero);
    color: #fff;
}
.kalej-site-v2 :is(.editorial-hero,.site-generic-hero,.kalej-purchase-hero) h1 {
    max-width: 30ch;
    font-size: clamp(1.65rem, 1.2rem + 2.4vw, 2.75rem);
    line-height: 1.55;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.kalej-site-v2 :is(.editorial-hero,.service-hero,.site-generic-hero,.kalej-purchase-hero,.kalej-v2-search-results .hero-bg):not(.editorial-article-hero,.editorial-resource-hero) h1 { color:#fff; }
.kalej-site-v2 :is(.editorial-hero,.service-hero,.site-generic-hero,.kalej-purchase-hero):not(.editorial-article-hero,.editorial-resource-hero) h1 :is(span,strong,b) { color:inherit; }
.kalej-site-v2 :is(.college-editorial,.single-product-main,.site-generic-page,.course-library,.article-archive,.college-dashboard,.kalej-auth-layout) :is(h1,h2,h3,h4,summary) { word-break:normal; overflow-wrap:break-word; }
.kalej-site-v2 :is(.editorial-hero,.service-hero,.site-generic-hero,.kalej-purchase-hero,.product-hero,.sp-hero) h1 { text-wrap:balance; }
.kalej-site-v2 :is(.college-editorial,.single-product-main,.site-generic-page) :is(p,li,dd) { word-break:normal; }
.kalej-site-v2 .college-info--service .service-hero { background:var(--v2-zip-hero); }
.kalej-site-v2 .college-info--service .service-hero__copy :is(h1,h1 span) { color:#fff; }
.kalej-site-v2 .college-info--service .service-hero__lead { color:#d0e2ec; }
.kalej-site-v2 .editorial-resource-single .editorial-resource-hero { background:var(--v2-canvas); color:var(--v2-ink); border-block-end:1px solid var(--v2-line); }
.kalej-site-v2 .editorial-resource-hero h1 { color:var(--v2-ink); max-width:42ch; }
.kalej-site-v2 .editorial-resource-hero :is(.editorial-crumb,p) { color:var(--v2-muted); }
.kalej-site-v2 .editorial-resource-single .editorial-resource-hero .editorial-tag { background:var(--v2-soft); color:var(--v2-accent-text); border-color:transparent; }
.kalej-site-v2 .editorial-resource-hero a:hover { color:var(--ed-link); }
.kalej-site-v2 .editorial-resource-hero a:focus-visible { outline-color:var(--ed-focus); }
.kalej-site-v2 .kalej-auth-layout #auth-heading { color:var(--v2-ink); line-height:1.55; font-size:clamp(1.38rem,3vw,2rem); }
.kalej-site-v2 .editorial-article { background:var(--v2-canvas); }
.editorial-read-progress { display:none; }
.kalej-site-v2 .editorial-read-progress { display:block; position:fixed; inset:0 0 auto; pointer-events:none; z-index:55; height:3px; }
.kalej-site-v2 .editorial-read-progress span { display:block; width:100%; height:100%; transform:scaleX(0); transform-origin:right; background:#89e517; }
.kalej-site-v2 .editorial-article .editorial-article-hero {
    background:var(--v2-canvas);
    color:var(--v2-ink);
    padding-block:clamp(1rem,2.6vw,2rem) clamp(1rem,3.4vw,2.5rem);
}
.kalej-site-v2 .editorial-article-hero .editorial-crumb { color:var(--v2-muted); margin-block-end:clamp(.8rem,3vw,2.1rem); }
.kalej-site-v2 .editorial-article-hero .editorial-crumb [aria-current] { color:var(--v2-ink); }
.kalej-site-v2 .editorial-article-hero__copy { display:grid; justify-items:center; text-align:center; }
.kalej-site-v2 .editorial-article-hero :is(.editorial-hero__tags,.editorial-byline,.editorial-hero__jumps) { justify-content:center; }
.kalej-site-v2 .editorial-article .editorial-article-hero .editorial-tag { background:var(--v2-soft); color:var(--v2-accent-text); border-color:transparent; }
.kalej-site-v2 .editorial-article .editorial-article-hero h1 {
    color:var(--v2-ink); margin:0; max-width:min(100%,58rem); font-size:clamp(1.55rem,3.7vw,2.8rem);
    font-weight:900; line-height:1.52; letter-spacing:normal; text-wrap:balance;
}
.kalej-site-v2 .editorial-article-hero :is(p,.editorial-byline) { color:var(--v2-muted); }
.kalej-site-v2 .editorial-article-hero p { max-width:48rem; text-wrap:pretty; }
.kalej-site-v2 .editorial-article-hero .editorial-byline { margin-block-start:.85rem; }
.kalej-site-v2 .editorial-article-hero__author { color:var(--v2-ink); font-weight:800; }
.kalej-site-v2 .editorial-article-hero__author span { display:grid; place-items:center; width:2rem; height:2rem; border-radius:50%; background:linear-gradient(130deg,#14627b,#002b49); color:#fff; }
.kalej-site-v2 .editorial-article-hero a:focus-visible { outline-color:var(--ed-focus); }
.kalej-site-v2 .editorial-article-hero a:hover,.kalej-site-v2 .editorial-article-hero__copy .editorial-hero__jumps a { color:var(--ed-link); }
.kalej-site-v2 .editorial-article-hero__cover { max-width:64rem; margin:clamp(.7rem,2.7vw,1.65rem) auto 0; border-radius:clamp(.8rem,2vw,1.65rem); background:var(--v2-chalk); }
.kalej-site-v2 .editorial-article-hero__cover img { aspect-ratio:auto; max-height:clamp(14rem,33vw,24rem); object-fit:contain; }
.kalej-site-v2 .editorial-reading__resources { min-width:0; align-self:start; }
.kalej-site-v2 .editorial-reading__resources > div { padding:1rem; border:1px solid var(--v2-line); border-radius:var(--v2-radius); background:var(--v2-chalk); }
.kalej-site-v2 .editorial-reading__resources h2 { margin-block-end:.55rem; font-size:.92rem; font-weight:850; }
.kalej-site-v2 .editorial-reading__resources a { display:flex; align-items:center; justify-content:space-between; gap:.4rem; min-height:42px; color:var(--ed-link); font-size:.84rem; }
.kalej-site-v2 .editorial-reading__resources a:hover { text-decoration:underline; }
@media(min-width:64rem) {
    .kalej-site-v2 .editorial-reading__layout--toc:has(.editorial-reading__resources) { grid-template-columns:minmax(10rem,14.8rem) minmax(0,1fr) minmax(9rem,13.75rem); grid-template-areas:"toc body resources"; }
    .kalej-site-v2 .editorial-reading__layout--toc .editorial-reading__resources { grid-area:resources; position:sticky; inset-block-start:6.5rem; }
}
.kalej-site-v2 :is(.editorial-tag,.service-kicker,.site-generic-kicker) {
    border-radius: 999px;
}
.kalej-site-v2 .editorial-hero .editorial-tag {
    background: rgb(255 212 110 / .11);
    border: 1px solid rgb(255 212 110 / .35);
    color: var(--v2-gold);
}
.kalej-site-v2 :is(.exam-card,.podcast-card,.reference-card,.college-service-card,.college-tool-card,.faculty-course,.editorial-resource-card,.editorial-copy,.contact-form-card) {
    border-color: var(--v2-line);
    border-radius: var(--v2-radius);
    box-shadow: var(--v2-shadow);
}
.kalej-site-v2 :is(.editorial-action,.college-info-button--primary,.service-button--primary,.college-tool-action--primary,.college-payment-primary,.kalej-auth-card [data-auth-form] button[type=submit]) {
    color: var(--v2-deep);
    background: var(--v2-lime);
    border-color: transparent;
    min-height: 44px;
}
.kalej-site-v2 .kalej-auth-card, .kalej-site-v2 .college-payment-card { border-radius: calc(var(--v2-radius) + 3px); box-shadow: var(--v2-shadow); }
.kalej-site-v2 #kalej-checkout-main :is(#customer_details,#order_review) { border-radius: var(--v2-radius); }
.kalej-commerce { background: var(--v2-chalk); color: var(--v2-ink); padding-block-end: clamp(2.5rem, 6vw, 5rem); }
.kalej-commerce__shell { width: min(calc(100% - 2rem), 73.25rem); margin-inline: auto; }
.kalej-commerce__hero { padding-block: clamp(1.25rem, 4vw, 3.4rem) clamp(2.4rem, 5vw, 4.5rem); }
.kalej-commerce__breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-block-end: 1rem; color: #d6e6ef; font-size: .82rem; }
.kalej-commerce__breadcrumbs a:hover { color: var(--v2-gold); }
.kalej-commerce__eyebrow { display: inline-block; padding: .32rem .75rem; border-radius: 999px; border: 1px solid #ffd46e70; color: var(--v2-gold); font-size: .8rem; font-weight: 800; }
.kalej-site-v2 .kalej-commerce__hero h1 { margin-block: .55rem .35rem; color: #fff; font-weight: 900; }
.kalej-commerce__hero p { max-width: 58ch; color: #d6e6ef; line-height: 1.85; font-size: clamp(.875rem, 2vw, 1rem); }
.kalej-checkout-steps { position: relative; margin-block: -1.15rem 0; padding: .4rem; background: var(--v2-canvas); border: 1px solid var(--v2-line); border-radius: 1rem; box-shadow: var(--v2-shadow); }
.kalej-checkout-steps ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .25rem; list-style: none; margin: 0; padding: 0; }
.kalej-checkout-steps li { display: flex; align-items: center; justify-content: center; gap: clamp(.2rem,1vw,.65rem); min-height: 2.75rem; min-width: 0; padding: .28rem; border-radius: .65rem; color: var(--v2-muted); font-size: clamp(.72rem, 2.7vw, .91rem); font-weight: 750; }
.kalej-checkout-steps li span { display: grid; flex: 0 0 auto; place-items: center; inline-size: 1.42rem; block-size: 1.42rem; border-radius: .45rem; background: var(--v2-chalk); }
.kalej-checkout-steps li:is([aria-current],.is-previous) { background: var(--v2-soft); color: var(--v2-ink); }
.kalej-checkout-steps li[aria-current] span { background: var(--v2-lime); color: var(--v2-deep); }
.kalej-commerce__content { margin-block-start: clamp(1.1rem, 3vw, 2rem); }
.kalej-commerce__content :is(form,.woocommerce,#order_review) { min-width: 0; overflow-wrap: anywhere; }
.kalej-commerce__content :is(.woocommerce-checkout input:not([type=hidden],[type=checkbox],[type=radio]),.hesabdari-coupon-box input) { font-size: 1rem; }
.kalej-commerce__content #order_review #payment { margin-block-start: 1rem; }
.kalej-commerce :focus-visible { outline-offset: 3px; }
.kalej-site-v2 .college-dashboard__body :is(.college-dashboard__card,.college-dashboard__stat,.college-payment-card) { border-radius: var(--v2-radius); }
.kalej-site-v2 .product-page-body--premium { background: linear-gradient(var(--v2-chalk), var(--v2-canvas)); }
.kalej-site-v2 :is(.product-page-body--free,.product-page-body--unpriced) { background: var(--v2-chalk); }
.kalej-site-v2 #course-purchase-section { scroll-margin-top: 5.5rem; }

/* Native WordPress content keeps the foreground paired with its own surface. */
.college-info--about :is(.hero-bg,.bg-navy) h2.text-white {
    color: var(--v2-on-dark);
}
.college-info--about .about-video-card :is(span.text-brand,div.text-brand) {
    color: var(--ed-good);
}
.college-dashboard .college-dashboard__empty h2 {
    color: var(--dash-ink);
}
.kalej-site-v2 .product-description-content a,
.kalej-site-v2 .product-course-meta__row dd a {
    color: var(--v2-accent-text);
}
.kalej-site-v2 .site-editor-content a:not(.wp-block-button__link) {
    color: var(--v2-accent-text) !important; /* Match the editor's authored-color override. */
    text-decoration-color: currentColor;
}
.kalej-site-v2 .college-editorial .single-post-share a[href^="https://t.me/share/"] {
    background-color: #00699f;
    color: #fff;
}
.kalej-site-v2 .college-editorial .single-post-share a[href^="https://t.me/share/"]:is(:hover,:focus-visible) {
    background-color: #005881;
}
.kalej-site-v2 .bf-select__trigger.is-placeholder .bf-select__value {
    color: var(--v2-muted);
}
.kalej-site-v2 .bf-control::placeholder {
    color: var(--v2-muted);
    opacity: 1;
}
.kalej-site-v2.kalej-site-v2 :is(.college-info--service,.college-info--contact) .bf-control::placeholder {
    color: var(--v2-muted) !important; /* Replace the existing page-level placeholder override. */
}
.kalej-commerce__content #payment :is(.hesabdari-payment-head-desc,.hesabdari-payment-desc,.hesabdari-payment-desc *) {
    color: var(--v2-muted);
}
html[data-theme="dark"] .kalej-commerce__content #payment .hesabdari-payment-label {
    background: var(--v2-canvas);
    border-color: var(--v2-line);
}
html[data-theme="dark"] .kalej-commerce__content #payment :is(.hesabdari-payment-label:hover,.hesabdari-payment-radio:checked + .hesabdari-payment-label,.payment_method_selected .hesabdari-payment-label) {
    background: var(--v2-soft);
    border-color: var(--v2-accent-text);
}
html[data-theme="dark"] .kalej-commerce__content #payment :is(.hesabdari-payment-head-title,.hesabdari-payment-title,.hesabdari-payment-title *) {
    color: var(--v2-ink);
}

/* Match text to each surface, especially where old WooCommerce and course utilities overlap. */
.kalej-site-v2 main :is(input,textarea)::placeholder,
.kalej-site-v2 #cert-request-form :is(input,textarea)::placeholder {
    color: var(--v2-muted) !important;
    opacity: 1;
}
.kalej-site-v2 .site-editor-content :not(pre) > code { color: var(--v2-accent-text); }
.kalej-site-v2 .kalej-v2-header [data-header] .leading-snug strong { color: var(--v2-ink); }
.kalej-site-v2 .kalej-v2-header [data-header] .leading-snug small { color: var(--v2-muted); }
.college-info--about .bg-gray-50 .text-brand.text-xs { color: var(--ed-good); }
.college-info--about .bg-navy .text-brand.text-xs { color: #b6ef8c; }
.college-info :is(.service-section-label,.service-requirements__copy > span,.services-index-faq__grid > div > span,.service-section-heading > span) {
    color: var(--ed-good);
}
.college-info :is(.services-index-card__number,.services-index-process__number,.service-section-index,
                  .service-signal-list article > span,.service-detail-card__head > span) {
    color: var(--ed-muted);
}
.college-info :is(.service-requirements__copy,.service-related__grid,.service-deliverables) p { color: var(--ed-muted); }
html[data-theme="dark"] .college-info :is(.service-section-label,.service-requirements__copy > span,.service-section-heading > span) {
    color: var(--ed-good);
}

.kalej-site-v2 .kalej-commerce__content :is(.text-gray-400,.hc-cart-coupon-note,.hc-coupon-label,.hesabdari-coupon-box summary) {
    color: var(--v2-muted) !important;
}
html[data-theme="dark"] .kalej-commerce__content :is(#customer_details .hesabdari-wc-label,#order_review h4,.woocommerce-cart-form__cart-item .product-name a,.woocommerce-Price-amount) {
    color: var(--v2-ink) !important;
}
html[data-theme="dark"] body.kalej-site-v2 .kalej-commerce__content :is(#customer_details .hc-checkout-card-head h2,.woocommerce-cart-form__cart-item h3 a) {
    color: var(--v2-ink) !important;
}
html[data-theme="dark"] body.kalej-site-v2 .kalej-commerce__content :is(.order-total,.hc-checkout-secure) {
    background: var(--v2-canvas) !important;
}
.kalej-site-v2 #order_review .order-total {
    background: var(--v2-soft) !important;
}
.kalej-site-v2 #order_review .order-total .text-gray-300 {
    color: var(--v2-ink) !important;
}
.kalej-site-v2 #order_review .order-total :is(.woocommerce-Price-amount,bdi,.woocommerce-Price-currencySymbol) {
    color: var(--v2-accent-text) !important;
}
html[data-theme="dark"] #kalej-checkout-main .order-total :is(.text-navy,.text-gray-300,.woocommerce-Price-currencySymbol) {
    color: var(--v2-ink) !important;
}
html[data-theme="dark"] .kalej-commerce__content :is(.bg-white,.bg-gray-50) {
    background-color: var(--v2-canvas) !important;
}
html[data-theme="dark"] .kalej-commerce__content :is([class~="bg-brand/5"],[class~="from-brand/5"],.hesabdari-coupon-box) {
    background: var(--v2-soft) !important;
}
html[data-theme="dark"] .kalej-commerce__content .text-brand { color: var(--v2-accent-text) !important; }

.kalej-site-v2 :is(.product-page-body,.editorial-article) .text-gray-400,
.kalej-site-v2 .product-page-body .text-gray-500 {
    color: var(--v2-muted);
}
.kalej-site-v2 .product-description-card__label,
.kalej-site-v2 .product-course-meta__head small,
.kalej-site-v2 .product-description-guide p,
.kalej-site-v2 .product-support-section__intro p { color: var(--v2-muted); }
.kalej-site-v2 .product-description-guide span:not(.product-description-guide__icon),
.kalej-site-v2 .product-description-eyebrow,
.kalej-site-v2 .product-support-section__intro small { color: var(--v2-accent-text); }
.kalej-site-v2 .product-page-body--premium :is(.product-description-eyebrow,.product-description-next-step div > span,.product-description-guide span:not(.product-description-guide__icon)) {
    color: var(--v2-accent-text) !important;
}
.kalej-site-v2 .product-page-body .purchase-method-card__head .text-gray-400 { color: #e1f4ee !important; }
.kalej-site-v2 .product-page-body .text-amber-600 { color: #80500c; }
.kalej-site-v2 .product-page-body .text-brand.text-base { color: var(--v2-accent-text); }
html[data-theme="dark"] .kalej-site-v2 :is(.product-support-section,.product-support-list li) {
    background: var(--v2-canvas) !important;
    border-color: var(--v2-line);
}
html[data-theme="dark"] .kalej-site-v2 :is(.product-support-section__intro h2,.product-support-list li strong) { color: var(--v2-ink); }
html[data-theme="dark"] .kalej-site-v2 .product-support-section__intro small { color: var(--v2-accent-text); }
html[data-theme="dark"] .kalej-site-v2 .product-page-body .text-amber-600 { color: #ffcf81; }

.kalej-site-v2 .course-archive-card-body :is(.course-archive-card-type,.course-archive-card-price strong) {
    color: var(--v2-accent-text);
}
/* Pair recommendation pricing with its card surface once the dashboard theme is applied. */
.college-dashboard .course-card-home-price {
    --recommend-price: #2d681b;
    --recommend-muted: #4d6577;
}
.college-dashboard .course-card-home-price > strong { color: var(--recommend-price); }
.college-dashboard .course-card-home-price small,
html[data-theme] .college-dashboard .course-card-home-price .course-card-home-regular { color: var(--recommend-muted) !important; }
html[data-theme="dark"] .college-dashboard .course-card-body:has(.course-card-home-price) {
    background-color: var(--dash-panel);
}
html[data-theme="dark"] .college-dashboard .course-card-home-price {
    --recommend-price: var(--dash-accent);
    --recommend-muted: var(--dash-muted);
}

.kalej-site-v2.page-template-page-land .text-gray-400.text-\[11px\] { color: #d8e9f5 !important; }
.college-tool-calculator #calculator .col-row:has(#p_gross_total) { background: var(--ed-alt) !important; color: var(--ed-ink); }
.college-tool-calculator #calculator button[style*="#28a745"] { background: #17663b !important; color: #fff !important; }

.installment-portal .inst-hero { background: var(--v2-hero); border-radius: var(--v2-radius); }
.installment-portal :is(.inst-card,.inst-shell .inst-primary) { border-radius: var(--v2-radius); }
.installment-portal .inst-shell .inst-primary { background: var(--v2-lime); color: var(--v2-deep); }
.kalej-v2-search-files { margin-block: 1.2rem; }
.kalej-v2-search-files h2 { margin-block: .75rem; color: var(--v2-ink); font-size: 1.35rem; font-weight: 850; }
.kalej-v2-search-files ul { display: grid; gap: .65rem; }
.kalej-v2-search-files li a { display: flex; align-items: center; justify-content: space-between; padding: .9rem; gap: .6rem; color: var(--v2-ink); background: var(--v2-canvas); border: 1px solid var(--v2-line); border-radius: .8rem; }
.kalej-site-v2 .site-v2-not-found { padding:clamp(2.5rem,7vw,6rem) 1rem; text-align:center; background:var(--v2-chalk); color:var(--v2-ink); }
.site-v2-not-found__code { position:relative; width:fit-content; margin-inline:auto; }
.site-v2-not-found__code b { display:block; color:var(--v2-ink); font-size:clamp(5rem,13vw,10rem); font-weight:900; line-height:1.1; }
.site-v2-not-found__code span { position:absolute; inset-inline-end:-.75rem; inset-block-start:.6rem; background:#ffd166; color:#593b07; border-radius:.7rem; padding:.24rem .55rem; transform:rotate(12deg); font-size:.72rem; font-weight:850; }
.site-v2-not-found h1 { color:var(--v2-ink); line-height:1.55; font-size:clamp(1.45rem,4vw,2.2rem); font-weight:900; text-wrap:balance; }
.site-v2-not-found p { max-width:43ch; margin:.75rem auto 1.25rem; color:var(--v2-muted); line-height:1.95; }
.site-v2-not-found form { display:flex; align-items:center; gap:.4rem; max-width:29rem; margin-inline:auto; padding:.45rem; background:var(--v2-canvas); border:1px solid var(--v2-line); border-radius:1rem; }
.site-v2-not-found input { flex:1; min-width:0; border:0; background:none; padding-inline:.52rem; color:var(--v2-ink); }
.site-v2-not-found form button { min-height:44px; padding-inline:.8rem; border-radius:.65rem; background:#002b49; color:#fff; font-weight:800; }
.site-v2-not-found__links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; max-width:42rem; margin:1.4rem auto; }
.site-v2-not-found__links a { display:grid; place-items:center; align-content:center; gap:.5rem; min-height:83px; padding:.6rem; border-radius:.9rem; border:1px solid var(--v2-line); background:var(--v2-canvas); font-weight:800; color:var(--v2-ink); }
.site-v2-not-found__links a:is(:hover,:focus-visible) { border-color:var(--v2-accent-text); }
.site-v2-not-found__links svg { color:var(--v2-accent-text); width:1.2rem; height:1.2rem; }
.site-v2-not-found__home { display:inline-grid; place-items:center; min-height:44px; padding-inline:1rem; border-radius:.78rem; background:var(--v2-lime); color:var(--v2-deep); font-weight:850; }
@media(min-width:47rem) { .site-v2-not-found__links { grid-template-columns:repeat(4,minmax(0,1fr)); } }

@media (max-width: 420px) {
    .kalej-v2-header [data-header] .icon-btn { width: 2rem; height: 2rem; min-width: 2rem; }
    .kalej-v2-header [data-header] img { width: 2.65rem; }
    .kalej-v2-header [data-header] strong { font-size: .82rem; }
    .kalej-v2-header [data-header] small { display: none; }
}
@media (max-width: 639px) {
    .kalej-v2-header [data-header] :is(.kalej-v2-cart,.kalej-v2-theme) { display: none; }
    .kalej-v2-header [data-header] > .container-x { position:relative; justify-content:center; min-height:3.65rem; height:auto; }
    .kalej-v2-header [data-header] [data-kalej-header-actions] { position:absolute; inset-inline:.65rem; inset-block:0; justify-content:flex-end; pointer-events:none; }
    .kalej-v2-header [data-header] [data-kalej-header-actions] > * { pointer-events:auto; }
    .kalej-v2-header [data-header] [data-drawer-open] { position:absolute; inset-inline-start:.25rem; inset-block-start:50%; transform:translateY(-50%); }
    .kalej-v2-header [data-header] > .container-x > a { gap:.25rem; }
    .kalej-site-v2 .course-announcement__title { font-size:clamp(.71rem,2.55vw,.86rem); line-height:1.48; }
    .kalej-site-v2 .course-announcement__title > span { display:inline; }
    .kalej-site-v2 .course-announcement__inner { padding-block:.38rem; min-height:0; gap:.6rem; }
    .kalej-site-v2 .course-announcement__cta { min-height:34px; padding-block:.3rem; }
}
@media (max-width: 1023px) {
    .kalej-v2-header [data-header] #hst-launcher.kalej-hst-header-button {
        display: inline-grid;
        place-items: center;
        inline-size: 2.35rem;
        block-size: 2.35rem;
        flex: 0 0 2.35rem;
        border-radius: .75rem;
        box-shadow: none;
    }
    .kalej-hst-header-button svg { inline-size: 1.15rem; block-size: 1.15rem; }
    .kalej-hst-header-button[aria-expanded="true"] .hst-launcher__chat,
    .kalej-hst-header-button[aria-expanded="true"] span { display: none; }
    .kalej-hst-header-button[aria-expanded="true"] .hst-launcher__close { display: block; }
    .hst-support.kalej-hst-docked .hst-panel {
        bottom: 0;
        max-height: min(650px, calc(100dvh - var(--hst-bottom) - 1.5rem));
        /* Make fields focusable on the same frame, even when opening by keyboard. */
        transition-property: opacity, transform;
    }
    .kalej-v2-footer footer { padding-bottom: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .kalej-v2-footer footer a { transition: none; }
}

/* Motion from the reviewed export, applied to the native controls and content. */
@keyframes kalej-zip-rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
.kalej-site-v2 .kalej-revealed { animation:kalej-zip-rise .6s cubic-bezier(0,0,.2,1) both; animation-delay:var(--kalej-reveal-delay,0ms); }
.kalej-site-v2 .kalej-revealed:focus-within { animation:none; }
.kalej-site-v2 [data-kalej-rise] > * { animation:kalej-zip-rise .7s cubic-bezier(0,0,.2,1) both; }
.kalej-site-v2 [data-kalej-rise] > :nth-child(2) { animation-delay:80ms; }
.kalej-site-v2 [data-kalej-rise] > :nth-child(3) { animation-delay:160ms; }
.kalej-site-v2 [data-kalej-rise] > :nth-child(4) { animation-delay:240ms; }
.kalej-site-v2 [data-kalej-rise] > :nth-child(n+5) { animation-delay:320ms; }
.kalej-v2-header [data-header] { transition:box-shadow .4s cubic-bezier(0,0,.2,1),background-color .4s; }
.kalej-v2-header [data-header].is-scrolled { box-shadow:0 10px 30px -12px #001d372e; }
.kalej-site-v2 :is(.article-card,.editorial-resource-card,.reference-card,.faculty-course,.college-service-card,.college-tool-card) {
    transition:translate .3s cubic-bezier(.22,1,.36,1), box-shadow .3s cubic-bezier(.22,1,.36,1);
}
@media(hover:hover) {
    .kalej-site-v2 :is(.article-card,.editorial-resource-card,.reference-card,.faculty-course,.college-service-card,.college-tool-card):hover {
        translate:0 -4px; box-shadow:0 22px 44px -22px #00223c47;
    }
}

.kalej-site-v2 .single-product-main { --kalej-course-width:73.25rem; }
.kalej-site-v2 .course-hero-shell { max-width:var(--kalej-course-width); padding-block:clamp(1.25rem,3.3vw,3.1rem); }
.kalej-site-v2 .product-hero-grid { gap:clamp(1.05rem,3vw,2.5rem); }
.kalej-site-v2 .product-hero-copy,.kalej-site-v2 .product-hero-content { gap:.7rem; min-width:0; }
.kalej-site-v2 .product-hero .course-hero-title {
    margin:0; max-width:none; font-size:clamp(1.55rem,3.1vw,2.55rem); line-height:1.52; letter-spacing:normal; text-wrap:balance;
}
.kalej-site-v2 .product-hero .course-hero-lead { max-width:52ch; text-wrap:pretty; }
.kalej-site-v2 .product-hero .course-kind { border-radius:99px; background:#ffe080; border-color:#ffe080; color:#3e2c04; }
.kalej-site-v2 .product-hero--free .course-kind { background:#c5f379; border-color:#c5f379; color:#183609; }
.kalej-site-v2 .product-hero .course-kind > span { background:currentColor; }
.kalej-site-v2 .course-hero-facts { display:flex; flex-wrap:wrap; gap:.42rem 1rem; margin:0; padding:0; list-style:none; color:var(--course-hero-muted,currentColor); }
.kalej-site-v2 .course-hero-facts li { display:inline-flex; align-items:center; gap:.35rem; font-size:.82rem; }
.kalej-site-v2 .course-hero-facts img { inline-size:2rem; block-size:2rem; border-radius:50%; object-fit:cover; object-position:top; border:1px solid #a4bdce; }
.kalej-site-v2 .course-hero-facts svg { inline-size:1rem; block-size:1rem; color:inherit; flex:none; }
.kalej-site-v2 .product-hero .course-quick-action { margin-block:0; }
.kalej-site-v2 .course-hero-details summary { min-height:35px; }
.kalej-site-v2 .course-section-nav { position:sticky; top:var(--kalej-sticky-header,4.5rem); z-index:38; background:var(--v2-canvas); border-block-end:1px solid var(--v2-line); }
.kalej-site-v2 .course-section-nav__inner { width:min(100% - 2rem,var(--kalej-course-width)); margin-inline:auto; display:flex; align-items:stretch; gap:clamp(.4rem,2vw,1.35rem); overflow-x:auto; scrollbar-width:thin; }
.kalej-site-v2 .course-section-nav a { flex:none; display:flex; align-items:center; min-height:46px; padding-inline:.22rem; border-block-end:2px solid transparent; color:var(--v2-muted); font-size:.85rem; font-weight:800; transition:border-color .3s,color .3s; }
.kalej-site-v2 .course-section-nav a:is(:hover,[aria-current]) { color:var(--v2-ink); border-color:#72d10c; }
.kalej-site-v2 .course-section-nav a:focus-visible { outline-offset:-2px; }
.kalej-site-v2 .single-product-main :is(#course-intro,#course-curriculum,#product-teachers-title,#faq-section,#reviews-section,#course-purchase-section) {
    scroll-margin-block-start:calc(var(--kalej-sticky-header,4.5rem) + 3.75rem);
}
.kalej-site-v2 .product-page-body > .max-w-7xl { max-width:var(--kalej-course-width); }
.kalej-site-v2 .product-main-column { min-width:0; }
.kalej-site-v2 .product-purchase-sidebar { min-width:0; top:calc(var(--kalej-sticky-header,4.5rem) + 4rem); }
.kalej-site-v2 .product-main-column :is(.course-curriculum-panel,.course-learning-panel,.product-description-panel,.product-teachers-section) { background:var(--v2-canvas); border-color:var(--v2-line); border-radius:var(--v2-radius); }
.kalej-site-v2 .product-main-column :is(.chapter-toggle,.faq-toggle) > .flex-1 { min-width:0; overflow-wrap:break-word; }
.kalej-site-v2 .product-main-column :is(.chapter-toggle,.faq-toggle) :is(.text-gray-400,.text-gray-500) { color:var(--v2-muted); }
.kalej-site-v2 .product-chapter .chapter-toggle { list-style:none; }
.kalej-site-v2 .product-chapter .chapter-toggle::-webkit-details-marker { display:none; }
.kalej-site-v2 .product-chapter[open] .chapter-icon { transform:rotate(180deg); }
@media(min-width:64rem) {
    .kalej-site-v2 .product-page-body > .max-w-7xl > .grid { grid-template-columns:minmax(0,1fr) minmax(0,23.125rem); gap:clamp(1rem,3vw,2rem); align-items:start; }
    .kalej-site-v2 .product-page-body > .max-w-7xl > .grid > * { grid-column:auto; }
    .kalej-site-v2 .product-hero-media { max-width:29rem; width:100%; justify-self:end; }
}
@media(max-width:36rem) {
    .kalej-site-v2 .course-hero-facts { gap:.3rem .7rem; }
    .kalej-site-v2 .product-main-column :is(.chapter-toggle,.faq-toggle) { gap:.55rem; padding-inline:.85rem; }
}
@media(max-width:639px) {
    .kalej-site-v2 .single-product-main .course-hero-shell:has(.product-hero-media) { padding-block-start:0; }
    .kalej-site-v2 .single-product-main .product-hero .course-hero-title { font-size:clamp(1.37rem,5.55vw,1.78rem); }
}

/* Native long-form surfaces use the same reading canvas as the export, not fixed-width editor blocks. */
.kalej-site-v2 :is(.site-generic-content,.editorial-reading__column,.editorial-resource-body__copy,.product-description-content) {
    min-inline-size:0;
}
.kalej-site-v2 :is(.site-generic-content .site-editor-content,.editorial-prose,.product-description-content)
    :is(p,li,dd,figcaption,blockquote) { line-height:1.9; }
.kalej-site-v2 :is(.site-generic-content .site-editor-content,.editorial-prose,.product-description-content)
    :is(h2,h3,h4) { color:var(--v2-ink); line-height:1.55; text-wrap:balance; }
.kalej-site-v2 :is(.site-generic-content .site-editor-content,.editorial-prose,.product-description-content)
    :is(.wp-block-embed,.wp-block-video,.wp-block-image,.wp-block-gallery,.wp-block-table) { max-inline-size:100%; margin-inline:0; }
.kalej-site-v2 :is(.site-generic-content .site-editor-content,.editorial-prose,.product-description-content)
    :is(.wp-block-table,pre) { max-inline-size:100%; overflow-x:auto; }
.kalej-site-v2 :is(.site-generic-content .site-editor-content,.editorial-prose,.product-description-content)
    :is(img,video,iframe) { max-inline-size:100%; }
.kalej-site-v2 .site-generic-content .site-editor-content { color:var(--v2-ink); background:var(--v2-canvas); border-color:var(--v2-line); }
.kalej-site-v2 .editorial-article .editorial-reading__column > .editorial-prose { padding-inline:clamp(.85rem,2.2vw,1.75rem); }
.kalej-site-v2 .editorial-reading__column .post-quiz-shell { color:var(--v2-ink); }
.kalej-site-v2 :is(.reference-card,.exam-card,.podcast-card,.college-service-card,.college-tool-card,.faculty-course,.editorial-resource-card) :is(h2,h3,p) {
    overflow-wrap:break-word;
}
@media(max-width:639px) {
    .kalej-site-v2 .editorial-article .editorial-article-hero h1 { text-wrap:pretty; }
    .kalej-site-v2 .editorial-article-hero__cover img { display:block; width:100%; min-height:0; max-height:16rem; }
}
@media(prefers-reduced-motion:reduce) {
    .kalej-site-v2 :is([data-kalej-rise] > *, .kalej-revealed) { animation:none; }
    .kalej-site-v2 :is(.article-card,.editorial-resource-card,.reference-card,.faculty-course,.college-service-card,.college-tool-card,.course-section-nav a,.kalej-v2-header [data-header]) { transition:none; translate:none; }
}
