/* =========================================================
   SAYWETIN
   EDITORIAL NEWS / CULTURE / DISCOVERY
========================================================= */

.saywetin-page {

    --green: #39e86b;
    --black: #020604;
    --panel: #070c0a;
    --border: #27312d;
    --text: #f5f7f6;
    --muted: #89948f;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0 27px 70px;

    box-sizing: border-box;

    background: var(--black);
    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   RESET
========================================================= */

.saywetin-page *,
.saywetin-page *::before,
.saywetin-page *::after {
    box-sizing: border-box;
}

.saywetin-page a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   RADIO
========================================================= */

.sw-radio-bar {

    height: 25px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 8px;

    border-bottom: 1px solid #16201b;

    font-size: 7px;
}

.sw-radio-brand {
    color: #6f7974;
}

.sw-live-dot {

    display: inline-block;

    width: 4px;
    height: 4px;

    margin-right: 4px;

    border-radius: 50%;

    background: var(--green);
}

.sw-radio-play {

    padding: 4px 9px;

    border: 1px solid var(--green);
    border-radius: 12px;

    background: transparent;

    color: var(--green);

    font-size: 7px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.sw-hero {

    display: grid;

    grid-template-columns:
        0.78fr
        1.55fr
        0.78fr;

    gap: 10px;

    min-height: 365px;

    padding-top: 51px;
    padding-bottom: 12px;
}


/* =========================================================
   LEFT BRAND
========================================================= */

.sw-intro {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding-left: 3px;
}

.sw-kicker {

    display: block;

    margin-bottom: 8px;

    color: var(--green);

    font-size: 7px;

    font-weight: 700;

    text-transform: uppercase;
}

.sw-intro h1 {

    margin: 0;

    font-size:
        clamp(
            56px,
            5.8vw,
            82px
        );

    line-height: .82;

    letter-spacing: -5px;

    font-weight: 900;
}

.sw-intro h1 span {
    color: var(--green);
}

.sw-intro-tagline {

    margin-top: 13px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .05em;
}

.sw-intro p {

    max-width: 320px;

    margin: 15px 0;

    color: #c2cbc6;

    font-size: 9px;

    line-height: 1.55;
}

.sw-button {

    width: fit-content;

    padding: 10px 16px;

    border-radius: 20px;

    background: var(--green);

    color: #001507 !important;

    font-size: 8px;

    font-weight: 700;
}


/* =========================================================
   FEATURED
   IMPORTANT: IMAGE IS SUBTLE, NOT THE MAIN ELEMENT
========================================================= */

.sw-featured {

    position: relative;

    height: 365px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 4px;

    background:
        linear-gradient(
            180deg,
            #0a0c0b 0%,
            #050706 100%
        );
}


/*
 * The current design should feel editorial.
 * If a feed image exists, it is a very subtle background.
 */

.sw-featured > a {

    position: absolute;

    inset: 0;

    z-index: 0;

    opacity: .13;
}

.sw-featured > a img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.sw-featured::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(2,6,4,.35),
            rgba(2,6,4,.98)
        );

    z-index: 1;
}

.sw-featured-content {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    padding: 15px;
}

.sw-story-meta {

    display: flex;

    gap: 8px;

    margin-bottom: 6px;

    color: var(--green);

    font-size: 7px;

    font-weight: 700;
}

.sw-featured h2 {

    max-width: 650px;

    margin: 0 0 8px;

    font-size:
        clamp(
            26px,
            2.8vw,
            39px
        );

    line-height: .98;

    letter-spacing: -.8px;
}

.sw-featured p {

    max-width: 650px;

    margin: 0 0 6px;

    color: #b7c0bb;

    font-size: 8px;

    line-height: 1.4;
}

.sw-featured-content small {

    color: #a5aea9;

    font-size: 6px;
}


/* =========================================================
   RIGHT STORY STACK
========================================================= */

.sw-story-grid {

    display: grid;

    grid-template-rows:
        repeat(3, 1fr);

    gap: 7px;

    height: 365px;
}

.sw-story-card {

    position: relative;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 4px;

    background: var(--panel);
}


/*
 * Normal stories remain mostly text.
 */

.sw-story-card-content {

    position: absolute;

    inset: auto 0 0 0;

    padding: 10px;

    z-index: 3;
}

.sw-story-label {

    margin-bottom: 5px;

    color: var(--green);

    font-size: 6px;

    font-weight: 700;
}

.sw-story-card h3 {

    margin: 0;

    max-width: 230px;

    font-size: 10px;

    line-height: 1.08;

    font-weight: 700;
}

.sw-story-card small {

    display: block;

    margin-top: 6px;

    color: #9aa49f;

    font-size: 6px;
}


/* =========================================================
   MUSIC VIDEO CARD
========================================================= */

.sw-music-video-card .sw-story-image {

    position: absolute;

    inset: 0;

    z-index: 0;
}

