﻿/* ============================================================
   PIB WORKSHOPS — COMPLETE SELF-CONTAINED STYLESHEET
   No dependency on pib-courses.css.
   Uses CSS custom properties from the site's root theme.
   ============================================================ */

/* ── Reset / Base ── */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ── Eligibility Banner ── */
.pib-elig {
    background: var(--color-accent);
    padding: .52rem 0;
    text-align: center;
}

    .pib-elig p {
        margin: 0;
        font-size: .81rem;
        font-weight: 600;
        color: var(--color-text-on-accent);
    }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.pib-hero {
    background: var(--color-primary);
    padding: 3.5rem 0 2.75rem;
    position: relative;
    overflow: hidden;
}

    .pib-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( -45deg, rgba(244,187,68,.04) 0, rgba(244,187,68,.04) 1px, transparent 1px, transparent 34px );
        pointer-events: none;
    }

.pib-badge {
    display: inline-block;
    background: rgba(244,187,68,.14);
    color: var(--color-accent);
    font-size: .69rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .25rem .78rem;
    border-radius: 2rem;
    border: 1px solid rgba(244,187,68,.28);
    margin-bottom: .85rem;
}

.pib-hero h1 {
    color: #fff;
    font-size: clamp(1.65rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: .8rem;
}

    .pib-hero h1 span {
        color: var(--color-accent);
    }

.pib-hero-lead {
    color: rgba(255,255,255,.72);
    font-size: .93rem;
    font-weight: 400;
    max-width: 500px;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.pib-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1.3rem;
    color: rgba(255,255,255,.6);
    font-size: .82rem;
}

    .pib-hero-meta span {
        display: flex;
        align-items: center;
        gap: .35rem;
    }

.pib-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
    display: inline-block;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.pib-btn {
    display: inline-block;
    background: var(--btn-accent-bg);
    color: var(--btn-accent-text);
    font-weight: 600;
    font-size: .87rem;
    padding: .6rem 1.45rem;
    border-radius: var(--btn-radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
}

    .pib-btn:hover {
        background: var(--btn-accent-hover-bg);
        color: var(--btn-accent-text);
    }

.pib-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-size: .87rem;
    font-weight: 500;
    padding: .58rem 1.35rem;
    border-radius: var(--btn-radius);
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.32);
    transition: border-color .15s, background .15s;
}

    .pib-btn-outline:hover {
        border-color: rgba(255,255,255,.75);
        background: rgba(255,255,255,.06);
        color: #fff;
    }

/* ══════════════════════════════════════════
   TRUST / STATS BAR
══════════════════════════════════════════ */
.pib-trust {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.pib-stat h3 {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.pib-stat p {
    font-size: .74rem;
    color: var(--color-text-muted);
    margin: 0;
    font-weight: 500;
}

/* ══════════════════════════════════════════
   SECTION TYPOGRAPHY
══════════════════════════════════════════ */
.pib-eyebrow {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-accent-dim);
    margin-bottom: .28rem;
}

.pib-rule {
    display: block;
    width: 34px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    margin-bottom: 1.35rem;
}

.pib-section-title {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: .3rem;
}

/* ══════════════════════════════════════════
   HIGHLIGHT CARDS
══════════════════════════════════════════ */
.pib-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: .55rem;
    padding: 1.1rem 1rem;
    height: 100%;
    transition: box-shadow .17s, transform .17s;
}

    .pib-card:hover {
        box-shadow: 0 4px 18px rgba(26,79,110,.09);
        transform: translateY(-2px);
    }

.pib-card-icon {
    font-size: 1.1rem;
    margin-bottom: .6rem;
    display: block;
}

.pib-card h5 {
    font-size: .87rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: .18rem;
}

.pib-card p {
    font-size: .825rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ══════════════════════════════════════════
   FREE OFFER BANNER
══════════════════════════════════════════ */
.wshop-offer-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(26,79,110,.06) 0%, rgba(244,187,68,.08) 100%);
    border: 1.5px solid var(--color-accent);
    border-radius: .65rem;
    padding: 1.25rem 1.35rem;
}

.wshop-offer-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.wshop-offer-banner h5 {
    font-size: .96rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: .25rem;
}

