.hero-panel,
.content-panel,
.listing-panel {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--utef-border);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.75rem 2rem rgba(32, 42, 58, 0.05);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--utef-accent);
}

.success-story-header {
    margin-top: 35px;
    margin-bottom: 0;
}

.success-story-header h1 {
    margin-bottom: 0.85rem;
}

.success-story-header .muted + .muted {
    margin-top: 0.2rem;
}

.success-story-header__lead {
    margin-top: 1.75rem;
    color: var(--utef-ink);
    font-size: 1.25rem;
    line-height: 1.62;
}

.success-story-header__lead > :last-child {
    margin-bottom: 0;
}

.success-story-page .text-content-page__body > .text-content-section:first-child {
    padding-top: 28px;
}

.success-story-person-link {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.success-story-person-link:hover {
    color: var(--utef-link);
}

.success-story-index-header {
    margin: 2rem 0 2.75rem;
}

.success-story-index-header__title {
    margin: 0;
    color: var(--utef-dark-blue);
    font-size: 2.45rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0;
}

.success-story-index-header__lead {
    margin-top: 1rem;
    color: var(--utef-ink);
    line-height: 1.65;
}

.success-story-index-header__lead > :last-child {
    margin-bottom: 0;
}

.success-story-index-list {
    margin-bottom: 2.5rem;
}

.success-story-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.success-story-card {
    position: relative;
    min-width: 0;
    height: 500px;
    overflow: hidden;
    background: #17354a;
}

.success-story-card__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.success-story-card__link:hover,
.success-story-card__link:focus {
    color: #fff;
}

.success-story-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.success-story-card__overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    min-height: 300px;
    flex-direction: column;
    justify-content: end;
    padding: 1.5rem;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.success-story-card__title {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.success-story-card__link:hover .success-story-card__title,
.success-story-card__link:focus .success-story-card__title {
    text-decoration: underline;
}

.success-story-card__divider {
    display: block;
    width: 100%;
    height: 1px;
    margin: 0.85rem 0 1rem;
    background: rgba(255, 255, 255, 0.45);
}

.success-story-card__teaser {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.success-story-card__cta {
    display: inline-flex;
    width: fit-content;
    margin-top: 1.35rem;
    padding: 0.62rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    color: #fff;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.success-story-card__link:hover .success-story-card__cta,
.success-story-card__link:focus .success-story-card__cta {
    background: rgba(255, 255, 255, 0.14);
}

.banner-page {
    margin-bottom: 0;
}

.banner-page__banner {
    position: relative;
    width: 100vw;
    min-height: var(--banner-height, 500px);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #1f2933;
    color: #fff;
}

.banner-page__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-page__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.38) 48%,
        rgba(0, 0, 0, 0.18) 100%
    );
}

.banner-page__lead-content,
.banner-page__content {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.banner-page__lead-content {
    display: flex;
    align-items: center;
}

.banner-page__lead-copy {
    max-width: min(48rem, 100%);
}

.banner-page__lead-title {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.35);
}

.banner-page__lead-text {
    max-width: 40rem;
    margin-top: 30px;
    font-size: 1.18rem;
    line-height: 1.62;
    text-shadow: 0 0.15rem 0.8rem rgba(0, 0, 0, 0.42);
}

.banner-page__lead-text > * {
    font-size: inherit;
}

.banner-page__lead-text > :last-child {
    margin-bottom: 0;
}

.banner-page__copy {
    position: absolute;
    top: 50%;
    left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    max-width: min(42rem, calc(100% - var(--bs-gutter-x, 1.5rem)));
    transform: translateY(-50%);
}

.banner-page__title {
    margin: 0 0 15px;
    font-size: clamp(1.8rem, 3.4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.35);
}

.banner-page__body {
    padding-top: 15px;
}

.banner-page__text {
    max-width: 36rem;
    font-size: 1.08rem;
    line-height: 1.62;
    text-shadow: 0 0.15rem 0.8rem rgba(0, 0, 0, 0.42);
}

.banner-page__text > :last-child {
    margin-bottom: 0;
}

.banner-page__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    margin-top: 1.25rem;
    padding: 0.7rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.78);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.2);
}

