/*
 * KKI Design System — Homepage minimal-luxury harmony
 * Page-scoped to / and /th/ (post 4122,
4519).
 * Unifies 6 kki-multilang section families (kki-fp,
kki-st,
kki-mb,
kki-tr,
* kki-fn,
kki-ri) under a single dark-navy + gold-accent + serif aesthetic.
 *
 * Spec: openspec/specs/v2-component-styles/spec.md
 *       "Home page minimal-luxury harmony"
 */

/* ── Universal: section bg + section header pattern ─────────────────────── */
body.page-id-4122 .kki-fp,
body.page-id-4122 .kki-mb,
body.page-id-4122 .kki-tr,
body.page-id-4122 .kki-ri,
body.page-id-4519 .kki-fp,
body.page-id-4519 .kki-mb,
body.page-id-4519 .kki-tr,
body.page-id-4519 .kki-ri,
kki-ri) under a single dark-navy + gold-accent + serif aesthetic.
 *
 * Spec: openspec/specs/v2-component-styles/spec.md
 *       "Home page minimal-luxury harmony"
 */

/* ── Universal: section bg + section header pattern ─────────────────────── */
body.page-id-4777 .kki-fp,
body.page-id-4777 .kki-mb,
body.page-id-4777 .kki-tr,
body.page-id-4777 .kki-ri,
body.page-id-4778 .kki-fp,
body.page-id-4778 .kki-mb,
body.page-id-4778 .kki-tr,
body.page-id-4778 .kki-ri{
    background:
        radial-gradient(circle at 14% 0%, rgba(216, 189, 118, 0.10), transparent 32%),
        linear-gradient(180deg, #07111d 0%, #0b1420 100%) !important;
    border-top: 1px solid rgba(216, 189, 118, 0.20) !important;
    padding-top: 88px !important;
    padding-bottom: 88px !important;
    box-shadow: none !important;
}

/* Mirror the gold accent on alternate sections (right side) for variation */
body.page-id-4122 .kki-st,
body.page-id-4122 .kki-fn,
body.page-id-4519 .kki-st,
body.page-id-4519 .kki-fn,
/* Mirror the gold accent on alternate sections (right side) for variation */
body.page-id-4777 .kki-st,
body.page-id-4777 .kki-fn,
body.page-id-4778 .kki-st,
body.page-id-4778 .kki-fn{
    background:
        radial-gradient(circle at 86% 0%, rgba(216, 189, 118, 0.10), transparent 32%),
        linear-gradient(180deg, #0b1420 0%, #07111d 100%) !important;
    border-top: 1px solid rgba(216, 189, 118, 0.20) !important;
    padding-top: 88px !important;
    padding-bottom: 88px !important;
    box-shadow: none !important;
}

/* ── Universal headers (eyebrow + h2 + sub) ─────────────────────────────── */
body.page-id-4122 .kki-fp__eyebrow,
body.page-id-4122 .kki-st__eyebrow,
body.page-id-4122 .kki-mb__eyebrow,
body.page-id-4122 .kki-tr__eyebrow,
body.page-id-4122 .kki-fn__eyebrow,
body.page-id-4122 .kki-ri__eyebrow,
body.page-id-4519 .kki-fp__eyebrow,
body.page-id-4519 .kki-st__eyebrow,
body.page-id-4519 .kki-mb__eyebrow,
body.page-id-4519 .kki-tr__eyebrow,
body.page-id-4519 .kki-fn__eyebrow,
body.page-id-4519 .kki-ri__eyebrow,
/* ── Universal headers (eyebrow + h2 + sub) ─────────────────────────────── */
body.page-id-4777 .kki-fp__eyebrow,
body.page-id-4777 .kki-st__eyebrow,
body.page-id-4777 .kki-mb__eyebrow,
body.page-id-4777 .kki-tr__eyebrow,
body.page-id-4777 .kki-fn__eyebrow,
body.page-id-4777 .kki-ri__eyebrow,
body.page-id-4778 .kki-fp__eyebrow,
body.page-id-4778 .kki-st__eyebrow,
body.page-id-4778 .kki-mb__eyebrow,
body.page-id-4778 .kki-tr__eyebrow,
body.page-id-4778 .kki-fn__eyebrow,
body.page-id-4778 .kki-ri__eyebrow{
    color: #d8bd76 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
}

body.page-id-4122 .kki-fp__h,
body.page-id-4122 .kki-st__h,
body.page-id-4122 .kki-mb__h,
body.page-id-4122 .kki-tr__h,
body.page-id-4122 .kki-ri__h,
body.page-id-4519 .kki-fp__h,
body.page-id-4519 .kki-st__h,
body.page-id-4519 .kki-mb__h,
body.page-id-4519 .kki-tr__h,
body.page-id-4519 .kki-ri__h,
body.page-id-4777 .kki-fp__h,
body.page-id-4777 .kki-st__h,
body.page-id-4777 .kki-mb__h,
body.page-id-4777 .kki-tr__h,
body.page-id-4777 .kki-ri__h,
body.page-id-4778 .kki-fp__h,
body.page-id-4778 .kki-st__h,
body.page-id-4778 .kki-mb__h,
body.page-id-4778 .kki-tr__h,
body.page-id-4778 .kki-ri__h{
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    color: #fff7e8 !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.012em !important;
}

body.page-id-4122 .kki-fp__sub,
body.page-id-4122 .kki-st__sub,
body.page-id-4122 .kki-mb__sub,
body.page-id-4122 .kki-tr__sub,
body.page-id-4122 .kki-ri__sub,
body.page-id-4122 .kki-mb__intro,
body.page-id-4122 .kki-fp__intro,
body.page-id-4122 .kki-tr__intro,
body.page-id-4122 .kki-ri__intro,
body.page-id-4519 .kki-fp__sub,
body.page-id-4519 .kki-st__sub,
body.page-id-4519 .kki-mb__sub,
body.page-id-4519 .kki-tr__sub,
body.page-id-4519 .kki-ri__sub,
body.page-id-4519 .kki-mb__intro,
body.page-id-4519 .kki-fp__intro,
body.page-id-4519 .kki-tr__intro,
body.page-id-4519 .kki-ri__intro,
body.page-id-4777 .kki-fp__sub,
body.page-id-4777 .kki-st__sub,
body.page-id-4777 .kki-mb__sub,
body.page-id-4777 .kki-tr__sub,
body.page-id-4777 .kki-ri__sub,
body.page-id-4777 .kki-mb__intro,
body.page-id-4777 .kki-fp__intro,
body.page-id-4777 .kki-tr__intro,
body.page-id-4777 .kki-ri__intro,
body.page-id-4778 .kki-fp__sub,
body.page-id-4778 .kki-st__sub,
body.page-id-4778 .kki-mb__sub,
body.page-id-4778 .kki-tr__sub,
body.page-id-4778 .kki-ri__sub,
body.page-id-4778 .kki-mb__intro,
body.page-id-4778 .kki-fp__intro,
body.page-id-4778 .kki-tr__intro,
body.page-id-4778 .kki-ri__intro{
    color: rgba(247, 240, 223, 0.86) !important;
    line-height: 1.7 !important;
}

/* ── Universal cards: dark-glass + gold border ──────────────────────────── */
body.page-id-4122 .kki-fp__card,
body.page-id-4122 .kki-mb__stage,
body.page-id-4122 .kki-tr__card,
body.page-id-4122 .kki-ri__card,
body.page-id-4519 .kki-fp__card,
body.page-id-4519 .kki-mb__stage,
body.page-id-4519 .kki-tr__card,
body.page-id-4519 .kki-ri__card,
/* ── Universal cards: dark-glass + gold border ──────────────────────────── */
body.page-id-4777 .kki-fp__card,
body.page-id-4777 .kki-mb__stage,
body.page-id-4777 .kki-tr__card,
body.page-id-4777 .kki-ri__card,
body.page-id-4778 .kki-fp__card,
body.page-id-4778 .kki-mb__stage,
body.page-id-4778 .kki-tr__card,
body.page-id-4778 .kki-ri__card{
    background: linear-gradient(180deg, rgba(22, 31, 44, 0.98), rgba(9, 16, 26, 0.96)) !important;
    border: 1px solid rgba(216, 189, 118, 0.34) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.30) !important;
    border-radius: 6px !important;
}
body.page-id-4122 .kki-fp__card:hover,
body.page-id-4122 .kki-mb__stage:hover,
body.page-id-4122 .kki-tr__card:hover,
body.page-id-4122 .kki-ri__card:hover,
body.page-id-4519 .kki-fp__card:hover,
body.page-id-4519 .kki-mb__stage:hover,
body.page-id-4519 .kki-tr__card:hover,
body.page-id-4519 .kki-ri__card:hover,
body.page-id-4777 .kki-fp__card:hover,
body.page-id-4777 .kki-mb__stage:hover,
body.page-id-4777 .kki-tr__card:hover,
body.page-id-4777 .kki-ri__card:hover,
body.page-id-4778 .kki-fp__card:hover,
body.page-id-4778 .kki-mb__stage:hover,
body.page-id-4778 .kki-tr__card:hover,
body.page-id-4778 .kki-ri__card:hover{
    border-color: rgba(216, 189, 118, 0.62) !important;
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.40) !important;
    transform: translateY(-3px) !important;
    transition: all 0.25s ease !important;
}

/* Card text inside */
body.page-id-4122 [class*="__card"] h3,
body.page-id-4122 [class*="__stage"] h3,
body.page-id-4519 [class*="__card"] h3,
body.page-id-4519 [class*="__stage"] h3,
/* Card text inside */
body.page-id-4777 [class*="__card"] h3,
body.page-id-4777 [class*="__stage"] h3,
body.page-id-4778 [class*="__card"] h3,
body.page-id-4778 [class*="__stage"] h3{
    color: #fff7e8 !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-weight: 500 !important;
}
body.page-id-4122 [class*="__card"] p,
body.page-id-4122 [class*="__stage"] p,
body.page-id-4519 [class*="__card"] p,
body.page-id-4519 [class*="__stage"] p,
body.page-id-4777 [class*="__card"] p,
body.page-id-4777 [class*="__stage"] p,
body.page-id-4778 [class*="__card"] p,
body.page-id-4778 [class*="__stage"] p{
    color: rgba(247, 240, 223, 0.82) !important;
    line-height: 1.65 !important;
}

/* ── kki-fp Recent placements — clean meta + footer ─────────────────────── */
body.page-id-4122 .kki-fp__meta,
body.page-id-4519 .kki-fp__meta,
/* ── kki-fp Recent placements — clean meta + footer ─────────────────────── */
body.page-id-4777 .kki-fp__meta,
body.page-id-4778 .kki-fp__meta{
    color: rgba(216, 189, 118, 0.72) !important;
    font-size: 0.8125rem !important;
    letter-spacing: 0.04em !important;
}
body.page-id-4122 .kki-fp__footer,
body.page-id-4519 .kki-fp__footer,
body.page-id-4777 .kki-fp__footer,
body.page-id-4778 .kki-fp__footer{
    border-top: 1px solid rgba(216, 189, 118, 0.18) !important;
    margin-top: 40px;
    padding-top: 28px;
}

