/*
Theme Name: Baliwebstar.com - News – Multi Publisher Edition
Theme URI: https://baliwebstar.com/
Author: Baliwebstar.com
Author URI: https://baliwebstar.com/
Description: Tema portal berita modern, ringan, responsif, dan SEO-friendly dari Baliwebstar.com.
Version: 2.1.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: pacificnews
*/
:root{--ink:#172033;--muted:#687386;--brand:#0756a5;--accent:#e21d2f;--line:#e7ebf0;--soft:#f4f7fa;--white:#fff;--max:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.7}a{color:inherit;text-decoration:none}a:hover{color:var(--brand)}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.container{width:min(var(--max),calc(100% - 36px));margin-inline:auto}.topbar{background:#10243b;color:#dce7f2;font-size:12px}.topbar-inner{display:flex;justify-content:space-between;gap:20px;padding:7px 0}.masthead{padding:20px 0;border-bottom:1px solid var(--line)}.brand-row{display:flex;align-items:center;justify-content:space-between;gap:24px}.site-branding{display:flex;align-items:center;gap:12px;min-width:0}.custom-logo{max-height:64px;width:auto}.site-title{font-size:32px;line-height:1.1;font-weight:900;letter-spacing:-1.2px;color:#10243b}.site-title span{color:var(--accent)}.site-description{margin:4px 0 0;color:var(--muted);font-size:12px}.header-search{display:flex;max-width:300px;width:100%;border:1px solid var(--line);border-radius:5px;overflow:hidden}.header-search input{width:100%;border:0;padding:10px 12px;outline:0}.header-search button{border:0;background:var(--brand);color:#fff;padding:0 14px;cursor:pointer}.nav-wrap{background:var(--brand);color:#fff}.main-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:0;flex-wrap:wrap}.main-nav a{display:block;padding:12px 14px;font-size:13px;font-weight:750}.main-nav a:hover,.main-nav .current-menu-item>a{background:#064784;color:#fff}.mobile-menu-toggle{display:none;background:#064784;color:#fff;border:0;padding:10px 14px;margin:8px 0}.breaking{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.breaking-label{background:var(--accent);color:#fff;font-weight:800;padding:4px 9px;border-radius:2px;white-space:nowrap}.breaking a{font-weight:700}.content-area{padding:26px 0 50px}.section-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--brand);margin:0 0 18px;padding-bottom:8px}.section-heading h2,.section-heading h1{font-size:20px;line-height:1.3;margin:0;font-weight:850}.section-heading a{font-size:12px;color:var(--brand);font-weight:700}.hero-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:18px;margin-bottom:32px}.hero-main,.hero-side-item,.post-card{position:relative;overflow:hidden;background:var(--soft);border-radius:4px}.hero-main{min-height:390px}.hero-main img{width:100%;height:100%;min-height:390px;object-fit:cover}.hero-main:after,.hero-side-item:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.88))}.hero-caption{position:absolute;z-index:1;left:24px;right:24px;bottom:20px;color:#fff}.category-label{display:inline-block;background:var(--accent);color:#fff;padding:3px 8px;font-size:10px;line-height:1.5;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.hero-caption h2{font-size:clamp(22px,3vw,34px);line-height:1.2;margin:0 0 8px;font-weight:850}.meta{font-size:11px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}.hero-caption .meta{color:#e1e7ed}.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:18px}.hero-side-item{min-height:186px}.hero-side-item img{width:100%;height:100%;min-height:186px;object-fit:cover}.hero-side-item .hero-caption{left:16px;right:16px;bottom:13px}.hero-side-item h3{font-size:18px;line-height:1.25;margin:0}.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:32px}.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.post-card{background:#fff;border:1px solid var(--line)}.post-card .thumb{aspect-ratio:16/9;background:#e9eef3;overflow:hidden}.post-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.post-card:hover .thumb img{transform:scale(1.035)}.post-card-body{padding:14px}.post-card h2,.post-card h3{font-size:18px;line-height:1.35;margin:4px 0 8px;font-weight:800}.post-card p{font-size:13px;color:var(--muted);margin:8px 0 0}.post-card .category-label{margin:0}.sidebar-widget{margin-bottom:26px}.sidebar-widget h2,.widget-title{font-size:17px;margin:0 0 14px;padding-bottom:8px;border-bottom:2px solid var(--brand);font-weight:850}.sidebar-list{list-style:none;padding:0;margin:0}.sidebar-list li{padding:10px 0;border-bottom:1px solid var(--line);font-size:13px;font-weight:700;line-height:1.45}.sidebar-list .meta{margin-top:4px}.single-layout{display:grid;grid-template-columns:minmax(0,820px) 300px;gap:40px}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:16px}.breadcrumbs a{color:var(--brand)}.entry-header h1{font-size:clamp(28px,4vw,42px);line-height:1.18;letter-spacing:-.8px;margin:0 0 14px;font-weight:900}.entry-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-bottom:18px}.featured-image{margin:0 0 22px}.featured-image img{width:100%;height:auto;border-radius:4px}.image-caption{font-size:12px;color:var(--muted);margin-top:6px}.entry-content{font-size:18px;line-height:1.85;color:#263247;overflow-wrap:anywhere}.entry-content p{margin:0 0 1.25em}.entry-content h2{font-size:27px;line-height:1.3;margin:1.5em 0 .6em;color:#15263b}.entry-content h3{font-size:22px;line-height:1.35;margin:1.4em 0 .5em}.entry-content a{color:var(--brand);text-decoration:underline}.entry-content blockquote{border-left:4px solid var(--brand);margin:24px 0;padding:10px 20px;background:var(--soft)}.entry-content ul,.entry-content ol{padding-left:24px}.tags{margin:26px 0;display:flex;gap:7px;flex-wrap:wrap}.tags a{background:var(--soft);padding:5px 9px;border-radius:3px;font-size:12px}.author-box{padding:18px;background:var(--soft);margin:28px 0;border-radius:4px}.author-box strong{display:block}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.related-grid .post-card h3{font-size:14px}.archive-description{color:var(--muted);margin:-8px 0 20px}.pagination{margin:28px 0}.pagination .nav-links{display:flex;gap:7px;flex-wrap:wrap}.page-numbers{padding:8px 12px;border:1px solid var(--line);font-size:13px}.page-numbers.current{background:var(--brand);color:#fff;border-color:var(--brand)}.site-footer{background:#10243b;color:#dbe5ef;padding:38px 0 18px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:30px}.site-footer h2{color:#fff;font-size:17px;margin:0 0 12px}.site-footer p,.site-footer li{font-size:13px;color:#bdc9d7}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{padding:4px 0}.copyright{border-top:1px solid #31445a;margin-top:28px;padding-top:16px;font-size:12px;color:#9fb0c2}.no-image{background:linear-gradient(135deg,#dce5ee,#f4f7fa);height:100%;min-height:130px}.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}.alignwide{max-width:1100px;margin-left:auto;margin-right:auto}.alignfull{width:100%;max-width:none}.wp-caption{max-width:100%}.wp-caption-text{font-size:12px;color:var(--muted)}
@media(max-width:900px){.home-layout,.single-layout{grid-template-columns:minmax(0,1fr) 270px;gap:22px}.hero-grid{grid-template-columns:1.3fr 1fr}.hero-main,.hero-main img{min-height:320px}.hero-side-item,.hero-side-item img{min-height:151px}.hero-side-item h3{font-size:15px}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.container{width:min(100% - 26px,var(--max))}.topbar-inner{justify-content:center}.topbar-inner span:last-child{display:none}.masthead{padding:14px 0}.site-title{font-size:27px}.site-description{font-size:10px}.custom-logo{max-height:48px}.header-search{max-width:42px;border:0}.header-search input{display:none}.header-search button{height:40px;width:42px}.mobile-menu-toggle{display:block}.main-nav ul{display:none;flex-direction:column;align-items:stretch;padding-bottom:8px}.main-nav.is-open ul{display:flex}.main-nav a{padding:9px 12px;border-top:1px solid rgba(255,255,255,.12)}.breaking{font-size:12px;overflow:hidden}.breaking a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content-area{padding-top:18px}.hero-grid{grid-template-columns:1fr;gap:10px}.hero-main,.hero-main img{min-height:270px}.hero-side{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:10px}.hero-side-item,.hero-side-item img{min-height:135px}.hero-side-item .hero-caption{left:10px;right:10px;bottom:8px}.hero-side-item h3{font-size:13px}.hero-caption{left:16px;right:16px;bottom:14px}.hero-caption h2{font-size:23px}.home-layout,.single-layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:18px}.post-grid{gap:12px}.post-card h2,.post-card h3{font-size:15px}.post-card-body{padding:10px}.post-card p{display:none}.entry-content{font-size:17px}.entry-header h1{font-size:30px}.related-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr;gap:20px}}
@media(max-width:420px){.post-grid{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr}.hero-side-item,.hero-side-item img{min-height:120px}.site-branding{gap:7px}.site-title{font-size:24px}}

