/*
Theme Name: KTI MAIL
Theme URI: https://kabartaniindonesia.com/
Author: Kabar Tani Indonesia
Description: Modern editorial WordPress theme for Kabar Tani Indonesia. Responsive, SEO-friendly structure, category navigation, news cards, commodity ticker, video, newsletter and AdSense-ready ad slots.
Version: 1.0.0
Text Domain: kti-mail
*/
:root{--green:#08733a;--deep:#06351d;--lime:#9fd36a;--gold:#f3bd4f;--ink:#142119;--muted:#68766e;--paper:#fff;--soft:#f4f8f5;--line:#e1e9e3;--shadow:0 12px 35px rgba(11,52,29,.08);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--soft);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.container{width:min(1200px,calc(100% - 28px));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topline{background:var(--deep);color:#d9ecdf;font-size:12px}.topline-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breaking{display:flex;gap:10px;align-items:center;white-space:nowrap;overflow:hidden}.breaking b{color:var(--gold);font-size:10px;letter-spacing:.12em}.dot{width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 5px rgba(243,189,79,.12)}.site-header{background:#fff;padding:18px 0}.header-inner{display:flex;align-items:center;gap:25px}.brand{display:flex;align-items:center;gap:12px;min-width:300px}.logo-mark{width:58px;height:58px;border-radius:17px;background:linear-gradient(145deg,var(--green),#064c27);display:grid;place-items:center;font-size:30px;box-shadow:0 10px 25px rgba(8,115,58,.18)}.brand-name{font-size:27px;line-height:1;font-weight:900;letter-spacing:-.04em;color:var(--deep);margin:0}.brand-tag{font-size:11px;color:var(--muted);margin:5px 0 0}.ad-slot{border:1px dashed #aec6b6;background:linear-gradient(120deg,#f4faf5,#e8f2ea);border-radius:14px;min-height:92px;display:grid;place-items:center;text-align:center;color:#66806d;font-size:11px}.ad-slot strong{display:block;color:#496351;font-size:12px}.header-ad{flex:1;min-height:76px}.nav-wrap{position:sticky;top:0;z-index:50;background:#fff;border-block:1px solid var(--line);box-shadow:0 4px 18px rgba(0,0,0,.04)}.main-nav{display:flex;align-items:center;overflow:auto;scrollbar-width:none}.main-nav::-webkit-scrollbar{display:none}.main-nav a{padding:14px 11px;white-space:nowrap;font-size:12px;font-weight:800;color:#314038}.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--green);background:#edf7ef}.nav-search{margin-left:auto;min-width:160px}.nav-search input{width:100%;border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff}.site-main{padding:22px 0 55px}.billboard{margin-bottom:20px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px}.hero{position:relative;height:430px;border-radius:var(--radius);overflow:hidden;background:#183d28;box-shadow:var(--shadow)}.hero img{width:100%;height:100%;object-fit:cover;opacity:.75}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,24,13,.93),rgba(3,24,13,.04) 72%)}.hero-content{position:absolute;z-index:2;left:30px;right:30px;bottom:27px;color:#fff;max-width:760px}.kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--green);color:#fff;font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.hero h1{font-size:clamp(27px,4vw,39px);line-height:1.08;letter-spacing:-.035em;margin:10px 0}.hero p{margin:0;color:#e3eee6;font-size:13px}.meta{font-size:11px;color:#a9b9ae;margin-top:12px}.section{margin-top:25px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.section-head h2{font-size:19px;line-height:1.2;margin:0;font-weight:900;letter-spacing:-.02em}.section-head a{font-size:11px;color:var(--green);font-weight:900}.categories{display:grid;grid-template-columns:repeat(7,1fr);gap:9px}.category-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px 6px;text-align:center;font-size:11px;font-weight:800;transition:.2s}.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#b8d7c1}.category-icon{width:42px;height:42px;border-radius:12px;background:#edf7ef;display:grid;place-items:center;margin:0 auto 8px;font-size:21px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.news-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:.2s}.news-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.news-thumb{aspect-ratio:16/10;object-fit:cover;width:100%}.news-body{padding:13px}.news-cat{font-size:9px;font-weight:900;color:var(--green);text-transform:uppercase;letter-spacing:.06em}.news-title{font-size:15px;line-height:1.35;margin:5px 0 7px;font-weight:900;letter-spacing:-.015em}.news-date{font-size:10px;color:var(--muted)}.price-strip{background:#fff;border:1px solid #d8e7dc;border-radius:16px;overflow:auto;display:flex;margin-top:23px}.price-title{background:var(--deep);color:#fff;padding:16px;min-width:190px}.price-title b{font-size:12px}.price-title small{display:block;color:#bcd8c5;font-size:9px}.commodity{min-width:145px;padding:13px 15px;border-right:1px solid var(--line);font-size:10px}.commodity b{display:block;font-size:13px;margin:4px 0}.up{font-size:9px;color:var(--green);font-weight:900}.two-col{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.feature-story{display:grid;grid-template-columns:1.15fr 1fr;gap:15px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px}.feature-story img{width:100%;height:230px;object-fit:cover;border-radius:11px}.feature-story h3{font-size:21px;line-height:1.25;margin:6px 0 9px}.feature-story p{font-size:12px;color:var(--muted)}.mini-list{display:grid;gap:12px}.mini-story{display:grid;grid-template-columns:105px 1fr;gap:10px}.mini-story img{width:105px;height:78px;object-fit:cover;border-radius:10px}.mini-story h3{font-size:12px;line-height:1.35;margin:2px 0}.video-card{position:relative}.video-card img{width:100%;height:205px;object-fit:cover;border-radius:14px}.play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:55px;height:55px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--green);box-shadow:0 7px 25px rgba(0,0,0,.2);font-size:20px}.sidebar-box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px;margin-bottom:16px}.popular{display:grid;gap:12px}.popular-item{display:grid;grid-template-columns:78px 1fr;gap:10px;border-bottom:1px solid var(--line);padding-bottom:12px}.popular-item:last-child{border:0;padding-bottom:0}.popular-item img{width:78px;height:64px;object-fit:cover;border-radius:9px}.rank{font-size:10px;color:var(--green);font-weight:900}.popular-item b{font-size:12px;line-height:1.35}.tags{display:flex;flex-wrap:wrap;gap:7px}.tag{padding:6px 9px;border-radius:999px;background:#edf7ef;color:var(--green);font-size:10px;font-weight:800}.newsletter{background:linear-gradient(130deg,#06351d,#0a713b);border-radius:18px;padding:23px;color:#fff;display:flex;justify-content:space-between;gap:20px;align-items:center}.newsletter h3{font-size:20px;margin:0 0 4px}.newsletter p{font-size:11px;color:#cce2d2;margin:0}.newsletter form{display:flex;gap:7px}.newsletter input{border:0;border-radius:9px;padding:12px;min-width:230px}.newsletter button{border:0;border-radius:9px;background:var(--gold);font-weight:900;padding:12px 16px}.single-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:25px}.article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}.article h1{font-size:clamp(30px,5vw,46px);line-height:1.08;letter-spacing:-.04em;margin:10px 0}.article-excerpt{font-size:16px;color:var(--muted)}.article-meta{font-size:11px;color:var(--muted);margin:14px 0}.article figure{margin:22px 0}.article figure img{width:100%;border-radius:14px}.article-content{font-family:Georgia,serif;font-size:18px;line-height:1.85}.article-content h2,.article-content h3{font-family:system-ui,sans-serif}.article-content a{color:var(--green);text-decoration:underline}.archive-title{font-size:34px;letter-spacing:-.03em;margin:0 0 18px}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.pagination{display:flex;gap:8px;justify-content:center;margin-top:25px}.pagination a,.pagination span{padding:8px 12px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:12px}.site-footer{background:#062f19;color:#d7e8dc;padding:42px 0 18px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px}.site-footer h3{font-size:14px;color:#fff;margin-top:0}.site-footer p,.site-footer li{font-size:11px;color:#b7cdbd;line-height:1.9}.site-footer ul{list-style:none;padding:0;margin:0}.copyright{border-top:1px solid #315943;margin-top:25px;padding-top:14px;font-size:10px;color:#8eaa97;display:flex;justify-content:space-between}.mobile-menu{display:none}
@media(max-width:950px){.header-ad{display:none}.layout,.single-layout{grid-template-columns:1fr}.categories{grid-template-columns:repeat(4,1fr)}.news-grid,.archive-grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.container{width:calc(100% - 18px)}.topline-inner{font-size:9px}.topline-inner>span{display:none}.brand{min-width:0}.logo-mark{width:45px;height:45px;font-size:23px}.brand-name{font-size:20px}.brand-tag{font-size:9px}.nav-search{display:none}.main-nav a{padding:12px 9px;font-size:10px}.hero{height:340px}.hero-content{left:18px;right:18px;bottom:18px}.hero h1{font-size:25px}.categories{grid-template-columns:repeat(3,1fr);gap:7px}.category-card{font-size:9px;padding:11px 4px}.category-icon{width:36px;height:36px;font-size:18px}.news-grid,.archive-grid{grid-template-columns:1fr 1fr;gap:9px}.news-body{padding:10px}.news-title{font-size:11px}.feature-story{grid-template-columns:1fr}.feature-story img{height:190px}.newsletter{display:block}.newsletter form{margin-top:14px}.newsletter input{min-width:0;width:100%}.footer-grid{grid-template-columns:1fr}.copyright{display:block}.copyright span{display:block;margin-top:5px}.article{padding:18px}.article-content{font-size:17px}}
