.geo-page-content .wp-block-button {
    background-color: #ff8720;
    border-radius: 4.2rem;
    padding: 0.75rem 2rem;
    margin-top: 20px !important;
}

.geo-page-content .wp-block-button a {
    text-decoration: none;
}

.geo-page-content {
    max-width: 1200px;
    margin: 25px auto 0;
}

.geo-page-content .breadcrumbs {
    margin-bottom: 25px;
}

.geo-page-content > .gf-geoseo-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    column-gap: 30px;
    padding: 50px 0;
    border-bottom: 2px solid #bcbcbc;
}

.gf-geoseo-section h2 {
    margin: 30px 20px 20px 0;
}

.geo-page-content > .gf-geoseo-section .gf-geoseo-image {
    flex: 1;
    padding: 10px;
}

.geo-page-content > .gf-geoseo-section .gf-geoseo-text {
    flex: 2;
    padding: 10px;
}

.geo-page-content > .gf-geoseo-section:nth-child(odd) .gf-geoseo-image {
    order: 0;
}

.geo-page-content > .gf-geoseo-section:nth-child(odd) .gf-geoseo-text {
    order: 1;
}

.geo-page-content > .gf-geoseo-section:nth-child(even) .gf-geoseo-image {
    order: 1;
}

.geo-page-content > .gf-geoseo-section:nth-child(even) .gf-geoseo-text {
    order: 0;
}

.gf-geoseo-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.child_links_gf_geoseo {
    margin: 56px 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.child_links_gf_geoseo br {
    display: none;
}

.child_links_gf_geoseo a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.035);
    color: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.child_links_gf_geoseo__label {
    display: -webkit-box;
    max-height: 2.5em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
}

.child_links_gf_geoseo a:hover,
.child_links_gf_geoseo a:focus {
    background: rgba(0, 0, 0, 0.065);
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.child_links_gf_geoseo a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.gf-geoseo-links-container {
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    max-width: 90%;
}

.gf-geoseo-links-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.gf-geoseo-links-wrapper a {
    flex: 1 1 calc(16.66% - 10px);
    min-width: 120px;
    padding: 10px;
    border-radius: 5px;
    background: transparent;
    color: #333;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.gf-geoseo-links-wrapper a:hover {
    background: transparent;
}

.gf-geoseo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 1280px;
    margin: 0 auto 20px;
}

.gf-geoseo-links a {
    flex: 1 1 calc(33.33% - 10px);
    box-sizing: border-box;
    color: #a9a9a9;
    font-size: 11px;
    text-decoration: none;
}

@media screen and (max-width: 1024px) {
    .gf-geoseo-links-wrapper a {
        flex: 1 1 calc(50% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .geo-page-content {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .geo-page-content > .gf-geoseo-section {
        flex-direction: column;
        column-gap: 0;
    }
}

@media screen and (max-width: 600px) {
    .gf-geoseo-links-wrapper a {
        flex: 1 1 100%;
    }
}

@media screen and (max-width: 480px) {
    .child_links_gf_geoseo {
        grid-template-columns: 1fr;
    }
}
