/*
 * MANADO.NEWS — WAKTU-STYLE HOMEPAGE ADAPTER V1
 * Waktu.news premium homepage selectors + Manado.news brand accents.
 */

.wnhr-home {
    --wnhr-coral: #0096d6;
    --wnhr-orange: #0ea5e9;
    --wnhr-navy: #12314f;
    --wnhr-navy-deep: #0b1220;
    --wnhr-indigo: #006fa8;
    --wnhr-blue-soft: #e9f6fd;
    --wnhr-ink: #0b1220;
    --wnhr-muted: #65758b;
}

.wnhr-home .wnhr-lead-media img,
.wnhr-home .wnhr-latest-media img,
.wnhr-home .wnps-popular-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wnhr-home .wnhr-lead-media img {
    position: absolute;
    inset: 0;
}

.wnhr-home .wnhr-stream-item-copy small {
    display: inline-block;
    margin-top: 7px;
    font-size: 10px;
    font-weight: 700;
    color: #718096;
}

.wn-mn-live,
.wn-mn-rubric,
.wn-mn-regions {
    margin-top: 28px;
}

.wn-mn-live {
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid rgba(0, 150, 214, .18);
    border-radius: 22px;
    background: linear-gradient(125deg, #f1faff 0%, #fff 68%);
    box-shadow: 0 12px 30px rgba(12, 31, 61, .06);
}

.wn-mn-live-head,
.wn-mn-rubric-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}

.wn-mn-live-head h2,
.wn-mn-rubric-head h2 {
    margin: 3px 0 0;
    font-size: clamp(21px, 2.8vw, 29px);
    line-height: 1.17;
    letter-spacing: -.035em;
    font-weight: 900;
    color: #12314f;
}

.wn-mn-live-head > a,
.wn-mn-rubric-head > a {
    flex-shrink: 0;
    color: #007fba;
    font-size: 11px;
    font-weight: 900;
}

.wn-mn-live-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.wn-mn-live-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 17px;
    border: 1px solid rgba(11, 18, 32, .09);
    border-radius: 17px;
    background: #fff;
    transition: transform .2s, box-shadow .2s;
}

.wn-mn-live-item:hover,
.wn-mn-rubric-story:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(11, 18, 32, .10);
}

.wn-mn-live-item strong {
    font-size: 13px;
    font-weight: 850;
    line-height: 1.5;
    color: #15213f;
}

.wn-mn-live-item small {
    font-size: 10px;
    color: #64748b;
}

.wn-mn-live-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    color: #d71920;
}

.wn-mn-live-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d71920;
    box-shadow: 0 0 0 4px rgba(215, 25, 32, .10);
}

.wn-mn-newsroom-card,
.wn-mn-stream-side {
    padding: 18px;
    border: 1px solid rgba(21, 33, 63, .09);
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(19, 31, 60, .07);
}

.wn-mn-newsroom-card {
    margin-top: 16px;
}

.wn-mn-newsroom-card h3,
.wn-mn-side-title h3 {
    margin: 4px 0 12px;
    font-size: 17px;
    font-weight: 900;
    color: #12314f;
}

.wn-mn-newsroom-card > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    border-top: 1px solid #e8edf2;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    color: #253147;
}

.wn-mn-newsroom-card > a span {
    color: #0096d6;
}

.wn-mn-stream-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.wn-mn-side-story {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px 0;
    border-top: 1px solid #edf0f4;
}

.wn-mn-side-story img {
    width: 78px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 11px;
    object-fit: cover;
}

.wn-mn-side-story span {
    min-width: 0;
}

.wn-mn-side-story small,
.wn-mn-rubric-copy > span {
    display: block;
    color: #0096d6;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.wn-mn-side-story strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-top: 4px;
    color: #14213b;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 800;
}

.wn-mn-rubric {
    padding-top: 20px;
    border-top: 1px solid #e7edf4;
}

.wn-mn-rubric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.wn-mn-rubric-story {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e7edf2;
    border-radius: 18px;
    background: #fff;
    transition: transform .2s, box-shadow .2s;
}

.wn-mn-rubric-media {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e7f5fc;
}

.wn-mn-rubric-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.wn-mn-rubric-story:hover img {
    transform: scale(1.035);
}

.wn-mn-rubric-copy {
    padding: 13px;
}

.wn-mn-rubric-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    min-height: 58px;
    margin: 5px 0 9px;
    color: #15213f;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.5;
}

.wn-mn-rubric-copy small {
    color: #6f7a8b;
    font-size: 10px;
}

.wn-mn-region-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.wn-mn-region-chips a {
    padding: 9px 13px;
    border: 1px solid #dce8f0;
    border-radius: 999px;
    background: #fff;
    color: #22516e;
    font-size: 10px;
    font-weight: 800;
}

.wn-mn-region-chips a:hover {
    border-color: #0096d6;
    color: #007fb4;
}

.wn-mn-public-services {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.wn-mn-public-services .mn-container {
    max-width: 100%;
}

.wn-mn-sponsor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-top: 28px;
    padding: 20px;
    border: 1px solid #dbe8f2;
    border-radius: 22px;
    background: linear-gradient(125deg, #f1faff, #fff);
}

.wn-mn-sponsor h2 {
    margin: 5px 0 0;
    font-size: 20px;
    font-weight: 900;
    color: #12314f;
}

.wn-mn-sponsor > a {
    font-size: 11px;
    font-weight: 900;
    color: #007fba;
}

.wn-mn-sponsor-slot {
    grid-column: 1 / -1;
    min-width: 0;
}

.wn-mn-empty {
    margin: 0;
    padding: 15px;
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 900px) {
    .wn-mn-rubric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .wn-mn-sponsor {
        grid-template-columns: 1fr;
    }

    .wn-mn-live-grid {
        grid-template-columns: 1fr;
    }

    .wn-mn-live-head,
    .wn-mn-rubric-head {
        align-items: flex-start;
    }

    .wn-mn-rubric-grid {
        gap: 10px;
    }

    .wn-mn-rubric-copy {
        padding: 10px;
    }

    .wn-mn-rubric-copy h3 {
        font-size: 11px;
    }
}
