/**
 * Creative Workshop — Figma node 1435:15233
 * https://www.figma.com/design/RgNVpZ3TrlxEWXWB9QrQjD/The-House-of-Legends?node-id=1435-15233
 * Mobile: hero — 1530-26090; Ideal For — 1530-26472; Workshop Formats — 1530-26528
 * Depends on landing-page-v5.css, private-event.css (hero, inquiry, shared tokens).
 */

.cw-main {
    background: #1a1a1a;
}

/* Partner strip under hero — desktop hidden; mobile matches Private Events (landing-page-v5 2×2 grid) */
.cw-partners-mobile-only {
    display: none;
}

/* ---- Organizer band (image + copy) ---- */
.cw-organizer {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.cw-organizer-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cw-organizer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cw-organizer-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #1a1a1a 0%,
        rgba(26, 26, 26, 0.88) 42%,
        rgba(26, 26, 26, 0.35) 72%,
        rgba(26, 26, 26, 0) 100%
    );
}

.cw-organizer-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    max-width: none;
    padding-left: 120px;
    padding-right: 120px;
    box-sizing: border-box;
}

.cw-organizer-copy {
    max-width: 588px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cw-organizer-title {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 64px;
    line-height: 72px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.cw-organizer-text {
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #a6a6a6;
    margin: 0;
}

.cw-organizer-text + .cw-organizer-text {
    margin-top: 0;
}

/* ---- Ideal For ---- */
.cw-ideal {
    background: #2e2e2e;
    padding: 80px 24px;
}

.cw-ideal-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.cw-ideal-title {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 64px;
    line-height: 72px;
    font-weight: 400;
    color: #c5a059;
    text-align: center;
    margin: 0;
}

.cw-ideal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.cw-ideal-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 34px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.cw-ideal-card svg {
    width: 32px;
    height: 32px;
    color: #c5a059;
    flex-shrink: 0;
}

.cw-ideal-card p {
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    margin: 0;
}

/* ---- Why host: card titles use white per Figma ---- */
.cw-why .pe-xp-card-body h3 {
    color: #fff;
}

/* ---- Workshop formats ---- */
.cw-formats {
    background: #1a1a1a;
    padding: 80px 24px;
}

.cw-formats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.cw-formats-title {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 64px;
    line-height: 72px;
    font-weight: 400;
    color: #c5a059;
    text-align: center;
    margin: 0;
}

.cw-formats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    width: 100%;
    align-items: start;
}

.cw-format-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-top: 8px;
}

.cw-format-icon-wrap {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid #2e2e2e;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-format-icon-wrap svg {
    width: 40px;
    height: 40px;
    color: #c5a059;
}

.cw-format-item h3 {
    font-family: "Philosopher", serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.cw-format-item p {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #808080;
    margin: 0;
    max-width: 220px;
}

.pe-hero-ctas .cw-hero-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: 800px;
    background: #c5a059;
    color: #1a1a1a;
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .cw-ideal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cw-formats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .cw-organizer-bg::after {
        background: linear-gradient(
            180deg,
            rgba(26, 26, 26, 0.92) 0%,
            rgba(26, 26, 26, 0.65) 45%,
            rgba(26, 26, 26, 0.25) 100%
        );
    }
}

@media (max-width: 768px) {
    .cw-partners-mobile-only {
        display: block;
    }

    .cw-organizer-title {
        font-size: 40px;
        line-height: 48px;
    }

    .cw-ideal-title,
    .cw-formats-title {
        font-size: 32px;
        line-height: 40px;
    }

    /* Hero — Figma 1530-26090 (strip + stacked meta, same pattern as Private Events) */
    .cw-page .pe-hero {
        min-height: auto;
        padding: 0 0 40px;
        flex-direction: column;
        align-items: stretch;
    }

    .cw-page .pe-hero-bg {
        position: relative;
        height: 210px;
        flex-shrink: 0;
    }

    .cw-page .pe-hero-bg img {
        position: absolute;
        inset: 0;
    }

    .cw-page .pe-hero-inner {
        padding: 0 16px 64px;
        margin-top: -40px;
        gap: 16px;
        background-color: #1a1a1a;
    }

    .cw-page .pe-hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .cw-page .pe-hero-subtitle {
        font-size: 18px;
        line-height: 28px;
    }

    .cw-page .pe-hero-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .cw-page .pe-hero-meta-item {
        font-size: 14px;
        line-height: 20px;
    }

    .cw-page .pe-hero-meta-item svg {
        width: 20px;
        height: 20px;
    }

    .cw-page .pe-hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .cw-page .pe-hero-ctas .cw-hero-btn-gold {
        font-size: 16px;
        line-height: 24px;
        padding: 8px 16px;
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }

    /* Ideal For — Figma 1530-26472: 2-column card grid */
    .cw-ideal {
        padding: 40px 16px;
    }

    .cw-ideal-inner {
        gap: 24px;
    }

    .cw-ideal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .cw-ideal-card {
        padding: 20px 10px;
        gap: 12px;
        border-radius: 12px;
    }

    .cw-ideal-card svg {
        width: 28px;
        height: 28px;
    }

    .cw-ideal-card p {
        font-size: 14px;
        line-height: 20px;
    }

    /* Workshop Formats — Figma 1530-26528: 2×2 grid, compact icons */
    .cw-formats {
        padding: 40px 16px;
    }

    .cw-formats-inner {
        gap: 24px;
    }

    .cw-formats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .cw-format-item {
        gap: 12px;
        padding-top: 0;
    }

    .cw-format-icon-wrap {
        width: 96px;
        height: 96px;
        border-width: 3px;
    }

    .cw-format-icon-wrap svg {
        width: 36px;
        height: 36px;
    }

    .cw-format-item h3 {
        font-size: 18px;
        line-height: 26px;
    }

    .cw-format-item p {
        font-size: 14px;
        line-height: 20px;
        max-width: none;
    }

    .cw-organizer {
        min-height: 520px;
        padding: 60px 24px;
    }

    .cw-organizer-inner {
        padding-left: 0;
        padding-right: 0;
    }
}
