/* eBook / Resource LP (page-ebook-lp-tpl.php): hero_form (default), body_form, report.
   Markup carries webstick.css .flex / .flex-center / .container / .section-container.
   Two-class heading selectors on purpose: converted pages keep _elementor_data, so
   elementor-only.css's `.elementor-page h2` (0-1-1) would beat a single class.
   Every @media block sits at the end: an equal-specificity base rule after it would win. */

/* ---- SHARED ---- */
.eb-about,
.eb-authors,
.eb-resources,
.eb-main,
.eb-rmain {
    background: var(--color-white);
}
.eb-logos,
.eb-rabout {
    background: #f7f9fc;    /* no token; --color-gray-100 is #f5f7fa */
}
.eb-authors,
.eb-resources {
    border-top: var(--border-default);
}
.eb-hero__form-card .marketo-form__wrapper,
.eb-hero__form-card .marketo-form__container,
.eb-hero__form-card .marketo-form__container-form,
.eb-main__form-card .marketo-form__wrapper,
.eb-main__form-card .marketo-form__container,
.eb-main__form-card .marketo-form__container-form {
    padding: 0;
    margin: 0;
    background: transparent;
}
.eb-hero__form-card .marketo-form__container h3,
.eb-main__form-card .marketo-form__container h3,
.eb-rmain__form .marketo-form__container h3 {
    color: var(--color-text-main);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: 36px;
    margin-bottom: 24px;
}
.eb-about h2,
.eb-main__body h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: 36px;
    margin-bottom: 20px;
}
.eb-about__body p {
    font-size: var(--font-size-md);
    line-height: 1.5;
    color: var(--color-text-body);
}

/* ---- HERO (hero_form) ---- */
.eb-hero {
    background: var(--banner-bg);
    padding: 120px 0 20px;
    color: var(--color-text-inverse);
}
.eb-hero__container {
    align-items: flex-start;
    gap: 48px;
    max-width: 1224px;
}
.eb-hero__left {
    flex: 1;
    flex-direction: column;
}
.eb-hero__cover {
    padding-top: 24px;
    margin-bottom: -80px;
    position: relative;
    z-index: 2;
}
.eb-hero__cover img {
    max-width: 400px;
    height: auto;
    display: block;
}
.eb-hero__headline {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    line-height: 60px;
    margin-bottom: 20px;
}
/* Eyebrow span inside hero_headline_main; unitless line-height, or it inherits the H1's 60px. */
.eb-hero__headline .sub-heading {
    display: block;
    font-size: 26px;
    line-height: 1.2;
}
.eb-hero__subtitle {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    line-height: 25px;
    margin-bottom: 50px;
}
.eb-hero__form-card {
    flex: 1;
    background: var(--color-white);
    border-radius: 5px;
    padding: 30px 32px 14px;
    width: 100%;
    max-width: 550px;
    box-shadow: none;
    color: var(--color-text-main);
}
.eb-hero__form-card label,
.eb-hero__form-card .mktoLabel,
.eb-hero__form-card .mktoHtmlText,
.eb-hero__form-card .mktoFieldDescriptor,
.eb-hero__form-card .mktoCheckboxList label {
    color: var(--color-text-main);
}
/* No cover to overlap into ABOUT, so the hero closes itself. */
.eb-hero.eb-hero--no-cover {
    padding-bottom: 80px;
}
.eb-hero.eb-hero--no-cover + .eb-about {
    padding-top: 80px;
}

/* ---- ABOUT ---- */
.eb-about {
    padding: 120px 20px 80px;
}

