/* Sedunia homepage sections — full rows of 4 tiles + Load More.
   Loaded only on the homepage / /temp_new (sedunia-home-sections.php).
   HARD RULE (tile design): every tile in a row is the same height — the grid
   stretches items and .brand-pricing is pinned to the bottom (temp-new CSS). */

body.sed-revamp .sed-home-section {
    width: 100%;
}

body.sed-revamp .sed-home-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 20px;
    align-items: stretch;
    width: 100%;
}

@media (max-width: 1024px) {
    body.sed-revamp .sed-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.sed-revamp .sed-home-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
}

/* neutralise the slider/archive column widths that ride on .cols_4 */
body.sed-revamp .sed-home-grid .btSingleTourBlock,
body.sed-revamp .sed-home-grid .btSingleTourBlock.cols_4,
body.sed-revamp .sed-home-grid .btSingleTourBlock.newcols {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
    min-width: 0;
}

body.sed-revamp .sed-home-grid .btSingleTourBlock .btImageWrapper > a > img,
body.sed-revamp .sed-home-grid .btSingleTourBlock .btImageWrapper > a img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

body.sed-revamp .sed-home-grid .sed-home-hidden {
    display: none !important;
}

/* Load More */
body.sed-revamp .sed-home-more {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 34px 0 6px;
}

body.sed-revamp .sed-home-more__btn {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 14px 38px;
    border-radius: 999px;
    border: 1.5px solid #b58f3e;
    background: linear-gradient(120deg, #b58f3e, #d8b76a);
    color: #fff !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(181, 143, 62, .28);
    transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

body.sed-revamp .sed-home-more__btn:hover,
body.sed-revamp .sed-home-more__btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(181, 143, 62, .36);
    outline: none;
}

body.sed-revamp .sed-home-more__btn:disabled,
body.sed-revamp .sed-home-more__btn.is-loading {
    opacity: .7;
    cursor: progress;
    transform: none;
}

/* the widget shell used to size itself for owl — let the grid breathe */
body.sed-revamp .elementor-widget-tour_slider .elementor-widget-container {
    overflow: visible;
}
