/* Main Location Block Styles */
.main-location-block {
    width: 100%;
}

.main-location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    gap: 0;
    min-height: 400px;
}

/* Left Content Section */
.location-content {
    padding: 0 25px 40px;
    display: flex;
    flex-direction: column;
    gap: 45px;
    padding-left: 0;
}

/* Services Section */
.services-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services-title {
    font-weight: 700;
    color: #051529;
    margin: 0;
    line-height: 1.2;
    padding-bottom: 0;
}

.services-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #fff;
    padding: 8px 25px 8px 24px;
    transition: all 0.2s ease;
    cursor: default;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 3px 20px 0 rgba(0, 79, 157, 0.12);
    outline: none;
    border-left: 2px solid transparent;
}

a.service-item {
    cursor: pointer;
}

.service-item:hover {
    box-shadow: 0 2px 8px rgba(255,87,34,.1);
    text-decoration: none;
    border-left: 2px solid #FF5722;
}

.service-icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #F26727;
}

.service-icon i {
    font-size: 20px;
    color: #FF5722;
    line-height: 1;
}

.service-icon svg,
.service-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.service-name {
    font-size: 17px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
}

/* Contact Card */
.contact-card {
    background-color: #fff;
    border-radius: 4px;
    padding: 0;
    box-shadow: 0 3px 20px rgba(0,79,157,.09);
    display: flex;
    flex-direction: column;
}

.contact-row {
    display: flex;
    padding: 35px 28px 0;
}

.contact-row.info-row {
    padding-bottom: 35px;
}

.phone-row {
    align-items: self-start;
    gap: 30px;
    flex-wrap: wrap;
}

.info-row {
    gap: 40px;
    align-items: flex-start;
}

.info-group {
    display: flex;
    gap: 25px;
    flex: 1;
    position: relative;
}

.contact-row.phone-row .contact-icon:before,
.contact-row.info-row .info-group:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 30px;
    background: #CCCCCC;
    top: 0;
    left: 34px;
}

a.schedule-btn .btn-arrow {
    background: var(--orange);
    border-radius: 99%;
    width: 39px;
    height: 39px;
    position: absolute;
    top: -1px;
    color: #fff;
    font-size: 26px;
    right: -1px;
    text-align: center;
    padding-top: 2px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    position: relative;
}

.contact-icon .icon-phone,
.contact-icon .icon-time,
.contact-icon .icon-pin {
    font-size: 26px;
}

.contact-value.hours-wysiwyg p {
    padding-bottom: 4px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-size: 18px;
    font-weight: 600;
    color: #000810;
    line-height: 1.2;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 15px;
    font-weight: 400;
    color: #000810;
    line-height: 30px;
    max-width: 210px;
}

.hours-wysiwyg p {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: #000810;
    line-height: 1.5;
}

.specific-location-content p {
    line-height: 2em;
}

.hours-wysiwyg p + p {
    margin-top: 4px;
}

.phone-link {
    font-size: 15px;
    font-weight: 600;
    color: #004F9D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.phone-link:hover {
    text-decoration: underline;
}

.directions-link {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
    display: inline-block;
    transition: color 0.2s ease;
}

.directions-link:hover {
    text-decoration: underline;
}

/* Schedule Button */
.schedule-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    color: inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-left: auto;
    border: 1px solid #F26727;
    cursor: pointer;
    position: relative;
    padding-right: 55px;
    margin-right: 10px;
}

.schedule-btn:hover {
    transform: translateY(-1px);
    opacity: .8;
    background: var(--orange);
    text-decoration: none;
    color: #fff;
}

.btn-arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.schedule-btn:hover .btn-arrow {
    transform: translateX(0px);
    background: #fff;
    color: var(--orange);
}

/* Map Section */
.map-section {
    background-color: #e0e0e0;
    position: relative;
    min-height: 400px;
}

.map-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

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

.schedule-btn svg {
    position: absolute;
    right: -24px;
    width: 85px;
    height: 85px;
    top: -16px;
}

.main-location-block.bg-grey + .main-location-block.bg-grey {
    padding-top: 0;
}

@media( min-width:1025px ) {
    .main-location-container.pos-opposite-left {
        direction: rtl;
    }

    .main-location-container.pos-opposite-left > * {
        direction: ltr;
    }

    .main-location-container.pos-opposite-left .location-content {
        padding: 0 0 40px 25px;
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .main-location-container {
        grid-template-columns: 1fr;
    }

    .map-section {
        min-height: 350px;
    }

    .location-content {
        padding: 40px 0;
    }

    .info-row {
        gap: 32px;
    }
}

@media screen and (max-width: 768px) {
    .location-content {
        padding: 32px 24px;
        gap: 28px;
    }

    .services-title {
        font-size: 26px;
    }

    .services-grid {
        gap: 12px;
    }

    .service-item {
        padding: 12px 14px;
    }

    .service-name {
        font-size: 13px;
    }

    .phone-row {
        align-items: flex-start;
        gap: 25px;
    }

    .schedule-btn {
        width: 100%;
        justify-content: center;
        margin-left: auto;
        max-width: 320px;
    }

    .info-row {
        flex-direction: column;
        gap: 24px;
    }

    .contact-row {
        padding: 20px 24px;
    }

    .map-section {
        min-height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .schedule-btn {
        margin-left: initial;
        margin-right: auto;
        max-width: 250px;
    }

    .contact-card {
        padding: 15px 25px 30px;
    }

    .contact-row.info-row {
        padding-bottom: 0;
    }

    .location-content {
        padding: 0;
        gap: 24px;
        margin-bottom: 25px;
    }

    .services-grid {
        max-width: 100%;
    }

    .service-item {
        padding: 14px 16px;
        margin-bottom: 12px;
    }

    .contact-row {
        padding: 18px 20px;
    }
}