.wshop-offer-banner p {
    font-size: .825rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ══════════════════════════════════════════
   HOT BADGE ON CARDS
══════════════════════════════════════════ */
.wshop-hot-card {
    border-top-color: var(--color-accent) !important;
    position: relative;
}

.wshop-hot-badge {
    display: inline-block;
    margin-top: .55rem;
    background: rgba(244,187,68,.15);
    color: #b8820a;
    font-size: .68rem;
    font-weight: 600;
    padding: .18rem .6rem;
    border-radius: 2rem;
    border: 1px solid rgba(244,187,68,.35);
}

/* ══════════════════════════════════════════
   WORKSHOP LIST (21 items)
══════════════════════════════════════════ */
.wshop-list {
    display: flex;
    flex-direction: column;
}

.wshop-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .78rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: background .15s, padding .15s, margin .15s;
}

    .wshop-item:last-child {
        border-bottom: none;
    }

    .wshop-item:hover {
        background: var(--color-surface);
        border-radius: .4rem;
        padding-left: .5rem;
        padding-right: .5rem;
        margin-left: -.5rem;
        margin-right: -.5rem;
    }

.wshop-item-hot {
    background: rgba(244,187,68,.04);
}

    .wshop-item-hot:hover {
        background: rgba(244,187,68,.09) !important;
    }

.wshop-num {
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 700;
    flex-shrink: 0;
}

.wshop-item-hot .wshop-num {
    background: var(--color-accent);
    color: var(--color-text-on-accent);
}

.wshop-detail {
    flex: 1;
}

    .wshop-detail h6 {
        font-size: .87rem;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: .06rem;
    }

    .wshop-detail p {
        font-size: .8rem;
        color: var(--color-text-muted);
        margin: 0;
        line-height: 1.5;
    }

/* Popularity stars */
.wshop-heat {
    font-size: .7rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
    letter-spacing: .02em;
}

.wshop-heat-2 {
    color: var(--color-text-muted);
}

.wshop-heat-3 {
    color: var(--color-primary);
}

.wshop-heat-4 {
    color: var(--color-accent-dim);
}

/* ══════════════════════════════════════════
   CONTACT / ENROLL CARD
══════════════════════════════════════════ */
.pib-contact-card {
    background: var(--color-primary);
    border-radius: .75rem;
    padding: 1.65rem 1.45rem;
    position: sticky;
    top: 80px;
}

    .pib-contact-card h4 {
        color: #fff;
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: .22rem;
    }

    .pib-contact-card .pib-sub {
        color: rgba(255,255,255,.52);
        font-size: .79rem;
        margin-bottom: 1.25rem;
    }

    .pib-contact-card label {
        font-size: .74rem;
        font-weight: 500;
        color: rgba(255,255,255,.62);
        margin-bottom: .22rem;
        display: block;
    }

    .pib-contact-card input,
    .pib-contact-card select,
    .pib-contact-card textarea {
        width: 100%;
        background: rgba(255,255,255,.1);
        border: 1px solid rgba(255,255,255,.2);
        border-radius: var(--input-radius);
        padding: var(--input-padding);
        color: #fff;
        font-size: .835rem;
        font-family: inherit;
        outline: none;
        transition: border-color .15s, box-shadow .15s;
    }

        .pib-contact-card input::placeholder,
        .pib-contact-card textarea::placeholder {
            color: rgba(255,255,255,.32);
        }

        .pib-contact-card input:focus,
        .pib-contact-card select:focus,
        .pib-contact-card textarea:focus {
            border-color: var(--color-accent);
            box-shadow: 0 0 0 3px rgba(244,187,68,.22);
        }

        .pib-contact-card select option {
            background: var(--color-primary);
            color: #fff;
        }

.pib-fg {
    margin-bottom: .7rem;
}

.pib-submit {
    width: 100%;
    background: var(--btn-accent-bg);
    color: var(--btn-accent-text);
    font-weight: 600;
    font-size: .87rem;
    padding: .62rem;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
    margin-top: .25rem;
}

    .pib-submit:hover {
        background: var(--btn-accent-hover-bg);
    }

    .pib-submit:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

.pib-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.13);
    margin: 1.1rem 0;
}

