/**
 * WBR Destination Loop
 * Frontend styling for destination story lists.
 *
 * Used by:
 * [wbr_destination_stories]
 * [wbr_destination_more_stories]
 */


/* ==========================================================
 * 1. STORY LIST
 * ========================================================== */

.wbr-destination-stories {
    width: 100%;
}


/* ==========================================================
 * 2. STORY CARD
 * ========================================================== */

.wbr-story-card {
    display: grid;
    grid-template-columns: minmax(260px, 38%) 1fr;
    gap: 36px;
    align-items: center;
    margin: 0 0 20px 0;
}


/* Story image */

.wbr-story-image {
    display: block;
    overflow: hidden;
}

.wbr-story-image img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}


/* Story content */

.wbr-story-content {
    min-width: 0;
}

.wbr-story-title {
    margin: 0 0 6px 0;
    padding: 0;
    font-size: 28px;
    line-height: 1.2;
}

.wbr-story-title a {
    color: inherit;
    text-decoration: none;
}

.wbr-story-date {
    margin-bottom: 14px;
    font-size: 14px;
    opacity: 0.65;
}

.wbr-story-excerpt {
    margin-bottom: 16px;
    line-height: 1.7;
}

.wbr-story-excerpt p {
    margin-bottom: 0;
}

.wbr-story-link {
    color: #e87532;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.wbr-story-link:hover {
    text-decoration: underline;
}


/* ==========================================================
 * 3. NO STORIES
 * ========================================================== */

.wbr-no-stories {
    text-align: center;
    padding: 20px 0;
    opacity: 0.7;
}


/* ==========================================================
 * 4. MORE STORIES
 * ========================================================== */

.wbr-more-stories {
    margin: 70px 0 65px 0;
}

.wbr-more-stories h2 {
    margin: 0 0 32px 0;
    padding: 0;
    font-size: 38px;
    line-height: 1.2;
}

.wbr-more-stories-button {
    display: table;
    margin: 0 auto;
    padding: 16px 28px;
    border-radius: 50px;
    background: #ef6842;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
}

.wbr-more-stories-button:hover {
    opacity: 0.9;
}


/* ==========================================================
 * 5. SMARTPHONE / SMALL TABLET
 * ========================================================== */

@media (max-width: 767px) {

    .wbr-story-card {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 36px;
    }

    .wbr-story-image img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .wbr-story-title {
        font-size: 24px;
    }
}