/*
 * Grace Coffee (pId 67312) — brand override styles.
 * Auto-loaded by base.php for this brand on every page.
 *
 * Inherits the site design system from theme.css — neutrals (--text/--text-2/
 * --text-3), surfaces, borders, radii and shadows. No hardcoded palette, so the
 * page matches the rest of the website and re-themes automatically.
 *
 * Brand colour: reference --brand-primary (the runtime-injected per-brand value).
 * These aliases MUST be declared on `body`, not :root — base.php injects
 * --brand-primary/--brand on `body`, and custom properties only inherit downward,
 * so a :root rule can't see them and would fall through to theme.css's default
 * (blue) or the ue_silver theme's red. See the note at theme.css body{--main-bg-color}.
 */
body {
    --gbs-brand: var(--brand-primary, var(--brand));
    --gbs-ink: var(--text);
    --gbs-body: var(--text-2);
    --gbs-muted: var(--text-3);
    --gbs-line: var(--border-subtle);
    --gbs-surface: var(--surface);
    --gbs-cream: var(--surface-2);
}

/* ── Shell ──────────────────────────────────────────────────────── */
.gbs {
    color: var(--gbs-body);
    background: var(--gbs-surface);
}
.gbs-section {
    padding: 56px 0;
}
.gbs-section--cream {
    background: var(--gbs-cream);
}

/* ── Hero ───────────────────────────────────────────────────────── */
.gbs-hero {
    text-align: center;
    padding: 64px 0 40px;
    background:
        radial-gradient(120% 90% at 50% 0%, var(--brand-primary-100, var(--brand-soft)), transparent 60%),
        var(--gbs-cream);
}
.gbs-hero__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gbs-brand);
    margin-bottom: 12px;
}
.gbs-hero__title {
    margin: 0;
    font-size: 44px;
    line-height: 1.08;
    font-weight: 800;
    color: var(--gbs-ink);
}
.gbs-hero__place {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 15px;
    color: var(--gbs-muted);
}
.gbs-hero__place svg {
    width: 18px;
    height: 18px;
    color: var(--gbs-brand);
}
.gbs-hero__rule {
    display: block;
    width: 64px;
    height: 4px;
    margin: 22px auto 0;
    border-radius: var(--r-pill, 999px);
    background: var(--gbs-brand);
}

/* ── Section kickers + copy ─────────────────────────────────────── */
.gbs-kicker {
    display: block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gbs-brand);
    position: relative;
    padding-bottom: 12px;
}
.gbs-kicker::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: var(--r-pill, 999px);
    background: var(--gbs-brand);
}
.gbs-kicker--center {
    text-align: center;
}
.gbs-kicker--center::after {
    left: 50%;
    transform: translateX(-50%);
}
.gbs-block-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}
.gbs-block-head__sub {
    margin: 4px 0 0;
    font-size: 16px;
    line-height: 27px;
    color: var(--gbs-body);
}
.gbs-para {
    font-size: 16px;
    line-height: 28px;
    margin: 0 0 16px;
}
.gbs-para:last-child {
    margin-bottom: 0;
}
.gbs-para strong {
    color: var(--gbs-ink);
    font-weight: 700;
}

/* ── Split rows ─────────────────────────────────────────────────── */
.gbs-split {
    row-gap: 36px;
}

/* ── What We Offer ──────────────────────────────────────────────── */
.gbs-courses {
    row-gap: 24px;
}
.gbs-course {
    height: 100%;
    padding: 28px 24px;
    background: var(--gbs-surface);
    border: 1px solid var(--gbs-line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gbs-courses > [class*="col-"] {
    display: flex;
}
.gbs-course:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}
.gbs-course__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: var(--r);
    color: var(--gbs-brand);
    background: var(--brand-primary-100, var(--brand-soft));
}
.gbs-course__icon svg {
    width: 28px;
    height: 28px;
}
.gbs-course__title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--gbs-ink);
}
.gbs-course__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 23px;
    color: var(--gbs-body);
}

/* ── Philosophy pillars ─────────────────────────────────────────── */
.gbs-pillars {
    row-gap: 28px;
}
.gbs-pillar {
    height: 100%;
    padding: 30px 26px;
    border-radius: var(--r-lg);
    background: var(--gbs-cream);
    border-top: 3px solid var(--gbs-brand);
}
.gbs-pillars > [class*="col-"] {
    display: flex;
}
.gbs-pillar__num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--gbs-brand);
    opacity: .5;
    line-height: 1;
    margin-bottom: 14px;
}
.gbs-pillar__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--gbs-ink);
}
.gbs-pillar__text {
    margin: 0;
    font-size: 15px;
    line-height: 25px;
    color: var(--gbs-body);
}

/* ── Who Should Attend list ─────────────────────────────────────── */
.gbs-attend {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.gbs-attend li {
    position: relative;
    padding: 14px 0 14px 34px;
    font-size: 16px;
    line-height: 24px;
    color: var(--gbs-ink);
    border-bottom: 1px solid var(--gbs-line);
}
.gbs-attend li:last-child {
    border-bottom: 0;
}
.gbs-attend li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat,
        var(--gbs-brand);
}

/* ── Get In Touch ───────────────────────────────────────────────── */
.gbs-contact {
    padding: 56px 0 64px;
    background: var(--gbs-cream);
}
.gbs-contact__card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 44px 32px;
    background: var(--gbs-surface);
    border: 1px solid var(--gbs-line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
}
.gbs-contact__name {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--gbs-ink);
}
.gbs-contact__addr {
    margin: 6px 0 26px;
    font-size: 15px;
    color: var(--gbs-muted);
}
.gbs-contact__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 32px;
    margin-bottom: 4px;
}
.gbs-contact__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gbs-ink);
    text-decoration: none;
    transition: color .15s ease;
}
.gbs-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--gbs-brand);
    background: var(--brand-primary-100, var(--brand-soft));
    transition: color .15s ease, background .15s ease;
}
.gbs-contact__icon svg {
    width: 20px;
    height: 20px;
}
.gbs-contact__item:hover .gbs-contact__icon {
    color: var(--brand-on-primary, #fff);
    background: var(--gbs-brand);
}
.gbs-contact__quote {
    margin: 30px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--gbs-line);
    font-size: 18px;
    font-style: italic;
    color: var(--gbs-ink);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .gbs-section { padding: 40px 0; }
    .gbs-hero { padding: 48px 0 32px; }
    .gbs-hero__title { font-size: 32px; }
    .gbs-contact__row { flex-direction: column; gap: 14px; }
}