/* Baliwebstar.com - News v2.0: SEO and editorial performance */
.breaking{overflow:hidden}.breaking-track{display:flex;align-items:center;gap:28px;min-width:0;overflow-x:auto;scrollbar-width:none;white-space:nowrap}.breaking-track::-webkit-scrollbar{display:none}.breaking-track a{flex:0 0 auto;max-width:420px;overflow:hidden;text-overflow:ellipsis}.article-deck{font-size:18px;line-height:1.55;color:#526174;margin:0 0 14px;font-weight:450}.entry-meta a{text-decoration:underline;text-underline-offset:2px}.featured-image img{aspect-ratio:16/9;object-fit:cover}.share-links{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:26px 0 14px;font-size:13px}.share-links a{display:inline-block;border:1px solid var(--line);border-radius:4px;padding:6px 11px;color:var(--brand);font-weight:700}.share-links a:hover{background:var(--brand);color:#fff}.author-box{display:flex;align-items:flex-start;gap:15px}.author-avatar img{border-radius:50%}.author-box p{margin:4px 0 8px;font-size:13px;color:var(--muted)}.author-box a{color:var(--brand);font-size:13px;font-weight:700}.reading-progress{position:fixed;z-index:9999;top:0;left:0;height:3px;width:0;background:var(--accent);pointer-events:none}.related-section{margin:30px 0}.article-main{min-width:0}
@media(max-width:700px){.breaking-track a{max-width:260px}.article-deck{font-size:16px}.entry-meta{gap:7px 11px}.featured-image img{aspect-ratio:16/9}.share-links{gap:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* v1.1.1 mobile headline visibility fix */
.post-card .thumb{display:block;position:relative;width:100%;aspect-ratio:16/9;height:auto;overflow:hidden;background:#e9eef3}
.post-card .thumb img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;aspect-ratio:16/9}
.post-card-body{display:block;position:relative;background:#fff;color:var(--ink);min-width:0}
.post-card h2,.post-card h3{display:block!important;visibility:visible!important;opacity:1!important;color:var(--ink);overflow-wrap:anywhere}
.post-card h2 a,.post-card h3 a{display:block;color:var(--ink)!important;text-decoration:none}
.post-card h2 a:hover,.post-card h3 a:hover{color:var(--brand)!important}
@media(max-width:700px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.post-card .thumb{display:block;aspect-ratio:16/9;height:auto}.post-card .thumb img{width:100%;height:100%;object-fit:cover}.post-card-body{padding:11px}.post-card h2,.post-card h3{font-size:15px;line-height:1.4;margin:7px 0 8px;font-weight:800}.post-card .meta{font-size:11px}}
@media(max-width:420px){.post-grid{grid-template-columns:1fr}.post-card h2,.post-card h3{font-size:16px;line-height:1.4}}
