/* Starwalk Latest News: scoped to the one-card shortcode output. */
.swln-latest-news,
.swln-latest-news * {
    box-sizing: border-box;
}

.swln-latest-news .swln-news-card {
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #E5E9EF;
    border-radius: 6px;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 35%) minmax(0, 1fr);
    align-items: stretch;
    min-height: 135px;
    overflow: hidden;
}

.swln-latest-news .swln-news-media {
    position: relative;
    min-width: 0;
    min-height: 135px;
    overflow: hidden;
}

.swln-latest-news .swln-news-image,
.swln-latest-news .swln-news-image-missing {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.swln-latest-news .swln-news-image-missing {
    background: #F3F5F7;
}

.swln-latest-news .swln-news-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 24px;
}

.swln-latest-news .swln-news-title {
    margin: 0;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
}

.swln-latest-news .swln-news-date {
    display: block;
    margin: 8px 0 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #64748B;
}

.swln-latest-news .swln-news-description {
    margin: 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: #475569;
}

/* Read More is an optional text link at the bottom-right on all screen sizes. */
.swln-latest-news .swln-news-actions {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-self: stretch;
    margin-top: auto;
    padding-top: 14px;
}

.swln-latest-news a.swln-news-read-more,
.swln-latest-news a.swln-news-read-more:link,
.swln-latest-news a.swln-news-read-more:visited {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    min-height: 0;
    width: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #D9861C;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: none;
    transform: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.swln-latest-news a.swln-news-read-more:hover,
.swln-latest-news a.swln-news-read-more:focus-visible,
.swln-latest-news a.swln-news-read-more:active {
    background: transparent;
    color: #B86F17;
    text-decoration: none;
    box-shadow: none;
    transform: none;
}

.swln-latest-news a.swln-news-read-more:focus-visible {
    outline: 2px solid #0A0F1A;
    outline-offset: 2px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .swln-latest-news .swln-news-card {
        min-height: 150px;
    }
    .swln-latest-news .swln-news-media {
        min-height: 150px;
    }
    .swln-latest-news .swln-news-copy {
        padding: 20px;
    }
    .swln-latest-news .swln-news-title {
        font-size: 17px;
    }
    .swln-latest-news .swln-news-description {
        font-size: 14px;
    }
    .swln-latest-news .swln-news-date {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .swln-latest-news .swln-news-card {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
    .swln-latest-news .swln-news-media {
        min-height: 0;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    .swln-latest-news .swln-news-copy {
        padding: 18px;
    }
    .swln-latest-news .swln-news-title {
        font-size: 16px;
    }
    .swln-latest-news .swln-news-description {
        font-size: 14px;
    }
    .swln-latest-news .swln-news-date {
        font-size: 13px;
    }
}
