/* Wrapper */
.oaw-story-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
}

.oaw-substory-wrap {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    column-gap: 24px;
    padding: 0;
}

.oaw-story-link {
    padding: 24px 0;
}

.oaw-story-stack>.oaw-story-link:not(:last-child) {
    border-bottom: 1px solid var(--oaw-gray-200);
}

.oaw-story-link a:link,
.oaw-story-link a:visited {
    text-decoration: none;
}

@media only screen and (min-width: 576px) {
    .oaw-substory-wrap {
        flex-direction: row;
    }

    .oaw-index a.oaw-substory-wrap {
        flex-direction: row-reverse;
    }

    .oaw-subcolumn1 {
        width: 100%;
    }

    .oaw-subcolumn2 {
        max-width: 220px;
        aspect-ratio: 4/3;
    }

    .subcolumn .deck {
        font-size: 18px !important;
    }
}

.deck {
    text-transform: none;
    margin-top: 20px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 500;
}

.column .headline {
    font-size: 26px;
    font-weight: 700;
}

.column .deck {
    font-size: 20px;
}

.subcolumn .headline {
    font-size: 24px;
}

.subcolumn .deck {
    font-size: 16px;
}


/* -------------------------------------------------- */

/* THUMBNAIL IMAGE */
.oaw-story-img-wrapper {
    flex: 0 0 20%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.oaw-story-link-img-wrap {
    width: 100%;
}

img.oaw-story-link-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ar11 {
    aspect-ratio: 1/1;
}

.ar32 {
    aspect-ratio: 3/2;
}

.ar43 {
    aspect-ratio: 4/3;
}

.ar169 {
    aspect-ratio: 16/9;
}

/* Default image */
.oaw-story-img-link-default {
    display: block;
    width: 100%;
    box-sizing: border-box;
    aspect-ratio: 4/3;
    padding: 24px;
    background-color: #eee;
}

.oaw-story-img-default {
    width: 100%;
}

/* -------------------------------------------------- */

/* TEXT */
.oaw-story-link-headline {
    font-family: var(--oaw-sans);
    font-weight: 600;
    font-size: 22px;
}

@media only screen and (min-width: 768px) {
    .oaw-story-link-headline {
        font-size: 24px;
    }

    .oaw-top-story-link .oaw-story-link-headline {
        font-size: 26px !important;
    }
}

.oaw-story-date {
    flex: 0 0 15%;
    font-size: 12px;
    font-family: var(--oaw-sans);
    color: gray;
}

.oaw-story-text {
    flex: 0 0 65%;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 7px;
}

.oaw-story-title {
    font-size: 16px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: bold;
}

.oaw-story-meta {
    font-size: 14px;
    font-family: 'Source Sans 3', sans-serif;
}

span.oaw-story-meta-separator {
    margin: 0 6px;
}

span.oaw-story-meta-separator::before {
    content: '\2022';
}


.oaw-story-excerpt {
    font-size: 13px;
    font-family: 'Source Sans 3', sans-serif;
}

.oaw-story-link a:hover h1,
.oaw-story-link a:hover h2,
.oaw-story-link a:hover h3 {
    color: var(--oaw-gray-hover);
}

/* -------------------------------------------------- */

/* DESKTOP LAYOUT */

@media only screen and (min-width: 576px) {
    .oaw-story-wrapper {
        flex-direction: row;
        gap: 24px;
    }

    .oaw-story-img-wrapper {
        order: 3;
    }

    .oaw-story-date {
        order: 1;
    }

    .oaw-story-text {
        order: 2;
        margin: 0;
    }

    .oaw-story-img-link-default {
        padding: 12px;
    }
}



/* Tiny story */

.oaw-tinystory-wrap {
    display: flex;
    flex-direction: row;
    row-gap: 10px;
    column-gap: 24px;
    padding: 0;
}

.oaw-tinystory-wrap img {
    width: 72px;
}

.oaw-tinystory-wrap h2 {
    font-size: 16px;
}