/* Homepage slider styles. Shared phone previews are provided by mobile-app.css. */

/* ------------------------------------------------------------------
   Homepage slider: the Mobile App hero reused as a slide.
   The slide keeps the 1750 x 622 frame of the other home banners, so
   the carousel does not change height between slides.
   ------------------------------------------------------------------ */
.pbt-mobile-slide {
    background: #006ac3;
    text-align: left;
}

.pbt-mobile-slide .pbt-mobile-hero {
    display: flex;
    align-items: center;
    /* The width must stay definite: otherwise max-height clamps the height and
       the aspect ratio shrinks the box to 1750px, leaving the slide off-centre. */
    width: 100%;
    min-height: 320px;
    aspect-ratio: 1750 / 622;
    /* The banner images stop growing at their natural 1750 x 622 size, so the
       hero slide caps there too and never becomes the tallest slide. */
    max-height: 622px;
}

.pbt-mobile-slide .pbt-mobile-hero-grid {
    /* The phone mock-ups keep the page's own size and offsets and the page's 50px
       padding, so the slide shows only their upper part and crops the bottom,
       exactly like the hero on the Mobile App page. */
    min-height: 0;
    height: 100%;
}

.pbt-mobile .pbt-mobile-slide-title {
    margin-block: clamp(.75rem, 1vw, 1.15rem) clamp(.85rem, 1.2vw, 1.4rem);
    max-width: 20ch;
    font-size: clamp(1.6rem, 2.9vw, 3rem);
    line-height: 1.1;
}

.pbt-mobile-slide .pbt-mobile-intro > p:not(.pbt-mobile-eyebrow) {
    max-width: 30rem;
    font-size: clamp(.95rem, 1.05vw, 1.2rem);
    line-height: 1.55;
}

.pbt-mobile-slide .pbt-mobile-intro .pbt-mobile-button {
    min-height: clamp(2.6rem, 3vw, 3.25rem);
    margin-block: clamp(.9rem, 1.4vw, 1.5rem) 0;
    padding: clamp(.55rem, .8vw, .9rem) clamp(1.25rem, 2.2vw, 2.4rem);
    font-size: clamp(.9rem, 1vw, 1.1rem);
}

/* Desktop keeps the page's phone sizing; nothing to override here. */