/* ---- AUTHORS ---- */
.eb-authors {
    padding: 0 20px 80px;
}
.eb-authors > .section-container {
    max-width: 800px;
    padding: 60px 0 0;
}
.eb-authors__item {
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 48px;
}
.eb-authors__item:last-child {
    margin-bottom: 0;
}
.eb-authors__photo {
    flex-shrink: 0;
}
.eb-authors__photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
.eb-authors__info h3 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    line-height: 21.6px;
    margin-bottom: 12px;
}
.eb-authors__bio p {
    font-size: var(--font-size-base);
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

/* ---- RELATED RESOURCES ---- */
.eb-resources {
    padding: 80px 20px;
}
.eb-resources > .section-container {
    max-width: 1224px;
    padding: 0;
}
.eb-resources__heading {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: 36px;
    text-align: center;
    margin-bottom: 48px;
}
.eb-resources__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.eb-resources__card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
}
.eb-resources__icon {
    margin-bottom: 20px;
    height: 84px;
}
.eb-resources__icon img {
    height: 84px;
    width: auto;
    max-width: 100%;
}
.eb-resources__card h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 12px;
}
.eb-resources__desc {
    flex: 1;
    margin-bottom: 24px;
}
.eb-resources__desc p {
    font-size: var(--font-size-base);
    color: var(--color-text-body);
    line-height: 1.6;
    margin: 0 0 0.75rem;
}
.eb-resources__desc p:last-child {
    margin-bottom: 0;
}
.eb-resources__card .ti-btn {
    width: 100%;
}

/* ---- LAYOUT: body_form — text-only hero, then body copy left + Marketo card right ---- */
.eb-hero.eb-hero--text-only {
    padding: 170px 0 80px;
}
.eb-hero.eb-hero--text-only .eb-hero__container,
.eb-hero.eb-hero--text-only .eb-hero__left {
    display: block;
}
.eb-hero.eb-hero--text-only .eb-hero__text {
    max-width: 690px;       /* wraps the H1 where the Elementor original did */
}
.eb-hero.eb-hero--text-only .eb-hero__headline {
    font-weight: var(--font-weight-black);
}
.eb-hero.eb-hero--text-only .eb-hero__subtitle {
    margin-bottom: 0;
}
.eb-hero__btn {
    display: none;          /* desktop: the form is one screen down */
    margin-top: 32px;
}
.eb-main {
    padding: 70px 0 100px;
    position: relative;
}
.eb-main__container {
    align-items: flex-start;
    gap: 0;
    max-width: 1224px;
    position: relative;
}
/* 734 + 490 = 1224. The card is out of flow above 1024px, so the body caps itself. */
.eb-main__body {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 734px;
    padding-right: 30px;
}
.eb-main__form-card {
    flex: 0 0 490px;
    max-width: 490px;
    background: var(--color-white);
    border-radius: 5px;
    padding: 40px;
    box-shadow: var(--ti-box-shadow);
}
.eb-main .eb-about__body h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin: 28px 0 12px;
}
.eb-main .eb-about__body ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 20px;
}
.eb-main .eb-about__body li {
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-text-body);
    padding-bottom: 5px;
}

/* ---- TRUSTED BY: pure-CSS marquee (two identical lists, track slides -50%; no JS for Delay-JS to break) ---- */
.eb-logos {
    padding: 80px 0;
    text-align: center;
}
.eb-logos .eb-logos__heading {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    margin: 0 auto 40px;
}
@keyframes eb-logos-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.eb-logos__strip {
    overflow: hidden;
    width: 100%;
}
.eb-logos__track {
    width: max-content;
    animation: eb-logos-scroll 54s linear infinite;
}
.eb-logos__strip:hover .eb-logos__track {
    animation-play-state: paused;
}
.eb-logos__list {
    flex-wrap: nowrap;
    flex-shrink: 0;
}
.eb-logos__slide {
    width: 181px;
    display: inline-flex;
    padding: 14px 12px;
    box-sizing: border-box;
}
.eb-logos__slide img {
    display: block;
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}
.eb-logos__slide a:hover img,
.eb-logos__slide:hover img {
    filter: none;
    opacity: 1;
}

/* ---- LAYOUT: report — bg-image hero → cover + form → quote card → grey About.
   Values from the Elementor originals (53896, 65415); its breakpoints are 1024/767. ---- */
