/* Shared district/contact themed page styles */

.content-page .content-section {
    padding: 28px 0 34px;
    background: #fbfcfa;
}

.content-page .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.content-page .section-heading h2,
.content-page .contact-card h2,
.content-page .story-copy h2 {
    margin: 0;
    color: #10141c;
    font-size: 24px;
    line-height: 1.2;
}

.content-page .section-heading p,
.content-page .highlight-item p {
    margin: 6px 0 0;
    color: #596171;
    font-size: 14px;
    line-height: 1.45;
}

.route-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.route-link-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.route-link-list a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    color: #10141c;
    background: #fff;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(16, 20, 28, .04);
    font-size: 13px;
    font-weight: 800;
}

.route-link-list a::after {
    content: "\2192";
    color: #197b16;
    font-weight: 900;
}

.route-link-list a:hover {
    color: #197b16;
    border-color: rgba(25, 123, 22, .34);
    background: #f3fbf1;
}

.route-hub-directory {
    border-top: 1px solid #edf2ec;
}

.route-hub-listings {
    display: grid;
    gap: 22px;
}

.route-origin-group {
    display: grid;
    gap: 12px;
}

.route-origin-group h3 {
    margin: 0;
    color: #10141c;
    font-size: 18px;
    line-height: 1.25;
}

.route-hub-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.route-hub-list a {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 12px;
    line-height: 1.25;
}

.route-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.route-page-link {
    min-height: 74px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 14px;
    color: #10141c;
    background: #fff;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(16, 20, 28, .04);
}

.route-page-link strong,
.route-page-link span {
    display: block;
}

.route-page-link strong {
    font-size: 14px;
    line-height: 1.25;
}

.route-page-link span,
.route-origin-counts span {
    color: #596171;
    font-size: 12px;
    font-weight: 800;
}

.route-page-link:hover {
    color: #197b16;
    border-color: rgba(25, 123, 22, .34);
    background: #f3fbf1;
}

.route-origin-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.route-origin-counts span {
    padding: 7px 10px;
    background: #fff;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
}

.route-page-list {
    margin-bottom: 18px;
}

.directory-actions {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.location-hub-directory {
    border-top: 1px solid #edf2ec;
}

.location-group-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.location-group-link {
    min-height: 76px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 14px;
    color: #10141c;
    background: #fff;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(16, 20, 28, .04);
}

.location-group-link strong,
.location-group-link span {
    display: block;
}

.location-group-link strong {
    font-size: 14px;
    line-height: 1.25;
}

.location-group-link span {
    color: #596171;
    font-size: 12px;
    font-weight: 800;
}

.location-group-link:hover {
    color: #197b16;
    border-color: rgba(25, 123, 22, .34);
    background: #f3fbf1;
}

.location-page-list {
    margin-bottom: 18px;
}

.location-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.location-pagination-link,
.location-page-numbers a,
.location-page-numbers span {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: #10141c;
    background: #fff;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
}

.location-page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.location-page-numbers span {
    color: #fff;
    background: #197b16;
    border-color: #197b16;
}

.location-pagination-link:hover,
.location-page-numbers a:hover {
    color: #197b16;
    border-color: rgba(25, 123, 22, .34);
    background: #f3fbf1;
}

.service-story {
    border-top: 1px solid #edf2ec;
}

.service-story-grid {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    gap: 24px;
    align-items: stretch;
}

.story-image {
    overflow: hidden;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    background: #fff;
}

.story-image img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}

.story-copy {
    padding: 22px;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 20, 28, .05);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.highlight-item {
    padding: 14px;
    border: 1px solid #edf2ec;
    border-radius: 8px;
    background: #fbfcfa;
}

.highlight-item h3 {
    margin: 0;
    color: #10141c;
    font-size: 15px;
    line-height: 1.25;
}

.city-seo-list-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.city-seo-list-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    background: #f7faf6;
    color: #253024;
    font-size: 13px;
    font-weight: 800;
}

.content-link-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #fff;
    background: #197b16;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(25, 123, 22, .18);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.contact-section {
    padding-bottom: 28px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
    gap: 18px;
    align-items: start;
}

.contact-card {
    padding: 22px;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 20, 28, .05);
}

.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: #10141c;
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    color: #10141c;
    background: #fff;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #197b16;
    box-shadow: 0 0 0 3px rgba(25, 123, 22, .11);
}

