

/* =========================================================
   SIERRALOADED HOMEPAGE
   ========================================================= */

.sl-homepage {
    padding-bottom: 70px;
}

.sl-home-section {
    padding: 42px 0;
}

.sl-home-intro {
    padding-bottom: 18px;
}

.sl-homepage .sl-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.sl-homepage .sl-section-head h2 {
    margin: 0;
}

.sl-homepage .sl-section-head > a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}


/* =========================================================
   FEATURED NEWS
   ========================================================= */

.sl-featured-news-card {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
    background: #111;
    border-radius: 14px;
    overflow: hidden;
}

.sl-featured-news-image {
    display: block;
    min-height: 420px;
    overflow: hidden;
}

.sl-featured-news-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.sl-featured-news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
}

.sl-featured-news-content .sl-kicker {
    margin-bottom: 10px;
}

.sl-featured-news-content h1 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.08;
}

.sl-featured-news-content h1 a {
    color: #fff;
    text-decoration: none;
}

.sl-featured-news-content p {
    margin: 0 0 20px;
    color: rgba(255,255,255,.78);
    line-height: 1.65;
}

.sl-featured-news-content .sl-meta {
    color: rgba(255,255,255,.6);
}


/* =========================================================
   HOME LAYOUT
   ========================================================= */

.sl-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 38px;
    align-items: start;
}

.sl-home-main {
    min-width: 0;
}

.sl-home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* =========================================================
   FEATURED MUSIC / VIDEO
   ========================================================= */

.sl-featured-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.sl-featured-media-card {
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.sl-featured-media-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.sl-featured-media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.sl-featured-media-image:hover img {
    transform: scale(1.03);
}

.sl-featured-media-content {
    padding: 22px;
}

.sl-media-label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.sl-featured-media-card h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.sl-featured-media-card h3 a {
    color: #fff;
    text-decoration: none;
}

.sl-featured-media-card p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.65);
}

.sl-media-play {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,.78);
    color: #fff;
    font-size: 16px;
}


/* =========================================================
   LATEST MUSIC / VIDEO
   ========================================================= */

.sl-home-media-section {
    border-top: 1px solid #eee;
}

.sl-home-media-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sl-home-media-cards .sl-media-card {
    min-width: 0;
}

.sl-home-media-cards .sl-media-card__image {
    aspect-ratio: 16 / 9;
}


/* =========================================================
   POPULAR
   ========================================================= */

.sl-popular-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sl-popular-card {
    display: grid;
    grid-template-columns: 32px 120px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
}

.sl-popular-number {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}

.sl-popular-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 7px;
}

.sl-popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-popular-content {
    min-width: 0;
}

.sl-popular-content h3 {
    margin: 5px 0 7px;
    font-size: 16px;
    line-height: 1.3;
}

.sl-popular-content h3 a {
    text-decoration: none;
}

.sl-popular-comments {
    font-size: 12px;
    opacity: .65;
}


/* =========================================================
   NEWS BY CATEGORY
   ========================================================= */

.sl-home-categories {
    border-top: 1px solid #eee;
}

.sl-category-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.sl-category-home-block {
    min-width: 0;
}

.sl-category-home-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
    padding-bottom: 9px;
    border-bottom: 2px solid #111;
}

.sl-category-home-head h2 {
    margin: 0;
    font-size: 19px;
}

.sl-category-home-head a {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.sl-category-home-posts {
    display: grid;
    gap: 13px;
}

.sl-category-home-post {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e8e8e8;
}

.sl-category-home-post:last-child {
    border-bottom: 0;
}

.sl-category-home-image {
    display: block;
    height: 68px;
    overflow: hidden;
    border-radius: 6px;
}

.sl-category-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-category-home-post h3 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.3;
}

.sl-category-home-post h3 a {
    text-decoration: none;
}

.sl-category-home-post span {
    font-size: 11px;
    opacity: .6;
}


