/*
 * GCK MASTER CSS — v2.5.1
 * Mobile-first foundation. No external fonts, icons, JS or CSS @import.
 * Scope: .gck-system-page
 */

.gck-system-page {
    --gck-purple: #35116f;
    --gck-purple-dark: #29105f;
    --gck-purple-soft: #faf9fc;
    --gck-gold: #c69a32;
    --gck-gold-dark: #b88620;
    --gck-white: #fff;
    --gck-offwhite: #faf9f7;
    --gck-cream: #f8f6f2;
    --gck-text: #3d3942;
    --gck-muted: #716b75;
    --gck-border: #e7dfd3;
    --gck-border-soft: #eee9e1;
    --gck-container: 1180px;
    --gck-gutter: 48px;
    --gck-section-gap: 82px;
    --gck-button-height: 44px;
    --gck-button-padding: 23px;
    --gck-button-radius: 6px;
    --gck-card-radius: 6px;
    --gck-card-shadow: 0 8px 24px rgba(41,16,95,.08);
    --gck-media-radius: 6px;
    --gck-content-max: 720px;
    box-sizing: border-box;
    color: var(--gck-text);
    font-family: var(--gck-body-font, inherit);
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: anywhere;
}
.gck-system-page :where(p,h1,h2,h3,h4,h5,h6,li,a,button) { overflow-wrap: anywhere; }
.gck-system-page :where(ul,ol) { max-width: 100%; }
.gck-system-page :where(input,select,textarea) { min-width: 0; max-width: 100%; }
.gck-system-page :where(table) { max-width: 100%; border-collapse: collapse; }
.gck-system-page :where(pre,code) { max-width: 100%; }
.gck-system-page :where(pre) { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.gck-system-page *,
.gck-system-page *::before,
.gck-system-page *::after { box-sizing: border-box; }

.gck-system-page :where(img,svg,video,iframe) { max-width: 100%; }
.gck-system-page :where(img,video,iframe) { height: auto; }
.gck-system-page iframe { border: 0; }
.gck-system-page :where(.wp-block-image,.wp-block-embed,.wp-block-table) { max-width: 100%; overflow-x: auto; }
.gck-system-page img { height: auto; }
.gck-system-page :where(a,button,input,select,textarea) { touch-action: manipulation; }
.gck-system-page :where(a,button) { -webkit-tap-highlight-color: transparent; }

.gck-system-page .gck-container {
    width: min(var(--gck-container), calc(100% - (var(--gck-gutter) * 2)));
    max-width: var(--gck-container);
    padding-inline: 0;
    margin-inline: auto;
}

.gck-system-page .gck-section {
    width: 100%;
    padding-block: var(--gck-section-gap, 82px);
    overflow: clip;
}
.gck-system-page .gck-section--white { background: var(--gck-white); }
.gck-system-page .gck-section--soft { background: var(--gck-purple-soft); }
.gck-system-page .gck-section--cream { background: var(--gck-offwhite); }

.gck-system-page .gck-heading {
    width: min(100%, var(--gck-content-max, 720px));
    margin: 0 auto 46px;
    text-align: center;
}
.gck-system-page .gck-eyebrow {
    display: block;
    margin: 0 0 12px;
    color: var(--gck-gold-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .20em;
    line-height: 1.4;
}
.gck-system-page .gck-heading h2 {
    margin: 0;
    color: var(--gck-purple);
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.gck-system-page .gck-heading p {
    max-width: 620px;
    margin: 18px auto 0;
    color: var(--gck-muted);
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.gck-system-page .gck-gold-line {
    display: block;
    width: 54px;
    height: 2px;
    margin: 17px auto 0;
    background: var(--gck-gold);
}

/* Buttons: comfortable tap target without oversized mobile padding. */
.gck-system-page .gck-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: max(44px, var(--gck-button-height, 44px));
    max-width: 100%;
    padding: 10px var(--gck-button-padding, 23px);
    border: 1px solid transparent;
    border-radius: var(--gck-button-radius, 6px);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.gck-system-page .gck-button--primary {
    background: var(--gck-purple);
    color: #fff;
    border-color: var(--gck-purple);
}
.gck-system-page .gck-button--secondary {
    background: transparent;
    color: var(--gck-purple);
    border-color: rgba(53,17,111,.25);
}
@media (hover:hover) and (pointer:fine) {
    .gck-system-page .gck-button--primary:hover {
        background: var(--gck-gold);
        border-color: var(--gck-gold);
        color: #fff;
        transform: translateY(-1px);
    }
    .gck-system-page .gck-button--secondary:hover {
        background: var(--gck-purple);
        border-color: var(--gck-purple);
        color: #fff;
        transform: translateY(-1px);
    }
}

/* Shared components */
.gck-system-page .gck-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--gck-border);
    border-radius: var(--gck-card-radius, 6px);
    background: var(--gck-white);
    box-shadow: var(--gck-card-shadow, none);
}
.gck-system-page .gck-media-frame {
    width: 100%;
    overflow: hidden;
    border-radius: var(--gck-media-radius, 6px);
}
.gck-system-page .gck-media-frame img {
    display: block;
    width: 100%;
}
.gck-system-page .gck-grid {
    display: grid;
    min-width: 0;
    gap: clamp(16px, 2vw, 24px);
}
.gck-system-page .gck-grid > * { min-width: 0; }
.gck-system-page .gck-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gck-system-page .gck-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gck-system-page .gck-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }


@media (prefers-reduced-motion: reduce) {
    .gck-system-page *,
    .gck-system-page *::before,
    .gck-system-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

