/* ========================================
   AVAILABLE SITES SECTION
======================================== */

.available-sites-section {
    width: 100%;

    padding: 30px 0;

    background: #f3f3f3;

    overflow: hidden;

    box-sizing: border-box;
}


/* ========================================
   CONTAINER
======================================== */

.available-sites-container {
    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

    padding: 0 20px;

    box-sizing: border-box;
}


/* ========================================
   SECTION HEADING
======================================== */

.available-sites-heading {
    width: 100%;

    text-align: center;

    margin-bottom: 32px;
}


.available-sites-label {
    display: block;

    margin-bottom: 8px;

    color: #f47721;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.8px;

    line-height: 1;

    text-transform: uppercase;
}


.available-sites-heading h2 {
    margin: 0 0 10px;

    color: #15191f;

    font-size: 28px;

    font-weight: 700;

    line-height: 1.2;
}


.available-sites-heading p {
    max-width: 580px;

    margin: 0 auto;

    color: #8a8f95;

    font-size: 11px;

    font-weight: 400;

    line-height: 1.55;
}


/* ========================================
   SITES GRID
======================================== */

.sites-grid {
    width: 100%;
    display: grid;

    /* 3 cards in one row */
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

    box-sizing: border-box;
}


.available-sites-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 20px 16px;
    color: #8a8f95;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
}


/* ========================================
   SITE CARD
======================================== */

.site-card {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 7px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        0 5px 18px rgba(30, 35, 40, 0.04);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.site-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 30px rgba(30, 35, 40, 0.08);
}


/* ========================================
   SITE IMAGE
======================================== */

.site-image {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    box-sizing: border-box;
}


/* ========================================
   SITE IMAGE
======================================== */

.site-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;

    /*
       IMPORTANT:
       Natural image ratio.
       Full image visible.
       No crop.
    */
    object-fit: contain;
    object-position: center center;

    /*
       Prevent hover image switching/zooming
    */
    transform: none !important;

    transition: none;

    background: #ffffff;

    box-sizing: border-box;
}

/* .site-image iframe {
    display: block;

    width: 100%;
    height: auto;
    min-height: 220px;

    max-width: 100%;

    margin: 0;
    padding: 0;
    border: 0;

    aspect-ratio: 2028 / 880;

    background: #ffffff;

    box-sizing: border-box;

    pointer-events: none;
} */

.site-image iframe {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 4 / 3;

    max-width: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    background: #ffffff;

    box-sizing: border-box;

    pointer-events: none;

    overflow: hidden;
}


/* ========================================
   DISABLE IMAGE ZOOM ON CARD HOVER
======================================== */

.site-card:hover .site-image img {
    transform: none !important;
}

/* ========================================
   SITE CONTENT
======================================== */

.site-content {
    flex: 1;

    padding: 13px 8px 10px;

    box-sizing: border-box;
}


/* ========================================
   LOCATION
======================================== */

.site-location {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-bottom: 8px;

    color: #555b62;

    font-size: 15px;

    line-height: 1.3;
}


.site-location i {
    flex-shrink: 0;

    color: #f47721;

    font-size: 15px;
}


/* ========================================
   SITE TITLE
======================================== */

.site-content h3 {
    margin: 0 0 6px;

    color: #20252b;

    font-size: 22px;

    font-weight: 600;

    line-height: 1.3;
}


/* ========================================
   SITE DESCRIPTION
======================================== */

.site-content p {
    margin: 0;

    color: #858b92;

    font-size: 14px;

    line-height: 1.55;
}


/* ========================================
   SITE META
======================================== */

.site-meta {
    width: 100%;

    min-width: 0;

    display: flex;

    align-items: stretch;

    padding: 10px 8px;

    box-sizing: border-box;

    border-top: 1px solid #eeeeee;
}


/* ========================================
   SITE INFO
======================================== */

.site-info {
    flex: 1;

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 6px;
}


.site-info-icon {
    width: 50px;

    height: 50px;

    flex-shrink: 0;

    display: block;

    object-fit: contain;
}


.site-info div {
    min-width: 0;

    display: flex;

    flex-direction: column;
}


.site-info strong {
    display: block;

    max-width: 100%;

    overflow: hidden;

    color: #363c43;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.3;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.site-info span {
    display: block;

    margin-top: 2px;

    color: #9da2a7;

    font-size: 12px;

    line-height: 1.2;
}


/* ========================================
   META DIVIDER
======================================== */

.site-divider {
    width: 1px;

    flex-shrink: 0;

    margin: 0 10px;

    border-left: 1px dashed #d8dbde;
}

/* ========================================
   VIEW DETAILS BUTTON
======================================== */