/* =========================================================
   SIDEBAR MEDIA WIDGETS
   ========================================================= */

.sl-sidebar-media-widget {
    margin-top: 12px;
}

.sl-sidebar-media-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}

.sl-sidebar-media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-sidebar-media-widget h3 {
    margin: 10px 0 4px;
    font-size: 16px;
    line-height: 1.35;
}

.sl-sidebar-media-widget h3 a {
    text-decoration: none;
}

.sl-sidebar-media-widget p {
    margin: 0;
    font-size: 13px;
    opacity: .65;
}


/* =========================================================
   AD SLOTS
   ========================================================= */

.sl-ad {
    width: 100%;
    overflow: hidden;
}

.sl-ad img,
.sl-ad iframe {
    max-width: 100%;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .sl-home-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 25px;
    }

    .sl-category-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .sl-featured-news-card {
        grid-template-columns: 1fr;
    }

    .sl-featured-news-image,
    .sl-featured-news-image img {
        min-height: 0;
        height: auto;
    }

    .sl-featured-news-content {
        padding: 28px;
    }

    .sl-home-layout {
        grid-template-columns: 1fr;
    }

    .sl-featured-media-grid {
        grid-template-columns: 1fr;
    }

    .sl-home-media-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 640px) {

    .sl-home-section {
        padding: 30px 0;
    }

    .sl-homepage .sl-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .sl-featured-news-content {
        padding: 22px;
    }

    .sl-featured-news-content h1 {
        font-size: 29px;
    }

    .sl-home-news-grid {
        grid-template-columns: 1fr;
    }

    .sl-home-media-cards {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .sl-featured-media-content {
        padding: 16px;
    }

    .sl-featured-media-card h3 {
        font-size: 18px;
    }

    .sl-popular-grid {
        grid-template-columns: 1fr;
    }

    .sl-popular-card {
        grid-template-columns: 30px 100px minmax(0, 1fr);
        gap: 10px;
    }

    .sl-category-home-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 480px) {

    .sl-home-media-cards {
        grid-template-columns: 1fr;
    }

    .sl-popular-card {
        grid-template-columns: 28px 90px minmax(0, 1fr);
    }

}


/* =========================================================
   WAYBACK-INSPIRED SIERRALOADED HOMEPAGE
   ========================================================= */

.sl-homepage {
    padding-bottom: 60px;
}


/* =========================================================
   ADS
   ========================================================= */

.sl-home-top-ad {
    padding: 12px 0 18px;
}

.sl-home-inline-ad {
    padding: 18px 0;
}

.sl-home-top-ad .sl-ad,
.sl-home-inline-ad .sl-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
}


/* =========================================================
   BREAKING NEWS
   ========================================================= */

.sl-home-breaking {
    padding-bottom: 18px;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.sl-home-block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e5e5e5;
}

.sl-home-block-title > span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: #e30613;
}

.sl-home-block-title h2 {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.sl-home-block-title a {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.sl-home-block-title--large {
    margin-bottom: 18px;
}

.sl-home-block-title--large h2 {
    font-size: 19px;
}


/* =========================================================
   HERO AREA
   ========================================================= */

.sl-home-hero-area {
    padding: 10px 0 28px;
}

.sl-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .9fr) minmax(210px, .7fr);
    gap: 22px;
    align-items: start;
}


/* FEATURED STORY */

.sl-home-featured-story {
    min-width: 0;
}

.sl-home-featured-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee;
}

.sl-home-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-home-featured-content {
    padding-top: 9px;
}

.sl-home-featured-content h1 {
    margin: 4px 0 7px;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.08;
}

.sl-home-featured-content h1 a {
    text-decoration: none;
}

.sl-home-featured-content p {
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.45;
    color: #666;
}

.sl-home-date {
    display: block;
    font-size: 10px;
    color: #777;
}


/* =========================================================
   LATEST NEWS
   ========================================================= */

.sl-home-latest-list {
    display: grid;
    gap: 0;
}