.eb-hero.eb-hero--report {
    position: relative;
    min-height: 65vh;
    padding: 0;
    background-color: var(--color-blue-900);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    background-attachment: fixed;
}
.eb-hero.eb-hero--report::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-blue-900);
    opacity: var(--eb-overlay, 0.8);
}
.eb-rhero__container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 80px;
    text-align: center;
}
.eb-rhero__text {
    max-width: 820px;
    margin: 0 auto;
}
.eb-hero--report .eb-rhero__headline {
    font-size: var(--font-size-4xl);
    line-height: 1.5;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 0 0 20px;
}
.eb-hero--report .eb-rhero__subtitle {
    font-size: var(--font-size-md);
    line-height: 27px;
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
    margin: 0 0 34.4px;     /* 14.4px p margin + 20px widget gap */
}
/* With badges (65415): copy left, badges right, no min-height. */
.eb-hero.eb-hero--report.eb-hero--badges {
    min-height: 0;
    padding: 120px 0 80px;
    background-position: center center;
    background-attachment: scroll;
}
.eb-hero--badges .eb-rhero__container {
    padding-top: 0;
    text-align: left;
}
.eb-hero--badges .eb-rhero__text {
    flex: 0 0 50%;
    max-width: 50%;
    margin: 0;
    padding: 20px;
}
.eb-hero--badges .eb-rhero__headline {
    font-size: var(--font-size-3xl);
    line-height: 1.3;
    margin: 0 0 32px;
}
.eb-hero--badges .eb-rhero__cta {
    margin-bottom: 20px;
}
.eb-rhero__badges {
    flex: 0 0 50%;
    gap: 40px;
    padding: 20px 40px;
}
.eb-rhero__badges img {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: auto;
}
.eb-rmain {
    padding: 80px 0;
}
.eb-rmain__cover,
.eb-rmain__form {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 10px 20px;
}
.eb-rmain__cover {
    text-align: center;
}
.eb-rmain__cover img {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    height: auto;
}
/* marketo-form.css caps the container at 490px with 45px padding all round. */
.eb-rmain__form .marketo-form__wrapper .marketo-form__container {
    max-width: none;
    margin: 0;
    padding: 0 45px 45px;
}
/* Quote card: out of flow above 1024px, lifted 52px into the band above;
   About's --after-quote top padding leaves room for its lower half. */
.eb-rquote {
    padding: 0 30px 50px;
}
.eb-rquote__inner {
    position: relative;
    max-width: 1180px;
    min-height: 1px;
    margin: 0 auto;
}
.eb-rquote__card {
    position: absolute;
    top: -52px;
    left: 0;
    right: 0;
    z-index: 1;
    margin: 0;
    padding: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 5px;
}
.eb-rquote__text {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    font-size: 20.8px;
    line-height: 31.2px;
    font-weight: 500;
    font-style: normal;
    text-align: center;
    color: var(--color-text-body);
}
.eb-rquote__meta {
    gap: 15px;
    font-style: normal;     /* non-critical.css italicises figcaption */
}
.eb-rquote__photo {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    margin-bottom: 6px;     /* Elementor's meta row is 66px tall */
    border-radius: 50%;
    object-fit: cover;
}
.eb-rquote__who {
    flex-direction: column;
    text-align: left;
    color: var(--color-text-body);
}
.eb-rquote__name {
    font-size: var(--font-size-base);
    line-height: 24px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}
.eb-rquote__role {
    font-size: 13.6px;
    line-height: 13.6px;
    font-weight: 500;
}
.eb-rabout {
    padding: 100px 30px;
}
.eb-rabout.eb-rabout--after-quote {
    padding-top: 170px;
}
.eb-rabout__container {
    text-align: center;
}
.eb-rabout .eb-rabout__heading {
    font-size: var(--font-size-3xl);
    line-height: 1.5;
    font-weight: var(--font-weight-bold);
    color: var(--color-blue-900);
    padding: 0;
    margin: 0 0 32px;
}
.eb-rabout__body {
    display: flow-root;     /* keeps the last p's margin inside */
    color: var(--color-blue-900);
}
.eb-rabout__body p {
    font-size: var(--font-size-md);
    line-height: 27px;
    color: var(--color-blue-900);
    margin: 0 0 14.4px;
}
.eb-rabout__cta {
    margin-top: 46px;
}

/* Code LP header/footer (template-parts/custom-{header,footer}-evlp.php) on body_form/report pages, replacing
   Elementor 27308/32296. Logo-only subset of event-lp.css; 27308 is 66px tall and pulls the hero up 77px. */
