﻿h2 {
    color: #155036;
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 48px */
    margin: 0px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.banner {
    text-align: center;
    padding: 80px 0px;
    margin-bottom: 80px;
}

    .banner h1 {
        padding-bottom: 24px;
    }

    .banner .page_subtitle {
        margin-bottom: 40px;
    }

.type-section {
    margin-bottom: 160px;
}

    .type-section h2 {
        margin-bottom: 56px;
    }

    .type-section .items-container {
        display: inline-grid;
        row-gap: 24px;
        column-gap: 24px;
        align-self: stretch;
        grid-template-rows: repeat(2,fit-content(100%));
        grid-template-columns: repeat(3,minmax(0,1fr));
        grid-auto-flow: row;
    }

    .type-section .item-card {
        padding: 24px;
        border-radius: 16px;
        border: 1px solid #E5E5E5;
        background: #FFF;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    }

        .type-section .item-card .item-label {
            color: #155036;
            font-family: Inter;
            font-size: 16px;
            font-style: normal;
            font-weight: 700;
            line-height: 24px; /* 150% */
        }

        .type-section .item-card .icon-container, .type-section .item-card .description {
            margin-bottom: 16px;
        }

.list-section {
    margin-bottom: 136px;
}

/* ---- list-section controls ---- */
.list-section__controls {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 16px 0 32px;
}

.list-section__search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 440px;
    padding: 12px 24px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
    position: relative;
}

    .list-section__search-bar:focus-within {
        outline: 2px solid #155036;
        outline-offset: 2px;
    }

    .list-section__search-bar .material-icons {
        color: #9e9e9e;
        font-size: 24px;
    }

    .list-section__search-bar input {
        flex: 1;
        border: none;
        outline: none;
        font-family: Inter, sans-serif;
        font-size: 20px;
        font-weight: 400;
        color: #212121;
    }

        .list-section__search-bar input::placeholder {
            color: #9e9e9e;
        }

/* ---- typeahead dropdown ---- */
.typeahead-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    min-width: 440px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    box-shadow: 0 4px 4px -1px rgba(0,0,0,0.1), 0 4px 4px -2px rgba(0,0,0,0.1);
    overflow: hidden;
    z-index: 100;
    padding: 16px;
}

.typeahead-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

a.typeahead-row {
    text-decoration: none;
}

.typeahead-row {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 32px;
    padding-right: 4px;
    border-radius: 8px;
    cursor: pointer;
    color: inherit;
}

    .typeahead-row:hover,
    .typeahead-row--page:hover,
    .typeahead-row.is-active,
    .typeahead-row:focus-visible {
        background: #e8eeeb;
    }

    .typeahead-row:focus-visible {
        outline: 2px solid #155036;
        outline-offset: 2px;
    }

.typeahead-row__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #e8eeeb;
    border-radius: 5.333px;
    padding: 8px;
    box-sizing: border-box;
}

    .typeahead-row__icon img {
        width: 16px;
        height: 16px;
        display: block;
    }

.typeahead-row__icon--code {
    font-family: Inter, sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #155036;
    letter-spacing: 0.1px;
    line-height: 16px;
}

.typeahead-row__text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #212121;
    white-space: nowrap;
    overflow: hidden;
}

.typeahead-row__available {
    font-size: 12px;
    color: #686868;
    flex-shrink: 0;
}

.typeahead-row__action {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

    .typeahead-row__action span.label {
        font-family: Inter, sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 20px;
        color: #155036;
    }

    .typeahead-row__action .material-icons {
        font-size: 24px;
        color: #155036;
    }

.typeahead-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 16px 0px;
}

.typeahead-cta {
    background: #e8eeeb;
    padding: 16px;
    margin-top: 16px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #155036;
    line-height: 20px;
}

    .typeahead-cta a {
        color: #155036;
        text-decoration: underline;
    }

/* ---- filter pills ---- */
.list-section__filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 17px;
    border-radius: 9999px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #212121;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
}

    .filter-pill.active {
        background: #155036;
        border-color: #155036;
        color: #fff;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .filter-pill:focus-visible {
        outline: 2px solid #155036;
        outline-offset: 2px;
    }

@media (prefers-reduced-motion: no-preference) {
    .filter-pill {
        transition: background 0.15s, border-color 0.15s, color 0.15s;
    }
}

/* ---- industry card grid ---- */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

