.iba-hero-body {
    max-width: 820px;
    margin: -10px 0 30px;
}

.iba-hero-body-paragraph {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.7;
    color: #4d5965;
}

.iba-hero-body-paragraph:last-child {
    margin-bottom: 0;
}

.iba-hero.hero-light .iba-hero-body-paragraph {
    color: rgba(255, 255, 255, 0.92);
}

/*=========================================================
  IBA HERO
=========================================================*/

.iba-hero {
    position: relative;

    /* Break hero out of parent container */
    width: 100vw;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 90px 0;

    background: #f5f7f9;

    overflow: hidden;
}


/*=========================================================
  OPTIONAL BACKGROUND IMAGE
=========================================================*/

.iba-hero-background {
    position: absolute;
    inset: 0;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    z-index: 0;
}


/*=========================================================
  BLACK IMAGE OVERLAY
=========================================================*/

.iba-hero-background::after {
    content: "";

    position: absolute;
    inset: 0;

    background: #000000;

    opacity: var(--hero-bg-opacity, 0.35);
}


/*=========================================================
  CONTENT CONTAINER
=========================================================*/

.iba-hero .iba-container {
    position: relative;
    z-index: 1;

    width: 90%;
    max-width: 1200px;

    margin: 0 auto;
}


/*=========================================================
  HERO CONTENT
=========================================================*/

.iba-hero-content {
    max-width: 1000px;
}


/*=========================================================
  H1 WRAPPER
=========================================================*/

.iba-hero-title {
    max-width: 1000px;

    margin: 0 0 22px 0;

    color: #15202b;

    line-height: 1;
}


/*=========================================================
  H1 EYEBROW
=========================================================*/

.iba-hero-eyebrow {
    display: block;

    margin: 0 0 8px 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;

    letter-spacing: 0;

    color: #15202b;
}


/*=========================================================
  MAIN H1 TEXT
=========================================================*/

.iba-hero-main-title {
    display: block;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(30px, 4vw, 68px);

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -1px;

    color: #15202b;
}


/*=========================================================
  SECONDARY HERO HEADLINE - H2
=========================================================*/

/*
  H2 is intentionally smaller now.

  Main visual importance belongs to the H1.
*/

.iba-hero-headline {
    max-width: 850px;

    margin: 0 0 20px 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 26px;

    line-height: 1.35;

    font-weight: 600;

    color: #25313c;
}


/*=========================================================
  SUBTITLE
=========================================================*/

.iba-hero-subtitle {
    max-width: 820px;

    margin: 0 0 32px 0;

    font-size: 19px;

    line-height: 1.6;

    color: #4d5965;
}


/*=========================================================
  BUTTON AREA
=========================================================*/

.iba-hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


/*=========================================================
  GENERAL BUTTON
=========================================================*/

.iba-btn {
    display: inline-block;

    padding: 14px 24px;

    border-radius: 5px;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


/*=========================================================
  PRIMARY BUTTON
=========================================================*/

.iba-btn-primary {
    background: #0c4a6e;

    color: #ffffff;

    border: 1px solid #0c4a6e;
}


.iba-btn-primary:hover {
    background: #083a58;

    border-color: #083a58;

    transform: translateY(-1px);
}


/*=========================================================
  SECONDARY BUTTON
=========================================================*/

.iba-btn-secondary {
    background: #ffffff;

    color: #0c4a6e;

    border: 1px solid #0c4a6e;
}


.iba-btn-secondary:hover {
    background: #f0f5f8;

    transform: translateY(-1px);
}


/*=========================================================
  DARK IMAGE / HERO-LIGHT MODE
=========================================================*/

/*
  hero.asp automatically adds hero-light
  when a background image exists.
*/

.iba-hero.hero-light .iba-hero-title {
    color: #ffffff;
}


.iba-hero.hero-light .iba-hero-eyebrow {
    color: rgba(255, 255, 255, 0.95);
}


.iba-hero.hero-light .iba-hero-main-title {
    color: #ffffff;
}


.iba-hero.hero-light .iba-hero-headline {
    color: rgba(255, 255, 255, 0.94);
}


.iba-hero.hero-light .iba-hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
}


/*=========================================================
  BUTTONS ON DARK IMAGE
=========================================================*/

