/* ========================================
   EVENTS PAGE
   Page-specific styles only.
   Global typography, buttons, hero styles, image breaks,
   and testimonials are inherited from prof-bubbles-2026.css.
   ======================================== */


/* ========================================
   01. EVENTS HERO
   ======================================== */

#slides.slide-events {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.slide-events .hero-content {
    left: 1vw;
}

.hero-curve svg path {
    fill: #ffffff;
}


/* ========================================
   02. EVENT INTRO
   ======================================== */

#event-intro {
    background: #ffffff;
    padding: 140px 0 120px;
}

#event-intro .pb-section-header {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

#event-intro .pb-kicker {
    margin-bottom: 18px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;
}

#event-intro .pb-section-heading {
    max-width: 820px;
    margin: 0 auto;

    font-family: var(--pb-font-body);
    font-size: clamp(34px, 3.8vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.045em;

    color: #12202A;
}

#event-intro .pb-divider {
    margin: 24px auto 36px;
}

#event-intro .pb-subheading {
    max-width: 780px;
    margin: 0 auto 22px;

    font-size: clamp(19px, 1.55vw, 24px);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.015em;

    color: #66727A;
}

#event-intro .pb-final {
    margin: 8px 0 0;

    font-size: clamp(18px, 1.35vw, 22px);
    font-weight: 500;

    color: var(--pb-blue);
}


/* ========================================
   03. EVENT INTRO TEXT HELPERS
   Used inside the intro copy.
   ======================================== */

.pb-lead {
    margin-bottom: 2rem;
    font-size: 1.25em;
}

.pb-highlight,
.pb-closing {
    margin-top: 2rem;
    font-weight: 500;
}

.pb-final {
    margin-top: 1rem;
    font-size: 1.15em;
    color: var(--pb-blue);
}


/* ========================================
   04. EVENT GALLERY
   ======================================== */

.event-gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;

    margin-top: 72px;
}

.event-gallery-item {
    margin: 0;
}

.event-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.15;
    object-fit: cover;

    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(8, 19, 29, 0.12);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.event-gallery-item:hover img {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(8, 19, 29, 0.16);
}

.event-gallery-item figcaption {
    padding: 22px 4px 0;
}

.event-gallery-item strong {
    display: block;
    margin-bottom: 8px;

    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;

    color: #12202A;
}

.event-gallery-item figcaption span {
    display: block;
    margin-top: 18px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.7;

    color: var(--pb-blue);
}


/* ========================================
   05. EVENT GALLERY CARD QUOTES
   ======================================== */

.event-card-quote {
    position: relative;
    margin-top: 28px;
    padding-top: 8px;
}

.event-card-quote::before {
    content: "“";

    position: absolute;
    top: -20px;
    left: -4px;

    font-family: Georgia, serif;
    font-size: 60px;
    line-height: 1;

    color: rgba(37, 150, 190, 0.12);
}

.event-card-quote p {
    margin: 0;

    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.75;

    color: #566473;
}

.event-card-quote cite {
    display: block;
    margin-top: 12px;

    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;

    color: #9aa6b2;
}


/* ========================================
   06. EVENT IMAGE BREAK
   Uses global .pb-image-break-content, blockquote,
   and cite styles where available.
   ======================================== */

.pb-image-break {
    position: relative;
    min-height: 520px;
    overflow: hidden;

    background-image: url("../img/pictures/prof-bubbles_events_quote.jpg");
    background-size: cover;
    background-position: 60% center;
    background-repeat: no-repeat;
}
.pb-image-break-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(8, 19, 29, 0.82) 0%,
        rgba(8, 19, 29, 0.60) 35%,
        rgba(8, 19, 29, 0.28) 65%,
        rgba(8, 19, 29, 0.10) 100%
    );
}


/* ========================================
   07. EVENT VIDEO
   ======================================== */

#event-video {
    padding-bottom: 120px;
}

#event-video .pb-video-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

#event-video .pb-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(8, 19, 29, 0.16);
}

#event-video .pb-video-container iframe {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    border: 0;
}


/* ========================================
   08. WHY IT WORKS
   ======================================== */

#why-it-works {
    background: var(--pb-soft-white);
    padding: 95px 0 100px;
}

#why-it-works .pb-section-header {
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: center;
}

#why-it-works .pb-kicker {
    margin-bottom: 18px;
}

#why-it-works .pb-section-heading {
    max-width: 760px;
    margin: 0 auto;

    font-family: var(--pb-font-body);
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;

    color: #12202A;
}

#why-it-works .pb-divider {
    margin: 28px auto 0;
}

.event-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;

    max-width: 1400px;
    margin: 0 auto;
}

.event-proof-item {
    text-align: center;
}

.event-proof-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;

    margin: 0 auto 22px;

    opacity: 0.75;
}

.event-proof-item:nth-child(3) .event-proof-icon {
    transform: scale(1.4);
}

.event-proof-item h3 {
    margin: 0 0 14px;

    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;

    color: #12202A;
}

.event-proof-item p {
    margin: 0;

    font-size: 16px;
    line-height: 1.65;

    color: #5F6C75;
}


/* ========================================
   09. LOGO WALL
   ======================================== */

.pb-logo-section {
    background: #F7F8FA;
    padding: 90px 0;

    color: #12202A;
}

.pb-logo-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 34px 70px;

    max-width: 980px;
    margin: 55px auto 0;
}

.pb-logo-tile {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 72px;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.pb-logo-tile img {
    width: auto;
    height: auto;
    max-width: 165px;
    max-height: 58px;
    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.58;

    transition:
        opacity 0.25s ease,
        filter 0.25s ease,
        transform 0.25s ease;
}

.pb-logo-tile:hover img {
    filter: grayscale(0%);
    opacity: 0.9;
    transform: translateY(-2px);
}

.pb-logo-note {
    max-width: 850px;
    margin: 56px auto 0;

    font-size: 18px;
    line-height: 1.7;
    text-align: center;

    color: rgba(18, 32, 42, 0.76);
}


/* ========================================
   10. RESPONSIVE: TABLET
   ======================================== */

@media (max-width: 1000px) {

    .event-proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 44px;
    }

}

@media (max-width: 991px) {

    .pb-logo-wall {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 46px;
    }

}

@media (max-width: 900px) {

    .event-gallery-row {
        grid-template-columns: 1fr;
        gap: 32px;

        margin-top: 52px;
    }

    .event-gallery-item img {
        aspect-ratio: 4 / 3;
    }

}


/* ========================================
   11. RESPONSIVE: MOBILE
   ======================================== */

@media (max-width: 767px) {

    .pb-logo-section {
        padding: 72px 0;
    }

    .pb-logo-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 34px;

        margin-top: 42px;
    }

    .pb-logo-tile {
        min-height: 62px;
    }

    .pb-logo-tile img {
        max-width: 130px;
        max-height: 46px;
    }

}

@media (max-width: 640px) {

    #why-it-works {
        padding: 75px 0 80px;
    }

    .event-proof-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

}
