/**
 * Kutby Education — critical CSS
 *
 * Small "above the fold" snippet shared by every education view (grade,
 * term, subject, file): CSS custom properties, base reset, the `.home-panel`
 * / `.home-cards-grid` primitives, and the sticky header + hero-search
 * pieces. Extracted verbatim from the inline <style> block present in the
 * <head> of the approved static HTML (new/*.html).
 *
 * @package Kutby
 */

body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Never zero html margin — WordPress admin-bar relies on html { margin-top }. */
html {
    padding: 0;
    scroll-behavior: smooth;
}

:root {
    --font-tajawal: "Tajawal", "Tajawal Fallback", system-ui, sans-serif;
    --font-inter: "Inter", system-ui, sans-serif;
    --bg-main: #f8fafc;
    --bg-card: #fff;
    --bg-card-alt: #f8f9fb;
    --text-main: #0f172a;
    --text-secondary: #1e293b;
    --text-muted: #475569;
    --text-muted-light: #334155;
    --border-main: #e8eaed;
    --border-light: #f1f5f9;
    --border-card: #e2e8f0;
}

body {
    background-color: var(--bg-main) !important;
    color: var(--text-main) !important;
    font-family: Tajawal, "Tajawal Fallback", system-ui, sans-serif !important;
}

html[dir="ltr"] body,
html[dir="ltr"] body.__className_e1299a,
html[dir="ltr"] .__className_e1299a {
    font-family: Inter, Tajawal, "Tajawal Fallback", system-ui, sans-serif !important;
}

html,
body.__className_e1299a,
.__className_e1299a {
    font-family: Tajawal, "Tajawal Fallback", system-ui, sans-serif !important;
}

html[dir="ltr"],
html[dir="ltr"] body.__className_e1299a,
html[dir="ltr"] .__className_e1299a {
    font-family: Inter, Tajawal, "Tajawal Fallback", system-ui, sans-serif !important;
}

/* WordPress admin bar clearance for sticky site header */
html:has(body.admin-bar) {
    margin-top: 32px !important;
}

@media screen and (max-width: 782px) {
    html:has(body.admin-bar) {
        margin-top: 46px !important;
    }
}

body.admin-bar .site-sticky-header {
    top: var(--wp-admin--admin-bar--height, 32px) !important;
}

