/* ================================================================
   HOME NEWS & MEDIA v2
   Compact list card aligned to Photo/Video/Reels/Wallpaper/Poster.
   ================================================================ */

.public-home-layout .news-media-section,
.public-home-layout .news-media-shell {
    min-width: 0;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.public-home-layout .news-media-card {
    overflow: hidden;
    border: 1px solid #dce3ea;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(20,35,52,.06);
    font-family: "Noto Sans Devanagari", "Nirmala UI", Inter, sans-serif;
}

.public-home-layout .news-media-card__header {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid #edf1f4;
    background: #fff;
}

.public-home-layout .news-media-card__header h2 {
    min-width: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #102342;
    font-family: "Noto Sans Devanagari", "Nirmala UI", Inter, sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.public-home-layout .news-media-card__header h2 i { color: #f2540a; font-size: 15px; }

.public-home-layout .news-media-card__header a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f2540a;
    font-family: "Noto Sans Devanagari", "Nirmala UI", Inter, sans-serif;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.public-home-layout .news-media-list {
    height: calc(100% - 50px);
    min-height: 0;
    padding: 5px 16px 8px;
    display: grid;
    grid-template-rows: repeat(4, minmax(0,1fr));
}

.public-home-layout .news-media-list__item {
    min-height: 0;
    display: grid;
    grid-template-columns: 62px minmax(0,1fr);
    gap: 10px;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #edf0f3;
}

.public-home-layout .news-media-list__item:last-child { border-bottom: 0; }

.public-home-layout .news-media-list__image {
    display: block;
    width: 62px;
    height: 50px;
    overflow: hidden;
    border-radius: 6px;
    background: #e8edf2;
}

.public-home-layout .news-media-list__image img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }

.public-home-layout .news-media-list__title {
    display: -webkit-box;
    overflow: hidden;
    color: #102342;
    font-family: "Noto Sans Devanagari", "Nirmala UI", Inter, sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.27;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.public-home-layout .news-media-list__title:hover { color: #f2540a; }
.public-home-layout .news-media-list time { display:block; margin-top:3px; color:#7c8791; font-family:Inter,Arial,sans-serif; font-size:9px; font-weight:600; line-height:1.1; }
.public-home-layout .news-media-card__empty { height:calc(100% - 50px); display:grid; place-items:center; padding:16px; color:#718078; font-size:12px; text-align:center; }

@media (max-width: 1365.98px) {
    .public-home-layout .news-media-card__header { height:48px; padding-inline:13px; }
    .public-home-layout .news-media-card__header h2 { font-size:15.5px; }
    .public-home-layout .news-media-list { height:calc(100% - 48px); padding-inline:13px; }
    .public-home-layout .news-media-list__item { grid-template-columns:56px minmax(0,1fr); gap:8px; }
    .public-home-layout .news-media-list__image { width:56px; height:46px; }
    .public-home-layout .news-media-list__title { font-size:11px; }
}

@media (max-width: 767.98px) {
    body.public-home-layout .campaign-home-page .news-media-card {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        border-radius: 11px;
    }

    body.public-home-layout .campaign-home-page .news-media-card__header {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: 48px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 12px !important;
    }

    body.public-home-layout .campaign-home-page .news-media-card__header h2 {
        display: inline-flex !important;
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        font-size: 14px !important;
        white-space: nowrap;
    }

    body.public-home-layout .campaign-home-page .news-media-card__header > a {
        position: static !important;
        inset: auto !important;
        flex: 0 0 auto !important;
        min-width: 70px !important;
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 9px !important;
        font-size: 10px !important;
        transform: none !important;
    }

    body.public-home-layout .campaign-home-page .news-media-list {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        padding: 5px 12px 8px !important;
    }

    body.public-home-layout .campaign-home-page .news-media-list__item {
        width: 100% !important;
        grid-template-columns: 58px minmax(0, 1fr) !important;
        gap: 9px !important;
        padding: 7px 0 !important;
    }

    body.public-home-layout .campaign-home-page .news-media-list__image {
        width: 58px !important;
        height: 48px !important;
    }

    body.public-home-layout .campaign-home-page .news-media-list__title {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
}


/* ================================================================
   v8 - NEWS CTA = VIDEO CTA
   ================================================================ */
body.public-home-layout .campaign-home-page .news-media-card .news-media-card__header > a {

    min-width: 82px !important;
    height: 32px !important;
    min-height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 11px !important;
    border: 0 !important;
    border-radius: 7px !important;
    color: #ffffff !important;
    background: #f4510b !important;
    background-color: #f4510b !important;
    background-image: none !important;
    box-shadow: none !important;
    font-family: "Noto Sans Devanagari","Nirmala UI",Inter,sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;

}
body.public-home-layout .campaign-home-page .news-media-card .news-media-card__header > a i {
    color: #ffffff !important;
    font-size: 10px !important;
}
body.public-home-layout .campaign-home-page .news-media-card .news-media-card__header > a:hover,
body.public-home-layout .campaign-home-page .news-media-card .news-media-card__header > a:focus {

    color: #ffffff !important;
    background: #dc4305 !important;
    background-color: #dc4305 !important;
    text-decoration: none !important;
    transform: translateY(-1px);

}

/* Final mobile authority: keep CTA inside the full-width header row. */
@media (max-width: 767.98px) {
    body.public-home-layout .campaign-home-page .news-media-card .news-media-card__header > a {
        position: static !important;
        inset: auto !important;
        min-width: 70px !important;
        width: auto !important;
        height: 30px !important;
        min-height: 30px !important;
        margin: 0 !important;
        padding: 0 9px !important;
        font-size: 10px !important;
        transform: none !important;
    }
}
