/*
Theme Name: Divi Child Theme
Version: 3.0
Description: Divi Child Theme for In Transit Studios
Authors: The Intransit Studios Team
Client: 
Template: Divi
Author URL: https://intransitstudios.com
*/

/******************************************/
/*-------  CUSTOM CSS STARTING FROM HERE ------- */
/******************************************/

.custom-acf-buttons-wrapper {
    display: flex;
/*    flex-wrap: wrap;
*/    gap: 10px;
    justify-content: center;
    margin: 30px 0;
}

.custom-acf-button {
    padding: 12px 24px;
    background-color: #F4BA09;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

body.single-auction .et_pb_module .custom-acf-button:hover {
    background-color: #d4a000;
    color: #fff !important;
}

.auction-datetime-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
    text-align: center;
}

.auction-datetime-col {
    flex: 1 1 30%;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pa-blog-equal-height .et_pb_ajax_pagination_container article
 {
    padding: 20px;
    border: 1px solid #d0d0d0 !important;
}

a.more-link {
    display: none;
}

.auction-imagedd img {
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    width: 100% !important;
    height: 281px !important;
    object-fit: contain !important;
}

@media screen and (max-width: 768px) {
    .auction-image img {
        width: 60% !important;
        margin: 0 auto !important;
        text-align: center;
        display: block;
    }

    h3.auction-title {
        text-align: center !important;
    }

    select#auction-month-filter {
        text-align: center;
        width: 60%;
        margin: 0 auto;
        display: block; /* Optional, helps center on mobile */
    }

    .ccc {
        justify-content: center;
    }

    select#auction-month-filter {
        width: 60%;
        margin: 0 auto;
    }    

}


/* Stack columns on tablets and phones */
@media (max-width: 1024px) {
    .auction-datetime-col {
        flex: 1 1 100%;
    }
}


/* Stack buttons vertically on tablets and mobile devices */
@media (max-width: 1024px) {
    .custom-acf-buttons-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .custom-acf-button {
        width: 100%;
        max-width: 320px;
    }
} 