.banner-page__cta:hover,
.banner-page__cta:focus {
    color: #1f2933;
    background: #fff;
}

@media (min-width: 576px) {
    .banner-page__lead-content,
    .banner-page__content {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .banner-page__lead-content,
    .banner-page__content {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .banner-page__lead-content,
    .banner-page__content {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .banner-page__lead-content,
    .banner-page__content {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .banner-page__lead-content,
    .banner-page__content {
        max-width: 1320px;
    }
}

.success-story-next {
    width: 33%;
    min-width: 18rem;
    max-width: 100%;
    margin-block: 2rem 2.5rem;
}

.success-story-next__link {
    display: grid;
    gap: 0.55rem;
    color: var(--utef-link);
    text-decoration: none;
}

.success-story-next__row {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.75rem;
}

.success-story-next__label {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
}

.success-story-next__icon {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
}

.success-story-next__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.success-story-next__title {
    color: var(--utef-muted);
    font-size: 0.92rem;
    line-height: 1.35;
}

.success-story-next__link:hover,
.success-story-next__link:focus {
    color: var(--utef-accent);
}

.success-story-next__link:hover .success-story-next__title,
.success-story-next__link:focus .success-story-next__title {
    color: var(--utef-ink);
}

.media-gallery-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-block: var(--text-content-section-y, 40px);
}

.media-gallery-section--white {
    background: #fff;
}

.media-gallery-section--blue_tint {
    background: var(--text-content-blue-tint, #eff4f7);
}

.media-gallery-section__grid {
    display: grid;
    grid-template-columns: repeat(var(--media-gallery-columns, 4), minmax(0, 1fr));
    gap: 1rem;
}

.media-gallery-section__item {
    position: relative;
    margin: 0;
}

.media-gallery-section__media {
    position: relative;
    aspect-ratio: 13 / 9;
    overflow: hidden;
}

.media-gallery-section__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-gallery-section__overflow {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    min-width: 4.5rem;
    min-height: 4.5rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(245, 247, 248, 0.72);
    color: #153c52;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
}

.media-gallery-section__overflow[hidden] {
    display: none;
}

.media-gallery-section__caption {
    display: -webkit-box;
    margin-top: 0.65rem;
    color: var(--utef-muted);
    font-size: 0.95rem;
    line-height: 1.45;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .media-gallery-section__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .media-gallery-section__grid[data-gallery-columns="2"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .media-gallery-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .media-gallery-section__overflow {
        min-width: 3.75rem;
        min-height: 3.75rem;
        font-size: 1.1rem;
    }
}

.attachments-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-block: var(--text-content-section-y, 40px);
}

.attachments-section--white {
    background: #fff;
}

.attachments-section--blue_tint {
    background: var(--text-content-blue-tint, #eff4f7);
}

.attachments-section__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--text-content-container-max, 1320px);
    margin-inline: auto;
    padding-inline: var(--text-content-container-padding, 0.75rem);
}

.attachments-section__title {
    margin: 0 0 1rem;
    color: var(--utef-dark-blue);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
}

.attachments-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.attachment-item {
    display: grid;
    gap: 0.45rem;
}

.attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--utef-nav-underline);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.attachment-link:hover,
.attachment-link:focus {
    color: var(--utef-accent);
}

.attachment-link__icon {
    position: relative;
    flex: 0 0 auto;
    width: 2.05rem;
    height: 2.05rem;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.attachment-link__icon::before {
    content: "";
    position: absolute;
    top: 0.48rem;
    left: 50%;
    width: 2px;
    height: 0.78rem;
    background: currentColor;
    transform: translateX(-50%);
}

.attachment-link__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.48rem;
    width: 0.58rem;
    height: 0.58rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
}

.attachment-item__description {
    max-width: 42rem;
    margin-left: calc(2.05rem + 0.9rem);
    color: var(--utef-muted);
    line-height: 1.55;
}

.attachment-item__description > :last-child {
    margin-bottom: 0;
}