/* Tablet and phone: a compact banner with the message and the call to action. */
@media (max-width: 991.98px) {
    .pbt-mobile-slide .pbt-mobile-hero {
        aspect-ratio: auto;
    }

    .pbt-mobile-slide .pbt-mobile-hero-grid {
        display: block;
        padding-block: clamp(2.25rem, 6vw, 3.5rem);
    }

    .pbt-mobile-slide .pbt-mobile-hero-visual {
        display: none;
    }

    .pbt-mobile .pbt-mobile-slide-title {
        max-width: 24ch;
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .pbt-mobile-slide .pbt-mobile-intro > p:not(.pbt-mobile-eyebrow) {
        font-size: clamp(1rem, 2.4vw, 1.15rem);
    }
}

/* Beginners Workshop */
.pbt-workshop {
    width: 100%;
    aspect-ratio: 1750 / 622;
    max-height: 622px;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Preserve the curve scale at the 2545px banner width; its SVG includes 3x horizontal bleed. */
    background:
        url('/themes/2025/assets/img/backgrounds/bg-workshop-curves.svg') center / cover no-repeat,
        url('/themes/2025/assets/img/backgrounds/bg-workshop-light.svg?v=2') calc(50% + 80px) center / 7635px auto no-repeat,
        #006ac3;
    color: #fff;
    text-align: left;
}
.pbt-workshop-grid {
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(45px, 6vw, 105px);
    align-items: center;
    padding-block: 25px 35px;
}
.pbt-workshop :is(p, h2, h3) { margin: 0; color: inherit; }
.pbt-workshop .pbt-workshop-eyebrow {
    font-size: clamp(12px, .97vw, 17px);
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
}
.pbt-workshop .pbt-workshop-level {
    display: inline-block;
    margin-top: clamp(12px, 1.3vw, 23px);
    padding: 7px 20px;
    border: 1px solid #ffffff4d;
    border-radius: 28px;
    background: #ffffff26;
    color: #fff;
    font-size: clamp(18px, 1.37vw, 24px);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.pbt-workshop h2 {
    margin-top: clamp(8px, .8vw, 14px);
    font-size: clamp(32px, 3.6vw, 63px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 750;
    text-transform: none;
}
.pbt-workshop .pbt-workshop-tagline { margin-top: 12px; font-size: clamp(16px, 1.31vw, 23px); line-height: 1.4; }
.pbt-workshop .pbt-workshop-date { margin-top: clamp(15px, 1.5vw, 26px); font-size: clamp(22px, 1.66vw, 29px); line-height: 1.3; font-weight: 700; }
.pbt-workshop .pbt-workshop-location { margin-top: 7px; font-size: clamp(15px, 1.14vw, 20px); line-height: 1.4; }
.pbt-workshop-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: clamp(16px, 1.55vw, 27px); }
.pbt-workshop .pbt-workshop-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ed1731;
    color: #fff;
    padding: clamp(12px, 1vw, 18px) clamp(24px, 2.1vw, 37px);
    border-radius: 40px;
    font-size: clamp(16px, 1.25vw, 22px);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}
.pbt-workshop .pbt-workshop-button:hover { background: #ce1027; }
.pbt-workshop .pbt-workshop-button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.pbt-workshop-price { font-size: clamp(14px, 1vw, 18px); white-space: nowrap; }
.pbt-workshop-price strong { font-size: 1.15em; }
.pbt-workshop-credits { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: clamp(20px, 1.8vw, 31px); padding-top: 14px; border-top: 1px solid #ffffff40; font-size: clamp(13px, 1vw, 18px); line-height: 1.4; }
.pbt-workshop-credits span + span { border-left: 1px solid #ffffff66; padding-left: 25px; }
.pbt-workshop-program { padding-right: 18px; }
.pbt-workshop-program > p { margin-bottom: clamp(20px, 1.8vw, 31px); }
.pbt-workshop-days { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(21px, 1.8vw, 32px); }
.pbt-workshop-days li { display: flex; align-items: center; gap: clamp(14px, 1.25vw, 22px); padding: clamp(14px, 1.1vw, 19px); border-radius: 19px; background: linear-gradient(135deg, #fff, #e8f4ff); color: #101e34; box-shadow: 0 14px 28px #00366b40; transform: rotate(3deg); }
.pbt-workshop-days li:nth-child(2) { transform: translateX(-24px) rotate(-2deg); }
.pbt-workshop-days li:nth-child(3) { transform: translateX(14px) rotate(2deg); }
.pbt-workshop-calendar { flex: 0 0 clamp(58px, 5vw, 88px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px 0; border-radius: 14px; background: #e0effc; color: #006ac3; }
.pbt-workshop-calendar span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.pbt-workshop-calendar strong { font-size: clamp(30px, 2.45vw, 43px); line-height: 1.2; }
.pbt-workshop .pbt-workshop-day-label { color: #006ac3; font-size: clamp(10px, .69vw, 12px); letter-spacing: .07em; font-weight: 700; text-transform: uppercase; line-height: 1.4; }
.pbt-workshop h3 { margin-top: 6px; font-size: clamp(17px, 1.42vw, 25px); line-height: 1.2; font-weight: 700; text-transform: none; letter-spacing: -.02em; }
.pbt-workshop-days h3 + p { margin-top: 7px; color: #4a6078; font-size: clamp(12px, .92vw, 16px); line-height: 1.4; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .pbt-workshop-grid { padding-block: 0 10px; }
}
@media (max-width: 991.98px) {
    .pbt-workshop { aspect-ratio: auto; max-height: none; }
    .pbt-workshop-grid { display: block; width: calc(100% - 48px); padding-block: 35px 45px; }
    .pbt-workshop-program { display: none; }
    .pbt-workshop h2 { font-size: clamp(32px, 7vw, 48px); }
    .pbt-workshop-credits { gap: 8px 18px; }
    .pbt-workshop-credits span + span { border: 0; padding: 0; }
}

/* Version 10 Launch Webinar */
.pbt-launch {
    width: 100%;
    aspect-ratio: 1750 / 622;
    max-height: 622px;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    text-align: left;
    background:
        url('/themes/2025/assets/img/backgrounds/bg-workshop-curves.svg') center / cover no-repeat,
        url('/themes/2025/assets/img/backgrounds/bg-workshop-light.svg?v=2') calc(50% + 80px) center / 7635px auto no-repeat,
        #006ac3;
}
.pbt-launch-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 3vw, 52px); align-items: center; padding-block: 25px 35px; }
.pbt-launch-copy { position: relative; z-index: 2; }
.pbt-launch-copy :is(p,h2) { margin: 0; color: inherit; }
.pbt-launch .pbt-launch-eyebrow { font-size: clamp(12px, .95vw, 16px); line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #fff; }
.pbt-launch .pbt-launch-webinar { display: inline-flex; gap: 10px; align-items: center; margin-top: clamp(12px, 1.2vw, 21px); padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 30px; background: rgba(255, 255, 255, .85); color: #000; font-size: clamp(13px, 1vw, 17px); line-height: 1.2; font-weight: 600; }
.pbt-launch-webinar i { color: #006ac3; }
.pbt-launch h2 { font-size: clamp(32px, 3.1vw, 54px); line-height: 1.06; font-weight: 750; letter-spacing: -.035em; text-transform: none; margin-top: clamp(14px, 1.25vw, 22px); }
.pbt-launch h2 span { color: #fff; }
.pbt-launch .pbt-launch-subtitle { margin-top: clamp(14px, 1.25vw, 22px); font-size: clamp(17px, 1.37vw, 24px); line-height: 1.4; color: #e0efff; }
.pbt-launch .pbt-launch-date { display: flex; align-items: center; gap: 10px; margin-top: clamp(17px, 1.6vw, 28px); font-size: clamp(15px, 1.25vw, 22px); font-weight: 700; line-height: 1.4; white-space: nowrap; }
.pbt-launch-date i { color: #a4d5fa; }
.pbt-launch-date span { color: #7ca4c6; font-weight: 400; }
.pbt-launch .pbt-launch-button { display: inline-flex; justify-content: center; align-items: center; margin-top: clamp(17px, 1.6vw, 28px); padding: clamp(13px, 1.05vw, 18px) clamp(28px, 2.4vw, 42px); background: #ed1731; color: white; border-radius: 40px; font-size: clamp(17px, 1.25vw, 22px); font-weight: 700; line-height: 1.2; text-decoration: none; }
.pbt-launch .pbt-launch-button:hover { background: #ce1027; }
.pbt-launch .pbt-launch-button { gap: 12px; }
.pbt-launch .pbt-launch-button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.pbt-launch-visual { position: relative; height: clamp(330px, 30vw, 520px); min-width: 0; }
.pbt-launch-desktop { position: absolute; left: 0; top: 8%; width: 96%; border: 5px solid #193c60; border-radius: 16px; background: white; box-shadow: 0 25px 55px #001c4355; overflow: hidden; transform: perspective(1200px) rotateY(-7deg) rotateZ(-2deg); }
.pbt-launch-browser { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 13px; background: #e7f0f9; color: #56718c; font-size: 11px; line-height: 1.2; }
.pbt-launch-browser span { color: #8ca4bc; letter-spacing: 3px; }
.pbt-launch-browser b { font-weight: 600; }
.pbt-launch-desktop img { display: block; width: 100%; height: auto; }
.pbt-launch .pbt-launch-phone { position: absolute; width: 23%; background: transparent; border-radius: 24px; box-shadow: 0 18px 40px #00152b55; }
.pbt-launch-phone-transcripts { left: -4%; top: 32%; transform: rotate(-7deg); }
.pbt-launch-phone-calendar { right: -3%; top: 25%; transform: rotate(7deg); }
.pbt-launch-phone .pbt-app-preview { border-width: 4px; border-radius: 23px; --pbt-phone-frame: #102b46; }
.pbt-launch .pbt-launch-platforms { position: absolute; left: 28%; bottom: -2%; display: flex; align-items: center; gap: 12px; color: #e1f4ff; font-size: clamp(14px, 1vw, 17px); font-weight: 600; letter-spacing: .04em; }
.pbt-launch-platforms span { opacity: .5; }
@media (min-width:1200px) and (max-width:1399.98px) {
    .pbt-launch-grid { padding-block: 10px 25px; }
    .pbt-launch .pbt-launch-date { font-size: 16px; }
    .pbt-launch-desktop { width: 88%; left: 3%; top: 2%; }
    .pbt-launch .pbt-launch-phone { width: 20%; }
    .pbt-launch-phone-transcripts { left: 0; top: 28%; }
    .pbt-launch-phone-calendar { right: 2%; top: 20%; }
}
@media (max-width:991.98px) {
    .pbt-launch { aspect-ratio: auto; max-height: none; }
    .pbt-launch-grid { display: block; padding-block: 35px 45px; }
    .pbt-launch-visual { display: none; }
    .pbt-launch .pbt-launch-date { white-space: normal; flex-wrap: wrap; }
}
