/* Wrapper */
.oaw-story-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
}

/* Title link */
.oaw-story-wrapper a {
    text-decoration: none;
}

.oaw-story-wrapper a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------- */

/* THUMBNAIL IMAGE */
.oaw-story-img,
.oaw-story-img-link,
.oaw-story-img-link-default {
    width: 100%;
    aspect-ratio: 16/9;
}

.oaw-story-img {
    object-fit: cover;
}

/* Default image */
.oaw-story-img-link-default {
    padding: 20px;
    box-sizing: border-box;
    background-color: #eee;
}

.oaw-story-img-default {
    width: 100%;
    object-fit: contain;
}

/* -------------------------------------------------- */

/* TEXT */
.oaw-story-text {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.oaw-story-title {
    font-size: 16px;
    font-family: 'Noto Serif', serif;
}

.oaw-story-meta {
    font-size: 14px;
    font-family: calibri;
}

.oaw-story-excerpt {
    font-size: 13px;
}

/* -------------------------------------------------- */

/* DESKTOP LAYOUT */

@media only screen and (min-width: 500px) {
    .oaw-story-wrapper {
        flex-direction: row;
        gap: 20px;
    }

    .oaw-story-img,
    .oaw-story-img-link,
    .oaw-story-img-link-default {
        height: 135px;
        width: 180px;
    }
    .oaw-story-text {
        margin: 0;
    }
}