#meta {
    background-color: var(--white);
    padding: 1px 15px;
    border-radius: 12px;
    border: 1px solid var(--black);
}

#meta h3,
#header-photos {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    padding: 5px 5px 7px;
    border-radius: 5px;
}

#header-photos {
    background-color: var(--red);
}

#meta h3 {
    background-color: var(--red);
    text-align: center;
}

#meta ul {
    list-style: none;
}

#meta li:not(.phone) {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

#meta li:not(:last-child) {
    margin-bottom: 10px;
}

#meta .phone {
    font-weight: 600;
    color: var(--red);
    text-align: right;
}

#meta .phone a>img:first-child {
    margin-bottom: -4px;
}

#meta .whatsapp {
    margin-bottom: -7px;
}

#meta span {
    max-width: 200px;
}

#meta span:first-child {
    font-weight: 600;
}

#meta span:last-child {
    text-align: right;
}

#category-ad {
    font-size: 18px;
    background-color: #fff;
    width: fit-content;
    padding: 4px 15px 5px;
    border-radius: 6px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-left: auto;
}

#category-ad a {
    font-size: 15px;
    font-weight: 600;
    margin-left: 6px;
}

.wp-block-post-featured-image {
    max-height: 350px;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    border-radius: 12px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

.wp-block-post-featured-image img {
    border-radius: 12px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

#featured-image-ads {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 18px;
}

#featured-image-ads .wp-block-post-featured-image {
    margin: 0;
    display: flex;
    align-items: flex-end;
}

#featured-image-ads .wp-block-post-featured-image img {
    width: 100% !important;
    height: auto !important;
}

#more-photos-container {
    display: flex;
    gap: 10px 2%;
    flex-wrap: wrap;
}

#more-photos-container .more-photos-p {
    position: relative;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
}

#more-photos-container img {
    border-radius: 10px;
    max-width: 100%;
    height: 100%;
}

#more-photos-container span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.1;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 5px;
    font-weight: 600;
}

#more-photos-container .all-pic {
    width: 100px;
    min-height: 100px;
}

#more-photos-container .all-pic span {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--black);
}

@media (min-width: 782px) {
    #featured-image-ads>* {
        flex-basis: calc(50% - 9px);
    }

    /* #more-photos-container .more-photos-p {
        flex-basis: 31%;
        min-width: 70px;
    } */

}

@media (max-width: 781px) {
    #more-photos-container .more-photos-p {
        width: 100px;
        height: 100px;
    }

    #contactar-button {
        position: fixed;
        bottom: 1vh;
        left: 0;
        right: 0;
        max-width: 90%;
        margin: 0 auto;
    }

    #contactar-button a {
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    }
}