body.admin-bar .blog-sidebar {
    top: calc(72px + var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-sticky-header {
        top: var(--wp-admin--admin-bar--height, 46px) !important;
    }

    body.admin-bar .blog-sidebar {
        top: calc(72px + var(--wp-admin--admin-bar--height, 46px));
    }
}

/* WP admin bar becomes position:absolute below 600px and scrolls away. */
@media screen and (max-width: 600px) {
    body.admin-bar .site-sticky-header {
        top: 0 !important;
    }

    body.admin-bar .blog-sidebar {
        top: 72px;
    }
}

/* Home / education panel primitive ------------------------------------ */

.home-panel {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    padding: 16px 16px 14px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
    width: 100%;
}

.home-cards-grid {
    display: grid;
    gap: 12px;
}

.home-cards-grid.cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-cards-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-cards-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-cards-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-cards-grid > * {
    min-width: 0;
}

.home-cards-grid .phv2-item,
.home-cards-grid > a {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-cards-grid .phv2-item > a,
.home-cards-grid > a {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-cards-grid .phv2-card {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .home-cards-grid.cols-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home-cards-grid.cols-3,
    .home-cards-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-cards-grid.cols-5,
    .home-cards-grid.cols-3,
    .home-cards-grid.cols-4,
    .home-cards-grid.cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Sticky header --------------------------------------------------------- */

#site-search:focus {
    background: transparent !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.site-header-inner {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
    height: 56px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.header-end,
.header-nav-tabs {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.header-nav-link {
    align-items: center;
    color: #334155;
    display: flex;
    font-size: 11.5px;
    font-weight: 600;
    gap: 5px;
    height: 36px;
    padding: 0 2px;
    text-decoration: none;
    transition: color .15s;
    white-space: nowrap;
}

.header-nav-link.is-active,
.header-nav-link:hover {
    color: #e11d48;
}

.header-nav-link.is-active .header-nav-icon {
    color: #e11d48;
    opacity: 1;
}

.header-nav-icon {
    color: #475569;
    display: flex;
    opacity: .65;
}

.header-nav-icon--android,
.header-nav-icon--windows {
    opacity: 1;
}

.header-nav-link.is-active .header-nav-icon--android {
    color: #3DDC84;
}

.header-nav-link.is-active .header-nav-icon--windows {
    color: #0078D4;
}

.header-separator {
    background: #e8edf3;
    flex-shrink: 0;
    height: 22px;
    width: 1px;
}

@media (max-width: 1024px) {
    .header-nav-tabs,
    .header-separator {
        display: none !important;
    }
}

.header-search-form {
    align-items: center;
    background: var(--bg-card-alt);
    border: 1px solid var(--border-card);
    border-radius: 30px;
    display: flex;
    height: 44px;
    margin: 0;
    min-width: 0;
    position: relative;
    transition: border-color .12s ease, background-color .12s ease;
    width: 100%;
}

.header-search-form:hover,
.header-search-form:focus-within {
    border-color: #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

.header-search-form button {
    color: #64748b;
    transition: color .15s ease;
}

.header-search-form button:hover,
.header-search-form button:focus-visible {
    color: #2563eb;
}

.header-search-input {
    min-width: 0;
    text-overflow: ellipsis;
}

.header-search-input::placeholder {
    opacity: 1;
    text-overflow: ellipsis;
}

/* Mobile header toolbar: logo + icon search + globe + compact menu */
@media (max-width: 768px) {
    .site-sticky-header {
        max-width: 100%;
    }

    .site-header-inner {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        height: 52px;
        position: relative;
    }

    .site-header-logo-link {
        min-width: 0;
        max-width: min(128px, 42vw);
        flex-shrink: 0;
    }

    .site-header-logo {
        max-width: 100% !important;
        height: auto !important;
        max-height: 34px !important;
        width: auto !important;
    }

    .header-search-container {
        width: auto !important;
        flex: 0 0 auto;
        margin-inline-start: auto;
        position: static;
    }

    .header-search-form,
    .kutby-lang-switcher--header .kutby-lang-switcher__toggle,
    .hamburger-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        border-radius: 9px !important;
        border: 1px solid #e8edf3 !important;
        background: #f8fafc !important;
        padding: 0 !important;
        box-sizing: border-box;
        justify-content: center !important;
        align-items: center !important;
        display: inline-flex !important;
        color: #64748b;
        cursor: pointer;
        flex-shrink: 0;
    }

    .header-search-form {
        display: flex !important;
    }

    .header-search-form > button {
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        flex-shrink: 0;
        background: transparent !important;
        border: 0 !important;
        color: #64748b;
    }

    .header-search-form > button svg,
    .kutby-lang-switcher--header .kutby-lang-switcher__globe svg,
    .hamburger-btn svg {
        width: 15px !important;
        height: 15px !important;
    }

    .header-search-form:not(.is-search-open) .site-search-field {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .header-search-form.is-search-open {
        position: absolute;
        inset-inline: 10px;
        top: calc(100% + 6px);
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 44px !important;
        max-height: 44px !important;
        z-index: 140;
        box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
        background: #fff !important;
        border-color: #e2e8f0 !important;
        border-radius: 12px !important;
    }

    .header-search-form.is-search-open .site-search-field {
        position: relative !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        clip: auto !important;
        overflow: visible !important;
        flex: 1;
        min-width: 0;
    }

    .header-search-form.is-search-open .header-search-input,
    .header-search-form.is-search-open .site-search-input {
        font-size: 14px !important;
        padding-inline-start: 8px !important;
    }

    .header-end {
        gap: 5px;
        min-width: 0;
        flex-shrink: 0;
    }

    .kutby-lang-switcher--header .kutby-lang-switcher__toggle-label,
    .kutby-lang-switcher--header .kutby-lang-switcher__name,
    .kutby-lang-switcher--header .kutby-lang-switcher__flag,
    .kutby-lang-switcher--header .kutby-lang-switcher__flag-emoji,
    .kutby-lang-switcher--header .kutby-lang-switcher__caret {
        display: none !important;
    }

    .kutby-lang-switcher--header .kutby-lang-switcher__toggle {
        gap: 0 !important;
    }
}

@media (max-width: 430px) {
    .site-header-inner {
        gap: 6px;
        padding: 0 10px;
    }

    .site-header-logo-link {
        max-width: min(112px, 38vw);
    }

    .header-end {
        gap: 4px;
    }
}

/* Hero search widget (shared with homepage) ----------------------------- */

.hero-search {
    --hero-ink: #0f172a;
    --hero-muted: #64748b;
    --hero-line: #e2e8f0;
    --hero-accent: #2563eb;
    --hero-android: #059669;
    --hero-windows: #1d4ed8;
    --hero-ios: #64748b;
    --hero-linux: #d97706;
    --hero-drivers: #4f46e5;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hero-line);
    border-radius: 20px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f3f7fc 100%);
    font-family: Tajawal, "Tajawal Fallback", system-ui, sans-serif;
    padding: 0;
}

.hero-search::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(37, 99, 235, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .55;
    mask-image: radial-gradient(ellipse 85% 80% at 70% 50%, #000 15%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 85% 80% at 70% 50%, #000 15%, transparent 75%);
}

.hero-search-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, .9fr);
    gap: 0;
    align-items: stretch;
    min-height: 280px;
}

.hero-search-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 28px 26px 22px;
    text-align: start;
}

.hero-search-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--hero-accent);
}

.hero-search-title {
    color: var(--hero-ink);
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0 0 10px;
}

.hero-search-title-lead {
    font-weight: 600;
    color: #64748b;
    font-size: .78em;
}

.hero-search-highlight {
    color: var(--hero-ink);
    display: inline;
    font-weight: 800;
}

.hero-search-desc {
    color: var(--hero-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    margin: 0 0 18px;
    max-width: 34rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.hero-search-form {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    display: flex;
    gap: 0;
    height: 52px;
    margin: 0 0 14px;
    max-width: 100%;
    overflow: hidden;
    /* Input side keeps air; submit sits flush on inline-end (left in RTL). */
    padding-block: 0;
    padding-inline-start: 8px;
    padding-inline-end: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.hero-search-form:focus-within,
.hero-search-form:hover {
    border-color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}

/* Kill global :focus-visible blue ring on hero search — soft shell shadow only. */
.hero-search-form :focus,
.hero-search-form :focus-visible,
.hero-search-input:focus,
.hero-search-input:focus-visible,
.hero-search-btn:focus,
.hero-search-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.hero-search-form .site-search-field {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    align-self: stretch;
    height: auto;
}

.hero-search-input {
    background: transparent;
    border: none;
    color: #1e293b;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;
    min-height: 40px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    outline: none;
    padding: 0 12px;
    text-align: start;
    overflow: visible;
    -webkit-appearance: none;
    appearance: none;
}

.hero-search-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
    opacity: 1;
    line-height: 1.5;
}

.hero-search-btn {
    align-items: center;
    background: var(--hero-accent);
    border: none;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    align-self: stretch;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    gap: 5px;
    height: 100%;
    justify-content: center;
    padding: 0 14px;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: #1d4ed8;
}

.hero-search-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.hero-search-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: color .15s ease;
}

.hero-search-platform:hover {
    color: var(--hero-ink);
}

.hero-search-platform--android {
    color: var(--hero-android);
}

.hero-search-platform--windows {
    color: var(--hero-windows);
}

.hero-search-platform--ios {
    color: var(--hero-ios);
}

.hero-search-platform--linux {
    color: var(--hero-linux);
}

.hero-search-platform--drivers {
    color: var(--hero-drivers);
}

.hero-search-visual {
    position: relative;
    display: grid;
    place-items: center;
    padding: 24px 20px;
    overflow: hidden;
    min-height: 280px;
}

/* Product visual — clear Android / Windows archive mock ------------- */

.hero-product {
    position: relative;
    width: min(100%, 300px);
    height: 240px;
}

.hero-product-card {
    position: absolute;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .1);
}

.hero-product-card--android {
    inset-inline-start: 0;
    top: 8px;
    width: 210px;
    border-radius: 16px;
    padding: 14px 14px 12px;
    z-index: 3;
}

.hero-product-card--windows {
    inset-inline-end: 0;
    bottom: 42px;
    width: 188px;
    border-radius: 12px;
    padding: 11px 12px;
    z-index: 2;
    border-color: #dbeafe;
    box-shadow: 0 10px 26px rgba(37, 99, 235, .12);
}

.hero-product-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-product-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}

.hero-product-card--windows .hero-product-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.hero-product-card__icon--fallback {
    display: inline-block;
    background: linear-gradient(135deg, #d1fae5, #bfdbfe);
}

.hero-product-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.hero-product-card__name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.hero-product-card__plat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--hero-android);
    white-space: nowrap;
}

