/*
 * Extracted from mu-plugins/kalon-hero-blog.php on 2026-04-10
 * (Phase 4 of the kalon-theme refactor).
 */

    /* ============================================
       KALON BLOG HERO v4.4.0 — Fixed
       ============================================ */
    .kalon-bh {
        --kalon-cyan: rgb(0, 179, 219);
        --kalon-green: rgb(88, 214, 82);
        --font-body: 'Montserrat', sans-serif;
        --transition: 0.3s ease;

        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        height: 700px;
        overflow: hidden;
        background-color: #1a1a1a;
        background-size: cover !important;
        background-position: center center;
        background-repeat: no-repeat;
        margin: 0 !important;
        padding: 0;
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        /* FIX: eliminate sub-pixel gap between hero and intro */
        margin-bottom: -1px !important;
    }

    /* Legacy <img> fallback — hidden, replaced by background-image */
    .kalon-bh__bg {
        display: none;
    }

    .kalon-bh__overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.22) 35%, rgba(0,0,0,0.62) 100%);
        z-index: 2;
        pointer-events: none;
    }

    .kalon-bh__content {
        position: relative;
        z-index: 3;
        width: 100%;
        max-width: 880px;
        margin: 0 auto;
        padding: 140px 40px 48px;
        text-align: center;
    }

    .kalon-bh__breadcrumb {
        font-family: var(--font-body);
        font-size: 12px; font-weight: 400;
        letter-spacing: 0.06em;
        color: rgba(255,255,255,0.55);
        margin: 0 0 22px 0; line-height: 1.4;
    }
    .kalon-bh__breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--transition); }
    .kalon-bh__breadcrumb a:hover { color: var(--kalon-cyan); }
    .kalon-bh__breadcrumb .sep { margin: 0 8px; opacity: 0.6; font-size: 10px; }

    .kalon-bh__cats {
        font-family: var(--font-body);
        font-size: 11px; font-weight: 600;
        letter-spacing: 0.14em; text-transform: uppercase;
        margin: 0 0 20px 0;
        display: flex; align-items: center; justify-content: center;
        flex-wrap: wrap; gap: 8px;
    }
    .kalon-bh__cats a {
        display: inline-block; color: #fff; text-decoration: none;
        background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
        padding: 5px 16px; border-radius: 20px;
        transition: background var(--transition), border-color var(--transition);
    }
    .kalon-bh__cats a:hover { background: rgba(0,179,219,0.25); border-color: rgba(0,179,219,0.45); }

    .kalon-bh__title {
        font-family: var(--font-body) !important;
        font-size: 42px !important; font-weight: 300 !important;
        line-height: 1.2 !important; letter-spacing: 0.05em !important;
        color: #fff !important; text-transform: uppercase !important;
        margin: 0 0 22px 0 !important; padding: 0 !important;
        text-shadow: 0 2px 20px rgba(0,0,0,0.25);
    }

    .kalon-bh__meta {
        font-family: var(--font-body);
        font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.7);
        display: flex; align-items: center; justify-content: center;
        flex-wrap: wrap; gap: 2px 0; line-height: 1.6;
    }
    .kalon-bh__meta a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color var(--transition); }
    .kalon-bh__meta a:hover { color: var(--kalon-cyan); }
    .kalon-bh__dot { margin: 0 10px; opacity: 0.4; font-size: 6px; vertical-align: middle; }
    .kalon-bh__reading-time { white-space: nowrap; }

    /* Summary intro */
    .kalon-bh-intro {
        position: relative;
        z-index: 1;
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        background: #f9f9f9;
        border-bottom: 1px solid #eee;
    }
    .kalon-bh-intro__inner {
        max-width: 720px; margin: 0 auto;
        padding: 32px 40px; text-align: center;
    }
    .kalon-bh-intro__line {
        width: 120px; height: 4px;
        background: linear-gradient(90deg, rgb(0, 179, 219), rgb(88, 214, 82));
        margin: 0 auto 22px; border-radius: 2px;
    }
    .kalon-bh-intro__text {
        font-family: 'Montserrat', sans-serif;
        font-size: 16px; font-weight: 400; font-style: italic;
        line-height: 1.75; color: #555; margin: 0;
    }

    /* ── Responsive ── */
    @media (max-width: 1024px) {
        .kalon-bh { height: 540px; }
        .kalon-bh__content { padding: 110px 30px 42px; }
        .kalon-bh__title { font-size: 36px !important; }
        .kalon-bh-intro__inner { padding: 28px 30px; }
        .kalon-bh-intro__text { font-size: 15px; }
    }
    @media (max-width: 768px) {
        .kalon-bh { height: 420px; }
        .kalon-bh__overlay { background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.28) 35%, rgba(0,0,0,0.68) 100%); }
        .kalon-bh__content { padding: 90px 22px 32px; }
        .kalon-bh__breadcrumb { font-size: 11px; margin-bottom: 16px; }
        .kalon-bh__cats { font-size: 10px; margin-bottom: 14px; gap: 6px; }
        .kalon-bh__cats a { padding: 4px 12px; letter-spacing: 0.1em; }
        .kalon-bh__title { font-size: 26px !important; letter-spacing: 0.04em !important; margin-bottom: 16px !important; }
        .kalon-bh__meta { font-size: 12px; }
        .kalon-bh__dot { margin: 0 7px; }
        .kalon-bh-intro__inner { padding: 24px 22px; }
        .kalon-bh-intro__text { font-size: 14px; line-height: 1.7; }
    }
    @media (max-width: 480px) {
        .kalon-bh { height: 360px; }
        .kalon-bh__content { padding: 80px 18px 26px; }
        .kalon-bh__breadcrumb { font-size: 10px; margin-bottom: 12px; }
        .kalon-bh__breadcrumb .sep { margin: 0 5px; }
        .kalon-bh__cats a { font-size: 9px; padding: 3px 10px; }
        .kalon-bh__title { font-size: 22px !important; letter-spacing: 0.03em !important; line-height: 1.25 !important; margin-bottom: 12px !important; }
        .kalon-bh__meta { font-size: 11px; }
        .kalon-bh__dot { margin: 0 5px; }
        .kalon-bh-intro__inner { padding: 20px 18px; }
        .kalon-bh-intro__text { font-size: 13px; line-height: 1.65; }
        .kalon-bh-intro__line { width: 80px; margin-bottom: 18px; }
    }