.captcha-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.form-message {
    display: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.form-message.success {
    color: #197b16;
    background: #f3fbf1;
    border: 1px solid rgba(25, 123, 22, .24);
}

.form-message.error {
    color: #8a2a18;
    background: #fff5ef;
    border: 1px solid #f2d4c4;
}

.office-list {
    display: grid;
    gap: 13px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.office-list li {
    padding-bottom: 13px;
    border-bottom: 1px solid #edf2ec;
}

.office-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.office-list strong,
.office-list span,
.office-list a {
    display: block;
}

.office-list strong {
    margin-bottom: 4px;
    color: #596171;
    font-size: 12px;
    text-transform: uppercase;
}

.office-list span,
.office-list a {
    color: #10141c;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.office-list a:hover {
    color: #197b16;
}

.map-section iframe {
    width: 100%;
    height: 420px;
    display: block;
    border: 0;
}

.policy-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 20, 28, .05);
}

.policy-intro {
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2ec;
}

.policy-intro h2 {
    margin: 0;
    color: #10141c;
    font-size: 24px;
    line-height: 1.2;
}

.policy-intro p {
    max-width: 680px;
    margin: 8px 0 0;
    color: #596171;
    font-size: 14px;
    line-height: 1.55;
}

.policy-list {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.policy-item {
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2ec;
}

.policy-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.policy-item h3 {
    margin: 0 0 8px;
    color: #197b16;
    font-size: 17px;
    line-height: 1.25;
}

.policy-item p {
    margin: 8px 0 0;
    color: #303640;
    font-size: 14px;
    line-height: 1.65;
}

.policy-item a {
    color: #197b16;
    font-weight: 900;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 22px;
    align-items: stretch;
}

.about-story-copy,
.about-image-card,
.about-cta-card {
    padding: 24px;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 20, 28, .05);
}

.about-story-copy h2,
.about-cta-card h2 {
    margin: 0;
    color: #10141c;
    font-size: 25px;
    line-height: 1.2;
}

.about-story-copy p,
.about-cta-card p {
    margin: 12px 0 0;
    color: #303640;
    font-size: 15px;
    line-height: 1.62;
}

.about-image-card {
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(243, 251, 241, .95), rgba(255, 255, 255, .9)),
        url('/images/background/onedrop-hero-road.jpg') center / cover no-repeat;
}

.about-image-card img {
    width: min(520px, 100%);
    filter: drop-shadow(0 18px 18px rgba(16, 20, 28, .2));
}

.about-metrics-section {
    padding-top: 0;
}

.about-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-metric-card {
    min-height: 120px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 18px;
    text-align: center;
    border: 1px solid #dfe7dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 20, 28, .04);
}

.about-metric-card strong {
    color: #197b16;
    font-size: 30px;
    line-height: 1;
}

.about-metric-card span {
    color: #10141c;
    font-size: 13px;
    font-weight: 900;
}

.about-values-section {
    border-top: 1px solid #edf2ec;
}

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

.about-value-card {
    background: #fff;
}

.about-cta-section {
    padding-top: 0;
}

.about-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #fff, #f3fbf1);
}

@media (max-width: 980px) {
    .route-directory-grid,
    .route-hub-list,
    .route-page-grid,
    .location-group-grid,
    .contact-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-story-grid,
    .about-story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-metrics-grid,
    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-image img {
        min-height: 260px;
    }
}

@media (max-width: 620px) {
    .content-page .content-section {
        padding: 20px 0 24px;
    }

    .content-page .section-heading {
        display: grid;
        gap: 4px;
    }

    .content-page .section-heading h2,
    .content-page .contact-card h2,
    .content-page .story-copy h2 {
        font-size: 21px;
    }

    .route-directory-grid,
    .route-hub-list,
    .route-page-grid,
    .location-group-grid,
    .about-metrics-grid,
    .about-values-grid,
    .highlight-grid,
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .story-copy,
    .contact-card,
    .policy-card,
    .about-story-copy,
    .about-image-card,
    .about-cta-card {
        padding: 16px;
    }

    .about-story-copy h2,
    .about-cta-card h2 {
        font-size: 21px;
    }

    .about-cta-card {
        display: grid;
    }

    .policy-intro h2 {
        font-size: 21px;
    }

    .story-image img {
        min-height: 210px;
    }

    .content-link-button {
        width: 100%;
    }

    .map-section iframe {
        height: 330px;
    }
}

html.force-mobile .route-directory-grid,
html.force-mobile .route-hub-list,
html.force-mobile .route-page-grid,
html.force-mobile .location-group-grid,
html.force-mobile .about-story-grid,
html.force-mobile .about-metrics-grid,
html.force-mobile .about-values-grid,
html.force-mobile .highlight-grid,
html.force-mobile .contact-form-row,
html.force-mobile .service-story-grid,
html.force-mobile .contact-grid {
    grid-template-columns: 1fr !important;
}