/* ── kki-st Stats strip — flat numbers on bg,
no card chrome ─────────────── */
body.page-id-4122 .kki-st__item,
body.page-id-4519 .kki-st__item,
no card chrome ─────────────── */
body.page-id-4777 .kki-st__item,
body.page-id-4778 .kki-st__item{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
body.page-id-4122 .kki-st__num,
body.page-id-4519 .kki-st__num,
body.page-id-4777 .kki-st__num,
body.page-id-4778 .kki-st__num{
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    color: #fff7e8 !important;
    font-size: clamp(2.25rem, 4vw, 3rem) !important;
    text-shadow: 0 0 24px rgba(216, 189, 118, 0.32), 0 14px 36px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
    margin-bottom: 12px !important;
}
body.page-id-4122 .kki-st__label,
body.page-id-4519 .kki-st__label,
body.page-id-4777 .kki-st__label,
body.page-id-4778 .kki-st__label{
    color: #d8bd76 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}
body.page-id-4122 .kki-st__detail,
body.page-id-4519 .kki-st__detail,
body.page-id-4777 .kki-st__detail,
body.page-id-4778 .kki-st__detail{
    color: rgba(247, 240, 223, 0.72) !important;
    font-size: 0.875rem !important;
    line-height: 1.55 !important;
}

/* ── kki-mb Methodology brief — 4 stages with serif numerals ─────────────── */
body.page-id-4122 .kki-mb__stage,
body.page-id-4519 .kki-mb__stage,
/* ── kki-mb Methodology brief — 4 stages with serif numerals ─────────────── */
body.page-id-4777 .kki-mb__stage,
body.page-id-4778 .kki-mb__stage{
    padding: 36px 28px !important;
    position: relative;
}
body.page-id-4122 .kki-mb__stage-num,
body.page-id-4519 .kki-mb__stage-num,
body.page-id-4777 .kki-mb__stage-num,
body.page-id-4778 .kki-mb__stage-num{
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    color: #d8bd76 !important;
    font-size: 2rem !important;
    line-height: 1 !important;
    margin-bottom: 14px !important;
    text-shadow: 0 0 18px rgba(216, 189, 118, 0.25);
}
body.page-id-4122 .kki-mb__stage-h,
body.page-id-4519 .kki-mb__stage-h,
body.page-id-4777 .kki-mb__stage-h,
body.page-id-4778 .kki-mb__stage-h{
    font-size: 1.25rem !important;
    margin-bottom: 10px !important;
}
body.page-id-4122 .kki-mb__cta,
body.page-id-4519 .kki-mb__cta,
body.page-id-4777 .kki-mb__cta,
body.page-id-4778 .kki-mb__cta{
    margin-top: 32px !important;
}
body.page-id-4122 .kki-mb__cta a,
body.page-id-4519 .kki-mb__cta a,
body.page-id-4777 .kki-mb__cta a,
body.page-id-4778 .kki-mb__cta a{
    color: #d8bd76 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-bottom: 1.5px solid #d8bd76 !important;
    padding-bottom: 2px;
}

/* ── kki-tr Investor truths — italic serif aphorism feel ─────────────────── */
body.page-id-4122 .kki-tr__card,
body.page-id-4519 .kki-tr__card,
/* ── kki-tr Investor truths — italic serif aphorism feel ─────────────────── */
body.page-id-4777 .kki-tr__card,
body.page-id-4778 .kki-tr__card{
    border-left: 3px solid #d8bd76 !important;
    border-top: 1px solid rgba(216, 189, 118, 0.34) !important;
    border-right: 1px solid rgba(216, 189, 118, 0.34) !important;
    border-bottom: 1px solid rgba(216, 189, 118, 0.34) !important;
    padding: 32px !important;
}
body.page-id-4122 .kki-tr__truth,
body.page-id-4519 .kki-tr__truth,
body.page-id-4777 .kki-tr__truth,
body.page-id-4778 .kki-tr__truth{
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.375rem !important;
    color: #fff7e8 !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    margin: 0 0 14px !important;
}
body.page-id-4122 .kki-tr__body,
body.page-id-4519 .kki-tr__body,
body.page-id-4777 .kki-tr__body,
body.page-id-4778 .kki-tr__body{
    color: rgba(247, 240, 223, 0.78) !important;
    font-size: 0.9375rem !important;
    line-height: 1.65 !important;
}
body.page-id-4122 .kki-tr__cta,
body.page-id-4519 .kki-tr__cta,
body.page-id-4777 .kki-tr__cta,
body.page-id-4778 .kki-tr__cta{
    margin-top: 40px !important;
    text-align: center;
}

/* ── kki-fn Final CTA — center serif headline + gold button ─────────────── */
body.page-id-4122 .kki-fn,
body.page-id-4519 .kki-fn,
/* ── kki-fn Final CTA — center serif headline + gold button ─────────────── */
body.page-id-4777 .kki-fn,
body.page-id-4778 .kki-fn{
    background:
        radial-gradient(circle at 50% 0%, rgba(216, 189, 118, 0.12), transparent 36%),
        linear-gradient(180deg, #18233a 0%, #111927 100%) !important;
    border-top: 1px solid rgba(216, 189, 118, 0.45) !important;
}
body.page-id-4122 .kki-fn__h,
body.page-id-4519 .kki-fn__h,
body.page-id-4122 .kki-fn h2,
body.page-id-4519 .kki-fn h2,
body.page-id-4777 .kki-fn__h,
body.page-id-4778 .kki-fn__h,
body.page-id-4777 .kki-fn h2,
body.page-id-4778 .kki-fn h2{
    color: #fff7e8 !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
}
body.page-id-4122 .kki-fn__body,
body.page-id-4519 .kki-fn__body,
body.page-id-4122 .kki-fn p,
body.page-id-4519 .kki-fn p,
body.page-id-4777 .kki-fn__body,
body.page-id-4778 .kki-fn__body,
body.page-id-4777 .kki-fn p,
body.page-id-4778 .kki-fn p{
    color: rgba(247, 240, 223, 0.86) !important;
}
body.page-id-4122 .kki-fn__btn,
body.page-id-4122 .kki-fn .wp-block-button__link,
body.page-id-4519 .kki-fn__btn,
body.page-id-4519 .kki-fn .wp-block-button__link,
body.page-id-4777 .kki-fn__btn,
body.page-id-4777 .kki-fn .wp-block-button__link,
body.page-id-4778 .kki-fn__btn,
body.page-id-4778 .kki-fn .wp-block-button__link{
    background: #d8bd76 !important;
    color: #0b1017 !important;
    border-color: #d8bd76 !important;
    box-shadow: 0 14px 32px rgba(216, 189, 118, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

/* ── kki-ri Insights — date/category gold eyebrow + serif title ─────────── */
body.page-id-4122 .kki-ri__card,
body.page-id-4519 .kki-ri__card,
/* ── kki-ri Insights — date/category gold eyebrow + serif title ─────────── */
body.page-id-4777 .kki-ri__card,
body.page-id-4778 .kki-ri__card{
    padding: 28px !important;
}
body.page-id-4122 .kki-ri__date,
body.page-id-4122 .kki-ri__category,
body.page-id-4519 .kki-ri__date,
body.page-id-4519 .kki-ri__category,
body.page-id-4777 .kki-ri__date,
body.page-id-4777 .kki-ri__category,
body.page-id-4778 .kki-ri__date,
body.page-id-4778 .kki-ri__category{
    color: #d8bd76 !important;
    font-size: 0.6875rem !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}
body.page-id-4122 .kki-ri__title,
body.page-id-4519 .kki-ri__title,
body.page-id-4777 .kki-ri__title,
body.page-id-4778 .kki-ri__title{
    font-size: 1.125rem !important;
    color: #fff7e8 !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-weight: 500 !important;
    margin: 12px 0 12px !important;
    line-height: 1.3 !important;
}
body.page-id-4122 .kki-ri__excerpt,
body.page-id-4519 .kki-ri__excerpt,
body.page-id-4777 .kki-ri__excerpt,
body.page-id-4778 .kki-ri__excerpt{
    color: rgba(247, 240, 223, 0.78) !important;
    font-size: 0.875rem !important;
    line-height: 1.65 !important;
}
body.page-id-4122 .kki-ri__footer a,
body.page-id-4519 .kki-ri__footer a,
body.page-id-4777 .kki-ri__footer a,
body.page-id-4778 .kki-ri__footer a{
    color: #d8bd76 !important;
    border-bottom-color: rgba(216, 189, 118, 0.45) !important;
}

/* ── Reset any heavy decorative gradients/shadows from prior designs ─────── */
body.page-id-4122 [class*="kki-fp"][class*="--featured"],
body.page-id-4519 [class*="kki-fp"][class*="--featured"],
/* ── Reset any heavy decorative gradients/shadows from prior designs ─────── */
body.page-id-4777 [class*="kki-fp"][class*="--featured"],
body.page-id-4778 [class*="kki-fp"][class*="--featured"]{
    background: linear-gradient(180deg, rgba(28, 38, 52, 0.98), rgba(15, 22, 32, 0.96)) !important;
}

/* ── Generic links inside home sections ─────────────────────────────────── */
body.page-id-4122 .kki-fp a,
body.page-id-4122 .kki-st a,
body.page-id-4122 .kki-mb a,
body.page-id-4122 .kki-tr a,
body.page-id-4122 .kki-fn a,
body.page-id-4122 .kki-ri a,
body.page-id-4519 .kki-fp a,
body.page-id-4519 .kki-st a,
body.page-id-4519 .kki-mb a,
body.page-id-4519 .kki-tr a,
body.page-id-4519 .kki-fn a,
body.page-id-4519 .kki-ri a,
/* ── Generic links inside home sections ─────────────────────────────────── */
body.page-id-4777 .kki-fp a,
body.page-id-4777 .kki-st a,
body.page-id-4777 .kki-mb a,
body.page-id-4777 .kki-tr a,
body.page-id-4777 .kki-fn a,
body.page-id-4777 .kki-ri a,
body.page-id-4778 .kki-fp a,
body.page-id-4778 .kki-st a,
body.page-id-4778 .kki-mb a,
body.page-id-4778 .kki-tr a,
body.page-id-4778 .kki-fn a,
body.page-id-4778 .kki-ri a{
    color: #d8bd76;
}
body.page-id-4122 .kki-fp a:hover,
body.page-id-4122 .kki-st a:hover,
body.page-id-4122 .kki-mb a:hover,
body.page-id-4122 .kki-tr a:hover,
body.page-id-4122 .kki-fn a:hover,
body.page-id-4122 .kki-ri a:hover,
body.page-id-4519 .kki-fp a:hover,
body.page-id-4519 .kki-st a:hover,
body.page-id-4519 .kki-mb a:hover,
body.page-id-4519 .kki-tr a:hover,
body.page-id-4519 .kki-fn a:hover,
body.page-id-4519 .kki-ri a:hover,
body.page-id-4777 .kki-fp a:hover,
body.page-id-4777 .kki-st a:hover,
body.page-id-4777 .kki-mb a:hover,
body.page-id-4777 .kki-tr a:hover,
body.page-id-4777 .kki-fn a:hover,
body.page-id-4777 .kki-ri a:hover,
body.page-id-4778 .kki-fp a:hover,
body.page-id-4778 .kki-st a:hover,
body.page-id-4778 .kki-mb a:hover,
body.page-id-4778 .kki-tr a:hover,
body.page-id-4778 .kki-fn a:hover,
body.page-id-4778 .kki-ri a:hover{
    color: #fff7e8;
}


/* ============================================================
 * v11.20.0 — Home balance pass (migrated from kki-v2-home-balance.php)
 * Featured-portfolio cards + section grounding for home page.
 * ============================================================ */
body.home .kki-fp,
body.page-id-4122 .kki-fp,
body.page-id-4519 .kki-fp,
/* ============================================================
 * v11.20.0 — Home balance pass (migrated from kki-v2-home-balance.php)
 * Featured-portfolio cards + section grounding for home page.
 * ============================================================ */
body.page-id-4777 .kki-fp,
/* ============================================================
 * v11.20.0 — Home balance pass (migrated from kki-v2-home-balance.php)
 * Featured-portfolio cards + section grounding for home page.
 * ============================================================ */
body.page-id-4778 .kki-fp,
body.page-id-4777 .kki-fp,
body.page-id-4778 .kki-fp{
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(205,174,103,.14), transparent 32%),
        linear-gradient(180deg, #07111b 0%, #091723 54%, #061018 100%) !important;
    color: #fff7e8;
    padding-top: clamp(76px, 9vw, 118px) !important;
    padding-bottom: clamp(78px, 9vw, 122px) !important;
}

body.home .kki-fp *,
body.page-id-4122 .kki-fp *,
body.page-id-4519 .kki-fp *,
body.page-id-4777 .kki-fp *,
body.page-id-4778 .kki-fp *{
    box-sizing: border-box;
}

body.home .kki-fp__inner,
body.page-id-4122 .kki-fp__inner,
body.page-id-4519 .kki-fp__inner,
body.page-id-4777 .kki-fp__inner,
body.page-id-4778 .kki-fp__inner{
    width: min(1160px, calc(100% - 56px));
    max-width: none !important;
}

body.home .kki-fp__header,
body.page-id-4122 .kki-fp__header,
body.page-id-4519 .kki-fp__header,
body.page-id-4777 .kki-fp__header,
body.page-id-4778 .kki-fp__header{
    max-width: 760px;
    margin: 0 auto clamp(34px, 5vw, 58px);
    text-align: center;
}

body.home .kki-fp__eyebrow,
body.page-id-4122 .kki-fp__eyebrow,
body.page-id-4519 .kki-fp__eyebrow,
body.page-id-4777 .kki-fp__eyebrow,
body.page-id-4778 .kki-fp__eyebrow{
    color: #d7bd78 !important;
    letter-spacing: .22em;
    font-weight: 900;
    margin-bottom: 24px;
}

body.home .kki-fp__h,
body.page-id-4122 .kki-fp__h,
body.page-id-4519 .kki-fp__h,
body.page-id-4777 .kki-fp__h,
body.page-id-4778 .kki-fp__h{
    color: #fff7e8 !important;
    font-size: clamp(36px, 5vw, 72px) !important;
    line-height: .96 !important;
    letter-spacing: -.045em !important;
}

body.home .kki-fp__sub,
body.page-id-4122 .kki-fp__sub,
body.page-id-4519 .kki-fp__sub,
body.page-id-4777 .kki-fp__sub,
body.page-id-4778 .kki-fp__sub{
    color: rgba(255,247,232,.72) !important;
    font-size: 17px;
    line-height: 1.72;
    max-width: 690px;
    margin-left: auto;
    margin-right: auto;
}

body.home .kki-fp__grid,
body.page-id-4122 .kki-fp__grid,
body.page-id-4519 .kki-fp__grid,
body.page-id-4777 .kki-fp__grid,
body.page-id-4778 .kki-fp__grid{
    gap: 22px !important;
    margin-bottom: clamp(34px, 4vw, 52px) !important;
}

body.home .kki-fp__card,
body.page-id-4122 .kki-fp__card,
body.page-id-4519 .kki-fp__card,
body.page-id-4777 .kki-fp__card,
body.page-id-4778 .kki-fp__card{
    overflow: hidden;
    border: 1px solid rgba(205,174,103,.2) !important;
    border-radius: 30px !important;
    background: #0c1a27 !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.24);
    min-height: 100%;
}

body.home .kki-fp__card:hover,
body.page-id-4122 .kki-fp__card:hover,
body.page-id-4519 .kki-fp__card:hover,
body.page-id-4777 .kki-fp__card:hover,
body.page-id-4778 .kki-fp__card:hover{
    transform: translateY(-5px);
    border-color: rgba(205,174,103,.48) !important;
    box-shadow: 0 34px 95px rgba(0,0,0,.34);
}

body.home .kki-fp__media-link,
body.page-id-4122 .kki-fp__media-link,
body.page-id-4519 .kki-fp__media-link,
body.page-id-4777 .kki-fp__media-link,
body.page-id-4778 .kki-fp__media-link{
    line-height: 0;
}

body.home .kki-fp__media,
body.page-id-4122 .kki-fp__media,
body.page-id-4519 .kki-fp__media,
body.page-id-4777 .kki-fp__media,
body.page-id-4778 .kki-fp__media{
    aspect-ratio: 16 / 10 !important;
    min-height: 230px;
    background-color: #0b1722 !important;
    background-size: cover !important;
    background-position: center !important;
}

body.home .kki-fp__media img,
body.page-id-4122 .kki-fp__media img,
body.page-id-4519 .kki-fp__media img,
body.page-id-4777 .kki-fp__media img,
body.page-id-4778 .kki-fp__media img{
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 230px;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: saturate(.98) contrast(1.04) brightness(.82);
}

body.home .kki-fp__media:after,
body.page-id-4122 .kki-fp__media:after,
body.page-id-4519 .kki-fp__media:after,
body.page-id-4777 .kki-fp__media:after,
body.page-id-4778 .kki-fp__media:after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,13,20,0) 34%, rgba(5,13,20,.64) 100%);
    pointer-events: none;
}

body.home .kki-fp__status,
body.page-id-4122 .kki-fp__status,
body.page-id-4519 .kki-fp__status,
body.page-id-4777 .kki-fp__status,
body.page-id-4778 .kki-fp__status{
    top: 18px;
    left: 18px;
    right: auto;
    z-index: 2;
    background: rgba(5,13,20,.72) !important;
    border: 1px solid rgba(205,174,103,.34) !important;
    color: #efd996 !important;
    padding: 8px 11px;
    font-size: 11px;
    border-radius: 999px;
}

body.home .kki-fp__body,
body.page-id-4122 .kki-fp__body,
body.page-id-4519 .kki-fp__body,
body.page-id-4777 .kki-fp__body,
body.page-id-4778 .kki-fp__body{
    padding: 26px 26px 28px !important;
    background: linear-gradient(180deg, #0c1a27 0%, #0a1723 100%) !important;
}

body.home .kki-fp__dev,
body.page-id-4122 .kki-fp__dev,
body.page-id-4519 .kki-fp__dev,
body.page-id-4777 .kki-fp__dev,
body.page-id-4778 .kki-fp__dev{
    color: #d7bd78 !important;
    margin-bottom: 16px !important;
}

body.home .kki-fp__title,
body.home .kki-fp__title a,
body.page-id-4122 .kki-fp__title,
body.page-id-4122 .kki-fp__title a,
body.page-id-4519 .kki-fp__title,
body.page-id-4519 .kki-fp__title a,
body.page-id-4777 .kki-fp__title,
body.page-id-4778 .kki-fp__title,
body.page-id-4777 .kki-fp__title a,
body.page-id-4778 .kki-fp__title a{
    color: #fff7e8 !important;
}

body.home .kki-fp__loc,
body.page-id-4122 .kki-fp__loc,
body.page-id-4519 .kki-fp__loc,
body.page-id-4777 .kki-fp__loc,
body.page-id-4778 .kki-fp__loc{
    color: rgba(255,247,232,.68) !important;
}

body.home .kki-fp__why,
body.page-id-4122 .kki-fp__why,
body.page-id-4519 .kki-fp__why,
body.page-id-4777 .kki-fp__why,
body.page-id-4778 .kki-fp__why{
    color: rgba(255,247,232,.74) !important;
}

body.home .kki-fp__why-label,
body.page-id-4122 .kki-fp__why-label,
body.page-id-4519 .kki-fp__why-label,
body.page-id-4777 .kki-fp__why-label,
body.page-id-4778 .kki-fp__why-label{
    color: #d7bd78 !important;
}

body.home .kki-fp__more,
body.page-id-4122 .kki-fp__more,
body.page-id-4519 .kki-fp__more,
body.home .kki-fp__all,
body.page-id-4122 .kki-fp__all,
body.page-id-4519 .kki-fp__all,
body.page-id-4777 .kki-fp__more,
body.page-id-4778 .kki-fp__more,
body.page-id-4777 .kki-fp__all,
body.page-id-4778 .kki-fp__all{
    color: #e7cc84 !important;
    border-bottom-color: #d4bd78 !important;
}

body.home .kki-fp__footer,
body.page-id-4122 .kki-fp__footer,
body.page-id-4519 .kki-fp__footer,
body.page-id-4777 .kki-fp__footer,
body.page-id-4778 .kki-fp__footer{
    padding-top: 14px !important;
}

body.home .kki-st,
body.page-id-4122 .kki-st,
body.page-id-4519 .kki-st,
body.page-id-4777 .kki-st,
body.page-id-4778 .kki-st{
    background:
        radial-gradient(circle at 82% 8%, rgba(205,174,103,.11), transparent 30%),
        linear-gradient(180deg, #07111b 0%, #091723 56%, #061018 100%) !important;
    color: #fff7e8 !important;
    box-shadow: inset 0 1px 0 rgba(205,174,103,.18) !important;
}

body.home .kki-mb,
body.page-id-4122 .kki-mb,
body.page-id-4519 .kki-mb,
body.home .kki-tr,
body.page-id-4122 .kki-tr,
body.page-id-4519 .kki-tr,
body.home .kki-fn,
body.page-id-4122 .kki-fn,
body.page-id-4519 .kki-fn,
body.home .kki-ri,
body.page-id-4122 .kki-ri,
body.page-id-4519 .kki-ri,
body.home .kki-final,
body.page-id-4122 .kki-final,
body.page-id-4519 .kki-final,
body.page-id-4777 .kki-mb,
body.page-id-4778 .kki-mb,
body.page-id-4777 .kki-tr,
body.page-id-4778 .kki-tr,
body.page-id-4777 .kki-fn,
body.page-id-4778 .kki-fn,
body.page-id-4777 .kki-ri,
body.page-id-4778 .kki-ri,
body.page-id-4777 .kki-final,
body.page-id-4778 .kki-final{
    background:
        radial-gradient(circle at 18% 0%, rgba(205,174,103,.1), transparent 32%),
        linear-gradient(180deg, #07111b 0%, #091723 56%, #061018 100%) !important;
    color: #fff7e8 !important;
    box-shadow: inset 0 1px 0 rgba(205,174,103,.16) !important;
}

body.home .kki-st__eyebrow,
body.page-id-4122 .kki-st__eyebrow,
body.page-id-4519 .kki-st__eyebrow,
body.home .kki-mb__eyebrow,
body.page-id-4122 .kki-mb__eyebrow,
body.page-id-4519 .kki-mb__eyebrow,
body.home .kki-tr__eyebrow,
body.page-id-4122 .kki-tr__eyebrow,
body.page-id-4519 .kki-tr__eyebrow,
body.home .kki-ri__eyebrow,
body.page-id-4122 .kki-ri__eyebrow,
body.page-id-4519 .kki-ri__eyebrow,
body.home .kki-final > p:first-child,
body.page-id-4122 .kki-final > p:first-child,
body.page-id-4519 .kki-final > p:first-child,
body.page-id-4777 .kki-st__eyebrow,
body.page-id-4778 .kki-st__eyebrow,
body.page-id-4777 .kki-mb__eyebrow,
body.page-id-4778 .kki-mb__eyebrow,
body.page-id-4777 .kki-tr__eyebrow,
body.page-id-4778 .kki-tr__eyebrow,
body.page-id-4777 .kki-ri__eyebrow,
body.page-id-4778 .kki-ri__eyebrow,
body.page-id-4777 .kki-final > p:first-child,
body.page-id-4778 .kki-final > p:first-child{
    color: #d7bd78 !important;
}

body.home .kki-st__h,
body.page-id-4122 .kki-st__h,
body.page-id-4519 .kki-st__h,
body.home .kki-mb__h,
body.page-id-4122 .kki-mb__h,
body.page-id-4519 .kki-mb__h,
body.home .kki-tr__h,
body.page-id-4122 .kki-tr__h,
body.page-id-4519 .kki-tr__h,
body.home .kki-fn h2,
body.page-id-4122 .kki-fn h2,
body.page-id-4519 .kki-fn h2,
body.home .kki-ri__h,
body.page-id-4122 .kki-ri__h,
body.page-id-4519 .kki-ri__h,
body.home .kki-final .wp-block-heading,
body.page-id-4122 .kki-final .wp-block-heading,
body.page-id-4519 .kki-final .wp-block-heading,
body.page-id-4777 .kki-st__h,
body.page-id-4778 .kki-st__h,
body.page-id-4777 .kki-mb__h,
body.page-id-4778 .kki-mb__h,
body.page-id-4777 .kki-tr__h,
body.page-id-4778 .kki-tr__h,
body.page-id-4777 .kki-fn h2,
body.page-id-4778 .kki-fn h2,
body.page-id-4777 .kki-ri__h,
body.page-id-4778 .kki-ri__h,
body.page-id-4777 .kki-final .wp-block-heading,
body.page-id-4778 .kki-final .wp-block-heading{
    color: #fff7e8 !important;
}

body.home .kki-st__sub,
body.page-id-4122 .kki-st__sub,
body.page-id-4519 .kki-st__sub,
body.home .kki-mb__sub,
body.page-id-4122 .kki-mb__sub,
body.page-id-4519 .kki-mb__sub,
body.home .kki-mb__lead,
body.page-id-4122 .kki-mb__lead,
body.page-id-4519 .kki-mb__lead,
body.home .kki-tr__sub,
body.page-id-4122 .kki-tr__sub,
body.page-id-4519 .kki-tr__sub,
body.home .kki-ri__sub,
body.page-id-4122 .kki-ri__sub,
body.page-id-4519 .kki-ri__sub,
body.home .kki-final p,
body.page-id-4122 .kki-final p,
body.page-id-4519 .kki-final p,
body.page-id-4777 .kki-st__sub,
body.page-id-4778 .kki-st__sub,
body.page-id-4777 .kki-mb__sub,
body.page-id-4778 .kki-mb__sub,
body.page-id-4777 .kki-mb__lead,
body.page-id-4778 .kki-mb__lead,
body.page-id-4777 .kki-tr__sub,
body.page-id-4778 .kki-tr__sub,
body.page-id-4777 .kki-ri__sub,
body.page-id-4778 .kki-ri__sub,
body.page-id-4777 .kki-final p,
body.page-id-4778 .kki-final p{
    color: rgba(255,247,232,.72) !important;
}

body.home .kki-st__grid,
body.page-id-4122 .kki-st__grid,
body.page-id-4519 .kki-st__grid,
body.page-id-4777 .kki-st__grid,
body.page-id-4778 .kki-st__grid{
    border-color: rgba(205,174,103,.18) !important;
}

body.home .kki-st__item,
body.page-id-4122 .kki-st__item,
body.page-id-4519 .kki-st__item,
body.page-id-4777 .kki-st__item,
body.page-id-4778 .kki-st__item{
    border-color: rgba(205,174,103,.16) !important;
}

body.home .kki-st__num,
body.page-id-4122 .kki-st__num,
body.page-id-4519 .kki-st__num,
body.page-id-4777 .kki-st__num,
body.page-id-4778 .kki-st__num{
    color: #fff7e8 !important;
}

body.home .kki-st__label,
body.page-id-4122 .kki-st__label,
body.page-id-4519 .kki-st__label,
body.home .kki-st__desc,
body.page-id-4122 .kki-st__desc,
body.page-id-4519 .kki-st__desc,
body.page-id-4777 .kki-st__label,
body.page-id-4778 .kki-st__label,
body.page-id-4777 .kki-st__desc,
body.page-id-4778 .kki-st__desc{
    color: rgba(255,247,232,.72) !important;
}

body.home .kki-tr__item,
body.page-id-4122 .kki-tr__item,
body.page-id-4519 .kki-tr__item,
body.page-id-4777 .kki-tr__item,
body.page-id-4778 .kki-tr__item{
    width: min(1120px, calc(100% - 48px));
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 28px 30px !important;
    border: 1px solid rgba(205,174,103,.16) !important;
    border-radius: 24px !important;
    background: rgba(255,247,232,.045) !important;
}

body.home .kki-tr__num,
body.page-id-4122 .kki-tr__num,
body.page-id-4519 .kki-tr__num,
body.page-id-4777 .kki-tr__num,
body.page-id-4778 .kki-tr__num{
    color: rgba(215,189,120,.72) !important;
}

body.home .kki-tr__item h3,
body.page-id-4122 .kki-tr__item h3,
body.page-id-4519 .kki-tr__item h3,
body.home .kki-tr__title,
body.page-id-4122 .kki-tr__title,
body.page-id-4519 .kki-tr__title,
body.page-id-4777 .kki-tr__item h3,
body.page-id-4778 .kki-tr__item h3,
body.page-id-4777 .kki-tr__title,
body.page-id-4778 .kki-tr__title{
    color: #fff7e8 !important;
}

body.home .kki-tr__item p,
body.page-id-4122 .kki-tr__item p,
body.page-id-4519 .kki-tr__item p,
body.page-id-4777 .kki-tr__item p,
body.page-id-4778 .kki-tr__item p{
    color: rgba(255,247,232,.72) !important;
}

body.home .kki-fn__inner,
body.page-id-4122 .kki-fn__inner,
body.page-id-4519 .kki-fn__inner,
body.page-id-4777 .kki-fn__inner,
body.page-id-4778 .kki-fn__inner{
    border: 1px solid rgba(205,174,103,.18) !important;
    border-radius: 30px !important;
    background: rgba(255,247,232,.045) !important;
    padding: clamp(36px, 6vw, 72px) !important;
}

body.home .kki-fn,
body.home .kki-fn p,
body.home .kki-fn cite,
body.home .kki-fn span,
body.page-id-4122 .kki-fn,
body.page-id-4122 .kki-fn p,
body.page-id-4122 .kki-fn cite,
body.page-id-4122 .kki-fn span,
body.page-id-4519 .kki-fn,
body.page-id-4519 .kki-fn p,
body.page-id-4519 .kki-fn cite,
body.page-id-4519 .kki-fn span,
body.page-id-4777 .kki-fn,
body.page-id-4778 .kki-fn,
body.page-id-4777 .kki-fn p,
body.page-id-4778 .kki-fn p,
body.page-id-4777 .kki-fn cite,
body.page-id-4778 .kki-fn cite,
body.page-id-4777 .kki-fn span,
body.page-id-4778 .kki-fn span{
    color: rgba(255,247,232,.76) !important;
}

body.home .kki-ri__card,
body.page-id-4122 .kki-ri__card,
body.page-id-4519 .kki-ri__card,
body.page-id-4777 .kki-ri__card,
body.page-id-4778 .kki-ri__card{
    background: #0c1a27 !important;
    border: 1px solid rgba(205,174,103,.2) !important;
    border-radius: 26px !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.22) !important;
}

body.home .kki-ri__meta,
body.page-id-4122 .kki-ri__meta,
body.page-id-4519 .kki-ri__meta,
body.home .kki-ri__cat,
body.page-id-4122 .kki-ri__cat,
body.page-id-4519 .kki-ri__cat,
body.page-id-4777 .kki-ri__meta,
body.page-id-4778 .kki-ri__meta,
body.page-id-4777 .kki-ri__cat,
body.page-id-4778 .kki-ri__cat{
    color: #d7bd78 !important;
}

body.home .kki-ri__title,
body.home .kki-ri__title a,
body.page-id-4122 .kki-ri__title,
body.page-id-4122 .kki-ri__title a,
body.page-id-4519 .kki-ri__title,
body.page-id-4519 .kki-ri__title a,
body.page-id-4777 .kki-ri__title,
body.page-id-4778 .kki-ri__title,
body.page-id-4777 .kki-ri__title a,
body.page-id-4778 .kki-ri__title a{
    color: #fff7e8 !important;
}

body.home .kki-ri__excerpt,
body.page-id-4122 .kki-ri__excerpt,
body.page-id-4519 .kki-ri__excerpt,
body.page-id-4777 .kki-ri__excerpt,
body.page-id-4778 .kki-ri__excerpt{
    color: rgba(255,247,232,.72) !important;
}

body.home .kki-ri__all,
body.page-id-4122 .kki-ri__all,
body.page-id-4519 .kki-ri__all,
body.home .kki-tr a,
body.page-id-4122 .kki-tr a,
body.page-id-4519 .kki-tr a,
body.home .kki-fn a,
body.page-id-4122 .kki-fn a,
body.page-id-4519 .kki-fn a,
body.page-id-4777 .kki-ri__all,
body.page-id-4778 .kki-ri__all,
body.page-id-4777 .kki-tr a,
body.page-id-4778 .kki-tr a,
body.page-id-4777 .kki-fn a,
body.page-id-4778 .kki-fn a{
    color: #e7cc84 !important;
    border-bottom-color: #d4bd78 !important;
    opacity: 1 !important;
}

body.home .kki-final .wp-block-button__link,
body.page-id-4122 .kki-final .wp-block-button__link,
body.page-id-4519 .kki-final .wp-block-button__link,
body.page-id-4777 .kki-final .wp-block-button__link,
body.page-id-4778 .kki-final .wp-block-button__link{
    color: #07111b !important;
}

@media (max-width: 900px) {
    body.home .kki-fp__inner,
body.page-id-4122 .kki-fp__inner,
body.page-id-4519 .kki-fp__inner,
body.page-id-4777 .kki-fp__inner,
body.page-id-4778 .kki-fp__inner{
        width: min(100% - 32px, 620px);
    }

    body.home .kki-fp__grid,
body.page-id-4122 .kki-fp__grid,
body.page-id-4519 .kki-fp__grid,
body.page-id-4777 .kki-fp__grid,
body.page-id-4778 .kki-fp__grid{
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 620px) {
    body.home .kki-fp,
body.page-id-4122 .kki-fp,
body.page-id-4519 .kki-fp,
body.page-id-4777 .kki-fp,
body.page-id-4778 .kki-fp{
        padding-top: 64px !important;
        padding-bottom: 70px !important;
    }

    body.home .kki-fp__h,
body.page-id-4122 .kki-fp__h,
body.page-id-4519 .kki-fp__h,
body.page-id-4777 .kki-fp__h,
body.page-id-4778 .kki-fp__h{
        font-size: 34px !important;
        line-height: 1.02 !important;
    }

    body.home .kki-fp__media,
body.page-id-4122 .kki-fp__media,
body.page-id-4519 .kki-fp__media,
body.home .kki-fp__media img,
body.page-id-4122 .kki-fp__media img,
body.page-id-4519 .kki-fp__media img,
body.page-id-4777 .kki-fp__media,
body.page-id-4778 .kki-fp__media,
body.page-id-4777 .kki-fp__media img,
body.page-id-4778 .kki-fp__media img{
        min-height: 210px;
    }

    body.home .kki-fp__body,
body.page-id-4122 .kki-fp__body,
body.page-id-4519 .kki-fp__body,
body.page-id-4777 .kki-fp__body,
body.page-id-4778 .kki-fp__body{
        padding: 22px 22px 24px !important;
    }

    body.home .kki-fp__title,
body.page-id-4122 .kki-fp__title,
body.page-id-4519 .kki-fp__title,
body.page-id-4777 .kki-fp__title,
body.page-id-4778 .kki-fp__title{
        font-size: 25px !important;
        line-height: 1.08 !important;
    }
}
/* ============================================================
 * Home page — editorial layout for [kki_investor_truths] +
 * polished cards for [kki_recent_insights].
 *
 * Truths section (Option A + layout rework):
 *  - 2-column grid (I,
II / III,
IV) with V spanning both columns
 *    as the closing line.
 *  - Box-cards replaced with gold border-left + clean typography.
 *  - Italic serif Roman numerals act as visual anchors.
 *  - ~50% less vertical footprint on desktop.
 *
 * Insights section:
 *  - Tighter card padding + meta type (uppercase letter-spaced).
 *  - Tighter spacing between meta / title / excerpt.
 * ============================================================ */

body.page-id-4122 .kki-tr--editorial .kki-tr__list,
body.page-id-4519 .kki-tr--editorial .kki-tr__list,
IV) with V spanning both columns
 *    as the closing line.
 *  - Box-cards replaced with gold border-left + clean typography.
 *  - Italic serif Roman numerals act as visual anchors.
 *  - ~50% less vertical footprint on desktop.
 *
 * Insights section:
 *  - Tighter card padding + meta type (uppercase letter-spaced).
 *  - Tighter spacing between meta / title / excerpt.
 * ============================================================ */

body.page-id-4777 .kki-tr--editorial .kki-tr__list,
body.page-id-4778 .kki-tr--editorial .kki-tr__list{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 40px !important;
    margin: 36px auto 0 auto !important;
    list-style: none !important;
    padding: 0 !important;
    width: min(1120px, calc(100% - 48px)) !important;
}

body.page-id-4122 .kki-tr--editorial .kki-tr__item,
body.page-id-4519 .kki-tr--editorial .kki-tr__item,
body.page-id-4777 .kki-tr--editorial .kki-tr__item,
body.page-id-4778 .kki-tr--editorial .kki-tr__item{
    display: grid !important;
    grid-template-columns: 36px 1fr !important;
    gap: 14px !important;
    align-items: start !important;
    padding: 8px 0 8px 22px !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid rgba(216, 189, 118, 0.38) !important;
    border-radius: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: border-color .2s ease !important;
}

body.page-id-4122 .kki-tr--editorial .kki-tr__item:hover,
body.page-id-4519 .kki-tr--editorial .kki-tr__item:hover,
body.page-id-4777 .kki-tr--editorial .kki-tr__item:hover,
body.page-id-4778 .kki-tr--editorial .kki-tr__item:hover{
    border-left-color: rgba(216, 189, 118, 0.72) !important;
    box-shadow: none !important;
}

body.page-id-4122 .kki-tr--editorial .kki-tr__item--full,
body.page-id-4519 .kki-tr--editorial .kki-tr__item--full,
body.page-id-4777 .kki-tr--editorial .kki-tr__item--full,
body.page-id-4778 .kki-tr--editorial .kki-tr__item--full{
    grid-column: 1 / -1 !important;
    border-left-color: rgba(216, 189, 118, 0.62) !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

body.page-id-4122 .kki-tr--editorial .kki-tr__num,
body.page-id-4519 .kki-tr--editorial .kki-tr__num,
body.page-id-4777 .kki-tr--editorial .kki-tr__num,
body.page-id-4778 .kki-tr--editorial .kki-tr__num{
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.625rem !important;
    color: rgba(216, 189, 118, 0.62) !important;
    line-height: 1 !important;
    padding-top: 4px !important;
    background: transparent !important;
    border: 0 !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    margin: 0 !important;
}

body.page-id-4122 .kki-tr--editorial .kki-tr__truth,
body.page-id-4519 .kki-tr--editorial .kki-tr__truth,
body.page-id-4777 .kki-tr--editorial .kki-tr__truth,
body.page-id-4778 .kki-tr--editorial .kki-tr__truth{
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.25rem !important;
    line-height: 1.32 !important;
    color: #fff7e8 !important;
    margin: 0 0 6px 0 !important;
    font-weight: 500 !important;
}

body.page-id-4122 .kki-tr--editorial .kki-tr__why,
body.page-id-4519 .kki-tr--editorial .kki-tr__why,
body.page-id-4777 .kki-tr--editorial .kki-tr__why,
body.page-id-4778 .kki-tr--editorial .kki-tr__why{
    margin: 0 !important;
    font-size: 0.875rem !important;
    line-height: 1.55 !important;
    color: rgba(247, 240, 223, 0.72) !important;
}

body.page-id-4122 .kki-tr--editorial .kki-tr__header,
body.page-id-4519 .kki-tr--editorial .kki-tr__header,
body.page-id-4777 .kki-tr--editorial .kki-tr__header,
body.page-id-4778 .kki-tr--editorial .kki-tr__header{
    margin-bottom: 4px !important;
}

body.page-id-4122 .kki-tr--editorial .kki-tr__sub,
body.page-id-4519 .kki-tr--editorial .kki-tr__sub,
body.page-id-4777 .kki-tr--editorial .kki-tr__sub,
body.page-id-4778 .kki-tr--editorial .kki-tr__sub{
    max-width: 56ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.page-id-4122 .kki-tr--editorial .kki-tr__cta,
body.page-id-4519 .kki-tr--editorial .kki-tr__cta,
body.page-id-4777 .kki-tr--editorial .kki-tr__cta,
body.page-id-4778 .kki-tr--editorial .kki-tr__cta{
    margin-top: 36px !important;
}

@media (max-width: 768px) {
    body.page-id-4122 .kki-tr--editorial .kki-tr__list,
body.page-id-4519 .kki-tr--editorial .kki-tr__list,
body.page-id-4777 .kki-tr--editorial .kki-tr__list,
body.page-id-4778 .kki-tr--editorial .kki-tr__list{
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
    body.page-id-4122 .kki-tr--editorial .kki-tr__item,
body.page-id-4519 .kki-tr--editorial .kki-tr__item,
body.page-id-4777 .kki-tr--editorial .kki-tr__item,
body.page-id-4778 .kki-tr--editorial .kki-tr__item{
        grid-template-columns: 28px 1fr !important;
        gap: 10px !important;
        padding-left: 18px !important;
    }
    body.page-id-4122 .kki-tr--editorial .kki-tr__num,
body.page-id-4519 .kki-tr--editorial .kki-tr__num,
body.page-id-4777 .kki-tr--editorial .kki-tr__num,
body.page-id-4778 .kki-tr--editorial .kki-tr__num{
        font-size: 1.375rem !important;
    }
    body.page-id-4122 .kki-tr--editorial .kki-tr__truth,
body.page-id-4519 .kki-tr--editorial .kki-tr__truth,
body.page-id-4777 .kki-tr--editorial .kki-tr__truth,
body.page-id-4778 .kki-tr--editorial .kki-tr__truth{
        font-size: 1.0625rem !important;
    }
}

/* ============================================================
 * Insights — polished cards
 * ============================================================ */

body.page-id-4122 .kki-ri--polished .kki-ri__header,
body.page-id-4519 .kki-ri--polished .kki-ri__header,
/* ============================================================
 * Insights — polished cards
 * ============================================================ */

body.page-id-4777 .kki-ri--polished .kki-ri__header,
body.page-id-4778 .kki-ri--polished .kki-ri__header{
    margin-bottom: 28px !important;
}

body.page-id-4122 .kki-ri--polished .kki-ri__sub,
body.page-id-4519 .kki-ri--polished .kki-ri__sub,
body.page-id-4777 .kki-ri--polished .kki-ri__sub,
body.page-id-4778 .kki-ri--polished .kki-ri__sub{
    max-width: 52ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.page-id-4122 .kki-ri--polished .kki-ri__grid,
body.page-id-4519 .kki-ri--polished .kki-ri__grid,
body.page-id-4777 .kki-ri--polished .kki-ri__grid,
body.page-id-4778 .kki-ri--polished .kki-ri__grid{
    gap: 18px !important;
}

body.page-id-4122 .kki-ri--polished .kki-ri__card,
body.page-id-4519 .kki-ri--polished .kki-ri__card,
body.page-id-4777 .kki-ri--polished .kki-ri__card,
body.page-id-4778 .kki-ri--polished .kki-ri__card{
    padding: 22px 24px !important;
    border-radius: 14px !important;
}

body.page-id-4122 .kki-ri--polished .kki-ri__meta,
body.page-id-4519 .kki-ri--polished .kki-ri__meta,
body.page-id-4777 .kki-ri--polished .kki-ri__meta,
body.page-id-4778 .kki-ri--polished .kki-ri__meta{
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: rgba(216, 189, 118, 0.68) !important;
    margin: 0 0 10px 0 !important;
}

body.page-id-4122 .kki-ri--polished .kki-ri__title,
body.page-id-4519 .kki-ri--polished .kki-ri__title,
body.page-id-4777 .kki-ri--polished .kki-ri__title,
body.page-id-4778 .kki-ri--polished .kki-ri__title{
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
    font-size: 1.0625rem !important;
}

body.page-id-4122 .kki-ri--polished .kki-ri__excerpt,
body.page-id-4519 .kki-ri--polished .kki-ri__excerpt,
body.page-id-4777 .kki-ri--polished .kki-ri__excerpt,
body.page-id-4778 .kki-ri--polished .kki-ri__excerpt{
    font-size: 0.875rem !important;
    line-height: 1.55 !important;
    color: rgba(247, 240, 223, 0.7) !important;
    margin: 0 0 14px 0 !important;
}

body.page-id-4122 .kki-ri--polished .kki-ri__read,
body.page-id-4519 .kki-ri--polished .kki-ri__read,
body.page-id-4777 .kki-ri--polished .kki-ri__read,
body.page-id-4778 .kki-ri--polished .kki-ri__read{
    font-size: 12px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}
/* ============================================================
 * Founder Note — editorial centered layout
 *
 * Adds proper styling for the previously-unstyled .kki-fn__*
 * children (quote,
mark,
sig,
name,
title,
cta,
arrow) and forces
 * consistent center alignment throughout. Removes the meta line
 * (handled in the shortcode override). Adds a hairline gold
 * divider after the signature as a clean break before the CTA.
 * ============================================================ */

body.page-id-4122 .kki-fn--editorial .kki-fn__inner,
body.page-id-4519 .kki-fn--editorial .kki-fn__inner,
arrow) and forces
 * consistent center alignment throughout. Removes the meta line
 * (handled in the shortcode override). Adds a hairline gold
 * divider after the signature as a clean break before the CTA.
 * ============================================================ */

body.page-id-4777 .kki-fn--editorial .kki-fn__inner,
body.page-id-4778 .kki-fn--editorial .kki-fn__inner{
    text-align: center !important;
    max-width: 820px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 56px) !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__eyebrow,
body.page-id-4519 .kki-fn--editorial .kki-fn__eyebrow,
body.page-id-4777 .kki-fn--editorial .kki-fn__eyebrow,
body.page-id-4778 .kki-fn--editorial .kki-fn__eyebrow{
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: #d8bd76 !important;
    font-weight: 700 !important;
    margin: 0 0 28px 0 !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__quote,
body.page-id-4519 .kki-fn--editorial .kki-fn__quote,
body.page-id-4777 .kki-fn--editorial .kki-fn__quote,
body.page-id-4778 .kki-fn--editorial .kki-fn__quote{
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    quotes: none !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__mark,
body.page-id-4519 .kki-fn--editorial .kki-fn__mark,
body.page-id-4777 .kki-fn--editorial .kki-fn__mark,
body.page-id-4778 .kki-fn--editorial .kki-fn__mark{
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.4em !important;
    color: rgba(216, 189, 118, 0.55) !important;
    line-height: 1 !important;
    vertical-align: -0.06em !important;
    margin: 0 4px !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__text,
body.page-id-4519 .kki-fn--editorial .kki-fn__text,
body.page-id-4777 .kki-fn--editorial .kki-fn__text,
body.page-id-4778 .kki-fn--editorial .kki-fn__text{
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-style: italic !important;
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    line-height: 1.4 !important;
    color: #fff7e8 !important;
    font-weight: 400 !important;
    letter-spacing: -0.005em !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__sig,
body.page-id-4519 .kki-fn--editorial .kki-fn__sig,
body.page-id-4777 .kki-fn--editorial .kki-fn__sig,
body.page-id-4778 .kki-fn--editorial .kki-fn__sig{
    margin: 32px 0 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: center !important;
    background: transparent !important;
    display: block !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__name,
body.page-id-4519 .kki-fn--editorial .kki-fn__name,
body.page-id-4777 .kki-fn--editorial .kki-fn__name,
body.page-id-4778 .kki-fn--editorial .kki-fn__name{
    font-size: 0.875rem !important;
    color: rgba(255, 247, 232, 0.86) !important;
    margin: 0 0 6px 0 !important;
    font-style: italic !important;
    font-weight: 400 !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__title,
body.page-id-4519 .kki-fn--editorial .kki-fn__title,
body.page-id-4777 .kki-fn--editorial .kki-fn__title,
body.page-id-4778 .kki-fn--editorial .kki-fn__title{
    font-size: 11px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: rgba(216, 189, 118, 0.78) !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__sig::after,
body.page-id-4519 .kki-fn--editorial .kki-fn__sig::after,
body.page-id-4777 .kki-fn--editorial .kki-fn__sig::after,
body.page-id-4778 .kki-fn--editorial .kki-fn__sig::after{
    content: '' !important;
    display: block !important;
    width: 40px !important;
    height: 1px !important;
    background: rgba(216, 189, 118, 0.42) !important;
    margin: 28px auto 0 auto !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__cta,
body.page-id-4519 .kki-fn--editorial .kki-fn__cta,
body.page-id-4777 .kki-fn--editorial .kki-fn__cta,
body.page-id-4778 .kki-fn--editorial .kki-fn__cta{
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #d8bd76 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(216, 189, 118, 0.4) !important;
    padding: 0 0 4px 0 !important;
    margin: 28px auto 0 auto !important;
    transition: color .2s ease, border-color .2s ease !important;
    background: transparent !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__cta:hover,
body.page-id-4519 .kki-fn--editorial .kki-fn__cta:hover,
body.page-id-4777 .kki-fn--editorial .kki-fn__cta:hover,
body.page-id-4778 .kki-fn--editorial .kki-fn__cta:hover{
    border-bottom-color: rgba(216, 189, 118, 0.85) !important;
    color: #fff7e8 !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__arrow,
body.page-id-4519 .kki-fn--editorial .kki-fn__arrow,
body.page-id-4777 .kki-fn--editorial .kki-fn__arrow,
body.page-id-4778 .kki-fn--editorial .kki-fn__arrow{
    transition: transform .2s ease !important;
}

body.page-id-4122 .kki-fn--editorial .kki-fn__cta:hover .kki-fn__arrow,
body.page-id-4519 .kki-fn--editorial .kki-fn__cta:hover .kki-fn__arrow,
body.page-id-4777 .kki-fn--editorial .kki-fn__cta:hover .kki-fn__arrow,
body.page-id-4778 .kki-fn--editorial .kki-fn__cta:hover .kki-fn__arrow{
    transform: translateX(3px) !important;
}

@media (max-width: 768px) {
    body.page-id-4122 .kki-fn--editorial .kki-fn__inner,
body.page-id-4519 .kki-fn--editorial .kki-fn__inner,
body.page-id-4777 .kki-fn--editorial .kki-fn__inner,
body.page-id-4778 .kki-fn--editorial .kki-fn__inner{
        padding: 36px 24px !important;
    }
    body.page-id-4122 .kki-fn--editorial .kki-fn__text,
body.page-id-4519 .kki-fn--editorial .kki-fn__text,
body.page-id-4777 .kki-fn--editorial .kki-fn__text,
body.page-id-4778 .kki-fn--editorial .kki-fn__text{
        font-size: 1.25rem !important;
        line-height: 1.45 !important;
    }
    body.page-id-4122 .kki-fn--editorial .kki-fn__sig,
body.page-id-4519 .kki-fn--editorial .kki-fn__sig,
body.page-id-4777 .kki-fn--editorial .kki-fn__sig,
body.page-id-4778 .kki-fn--editorial .kki-fn__sig{
        margin-top: 24px !important;
    }
}

/* ============================================================
 * Founder Note — strip the card chrome
 * The mu-plugin gives .kki-fn__inner a border + bg + 30px radius +
 * heavy padding ("card" framing). User wants no card — let the
 * editorial composition breathe on the section bg directly.
 * ============================================================ */

body.page-id-4122 .kki-fn--editorial .kki-fn__inner,
body.page-id-4519 .kki-fn--editorial .kki-fn__inner,
/* ============================================================
 * Founder Note — strip the card chrome
 * The mu-plugin gives .kki-fn__inner a border + bg + 30px radius +
 * heavy padding ("card" framing). User wants no card — let the
 * editorial composition breathe on the section bg directly.
 * ============================================================ */

body.page-id-4777 .kki-fn--editorial .kki-fn__inner,
body.page-id-4778 .kki-fn--editorial .kki-fn__inner{
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 32px) !important;
    max-width: 760px !important;
}
/* ============================================================
 * Methodology Brief — editorial 4-col layout,
no card chrome.
 *
 * Replaces the boxy navy-glass cards with clean typography:
 *   - Big italic serif Roman numerals as anchors (matching truths)
 *   - Hairline gold vertical dividers between columns
 *   - Header h2 in normal case italic serif (was uppercase)
 *   - Lead paragraph max-width tightened
 *   - Mobile: 2-col on tablet,
1-col on phone with horizontal
 *     hairlines between rows.
 * ============================================================ */

body.page-id-4122 .kki-mb--editorial .kki-mb__h,
body.page-id-4519 .kki-mb--editorial .kki-mb__h,
1-col on phone with horizontal
 *     hairlines between rows.
 * ============================================================ */

body.page-id-4777 .kki-mb--editorial .kki-mb__h,
body.page-id-4778 .kki-mb--editorial .kki-mb__h{
    text-transform: none !important;
    font-style: italic !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
    color: #fff7e8 !important;
    font-weight: 500 !important;
    margin: 0 0 16px 0 !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__lead,
body.page-id-4519 .kki-mb--editorial .kki-mb__lead,
body.page-id-4777 .kki-mb--editorial .kki-mb__lead,
body.page-id-4778 .kki-mb--editorial .kki-mb__lead{
    max-width: 56ch !important;
    margin: 0 auto !important;
    font-size: 0.9375rem !important;
    line-height: 1.65 !important;
    color: rgba(247, 240, 223, 0.78) !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__stages,
body.page-id-4519 .kki-mb--editorial .kki-mb__stages,
body.page-id-4777 .kki-mb--editorial .kki-mb__stages,
body.page-id-4778 .kki-mb--editorial .kki-mb__stages{
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
    margin: 48px auto 0 auto !important;
    list-style: none !important;
    padding: 0 !important;
    width: min(1120px, calc(100% - 48px)) !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__stage,
body.page-id-4519 .kki-mb--editorial .kki-mb__stage,
body.page-id-4777 .kki-mb--editorial .kki-mb__stage,
body.page-id-4778 .kki-mb--editorial .kki-mb__stage{
    padding: 4px 24px 4px 24px !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 1px solid rgba(216, 189, 118, 0.22) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__stage:first-child,
body.page-id-4519 .kki-mb--editorial .kki-mb__stage:first-child,
body.page-id-4777 .kki-mb--editorial .kki-mb__stage:first-child,
body.page-id-4778 .kki-mb--editorial .kki-mb__stage:first-child{
    border-left: 0 !important;
    padding-left: 0 !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__stage:hover,
body.page-id-4519 .kki-mb--editorial .kki-mb__stage:hover,
body.page-id-4777 .kki-mb--editorial .kki-mb__stage:hover,
body.page-id-4778 .kki-mb--editorial .kki-mb__stage:hover{
    border-left-color: rgba(216, 189, 118, 0.62) !important;
    box-shadow: none !important;
    transform: none !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__num,
body.page-id-4519 .kki-mb--editorial .kki-mb__num,
body.page-id-4777 .kki-mb--editorial .kki-mb__num,
body.page-id-4778 .kki-mb--editorial .kki-mb__num{
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.875rem !important;
    color: rgba(216, 189, 118, 0.62) !important;
    line-height: 1 !important;
    background: transparent !important;
    border: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 0 14px 0 !important;
    box-shadow: none !important;
    display: block !important;
    text-align: left !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__stage-h,
body.page-id-4519 .kki-mb--editorial .kki-mb__stage-h,
body.page-id-4777 .kki-mb--editorial .kki-mb__stage-h,
body.page-id-4778 .kki-mb--editorial .kki-mb__stage-h{
    font-size: 12px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #d8bd76 !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    font-style: normal !important;
    margin: 0 0 8px 0 !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__stage-b,
body.page-id-4519 .kki-mb--editorial .kki-mb__stage-b,
body.page-id-4777 .kki-mb--editorial .kki-mb__stage-b,
body.page-id-4778 .kki-mb--editorial .kki-mb__stage-b{
    font-size: 0.875rem !important;
    line-height: 1.55 !important;
    color: rgba(247, 240, 223, 0.72) !important;
    margin: 0 !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__cta,
body.page-id-4519 .kki-mb--editorial .kki-mb__cta,
body.page-id-4777 .kki-mb--editorial .kki-mb__cta,
body.page-id-4778 .kki-mb--editorial .kki-mb__cta{
    margin-top: 44px !important;
    text-align: center !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__link,
body.page-id-4519 .kki-mb--editorial .kki-mb__link,
body.page-id-4777 .kki-mb--editorial .kki-mb__link,
body.page-id-4778 .kki-mb--editorial .kki-mb__link{
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #d8bd76 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(216, 189, 118, 0.4) !important;
    padding: 0 0 4px 0 !important;
    transition: color .2s ease, border-color .2s ease !important;
}

body.page-id-4122 .kki-mb--editorial .kki-mb__link:hover,
body.page-id-4519 .kki-mb--editorial .kki-mb__link:hover,
body.page-id-4777 .kki-mb--editorial .kki-mb__link:hover,
body.page-id-4778 .kki-mb--editorial .kki-mb__link:hover{
    border-bottom-color: rgba(216, 189, 118, 0.85) !important;
    color: #fff7e8 !important;
}

@media (max-width: 960px) {
    body.page-id-4122 .kki-mb--editorial .kki-mb__stages,
body.page-id-4519 .kki-mb--editorial .kki-mb__stages,
body.page-id-4777 .kki-mb--editorial .kki-mb__stages,
body.page-id-4778 .kki-mb--editorial .kki-mb__stages{
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px 0 !important;
    }
    body.page-id-4122 .kki-mb--editorial .kki-mb__stage:nth-child(odd),
body.page-id-4519 .kki-mb--editorial .kki-mb__stage:nth-child(odd),
body.page-id-4777 .kki-mb--editorial .kki-mb__stage:nth-child(odd),
body.page-id-4778 .kki-mb--editorial .kki-mb__stage:nth-child(odd){
        border-left: 0 !important;
        padding-left: 0 !important;
    }
    body.page-id-4122 .kki-mb--editorial .kki-mb__stage:nth-child(even),
body.page-id-4519 .kki-mb--editorial .kki-mb__stage:nth-child(even),
body.page-id-4777 .kki-mb--editorial .kki-mb__stage:nth-child(even),
body.page-id-4778 .kki-mb--editorial .kki-mb__stage:nth-child(even){
        border-left: 1px solid rgba(216, 189, 118, 0.22) !important;
        padding-left: 24px !important;
    }
}

@media (max-width: 560px) {
    body.page-id-4122 .kki-mb--editorial .kki-mb__stages,
body.page-id-4519 .kki-mb--editorial .kki-mb__stages,
body.page-id-4777 .kki-mb--editorial .kki-mb__stages,
body.page-id-4778 .kki-mb--editorial .kki-mb__stages{
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    body.page-id-4122 .kki-mb--editorial .kki-mb__stage,
body.page-id-4519 .kki-mb--editorial .kki-mb__stage,
body.page-id-4777 .kki-mb--editorial .kki-mb__stage,
body.page-id-4778 .kki-mb--editorial .kki-mb__stage{
        border-left: 0 !important;
        border-top: 1px solid rgba(216, 189, 118, 0.22) !important;
        padding: 18px 0 4px 0 !important;
    }
    body.page-id-4122 .kki-mb--editorial .kki-mb__stage:first-child,
body.page-id-4519 .kki-mb--editorial .kki-mb__stage:first-child,
body.page-id-4777 .kki-mb--editorial .kki-mb__stage:first-child,
body.page-id-4778 .kki-mb--editorial .kki-mb__stage:first-child{
        border-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* ============================================================
 * Featured portfolio — image flush with card top
 * The <figure class="kki-fp__media"> has default browser margin
 * (1em 40px) which pushes the hero image down ~16px from the
 * card top edge. Reset margin/padding on both the <figure> and
 * its <a> wrapper so the image sits flush.
 * ============================================================ */

body.page-id-4122 .kki-fp__media,
body.page-id-4519 .kki-fp__media,
body.home .kki-fp__media,
/* ============================================================
 * Featured portfolio — image flush with card top
 * The <figure class="kki-fp__media"> has default browser margin
 * (1em 40px) which pushes the hero image down ~16px from the
 * card top edge. Reset margin/padding on both the <figure> and
 * its <a> wrapper so the image sits flush.
 * ============================================================ */

body.page-id-4777 .kki-fp__media,
body.page-id-4778 .kki-fp__media,
body.page-id-4777 .kki-fp__media{
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-4122 .kki-fp__media-link,
body.page-id-4519 .kki-fp__media-link,
body.home .kki-fp__media-link,
body.page-id-4777 .kki-fp__media-link,
body.page-id-4778 .kki-fp__media-link{
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

body.page-id-4122 .kki-fp__card,
body.page-id-4519 .kki-fp__card,
body.home .kki-fp__card,
body.page-id-4777 .kki-fp__card,
body.page-id-4778 .kki-fp__card{
    padding-top: 0 !important;
}

body.page-id-4122 .kki-fp__card > a:first-child,
body.page-id-4519 .kki-fp__card > a:first-child,
body.home .kki-fp__card > a:first-child,
body.page-id-4777 .kki-fp__card > a:first-child,
body.page-id-4778 .kki-fp__card > a:first-child{
    margin-top: 0 !important;
}

/* ── Developer logos marquee slider ───────────────────────────────────────
 * Continuous horizontal scroll of property-developer logos.
 * Strip is duplicated in PHP so translateX(-50%) loops seamlessly.
 * Pauses on hover; reduced-motion users get a static,
centred strip.
 * Page-scoped to home (4122 EN,
4519 TH).
 *
 * The home pages globally hide horizontal overflow so the marquee track
 * (width: max-content) cannot push the document into a horizontal scroll.
 */
body.page-id-4122,
body.page-id-4519,
4519 TH).
 *
 * The home pages globally hide horizontal overflow so the marquee track
 * (width: max-content) cannot push the document into a horizontal scroll.
 */
body.page-id-4777,
body.page-id-4778{
    overflow-x: hidden;
}

body.page-id-4122 .kki-dev-slider,
body.page-id-4519 .kki-dev-slider,
body.page-id-4777 .kki-dev-slider,
body.page-id-4778 .kki-dev-slider{
    position: relative !important;
    background:
        radial-gradient(circle at 86% 0%, rgba(216, 189, 118, 0.10), transparent 32%),
        linear-gradient(180deg, #0b1420 0%, #07111d 100%) !important;
    border-top: 1px solid rgba(216, 189, 118, 0.20) !important;
    padding: 88px 0 96px !important;
    overflow: hidden !important;
    isolation: isolate;
}

body.page-id-4122 .kki-dev-slider__inner,
body.page-id-4519 .kki-dev-slider__inner,
body.page-id-4777 .kki-dev-slider__inner,
body.page-id-4778 .kki-dev-slider__inner{
    max-width: var(--kki-content-max, 1180px) !important;
    margin: 0 auto !important;
    padding: 0 var(--wp--preset--spacing--60, 32px) !important;
    text-align: center !important;
}

body.page-id-4122 .kki-dev-slider__eyebrow,
body.page-id-4519 .kki-dev-slider__eyebrow,
body.page-id-4777 .kki-dev-slider__eyebrow,
body.page-id-4778 .kki-dev-slider__eyebrow{
    color: #d8bd76 !important;
    font-family: var(--kki-sans) !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    margin: 0 0 14px !important;
    opacity: 1 !important;
}

body.page-id-4122 .kki-dev-slider__h,
body.page-id-4519 .kki-dev-slider__h,
body.page-id-4777 .kki-dev-slider__h,
body.page-id-4778 .kki-dev-slider__h{
    color: #fff7e8 !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-size: 2.25rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.012em !important;
    margin: 0 0 48px !important;
    opacity: 1 !important;
}

body.page-id-4122 .kki-dev-slider__viewport,
body.page-id-4519 .kki-dev-slider__viewport,
body.page-id-4777 .kki-dev-slider__viewport,
body.page-id-4778 .kki-dev-slider__viewport{
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

body.page-id-4122 .kki-dev-slider__track,
body.page-id-4519 .kki-dev-slider__track,
body.page-id-4777 .kki-dev-slider__track,
body.page-id-4778 .kki-dev-slider__track{
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: max-content !important;
    max-width: none !important;
    gap: 64px !important;
    -webkit-animation: kki-dev-slider-marquee 38s linear infinite !important;
            animation: kki-dev-slider-marquee 38s linear infinite !important;
    will-change: transform;
    transform: translateZ(0);
}

body.page-id-4122 .kki-dev-slider__viewport:hover .kki-dev-slider__track,
body.page-id-4519 .kki-dev-slider__viewport:hover .kki-dev-slider__track,
body.page-id-4777 .kki-dev-slider__viewport:hover .kki-dev-slider__track,
body.page-id-4778 .kki-dev-slider__viewport:hover .kki-dev-slider__track{
    animation-play-state: paused;
}

body.page-id-4122 .kki-dev-slider__item,
body.page-id-4519 .kki-dev-slider__item,
body.page-id-4777 .kki-dev-slider__item,
body.page-id-4778 .kki-dev-slider__item{
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 72px !important;
    padding: 0 8px !important;
    list-style: none !important;
}

body.page-id-4122 .kki-dev-slider__logo,
body.page-id-4519 .kki-dev-slider__logo,
body.page-id-4777 .kki-dev-slider__logo,
body.page-id-4778 .kki-dev-slider__logo{
    max-height: 60px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) opacity(0.85);
    transition: filter 220ms ease, transform 220ms ease;
}

body.page-id-4122 .kki-dev-slider__item:hover .kki-dev-slider__logo,
body.page-id-4519 .kki-dev-slider__item:hover .kki-dev-slider__logo,
body.page-id-4777 .kki-dev-slider__item:hover .kki-dev-slider__logo,
body.page-id-4778 .kki-dev-slider__item:hover .kki-dev-slider__logo{
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

@-webkit-keyframes kki-dev-slider-marquee {
    from{ -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    to{ -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

@keyframes kki-dev-slider-marquee {
    from{ -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    to{ -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 768px) {
    body.page-id-4122 .kki-dev-slider,
body.page-id-4519 .kki-dev-slider,
body.page-id-4777 .kki-dev-slider,
body.page-id-4778 .kki-dev-slider{
        padding: 64px 0 72px !important;
    }
    body.page-id-4122 .kki-dev-slider__h,
body.page-id-4519 .kki-dev-slider__h,
body.page-id-4777 .kki-dev-slider__h,
body.page-id-4778 .kki-dev-slider__h{
        font-size: 1.625rem !important;
        margin-bottom: 32px !important;
    }
    body.page-id-4122 .kki-dev-slider__track,
body.page-id-4519 .kki-dev-slider__track,
body.page-id-4777 .kki-dev-slider__track,
body.page-id-4778 .kki-dev-slider__track{
        gap: 44px !important;
        animation-duration: 30s;
    }
    body.page-id-4122 .kki-dev-slider__item,
body.page-id-4519 .kki-dev-slider__item,
body.page-id-4777 .kki-dev-slider__item,
body.page-id-4778 .kki-dev-slider__item{
        height: 52px !important;
    }
    body.page-id-4122 .kki-dev-slider__logo,
body.page-id-4519 .kki-dev-slider__logo,
body.page-id-4777 .kki-dev-slider__logo,
body.page-id-4778 .kki-dev-slider__logo{
        max-height: 44px !important;
        max-width: 140px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-id-4122 .kki-dev-slider__track,
body.page-id-4519 .kki-dev-slider__track,
body.page-id-4777 .kki-dev-slider__track,
body.page-id-4778 .kki-dev-slider__track{
        -webkit-animation-duration: 80s !important;
                animation-duration: 80s !important;
    }
}


/* ── KORKAIIDEA review slider (kki-ir) ─────────────────────────────────────
 * Showcases the 9-slide deck about KKI's AI property platform.
 * Native scroll-snap track with prev/next buttons + dot indicators.
 * Page-scoped to home (4122 EN,
4519 TH).
 */
body.page-id-4122 .kki-ir,
body.page-id-4519 .kki-ir,
4519 TH).
 */
body.page-id-4777 .kki-ir,
body.page-id-4778 .kki-ir{
    background:
        radial-gradient(circle at 14% 0%, rgba(216, 189, 118, 0.10), transparent 32%),
        linear-gradient(180deg, #07111d 0%, #0b1420 100%) !important;
    border-top: 1px solid rgba(216, 189, 118, 0.20) !important;
    padding: 96px 0 !important;
    overflow: hidden !important;
}

body.page-id-4122 .kki-ir__inner,
body.page-id-4519 .kki-ir__inner,
body.page-id-4777 .kki-ir__inner,
body.page-id-4778 .kki-ir__inner{
    max-width: var(--kki-content-max, 1180px) !important;
    margin: 0 auto !important;
    padding: 0 var(--wp--preset--spacing--60, 32px) !important;
}

body.page-id-4122 .kki-ir__header,
body.page-id-4519 .kki-ir__header,
body.page-id-4777 .kki-ir__header,
body.page-id-4778 .kki-ir__header{
    text-align: center !important;
    margin-bottom: 48px !important;
}

body.page-id-4122 .kki-ir__eyebrow,
body.page-id-4519 .kki-ir__eyebrow,
body.page-id-4777 .kki-ir__eyebrow,
body.page-id-4778 .kki-ir__eyebrow{
    color: #d8bd76 !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    margin: 0 0 14px !important;
    opacity: 1 !important;
}

body.page-id-4122 .kki-ir__h,
body.page-id-4519 .kki-ir__h,
body.page-id-4777 .kki-ir__h,
body.page-id-4778 .kki-ir__h{
    color: #fff7e8 !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-size: clamp(1.65rem, 2.6vw, 2.25rem) !important;
    font-weight: 500 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.012em !important;
    margin: 0 auto 16px !important;
    max-width: 28ch !important;
    opacity: 1 !important;
}

body.page-id-4122 .kki-ir__lede,
body.page-id-4519 .kki-ir__lede,
body.page-id-4777 .kki-ir__lede,
body.page-id-4778 .kki-ir__lede{
    color: rgba(247, 240, 223, 0.78) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin: 0 auto !important;
    max-width: 56ch !important;
}

/* Slider chrome */
body.page-id-4122 .kki-ir-slider,
body.page-id-4519 .kki-ir-slider,
/* Slider chrome */
body.page-id-4777 .kki-ir-slider,
body.page-id-4778 .kki-ir-slider{
    position: relative !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}

body.page-id-4122 .kki-ir-slider__track,
body.page-id-4519 .kki-ir-slider__track,
body.page-id-4777 .kki-ir-slider__track,
body.page-id-4778 .kki-ir-slider__track{
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 24px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 8px 4px !important;
    list-style: none !important;
}
body.page-id-4122 .kki-ir-slider__track::-webkit-scrollbar,
body.page-id-4519 .kki-ir-slider__track::-webkit-scrollbar,
body.page-id-4777 .kki-ir-slider__track::-webkit-scrollbar,
body.page-id-4778 .kki-ir-slider__track::-webkit-scrollbar{
    display: none !important;
}

/* Card slider variant — three square photos visible per row on desktop.
 * Photos are transparent PNGs,
so we render them frameless: no card bg,
* no border,
no shadow,
no border-radius — let the artwork sit cleanly
 * on the section background.
 */
body.page-id-4122 .kki-ir-slider--cards .kki-ir-slider__slide,
body.page-id-4519 .kki-ir-slider--cards .kki-ir-slider__slide,
no border-radius — let the artwork sit cleanly
 * on the section background.
 */
body.page-id-4777 .kki-ir-slider--cards .kki-ir-slider__slide,
body.page-id-4778 .kki-ir-slider--cards .kki-ir-slider__slide{
    flex: 0 0 calc((100% - 48px) / 3) !important;
    min-width: 0 !important;
    width: calc((100% - 48px) / 3) !important;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    padding: 0 !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    transition: transform 220ms ease !important;
}
body.page-id-4122 .kki-ir-slider--cards .kki-ir-slider__slide:hover,
body.page-id-4519 .kki-ir-slider--cards .kki-ir-slider__slide:hover,
body.page-id-4777 .kki-ir-slider--cards .kki-ir-slider__slide:hover,
body.page-id-4778 .kki-ir-slider--cards .kki-ir-slider__slide:hover{
    transform: translateY(-3px) !important;
}

body.page-id-4122 .kki-ir-slider__img,
body.page-id-4519 .kki-ir-slider__img,
body.page-id-4777 .kki-ir-slider__img,
body.page-id-4778 .kki-ir-slider__img{
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: transparent !important;
    -webkit-user-select: none;
            user-select: none;
}

body.page-id-4122 .kki-ir-slider__nav,
body.page-id-4519 .kki-ir-slider__nav,
body.page-id-4777 .kki-ir-slider__nav,
body.page-id-4778 .kki-ir-slider__nav{
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid rgba(216, 189, 118, 0.42) !important;
    background: rgba(7, 17, 29, 0.78) !important;
    color: #fff7e8 !important;
    cursor: pointer !important;
    z-index: 2 !important;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease !important;
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
}
body.page-id-4122 .kki-ir-slider__nav svg,
body.page-id-4519 .kki-ir-slider__nav svg,
body.page-id-4777 .kki-ir-slider__nav svg,
body.page-id-4778 .kki-ir-slider__nav svg{
    width: 20px !important;
    height: 20px !important;
}
body.page-id-4122 .kki-ir-slider__nav:hover,
body.page-id-4519 .kki-ir-slider__nav:hover,
body.page-id-4777 .kki-ir-slider__nav:hover,
body.page-id-4778 .kki-ir-slider__nav:hover{
    background: rgba(216, 189, 118, 0.92) !important;
    border-color: rgba(216, 189, 118, 0.92) !important;
    color: #07111d !important;
    transform: translateY(-50%) scale(1.04) !important;
}
body.page-id-4122 .kki-ir-slider__nav--prev,
body.page-id-4519 .kki-ir-slider__nav--prev,
body.page-id-4777 .kki-ir-slider__nav--prev,
body.page-id-4778 .kki-ir-slider__nav--prev{
    left: -22px !important;
}
body.page-id-4122 .kki-ir-slider__nav--next,
body.page-id-4519 .kki-ir-slider__nav--next,
body.page-id-4777 .kki-ir-slider__nav--next,
body.page-id-4778 .kki-ir-slider__nav--next{
    right: -22px !important;
}

/* Tablet — show two cards per row */
@media (max-width: 1024px){
    body.page-id-4122 .kki-ir-slider--cards .kki-ir-slider__slide,
    body.page-id-4519 .kki-ir-slider--cards .kki-ir-slider__slide {
        flex-basis: calc((100% - 24px) / 2) !important;
        width: calc((100% - 24px) / 2) !important;
    }
    body.page-id-4122 .kki-ir-slider__nav--prev,
    body.page-id-4519 .kki-ir-slider__nav--prev {
        left: 4px !important;
    }
    body.page-id-4122 .kki-ir-slider__nav--next,
    body.page-id-4519 .kki-ir-slider__nav--next {
        right: 4px !important;
    }
}

body.page-id-4122 .kki-ir-slider__dots,
body.page-id-4519 .kki-ir-slider__dots,
body.page-id-4777 .kki-ir-slider__dots,
body.page-id-4778 .kki-ir-slider__dots{
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 24px !important;
    list-style: none !important;
    padding: 0 !important;
}
body.page-id-4122 .kki-ir-slider__dot,
body.page-id-4519 .kki-ir-slider__dot,
body.page-id-4777 .kki-ir-slider__dot,
body.page-id-4778 .kki-ir-slider__dot{
    width: 9px !important;
    height: 9px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(247, 240, 223, 0.28) !important;
    cursor: pointer !important;
    transition: background-color 180ms ease, width 180ms ease !important;
}
body.page-id-4122 .kki-ir-slider__dot.is-active,
body.page-id-4519 .kki-ir-slider__dot.is-active,
body.page-id-4777 .kki-ir-slider__dot.is-active,
body.page-id-4778 .kki-ir-slider__dot.is-active{
    background: #d8bd76 !important;
    width: 24px !important;
}
body.page-id-4122 .kki-ir-slider__dot:hover,
body.page-id-4519 .kki-ir-slider__dot:hover,
body.page-id-4777 .kki-ir-slider__dot:hover,
body.page-id-4778 .kki-ir-slider__dot:hover{
    background: rgba(216, 189, 118, 0.78) !important;
}

@media (max-width: 768px) {
    body.page-id-4122 .kki-ir,
body.page-id-4519 .kki-ir,
body.page-id-4777 .kki-ir,
body.page-id-4778 .kki-ir{
        padding: 64px 0 72px !important;
    }
    body.page-id-4122 .kki-ir__header,
body.page-id-4519 .kki-ir__header,
body.page-id-4777 .kki-ir__header,
body.page-id-4778 .kki-ir__header{
        margin-bottom: 32px !important;
    }
    body.page-id-4122 .kki-ir-slider__track,
body.page-id-4519 .kki-ir-slider__track,
body.page-id-4777 .kki-ir-slider__track,
body.page-id-4778 .kki-ir-slider__track{
        gap: 16px !important;
    }
    body.page-id-4122 .kki-ir-slider--cards .kki-ir-slider__slide,
body.page-id-4519 .kki-ir-slider--cards .kki-ir-slider__slide,
body.page-id-4777 .kki-ir-slider--cards .kki-ir-slider__slide,
body.page-id-4778 .kki-ir-slider--cards .kki-ir-slider__slide{
        flex-basis: 72% !important;
        width: 72% !important;
        border-radius: 14px !important;
    }
    body.page-id-4122 .kki-ir-slider__nav,
body.page-id-4519 .kki-ir-slider__nav,
body.page-id-4777 .kki-ir-slider__nav,
body.page-id-4778 .kki-ir-slider__nav{
        width: 38px !important;
        height: 38px !important;
        left: 4px !important;
        right: auto !important;
    }
    body.page-id-4122 .kki-ir-slider__nav--next,
body.page-id-4519 .kki-ir-slider__nav--next,
body.page-id-4777 .kki-ir-slider__nav--next,
body.page-id-4778 .kki-ir-slider__nav--next{
        left: auto !important;
        right: 4px !important;
    }
}


/* ── KORKAIIDEA full-service grid (kki-svc) ───────────────────────────────
 * 10 service items in a 5-col desktop / 2-col tablet / 1-col mobile grid.
 * Monoline icons sit on transparent ground; gold step-numbers + cream
 * service names. Page-scoped to home (4122 EN,
4519 TH).
 */
body.page-id-4122 .kki-svc,
body.page-id-4519 .kki-svc,
4519 TH).
 */
body.page-id-4777 .kki-svc,
body.page-id-4778 .kki-svc{
    background:
        radial-gradient(circle at 86% 0%, rgba(216, 189, 118, 0.10), transparent 32%),
        linear-gradient(180deg, #0b1420 0%, #07111d 100%) !important;
    border-top: 1px solid rgba(216, 189, 118, 0.20) !important;
    padding: 96px 0 !important;
    overflow: hidden !important;
}

body.page-id-4122 .kki-svc__inner,
body.page-id-4519 .kki-svc__inner,
body.page-id-4777 .kki-svc__inner,
body.page-id-4778 .kki-svc__inner{
    max-width: var(--kki-content-max, 1180px) !important;
    margin: 0 auto !important;
    padding: 0 var(--wp--preset--spacing--60, 32px) !important;
}

body.page-id-4122 .kki-svc__header,
body.page-id-4519 .kki-svc__header,
body.page-id-4777 .kki-svc__header,
body.page-id-4778 .kki-svc__header{
    text-align: center !important;
    margin-bottom: 64px !important;
}

body.page-id-4122 .kki-svc__eyebrow,
body.page-id-4519 .kki-svc__eyebrow,
body.page-id-4777 .kki-svc__eyebrow,
body.page-id-4778 .kki-svc__eyebrow{
    color: #d8bd76 !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    margin: 0 0 14px !important;
    opacity: 1 !important;
}

body.page-id-4122 .kki-svc__h,
body.page-id-4519 .kki-svc__h,
body.page-id-4777 .kki-svc__h,
body.page-id-4778 .kki-svc__h{
    color: #fff7e8 !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-size: clamp(1.85rem, 3vw, 2.5rem) !important;
    font-weight: 500 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.012em !important;
    margin: 0 auto 16px !important;
    max-width: 30ch !important;
    opacity: 1 !important;
}

body.page-id-4122 .kki-svc__lede,
body.page-id-4519 .kki-svc__lede,
body.page-id-4777 .kki-svc__lede,
body.page-id-4778 .kki-svc__lede{
    color: rgba(247, 240, 223, 0.78) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin: 0 auto !important;
    max-width: 64ch !important;
}

body.page-id-4122 .kki-svc-grid,
body.page-id-4519 .kki-svc-grid,
body.page-id-4777 .kki-svc-grid,
body.page-id-4778 .kki-svc-grid{
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 28px 24px !important;
    list-style: none !important;
    margin: 0 0 56px !important;
    padding: 0 !important;
}

body.page-id-4122 .kki-svc-grid__item,
body.page-id-4519 .kki-svc-grid__item,
body.page-id-4777 .kki-svc-grid__item,
body.page-id-4778 .kki-svc-grid__item{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 24px 16px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(216, 189, 118, 0.18) !important;
    background: linear-gradient(180deg, rgba(22, 31, 44, 0.88), rgba(9, 16, 26, 0.86)) !important;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.30) !important;
}
body.page-id-4122 .kki-svc-grid__item:hover,
body.page-id-4519 .kki-svc-grid__item:hover,
body.page-id-4777 .kki-svc-grid__item:hover,
body.page-id-4778 .kki-svc-grid__item:hover{
    transform: translateY(-3px) !important;
    border-color: rgba(216, 189, 118, 0.62) !important;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.40) !important;
}

body.page-id-4122 .kki-svc-grid__icon,
body.page-id-4519 .kki-svc-grid__icon,
body.page-id-4777 .kki-svc-grid__icon,
body.page-id-4778 .kki-svc-grid__icon{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 84px !important;
    height: 84px !important;
    border-radius: 999px !important;
    background: rgba(216, 189, 118, 0.10) !important;
    border: 1px solid rgba(216, 189, 118, 0.30) !important;
    margin-bottom: 18px !important;
}
body.page-id-4122 .kki-svc-grid__icon img,
body.page-id-4519 .kki-svc-grid__icon img,
body.page-id-4777 .kki-svc-grid__icon img,
body.page-id-4778 .kki-svc-grid__icon img{
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    /* The source icons are monochrome warm-grey; tint them luxury-gold */
    filter: brightness(0) saturate(100%) invert(78%) sepia(28%) saturate(519%) hue-rotate(7deg) brightness(94%) contrast(85%);
}

body.page-id-4122 .kki-svc-grid__step,
body.page-id-4519 .kki-svc-grid__step,
body.page-id-4777 .kki-svc-grid__step,
body.page-id-4778 .kki-svc-grid__step{
    color: #d8bd76 !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 6px !important;
    opacity: 0.9 !important;
}

body.page-id-4122 .kki-svc-grid__name,
body.page-id-4519 .kki-svc-grid__name,
body.page-id-4777 .kki-svc-grid__name,
body.page-id-4778 .kki-svc-grid__name{
    color: #fff7e8 !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-size: 1.0625rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    margin: 0 0 10px !important;
    max-width: 18ch !important;
}

body.page-id-4122 .kki-svc-grid__desc,
body.page-id-4519 .kki-svc-grid__desc,
body.page-id-4777 .kki-svc-grid__desc,
body.page-id-4778 .kki-svc-grid__desc{
    color: rgba(247, 240, 223, 0.72) !important;
    font-family: var(--kki-sans) !important;
    font-size: 0.8125rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    max-width: 28ch !important;
}

body.page-id-4122 .kki-svc__cta,
body.page-id-4519 .kki-svc__cta,
body.page-id-4777 .kki-svc__cta,
body.page-id-4778 .kki-svc__cta{
    text-align: center !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(216, 189, 118, 0.18) !important;
}
body.page-id-4122 .kki-svc__cta-h,
body.page-id-4519 .kki-svc__cta-h,
body.page-id-4777 .kki-svc__cta-h,
body.page-id-4778 .kki-svc__cta-h{
    color: rgba(247, 240, 223, 0.86) !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-size: 1.5rem !important;
    margin: 28px 0 22px !important;
}
body.page-id-4122 .kki-svc__cta-btn,
body.page-id-4519 .kki-svc__cta-btn,
body.page-id-4777 .kki-svc__cta-btn,
body.page-id-4778 .kki-svc__cta-btn{
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #d8bd76 !important;
    color: #07111d !important;
    text-decoration: none !important;
    border-radius: 2px !important;
    padding: 16px 36px !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    transition: background-color 200ms ease, transform 200ms ease !important;
}
body.page-id-4122 .kki-svc__cta-btn:hover,
body.page-id-4519 .kki-svc__cta-btn:hover,
body.page-id-4777 .kki-svc__cta-btn:hover,
body.page-id-4778 .kki-svc__cta-btn:hover{
    background: #fff7e8 !important;
    transform: translateY(-2px) !important;
}
body.page-id-4122 .kki-svc__cta-arrow,
body.page-id-4519 .kki-svc__cta-arrow,
body.page-id-4777 .kki-svc__cta-arrow,
body.page-id-4778 .kki-svc__cta-arrow{
    transition: transform 200ms ease;
}
body.page-id-4122 .kki-svc__cta-btn:hover .kki-svc__cta-arrow,
body.page-id-4519 .kki-svc__cta-btn:hover .kki-svc__cta-arrow,
body.page-id-4777 .kki-svc__cta-btn:hover .kki-svc__cta-arrow,
body.page-id-4778 .kki-svc__cta-btn:hover .kki-svc__cta-arrow{
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    body.page-id-4122 .kki-svc-grid,
body.page-id-4519 .kki-svc-grid,
body.page-id-4777 .kki-svc-grid,
body.page-id-4778 .kki-svc-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 540px) {
    body.page-id-4122 .kki-svc,
body.page-id-4519 .kki-svc,
body.page-id-4777 .kki-svc,
body.page-id-4778 .kki-svc{
        padding: 72px 0 !important;
    }
    body.page-id-4122 .kki-svc-grid,
body.page-id-4519 .kki-svc-grid,
body.page-id-4777 .kki-svc-grid,
body.page-id-4778 .kki-svc-grid{
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    body.page-id-4122 .kki-svc-grid__item,
body.page-id-4519 .kki-svc-grid__item,
body.page-id-4777 .kki-svc-grid__item,
body.page-id-4778 .kki-svc-grid__item{
        flex-direction: row !important;
        text-align: left !important;
        gap: 16px !important;
        padding: 18px !important;
    }
    body.page-id-4122 .kki-svc-grid__icon,
body.page-id-4519 .kki-svc-grid__icon,
body.page-id-4777 .kki-svc-grid__icon,
body.page-id-4778 .kki-svc-grid__icon{
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 0 !important;
        flex: 0 0 60px !important;
    }
    body.page-id-4122 .kki-svc-grid__icon img,
body.page-id-4519 .kki-svc-grid__icon img,
body.page-id-4777 .kki-svc-grid__icon img,
body.page-id-4778 .kki-svc-grid__icon img{
        width: 34px !important;
        height: 34px !important;
    }
    body.page-id-4122 .kki-svc-grid__step,
body.page-id-4519 .kki-svc-grid__step,
body.page-id-4777 .kki-svc-grid__step,
body.page-id-4778 .kki-svc-grid__step{
        margin-bottom: 2px !important;
    }
    body.page-id-4122 .kki-svc-grid__name,
body.page-id-4519 .kki-svc-grid__name,
body.page-id-4777 .kki-svc-grid__name,
body.page-id-4778 .kki-svc-grid__name{
        max-width: none !important;
        margin-bottom: 6px !important;
    }
    body.page-id-4122 .kki-svc-grid__desc,
body.page-id-4519 .kki-svc-grid__desc,
body.page-id-4777 .kki-svc-grid__desc,
body.page-id-4778 .kki-svc-grid__desc{
        max-width: none !important;
    }
    /* Stacked-row mobile cards: text column should fill the right of icon */
    body.page-id-4122 .kki-svc-grid__item,
body.page-id-4519 .kki-svc-grid__item,
/* Stacked-row mobile cards: text column should fill the right of icon */
    body.page-id-4777 .kki-svc-grid__item,
body.page-id-4778 .kki-svc-grid__item{
        align-items: flex-start !important;
    }
    body.page-id-4122 .kki-svc-grid__item > :not(.kki-svc-grid__icon),
body.page-id-4519 .kki-svc-grid__item > :not(.kki-svc-grid__icon),
body.page-id-4777 .kki-svc-grid__item > :not(.kki-svc-grid__icon),
body.page-id-4778 .kki-svc-grid__item > :not(.kki-svc-grid__icon){
        flex: 0 1 auto;
    }
}


/* ── /projects/ page hero · portfolio-pattern italic centered title ───────
 * Scoped to projects EN (4777) + TH (4778). Mirrors the v11.8.3 portfolio
 * archive hero + matches services + methodology. */
body.page-id-4777 #hero#hero.has-image.kki-service-hero,
body.page-id-4778 #hero#hero.has-image.kki-service-hero,
body.page-id-4777 #hero#hero.has-image,
body.page-id-4778 #hero#hero.has-image{
    position: relative !important;
    overflow: hidden !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #07111d !important;
    display: block !important;
}

@supports (height: 100dvh) {
    body.page-id-4777 #hero#hero.has-image,
body.page-id-4778 #hero#hero.has-image{
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
    }
}

body.page-id-4777 #hero #hero-styles,
body.page-id-4778 #hero #hero-styles{
    height: 100% !important;
    min-height: 100% !important;
    position: relative;
    z-index: 2;
}

/* Caption — full-height table cell,
centered both axes */
body.page-id-4777 #hero #hero-caption,
body.page-id-4778 #hero #hero-caption{
    height: 100vh !important;
    text-align: center !important;
    padding: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}
body.page-id-4777 #hero #hero-caption .inner,
body.page-id-4778 #hero #hero-caption .inner{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
body.page-id-4777 #hero .hero-title-wrapper,
body.page-id-4778 #hero .hero-title-wrapper{
    margin: 0 auto clamp(18px, 2.4vw, 28px) !important;
    overflow: visible !important;
    transform: none !important;
    text-align: center !important;
    max-width: none !important;
    width: auto !important;
}

/* Italic Cormorant Garamond title — match portfolio archive exactly. */
body.page-id-4777 #hero .hero-title,
body.page-id-4777 #hero .hero-title span,
body.page-id-4778 #hero .hero-title,
body.page-id-4778 #hero .hero-title span{
    max-width: none !important;
    color: #f7f0df !important;
    font-family: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif !important;
    font-style: italic !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
    text-align: center !important;
    text-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

body.page-id-4778 #hero .hero-title,
body.page-id-4778 #hero .hero-title span{
    letter-spacing: -0.01em !important;
    line-height: 1.15 !important;
}

/* Subtitle — Poppins,
centered,
620px max */
body.page-id-4777 #hero .hero-subtitle-wrapper,
body.page-id-4778 #hero .hero-subtitle-wrapper{
    max-width: 620px !important;
    margin: 0 auto !important;
    text-align: center !important;
}
body.page-id-4777 #hero .hero-subtitle,
body.page-id-4777 #hero .hero-subtitle span,
body.page-id-4778 #hero .hero-subtitle,
body.page-id-4778 #hero .hero-subtitle span{
    color: rgba(247, 240, 223, 0.78) !important;
    font-family: "Poppins", "IBM Plex Sans Thai", Sarabun, sans-serif !important;
    font-size: clamp(15px, 1.32vw, 20px) !important;
    font-weight: 400 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.55 !important;
    text-align: center !important;
    text-transform: none !important;
}

/* Image layer + gradient — same as portfolio archive */
body.page-id-4777 #hero::before,
body.page-id-4778 #hero::before{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background: var(--kki-portfolio-hero-art, url('https://korkaiidea.com/wp-content/themes/harington/images/kki-portfolio-archive-hero-3d-v2.png')) center center / cover no-repeat !important;
    opacity: 0.96 !important;
    -webkit-transform: scale(1.015);
            transform: scale(1.015);
}
body.page-id-4777 #hero::after,
body.page-id-4778 #hero::after{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 70% 28%, rgba(214, 177, 102, 0.24), rgba(214, 177, 102, 0) 34%),
        linear-gradient(90deg, rgba(7, 17, 29, 0.97) 0%, rgba(7, 17, 29, 0.72) 38%, rgba(7, 17, 29, 0.18) 74%, rgba(7, 17, 29, 0.58) 100%),
        linear-gradient(180deg, rgba(7, 17, 29, 0.42) 0%, rgba(7, 17, 29, 0.08) 42%, rgba(7, 17, 29, 0.88) 100%) !important;
}

/* Hide the separate #hero-image-wrapper (image renders via ::before only) */
body.page-id-4777 #hero-image-wrapper,
body.page-id-4778 #hero-image-wrapper{
    display: none !important;
}

/* Two-button card actions row (View brief + Read review) */
.kki-fp__actions{
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 16px;
}
.kki-fp__more--review{
    color: #d8bd76 !important;
    border-bottom-color: #d8bd76 !important;
}
.kki-fp__more--review:hover{
    color: #fff7e8 !important;
    border-bottom-color: #fff7e8 !important;
}