.pib-info {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .79rem;
    color: rgba(255,255,255,.62);
    margin-bottom: .42rem;
}

    .pib-info a {
        color: rgba(255,255,255,.78);
        text-decoration: none;
    }

        .pib-info a:hover {
            color: var(--color-accent);
        }

.pib-info-ico {
    width: 23px;
    height: 23px;
    background: rgba(255,255,255,.1);
    border-radius: .3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .76rem;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .pib-contact-card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .pib-hero {
        padding: 2.5rem 0 2rem;
    }

    .wshop-offer-banner {
        flex-direction: column;
        gap: .65rem;
    }

    .wshop-item {
        align-items: flex-start;
    }

    .wshop-heat {
        margin-top: .15rem;
    }

    .pib-contact-card {
        padding: 1.25rem 1rem;
    }
}

/* ══════════════════════════════════════════
   HERO CHECKLIST (6 client items)
══════════════════════════════════════════ */
.wshop-hero-checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .85rem;
}

    .wshop-hero-checks li {
        display: flex;
        align-items: center;
        gap: .4rem;
        color: rgba(255,255,255,.82);
        font-size: .84rem;
        font-weight: 500;
    }

        .wshop-hero-checks li::before {
            content: '✔';
            color: var(--color-accent);
            font-size: .78rem;
            font-weight: 700;
            flex-shrink: 0;
        }

/* ══════════════════════════════════════════
   OFFER BANNER — expanded with list
══════════════════════════════════════════ */
.wshop-offer-body {
    flex: 1;
}

.wshop-offer-subhead {
    font-size: .78rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: .65rem 0 .35rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.wshop-offer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .28rem .85rem;
}

    .wshop-offer-list li {
        display: flex;
        align-items: center;
        gap: .35rem;
        font-size: .8rem;
        color: var(--color-text-muted);
    }

        .wshop-offer-list li::before {
            content: '✓';
            width: 16px;
            height: 16px;
            background: var(--color-primary);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .58rem;
            font-weight: 700;
            flex-shrink: 0;
        }

/* ══════════════════════════════════════════
   FEATURED WORKSHOPS (7 items, 2-col grid)
══════════════════════════════════════════ */
.wshop-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

@media (max-width: 575.98px) {
    .wshop-featured-grid {
        grid-template-columns: 1fr;
    }
}

.wshop-featured-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-primary);
    border-radius: .45rem;
    padding: .85rem .9rem;
    transition: box-shadow .15s, transform .15s;
}

    .wshop-featured-item:hover {
        box-shadow: 0 3px 14px rgba(26,79,110,.09);
        transform: translateY(-1px);
    }

.wshop-featured-ico {
    font-size: 1.15rem;
    flex-shrink: 0;
    line-height: 1.2;
}

.wshop-featured-item h6 {
    font-size: .84rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: .12rem;
}

.wshop-featured-item p {
    font-size: .775rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ══════════════════════════════════════════
   TAGLINES (5 client items)
══════════════════════════════════════════ */
.wshop-taglines {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.wshop-tagline-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: .4rem;
    padding: .65rem 1rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--color-text);
}

.wshop-tagline-ico {
    color: var(--color-accent);
    font-size: .9rem;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   BOTTOM CTA BANNER (client copy)
══════════════════════════════════════════ */
.wshop-cta-banner {
    background: var(--color-primary);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

    .wshop-cta-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( -45deg, rgba(244,187,68,.04) 0, rgba(244,187,68,.04) 1px, transparent 1px, transparent 34px );
        pointer-events: none;
    }

    .wshop-cta-banner h2 {
        color: #fff;
        font-size: clamp(1.3rem, 2.5vw, 1.9rem);
        font-weight: 700;
        margin-bottom: .5rem;
    }

    .wshop-cta-banner p {
        color: rgba(255,255,255,.65);
        font-size: .95rem;
        margin-bottom: 1.5rem;
    }
.wshop-apply-btn {
    display: inline-block;
    margin-top: .55rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border: 1.5px solid var(--color-primary);
    border-radius: var(--btn-radius);
    padding: .28rem .75rem;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

    .wshop-apply-btn:hover {
        background: var(--color-primary);
        color: #fff;
    }