/*
|--------------------------------------------------------------------------
| Tabloid Narasi - Layout gaya portal berita ringkas
|--------------------------------------------------------------------------
| CSS lama tetap dimuat. File ini hanya mengatur ulang posisi, ukuran,
| warna, dan responsivitas komponen dengan prefix .tn-.
|--------------------------------------------------------------------------
*/

:root {
    --tn-green: #159457;
    --tn-green-dark: #0f7b48;
    --tn-red: #ef3f45;
    --tn-navy: #071523;
    --tn-black: #202020;
    --tn-muted: #9a9a9a;
    --tn-line: #dedede;
    --tn-soft: #f6f6f6;
    --tn-white: #ffffff;
    --tn-container: 1060px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.tn-body {
    margin: 0 !important;
    background: #fff !important;
    color: var(--tn-black) !important;
    font-family: "Acumin Pro", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

body.tn-no-scroll {
    overflow: hidden;
}

.tn-body a {
    color: inherit;
    text-decoration: none !important;
}

.tn-body a:hover,
.tn-body a:focus {
    color: var(--tn-red);
    text-decoration: none !important;
}

.tn-body img {
    max-width: 100%;
}

.tn-container {
    width: min(calc(100% - 30px), var(--tn-container));
    margin-right: auto;
    margin-left: auto;
}

.tn-main {
    min-height: 60vh;
}

/* Header */

.tn-header {
    border-top: 2px solid var(--tn-red);
    background: #fff;
}

.tn-headerbar {
    background: #fff;
}

.tn-headerbar__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.tn-brand {
    flex: 0 0 auto;
}

.tn-brand a {
    display: block;
}

.tn-brand img {
    width: auto;
    max-width: 225px;
    max-height: 54px;
    object-fit: contain;
}

.tn-brand span {
    color: var(--tn-green);
    font-size: 28px;
    font-weight: 800;
}

.tn-header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tn-search {
    display: flex;
    width: 250px;
    height: 30px;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 18px;
    background: #f6f6f6;
}

.tn-search input {
    width: 100%;
    min-width: 0;
    height: 28px;
    padding: 0 12px !important;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    color: #555;
    font-size: 12px !important;
    box-shadow: none !important;
}

.tn-search button {
    width: 36px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #444;
    cursor: pointer;
}

.tn-social-links {
    display: flex;
    gap: 7px;
}

.tn-social-links a {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    font-size: 12px;
}

.tn-social-links a:hover {
    background: var(--tn-green);
    color: #fff;
}

.tn-navbar {
    border-top: 1px solid #efefef;
    background: #fff;
}

.tn-navbar__inner {
    display: flex;
    min-height: 39px;
    align-items: center;
}

.tn-main-nav {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 6px;
}

.tn-main-nav > a,
.tn-nav-item > a {
    display: flex;
    min-height: 27px;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border-radius: 3px;
    background: #9b732a;
    color: #fff !important;
    text-transform: capitalize;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.tn-main-nav > a:hover,
.tn-main-nav > a.is-active,
.tn-nav-item:hover > a {
    background: #9b732a;
    color: #fff !important;
}

.tn-nav-item {
    position: relative;
}

.tn-dropdown {
    position: absolute;
    z-index: 100;
    top: calc(100% + 3px);
    left: 0;
    display: none;
    min-width: 210px;
    padding: 5px 0;
    border-top: 3px solid var(--tn-green);
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.tn-nav-item:hover .tn-dropdown {
    display: block;
}

.tn-dropdown a {
    display: block;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 12px;
}

.tn-breaking {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #e6e6e6;
    background: #fafafa;
}

.tn-breaking__inner {
    display: flex;
    min-height: 31px;
    align-items: center;
    overflow: hidden;
}

.tn-breaking__label {
    display: flex;
    min-height: 23px;
    flex: 0 0 auto;
    align-items: center;
    margin-right: 14px;
    padding: 0 11px;
    background: var(--tn-red);
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
}

.tn-breaking__items {
    display: flex;
    min-width: 0;
    gap: 35px;
    overflow: hidden;
    white-space: nowrap;
}

.tn-breaking__items a {
    position: relative;
    color: #666;
    font-size: 10px;
}

.tn-breaking__items a + a::before {
    position: absolute;
    top: 50%;
    left: -19px;
    color: var(--tn-green);
    content: "•";
    transform: translateY(-50%);
}

/* Home */

.tn-home {
    padding: 14px 0 42px;
}

.tn-ad {
    overflow: hidden;
    text-align: center;
}

.tn-ad img {
    width: auto;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.tn-ad--top {
    margin-bottom: 10px;
}

.tn-ad--top img {
    max-height: 100px;
}

.tn-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.06fr) minmax(280px, .94fr);
    gap: 14px;
    align-items: start;
}

.tn-featured {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 4px;
    background: #222;
}

.tn-featured__media {
    position: absolute;
    inset: 0;
}

.tn-featured__image,
.tn-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tn-image-placeholder {
    display: grid;
    min-height: 130px;
    place-items: center;
    background: linear-gradient(135deg, #272727, #111);
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
}

.tn-featured__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .88) 0%,
            rgba(0, 0, 0, .18) 62%,
            rgba(0, 0, 0, .02) 100%
        );
}

.tn-featured__content {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 22px 18px;
    color: #fff;
}

.tn-badge {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 3px;
    background: var(--tn-green);
    color: #fff !important;
    font-size: 9px;
    font-weight: 700;
}

.tn-featured h1 {
    max-width: 640px;
    margin: 6px 0 5px !important;
    color: #fff !important;
    font-family: "Acumin Pro Bold", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 27px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
}

.tn-featured h1 a {
    color: #fff !important;
}

.tn-featured h1 a:hover {
    opacity: .86;
}

.tn-featured__dots {
    position: absolute;
    z-index: 3;
    right: 14px;
    bottom: 12px;
    display: flex;
    gap: 5px;
}

.tn-featured__dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    opacity: .85;
}

