/* ============================================================
   Circle Type page — /circle-type.php?type=...
   Color theming via --type-color / --type-light set inline on .circle-type
   ============================================================ */

.circle-type {
    background: #f4f1eb;
    color: #2B3A4A;
    font-family: 'Outfit', sans-serif;
    --type-color: #2B3A4A;
    --type-light: #F2E8B0;
}

/* ----- HERO ----- */
.circle-type__hero {
    background:
        radial-gradient(1200px 500px at 20% 0%, color-mix(in srgb, var(--type-light) 70%, transparent) 0%, transparent 60%),
        linear-gradient(180deg, var(--type-light) 0%, #f4f1eb 100%);
    padding: 96px 24px 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.circle-type__hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.circle-type__pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--type-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 24px;
}

.circle-type__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 88px;
    font-weight: 700;
    line-height: 1.0;
    color: #2B3A4A;
    margin: 0 0 18px;
    letter-spacing: -1px;
}

.circle-type__tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 24px;
    line-height: 1.4;
    color: #4a5868;
    margin: 0 auto 36px;
    max-width: 560px;
}

.circle-type__cta {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    background: #2B3A4A;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.circle-type__cta:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

/* ----- BODY ----- */
.circle-type__body {
    padding: 40px 24px 40px;
}

.circle-type__body-inner {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.circle-type__col {
    background: #fff;
    border-radius: 18px;
    padding: 36px 40px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    border-top: 3px solid var(--type-light);
}

.circle-type__h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: #2B3A4A;
    margin: 0 0 18px;
    line-height: 1.2;
}

.circle-type__h2--centered {
    text-align: center;
    margin-bottom: 36px;
}

.circle-type__col p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 14px;
}

.circle-type__col p:last-child {
    margin-bottom: 0;
}

/* ----- UPCOMING CIRCLES ----- */
.circle-type__upcoming {
    padding: 60px 24px 80px;
}

.circle-type__section-inner {
    max-width: 880px;
    margin: 0 auto;
}

.circle-type__empty {
    text-align: center;
    color: #888;
    font-size: 15px;
    line-height: 1.7;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.circle-type__empty a {
    color: #2B3A4A;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.circle-type__circle-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.circle-type__circle-row {
    background: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr auto;
    gap: 20px;
    align-items: center;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    border-left: 3px solid var(--type-color);
}

.circle-type__circle-when {
    font-weight: 600;
    color: #2B3A4A;
    font-size: 15px;
}

.circle-type__circle-meta {
    color: #666;
    font-size: 14px;
}

.circle-type__circle-meta strong {
    color: #2B3A4A;
}

.circle-type__circle-spots {
    font-size: 13px;
    color: #888;
    text-align: right;
}

.circle-type__circle-spots.is-full {
    color: #c0392b;
    font-weight: 600;
}

.circle-type__btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--type-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.circle-type__btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.circle-type__btn.is-disabled {
    background: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.circle-type__btn--ghost {
    background: transparent;
    color: #2B3A4A;
    border: 1.5px solid #2B3A4A;
}

.circle-type__btn--ghost:hover {
    background: #2B3A4A;
    color: #fff;
}

/* ----- FACILITATORS ----- */
.circle-type__facilitators {
    padding: 40px 24px 200px;
}

.circle-type__fac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.circle-type__fac-tile {
    background: #fff;
    border-radius: 14px;
    padding: 18px 18px 22px;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.circle-type__fac-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f4f1eb;
}

.circle-type__fac-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.circle-type__fac-photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--type-light);
}

.circle-type__fac-photo--empty span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--type-color);
}

.circle-type__fac-name {
    font-weight: 600;
    color: #2B3A4A;
    font-size: 15px;
    margin-bottom: 4px;
}

.circle-type__fac-loc {
    color: #888;
    font-size: 13px;
}

.circle-type__fac-cta-row {
    text-align: center;
    margin: 0;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 720px) {
    .circle-type__hero {
        padding: 64px 20px 28px;
    }
    .circle-type__title {
        font-size: 60px;
    }
    .circle-type__tagline {
        font-size: 20px;
    }
    .circle-type__body {
        padding: 28px 20px 24px;
    }
    .circle-type__col {
        padding: 28px 24px;
    }
    .circle-type__h2 {
        font-size: 26px;
    }
    .circle-type__circle-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
    }
    .circle-type__circle-spots {
        text-align: left;
    }
    .circle-type__circle-cta {
        margin-top: 6px;
    }
    .circle-type__upcoming,
    .circle-type__facilitators {
        padding-left: 20px;
        padding-right: 20px;
    }
    .circle-type__facilitators {
        padding-bottom: 160px;
    }
    .circle-type__fac-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 420px) {
    .circle-type__title {
        font-size: 48px;
    }
    .circle-type__pill {
        font-size: 11px;
    }
}