.hero-product-card__plat--win {
    color: var(--hero-windows);
}

.hero-product-card__ver {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 3px 7px;
    flex-shrink: 0;
}

.hero-product-versions {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-product-versions__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.hero-product-versions__item--current {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.hero-product-versions__ver {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}

.hero-product-versions__tag {
    font-size: 10px;
    font-weight: 800;
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
    padding: 2px 7px;
}

.hero-product-versions__size {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
}

.hero-product-tray {
    position: absolute;
    inset-inline-end: 6px;
    bottom: 6px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px 6px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

.hero-product-tray__icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    object-fit: cover;
    background: #f1f5f9;
}

.hero-product-tray__more {
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    padding-inline: 4px 2px;
}

@media (max-width: 860px) {
    .hero-search::before {
        mask-image: none;
        -webkit-mask-image: none;
        opacity: .35;
    }

    .hero-search-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-search-visual {
        min-height: 220px;
        padding: 8px 16px 20px;
        order: -1;
    }

    .hero-product {
        height: 200px;
        width: min(100%, 280px);
    }

    .hero-product-card--android {
        width: 190px;
    }

    .hero-product-card--windows {
        width: 170px;
    }

    .hero-search-copy {
        padding: 8px 18px 20px;
        text-align: center;
        align-items: center;
    }

    .hero-search-desc {
        margin-inline: auto;
    }

    .hero-search-form {
        width: 100%;
    }

    .hero-search-platforms {
        justify-content: center;
    }

    .hero-search-input {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-search {
        border-radius: 16px;
    }

    /* EXPERIMENT 2.41.20 — BV hero-v2-title 18/700; revert via _backup-typo-2.41.19 */
    .hero-search-title {
        font-size: 18px;
        font-weight: 700;
    }

    .hero-search-desc {
        font-size: 13px;
        margin-bottom: 14px;
    }

    /* Connected search block: no gap before the submit control (left in RTL). */
    .hero-search-form {
        height: 48px;
    }

    .hero-search-btn {
        font-size: 12px;
        padding: 0 12px;
    }

    .hero-search-visual {
        min-height: 230px;
        padding: 10px 12px 14px;
    }

    /*
     * Mobile floating cards — diagonal stack, fluid widths, no transform-scale
     * overlap. Desktop absolute layout above 640px is unchanged.
     */
    .hero-product {
        --hero-card-gap: 0.75rem;
        width: min(100%, 17.5rem);
        height: 14.5rem;
        transform: none;
    }

    .hero-product-card--android {
        width: min(68%, 10.5rem);
        top: 0;
        bottom: auto;
        inset-inline-start: 0;
        inset-inline-end: auto;
        padding: 11px;
    }

    .hero-product-card--windows {
        width: min(58%, 9.25rem);
        top: auto;
        bottom: calc(2.35rem + var(--hero-card-gap));
        inset-inline-end: 0;
        inset-inline-start: auto;
        padding: 9px;
    }

    .hero-product-tray {
        bottom: 0;
        inset-inline-end: 0;
    }

    .hero-product-card--android .hero-product-versions {
        margin-top: 8px;
    }

    .hero-product-card--android .hero-product-versions__item {
        padding: 6px 8px;
    }
}
/* ---- Breadcrumb — Mobizil scheme (global ATF + CLS reserve) ---- */
/* Equal 12px air above/below; kill .py-6 top pad so pages share one rhythm */
.container-slim.py-6:has(> .edu-breadcrumb:first-child) {
	padding-top: 0 !important;
}

.container-slim.flex.gap-5 > .edu-breadcrumb:first-child {
	margin-bottom: -1.25rem;
}

.edu-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 28px;
	margin: 0;
	padding: 12px 0;
	font-family: Tajawal, "Tajawal Fallback", system-ui, sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	color: #9ca3af;
	box-sizing: border-box;
}

.edu-breadcrumb-link,
.edu-breadcrumb-current,
.edu-breadcrumb-sep {
	flex-shrink: 0;
	white-space: nowrap;
	font-size: 11px;
	line-height: 1.4;
}

.edu-breadcrumb-link {
	color: #2563eb;
	font-weight: 600;
	text-decoration: none;
}

.edu-breadcrumb-link:hover {
	text-decoration: underline;
}

.edu-breadcrumb-sep {
	color: #9ca3af;
	font-weight: 400;
	line-height: 1;
}

.edu-breadcrumb-current,
.edu-breadcrumb-current.is-current {
	color: #6b7280;
	font-weight: 400;
}

.edu-term-cards-grid,
.home-cards-grid.cols-3 {
	min-height: 180px;
}
.edu-page-title,
.edu-section-title {
	min-height: 1.2em;
}
@media (max-width: 640px) {
	.edu-term-cards-grid,
	.home-cards-grid.cols-3 {
		min-height: 240px;
	}
}
/* Header lang + theme */
.kutby-lang-switcher{display:inline-flex;align-items:center;flex-shrink:0;position:relative}
.kutby-lang-switcher__toggle{display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px;height:36px;min-height:36px;box-sizing:border-box;padding:0 10px;border-radius:9px;border:1px solid #e2e8f0;background:#f8fafc;color:#334155;font-size:12px;font-weight:700;line-height:1;cursor:pointer;font-family:inherit;white-space:nowrap}
.kutby-lang-switcher__toggle>*,.kutby-lang-switcher__toggle-label{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px;flex-shrink:0;white-space:nowrap}
.kutby-lang-switcher__globe{display:inline-flex;color:#64748b;line-height:0}
.kutby-lang-switcher__globe svg{display:block;width:14px;height:14px}
.kutby-lang-switcher__flag-emoji{display:inline-flex;font-size:14px;line-height:1}
.kutby-lang-switcher__name{display:inline;white-space:nowrap}
.kutby-lang-switcher__caret{width:0;height:0;border-inline:4px solid transparent;border-block-start:5px solid currentColor;opacity:.7}
.kutby-lang-switcher__list--dropdown[hidden]{display:none!important}
.kutby-theme-toggle{width:36px;height:36px;border-radius:9px;border:1.5px solid #e8edf3;background:var(--bg-card-alt,#f8f9fb);color:var(--text-secondary,#64748b);display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;padding:0}
.kutby-theme-toggle__sun,.kutby-theme-toggle__moon{display:none!important}
.html-theme-light .kutby-theme-toggle__moon,html:not([data-theme=dark]) .kutby-theme-toggle__moon{display:inline-flex!important}
.html-theme-dark .kutby-theme-toggle__sun,html[data-theme=dark] .kutby-theme-toggle__sun{display:inline-flex!important}