.tn-featured__dots span.is-active {
    background: var(--tn-red);
}

.tn-meta {
    color: #aaa;
    font-size: 9px;
}

.tn-meta--light {
    color: rgba(255, 255, 255, .82);
}

.tn-dark-box {
    margin-top: 10px;
    padding: 12px;
    border-radius: 4px;
    background: var(--tn-navy);
    color: #fff;
}

.tn-dark-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}

.tn-dark-title h2 {
    margin: 0 !important;
    color: #fff !important;
    font-family: "Acumin Pro Bold", Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.tn-dark-title span {
    display: block;
    width: 90px;
    height: 2px;
    background: #12b36d;
}

.tn-main-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.tn-main-card__media {
    display: block;
    height: 116px;
    overflow: hidden;
    border-radius: 4px;
    background: #ddd;
}

.tn-main-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tn-main-card h3 {
    margin: 6px 0 0 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.32 !important;
}

.tn-main-card h3 a {
    color: #fff !important;
}

.tn-simple-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}

.tn-simple-title h2 {
    margin: 0 !important;
    color: #333 !important;
    font-family: "Acumin Pro Bold", Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.tn-simple-title span {
    display: block;
    width: 55px;
    height: 2px;
    background: var(--tn-green);
}

.tn-popular {
    padding: 8px 0 0;
}

.tn-popular-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    counter-reset: popular;
}

.tn-popular-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-height: 48px;
    padding: 8px 8px 8px 10px;
    background: #f5f5f5;
}

.tn-popular-list li:nth-child(even) {
    background: #fafafa;
}

.tn-popular-number {
    color: var(--tn-red);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.tn-popular-list h3 {
    margin: 0 !important;
    color: #333 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;
}

.tn-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.06fr) minmax(280px, .94fr);
    gap: 14px;
    align-items: start;
    margin-top: 12px;
}

.tn-simple-title--latest {
    margin-bottom: 3px;
}

.tn-latest-list {
    border-top: 1px solid #ddd;
}

