/*
Theme Name:  BC Soccer Central
Theme URI:   https://bcsoccercentral.com
Author:      BC Soccer Central
Author URI:  https://bcsoccercentral.com
Description: Theme portal berita bola Indonesia untuk BC Soccer Central. Mendukung berita, jadwal, prediksi, dan klasemen.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License:     GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bcsc
Tags:        sports, news, football, soccer, blog, two-columns, custom-menu, featured-images, widgets
*/

/* ================================================================
   RESET & BASE
   ================================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --red:#dc2626;
  --red2:#b91c1c;
  --ink:#111111;
  --bg:#f8f8f8;
  --card:#ffffff;
  --border:#e5e5e5;
  --muted:#6b7280;
  --sm:13px;
  --radius:10px;
}
html{scroll-behavior:smooth}
body{font-family:'Plus Jakarta Sans',sans-serif;background:var(--bg);color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased;font-size:15px}
a{text-decoration:none;color:inherit}
a:hover{color:var(--red)}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
input,button,select,textarea{font-family:inherit}

/* ================================================================
   LAYOUT
   ================================================================ */
.bcsc-wrap{max-width:1100px;margin:0 auto;padding:0 20px}
.bcsc-main-grid{display:grid;grid-template-columns:1fr 300px;gap:28px;padding:28px 0}
.bcsc-content{}
.bcsc-sidebar{}

/* ================================================================
   LIVE STRIP
   ================================================================ */
.bcsc-live-strip{background:var(--ink);padding:8px 0;overflow:hidden}
.bcsc-strip-scroll{display:flex;gap:32px;white-space:nowrap;animation:bcscScroll 30s linear infinite}
@keyframes bcscScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.bcsc-strip-item{font-size:11px;color:#777;display:flex;align-items:center;gap:8px;flex-shrink:0}
.bcsc-strip-item b{color:#fff}
.bcsc-strip-live{color:var(--red);font-weight:700;font-size:10px;animation:blink 1s infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}

/* ================================================================
   HEADER
   ================================================================ */
.bcsc-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;box-shadow:0 1px 8px rgba(0,0,0,.06)}
.bcsc-header-row{display:flex;align-items:center;justify-content:space-between;height:62px;gap:20px}
.bcsc-logo{font-size:1.25rem;font-weight:800;letter-spacing:-0.5px;color:var(--ink)}
.bcsc-logo span{color:var(--red)}
.bcsc-logo:hover{color:var(--ink)}

/* NAV */
.bcsc-nav{display:flex;align-items:center;gap:2px}
.bcsc-nav ul{display:flex;align-items:center;gap:2px;list-style:none}
.bcsc-nav ul li a{font-size:12px;font-weight:600;padding:7px 12px;border-radius:6px;color:var(--muted);white-space:nowrap;display:block;transition:all .15s}
.bcsc-nav ul li a:hover,.bcsc-nav ul li.current-menu-item a{color:var(--ink);background:var(--bg)}
.bcsc-nav ul li.menu-hot a{color:var(--red)}
.bcsc-search-btn{background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:7px 14px;font-size:12px;color:var(--muted);cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .15s}
.bcsc-search-btn:hover{border-color:var(--red);color:var(--red)}

/* SEARCH BOX */
.bcsc-search-form{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);padding:16px;z-index:200}
.bcsc-search-form.active{display:block}
.bcsc-search-form form{display:flex;gap:8px;max-width:600px;margin:0 auto}
.bcsc-search-form input{flex:1;padding:10px 14px;border:1px solid var(--border);border-radius:8px;font-size:14px;outline:none}
.bcsc-search-form input:focus{border-color:var(--red)}
.bcsc-search-form button{background:var(--red);color:#fff;border:none;padding:10px 18px;border-radius:8px;font-weight:700;font-size:13px;cursor:pointer}

/* MOBILE NAV TOGGLE */
.bcsc-nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:4px;flex-direction:column;gap:5px}
.bcsc-nav-toggle span{display:block;width:22px;height:2px;background:var(--ink);border-radius:2px;transition:all .2s}

/* ================================================================
   HERO POST
   ================================================================ */
