/* Bridge the exact KalviYogi components and Edunivra's working academic tools. */
.ed-home.marketing-home {
    --ink-rgb: 255,255,255;
    --text-primary: #fff;
    --eh-display: var(--font-body,Outfit), "Noto Sans Tamil", sans-serif;
    --eh-ink: var(--mh-copy);
    --eh-muted: var(--mh-muted);
    --eh-cobalt: var(--mh-gold-strong);
    --eh-line: var(--mh-line);
    --ec-ink: var(--mh-copy);
    --ec-muted: var(--mh-muted);
    --ec-blue: var(--mh-gold-strong);
    --ec-rule: var(--mh-line);
    color-scheme: dark;
    font: 400 1rem/1.6 var(--eh-display);
}
html[data-theme="light"] .ed-home.marketing-home { --ink-rgb: 19,20,21; --text-primary: #101114; color-scheme: light; }
.marketing-home :is(h1,h2,h3,summary) { font-family: inherit; font-weight: 700; }
.marketing-home .mh-hero { position: relative; }
.marketing-home :is(a,button,summary,select,input):focus-visible { outline: 3px solid var(--mh-gold); outline-offset: 4px; }
.ed-home.marketing-home .mh-proof-item:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.ed-home.marketing-home .mh-player-progress { pointer-events: none; }
.ed-home.marketing-home .mh-episode-image .mh-duration { color: #fff; background: #202124; }
.ed-home.marketing-home .eh-notices { width: min(1160px,calc(100% - 40px)); background: var(--mh-ink); }
.ed-home.marketing-home .eh-notices .internship-notice { color: var(--mh-muted); }
.ed-home.marketing-home .internship-actions a { color: var(--mh-gold-strong); }
.ed-home.marketing-home .internship-pause { color: var(--mh-muted); background: transparent; border-color: var(--mh-line); }
.ed-home.marketing-home .ec-finder { --ec-ink:var(--mh-copy); --ec-muted:var(--mh-muted); --ec-blue:var(--mh-gold-strong); --ec-rule:var(--mh-line); }
.ed-home.marketing-home .ec-layout { display: block; }
.ed-home.marketing-home .ec-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 1rem 2rem; margin-bottom: 29px; }
.ed-home.marketing-home .ec-intro h2 { max-width: none; }
.ed-home.marketing-home .cs-course-intro>p[lang=ta] { margin-top: 9px; color: var(--mh-muted); font-size: .93rem; line-height: 1.8; }
.ed-home.marketing-home .ec-support { text-align: end; border: 0; padding: 0; margin: 0; }
.ed-home.marketing-home .ec-support a, .ed-home.marketing-home .ec-fallback a,
.ed-home.marketing-home .ec-clear { color: var(--mh-gold-strong); }
.ed-home.marketing-home .ec-catalog { background: transparent; border: 0; }
.ed-home.marketing-home .ec-search { padding: 0; }
.cs-course-filters { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 14px; }
.ed-home.marketing-home .cs-course-filters label { color: var(--mh-copy); font-size: .86rem; }
.ed-home.marketing-home .cs-course-filters :is(input,select) {
    width: 100%; min-width: 0; min-height: 46px; border: 1px solid rgba(var(--ink-rgb),.32);
    border-radius: 12px; background: var(--mh-panel); color: var(--mh-copy); font: 500 .97rem/1.4 var(--eh-display);
}
.ed-home.marketing-home .cs-course-filters select { padding: .6rem .9rem; }
.ed-home.marketing-home .ec-field::before { border-color: var(--mh-muted); }
.ed-home.marketing-home .ec-field::after { background: var(--mh-muted); }
.ed-home.marketing-home .cs-course-filters input::placeholder, .ed-home.marketing-home .ec-feedback p { color: var(--mh-muted); }
.ed-home.marketing-home #ec-groups { display: grid; gap: 10px; }
.ed-home.marketing-home .ec-group { padding: 0; border: 1px solid var(--mh-line); border-radius: 16px; background: var(--mh-panel); }
.ed-home.marketing-home .ec-group>summary { min-height: 51px; padding: 11px 18px; border-radius: 16px; background: transparent; color: var(--mh-copy); font: 700 1.03rem/1.4 var(--eh-display); }
.ed-home.marketing-home .ec-group>summary:hover { background: rgba(var(--ink-rgb),.035); }
.ed-home.marketing-home .ec-count { color: var(--mh-muted); font-family: var(--eh-display); }
.ed-home.marketing-home .ec-chevron { border-color: var(--mh-gold-strong); }
.ed-home.marketing-home .ec-group ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 0 14px 14px; }
.ed-home.marketing-home .ec-group li { display: flex; flex-direction: column; align-items: start; gap: 7px; padding: 16px; border: 1px solid var(--mh-line); border-radius: 12px; background: var(--mh-panel-soft); }
.ed-home.marketing-home .ec-group li[hidden] { display: none; }
.ed-home.marketing-home .ec-group h3 { color: var(--mh-copy); font: 700 1.06rem/1.4 var(--eh-display); }
.ed-home.marketing-home .ec-group .ec-fee { display: flex; flex-wrap: wrap; gap: .35rem; align-items: baseline; color: var(--mh-muted); }
.ed-home.marketing-home .ec-fee strong { margin: 0; color: var(--mh-copy); }
.ed-home.marketing-home .ec-group li a { margin-top: auto; min-height: 41px; padding: .25rem 0; border: 0; background: transparent; color: var(--mh-gold-strong); font-weight: 700; }
.ed-home.marketing-home .ec-fallback { padding: 22px; border: 1px solid var(--mh-line); border-radius: 18px; background: var(--mh-panel); }
.ed-home.marketing-home .ec-fallback p { color: var(--mh-muted); }
.ed-home.marketing-home .cs-products .cs-product-mark { display: block; grid-area:auto; width: 53px; height: 53px; padding: 3px; border: 1px solid var(--mh-line); border-radius: 13px; object-fit: contain; background: white; }
.ed-home.marketing-home .cs-products .cs-science-mark { padding: 0; object-fit: cover; object-position: 33% center; }
.ed-home.marketing-home .cs-products .cs-card-action { color: var(--mh-gold-strong); }
.ed-home.marketing-home .eh-study-links, .cs-more-tools { display:flex; gap: 8px 18px; flex-wrap:wrap; }
.ed-home.marketing-home :is(.eh-study-links,.cs-more-tools) a { padding: 4px 0; border:0; color: var(--mh-gold-strong); font-size: .89rem; font-weight: 700; }
.cs-more-tools { margin-top:16px; }
.cs-film-strip { display:flex; align-items:center; justify-content:space-between; gap:14px 26px; margin-top:18px; padding:18px; background:var(--mh-card); border:1px solid var(--mh-line); border-radius:18px; }
.cs-film-intro,.cs-film-actions { display:flex; gap:12px; align-items:center; }
.cs-film-icon { display:grid; place-items:center; flex:none; width:42px; height:42px; border-radius:12px; color:var(--mh-gold-strong); background:var(--mh-gold-tint); }
.ed-home.marketing-home .cs-film-strip h3 { color:var(--mh-copy); font-size:1.05rem; }
.ed-home.marketing-home .cs-film-strip p { color:var(--mh-muted); font-size:.88rem; }
.ed-home.marketing-home .cs-film-strip .eh-film-launch { display:inline-flex; width:auto; min-height:42px; align-items:center; gap:8px; margin:0; padding:.52rem .82rem; border-radius:10px; background:linear-gradient(135deg,var(--mh-gold-fill),var(--mh-gold-fill-2)); color:var(--mh-on-gold); font-size:.87rem; white-space:nowrap; }
.ed-home.marketing-home .cs-film-tamil { color:var(--mh-gold-strong); font-size:.8rem; white-space:nowrap; }
.ed-home.marketing-home .ew-heading { align-items:end; }
.ed-home.marketing-home .ew-heading .mh-section-copy { color:var(--mh-muted); font-size:.95rem; line-height:1.8; }
.ed-home.marketing-home .ew-reasons article, .ed-home.marketing-home .ew-experiment { border-color:var(--mh-line); }
.ed-home.marketing-home .ew-experiment { background:var(--mh-panel); }
.ed-home.marketing-home .ew-reasons h3, .ed-home.marketing-home .ew-experiment-body strong { color:var(--mh-copy); font-family:var(--eh-display); }
.ed-home.marketing-home .ew-reasons p, .ed-home.marketing-home .ew-experiment-body>span:not([id]) { color:var(--mh-muted); }
.ed-home.marketing-home .ew-reasons a, .ed-home.marketing-home #ew-lab-action { color:var(--mh-gold-strong); }
.ed-home.marketing-home .eh-lab-description .eh-lab-all { margin:18px 0; text-decoration:none; }
.ed-home.marketing-home .eh-lab-links, .ed-home.marketing-home .eh-lab-links a { border-color:var(--mh-line); }
.ed-home.marketing-home .eh-lab-links :is(a,i) { color:var(--mh-gold-strong); }
.ed-home.marketing-home .ed-campus-card { display:block; margin:48px 0 0; padding:clamp(16px,2.7vw,30px); border:1px solid var(--mh-line); border-radius:24px; background:var(--mh-panel); }
.ed-campus-head { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.ed-home.marketing-home .ed-campus-head a, .ed-home.marketing-home .eh-small-links a, .ed-home.marketing-home .eh-text-link { color:var(--mh-gold-strong); font-weight:700; }
.ed-home.marketing-home .ed-campus-card figure { width:fit-content; max-width:100%; margin:0 auto; }
.ed-home.marketing-home .ed-campus-main { display:block; width:auto; max-width:100%; height:clamp(160px,24vw,340px); object-fit:contain; border-radius:13px; }
.ed-home.marketing-home .ed-campus-caption { display:flex; justify-content:space-between; gap:12px; margin-top:9px; color:var(--mh-copy); font-weight:650; }
.ed-campus-caption small { color:var(--mh-muted); }
.ed-campus-thumbs { display:flex; justify-content:center; flex-wrap:wrap; gap:6px; margin-top:14px; }
.ed-campus-thumbs[hidden] { display:none; }
.ed-campus-thumbs button { padding:2px; border:2px solid transparent; border-radius:8px; background:transparent; cursor:pointer; }
.ed-campus-thumbs button[aria-pressed=true] { border-color:var(--mh-gold); }
.ed-campus-thumbs img { display:block; width:var(--thumb-width,62px); height:38px; object-fit:cover; border-radius:4px; }
.ed-home.marketing-home .eh-about-list, .ed-home.marketing-home .eh-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; border:0; margin:22px 0 0; padding:0; }
.ed-home.marketing-home :is(.eh-about-list>article,.eh-community,.eh-pair article) { padding:20px; border:1px solid var(--mh-line); border-radius:18px; background:var(--mh-panel); }
.ed-home.marketing-home :is(.eh-about-list,.eh-pair) :is(h3,summary) { color:var(--mh-copy); }
.ed-home.marketing-home :is(.eh-about-list,.eh-pair) :is(p,li) { color:var(--mh-muted); }
.ed-home.marketing-home .eh-community>details { border-color:var(--mh-line); }
@media (max-width:940px) {
    .ed-home.marketing-home .ec-group ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
    .ed-home.marketing-home .ec-intro { grid-template-columns:minmax(0,1fr); }
    .ed-home.marketing-home .ec-support { text-align:start; }
    .cs-film-strip { align-items:start; flex-direction:column; }
    .cs-film-actions { flex-wrap:wrap; }
    .ed-home.marketing-home .eh-about-list, .ed-home.marketing-home .eh-pair { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:520px) {
    .cs-course-filters, .ed-home.marketing-home .ec-group ul { grid-template-columns:minmax(0,1fr); }
    .ed-campus-thumbs { --thumb-width:43px; }
    .ed-home.marketing-home .eh-notices { width:calc(100% - 28px); }
}
@media (max-width:640px) {
    html:has(main.marketing-home) { scroll-padding-bottom:calc(86px + env(safe-area-inset-bottom,0px)); }
    body:has(main.marketing-home) { padding-bottom:calc(86px + env(safe-area-inset-bottom,0px)); }
    .marketing-home :is(a,button,input,select,summary):focus-visible { scroll-margin-bottom:calc(82px + env(safe-area-inset-bottom,0px)); }
    body:has(dialog[open]) .marketing-home .mh-mobile-cta { visibility:hidden; }
}
