/*
Theme Name: THEMA Flow
Theme URI: https://example.com/
Author: THEMA
Description: Theme portal berita modern mandiri tanpa ketergantungan CSS/JS plugin, kompatibel PHP 7.4+.
Version: 1.7.2
Requires at least: 5.6
Requires PHP: 7.4
Text Domain: thema-flow
*/

:root{
  --tf-red:#e53935;
  --tf-red-dark:#c62828;
  --tf-text:#171717;
  --tf-muted:#6b7280;
  --tf-line:#e5e7eb;
  --tf-bg:#f5f6f8;
  --tf-card:#fff;
  --tf-dark:#111827;
  --tf-radius:12px;
  --tf-shadow:0 6px 24px rgba(17,24,39,.07);
  --tf-max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--tf-bg);color:var(--tf-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.65}
a{color:inherit;text-decoration:none}
a:hover{color:var(--tf-red)}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
.container{width:min(var(--tf-max),calc(100% - 40px));margin-left:auto;margin-right: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}

/* HEADER - self contained */
.site-header{background:#fff;border-bottom:1px solid var(--tf-line);position:sticky;top:0;z-index:1000}
.header-main{height:74px;display:flex;align-items:center;gap:22px}
.brand{display:flex;align-items:center;min-width:190px}
.brand .custom-logo-link{display:flex;align-items:center}
.brand .custom-logo{display:block;width:auto;max-height:44px;max-width:230px}
.brand-text{font-size:28px;line-height:1;font-weight:800;letter-spacing:-1px;color:#111}
.mobile-menu-toggle,.mobile-search-toggle{display:none}
.primary-nav{border-top:1px solid #f1f2f4;background:#fff}
.primary-nav .container{min-height:48px;display:flex;align-items:center;overflow-x:auto;scrollbar-width:none}
.primary-nav .container::-webkit-scrollbar{display:none}
.primary-nav ul,.primary-nav .fallback-menu{list-style:none!important;margin:0!important;padding:0!important;display:flex;align-items:center;gap:28px}
.primary-nav li{list-style:none!important;margin:0;padding:0;white-space:nowrap}
.primary-nav a{display:block;padding:14px 0;font-size:14px;font-weight:700;color:#222}
.primary-nav a:hover,.primary-nav .current-menu-item>a,.primary-nav .current-menu-ancestor>a{color:var(--tf-red)}
.primary-nav ul ul{display:none}
.breaking-bar{background:#fff;border-bottom:1px solid var(--tf-line)}
.breaking-bar .container{min-height:42px;display:flex;align-items:center;gap:12px;font-size:13px}
.breaking-bar strong{background:var(--tf-red);color:#fff;border-radius:5px;padding:4px 10px;text-transform:uppercase;font-size:11px;letter-spacing:.4px}
.breaking-bar span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* HOME */
.home-main{padding:28px 0 54px}
.hero{position:relative;overflow:hidden;border-radius:14px;background:#111;box-shadow:var(--tf-shadow);margin-bottom:26px;min-height:440px}
.hero>a{display:block;position:relative;min-height:440px;color:#fff}
.hero img{width:100%;height:440px;object-fit:cover;opacity:.88}
.hero>a:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.82) 0%,rgba(0,0,0,.22) 52%,rgba(0,0,0,.04) 100%);pointer-events:none}
.hero-copy{position:absolute;left:0;right:0;bottom:0;padding:38px 40px;z-index:2;max-width:850px}
.hero-copy h1{margin:0 0 10px;font-size:42px;line-height:1.13;letter-spacing:-1.15px;color:#fff}
.hero-copy p{margin:0;color:rgba(255,255,255,.9);font-size:16px;line-height:1.55;max-width:720px}
.home-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,.85fr);gap:26px;align-items:start}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px}
.section-title{margin:0;font-size:22px;line-height:1.25;letter-spacing:-.35px}
.section-title:after{content:"";display:block;width:36px;height:3px;border-radius:99px;background:var(--tf-red);margin-top:7px}
.feed-item{display:grid;grid-template-columns:225px minmax(0,1fr);background:#fff;border:1px solid var(--tf-line);border-radius:12px;overflow:hidden;margin-bottom:14px}
.feed-thumb{background:#edf0f3;display:block;min-height:145px}
.feed-thumb img{width:100%;height:100%;min-height:145px;object-fit:cover}
.feed-body{padding:15px 17px}
.feed-body h3{margin:0 0 7px;font-size:20px;line-height:1.35;letter-spacing:-.25px}
.feed-body p{margin:0 0 10px;color:#626a75;font-size:14px;line-height:1.55}
.feed-meta{color:var(--tf-muted);font-size:12px}
.widget-box{background:#fff;border:1px solid var(--tf-line);border-radius:12px;padding:18px;margin-bottom:18px}
.widget-box h3{margin:0 0 12px;font-size:18px}
.widget-box ul{padding-left:18px}
.trending-list{counter-reset:trend;list-style:none!important;margin:0!important;padding:0!important}
.trending-list li{list-style:none!important;counter-increment:trend;display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:13px 0;border-bottom:1px solid var(--tf-line)}
.trending-list li:last-child{border-bottom:0}
.trending-list li:before{content:counter(trend,decimal-leading-zero);font-size:20px;font-weight:800;color:#c5cad1}
.trending-list a{font-size:14px;font-weight:700;line-height:1.42}
.ad-box{min-height:250px;display:grid;place-items:center;background:#f2f4f7;border:1px dashed #cbd1d8;border-radius:10px;color:#a0a6af;font-size:12px;letter-spacing:1px}

/* ARCHIVE / SEARCH / PAGE */
.archive-wrap,.page-wrap{padding:34px 0 56px}
.archive-title{font-size:34px;line-height:1.2;margin:0 0 10px;letter-spacing:-.7px}
.archive-description{color:var(--tf-muted);margin-bottom:22px}
.archive-wrap>.post,.archive-wrap>.type-post{display:grid;grid-template-columns:220px 1fr;gap:18px;background:#fff;border:1px solid var(--tf-line);border-radius:12px;padding:16px;margin-bottom:15px}
.archive-wrap>.post .wp-post-image,.archive-wrap>.type-post .wp-post-image{width:220px;height:145px;object-fit:cover;border-radius:8px}
.page-wrap{max-width:900px}
.page-wrap>article,.page-wrap>.page{background:#fff;border:1px solid var(--tf-line);border-radius:12px;padding:34px}
.page-wrap h1{font-size:36px;line-height:1.2;margin-top:0}

/* SINGLE DESKTOP */
.single-wrap{padding:34px 0 58px}
.single-layout{display:grid;grid-template-columns:minmax(0,790px) minmax(280px,1fr);gap:28px;align-items:start}
.article-shell{background:#fff;border:1px solid var(--tf-line);border-radius:12px;padding:34px;box-shadow:var(--tf-shadow);min-width:0}
.mobile-breadcrumb{display:none}
.article-category{display:inline-block;color:var(--tf-red);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.article-title{font-size:44px;line-height:1.16;letter-spacing:-1.05px;margin:5px 0 14px;color:#111}
.article-lead{font-size:19px;line-height:1.55;color:#505863;margin:0 0 21px}
.author-row{display:flex;align-items:center;gap:12px;padding:4px 0 22px}
.author-avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.author-name{font-size:14px;font-weight:800}
.author-meta{font-size:12px;color:var(--tf-muted);margin-top:2px}
.featured-wrap{margin:0 -34px;padding:0}
.featured-wrap img{width:100%;max-height:520px;object-fit:cover}
.photo-caption{font-size:12px;line-height:1.5;color:#767e89;padding:10px 34px 14px;border-bottom:1px solid var(--tf-line)}
.article-content{font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.9;padding-top:22px;color:#202020;overflow-wrap:anywhere}
.article-content p{margin:0 0 22px}
.article-content h2,.article-content h3,.article-content h4{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.35;color:#111}
.article-content h2{font-size:28px;margin:34px 0 15px}
.article-content h3{font-size:23px;margin:30px 0 14px}
.article-content blockquote{border-left:4px solid var(--tf-red);margin:27px 0;padding:7px 0 7px 20px;color:#4f5661;font-style:italic}
.article-content img{max-width:100%;height:auto;border-radius:8px}
.article-content figure{max-width:100%;margin:26px 0}
.article-content iframe,.article-content video{max-width:100%}
.article-content a{color:#b91c1c;text-decoration:underline}
.article-footer{border-top:1px solid var(--tf-line);margin-top:27px;padding-top:18px}
.share-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.share-button{border:1px solid var(--tf-line);padding:8px 12px;border-radius:8px;font-size:12px;font-weight:700;background:#fff}
.tags{display:flex;gap:7px;flex-wrap:wrap}
.tags a{font-size:12px;padding:6px 10px;background:#f1f3f5;border-radius:999px;text-decoration:none;color:#333}
.related{margin-top:27px}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.related-item{background:#fff;border:1px solid var(--tf-line);border-radius:10px;overflow:hidden}
.related-item img{width:100%;aspect-ratio:16/10;object-fit:cover}
.related-item .rbody{padding:10px}
.related-item h4{font-size:14px;line-height:1.4;margin:0}
.single-sidebar{position:sticky;top:142px}
.mobile-share-dock{display:none}
.comments-area{margin-top:28px;padding-top:20px;border-top:1px solid var(--tf-line)}
.comment-list{padding-left:20px}

/* FOOTER */
.site-footer{background:#111827;color:#d5dae2;margin-top:55px}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:38px;padding:44px 0 34px}
.footer-brand{font-size:24px;font-weight:800;color:#fff;margin-bottom:8px}
.footer-grid p{color:#9ca3af;font-size:13px;max-width:360px}
.footer-grid ul{list-style:none;margin:0;padding:0}
.footer-grid li{margin:8px 0}
.footer-grid a{color:#c8ced8;font-size:13px}
.footer-bottom{border-top:1px solid #273043;padding:17px 0;color:#8e98a7;font-size:12px}

/* TABLET */
@media(max-width:980px){
  .home-grid,.single-layout{grid-template-columns:1fr}
  .single-sidebar{position:static}
  .hero-copy h1{font-size:36px}
  .footer-grid{grid-template-columns:1fr 1fr}
}

/* MOBILE */
@media(max-width:680px){
  body{background:#fff}
  .container{width:calc(100% - 32px)}
  .site-header{position:sticky;top:0}
  .header-main{height:74px;width:100%;padding:0 20px;justify-content:space-between;gap:12px}
  .brand{min-width:0;flex:1;justify-content:center;text-align:center}
  .brand .custom-logo{max-height:36px;max-width:205px}
  .brand-text{font-size:25px;letter-spacing:-.7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
  .mobile-menu-toggle{display:flex;width:39px;height:39px;padding:7px 4px;border:0;background:transparent;flex:0 0 39px;flex-direction:column;justify-content:center;gap:6px;cursor:pointer}
  .mobile-menu-toggle span{display:block;width:30px;height:2.5px;background:#111;border-radius:2px;transition:.2s}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8.5px) rotate(45deg)}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8.5px) rotate(-45deg)}
  .mobile-search-toggle{display:block;position:relative;width:39px;height:39px;flex:0 0 39px;border:0;background:transparent;color:transparent;font-size:0;cursor:pointer}
  .mobile-search-toggle:before{content:"";position:absolute;width:23px;height:23px;border:3px solid #111;border-radius:50%;left:4px;top:3px}
  .mobile-search-toggle:after{content:"";position:absolute;width:13px;height:3px;background:#111;transform:rotate(45deg);left:25px;top:27px;border-radius:2px}
  .primary-nav{display:none;position:absolute;left:0;right:0;top:74px;background:#fff;border-top:1px solid #eee;box-shadow:0 12px 26px rgba(0,0,0,.08)}
  body.mobile-nav-open .primary-nav{display:block}
  .primary-nav .container{display:block;width:100%;max-height:72vh;overflow:auto;padding:8px 20px}
  .primary-nav ul,.primary-nav .fallback-menu{display:block!important}
  .primary-nav li{border-bottom:1px solid #eee}
  .primary-nav li:last-child{border-bottom:0}
  .primary-nav a{padding:13px 0;font-size:15px}
  .breaking-bar{display:none}

  .home-main{padding:14px 0 38px}
  .home-main>.container{width:100%}
  .hero{border-radius:0;margin-bottom:20px;min-height:0;box-shadow:none}
  .hero>a{min-height:0}
  .hero img{height:250px}
  .hero-copy{padding:22px 20px}
  .hero-copy h1{font-size:28px;line-height:1.2}
  .hero-copy p{font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .home-grid{display:block;padding:0 16px}
  .feed-item{grid-template-columns:120px minmax(0,1fr);border-radius:0;border-left:0;border-right:0;border-top:0;margin-bottom:0}
  .feed-thumb,.feed-thumb img{min-height:92px;height:92px}
  .feed-body{padding:11px 0 11px 12px}
  .feed-body h3{font-size:16px;line-height:1.35;margin-bottom:7px}
  .feed-body p{display:none}
  .widget-box{border-radius:0;border-left:0;border-right:0;margin-top:20px}

  .single-wrap{padding:0 0 42px}
  .single-layout{display:block;width:100%;margin:0}
  .article-shell{border:0;border-radius:0;box-shadow:none;padding:0 40px 34px;background:#fff}
  .single-sidebar{display:none}
  .mobile-breadcrumb{display:flex;align-items:center;gap:10px;color:#666;font-size:16px;font-weight:600;padding:22px 0 28px}
  .mobile-breadcrumb span{font-size:27px;line-height:1;color:#111;font-weight:300}
  .mobile-breadcrumb a:last-child{color:#111}
  .article-category{display:none}
  .article-title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:32px;line-height:1.27;letter-spacing:-.75px;margin:0 0 27px;font-weight:800;color:#090909}
  .article-lead{font-size:17px;line-height:1.55;margin:-12px 0 22px;color:#555}
  .author-row{padding:0 0 27px;gap:0;display:block}
  .author-avatar{display:none}
  .author-name{font-size:16px;font-weight:800;margin-bottom:13px;color:#111}
  .author-meta{font-size:14px;line-height:1.45;color:#707070}
  .featured-wrap{margin:0}
  .featured-wrap img{width:100%;max-height:none;aspect-ratio:16/9;object-fit:cover}
  .photo-caption{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:13px;line-height:1.5;color:#737373;padding:10px 0 12px;border-bottom:0}
  .article-content{font-family:Georgia,"Times New Roman",serif;font-size:22px;line-height:1.55;padding-top:29px;color:#171717;letter-spacing:-.1px}
  .article-content p{margin:0 0 31px}
  .article-content h2{font-size:27px;line-height:1.35;margin:38px 0 17px}
  .article-content h3{font-size:23px;line-height:1.4;margin:34px 0 15px}
  .article-content figure,.article-content .wp-block-image{margin:28px 0 31px}
  .article-content img{border-radius:0;width:100%;height:auto}
  .article-content blockquote{font-size:20px;line-height:1.6;margin:30px 0;padding-left:18px}
  .article-footer{margin-top:30px;padding-top:18px}
  .share-row{display:none}
  .related-grid{grid-template-columns:1fr}
  .related{margin-top:35px}
  .mobile-share-dock{display:flex;position:sticky;bottom:12px;z-index:80;margin:0 -1px 18px;padding:12px 17px;min-height:66px;border-radius:34px;background:#fff;box-shadow:0 8px 26px rgba(0,0,0,.16);align-items:center;gap:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
  .mobile-share-dock .dock-stat{font-size:24px;display:flex;align-items:center;gap:8px;line-height:1}
  .mobile-share-dock .dock-stat b{font-size:15px}
  .mobile-share-dock a,.mobile-share-dock button{margin-left:auto;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:0;background:#0bbf78;color:#fff;font-weight:800;font-size:12px;text-decoration:none}
  .mobile-share-dock button{margin-left:-10px;background:#0ea5a7;font-size:22px;cursor:pointer}

  .archive-wrap,.page-wrap{padding:24px 16px 42px}
  .archive-title{font-size:28px}
  .page-wrap>article,.page-wrap>.page{border:0;padding:0}
  .site-footer{margin-top:34px}
  .footer-grid{grid-template-columns:1fr;padding:34px 0 24px}
}

@media(max-width:420px){
  .article-shell{padding-left:22px;padding-right:22px}
  .brand-text{font-size:23px;max-width:195px}
  .brand .custom-logo{max-width:185px;max-height:34px}
  .article-title{font-size:30px;line-height:1.25}
  .article-content{font-size:21px;line-height:1.58}
  .article-content p{margin-bottom:29px}
}



/* ===== THEMA Flow 1.2.0 modular homepage ===== */
:root{--tf-accent:#00a7a0;--tf-bg:#f3f4f5;--tf-border:#e3e6e8;--tf-text:#151719;--tf-muted:#687078}
body{background:var(--tf-bg);color:var(--tf-text)}
.site-header{background:#fff;border-bottom:1px solid var(--tf-border)}
.header-main{height:58px;display:flex;align-items:center;gap:24px}
.brand{flex:0 0 auto}.brand img{max-height:34px;width:auto}.brand-text{font-weight:800;font-size:24px;color:var(--tf-accent)}
.desktop-search{width:330px;height:34px;border:1px solid #cfd4d7;border-radius:18px;display:flex;align-items:center;padding:0 12px;background:#f8f9fa}
.desktop-search input{border:0;outline:0;background:transparent;width:100%;font-size:13px}.search-symbol{margin-right:8px}
.header-actions{margin-left:auto;display:flex;gap:8px;align-items:center}.header-actions a{font-size:12px;font-weight:700}.write-btn{background:var(--tf-accent);color:#fff!important;padding:8px 12px;border-radius:4px}
.primary-nav,.secondary-nav{background:#fff}.primary-nav .container,.secondary-nav .container{display:flex;gap:22px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.primary-nav ul{display:flex;gap:22px;margin:0;padding:0;list-style:none}.primary-nav a{display:block;padding:8px 0;font-size:13px;font-weight:600}
.secondary-nav{border-top:1px solid #f0f1f2}.secondary-nav .container{gap:10px;padding-top:7px;padding-bottom:7px}.secondary-nav a{background:#f1f3f4;border-radius:4px;padding:6px 10px;font-size:11px}
.home-main{padding:22px 0 50px}.home-main>.container{max-width:1040px}
.top-ad-slot,.wide-ad-slot{background:#e8eaec;min-height:180px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;overflow:hidden;color:#92989d;font-size:11px;letter-spacing:1px}
.top-ad-slot img,.wide-ad-slot img,.ad-widget img{display:block;max-width:100%;height:auto;margin:auto}.wide-ad-slot{min-height:130px;margin:28px 0}
.topic-strip{display:flex;gap:17px;overflow-x:auto;padding:0 0 14px;scrollbar-width:none}.topic-circle{width:78px;flex:0 0 78px;text-align:center;font-size:11px;color:#202427}.topic-thumb{width:66px;height:66px;border:3px solid var(--tf-accent);border-radius:50%;display:block;padding:3px;margin:0 auto 6px;background:#fff;overflow:hidden}.topic-thumb img{width:100%;height:100%;object-fit:cover;border-radius:50%}.topic-fallback{display:flex;width:100%;height:100%;border-radius:50%;align-items:center;justify-content:center;background:#e5eeee;font-size:25px;font-weight:800;color:var(--tf-accent)}
.topic-chips{display:flex;gap:8px;overflow-x:auto;white-space:nowrap;margin-bottom:14px;scrollbar-width:none}.topic-chips a{background:#0879ad;color:#fff;border-radius:14px;padding:6px 12px;font-size:11px}
.lead-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.95fr);gap:14px}.feature-mosaic{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:330px 170px;gap:3px}.feature-card{position:relative;overflow:hidden;background:#222}.feature-1{grid-column:1/3}.feature-card>a,.feature-card img{display:block;width:100%;height:100%}.feature-card img{object-fit:cover}.feature-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.85));pointer-events:none}.feature-overlay{position:absolute;z-index:2;left:18px;right:18px;bottom:15px;color:#fff}.feature-overlay h1,.feature-overlay h2{margin:0 0 7px;line-height:1.2;color:#fff}.feature-overlay h1{font-size:24px}.feature-overlay h2{font-size:16px}.feature-meta{font-size:10px}
.trending-panel{background:#fff;border:1px solid var(--tf-border);height:503px;overflow:auto}.panel-head,.module-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--tf-border)}.panel-head h2,.module-head h2{margin:0;font-size:19px}.panel-head h2:before,.module-head h2:before{content:"";display:inline-block;width:4px;height:20px;background:#e4003b;margin-right:8px;vertical-align:-4px}.panel-head a,.module-head a{font-size:11px;color:#66747c}.trend-row{padding:12px 14px;border-bottom:1px solid #edf0f2}.trend-row a{display:flex;gap:10px;justify-content:space-between}.trend-row h3{font-size:13px;line-height:1.35;margin:0 0 7px}.trend-row span,.module-copy span{font-size:10px;color:var(--tf-muted)}.trend-row img{width:76px;height:58px;object-fit:cover;border-radius:4px}
.home-module{margin-top:28px}.module-head{padding-left:0;padding-right:0;background:transparent}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}.horizontal-cards{display:flex;gap:12px;overflow-x:auto;padding:12px 0 6px;scrollbar-width:none}.horizontal-cards .module-card{flex:0 0 190px}.module-card{background:#fff;border-radius:5px;overflow:hidden}.module-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}.module-video .module-card img{aspect-ratio:9/14}.module-copy{padding:10px}.module-copy h3{font-size:13px;line-height:1.35;margin:0 0 8px}.module-video .module-card{flex-basis:175px}.module-video .module-card img{aspect-ratio:9/14}
.article-lead{display:none!important}

@media(max-width:768px){
 .header-main{height:64px;justify-content:space-between}.desktop-search,.header-actions,.primary-nav,.secondary-nav{display:none}.brand{position:absolute;left:50%;transform:translateX(-50%)}.brand img{max-height:32px}.mobile-menu-toggle,.mobile-search-toggle{display:flex}
 .home-main{padding-top:12px}.home-main>.container{padding-left:14px;padding-right:14px}.top-ad-slot{min-height:95px;margin-left:-14px;margin-right:-14px}
 .topic-strip{gap:12px}.topic-circle{width:65px;flex-basis:65px}.topic-thumb{width:56px;height:56px}
 .lead-grid{grid-template-columns:1fr}.feature-mosaic{grid-template-rows:250px 130px}.feature-overlay{left:12px;right:12px;bottom:11px}.feature-overlay h1{font-size:20px}.feature-overlay h2{font-size:13px}.trending-panel{height:auto;max-height:420px}
 .wide-ad-slot{min-height:85px;margin-left:-14px;margin-right:-14px}.news-grid{display:flex;overflow-x:auto;gap:10px}.news-grid .module-card{flex:0 0 78%}.horizontal-cards .module-card{flex-basis:150px}.module-video .module-card{flex-basis:145px}
}



/* ===== THEMA Flow 1.2.1 single post focus layout ===== */
.single-kumparan{background:#fff;padding:28px 0 64px}
.single-focus{max-width:760px}
.single-kumparan .article-shell{background:#fff;padding:0}
.single-kumparan .article-breadcrumb{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;margin:0 0 28px;color:#6b7074}
.single-kumparan .article-breadcrumb a:last-child{color:#151719}
.single-kumparan .article-title{font-size:42px;line-height:1.14;letter-spacing:-.6px;margin:0 0 26px;font-weight:800;color:#111}
.single-kumparan .compact-author{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.single-kumparan .author-avatar img{border-radius:50%;display:block}
.single-kumparan .author-name{font-size:14px;font-weight:800;line-height:1.25}
.single-kumparan .author-meta{font-size:12px;color:#74797d;margin-top:4px}
.article-quick-actions{display:flex;align-items:center;gap:8px;padding:12px 0 18px;border-bottom:1px solid #eceeef;margin-bottom:24px}
.article-quick-actions a,.article-quick-actions button{border:1px solid #d9dee1;background:#fff;color:#495158;border-radius:18px;padding:7px 12px;font-size:11px;cursor:pointer}
.single-kumparan .featured-wrap{margin:0 0 24px}
.single-kumparan .featured-wrap img{width:100%;height:auto;display:block;border-radius:0}
.single-kumparan .photo-caption{font-size:11px;line-height:1.45;color:#73797d;margin-top:7px;padding-bottom:12px;border-bottom:1px solid #e9ecee}
.single-kumparan .article-content{font-family:Georgia,"Times New Roman",serif;font-size:20px;line-height:1.72;color:#181818}
.single-kumparan .article-content p{margin:0 0 26px}
.single-kumparan .article-content h2{font-family:Arial,sans-serif;font-size:25px;line-height:1.35;margin:34px 0 15px}
.single-kumparan .article-content h3{font-family:Arial,sans-serif;font-size:21px;line-height:1.35}
.single-kumparan .article-content img{max-width:100%;height:auto}
.single-kumparan .article-content figure{margin:28px 0}
.clean-footer{margin-top:32px;padding:18px 0;border-top:1px solid #e8ebed;border-bottom:0}
.clean-footer .share-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.share-label{font-size:12px;font-weight:800;margin-right:4px}
.clean-footer .share-button{border:1px solid #dce1e4;background:#fff;color:#4d555b;border-radius:18px;padding:7px 12px;font-size:11px;cursor:pointer}
.single-kumparan .comments-area,.single-kumparan .comment-respond,.single-kumparan .single-sidebar,.single-kumparan .ad-box{display:none!important}
.post-module{margin-top:34px;padding-top:2px}
.post-module-head{border-top:1px solid #e5e8ea;padding:18px 0 11px}
.post-module-head h2{font-size:18px;line-height:1.2;margin:0;font-weight:800}
.post-module-head h2:before{content:"";display:inline-block;width:4px;height:18px;background:#e4003b;margin-right:8px;vertical-align:-3px}
.read-more-list article{border-bottom:1px solid #eceff1;padding:13px 0}
.read-more-list article>a{display:flex;gap:14px;align-items:center}
.read-more-list article>a>div{flex:1}.read-more-list h3{font-size:14px;line-height:1.4;margin:0 0 5px}.read-more-list span{font-size:10px;color:#7b8185}
.read-more-list img{width:88px;height:65px;object-fit:cover;border-radius:4px}
.live-card{background:#071f2a;border-radius:6px;overflow:hidden}.live-card a{display:block;position:relative;color:#fff}.live-card img{width:100%;max-height:360px;object-fit:cover;display:block;opacity:.84}.live-card div{position:absolute;left:18px;right:18px;bottom:16px}.live-card strong{display:inline-block;background:#e4003b;border-radius:3px;padding:4px 7px;font-size:10px}.live-card h3{font-size:20px;line-height:1.3;margin:8px 0 0;color:#fff}
.poll-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.poll-grid article{border:1px solid #e1e5e7;border-radius:5px;overflow:hidden}.poll-grid img{width:100%;aspect-ratio:16/9;object-fit:cover}.poll-grid h3{font-size:13px;line-height:1.4;padding:10px;margin:0}.fake-poll{padding:0 10px 12px}.fake-poll span{display:block;border:1px solid #00a7a0;color:#008b86;border-radius:3px;text-align:center;padding:8px;font-size:10px}
.numbered article>a{align-items:flex-start}.rank{font-size:24px;color:#00a7a0;width:30px;flex:0 0 30px}
.post-horizontal-cards{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none}.post-horizontal-cards article{flex:0 0 165px}.post-horizontal-cards img{width:100%;aspect-ratio:9/14;object-fit:cover;border-radius:5px}.post-horizontal-cards h3{font-size:12px;line-height:1.35;margin:7px 0 3px}.post-horizontal-cards span{font-size:9px;color:#7b8185}
.category-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.category-cards article{border:1px solid #e6e9eb;border-radius:5px;overflow:hidden}.category-cards img{width:100%;aspect-ratio:16/9;object-fit:cover}.category-cards h3{font-size:13px;line-height:1.4;margin:0;padding:10px}

@media(max-width:768px){
 .single-kumparan{padding:18px 0 56px}.single-focus{max-width:none;padding-left:20px;padding-right:20px}
 .single-kumparan .article-breadcrumb{font-size:14px;margin-bottom:24px}
 .single-kumparan .article-title{font-size:32px;line-height:1.18;letter-spacing:-.25px;margin-bottom:24px}
 .single-kumparan .author-meta{font-size:12px;line-height:1.45}
 .article-quick-actions{overflow-x:auto;white-space:nowrap;scrollbar-width:none}
 .single-kumparan .article-content{font-size:21px;line-height:1.58}
 .single-kumparan .article-content p{margin-bottom:30px}
 .single-kumparan .featured-wrap{margin-left:0;margin-right:0}
 .poll-grid{grid-template-columns:1fr 1fr;gap:8px}.category-cards{gap:8px}
 .post-horizontal-cards article{flex-basis:145px}
 .mobile-share-dock{display:none!important}
}

/* THEMA Flow 1.2.2: desktop single + sidebar */
.single-two-column{max-width:1040px;display:grid;grid-template-columns:minmax(0,680px) 320px;gap:34px;align-items:start}.single-right-sidebar{position:sticky;top:18px}.sidebar-module{background:#fff;border-top:1px solid #e6e9eb;padding-top:14px;margin-bottom:26px}.sidebar-module-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.sidebar-module-head h2{font-size:18px;margin:0;font-weight:800}.sidebar-module-head h2:before{content:"";display:inline-block;width:4px;height:18px;background:#e4003b;margin-right:8px;vertical-align:-3px}.sidebar-module-head a{font-size:10px;color:#697279}.sidebar-list article{border-bottom:1px solid #eceff1;padding:11px 0}.sidebar-list article>a{display:flex;align-items:flex-start;gap:10px}.sidebar-list article>a>div{flex:1}.sidebar-list h3{font-size:12px;line-height:1.4;margin:0 0 5px}.sidebar-list span{font-size:9px;color:#858b90}.sidebar-list img{width:72px;height:56px;object-fit:cover;border-radius:4px}.numbered-sidebar .rank{font-size:19px;color:#00a7a0;width:22px;flex:0 0 22px;line-height:1.2}.sidebar-video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.sidebar-video-grid img{width:100%;aspect-ratio:9/12;object-fit:cover;border-radius:4px}.sidebar-video-grid h3{font-size:10px;line-height:1.35;margin:6px 0 0}.poll-box{border:1px solid #e2e6e8;padding:14px}.poll-question{font-size:12px;font-weight:800;margin-bottom:10px}.poll-box ol{list-style:none;margin:0;padding:0;counter-reset:poll}.poll-box li{counter-increment:poll;border:1px solid #e1e5e7;border-radius:16px;padding:7px 9px 7px 30px;font-size:10px;margin:6px 0;position:relative}.poll-box li:before{content:counter(poll);position:absolute;left:10px;font-weight:800;color:#00a7a0}.below-article-grid{max-width:1040px;display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:18px}.bottom-category-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.bottom-category-cards img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:4px}.bottom-category-cards h3{font-size:10px;line-height:1.35;margin:6px 0 0}@media(min-width:769px){.mobile-lower-module{display:none}}@media(max-width:768px){.single-two-column{display:block;max-width:none}.single-right-sidebar{display:none}.below-article-grid{display:none}.mobile-lower-module{display:block}}



/* ===== THEMA Flow 1.2.3 — refined single post desktop proportions ===== */
@media (min-width: 769px) {
  .single-kumparan {
    background: #fff;
    padding-top: 30px;
  }

  .single-two-column {
    max-width: 1180px;
    grid-template-columns: minmax(0, 820px) 280px;
    gap: 34px;
    align-items: start;
  }

  .single-kumparan .article-shell {
    width: 100%;
    max-width: none;
  }

  .single-kumparan .article-title {
    max-width: 790px;
    font-size: 43px;
    line-height: 1.12;
    letter-spacing: -0.7px;
    margin-bottom: 24px;
  }

  .single-kumparan .compact-author {
    max-width: 790px;
  }

  .single-kumparan .featured-wrap {
    width: 100%;
    max-width: 820px;
  }

  .single-kumparan .featured-wrap img {
    width: 100%;
    height: auto;
  }

  .single-kumparan .article-content {
    max-width: 790px;
    font-size: 18.5px;
    line-height: 1.74;
    color: #181818;
  }

  .single-kumparan .article-content p {
    margin-bottom: 24px;
  }

  .single-kumparan .article-content h2 {
    max-width: 790px;
  }

  .single-kumparan .clean-footer {
    max-width: 790px;
  }

  .single-right-sidebar {
    width: 280px;
  }

  .sidebar-module {
    margin-bottom: 24px;
  }

  .sidebar-module-head h2 {
    font-size: 17px;
  }

  .sidebar-list h3 {
    font-size: 12.5px;
    line-height: 1.38;
  }

  .sidebar-list img {
    width: 68px;
    height: 52px;
  }

  .sidebar-video-grid {
    gap: 6px;
  }

  .sidebar-video-grid h3 {
    font-size: 9.5px;
  }

  .poll-box {
    padding: 12px;
  }

  .below-article-grid {
    max-width: 1180px;
    grid-template-columns: minmax(0, 820px) 280px;
    gap: 34px;
  }

  .bottom-category-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}



/* ===== THEMA Flow 1.2.4 — hard single-post desktop width fix ===== */
.single-page-shell{
  width: calc(100% - 40px) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 769px) {
  body.single-post .single-wrap.single-kumparan{
    width: 100% !important;
    max-width: none !important;
    background: #fff !important;
  }

  body.single-post .single-two-column{
    display: grid !important;
    grid-template-columns: minmax(0, 840px) 260px !important;
    column-gap: 36px !important;
    align-items: start !important;
  }

  body.single-post .article-focus,
  body.single-post .article-shell{
    width: 840px !important;
    max-width: 840px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-post .article-breadcrumb,
  body.single-post .article-title,
  body.single-post .compact-author,
  body.single-post .featured-wrap,
  body.single-post .article-content,
  body.single-post .clean-footer{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.single-post .article-title{
    font-size: 42px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.6px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body.single-post .featured-wrap img{
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  body.single-post .article-content{
    font-size: 18px !important;
    line-height: 1.72 !important;
    font-family: Arial, Helvetica, sans-serif !important;
  }

  body.single-post .article-content p{
    margin: 0 0 22px !important;
  }

  body.single-post .single-right-sidebar{
    width: 260px !important;
    max-width: 260px !important;
    min-width: 260px !important;
    position: sticky !important;
    top: 20px !important;
  }

  body.single-post .sidebar-module{
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.single-post .below-article-grid{
    display: grid !important;
    grid-template-columns: minmax(0, 840px) 260px !important;
    gap: 36px !important;
  }
}

@media (max-width: 768px){
  .single-page-shell{
    width: 100% !important;
    max-width: none !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* ===== THEMA Flow 1.2.5 — fluid single post, no overlap ===== */
body.single-post .single-page-shell{
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 1100px){
  body.single-post .single-two-column{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) 280px !important;
    gap:32px !important;
    width:min(1180px, calc(100vw - 48px)) !important;
  }

  body.single-post .article-focus,
  body.single-post .article-shell{
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.single-post .article-breadcrumb,
  body.single-post .article-title,
  body.single-post .compact-author,
  body.single-post .featured-wrap,
  body.single-post .article-content,
  body.single-post .clean-footer{
    width:100% !important;
    max-width:none !important;
  }

  body.single-post .article-title{
    font-size:40px !important;
    line-height:1.13 !important;
    overflow-wrap:break-word !important;
  }

  body.single-post .article-content{
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:18px !important;
    line-height:1.68 !important;
  }

  body.single-post .single-right-sidebar{
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    position:sticky !important;
    top:20px !important;
    align-self:start !important;
  }

  body.single-post .below-article-grid{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) 280px !important;
    gap:32px !important;
    width:min(1180px, calc(100vw - 48px)) !important;
  }
}

/* Medium desktop/laptop: preserve sidebar but shrink it safely. */
@media (min-width: 769px) and (max-width: 1099px){
  body.single-post .single-page-shell{
    width:calc(100vw - 36px) !important;
  }

  body.single-post .single-two-column{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) 245px !important;
    gap:22px !important;
    width:100% !important;
  }

  body.single-post .article-focus,
  body.single-post .article-shell{
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.single-post .article-breadcrumb,
  body.single-post .article-title,
  body.single-post .compact-author,
  body.single-post .featured-wrap,
  body.single-post .article-content,
  body.single-post .clean-footer{
    width:100% !important;
    max-width:none !important;
  }

  body.single-post .article-title{
    font-size:34px !important;
    line-height:1.14 !important;
    overflow-wrap:break-word !important;
  }

  body.single-post .article-content{
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:17px !important;
    line-height:1.66 !important;
  }

  body.single-post .single-right-sidebar{
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    position:static !important;
  }

  body.single-post .below-article-grid{
    grid-template-columns:minmax(0,1fr) 245px !important;
    gap:22px !important;
    width:100% !important;
  }
}

@media (max-width:768px){
  body.single-post .single-page-shell{
    width:100% !important;
    padding-left:20px !important;
    padding-right:20px !important;
  }
  body.single-post .single-two-column{display:block !important}
  body.single-post .single-right-sidebar{display:none !important}
}


/* ===== THEMA Flow 1.3.6 — clean single post reset ===== */

body.single-post .tf-clean-single{
  width:100%;
  background:#fff;
  padding:28px 0 56px;
}

body.single-post .tf-clean-single-shell{
  width:calc(100% - 40px);
  max-width:1040px;
  margin:0 auto;
}

body.single-post .tf-clean-article{
  width:100%;
  max-width:900px;
  margin:0 auto;
  padding:0;
}

body.single-post .tf-clean-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 20px;
  font-size:14px;
  color:#70767b;
}

body.single-post .tf-clean-title{
  margin:0 0 22px;
  font-size:40px;
  line-height:1.12;
  letter-spacing:-.5px;
  color:#111;
}

body.single-post .tf-clean-author{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 22px;
}

body.single-post .tf-clean-avatar img{
  display:block;
  width:46px;
  height:46px;
  border-radius:50%;
  object-fit:cover;
}

body.single-post .tf-clean-author-name{
  font-size:14px;
  font-weight:700;
  line-height:1.3;
}

body.single-post .tf-clean-meta{
  margin-top:3px;
  font-size:12px;
  line-height:1.35;
  color:#777;
}

body.single-post .tf-clean-featured{
  width:100%;
  margin:0 0 24px;
}

body.single-post .tf-clean-featured img{
  display:block;
  width:100%;
  height:auto;
}

body.single-post .tf-clean-caption{
  margin-top:7px;
  padding-bottom:10px;
  border-bottom:1px solid #e1e1e1;
  font-size:12px;
  line-height:1.45;
  color:#777;
}

body.single-post .tf-clean-content{
  width:100%;
  font-family:Arial,Helvetica,sans-serif;
  font-size:18px;
  line-height:1.72;
  color:#181818;
}

body.single-post .tf-clean-content p{
  margin:0 0 24px;
}

body.single-post .tf-clean-content img,
body.single-post .tf-clean-content iframe,
body.single-post .tf-clean-content video{
  max-width:100%;
}

body.single-post .tf-clean-footer{
  margin-top:32px;
  padding-top:16px;
  border-top:1px solid #e5e5e5;
}

body.single-post .tf-clean-share{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}

body.single-post .tf-clean-share a,
body.single-post .tf-clean-share button{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 11px;
  border:1px solid #dfe3e5;
  border-radius:5px;
  background:#fff;
  color:#333;
  font-size:12px;
  text-decoration:none;
}

@media(max-width:768px){
  body.single-post .tf-clean-single{
    padding-top:18px;
  }

  body.single-post .tf-clean-single-shell{
    width:100%;
    padding:0 20px;
    box-sizing:border-box;
  }

  body.single-post .tf-clean-article{
    max-width:none;
  }

  body.single-post .tf-clean-title{
    font-size:32px;
    line-height:1.18;
  }

  body.single-post .tf-clean-content{
    font-family:Georgia,"Times New Roman",serif;
    font-size:21px;
    line-height:1.58;
  }

  body.single-post .tf-clean-content p{
    margin-bottom:30px;
  }
}


/* THEMA Flow 1.4.2 — professional footer; keeps existing dark palette */
.tf-pro-footer{background:#111827;color:#d5dae2;margin-top:55px}
.tf-footer-main{display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr;gap:44px;padding:52px 0 42px}
.tf-footer-brand-col p{margin:12px 0 18px;max-width:360px;color:#9ca3af;font-size:13px;line-height:1.65}
.tf-footer-logo{display:block;max-width:170px;max-height:64px;width:auto;height:auto;object-fit:contain}
.tf-pro-footer .footer-brand{font-size:25px;font-weight:800;color:#fff}
.tf-footer-col h3{margin:0 0 16px;color:#fff;font-size:14px;line-height:1.3;text-transform:uppercase;letter-spacing:.04em}
.tf-footer-col ul{list-style:none;margin:0;padding:0}.tf-footer-col li{margin:0 0 10px}.tf-footer-col a,.tf-footer-network a{color:#c8ced8;font-size:13px;line-height:1.45;text-decoration:none}.tf-footer-col a:hover,.tf-footer-network a:hover,.tf-footer-social a:hover{color:#fff}
.tf-footer-network{display:flex;flex-direction:column;gap:10px;color:#c8ced8;font-size:13px;line-height:1.5}
.tf-footer-social{display:flex;flex-wrap:wrap;gap:8px}.tf-footer-social a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 9px;border:1px solid #273043;border-radius:4px;color:#c8ced8;font-size:11px;text-decoration:none}
.tf-footer-bottom-wrap{border-top:1px solid #273043;background:#0d1420}.tf-pro-footer .footer-bottom{border:0;padding:18px 0;color:#8e98a7;font-size:12px}
@media(max-width:900px){.tf-footer-main{grid-template-columns:1fr 1fr;gap:34px}}
@media(max-width:600px){.tf-pro-footer{margin-top:36px}.tf-footer-main{display:block;padding:34px 20px 26px}.tf-footer-brand-col,.tf-footer-col{padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid #273043}.tf-footer-logo{max-width:155px}.tf-footer-brand-col p{font-size:13px;margin-bottom:16px}.tf-footer-col h3{font-size:14px;margin-bottom:14px}.tf-footer-categories ul{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.tf-footer-col li{margin-bottom:9px}.tf-footer-col a,.tf-footer-network a{font-size:14px}.tf-footer-main .tf-footer-col:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.tf-pro-footer .footer-bottom{padding:17px 20px;font-size:12px}}

/* THEMA Flow 1.4.3 — compact professional footer spacing */
.tf-footer-main{gap:38px;padding-top:40px;padding-bottom:30px}
.tf-footer-brand-col p{margin:8px 0 13px;line-height:1.5}
.tf-footer-col h3{margin-bottom:10px;line-height:1.2}
.tf-footer-col li{margin-bottom:5px}
.tf-footer-col a,.tf-footer-network a{line-height:1.3}
.tf-footer-network{gap:5px;line-height:1.35}
.tf-footer-social{gap:6px}
.tf-pro-footer .footer-bottom{padding-top:13px;padding-bottom:13px}
@media(max-width:600px){.tf-footer-main{padding-top:27px;padding-bottom:20px}.tf-footer-brand-col,.tf-footer-col{padding-bottom:16px;margin-bottom:16px}.tf-footer-brand-col p{margin:7px 0 12px;line-height:1.45}.tf-footer-col h3{margin-bottom:9px}.tf-footer-col li{margin-bottom:5px}.tf-footer-network{gap:5px}.tf-pro-footer .footer-bottom{padding-top:13px;padding-bottom:13px}}


/* THEMA Flow 1.4.4 — ultra compact footer */
.tf-pro-footer{margin-top:42px}
.tf-footer-main{gap:30px;padding-top:28px;padding-bottom:20px}
.tf-footer-brand-col p{margin:6px 0 10px;line-height:1.38}
.tf-footer-col h3{margin:0 0 6px;line-height:1.15}
.tf-footer-col li{margin:0 0 2px}
.tf-footer-col a,.tf-footer-network a{line-height:1.2}
.tf-footer-network{gap:2px;line-height:1.2}
.tf-footer-social{gap:5px;margin-top:2px}
.tf-footer-social a{min-height:28px;padding:4px 8px}
.tf-pro-footer .footer-bottom{padding-top:9px;padding-bottom:9px}
@media(max-width:900px){.tf-footer-main{gap:24px}}
@media(max-width:600px){
 .tf-pro-footer{margin-top:28px}
 .tf-footer-main{padding-top:20px;padding-bottom:14px}
 .tf-footer-brand-col,.tf-footer-col{padding-bottom:10px;margin-bottom:10px}
 .tf-footer-brand-col p{margin:5px 0 9px;line-height:1.35}
 .tf-footer-col h3{margin-bottom:5px;line-height:1.15}
 .tf-footer-col li{margin-bottom:2px}
 .tf-footer-col a,.tf-footer-network a{line-height:1.2}
 .tf-footer-network{gap:2px}
 .tf-pro-footer .footer-bottom{padding-top:9px;padding-bottom:9px}
}


/* ==========================================================
   THEMA Flow v1.5.2 — Mobile Category Layout
   Category name only + vertical editorial cards on phones.
   Desktop archive/feed layout remains unchanged.
   ========================================================== */
@media (max-width: 800px) {
  body.category .archive-wrap {
    padding: 22px 16px 42px;
  }

  body.category .archive-title {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.25px;
    font-weight: 800;
    color: #151719;
  }

  body.category .archive-description {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.55;
    color: #687078;
  }

  body.category .feed-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid #e3e6e8;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  body.category .feed-item + .feed-item {
    padding-top: 18px;
  }

  body.category .feed-thumb {
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #edf0f3;
  }

  body.category .feed-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
  }

  body.category .feed-body {
    padding: 10px 0 0;
  }

  body.category .feed-body h3 {
    margin: 0 0 7px;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -.15px;
    font-weight: 750;
  }

  body.category .feed-body h3 a {
    color: #151719;
    text-decoration: none;
  }

  body.category .feed-body p {
    display: none;
  }

  body.category .feed-meta {
    font-size: 12px;
    line-height: 1.4;
    color: #7b828a;
  }
}

@media (max-width: 420px) {
  body.category .archive-wrap {
    padding-left: 15px;
    padding-right: 15px;
  }

  body.category .feed-body h3 {
    font-size: 17px;
  }
}


/* ==========================================================
   THEMA Flow v1.5.3 — Category Full-Width Mobile Cards
   Forces archive/category cards and thumbnails to use the
   full available content width on phones.
   ========================================================== */
@media (max-width: 800px) {

    body.category .archive-wrap,
    body.category .archive-list,
    body.category .feed-list,
    body.category .posts-list,
    body.category main {
        box-sizing: border-box;
        max-width: 100% !important;
    }

    body.category .archive-wrap {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    body.category .feed-item {
        display: block !important;
        grid-template-columns: none !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    body.category .feed-thumb,
    body.category .feed-item .feed-thumb,
    body.category a.feed-thumb {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }

    body.category .feed-thumb img,
    body.category .feed-item .feed-thumb img,
    body.category a.feed-thumb img {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
        object-position: center !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body.category .feed-body {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 10px 0 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body.category .feed-body h3 {
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 7px !important;
        overflow-wrap: break-word;
        word-break: normal;
    }

    body.category .feed-meta {
        display: block;
        width: 100%;
    }
}

/* Extra-small phones: retain full card width with safe gutters. */
@media (max-width: 380px) {
    body.category .archive-wrap {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.category .feed-thumb,
    body.category .feed-item .feed-thumb,
    body.category a.feed-thumb {
        border-radius: 7px !important;
    }
}

/* THEMA Flow v1.5.5 — Auto YouTube module */
.tf-youtube-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:#111}
.tf-youtube-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.tf-youtube-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:rgba(181,42,47,.92);color:#fff;font-size:18px;line-height:1;padding-left:3px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.tf-youtube-card>a:hover .tf-youtube-play{background:#9f2026;transform:translate(-50%,-50%) scale(1.06)}
@media(max-width:800px){
 .tf-youtube-cards{display:flex!important;overflow-x:auto!important;gap:12px!important;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:6px}
 .tf-youtube-card{flex:0 0 82%!important;min-width:0!important;scroll-snap-align:start}
 .tf-youtube-play{width:42px;height:42px;font-size:16px}
}
@media(max-width:380px){.tf-youtube-card{flex-basis:86%!important}}

/* THEMA Flow v1.5.6 — centralized managed advertisements */
.tf-managed-ad{width:100%;max-width:100%;overflow:hidden;text-align:center;margin:20px auto}
.tf-managed-ad:empty{display:none}
.tf-managed-ad picture,.tf-managed-ad img{display:block;max-width:100%;height:auto;margin:0 auto}
.tf-managed-ad a{display:inline-block;max-width:100%}
@media(max-width:800px){.tf-managed-ad{margin:15px auto}}

/* THEMA Flow v1.5.7 — per-slot advertisement size controls */
.tf-managed-ad picture,
.tf-managed-ad > a,
.tf-managed-ad > picture{width:min(100%,var(--tf-ad-dw,970px));margin-left:auto;margin-right:auto}
.tf-managed-ad img{
  width:100%;
  max-width:100%;
  height:auto;
  max-height:var(--tf-ad-mh,none);
  object-fit:contain;
}
@media(max-width:800px){
  .tf-managed-ad picture,
  .tf-managed-ad > a,
  .tf-managed-ad > picture{width:min(100%,var(--tf-ad-mw,320px))}
}

/* THEMA Flow v1.5.8 — borderless / full-width advertisement modes */
.top-ad-slot:has(.tf-managed-ad),
.wide-ad-slot:has(.tf-managed-ad),
.dgn-ad-slot:has(.tf-managed-ad){
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
  min-height:0!important;
}
.tf-managed-ad{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
}
.tf-managed-ad picture,.tf-managed-ad a,.tf-managed-ad img{
  border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;
}
.tf-managed-ad.tf-ad-d-full > a,
.tf-managed-ad.tf-ad-d-full > picture,
.tf-managed-ad.tf-ad-d-full picture{display:block;width:100%!important;max-width:100%!important}
.tf-managed-ad.tf-ad-d-full img{display:block;width:100%!important;max-width:100%!important;height:auto}
.tf-managed-ad.tf-ad-d-auto > a,
.tf-managed-ad.tf-ad-d-auto > picture,
.tf-managed-ad.tf-ad-d-auto picture{width:auto;max-width:100%}
.tf-managed-ad.tf-ad-d-custom > a,
.tf-managed-ad.tf-ad-d-custom > picture,
.tf-managed-ad.tf-ad-d-custom picture{width:min(100%,var(--tf-ad-dw,970px))}
@media(max-width:800px){
 .tf-managed-ad.tf-ad-m-full > a,
 .tf-managed-ad.tf-ad-m-full > picture,
 .tf-managed-ad.tf-ad-m-full picture{display:block;width:100%!important;max-width:100%!important}
 .tf-managed-ad.tf-ad-m-full img{display:block;width:100%!important;max-width:100%!important;height:auto}
 .tf-managed-ad.tf-ad-m-auto > a,
 .tf-managed-ad.tf-ad-m-auto > picture,
 .tf-managed-ad.tf-ad-m-auto picture{width:auto!important;max-width:100%!important}
 .tf-managed-ad.tf-ad-m-custom > a,
 .tf-managed-ad.tf-ad-m-custom > picture,
 .tf-managed-ad.tf-ad-m-custom picture{width:min(100%,var(--tf-ad-mw,320px))!important}
}

/* THEMA Flow v1.6.7 — Berita Sebelumnya: vertical editorial list */
.tf-previous-news{margin-top:30px}
.tf-previous-list{display:block}
.tf-previous-row{margin:0;padding:16px 0;border:0;border-bottom:1px solid #e5e7e9;background:transparent;box-shadow:none;border-radius:0}
.tf-previous-row>a{display:flex;gap:18px;align-items:flex-start;color:inherit;text-decoration:none}
.tf-previous-thumb{flex:0 0 220px;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:#f2f2f2}
.tf-previous-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.tf-previous-copy{min-width:0;flex:1}
.tf-previous-copy h3{margin:0 0 6px;font-size:19px;line-height:1.32}
.tf-previous-copy span{display:block;font-size:12px;color:#777;margin-bottom:7px}
.tf-previous-copy p{margin:0;color:#555;font-size:14px;line-height:1.5}
@media(max-width:800px){
 .tf-previous-news{margin-top:24px}
 .tf-previous-row{padding:13px 0}
 .tf-previous-row>a{gap:12px}
 .tf-previous-thumb{flex-basis:116px;border-radius:5px}
 .tf-previous-copy h3{font-size:15px;line-height:1.35;margin-bottom:5px}
 .tf-previous-copy span{font-size:11px;margin:0}
 .tf-previous-copy p{display:none}
}

/* THEMA Flow v1.7.0 — Static Page typography only; homepage & single post unaffected */
body.page:not(.home) .page-wrap h1{font-size:30px;line-height:1.25;letter-spacing:-.45px;margin-bottom:14px}
body.page:not(.home) .page-wrap .article-content{font-size:16px;line-height:1.75;padding-top:12px}
body.page:not(.home) .page-wrap .article-content p{margin-bottom:18px}
body.page:not(.home) .page-wrap .article-content h2{font-size:23px;margin:28px 0 13px}
body.page:not(.home) .page-wrap .article-content h3{font-size:20px;margin:24px 0 12px}
@media(max-width:700px){body.page:not(.home) .page-wrap h1{font-size:25px;line-height:1.28;letter-spacing:-.25px}body.page:not(.home) .page-wrap .article-content{font-size:16px;line-height:1.7;padding-top:10px}body.page:not(.home) .page-wrap .article-content p{margin-bottom:17px}body.page:not(.home) .page-wrap .article-content h2{font-size:21px}body.page:not(.home) .page-wrap .article-content h3{font-size:19px}}