.sl-home-latest-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    padding: 0 0 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sl-home-latest-item:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.sl-home-latest-image {
    display: block;
    height: 58px;
    overflow: hidden;
    background: #eee;
}

.sl-home-latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-home-latest-item h3 {
    margin: 0 0 5px;
    font-size: 13px;
    line-height: 1.28;
}

.sl-home-latest-item h3 a {
    text-decoration: none;
}

.sl-home-latest-item span {
    font-size: 10px;
    color: #777;
}


/* =========================================================
   LATEST VIDEO / MUSIC MINI BLOCKS
   ========================================================= */

.sl-home-media-column {
    display: grid;
    gap: 22px;
}

.sl-home-mini-media {
    min-width: 0;
}

.sl-home-mini-story {
    position: relative;
    margin-bottom: 13px;
}

.sl-home-mini-story:last-child {
    margin-bottom: 0;
}

.sl-home-mini-story > a {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
}

.sl-home-mini-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-home-mini-story h3 {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.3;
}

.sl-home-mini-story h3 a {
    text-decoration: none;
}

/* .sl-home-play now lives solely in homepage.css to avoid two
   conflicting definitions fighting over cascade order. */


/* =========================================================
   FEATURED MUSIC / FEATURED VIDEO
   ========================================================= */

.sl-home-section {
    padding: 30px 0;
}

.sl-home-two-column-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.sl-home-featured-media {
    min-width: 0;
}

.sl-home-featured-media-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
}

.sl-home-featured-media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-home-featured-media > h3 {
    margin: 8px 0 4px;
    font-size: 19px;
    line-height: 1.25;
}

.sl-home-featured-media > h3 a {
    text-decoration: none;
}

.sl-home-featured-media > p {
    margin: 0;
    font-size: 12px;
    color: #777;
}


/* =========================================================
   RECOMMENDED
   ========================================================= */

.sl-home-recommended {
    border-top: 1px solid #eee;
}

.sl-home-recommended-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sl-home-recommended-card {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}

.sl-home-recommended-image {
    display: block;
    height: 82px;
    overflow: hidden;
    background: #eee;
}

.sl-home-recommended-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-home-recommended-card h3 {
    margin: 4px 0 5px;
    font-size: 13px;
    line-height: 1.3;
}

.sl-home-recommended-card h3 a {
    text-decoration: none;
}


/* =========================================================
   LATEST MUSIC / LATEST VIDEO SLIDERS
   ========================================================= */

.sl-home-slider-section {
    border-top: 1px solid #eee;
}

.sl-home-media-slider {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.sl-home-slider-card {
    min-width: 0;
}

.sl-home-slider-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee;
}

.sl-home-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-home-slider-card h3 {
    margin: 7px 0 4px;
    font-size: 13px;
    line-height: 1.3;
}

.sl-home-slider-card h3 a {
    text-decoration: none;
}

.sl-home-slider-card p {
    margin: 0;
    font-size: 11px;
    color: #777;
}


/* =========================================================
   POPULAR
   ========================================================= */

.sl-home-popular-section {
    border-top: 1px solid #eee;
}

.sl-home-popular-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.sl-home-popular-card {
    display: grid;
    grid-template-columns: 25px 70px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 9px;
    border: 1px solid #e7e7e7;
}

.sl-home-popular-card > strong {
    font-size: 18px;
    text-align: center;
}

.sl-home-popular-card > a {
    display: block;
    height: 52px;
    overflow: hidden;
}

.sl-home-popular-card > a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-home-popular-card h3 {
    margin: 0 0 4px;
    font-size: 11px;
    line-height: 1.25;
}

.sl-home-popular-card h3 a {
    text-decoration: none;
}

.sl-home-popular-card span {
    font-size: 9px;
    color: #777;
}


/* =========================================================
   CATEGORY GRID
   ========================================================= */