.tn-latest-row {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 12px;
    min-height: 130px;
    padding: 9px 0;
    border-bottom: 1px solid #ddd;
}

.tn-latest-row__media {
    display: block;
    height: 112px;
    overflow: hidden;
    border-radius: 4px;
    background: #ddd;
}

.tn-latest-row__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tn-latest-row__content {
    align-self: center;
}

.tn-latest-category {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--tn-red) !important;
    font-size: 9px;
    font-weight: 700;
}

.tn-latest-row h3 {
    margin: 0 0 5px !important;
    color: #252525 !important;
    font-family: "Acumin Pro Bold", Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
}

.tn-editor-box {
    margin: 10px 0;
}

.tn-channel-column {
    min-width: 0;
}

.tn-ad--sidebar {
    margin-bottom: 13px;
}

.tn-channel-box {
    margin-bottom: 17px;
}

.tn-simple-title--channel {
    margin-bottom: 7px;
}

.tn-simple-title--channel h2 {
    font-size: 16px !important;
}

.tn-channel-lead__media {
    display: block;
    height: 155px;
    overflow: hidden;
    border-radius: 4px;
    background: #ddd;
}

.tn-channel-lead__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tn-channel-lead h3 {
    margin: 6px 0 3px !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.tn-channel-small {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.tn-channel-small__media {
    display: block;
    height: 60px;
    overflow: hidden;
    border-radius: 3px;
    background: #ddd;
}

.tn-channel-small__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tn-channel-small h3 {
    margin: 0 0 4px !important;
    color: #333 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.tn-more-wrap {
    padding: 14px 0;
    text-align: center;
}

.tn-more-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--tn-red);
    border-radius: 18px;
    color: var(--tn-red) !important;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 700;
}

.tn-more-button:hover {
    background: var(--tn-red);
    color: #fff !important;
}

.tn-ad--content {
    margin-top: 12px;
}

/* Legacy modules */

.tn-legacy-section {
    width: min(calc(100% - 30px), var(--tn-container));
    min-height: 500px;
    margin-right: auto;
    margin-left: auto;
    padding: 20px 0 40px;
}

.tn-legacy-section::after {
    display: table;
    clear: both;
    content: "";
}

.tn-empty-state {
    padding: 80px 15px;
    text-align: center;
}

/* Footer */

.tn-footer {
    border-top: 2px solid var(--tn-red);
    background: #f7f7f7;
}

.tn-footer__inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.tn-footer__brand img {
    width: auto;
    max-width: 220px;
    max-height: 52px;
    object-fit: contain;
}

.tn-footer__brand strong {
    color: var(--tn-green);
    font-size: 24px;
}

.tn-footer__right {
    text-align: right;
}

.tn-footer__menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 8px;
}

.tn-footer__menu a {
    color: #333;
    font-size: 10px;
    font-weight: 700;
}

.tn-footer__copyright {
    color: #999;
    font-size: 9px;
}

/* Mobile menu and back top */

.tn-menu-button {
    display: none;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--tn-green);
    font-size: 19px;
    cursor: pointer;
}