.iba-hero.hero-light .iba-btn-primary {
    background: #ffffff;

    color: #0c4a6e;

    border-color: #ffffff;
}


.iba-hero.hero-light .iba-btn-primary:hover {
    background: #f1f4f6;

    border-color: #f1f4f6;
}


.iba-hero.hero-light .iba-btn-secondary {
    background: transparent;

    color: #ffffff;

    border-color: rgba(255, 255, 255, 0.85);
}


.iba-hero.hero-light .iba-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);

    border-color: #ffffff;
}

/*=========================================================
  NO BACKGROUND IMAGE / HERO-PLAIN MODE
=========================================================*/


.iba-hero.hero-plain {
    background: #ffffff;
    color: #1f2937;
}

.iba-hero.hero-plain .iba-hero-eyebrow {
    color: #64748b;
}

.iba-hero.hero-plain .iba-hero-main-title,
.iba-hero.hero-plain .iba-hero-headline {
    color: #1f2937;
}

.iba-hero.hero-plain .iba-hero-subtitle {
    color: #475569;
}

/*=========================================================
  BUTTONS ON PLAIN WHITE BACKGROUND
=========================================================*/

.iba-hero.hero-plain .iba-btn-primary {
    background: orange;

    color: #ffffff;

    border-color: #ffffff;
}


.iba-hero.hero-plain .iba-btn-primary:hover {
    background: #f1f4f6;

    border-color: #f1f4f6;
}


.iba-hero.hero-plain .iba-btn-secondary {
    background: green;

    color: #ffffff;

    border-color: rgba(255, 255, 255, 0.85);
}


.iba-hero.hero-plain .iba-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);

    border-color: #ffffff;
}

/*=========================================================
  IF RIGHT IMAGE is PRESENT
=========================================================*/


/* Optional right-side image inside the standard hero */
.iba-hero .iba-hero-image-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 40px;
    align-items: center;
}

.iba-hero .iba-hero-image-grid .iba-hero-content {
    min-width: 0;
}

.iba-hero .iba-hero-image-visual {
    min-width: 0;
}

.iba-hero .iba-hero-image-frame img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .iba-hero .iba-hero-image-grid {
        grid-template-columns: 1fr;
    }
}

/*=========================================================
  TABLET
=========================================================*/

@media (max-width: 900px) {

    .iba-hero {
        padding: 75px 0;
    }


    .iba-hero-content {
        max-width: 850px;
    }


    .iba-hero-eyebrow {
        font-size: 17px;

        margin-bottom: 7px;
    }


    .iba-hero-main-title {
        font-size: 52px;

        line-height: 1.06;
    }


    .iba-hero-headline {
        font-size: 23px;
    }


    .iba-hero-subtitle {
        font-size: 18px;
    }

}


/*=========================================================
  MOBILE
=========================================================*/

@media (max-width: 700px) {

    .iba-hero {
        padding: 55px 0;
    }


    .iba-hero .iba-container {
        width: 88%;
    }


    .iba-hero-content {
        max-width: 100%;
    }


    /* H1 EYEBROW */

    .iba-hero-eyebrow {
        font-size: 15px;

        line-height: 1.35;

        margin-bottom: 7px;
    }


    /* MAIN H1 */

    .iba-hero-main-title {
        font-size: 40px;

        line-height: 1.08;

        letter-spacing: -0.5px;
    }


    .iba-hero-title {
        margin-bottom: 20px;
    }


    /* SECONDARY H2 */

    .iba-hero-headline {
        font-size: 21px;

        line-height: 1.4;

        margin-bottom: 18px;
    }


    /* SUBTITLE */

    .iba-hero-subtitle {
        font-size: 17px;

        line-height: 1.55;

        margin-bottom: 28px;
    }


    /* BUTTONS */

    .iba-hero-buttons {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }


    .iba-btn {
        padding: 13px 20px;
    }

}


/*=========================================================
  SMALL MOBILE
=========================================================*/

@media (max-width: 420px) {

    .iba-hero {
        padding: 45px 0;
    }


    .iba-hero-eyebrow {
        font-size: 14px;
    }


    .iba-hero-main-title {
        font-size: 34px;
    }


    .iba-hero-headline {
        font-size: 19px;
    }


    .iba-hero-subtitle {
        font-size: 16px;
    }

}


.iba-hero.blue {
    background: blue;

}