.sl-home-categories {
    border-top: 1px solid #eee;
}

.sl-category-home-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
}

.sl-category-home-block {
    min-width: 0;
}

.sl-category-home-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 7px;
    border-bottom: 2px solid #222;
}

.sl-category-home-head h2 {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
}

.sl-category-home-head a {
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
}

.sl-category-home-posts {
    display: grid;
    gap: 10px;
}

.sl-category-home-post {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 9px;
    padding-bottom: 9px;
    border-bottom: 1px solid #eee;
}

.sl-category-home-post:last-child {
    border-bottom: 0;
}

.sl-category-home-image {
    display: block;
    height: 56px;
    overflow: hidden;
    background: #eee;
}

.sl-category-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-category-home-post h3 {
    margin: 0 0 4px;
    font-size: 11px;
    line-height: 1.28;
}

.sl-category-home-post h3 a {
    text-decoration: none;
}

.sl-category-home-post span {
    font-size: 9px;
    color: #777;
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .sl-home-hero-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(240px, .9fr);
    }

    .sl-home-media-column {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sl-home-popular-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sl-category-home-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 800px) {

    .sl-home-hero-grid {
        grid-template-columns: 1fr;
    }

    .sl-home-media-column {
        grid-column: auto;
    }

    .sl-home-two-column-media {
        grid-template-columns: 1fr;
    }

    .sl-home-media-slider {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sl-home-recommended-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sl-home-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sl-category-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .sl-home-section {
        padding: 24px 0;
    }

    .sl-home-featured-content h1 {
        font-size: 27px;
    }

    .sl-home-media-column {
        grid-template-columns: 1fr;
    }

    .sl-home-media-slider {
        display: flex;
        overflow-x: auto;
        gap: 13px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    .sl-home-slider-card {
        flex: 0 0 72%;
        scroll-snap-align: start;
    }

    .sl-home-recommended-grid {
        grid-template-columns: 1fr;
    }

    .sl-home-popular-grid {
        grid-template-columns: 1fr;
    }

    .sl-category-home-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 420px) {

    .sl-home-latest-item {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .sl-home-latest-image {
        height: 54px;
    }

    .sl-home-slider-card {
        flex-basis: 82%;
    }

}


/* =========================================================
   CUSTOMIZER / DESKTOP PREVIEW OVERRIDE
   Keep the homepage portal layout intact on desktop.
   WordPress Customizer can make the preview iframe narrower
   than the actual desktop browser viewport.
   ========================================================= */

@media (min-width: 782px) {

    .sl-home-hero-grid {
        grid-template-columns:
            minmax(0, 1.55fr)
            minmax(220px, .85fr)
            minmax(190px, .65fr);
        gap: 18px;
    }

    .sl-home-media-column {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .sl-home-two-column-media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sl-home-media-slider {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .sl-home-popular-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .sl-category-home-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sl-home-recommended-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   ACTUAL SMALL SCREENS
   ========================================================= */

@media (max-width: 781px) {

    .sl-home-hero-grid {
        grid-template-columns: 1fr;
    }

    .sl-home-media-column {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .sl-home-two-column-media {
        grid-template-columns: 1fr;
    }

    .sl-home-media-slider {
        display: flex;
        overflow-x: auto;
        gap: 14px;
    }

    .sl-home-slider-card {
        flex: 0 0 72%;
    }

    .sl-home-popular-grid {
        grid-template-columns: 1fr;
    }

    .sl-category-home-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sl-home-recommended-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 520px) {

    .sl-home-hero-grid {
        grid-template-columns: 1fr;
    }

    .sl-home-media-column {
        grid-template-columns: 1fr;
    }

    .sl-home-media-slider {
        display: flex;
    }

    .sl-home-slider-card {
        flex: 0 0 82%;
    }

    .sl-category-home-grid {
        grid-template-columns: 1fr;
    }

    .sl-home-recommended-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   HOMEPAGE SIDEBAR
   ========================================================= */

.sl-home-sidebar-wrap {
    min-width: 0;
    width: 100%;
}

.sl-home-sidebar-wrap .sl-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sl-home-sidebar-wrap .sl-sidebar-widget {
    width: 100%;
    min-width: 0;
}

.sl-sidebar-widget-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 2px solid #0b63ce;
}

.sl-sidebar-widget-heading span {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

.sl-sidebar-media {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.sl-sidebar-media-image {
    display: block;
    width: 92px;
    height: 72px;
    overflow: hidden;
    border-radius: 6px;
    background: #f1f3f5;
}

.sl-sidebar-media-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-sidebar-media-content {
    min-width: 0;
}

.sl-sidebar-media-content h3 {
    margin: 2px 0 5px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 750;
}

.sl-sidebar-media-content h3 a {
    color: #111827;
    text-decoration: none;
}

.sl-sidebar-media-content h3 a:hover {
    color: #0b63ce;
}

.sl-sidebar-media-meta,
.sl-sidebar-media-date {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    color: #7a8491;
}

.sl-sidebar-media-meta {
    color: #0b63ce;
    font-weight: 700;
    margin-bottom: 2px;
}

.sl-home-sidebar-wrap .sl-ad {
    width: 100%;
    overflow: hidden;
}

.sl-home-sidebar-wrap .sl-ad img,
.sl-home-sidebar-wrap .sl-ad iframe {
    max-width: 100%;
}

@media (max-width: 767px) {

    .sl-home-sidebar-wrap {
        margin-top: 10px;
    }

    .sl-sidebar-media {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .sl-sidebar-media-image {
        width: 100px;
        height: 76px;
    }

}


/* =========================================================
   HOMEPAGE TOP GRID - PREVENT COLUMN STRETCHING
   ========================================================= */

.sl-home-hero-grid {
    align-items: start;
}

.sl-home-hero-grid > * {
    align-self: start;
}

.sl-home-featured-column,
.sl-home-latest-column,
.sl-home-sidebar-wrap {
    align-self: start;
    height: auto;
}

.sl-home-sidebar-wrap .sl-sidebar {
    height: auto;
}


/* =========================================================
   FINAL HOMEPAGE CONTAINERS
   ========================================================= */

/* Featured Story */
.sl-home-featured-column {
    min-width: 0;
}

.sl-home-featured-column > article,
.sl-home-featured-column .sl-home-featured-story {
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}


/* Music of the Week + Video of the Week */
.sl-home-sidebar-wrap .sl-sidebar-music,
.sl-home-sidebar-wrap .sl-sidebar-video {
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}


/* =========================================================
   POPULAR VIDEOS + TOP SONGS
   ========================================================= */

.sl-home-popular-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.sl-home-popular-box {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.sl-home-popular-box .sl-home-block-title {
    margin-bottom: 14px;
}

.sl-home-popular-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sl-home-popular-card {
    display: grid;
    grid-template-columns: 28px 82px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf0f3;
}

.sl-home-popular-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.sl-home-popular-card > strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0b63ce;
    font-size: 13px;
    font-weight: 800;
}

.sl-home-popular-image {
    display: block;
    width: 82px;
    height: 62px;
    overflow: hidden;
    border-radius: 6px;
    background: #f1f3f5;
}

.sl-home-popular-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-home-popular-content {
    min-width: 0;
}

.sl-home-popular-content h3 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 750;
}

.sl-home-popular-content h3 a {
    color: #111827;
    text-decoration: none;
}

.sl-home-popular-content h3 a:hover {
    color: #0b63ce;
}

.sl-home-popular-content > span {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    color: #7a8491;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .sl-home-popular-columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sl-home-popular-box {
        padding: 14px;
    }

    .sl-home-popular-card {
        grid-template-columns: 28px 90px minmax(0, 1fr);
    }

    .sl-home-popular-image {
        width: 90px;
        height: 68px;
    }

}

