/*
 * Extracted from mu-plugins/kalon-guest-reviews.php on 2026-04-10
 * (Phase 4 of the kalon-theme refactor).
 *
 * Shared styles for all eight per-guest review shortcodes (Sam, Laura,
 * Maleia, Bryan, Matthew, Marnie, Kris, Ty & Jan). Sources its design
 * tokens from _kalon-design-system.php which still emits inline.
 */


/* ── Hero — background-image for bulletproof coverage ─────── */
.kgr-hero {
    position: relative;
    min-height: 55svh;
    max-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.kgr-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}
.kgr-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 60px;
    max-width: 800px;
}
.kgr-hero__eyebrow {
    font-family: var(--kalon-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin: 0 0 14px;
}
.kgr-hero__title {
    font-family: var(--kalon-font-body) !important;
    font-size: clamp(30px, 5vw, 46px) !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #fff !important;
    line-height: 1.15 !important;
    margin: 0 0 20px !important;
    text-shadow: 0 2px 24px rgba(0,0,0,0.3) !important;
}
.kgr-hero__quote {
    font-family: var(--kalon-font-serif, Georgia, serif);
    font-size: clamp(17px, 2.2vw, 22px);
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Review body ──────────────────────────────────────────── */
.kgr-body {
    font-family: var(--kalon-font-body);
    color: var(--kalon-text-body);
    line-height: 1.8;
    font-size: 16px;
}
.kgr-body p {
    margin: 0 0 20px;
}
.kgr-body p:last-child {
    margin-bottom: 0;
}
.kgr-body a {
    color: var(--kalon-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 179, 219, 0.3);
    transition: border-color 0.2s;
}
.kgr-body a:hover {
    border-bottom-color: var(--kalon-cyan);
}

/* Pull quote — left border accent */
.kgr-pullquote {
    font-family: var(--kalon-font-serif);
    font-size: clamp(19px, 2.5vw, 22px);
    font-weight: 300;
    font-style: italic;
    color: var(--kalon-text-body);
    line-height: 1.55;
    border-left: 3px solid var(--kalon-cyan);
    padding-left: 24px;
    margin: 40px 0;
}

/* Review subheadings (for Matthew's longer review) */
.kgr-body h2 {
    font-family: var(--kalon-font-body);
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kalon-text-primary);
    line-height: 1.25;
    margin: 48px 0 20px;
    position: relative;
}
.kgr-body h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--kalon-gradient);
    margin-top: 10px;
    border-radius: 2px;
}

/* Back link + CTA section */
.kgr-footer {
    text-align: center;
    padding-top: 20px;
}
.kgr-footer__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--kalon-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kalon-text-primary);
    text-decoration: none;
    transition: gap 0.2s;
    margin-bottom: 32px;
}
.kgr-footer__back:hover { gap: 12px; }
.kgr-footer__back svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .kgr-hero {
        min-height: 45svh;
        max-height: 500px;
    }
    .kgr-hero__overlay {
        background: rgba(0,0,0,0.50);
    }
    .kgr-hero__content {
        padding: 100px 24px 48px;
    }
    .kgr-pullquote {
        margin: 28px 0;
        padding-left: 18px;
        font-size: 18px;
    }
    .kgr-body h2 {
        margin-top: 36px;
    }
}