.site-view-btn {
    width: 100%;

    min-height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 6px 10px;

    box-sizing: border-box;

    border-radius: 5px;

    background: #fff0dc;

    color: #f47721;

    text-decoration: none;

    font-size: 15px;

    font-weight: 500;

    /* SHOW BY DEFAULT */
    opacity: 1;

    visibility: visible;

    transform: none;

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}


/* Arrow */

.site-view-btn i {
    font-size: 15px;

    transition:
        transform 0.25s ease;
}


/* Hover */

.site-view-btn:hover {
    background: #ffe4c5;

    color: #f47721;
}


.site-view-btn:hover i {
    transform: translateX(3px);
}

/* ========================================
   SHOW BUTTON ON HOVER
======================================== */




.site-view-btn:hover {
    background: #ffe4c5;
}


.site-view-btn:hover i {
    transform: translateX(3px);
}


/* ========================================
   TABLET
======================================== */

@media (min-width: 600px) {

 

    .available-sites-container {
        padding: 0 35px;
    }


    .available-sites-heading {
        margin-bottom: 36px;
    }


    .available-sites-heading h2 {
        font-size: 32px;
    }


    .available-sites-heading p {
        font-size: 11px;
    }


    .sites-grid {
        gap: 24px;
    }


    /* .site-image {
        height: 160px;
    } */


    .site-content {
        padding: 15px 9px 11px;
    }


    /* .site-content h3 {
        font-size: 15px;
    } */

/* 
    .site-content p {
        font-size: 9px;
    } */


    .site-meta {
        padding: 11px 9px;
    }


    /* .site-info-icon {
        width: 19px;

        height: 19px;
    } */


    /* .site-view-btn {
        min-height: 32px;

        font-size: 9px;
    } */

}



/* ========================================
   LARGE DESKTOP
======================================== */

@media (min-width: 1400px) {

    .available-sites-container {
        max-width: 1250px;

        padding: 0 50px;
    }


    .sites-grid {
        gap: 22px;
    }


    /* .site-image {
        height: 145px;
    } */


    .site-content {
        padding: 14px 9px 11px;
    }


    /* .site-content h3 {
        font-size: 15px;
    } */

/* 
    .site-content p {
        font-size: 9px;
    } */

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 599px) {

    .available-sites-container {
        padding: 0 16px;
    }

    .available-sites-heading {
        margin-bottom: 28px;
    }

    .available-sites-heading h2 {
        font-size: 27px;
    }

    .available-sites-heading p {
        max-width: 330px;
        font-size: 10px;
        line-height: 1.6;
    }

    .available-sites-heading p br {
        display: none;
    }


    /* ONE CARD PER ROW */
    .sites-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .site-card {
        padding: 6px;
        border-radius: 10px;
    }


    /* FULL IMAGE - NO FIXED HEIGHT */
    .site-image {
        width: 100%;
        height: auto;
        overflow: hidden;
    }


    /* .site-image img,
    .site-image iframe {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        transform: none !important;
    } */
.site-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transform: none !important;
}

.site-image iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}

    .site-content {
        padding: 14px 9px 11px;
    }

    .site-location {
        font-size: 12px;
    }

    .site-location i {
        font-size: 12px;
    }

    .site-content h3 {
        font-size: 17px;
    }

    .site-content p {
        font-size: 10px;
        line-height: 1.6;
    }

    .site-meta {
        padding: 12px 9px;
    }

    .site-info {
        gap: 6px;
    }

    .site-info-icon {
        width: 20px;
        height: 20px;
    }

    .site-info strong {
        font-size: 9px;
    }

    .site-info span {
        font-size: 8px;
    }

    .site-divider {
        margin: 0 8px;
    }

    .site-view-btn {
        min-height: 36px;
        opacity: 1;
        visibility: visible;
        transform: none;
        font-size: 10px;
    }
}



/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 380px) {

    .available-sites-section {
        padding: 40px 0;
    }

    .available-sites-container {
        padding: 0 14px;
    }

    .available-sites-heading h2 {
        font-size: 25px;
    }


    /* IMPORTANT:
       NO fixed image height
    */
    .site-image {
        width: 100%;
        height: auto;
    }

    .site-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        transform: none !important;
    }


    .site-content {
        padding: 13px 8px 10px;
    }

    .site-content h3 {
        font-size: 18px;
    }

    .site-content p {
        font-size: 11px;
    }

    .site-meta {
        padding: 11px 8px;
    }

    .site-info-icon {
        width: 25px;
        height: 25px;
    }

    .site-info strong {
        font-size: 10px;
    }

    .site-info span {
        font-size: 8px;
    }

    .site-divider {
        margin: 0 7px;
    }

    .site-view-btn {
        min-height: 34px;
        font-size: 13px;
    }

}