.bcsc-hero{background:var(--ink);border-radius:var(--radius);overflow:hidden;margin-bottom:24px;cursor:pointer}
.bcsc-hero a{display:block;color:inherit}
.bcsc-hero-img{aspect-ratio:16/9;overflow:hidden;position:relative;background:#1a1a2e}
.bcsc-hero-img img{width:100%;height:100%;object-fit:cover;opacity:.85;transition:transform .4s}
.bcsc-hero:hover .bcsc-hero-img img{transform:scale(1.03)}
.bcsc-hero-img .no-img{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:5rem;background:linear-gradient(135deg,#1a1a2e,#16213e)}
.bcsc-hero-body{padding:20px 24px}
.bcsc-hero-cat{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--red);margin-bottom:8px}
.bcsc-hero-title{font-size:1.35rem;font-weight:800;color:#fff;line-height:1.35;margin-bottom:10px}
.bcsc-hero-meta{font-size:11px;color:#555}
.bcsc-hero-meta a{color:#777}

/* ================================================================
   SECTION HEADER
   ================================================================ */
.bcsc-section-bar{display:flex;align-items:center;justify-content:space-between;padding:20px 0 14px;border-bottom:2px solid var(--ink);margin-bottom:16px}
.bcsc-section-title{font-size:15px;font-weight:800}
.bcsc-section-more{font-size:11px;font-weight:700;color:var(--red)}
.bcsc-section-more:hover{text-decoration:underline}

/* ================================================================
   NEWS LIST (recent posts)
   ================================================================ */
.bcsc-news-list{}
.bcsc-news-item{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}
.bcsc-news-item:first-child{padding-top:0}
.bcsc-news-item:last-child{border-bottom:none}
.bcsc-news-thumb{width:90px;height:66px;border-radius:8px;flex-shrink:0;overflow:hidden;background:var(--bg)}
.bcsc-news-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.bcsc-news-item:hover .bcsc-news-thumb img{transform:scale(1.05)}
.bcsc-news-thumb .no-thumb{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:1.8rem}
.bcsc-news-body{}
.bcsc-news-cat{font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--red);margin-bottom:4px}
.bcsc-news-title{font-size:13.5px;font-weight:700;line-height:1.4;color:var(--ink)}
.bcsc-news-item:hover .bcsc-news-title{color:var(--red)}
.bcsc-news-time{font-size:11px;color:var(--muted);margin-top:4px}

/* ================================================================
   NEWS GRID
   ================================================================ */
.bcsc-news-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:28px}
.bcsc-ng-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:border-color .2s}
.bcsc-ng-card:hover{border-color:var(--red)}
.bcsc-ng-img{aspect-ratio:16/9;overflow:hidden;background:var(--bg)}
.bcsc-ng-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.bcsc-ng-card:hover .bcsc-ng-img img{transform:scale(1.04)}
.bcsc-ng-img .no-img{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:2.5rem}
.bcsc-ng-body{padding:14px}
.bcsc-ng-cat{font-size:9px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--red);margin-bottom:5px}
.bcsc-ng-title{font-size:13px;font-weight:700;line-height:1.4;color:var(--ink)}
.bcsc-ng-card:hover .bcsc-ng-title{color:var(--red)}
.bcsc-ng-time{font-size:10px;color:var(--muted);margin-top:6px}

/* ================================================================
   SINGLE POST
   ================================================================ */
.bcsc-single{}
.bcsc-single-header{margin-bottom:24px}
.bcsc-single-cat{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--red);margin-bottom:10px}
.bcsc-single-title{font-size:clamp(1.4rem,4vw,2rem);font-weight:800;line-height:1.25;margin-bottom:14px}
.bcsc-single-meta{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--muted);padding:12px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:20px}
.bcsc-single-meta a{color:var(--muted);font-weight:600}
.bcsc-single-meta a:hover{color:var(--red)}
.bcsc-single-thumb{border-radius:var(--radius);overflow:hidden;margin-bottom:24px;aspect-ratio:16/9}
.bcsc-single-thumb img{width:100%;height:100%;object-fit:cover}
.bcsc-entry-content{font-size:15px;line-height:1.75;color:#333}
.bcsc-entry-content p{margin-bottom:18px}
.bcsc-entry-content h2{font-size:1.3rem;font-weight:800;margin:28px 0 12px;color:var(--ink)}
.bcsc-entry-content h3{font-size:1.1rem;font-weight:700;margin:22px 0 10px;color:var(--ink)}
.bcsc-entry-content ul,.bcsc-entry-content ol{padding-left:20px;margin-bottom:18px}
.bcsc-entry-content ul{list-style:disc}
.bcsc-entry-content ol{list-style:decimal}
.bcsc-entry-content li{margin-bottom:6px}
.bcsc-entry-content blockquote{border-left:4px solid var(--red);padding:12px 20px;background:#fff8f8;border-radius:0 8px 8px 0;margin:24px 0;font-style:italic;color:#555}
.bcsc-entry-content img{border-radius:8px;margin:16px 0}
.bcsc-entry-content a{color:var(--red);font-weight:600}
.bcsc-entry-content a:hover{text-decoration:underline}

/* ================================================================
   PAGINATION
   ================================================================ */
.bcsc-pagination{display:flex;gap:6px;justify-content:center;padding:28px 0}
.bcsc-pagination a,.bcsc-pagination span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;font-size:13px;font-weight:700;border:1px solid var(--border);color:var(--muted);transition:all .15s}
.bcsc-pagination a:hover,.bcsc-pagination span.current{background:var(--red);color:#fff;border-color:var(--red)}

/* ================================================================
   WC BANNER
   ================================================================ */
.bcsc-wc-banner{background:var(--ink);border-radius:var(--radius);padding:24px;margin-bottom:28px;overflow:hidden;position:relative}
.bcsc-wc-banner::after{content:"2026";position:absolute;right:-10px;bottom:-20px;font-size:7rem;font-weight:800;color:rgba(255,255,255,.04);line-height:1;pointer-events:none}
.bcsc-wc-eye{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--red);margin-bottom:8px}
.bcsc-wc-title{font-size:1.3rem;font-weight:800;color:#fff;line-height:1.3;margin-bottom:8px}
.bcsc-wc-desc{font-size:12px;color:#666;line-height:1.65;margin-bottom:16px}
.bcsc-wc-btn{display:inline-block;background:var(--red);color:#fff;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:9px 18px;border-radius:7px;transition:background .2s}
.bcsc-wc-btn:hover{background:var(--red2);color:#fff}
.bcsc-wc-stats{display:flex;gap:20px;margin-top:16px;padding-top:14px;border-top:1px solid #1e1e1e}
.bcsc-wc-stat{text-align:center}
.bcsc-wc-num{font-size:1.4rem;font-weight:800;color:#fff}
.bcsc-wc-lbl{font-size:9px;color:#555;letter-spacing:1px;text-transform:uppercase}

/* ================================================================
   SIDEBAR WIDGETS
   ================================================================ */
.bcsc-widget{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin-bottom:20px}
.bcsc-widget-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--border)}
.bcsc-widget-title{font-size:13px;font-weight:800;letter-spacing:-0.2px}
.bcsc-widget-more{font-size:11px;font-weight:700;color:var(--red)}
.bcsc-widget-more:hover{text-decoration:underline}
.widget{margin-bottom:20px}
.widget-title{font-size:13px;font-weight:800;padding:14px 16px;border-bottom:1px solid var(--border);margin:0}

/* WP default widgets inside bcsc-widget */
.bcsc-widget .widget{margin:0}
.bcsc-widget .widget-title{background:none;border-bottom:none;padding:0}
.widget_recent_entries ul li{padding:10px 16px;border-bottom:1px solid var(--bg);font-size:13px;font-weight:600}
.widget_recent_entries ul li:last-child{border-bottom:none}
.widget_recent_entries ul li a{color:var(--ink)}
.widget_recent_entries ul li a:hover{color:var(--red)}
.widget_recent_entries ul li .post-date{font-size:10px;color:var(--muted);display:block;margin-top:2px}
.widget_categories ul li{padding:8px 16px;border-bottom:1px solid var(--bg);font-size:13px}
.widget_categories ul li:last-child{border-bottom:none}
.widget_categories ul li a{color:var(--ink);font-weight:600}
.widget_categories ul li a:hover{color:var(--red)}
.widget_categories ul li .post-count{float:right;color:var(--muted);font-size:11px}

/* ================================================================
   JADWAL WIDGET
   ================================================================ */
.bcsc-match-row{display:flex;align-items:center;padding:10px 16px;border-bottom:1px solid var(--bg);gap:10px}
.bcsc-match-row:last-child{border-bottom:none}
.bcsc-match-row:hover{background:var(--bg)}
.bcsc-match-time{width:36px;font-weight:700;color:var(--muted);font-size:11px;text-align:center;flex-shrink:0}
.bcsc-match-time.live{color:var(--red)}
.bcsc-match-teams{flex:1;display:flex;flex-direction:column;gap:3px}
.bcsc-match-team{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600}
.bcsc-match-flag{font-size:13px;width:18px}
.bcsc-match-score{width:30px;text-align:center;font-weight:800;font-size:13px;flex-shrink:0}
.bcsc-match-score.live{color:var(--red)}

/* ================================================================
   KLASEMEN WIDGET
   ================================================================ */
.bcsc-kls-head{display:grid;grid-template-columns:20px 1fr 24px 24px 28px;gap:4px;padding:6px 16px;font-size:9px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--border)}
.bcsc-kls-row{display:grid;grid-template-columns:20px 1fr 24px 24px 28px;gap:4px;align-items:center;padding:8px 16px;border-bottom:1px solid var(--bg);font-size:12px}
.bcsc-kls-row:last-child{border-bottom:none}
.bcsc-kls-row:hover{background:var(--bg)}
.bcsc-kls-row.ucl{border-left:3px solid #2563eb}
.bcsc-kls-pos{color:var(--muted);font-weight:600;font-size:11px;text-align:center}
.bcsc-kls-team{display:flex;align-items:center;gap:6px;font-weight:600;font-size:12px;overflow:hidden}
.bcsc-kls-flag{font-size:12px;flex-shrink:0}
.bcsc-kls-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bcsc-kls-num{text-align:center;color:var(--muted);font-size:11px}
.bcsc-kls-pts{text-align:center;font-weight:800;font-size:13px}

/* ================================================================
   TOP SCORER WIDGET
   ================================================================ */
.bcsc-scorer-row{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid var(--bg);font-size:12px}
.bcsc-scorer-row:last-child{border-bottom:none}
.bcsc-scorer-rank{width:20px;font-weight:800;color:var(--muted);text-align:center}
.bcsc-scorer-rank.gold{color:#d97706}
.bcsc-scorer-flag{font-size:1.1rem}
.bcsc-scorer-info{flex:1}
.bcsc-scorer-name{font-weight:700}
.bcsc-scorer-club{font-size:10px;color:var(--muted)}
.bcsc-scorer-gol{font-weight:800;font-size:16px;color:var(--red)}

/* ================================================================
   ARCHIVE / CATEGORY
   ================================================================ */
.bcsc-archive-header{padding:24px 0 16px;border-bottom:2px solid var(--ink);margin-bottom:24px}
.bcsc-archive-label{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--red);margin-bottom:6px}
.bcsc-archive-title{font-size:1.6rem;font-weight:800}
.bcsc-archive-desc{font-size:13px;color:var(--muted);margin-top:6px}

/* ================================================================
   404 PAGE
   ================================================================ */
.bcsc-404{text-align:center;padding:80px 20px}
.bcsc-404-num{font-size:7rem;font-weight:800;color:var(--red);line-height:1}
.bcsc-404-msg{font-size:1.2rem;font-weight:700;margin:12px 0 8px}
.bcsc-404-sub{color:var(--muted);font-size:14px;margin-bottom:24px}
.bcsc-btn{display:inline-block;background:var(--red);color:#fff;font-size:13px;font-weight:700;padding:11px 24px;border-radius:8px}
.bcsc-btn:hover{background:var(--red2);color:#fff}

/* ================================================================
   FOOTER
   ================================================================ */
.bcsc-footer{background:var(--ink);color:#555;padding:40px 0 20px;margin-top:48px}
.bcsc-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px;margin-bottom:32px}
.bcsc-footer-brand .ft-logo{font-size:1.15rem;font-weight:800;color:#fff;margin-bottom:10px}
.bcsc-footer-brand .ft-logo span{color:var(--red)}
.bcsc-footer-brand p{font-size:12px;color:#444;line-height:1.65;max-width:240px}
.bcsc-footer-col h5{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#888;margin-bottom:14px}
.bcsc-footer-col a,.bcsc-footer-col ul li a{display:block;font-size:12px;color:#444;margin-bottom:8px;transition:color .15s}
.bcsc-footer-col a:hover,.bcsc-footer-col ul li a:hover{color:#fff}
.bcsc-footer-bottom{border-top:1px solid #1a1a1a;padding-top:16px;display:flex;justify-content:space-between;align-items:center;font-size:11px;flex-wrap:wrap;gap:8px}
.bcsc-footer-copy{color:#333}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media(max-width:900px){
  .bcsc-main-grid{grid-template-columns:1fr}
  .bcsc-nav{display:none}
  .bcsc-nav.open{display:block;position:absolute;top:62px;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);padding:12px 20px;z-index:99}
  .bcsc-nav.open ul{flex-direction:column}
  .bcsc-nav-toggle{display:flex}
  .bcsc-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:540px){
  .bcsc-news-grid{grid-template-columns:1fr}
  .bcsc-footer-grid{grid-template-columns:1fr}
  .bcsc-hero-title{font-size:1.1rem}
}