.tn-mobile-panel {
    position: fixed;
    z-index: 1002;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(86vw, 320px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    transform: translateX(-105%);
    transition: transform .25s ease;
}

.tn-mobile-panel.is-open {
    transform: translateX(0);
}

.tn-mobile-panel__header {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-bottom: 3px solid var(--tn-green);
}

.tn-icon-button {
    width: 35px;
    height: 35px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.tn-mobile-nav {
    display: grid;
}

.tn-mobile-nav a {
    padding: 11px 15px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.tn-mobile-nav__child {
    padding-left: 29px !important;
    background: #fafafa;
    font-weight: 500 !important;
}

.tn-mobile-overlay {
    position: fixed;
    z-index: 1001;
    inset: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.tn-mobile-overlay.is-open {
    visibility: visible;
    opacity: 1;
}

.tn-backtop {
    position: fixed;
    z-index: 70;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 34px;
    height: 34px;
    visibility: hidden;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #ef8f93;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
}

.tn-backtop.is-visible {
    visibility: visible;
    opacity: 1;
}

/* Responsive */

@media (max-width: 980px) {
    .tn-menu-button {
        display: block;
    }

    .tn-headerbar__inner {
        gap: 14px;
    }

    .tn-main-nav {
        display: none;
    }

    .tn-navbar {
        display: none;
    }

    .tn-top-grid,
    .tn-bottom-grid {
        grid-template-columns: minmax(0, 1.8fr) minmax(240px, .8fr);
    }

    .tn-latest-row {
        grid-template-columns: 175px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .tn-headerbar__inner {
        min-height: 62px;
    }

    .tn-brand img {
        max-width: 185px;
        max-height: 45px;
    }

    .tn-search {
        width: 200px;
    }

    .tn-social-links {
        display: none;
    }

    .tn-top-grid,
    .tn-bottom-grid {
        grid-template-columns: 1fr;
    }

    .tn-popular {
        order: 2;
    }

    .tn-channel-column {
        margin-top: 10px;
    }

    .tn-featured {
        min-height: 310px;
    }

    .tn-footer__inner {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
    }

    .tn-footer__right {
        text-align: center;
    }

    .tn-footer__menu {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .tn-container {
        width: min(calc(100% - 20px), var(--tn-container));
    }

    .tn-header-tools {
        flex: 1;
        justify-content: flex-end;
    }

    .tn-search {
        width: min(100%, 165px);
    }

    .tn-breaking__items {
        overflow-x: auto;
    }

    .tn-featured {
        min-height: 260px;
    }

    .tn-featured h1 {
        font-size: 21px !important;
    }

    .tn-main-cards {
        grid-template-columns: 1fr 1fr;
    }

    .tn-main-card:last-child {
        display: none;
    }

    .tn-main-card__media {
        height: 100px;
    }

    .tn-latest-row {
        grid-template-columns: 120px minmax(0, 1fr);
        min-height: 95px;
    }

    .tn-latest-row__media {
        height: 82px;
    }

    .tn-latest-row h3 {
        font-size: 13px !important;
    }

    .tn-channel-lead__media {
        height: 190px;
    }
}
/*
|--------------------------------------------------------------------------
| Revisi v3.0 - Tampilan lebih besar dan responsif otomatis
|--------------------------------------------------------------------------
*/

:root {
    --tn-container: 1180px;
}

html,
body.tn-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.tn-body {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.tn-site,
.tn-header,
.tn-main,
.tn-footer {
    width: 100%;
    min-width: 0;
}

.tn-container {
    width: min(calc(100% - 40px), var(--tn-container));
}

.tn-body img,
.tn-body video,
.tn-body iframe {
    max-width: 100%;
    height: auto;
}

.tn-headerbar__inner {
    min-height: 82px;
    gap: 32px;
}

.tn-brand img {
    max-width: 260px;
    max-height: 62px;
}

.tn-brand span {
    font-size: 31px;
}

.tn-search {
    width: 285px;
    height: 36px;
    border-radius: 20px;
}

.tn-search input {
    height: 34px;
    padding: 0 14px !important;
    font-size: 13px !important;
}

.tn-search button {
    width: 40px;
    height: 34px;
    font-size: 14px;
}

.tn-social-links a {
    width: 32px;
    height: 32px;
    font-size: 13px;
}

.tn-navbar__inner {
    min-height: 46px;
}

.tn-main-nav {
    flex-wrap: wrap;
    gap: 7px;
    padding: 7px 0;
}

.tn-main-nav > a,
.tn-nav-item > a {
    min-height: 32px;
    padding: 7px 15px;
    font-size: 13px;
}

.tn-dropdown {
    min-width: 225px;
}

.tn-dropdown a {
    padding: 10px 14px;
    font-size: 13px;
}

.tn-breaking__inner {
    min-height: 37px;
}

.tn-breaking__label {
    min-height: 27px;
    padding: 0 13px;
    font-size: 11px;
}

.tn-breaking__items a {
    font-size: 11px;
}

.tn-home {
    padding: 18px 0 50px;
}

.tn-ad--top img {
    max-height: 115px;
}

.tn-top-grid,
.tn-bottom-grid {
    grid-template-columns: minmax(0, 2.1fr) minmax(300px, .9fr);
    gap: 18px;
}

.tn-featured {
    min-height: 375px;
    border-radius: 6px;
}

.tn-featured__content {
    padding: 27px 23px;
}

.tn-featured h1 {
    max-width: 760px;
    font-size: clamp(26px, 2.7vw, 31px) !important;
    line-height: 1.15 !important;
}

.tn-badge {
    padding: 5px 9px;
    font-size: 10px;
}

.tn-meta {
    font-size: 10px;
}

.tn-dark-box {
    margin-top: 13px;
    padding: 15px;
}

.tn-dark-title h2 {
    font-size: 19px !important;
}

.tn-main-cards {
    gap: 12px;
}

.tn-main-card__media {
    height: 132px;
}

.tn-main-card h3 {
    margin-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.tn-simple-title h2 {
    font-size: 20px !important;
}

.tn-popular-list li {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 10px;
    min-height: 58px;
    padding: 10px 11px;
}

.tn-popular-number {
    font-size: 21px;
}

.tn-popular-list h3 {
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.tn-bottom-grid {
    margin-top: 17px;
}

.tn-latest-row {
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 16px;
    min-height: 148px;
    padding: 11px 0;
}

.tn-latest-row__media {
    height: 128px;
}

.tn-latest-category {
    font-size: 10px;
}

.tn-latest-row h3 {
    font-size: 18px !important;
    line-height: 1.28 !important;
}

.tn-channel-box {
    margin-bottom: 21px;
}

.tn-simple-title--channel h2 {
    font-size: 18px !important;
}

.tn-channel-lead__media {
    height: 178px;
}

.tn-channel-lead h3 {
    font-size: 16px !important;
    line-height: 1.3 !important;
}

.tn-channel-small {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
}

.tn-channel-small__media {
    height: 68px;
}

.tn-channel-small h3 {
    font-size: 12px !important;
    line-height: 1.3 !important;
}

.tn-more-button {
    padding: 9px 17px;
    font-size: 10px;
}

.tn-legacy-section {
    width: min(calc(100% - 40px), var(--tn-container));
    padding: 26px 0 50px;
}

.tn-footer__inner {
    min-height: 104px;
}

.tn-footer__brand img {
    max-width: 250px;
    max-height: 60px;
}

.tn-footer__menu a {
    font-size: 11px;
}

.tn-footer__copyright {
    font-size: 10px;
}

.tn-mobile-nav a {
    padding: 13px 17px;
    font-size: 14px;
}

.tn-backtop {
    width: 40px;
    height: 40px;
    font-size: 17px;
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1080px) {
    .tn-container,
    .tn-legacy-section {
        width: min(calc(100% - 32px), var(--tn-container));
    }

    .tn-menu-button {
        display: block;
        flex: 0 0 auto;
    }

    .tn-main-nav,
    .tn-navbar {
        display: none;
    }

    .tn-headerbar__inner {
        gap: 16px;
    }

    .tn-top-grid,
    .tn-bottom-grid {
        grid-template-columns: minmax(0, 1.75fr) minmax(260px, .85fr);
    }

    .tn-latest-row {
        grid-template-columns: 190px minmax(0, 1fr);
    }
}

/*
|--------------------------------------------------------------------------
| Tablet kecil dan mobile landscape
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {
    body.tn-body {
        font-size: 14px !important;
    }

    .tn-container,
    .tn-legacy-section {
        width: min(calc(100% - 24px), var(--tn-container));
    }

    .tn-headerbar__inner {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        min-height: auto;
        gap: 9px 10px;
        padding: 10px 0;
    }

    .tn-menu-button {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    .tn-brand {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        justify-self: center;
    }

    .tn-brand a {
        display: flex;
        justify-content: center;
    }

    .tn-brand img {
        max-width: min(100%, 215px);
        max-height: 52px;
    }

    .tn-brand span {
        font-size: 26px;
    }

    .tn-header-tools {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
    }

    .tn-search {
        width: 100%;
        height: 40px;
    }

    .tn-search input {
        height: 38px;
        font-size: 14px !important;
    }

    .tn-search button {
        height: 38px;
    }

    .tn-social-links {
        display: none;
    }

    .tn-breaking__inner {
        min-height: 38px;
        overflow: visible;
    }

    .tn-breaking__label {
        margin-right: 10px;
    }

    .tn-breaking__items {
        gap: 30px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 12px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .tn-breaking__items::-webkit-scrollbar {
        display: none;
    }

    .tn-top-grid,
    .tn-bottom-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tn-featured {
        min-height: 330px;
    }

    .tn-featured__content {
        padding: 23px 19px;
    }

    .tn-featured h1 {
        font-size: clamp(23px, 6vw, 28px) !important;
    }

    .tn-popular,
    .tn-channel-column {
        width: 100%;
        min-width: 0;
    }

    .tn-main-card__media {
        height: 125px;
    }

    .tn-latest-row {
        grid-template-columns: 170px minmax(0, 1fr);
        min-height: 125px;
    }

    .tn-latest-row__media {
        height: 110px;
    }

    .tn-footer__inner {
        flex-direction: column;
        justify-content: center;
        padding: 25px 0;
        text-align: center;
    }

    .tn-footer__right {
        text-align: center;
    }

    .tn-footer__menu {
        justify-content: center;
    }

    .tn-legacy-section img,
    .tn-legacy-section iframe,
    .tn-legacy-section video {
        max-width: 100% !important;
        height: auto !important;
    }

    .tn-legacy-section input,
    .tn-legacy-section select,
    .tn-legacy-section textarea {
        max-width: 100% !important;
    }

    .tn-legacy-section table {
        display: block;
        width: 100% !important;
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 520px) {
    .tn-container,
    .tn-legacy-section {
        width: min(calc(100% - 20px), var(--tn-container));
    }

    .tn-brand img {
        max-width: min(100%, 190px);
        max-height: 47px;
    }

    .tn-breaking__label {
        padding: 0 9px;
        font-size: 9px;
    }

    .tn-breaking__items a {
        font-size: 10px;
    }

    .tn-home {
        padding-top: 12px;
    }

    .tn-featured {
        min-height: 285px;
    }

    .tn-featured__content {
        padding: 19px 15px;
    }

    .tn-featured h1 {
        font-size: 23px !important;
        line-height: 1.18 !important;
    }

    .tn-main-cards {
        grid-template-columns: 1fr;
    }

    .tn-main-card:last-child {
        display: block;
    }

    .tn-main-card__media {
        height: 190px;
    }

    .tn-main-card h3 {
        font-size: 15px !important;
    }

    .tn-latest-row {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 11px;
        min-height: 102px;
        padding: 9px 0;
    }

    .tn-latest-row__media {
        height: 88px;
    }

    .tn-latest-row h3 {
        font-size: 14px !important;
    }

    .tn-channel-lead__media {
        height: 210px;
    }

    .tn-channel-small {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .tn-channel-small__media {
        height: 66px;
    }

    .tn-mobile-panel {
        width: min(88vw, 340px);
    }
}

/*
|--------------------------------------------------------------------------
| Mobile sangat kecil
|--------------------------------------------------------------------------
*/

@media (max-width: 370px) {
    .tn-brand img {
        max-width: 165px;
    }

    .tn-featured {
        min-height: 255px;
    }

    .tn-featured h1 {
        font-size: 20px !important;
    }

    .tn-latest-row {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .tn-latest-row__media {
        height: 78px;
    }

    .tn-latest-row h3 {
        font-size: 13px !important;
    }

    .tn-channel-small {
        grid-template-columns: 94px minmax(0, 1fr);
    }
}
