.aibp-home {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    color: #101820;
}

.aibp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 28px;
    align-items: center;
    padding: 48px 0 28px;
}

.aibp-hero__copy h1 {
    margin: 0 0 14px;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.02;
    letter-spacing: 0;
    color: #101820;
}

.aibp-hero__copy p {
    max-width: 640px;
    color: #4b5b65;
    font-size: 18px;
    line-height: 1.65;
}

.aibp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.aibp-link-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid #bdcbd5;
    border-radius: 6px;
    padding: 10px 16px;
    color: #101820;
    font-weight: 800;
    text-decoration: none;
    background: #ffffff;
}

.aibp-kicker {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e9f5f1;
    color: #12664f !important;
    font-size: 13px !important;
    font-weight: 800;
    text-transform: uppercase;
}

.aibp-hero__search {
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    background: #f7fafc;
    padding: 16px;
}

.aibp-hero__search h2 {
    margin: 0 0 12px;
    color: #101820;
    font-size: 22px;
}

.aibp-hero__search p {
    margin: 12px 0 0;
    color: #5d6d78;
    font-size: 14px;
    line-height: 1.55;
}

.aibp-search {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

.aibp-search label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.aibp-search input {
    min-height: 44px;
    border: 1px solid #bdcbd5;
    border-radius: 6px;
    padding: 8px 10px;
}

.aibp-search button {
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    background: #d71920;
    color: #ffffff;
    font-weight: 700;
}

.aibp-quick-routes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0 0 20px;
}

.aibp-quick-routes a {
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    padding: 12px;
    color: #101820;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    background: #ffffff;
}

.aibp-section {
    padding: 28px 0;
}

.aibp-section--soft {
    border-top: 1px solid #edf2f5;
    border-bottom: 1px solid #edf2f5;
}

.aibp-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.aibp-section__head h2 {
    margin: 0;
    font-size: 26px;
    color: #101820;
}

.aibp-section__head a {
    color: #0f5f87;
    font-weight: 800;
    text-decoration: none;
}

.aibp-statement {
    display: grid;
    gap: 8px;
    margin: 16px 0 28px;
    padding: 22px;
    border: 1px solid #d8e1e8;
    border-left: 5px solid #d71920;
    border-radius: 8px;
    background: #fff8f8;
}

.aibp-statement h2 {
    margin: 0;
    color: #101820;
    font-size: 26px;
}

.aibp-statement p {
    margin: 0;
    color: #4b5b65;
    font-size: 17px;
    line-height: 1.6;
}

.aibp-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-radius: 6px;
    padding: 10px 16px;
    background: #d71920;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.aibp-planner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.aibp-planner-grid article {
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    padding: 18px;
    background: #ffffff;
}

.aibp-planner-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #101820;
    color: #ffffff;
    font-weight: 800;
}

.aibp-planner-grid h3 {
    margin: 14px 0 8px;
    color: #101820;
    font-size: 20px;
}

.aibp-planner-grid p {
    margin: 0;
    color: #4b5b65;
    line-height: 1.6;
}

.aibp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.aibp-card,
.aibp-empty {
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 16px;
}

.aibp-card {
    min-height: 88px;
}

.aibp-card a {
    color: #101820;
    font-weight: 700;
    text-decoration: none;
}

.aibp-card span {
    display: block;
    margin-top: 8px;
    color: #5d6d78;
    font-size: 14px;
}

.aibp-card-facts {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
}

.aibp-card-facts div {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
}

.aibp-card-facts dt,
.aibp-card-facts dd {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.aibp-card-facts dt {
    color: #5d6d78;
    font-weight: 700;
}

.aibp-card-facts dd {
    color: #101820;
    font-weight: 800;
}

.aibp-card-action {
    display: inline-flex !important;
    margin-top: 14px !important;
    color: #0f5f87 !important;
    font-weight: 800;
}

.aibp-directory {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    color: #101820;
}

.aibp-directory-hero {
    display: grid;
    gap: 12px;
    padding: 44px 0 24px;
    border-bottom: 1px solid #edf2f5;
}

.aibp-directory-hero h1 {
    margin: 0;
    color: #101820;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.06;
    letter-spacing: 0;
}

.aibp-directory-hero p {
    max-width: 780px;
    margin: 0;
    color: #4b5b65;
    font-size: 18px;
    line-height: 1.65;
}

.aibp-directory-search {
    max-width: 560px;
    margin-top: 8px;
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    padding: 16px;
    background: #f7fafc;
}

.aibp-filter-note {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 18px 0 0;
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    padding: 12px 14px;
    background: #ffffff;
}

.aibp-filter-note span {
    color: #4b5b65;
}

.aibp-filter-note a {
    margin-left: auto;
    color: #0f5f87;
    font-weight: 800;
    text-decoration: none;
}

.aibp-directory-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 28px 0 48px;
}