a.industry-card {
    text-decoration: none;
}

.industry-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    min-height: 96px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    background: #fff;
    color: inherit;
}

    .industry-card.page {
        border: 1px solid #e5e5e5;
    }

    a.industry-card:focus-visible {
        outline: 2px solid #155036;
        outline-offset: 2px;
    }

    .industry-card .industry-card__icon-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 16px 0px;
        border-radius: 10.667px;
        background: #e8eeeb;
        width: 64px;
        color: #155036;
        font-family: Inter;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 32px; /* 160% */
        letter-spacing: 0.2px;
    }

        .industry-card .industry-card__icon-wrap img {
            width: 32px;
            height: 32px;
            display: block;
        }

    .industry-card .industry-card__name {
        flex: 1;
        font-family: Inter, sans-serif;
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        color: #155036;
    }

    .industry-card .material-icons {
        flex-shrink: 0;
        color: #155036;
        font-size: 24px;
    }

.industries-grid-cta {
    padding: 32px 0px 56px;
    color: #686868;
    text-align: center;
    /* Regular/sm */
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 166.667% */
}

    .industries-grid-cta > a {
        color: #2563EB !important;
    }

        .industries-grid-cta > a:focus-visible {
            outline: 2px solid #155036;
            outline-offset: 2px;
        }

/* ---- pagination ---- */
.industries-grid-pagination-container {
    width: 100%;
    background: #fff;
}

.pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    padding: 8px 16px;
    width: 100%;
}

.pagination-count-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-range-label {
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #212121;
    padding: 8px;
    white-space: nowrap;
}

.pagination-page-size-wrap {
    position: relative;
    width: 64px;
}

.pagination-page-size {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 36px;
    padding: 8px 28px 8px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #212121;
    text-align: right;
    cursor: pointer;
}

.pagination-page-size:focus-visible {
    outline: 2px solid #155036;
    outline-offset: 2px;
}

.pagination-page-size-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #212121;
    pointer-events: none;
}

.pagination-page-size-label {
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #212121;
    white-space: nowrap;
}

.pagination-page-numbers {
    display: flex;
    align-items: center;
}

.pagination-numbers-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
}

.pagination-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 8px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #212121;
    cursor: pointer;
}

.pagination-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.pagination-nav .material-icons {
    font-size: 16px;
}

.pagination-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 27px;
    padding: 4px;
    border: none;
    border-radius: 4px;
    background: transparent;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #9e9e9e;
    text-align: center;
    cursor: pointer;
}

.pagination-btn.active {
    background: #e8eeeb;
    font-weight: 500;
    color: #212121;
}

.pagination-btn:focus-visible,
.pagination-nav:focus-visible {
    outline: 2px solid #155036;
    outline-offset: 2px;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    padding: 4px;
    border-radius: 4px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #212121;
    text-align: center;
}

.cta-section {
    margin: 0px auto 56px;
    border-radius: 16px;
    display: flex;
    height: 400px;
    padding: 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex: 1 0 0;
    max-width: 1280px;
    background: url('/wp-content/themes/wp-bootstrap-starter-eri/inc/assets/images/solutions-industry-cta-background.svg');
}

    .cta-section h2 {
        color: #FAFAFA;
        text-align: center;
        font-family: Inter;
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%; /* 36px */
        margin: 0px;
        padding-bottom: 24px;
    }

    .cta-section .button-container {
        display: flex;
        gap: 24px;
        justify-content: center;
    }

        .cta-section .button-container a:focus-visible {
            outline: 2px solid #fff;
            outline-offset: 2px;
        }


@media (min-width: 1520px) {
}

@media (min-width: 1400px) {
}

@media (max-width: 1199px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .type-section .items-container {
        grid-template-rows: repeat(3,fit-content(100%));
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .list-section__search-bar {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .type-section .items-container {
        grid-template-rows: repeat(5,fit-content(100%));
        grid-template-columns: repeat(1,minmax(0,1fr));
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .cta-section {
        width: auto;
        margin-left: 15px;
        margin-right: 15px;
    }

        .cta-section .button-container {
            flex-direction: column;
        }
}

@media (min-width: 576px) {
    .cta-section {
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    .cta-section {
        max-width: 750px;
        width: 750px;
    }
}

@media (min-width: 992px) {
    .cta-section {
        max-width: 970px;
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .cta-section {
        max-width: 1170px;
        width: 1170px;
    }
}