.sw-music-video-card .sw-story-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .35;
}

.sw-music-video-card .sw-story-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.1),
            rgba(0,0,0,.95)
        );
}

.sw-play-icon {

    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--green);

    border-radius: 50%;

    color: var(--green);

    font-size: 9px;
}


/* =========================================================
   TRENDING
========================================================= */

.sw-trending {

    height: 34px;

    display: flex;

    align-items: center;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    background: #070c0a;
}

.sw-section-title {

    flex: 0 0 auto;

    padding: 0 13px;

    color: var(--green);

    font-size: 8px;

    font-weight: 700;
}

.sw-trending-track {

    display: flex;

    gap: 28px;

    white-space: nowrap;

    overflow: hidden;

    font-size: 7px;
}


/* =========================================================
   CATEGORY STRIP
========================================================= */

.sw-category-nav {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    margin-bottom: 145px;

    border-left:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}

.sw-category-nav a {

    min-height: 60px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    padding: 8px 10px;

    border-right:
        1px solid
        var(--border);

    background: #050907;
}

.sw-category-nav small {

    display: block;

    margin-bottom: 3px;

    color: #4f5b55;

    font-size: 6px;

    line-height: 1.1;
}

.sw-category-nav strong {

    display: block;

    font-size: 12px;

    font-weight: 900;
}

.sw-category-arrow {

    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #fff;

    border-radius: 50%;

    font-size: 9px;
}


/* =========================================================
   LOWER NEWS
========================================================= */

.sw-news-columns {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    margin-bottom: 65px;
}

.sw-heading {

    display: flex;

    justify-content: space-between;

    padding-bottom: 9px;

    border-bottom:
        1px solid
        var(--border);

    font-size: 13px;

    font-weight: 900;
}

.sw-heading a {

    color: var(--green);

    font-size: 7px;
}


/*
 * TEXT ONLY
 */

.sw-list-story {

    padding: 13px 0;

    border-bottom:
        1px solid
        #1b2420;
}

.sw-list-story small {

    display: block;

    margin-bottom: 5px;

    color: #9aa49f;

    font-size: 6px;
}

.sw-list-story h3 {

    max-width: 280px;

    margin: 0;

    font-size: 10px;

    line-height: 1.15;
}


/* =========================================================
   MUSIC
========================================================= */

.sw-music {

    margin-bottom: 55px;
}

.sw-section-header {

    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 12px;

    padding-bottom: 9px;

    border-bottom:
        1px solid
        var(--border);
}

.sw-section-header h2 {

    margin: 0;

    font-size: 18px;

    line-height: 1;
}

.sw-section-header a {

    color: var(--green);

    font-size: 7px;
}

.sw-music-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;
}

.sw-music-card {

    display: grid;

    grid-template-columns:
        58px 1fr;

    gap: 9px;

    padding: 8px;

    border:
        1px solid
        var(--border);

    background: var(--panel);
}

.sw-music-art {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #111815;

    color: var(--green);

    font-size: 20px;
}

.sw-music-card small {

    color: var(--green);

    font-size: 6px;

    font-weight: 700;
}

.sw-music-card h3 {

    margin: 4px 0;

    font-size: 9px;
}

.sw-music-card p {

    margin: 0;

    color: var(--muted);

    font-size: 6px;

    line-height: 1.35;
}


/* =========================================================
   LIVE DATA
========================================================= */

.sw-live-data {
    margin-top: 30px;
}

.sw-live-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 8px;
}

.sw-live-card {

    min-height: 80px;

    padding: 10px;

    border:
        1px solid
        var(--border);

    background: var(--panel);
}

.sw-live-card span {

    display: block;

    color: var(--green);

    font-size: 6px;

    font-weight: 700;
}

.sw-live-card strong {

    display: block;

    margin-top: 8px;

    font-size: 13px;
}

.sw-live-card p {

    margin: 4px 0 0;

    color: var(--muted);

    font-size: 7px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .sw-hero {

        grid-template-columns:
            1fr 1.5fr;
    }

    .sw-intro {

        grid-column:
            1 / -1;

        min-height: 180px;
    }

    .sw-news-columns {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .sw-news-column:last-child {

        grid-column:
            1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .saywetin-page {

        padding:
            0
            14px
            45px;
    }

    .sw-hero {

        grid-template-columns: 1fr;

        padding-top: 30px;
    }

    .sw-intro {

        grid-column: auto;

        min-height: 190px;
    }

    .sw-featured {

        height: 340px;
    }

    .sw-story-grid {

        height: 310px;
    }

    .sw-category-nav {

        grid-template-columns:
            repeat(3, 1fr);

        margin-bottom: 70px;
    }

    .sw-news-columns {

        grid-template-columns: 1fr;
    }

    .sw-music-grid {

        grid-template-columns: 1fr;
    }

    .sw-live-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }
}