.evlp-header {
    position: relative;
    z-index: 100;
    padding: 36px 30px 0;
    margin-bottom: -77px;
}
.evlp-header__inner,
.evlp-footer__inner {
    max-width: 1224px;
    margin: 0 auto;
}
.evlp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.evlp-header__logo {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}
.evlp-header__logo img {
    width: 140px;
    height: 30px;
}
.evlp-footer {
    padding: 110px 0;
}
.evlp-footer__inner {
    padding: 0 20px;
}
.evlp-footer p {
    margin: 0;
    color: rgba(35, 31, 31, 0.8);
    font-size: var(--font-size-base);
    line-height: 24px;
}
/* Consent label as ported under Elementor builder mode (hello-elementor reset.css + Elementor inline CSS). */
.eb-main .mktoCheckboxList > label,
.eb-rmain .mktoCheckboxList > label {
    display: inline-block;
    line-height: 1;
}
.eb-main .mktoCheckboxList > label {
    padding-left: 0.5em;
}

/* TEMP (#32.10 prod deploy 2026-09-15): pre-refactor markup lacks .flex/.flex-center and Google CDN holds that
   HTML for hours while fetching this CSS fresh. Same values as the utilities; remove once cached LP HTML turns over. */
.eb-hero__container,
.eb-hero__left,
.eb-main__container,
.eb-authors__item,
.eb-resources__card,
.eb-resources__icon,
.eb-logos__track,
.eb-logos__list {
    display: flex;
}
.eb-resources__icon,
.eb-logos__track,
.eb-logos__list,
.eb-logos__slide {
    align-items: center;
}
.eb-resources__icon,
.eb-logos__slide {
    justify-content: center;
}

/* ============================ RESPONSIVE ============================ */
@media (min-width: 1024px) {
    .eb-main__form-card {
        position: absolute;
        right: 0;
        top: -311px;        /* straddles the hero's lower edge */
        width: 490px;       /* absolute → shrink-to-fit */
        z-index: 2;
    }
}

@media (max-width: 1023px) {
    .eb-hero {
        padding: 100px 0 0;
    }
    .eb-hero.eb-hero--no-cover {
        padding-bottom: 60px;
    }
    .eb-hero.eb-hero--no-cover + .eb-about {
        padding-top: 60px;
    }
    .eb-hero.eb-hero--text-only {
        padding: 100px 0 70px;
    }
    .eb-hero__container,
    .eb-hero.eb-hero--text-only .eb-hero__container {
        padding: 0 20px;
    }
    .eb-hero__container {
        flex-direction: column;
        gap: 32px;
    }
    .eb-hero__left {
        display: contents;
    }
    .eb-hero__text {
        order: 1;
        padding-top: 0;
    }
    .eb-hero__form-card {
        order: 2;
    }
    .eb-hero__cover {
        order: 3;
        align-self: stretch;
        margin: 0 -20px;
        padding: 60px 20px 0;
        background: var(--color-white);
        text-align: center;
        transform: none;
    }
    .eb-hero__cover img {
        margin: 0 auto;
        max-width: 280px;
    }
    .eb-hero__headline {
        font-size: var(--font-size-5xl);
        line-height: 1.15;
    }
    .eb-hero__btn {
        display: inline-flex;
    }
    .eb-resources__grid {
        gap: 20px;
    }
    .eb-main {
        padding: 60px 20px;
    }
    .eb-main__container {
        flex-direction: column;
        gap: 40px;
    }
    .eb-main__body,
    .eb-main__form-card {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
        position: static;
    }
    .eb-main__body {
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .evlp-footer {
        padding: 60px 0;
    }
    .eb-hero {
        padding: 90px 0 0;
    }
    .eb-hero.eb-hero--no-cover {
        padding-bottom: 48px;
    }
    .eb-hero.eb-hero--no-cover + .eb-about {
        padding-top: 48px;
    }
    .eb-hero__container {
        padding: 0 16px;
    }
    .eb-hero__cover {
        margin: 0 -16px;
        padding: 48px 16px 0;
    }
    .eb-hero__cover img {
        max-width: 220px;
    }
    .eb-hero__headline {
        font-size: var(--font-size-4xl);
        line-height: 1.15;
        margin-bottom: 12px;
    }
    .eb-hero__subtitle {
        margin-bottom: 32px;
    }
    .eb-hero__form-card,
    .eb-main__form-card {
        padding: 16px 12px;
    }
    .eb-hero__form-card .marketo-form__container h3,
    .eb-main__form-card .marketo-form__container h3 {
        font-size: var(--font-size-2xl);
        line-height: 30px;
    }
    .eb-about {
        padding: 60px 16px;
    }
    .eb-authors {
        padding: 0 16px 60px;
    }
    .eb-authors__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .eb-resources {
        padding: 60px 16px;
    }
    .eb-resources__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 400px;
        margin: 0 auto;
    }
    .eb-main {
        padding: 48px 16px;
    }
    .eb-main__body h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    .eb-main .eb-about__body h3 {
        font-size: var(--font-size-2xl);
    }
    .eb-logos {
        padding: 56px 0;
    }
    .eb-logos .eb-logos__heading {
        font-size: 25px;
        margin-bottom: 28px;
        padding: 0 16px;
    }
    .eb-logos__slide {
        padding: 12px 10px;
    }
    .eb-logos__slide img {
        max-height: 58px;
    }
}

