/* ==========================================================
   KEMANA TRAVEL - KEMANA INSIGHT / LAYOUT 1
   Gunakan bersama info.php hasil modifikasi.
   Font Manrope + Inter; body saja, header/footer tidak disentuh.
========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

.kti-page {
    --kti-orange: #f58220;
    --kti-orange-dark: #df6e12;
    --kti-ink: #252b32;
    --kti-copy: #65707c;
    --kti-muted: #929ba5;
    --kti-line: #e9edf1;
    font-family: 'Inter', sans-serif;
    color: var(--kti-ink);
    background: #fff;
    padding-bottom: 65px;
}
.kti-page *, .kti-page *:before, .kti-page *:after { box-sizing: border-box; }
.kti-page h1, .kti-page h2, .kti-page h3, .kti-page strong { font-family: 'Manrope', sans-serif; }
.kti-page a { text-decoration: none; }
.kti-page #position { margin-bottom: 0; }
.kti-page #position ul { margin-bottom: 0; }
.kti-container { padding-top: 34px; }

/* Hero */
.kti-hero {
    min-height: 275px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 45px 55px;
    border-radius: 20px;
    background: linear-gradient(115deg, #fff7ef 0%, #fff1e3 55%, #ffe2c5 100%);
    margin-bottom: 48px;
}
.kti-hero-content { position: relative; z-index: 2; max-width: 610px; }
.kti-kicker { display: block; color: var(--kti-orange-dark); font-size: 10px; font-weight: 700; letter-spacing: 2px; margin-bottom: 11px; }
.kti-hero h1 { color: var(--kti-ink); font-size: 43px; font-weight: 800; line-height: 1.15; margin: 0 0 13px; }
.kti-hero p { color: #5e6872; font-size: 15px; line-height: 1.8; max-width: 520px; margin: 0; }
.kti-hero-art { position: absolute; right: 7%; top: 50%; width: 230px; height: 230px; transform: translateY(-50%); border: 1px solid rgba(245,130,32,.22); border-radius: 50%; }
.kti-hero-orbit { position: absolute; inset: 22px; border: 1px dashed rgba(245,130,32,.38); border-radius: 50%; }
.kti-hero-plane { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-12deg); color: var(--kti-orange); font-size: 86px; line-height: 1; }
.kti-hero-tag { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: #a85c1e; background: rgba(255,255,255,.8); padding: 7px 12px; border-radius: 30px; font-size: 9px; font-weight: 700; letter-spacing: .6px; }

/* Category thumbnail cards */
.kti-category-section { margin-bottom: 52px; }
.kti-section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 21px; }
.kti-section-heading h2 { color: var(--kti-ink); font-size: 25px; font-weight: 800; margin: 0 0 7px; }
.kti-section-heading p { color: var(--kti-copy); font-size: 13px; margin: 0; line-height: 1.7; }
.kti-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kti-category-card { display: flex; min-width: 0; min-height: 135px; overflow: hidden; background: #fff; border: 1px solid var(--kti-line); border-radius: 13px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.kti-category-card:hover { transform: translateY(-4px); border-color: #f5c69e; box-shadow: 0 12px 28px rgba(40,48,56,.08); }
.kti-category-image { display: block; flex: 0 0 42%; min-height: 135px; overflow: hidden; background: #f5eee8; }
.kti-category-image img { display: block; width: 100%; height: 100%; min-height: 135px; object-fit: cover; transition: transform .4s ease; }
.kti-category-card:hover .kti-category-image img { transform: scale(1.06); }
.kti-category-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; padding: 14px 15px; }
.kti-category-copy strong { color: var(--kti-ink); font-size: 15px; font-weight: 800; line-height: 1.35; margin-bottom: 6px; }
.kti-category-copy small { color: var(--kti-copy); font-size: 10px; line-height: 1.55; }
.kti-category-copy em { color: var(--kti-orange-dark); font-style: normal; font-size: 10px; font-weight: 700; margin-top: 10px; }
.kti-category-copy em b { font-size: 15px; margin-left: 3px; }

/* Featured article */
.kti-articles-section { margin-top: 5px; }
.kti-featured { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); overflow: hidden; border: 1px solid var(--kti-line); border-radius: 15px; background: #fff; margin-bottom: 24px; }
.kti-featured-image { display: block; min-height: 330px; overflow: hidden; background: #f4f4f4; }
.kti-featured-image img { display: block; width: 100%; height: 100%; min-height: 330px; object-fit: cover; transition: transform .5s ease; }
.kti-featured:hover .kti-featured-image img { transform: scale(1.035); }
.kti-featured-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px 32px; }
.kti-article-label { display: inline-block; color: var(--kti-orange-dark); background: #fff2e7; border-radius: 4px; padding: 6px 9px; font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.kti-meta { color: var(--kti-muted); font-size: 11px; margin: 14px 0 9px; }
.kti-meta span { padding: 0 5px; }
.kti-featured-content h3 { color: var(--kti-ink); font-size: 24px; font-weight: 800; line-height: 1.4; margin: 0 0 12px; }
.kti-featured-content h3 a { color: inherit; }
.kti-featured-content h3 a:hover, .kti-article-card h3 a:hover { color: var(--kti-orange-dark); }
.kti-featured-content p { color: var(--kti-copy); font-size: 13px; line-height: 1.8; margin: 0 0 17px; }
.kti-read-more { color: var(--kti-orange-dark); font-size: 12px; font-weight: 700; }
.kti-read-more b { font-size: 17px; margin-left: 5px; }

/* Supporting article cards */
.kti-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kti-article-card { min-width: 0; overflow: hidden; border: 1px solid var(--kti-line); border-radius: 12px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.kti-article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(40,48,56,.07); }
.kti-card-image { display: block; height: 175px; overflow: hidden; background: #f4f4f4; }
.kti-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.kti-article-card:hover .kti-card-image img { transform: scale(1.05); }
.kti-card-content { padding: 17px; }
.kti-article-card h3 { min-height: 48px; color: var(--kti-ink); font-size: 15px; font-weight: 800; line-height: 1.55; margin: 10px 0 7px; }
.kti-article-card h3 a { color: inherit; }
.kti-article-card p { min-height: 57px; color: var(--kti-copy); font-size: 11px; line-height: 1.7; margin: 0 0 13px; }
.kti-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0f1f2; padding-top: 11px; }
.kti-card-footer small { color: var(--kti-muted); font-size: 10px; }
.kti-card-footer a { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; color: #fff; background: var(--kti-orange); border-radius: 50%; font-size: 16px; }
.kti-empty { padding: 45px 20px; text-align: center; background: #fafbfc; border: 1px dashed #dce1e6; border-radius: 12px; }
.kti-empty strong { font-size: 17px; }
.kti-empty p { color: var(--kti-copy); font-size: 13px; margin: 8px 0 0; }
.kti-pagination { margin-top: 35px; }
.kti-pagination .page-link { color: var(--kti-ink); border-color: var(--kti-line); }
.kti-pagination .page-item.active .page-link { color: #fff; background: var(--kti-orange); border-color: var(--kti-orange); }

@media (max-width: 991px) {
    .kti-hero-art { right: 4%; opacity: .75; }
    .kti-category-grid { gap: 12px; }
    .kti-category-image, .kti-category-image img { flex-basis: 38%; }
    .kti-category-copy { padding: 11px; }
    .kti-category-copy strong { font-size: 13px; }
    .kti-category-copy small { font-size: 9px; }
    .kti-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .kti-container { padding-top: 22px; }
    .kti-hero { min-height: 230px; padding: 32px 27px; margin-bottom: 36px; }
    .kti-hero h1 { font-size: 34px; }
    .kti-hero p { max-width: 390px; font-size: 13px; }
    .kti-hero-art { right: -65px; width: 185px; height: 185px; opacity: .25; }
    .kti-category-grid { grid-template-columns: 1fr; gap: 12px; }
    .kti-category-card { min-height: 112px; }
    .kti-category-image, .kti-category-image img { min-height: 112px; }
    .kti-category-image { flex-basis: 34%; }
    .kti-category-copy { padding: 13px 16px; }
    .kti-category-copy strong { font-size: 15px; }
    .kti-category-copy small { font-size: 10px; }
    .kti-featured { grid-template-columns: 1fr; }
    .kti-featured-image, .kti-featured-image img { min-height: 235px; height: 235px; }
    .kti-featured-content { padding: 22px; }
    .kti-featured-content h3 { font-size: 21px; }
    .kti-section-heading h2 { font-size: 21px; }
}
@media (max-width: 575px) {
    .kti-hero { min-height: 210px; padding: 27px 21px; border-radius: 14px; }
    .kti-hero h1 { font-size: 29px; }
    .kti-hero p { font-size: 12px; }
    .kti-article-grid { grid-template-columns: 1fr; gap: 15px; }
    .kti-card-image { height: 205px; }
    .kti-article-card h3, .kti-article-card p { min-height: 0; }
    .kti-section-heading { margin-bottom: 16px; }
}

/* Layout hardening: menghindari aturan global template merusak grid Insight */
.kti-page .kti-category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    width: 100%;
}
.kti-page a.kti-category-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    height: 145px;
    min-height: 145px;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.kti-page .kti-category-image {
    display: block !important;
    position: relative;
    flex: 0 0 40% !important;
    width: 40%;
    height: 145px;
    min-height: 145px;
    max-width: 40%;
}
.kti-page .kti-category-image img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 145px !important;
    min-height: 145px !important;
    max-height: 145px !important;
    object-fit: cover !important;
}
.kti-page .kti-category-copy {
    display: flex !important;
    flex: 1 1 60%;
    min-width: 0;
    width: 60%;
    height: 145px;
    overflow: hidden;
}
.kti-page .kti-article-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100%;
}
.kti-page .kti-featured {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) !important;
    width: 100%;
}
@media (max-width: 991px) {
    .kti-page .kti-category-grid,
    .kti-page .kti-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
    .kti-page .kti-category-grid,
    .kti-page .kti-article-grid,
    .kti-page .kti-featured { grid-template-columns: 1fr !important; }
    .kti-page a.kti-category-card { height: 125px; min-height: 125px; }
    .kti-page .kti-category-image,
    .kti-page .kti-category-image img,
    .kti-page .kti-category-copy { height: 125px; min-height: 125px; max-height: 125px; }
}

/* ==========================================================
   KEMANA INSIGHT - DETAIL PAGE / DESAIN 3 CLEAN & MINIMALIS
   Dipakai oleh info-detail, flight-info-detail, hotel-info-detail
========================================================== */
.kti-detail-page {
    --kti-orange: #f58220;
    --kti-orange-dark: #df6e12;
    --kti-ink: #202b38;
    --kti-copy: #66717d;
    --kti-line: #e9edf1;
    padding-bottom: 70px;
    background: #fff;
}
.kti-detail-page #position { margin-bottom: 0; }
.kti-detail-page #position ul { margin-bottom: 0; }
.kti-detail-container { max-width: 1120px; padding-top: 35px; }
.kti-detail-topline { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.kti-detail-kicker { color: var(--kti-orange-dark); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.kti-detail-category { display: inline-block; padding: 5px 10px; border-radius: 30px; color: #b65d13; background: #fff2e7; font-size: 10px; font-weight: 700; }
.kti-detail-title { max-width: 900px; margin: 0 0 15px; color: var(--kti-ink); font-family: 'Manrope', sans-serif; font-size: 36px; font-weight: 800; line-height: 1.28; letter-spacing: -.7px; }
.kti-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; margin-bottom: 17px; color: #8b949e; font-size: 11px; }
.kti-detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.kti-detail-meta i { color: var(--kti-orange); }
.kti-detail-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; padding: 13px 0; border-top: 1px solid var(--kti-line); border-bottom: 1px solid var(--kti-line); }
.kti-detail-share > span { margin-right: 5px; color: #7b8590; font-size: 11px; font-weight: 600; }
.kti-share-button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 13px; border: 1px solid transparent; border-radius: 6px; color: #fff !important; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: opacity .2s ease, transform .2s ease; }
.kti-share-button:hover { opacity: .88; transform: translateY(-1px); }
.kti-share-wa { background: #20b96b; }
.kti-share-fb { background: #2867b2; }
.kti-share-copy { color: #46515c !important; background: #f4f6f8; border-color: #e5e9ed; }
.kti-detail-article { max-width: 920px; margin: 0 auto; }
.kti-detail-cover { width: 100%; max-height: 510px; margin: 0 0 27px; overflow: hidden; border-radius: 12px; background: #f3f5f7; }
.kti-detail-cover img { display: block; width: 100%; max-height: 510px; min-height: 220px; object-fit: cover; }
.kti-detail-body { color: #46515d; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.95; overflow-wrap: break-word; }
.kti-detail-body p { margin: 0 0 19px; color: inherit; font-size: inherit; line-height: inherit; }
.kti-detail-body h2 { margin: 32px 0 13px; color: var(--kti-ink); font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 800; line-height: 1.4; }
.kti-detail-body h3 { margin: 25px 0 10px; color: var(--kti-ink); font-family: 'Manrope', sans-serif; font-size: 19px; font-weight: 800; }
.kti-detail-body img { display: block; max-width: 100%; height: auto; margin: 22px auto; border-radius: 9px; }
.kti-detail-body iframe, .kti-detail-body video { max-width: 100%; }
.kti-detail-body ul, .kti-detail-body ol { margin: 0 0 20px; padding-left: 24px; }
.kti-detail-body li { margin-bottom: 7px; }
.kti-detail-body blockquote { margin: 24px 0; padding: 17px 21px; border-left: 3px solid var(--kti-orange); border-radius: 0 8px 8px 0; color: #5d6874; background: #fff7f0; }
.kti-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--kti-line); color: #89929b; font-size: 11px; }
.kti-detail-tags span { color: #b76520; }
.kti-related-section { margin-top: 55px; padding-top: 27px; border-top: 1px solid var(--kti-line); }
.kti-related-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.kti-related-heading .kti-kicker { margin-bottom: 7px; }
.kti-related-heading h2 { margin: 0; color: var(--kti-ink); font-family: 'Manrope', sans-serif; font-size: 23px; font-weight: 800; }
.kti-related-heading > a { color: var(--kti-orange-dark); font-size: 11px; font-weight: 700; white-space: nowrap; }
.kti-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.kti-related-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--kti-line); border-radius: 9px; background: #fff; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.kti-related-card:hover { transform: translateY(-3px); box-shadow: 0 9px 22px rgba(31,43,56,.08); }
.kti-related-image { display: block; height: 145px; overflow: hidden; background: #f3f5f7; }
.kti-related-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.kti-related-card:hover .kti-related-image img { transform: scale(1.04); }
.kti-related-copy { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 13px; }
.kti-related-copy strong { color: var(--kti-ink); font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 800; line-height: 1.5; }
.kti-related-copy small { color: #9aa2aa; font-size: 10px; }
.kti-related-empty { color: var(--kti-copy); font-size: 12px; }
@media (max-width: 767px) {
    .kti-detail-container { padding-top: 24px; }
    .kti-detail-title { font-size: 28px; }
    .kti-detail-meta { gap: 10px 14px; }
    .kti-detail-article { max-width: 100%; }
    .kti-detail-cover { margin-bottom: 20px; border-radius: 8px; }
    .kti-detail-cover img { min-height: 190px; }
    .kti-detail-body { font-size: 13px; line-height: 1.85; }
    .kti-detail-body h2 { font-size: 21px; }
    .kti-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .kti-related-image { height: 115px; }
}
@media (max-width: 480px) {
    .kti-detail-title { font-size: 24px; }
    .kti-detail-share { align-items: flex-start; }
    .kti-detail-share > span { flex-basis: 100%; }
    .kti-share-button { padding: 8px 10px; }
    .kti-related-grid { grid-template-columns: 1fr; }
    .kti-related-card { flex-direction: row; min-height: 94px; }
    .kti-related-image { flex: 0 0 112px; width: 112px; height: 94px; }
    .kti-related-copy { justify-content: center; }
}


/* ==========================================================
   KEMANA INSIGHT - VISUAL SEPARATION UPDATE (v5)
   Update Terbaru / Kategori / Semua Insight
========================================================== */
.kti-page .kti-category-panel {
    position: relative;
    margin: 0 0 48px;
    padding: 27px 26px 29px;
    background: #f7f8fa;
    border: 1px solid #edf0f2;
    border-radius: 18px;
}
.kti-page .kti-category-panel .kti-section-heading { margin-bottom: 19px; }
.kti-page .kti-category-grid { gap: 18px; }
.kti-page a.kti-category-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    background: #fff;
    border: 1px solid #eceff2;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(31,45,61,.045);
}
.kti-page .kti-category-image {
    display: block;
    flex: none;
    width: 100%;
    height: 142px;
    min-height: 142px;
    overflow: hidden;
    background: #f1eee9;
}
.kti-page .kti-category-image img {
    display: block;
    width: 100%;
    height: 142px;
    min-height: 142px;
    object-fit: cover;
}
.kti-page .kti-category-copy {
    display: flex;
    flex: 1;
    min-height: 116px;
    padding: 15px 16px 16px;
}
.kti-page .kti-category-copy strong { font-size: 15px; margin-bottom: 5px; }
.kti-page .kti-category-copy em { margin-top: auto; padding-top: 11px; }
.kti-page .kti-category-card:hover {
    transform: translateY(-4px);
    border-color: #f2c59e;
    box-shadow: 0 13px 27px rgba(31,45,61,.09);
}
.kti-page .kti-articles-section { margin-top: 0; }
.kti-page .kti-latest-panel {
    position: relative;
    overflow: hidden;
    margin: 0 0 42px;
    padding: 28px;
    background: #fff4e8;
    border: 1px solid #f8e6d5;
    border-radius: 20px;
}
.kti-page .kti-latest-heading { position: relative; z-index: 1; margin-bottom: 20px; }
.kti-page .kti-latest-heading .kti-kicker:before {
    content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0;
    border-radius: 50%; background: #e87524; box-shadow: 0 0 0 4px rgba(232,117,36,.12);
}
.kti-page .kti-latest-heading h2 { font-size: 26px; }
.kti-page .kti-latest-mark {
    position: absolute; top: -22px; right: 8px; color: rgba(232,117,36,.12);
    font-size: 88px; line-height: 1; pointer-events: none;
}
.kti-page .kti-latest-panel .kti-featured {
    position: relative; z-index: 1; margin: 0; border: 1px solid rgba(236,221,207,.9);
    border-radius: 15px; box-shadow: 0 8px 24px rgba(91,64,39,.055);
}
.kti-page .kti-all-insights { margin-top: 0; }
.kti-page .kti-all-insights-heading { margin: 0 0 20px; }
.kti-page .kti-all-insights-heading .kti-kicker { color: #e87524; }
.kti-page .kti-all-insights-heading h2 {
    margin: 0 0 6px; color: var(--kti-ink); font-family: 'Manrope',sans-serif;
    font-size: 25px; font-weight: 800;
}
.kti-page .kti-all-insights-heading p { margin: 0; color: var(--kti-copy); font-size: 13px; line-height: 1.7; }
.kti-page .kti-all-insights .kti-article-card {
    border-color: #edf0f2; box-shadow: 0 4px 16px rgba(31,45,61,.035);
}
.kti-page .kti-pagination { margin: 32px 0 8px; }
@media (max-width: 767px) {
    .kti-page .kti-category-panel { padding: 20px 16px; margin-bottom: 32px; }
    .kti-page .kti-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px; }
    .kti-page .kti-category-image, .kti-page .kti-category-image img { height: 108px; min-height: 108px; }
    .kti-page .kti-category-copy { min-height: 112px; padding: 12px; }
    .kti-page .kti-category-copy strong { font-size: 13px; }
    .kti-page .kti-category-copy small { font-size: 10px; }
    .kti-page .kti-latest-panel { padding: 19px 14px; margin-bottom: 32px; border-radius: 16px; }
    .kti-page .kti-latest-heading h2, .kti-page .kti-all-insights-heading h2 { font-size: 21px; }
    .kti-page .kti-latest-mark { right: 0; font-size: 62px; }
}
@media (max-width: 420px) {
    .kti-page .kti-category-grid { grid-template-columns: 1fr !important; }
    .kti-page .kti-category-image, .kti-page .kti-category-image img { height: 145px; min-height: 145px; }
    .kti-page .kti-category-copy { min-height: 105px; }
}

/* FINAL OVERRIDE v6: kategori berupa image-top cards */
html body .kti-page .kti-category-panel .kti-category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}
html body .kti-page .kti-category-panel a.kti-category-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #eceff2 !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 18px rgba(31,45,61,.06) !important;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
html body .kti-page .kti-category-panel .kti-category-image {
    display: block !important;
    position: relative !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 158px !important;
    min-height: 158px !important;
    max-height: 158px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}
html body .kti-page .kti-category-panel .kti-category-image img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 158px !important;
    min-height: 158px !important;
    max-height: 158px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transform: none;
}
html body .kti-page .kti-category-panel .kti-category-copy {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: auto !important;
    min-height: 132px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 16px 17px 17px !important;
    background: #fff !important;
}
html body .kti-page .kti-category-panel .kti-category-copy strong {
    display: block !important;
    margin: 0 0 6px !important;
    color: #202b38 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}
html body .kti-page .kti-category-panel .kti-category-copy small {
    display: block !important;
    color: #66717d !important;
    font-size: 11px !important;
    line-height: 1.6 !important;
}
html body .kti-page .kti-category-panel .kti-category-copy em {
    display: inline-block !important;
    margin: auto 0 0 !important;
    padding-top: 13px !important;
    color: #df6e12 !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 700 !important;
}
html body .kti-page .kti-category-panel a.kti-category-card:hover {
    transform: translateY(-4px) !important;
    border-color: #f2c59e !important;
    box-shadow: 0 13px 28px rgba(31,45,61,.12) !important;
}
html body .kti-page .kti-category-panel a.kti-category-card:hover .kti-category-image img {
    transform: scale(1.045) !important;
    transition: transform .35s ease !important;
}
@media (max-width: 991px) {
    html body .kti-page .kti-category-panel .kti-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 13px !important; }
    html body .kti-page .kti-category-panel .kti-category-image,
    html body .kti-page .kti-category-panel .kti-category-image img { height: 132px !important; min-height: 132px !important; max-height: 132px !important; }
}
@media (max-width: 767px) {
    html body .kti-page .kti-category-panel .kti-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; }
    html body .kti-page .kti-category-panel .kti-category-image,
    html body .kti-page .kti-category-panel .kti-category-image img { height: 118px !important; min-height: 118px !important; max-height: 118px !important; }
    html body .kti-page .kti-category-panel .kti-category-copy { min-height: 126px !important; padding: 13px !important; }
}
@media (max-width: 480px) {
    html body .kti-page .kti-category-panel .kti-category-grid { grid-template-columns: 1fr !important; }
    html body .kti-page .kti-category-panel .kti-category-image,
    html body .kti-page .kti-category-panel .kti-category-image img { height: 165px !important; min-height: 165px !important; max-height: 165px !important; }
    html body .kti-page .kti-category-panel .kti-category-copy { min-height: 112px !important; }
}


/* ==========================================================
   KEMANA INSIGHT - CATEGORY THUMBNAIL OVERLAY (v7)
   Kategori dinamis dari menu + menu_thumbnail CMS
========================================================== */
html body .kti-page .kti-category-panel .kti-category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 17px !important;
}
html body .kti-page .kti-category-panel a.kti-category-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 205px !important;
    min-height: 205px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #263442 !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 17px !important;
    box-shadow: 0 7px 20px rgba(24,39,55,.10) !important;
    text-decoration: none !important;
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease !important;
}
html body .kti-page .kti-category-panel .kti-category-bg {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 0 !important;
    transition: transform .45s ease !important;
}
html body .kti-page .kti-category-panel .kti-category-overlay {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    z-index: 1 !important;
    background: linear-gradient(180deg, rgba(12,24,38,.08) 5%, rgba(12,24,38,.30) 38%, rgba(12,24,38,.88) 100%) !important;
}
html body .kti-page .kti-category-panel .kti-category-content {
    position: absolute !important;
    inset: auto 0 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 19px 19px 17px !important;
    color: #fff !important;
    text-align: left !important;
    z-index: 2 !important;
}
html body .kti-page .kti-category-panel .kti-category-eyebrow {
    display: inline-block !important;
    margin: 0 0 7px !important;
    color: rgba(255,255,255,.82) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 1.45px !important;
    line-height: 1.3 !important;
}
html body .kti-page .kti-category-panel .kti-category-content strong {
    display: block !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    text-shadow: 0 2px 9px rgba(0,0,0,.24) !important;
}
html body .kti-page .kti-category-panel .kti-category-content small {
    display: block !important;
    margin: 5px 0 0 !important;
    color: rgba(255,255,255,.88) !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}
html body .kti-page .kti-category-panel .kti-category-content em {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 650 !important;
}
html body .kti-page .kti-category-panel .kti-category-content em b {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 21px !important;
    height: 21px !important;
    border: 1px solid rgba(255,255,255,.65) !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    line-height: 1 !important;
}
html body .kti-page .kti-category-panel a.kti-category-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 28px rgba(24,39,55,.20) !important;
}
html body .kti-page .kti-category-panel a.kti-category-card:hover .kti-category-bg {
    transform: scale(1.06) !important;
}
@media (max-width: 991px) {
    html body .kti-page .kti-category-panel .kti-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    html body .kti-page .kti-category-panel a.kti-category-card { height: 190px !important; min-height: 190px !important; }
}
@media (max-width: 575px) {
    html body .kti-page .kti-category-panel .kti-category-grid { grid-template-columns: 1fr !important; }
    html body .kti-page .kti-category-panel a.kti-category-card { height: 180px !important; min-height: 180px !important; }
    html body .kti-page .kti-category-panel .kti-category-content { padding: 16px !important; }
    html body .kti-page .kti-category-panel .kti-category-content strong { font-size: 19px !important; }
}


/* ==========================================================
   KEMANA INSIGHT - ACTIVE CATEGORY HIGHLIGHT (v9)
   Penanda kategori yang sedang dibuka pengunjung
========================================================== */
html body .kti-page .kti-category-panel a.kti-category-card.is-active {
    border: 2px solid #f07818 !important;
    box-shadow: 0 0 0 3px rgba(240,120,24,.13), 0 12px 27px rgba(190,91,17,.16) !important;
    transform: translateY(-2px) !important;
}
html body .kti-page .kti-category-panel a.kti-category-card.is-active .kti-category-overlay {
    background: linear-gradient(180deg, rgba(12,24,38,.04) 2%, rgba(12,24,38,.25) 35%, rgba(105,45,7,.91) 100%), linear-gradient(135deg, rgba(240,120,24,.10), rgba(240,120,24,.28)) !important;
}
html body .kti-page .kti-category-panel a.kti-category-card.is-active:before {
    content: '' !important;
    position: absolute !important;
    z-index: 3 !important;
    top: 0 !important;
    left: 0 !important;
    width: 48px !important;
    height: 4px !important;
    background: #ff9a43 !important;
    border-radius: 0 0 5px 0 !important;
}
html body .kti-page .kti-category-panel .kti-category-active-badge {
    position: absolute !important;
    z-index: 4 !important;
    top: 13px !important;
    right: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 10px !important;
    color: #a84d08 !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(255,255,255,.8) !important;
    border-radius: 30px !important;
    box-shadow: 0 3px 12px rgba(20,25,30,.16) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .35px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}
html body .kti-page .kti-category-panel .kti-category-active-badge b {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 15px !important;
    height: 15px !important;
    color: #fff !important;
    background: #ef791b !important;
    border-radius: 50% !important;
    font-size: 9px !important;
    line-height: 1 !important;
}
html body .kti-page .kti-category-panel a.kti-category-card.is-active .kti-category-content strong {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.42) !important;
}
html body .kti-page .kti-category-panel a.kti-category-card.is-active .kti-category-content em {
    color: #ffd2ad !important;
}
html body .kti-page .kti-category-panel a.kti-category-card.is-active:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 0 0 4px rgba(240,120,24,.16), 0 16px 32px rgba(190,91,17,.22) !important;
}
@media (max-width: 575px) {
    html body .kti-page .kti-category-panel .kti-category-active-badge {
        top: 10px !important;
        right: 10px !important;
        padding: 6px 8px !important;
        font-size: 8px !important;
    }
}


/* ==========================================================
   KEMANA INSIGHT - LATEST ARTICLE HIGHLIGHT (v10)
   Memisahkan artikel terbaru dari kumpulan artikel sebelumnya
========================================================== */
.kti-page .kti-latest-panel {
    background: linear-gradient(135deg, #fff7ef 0%, #fff0e2 58%, #fff8f1 100%);
    border: 1px solid #f4dfcc;
    box-shadow: 0 12px 32px rgba(174, 100, 39, .055);
}
.kti-page .kti-latest-panel:before {
    content: ''; position: absolute; top: 0; left: 28px; width: 72px; height: 4px;
    border-radius: 0 0 5px 5px; background: linear-gradient(90deg, #e87524, #f6ad65);
}
.kti-page .kti-latest-heading { padding-right: 76px; }
.kti-page .kti-latest-heading .kti-kicker { color: #d96d1d; font-weight: 800; letter-spacing: 1.35px; }
.kti-page .kti-latest-panel .kti-featured {
    border-color: #f0dfd0; box-shadow: 0 10px 28px rgba(84, 61, 42, .075);
}
.kti-page .kti-newest-label {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
    padding: 6px 11px; border-radius: 30px; background: #fff0e2; color: #d96d1d;
    font-size: 10px; font-weight: 800; letter-spacing: .8px;
}
.kti-page .kti-newest-label:before {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e87524;
    box-shadow: 0 0 0 3px rgba(232,117,36,.13);
}
.kti-page .kti-article-category {
    display: inline-block; margin: 0 0 9px 3px; color: #8b9299; font-size: 11px; font-weight: 700;
}
.kti-page .kti-all-insights { padding-top: 2px; }
.kti-page .kti-all-insights-heading { position: relative; padding-left: 15px; }
.kti-page .kti-all-insights-heading:before {
    content: ''; position: absolute; left: 0; top: 4px; bottom: 5px; width: 3px;
    border-radius: 3px; background: #f1a15e;
}
.kti-page .kti-all-insights-heading .kti-kicker { font-size: 10px; letter-spacing: 1.15px; }
.kti-page .kti-all-insights-heading p { margin-top: 3px; }
@media (max-width: 767px) {
    .kti-page .kti-latest-panel:before { left: 16px; }
    .kti-page .kti-latest-heading { padding-right: 0; }
    .kti-page .kti-latest-mark { top: -10px; }
    .kti-page .kti-all-insights-heading { padding-left: 12px; }
}


/* ==========================================================
   KEMANA INSIGHT DETAIL V11
   Unified article width: title, share, cover and body align.
   PHP 5.6 compatible markup; CSS-only layout refinement.
========================================================== */
.kti-detail-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.kti-detail-title {
    max-width: 100%;
}

.kti-detail-share {
    width: 100%;
}

.kti-detail-article {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.kti-detail-cover {
    width: 100%;
    max-height: none;
    aspect-ratio: 16 / 9;
    margin-bottom: 27px;
    border-radius: 13px;
}

.kti-detail-cover img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
}

.kti-detail-body {
    width: 100%;
}

.kti-detail-body img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .kti-detail-container {
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .kti-detail-cover {
        aspect-ratio: 16 / 9;
        margin-bottom: 20px;
        border-radius: 9px;
    }

    .kti-detail-body {
        font-size: 13px;
        line-height: 1.85;
    }
}

@media (max-width: 480px) {
    .kti-detail-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .kti-detail-cover {
        border-radius: 8px;
    }
}