.aibp-directory-side {
    position: sticky;
    top: 24px;
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    padding: 16px;
    background: #ffffff;
}

.aibp-directory-side h2 {
    margin: 0 0 12px;
    color: #101820;
    font-size: 20px;
}

.aibp-directory-side .aibp-city-grid {
    grid-template-columns: 1fr;
    margin: 0;
}

.aibp-directory-results {
    min-width: 0;
}

.aibp-directory-results .aibp-section__head span {
    color: #5d6d78;
    font-weight: 800;
}

.aibp-cards--directory {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 0;
}

.aibp-city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.aibp-city-grid a {
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    padding: 12px;
    color: #101820;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
}

.aibp-city-grid a:hover,
.aibp-card:hover,
.aibp-quick-routes a:hover,
.aibp-link-cta:hover {
    border-color: #9eb5c5;
}

.aibp-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 30px 0 46px;
}

.aibp-info-grid article {
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    padding: 18px;
    background: #ffffff;
}

.aibp-info-grid h2 {
    margin: 0 0 8px;
    color: #101820;
    font-size: 20px;
}

.aibp-info-grid p {
    margin: 0;
    color: #4b5b65;
    line-height: 1.6;
}

.aibp-route-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 0 0 22px;
}

.aibp-route-summary div {
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 14px;
}

.aibp-route-summary span {
    display: block;
    color: #5d6d78;
    font-size: 14px;
}

.aibp-route-summary strong {
    display: block;
    color: #101820;
    font-size: 18px;
}

.aibp-route {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    color: #101820;
}

.aibp-route-hero {
    padding: 42px 0 22px;
    border-bottom: 1px solid #edf2f5;
}

.aibp-route-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.06;
    letter-spacing: 0;
    color: #101820;
}

.aibp-route-hero p {
    max-width: 760px;
    margin: 0 0 18px;
    color: #4b5b65;
    font-size: 18px;
    line-height: 1.65;
}

.aibp-route-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.aibp-route-main {
    min-width: 0;
}

.aibp-route-main h2 {
    margin-top: 30px;
    color: #101820;
    font-size: 26px;
}

.aibp-route-main p,
.aibp-route-main li {
    color: #384952;
    font-size: 17px;
    line-height: 1.7;
}

.aibp-route-side {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 24px;
}

.aibp-side-block {
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    background: #fff;
    padding: 16px;
}

.aibp-side-block h2 {
    margin: 0 0 10px;
    font-size: 19px;
}

.aibp-side-block ul {
    margin: 0;
    padding-left: 20px;
}

.aibp-side-block li {
    margin: 7px 0;
    color: #384952;
}

.aibp-route-faq {
    margin: 30px 0 48px;
    padding-top: 20px;
    border-top: 1px solid #edf2f5;
}

.aibp-route-faq h2 {
    font-size: 26px;
}

.aibp-route-faq details {
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    background: #fff;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.aibp-route-faq summary {
    cursor: pointer;
    font-weight: 800;
}

.aibp-route-faq p {
    color: #384952;
    line-height: 1.65;
}

@media (max-width: 680px) {
    .aibp-home {
        width: min(100% - 20px, 1120px);
    }

    .aibp-route {
        width: min(100% - 20px, 1120px);
    }

    .aibp-directory {
        width: min(100% - 20px, 1120px);
    }

    .aibp-hero {
        grid-template-columns: 1fr;
        padding-top: 28px;
    }

    .aibp-hero__copy h1 {
        font-size: 38px;
    }

    .aibp-hero__actions {
        flex-direction: column;
    }

    .aibp-hero__actions a {
        justify-content: center;
        width: 100%;
    }

    .aibp-quick-routes {
        grid-template-columns: 1fr;
    }

    .aibp-section__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .aibp-planner-grid {
        grid-template-columns: 1fr;
    }

    .aibp-info-grid {
        grid-template-columns: 1fr;
    }

    .aibp-route-body {
        grid-template-columns: 1fr;
    }

    .aibp-directory-layout {
        grid-template-columns: 1fr;
    }

    .aibp-directory-side {
        position: static;
    }

    .aibp-filter-note a {
        margin-left: 0;
        width: 100%;
    }

    .aibp-route-side {
        position: static;
    }

    .aibp-search {
        grid-template-columns: 1fr;
    }
}