/* report layout — Elementor's breakpoints */
@media (max-width: 1024px) {
    .eb-hero.eb-hero--report {
        background-attachment: scroll;
    }
    .eb-hero--report .eb-rhero__text {
        padding: 0 20px;
    }
    .eb-hero--report .eb-rhero__headline {
        font-size: var(--font-size-3xl);
    }
    .eb-hero.eb-hero--report.eb-hero--badges {
        padding: 120px 0 50px;
        background-position: top center;
    }
    .eb-hero--badges .eb-rhero__container {
        flex-direction: column;
        align-items: stretch;
    }
    .eb-hero--badges .eb-rhero__text {
        flex: none;
        max-width: none;
        padding: 10px 20px;
    }
    .eb-hero--badges .eb-rhero__headline {
        text-align: center;
    }
    .eb-hero--badges .eb-rhero__cta {
        margin-bottom: 0;
    }
    .eb-rhero__badges {
        flex: none;
    }
    .eb-rmain {
        padding: 80px 0 20px;
    }
    .eb-rquote {
        padding: 0 20px 50px;
    }
    .eb-rquote__card {
        position: static;
    }
    .eb-rabout,
    .eb-rabout.eb-rabout--after-quote {
        padding: 80px 30px;
    }
}

@media (max-width: 767px) {
    .eb-hero--report .eb-rhero__headline {
        font-size: 25px;
        margin-top: 20px;
    }
    .eb-hero--report .eb-rhero__subtitle {
        font-size: var(--font-size-base);
        line-height: 24px;
    }
    .eb-hero--report .eb-rhero__cta {
        padding-bottom: 50px;
    }
    .eb-hero.eb-hero--report.eb-hero--badges {
        padding: 100px 0 30px;
    }
    .eb-hero--badges .eb-rhero__headline {
        font-size: var(--font-size-3xl);
        margin-top: 0;
    }
    .eb-hero--badges .eb-rhero__cta {
        padding-bottom: 20px;
    }
    .eb-rhero__badges {
        flex-direction: column;
        gap: 20px;
    }
    .eb-rhero__badges img {
        flex: none;
    }
    .eb-rmain {
        padding: 50px 0 0;
    }
    .eb-rmain__container {
        flex-direction: column;
    }
    .eb-rmain__cover,
    .eb-rmain__form {
        flex: none;
        max-width: none;
        width: 100%;
    }
    .eb-rmain__form .marketo-form__container h3 {
        font-size: var(--font-size-2xl);
        line-height: 1.2;
    }
    .eb-rabout,
    .eb-rabout.eb-rabout--after-quote {
        padding: 50px 20px;
    }
    .eb-rabout .eb-rabout__heading {
        font-size: 32px;
        line-height: 1.3;
    }
    .eb-rabout__body p {
        font-size: var(--font-size-base);
        line-height: 24px;
    }
    .eb-rabout__cta {
        padding-bottom: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eb-logos__track { animation: none; }
}

/* lp_site_chrome: the fixed 82px site header replaces the LP header, so the H1 sits where the Elementor
   inner_banner put it under that header (30032: 140px desktop, 150px tablet/mobile). Last, so it beats the media blocks. */
.eb-hero.eb-hero--text-only.eb-hero--site-chrome {
    padding-top: 140px;
}
@media (max-width: 1024px) {
    .eb-hero.eb-hero--text-only.eb-hero--site-chrome {
        padding-top: 150px;
    }
}
