/* Wrappers & Containers */
.page-ANIMAL_SHELTER .contact-section-wrapper {
    width: 100% !important;
}
.page-ANIMAL_SHELTER .animal_shelter_contact_us_heading {
    text-align: center;
}
.page-ANIMAL_SHELTER .animal_shelter_contact_us {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.page-ANIMAL_SHELTER .animal_shelter_contact_us_container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}
.page-ANIMAL_SHELTER .animal_shelter_contact_us_container > div {
    flex: 1;
}

/* Collapse p tags containing only &nbsp; by forcing font size to 0 */
.page-ANIMAL_SHELTER .row1 {
    font-size: 0 !important;
}
.page-ANIMAL_SHELTER .row1 > * {
    font-size: 16px !important; /* Reset font size for direct children */
}

/* Generic Element Styles */
.page-ANIMAL_SHELTER .animal_shelter_contact_us_container h4 {
    margin: 0 0 8px 0;
    white-space: nowrap;
}
.page-ANIMAL_SHELTER .animal_shelter_contact_us_container p {
    margin: 0 0 8px 0;
}
.page-ANIMAL_SHELTER .animal_shelter_contact_us_container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}
.page-ANIMAL_SHELTER .animal_shelter_contact_us_container li {
    margin-bottom: 5px;
}
.page-ANIMAL_SHELTER .animal_shelter_contact_us_container a {
    text-decoration: none;
    color: #0066cc;
}

/* Specific Heading Classes */
.page-ANIMAL_SHELTER .h4-18 {
    font-size: 18px !important;
}
.page-ANIMAL_SHELTER .h4-16 {
    font-size: 16px !important;
}

/* Hide spacer h4 elements on mobile */
.page-ANIMAL_SHELTER .h4-hidden,
.page-ANIMAL_SHELTER .row1 h4.h4-18:empty,
.page-ANIMAL_SHELTER .row3 h4.h4-18:first-child {
    display: none !important;
}

/* Media Query for Desktop Layout */
@media screen and (min-width: 768px) {
    .page-ANIMAL_SHELTER .animal_shelter_contact_us_container {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 30px;
    }
    
    /* Restore spacer h4 elements for desktop alignment */
    .page-ANIMAL_SHELTER .h4-hidden,
    .page-ANIMAL_SHELTER .row1 h4.h4-18:empty,
    .page-ANIMAL_SHELTER .row3 h4.h4-18:first-child {
        display: block !important;
    }
    .page-ANIMAL_SHELTER .h4-hidden {
        visibility: hidden !important;
    }
}