/*
Theme Name: SumbarBiz
Theme URI: https://sumbarbiz.com
Author: SumbarBiz Team
Author URI: https://sumbarbiz.com
Description: Tema portal berita profesional untuk SumbarBiz - Sumatera Barat Business & News Portal. Tampilan mewah responsif dengan palet Navy dan Oranye.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sumbarbiz
Tags: news, portal, responsive, business, navy, orange, magazine
*/

/* ================================================================
   SUMBARBIZ THEME - CSS VARIABLES & RESET
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --navy:        #0A1628;
  --navy-mid:    #112240;
  --navy-light:  #1B3461;
  --navy-pale:   #E8EEF7;
  --orange:      #E8611A;
  --orange-dark: #C4500F;
  --orange-light:#FF7A35;
  --orange-pale: #FFF3EC;

  /* Neutrals */
  --white:       #FFFFFF;
  --gray-50:     #F8F9FA;
  --gray-100:    #F0F2F5;
  --gray-200:    #E4E7EB;
  --gray-300:    #CDD2D8;
  --gray-500:    #8A939F;
  --gray-700:    #4A5568;
  --gray-900:    #1A202C;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;
  --font-label:   'Oswald', 'Impact', sans-serif;

  /* Spacing */
  --gap-xs:  6px;
  --gap-sm:  12px;
  --gap-md:  20px;
  --gap-lg:  32px;
  --gap-xl:  48px;
  --gap-2xl: 64px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-card: 0 2px 16px rgba(10,22,40,0.10);
  --shadow-hover: 0 8px 32px rgba(10,22,40,0.18);
  --shadow-nav:  0 2px 24px rgba(10,22,40,0.22);

  /* Transitions */
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================================
   BREAKING NEWS TICKER
   ================================================================ */

.breaking-ticker {
  background: var(--orange);
  color: var(--white);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
}

.breaking-ticker .ticker-inner {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.breaking-ticker .ticker-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  padding: 4px 14px;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
  padding-right: 22px;
}

.ticker-wrapper {
  overflow: hidden;
  flex: 1;
}

.ticker-content {
  display: flex;
  gap: 60px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-content:hover { animation-play-state: paused; }

.ticker-item {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.ticker-item::before {
  content: '●';
  margin-right: 8px;
  opacity: 0.7;
  font-size: 8px;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================================
   TOP BAR
   ================================================================ */

.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.topbar-date {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.topbar-weather {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.7);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: color var(--transition);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
}

.social-links a:hover { color: var(--orange); border-color: var(--orange); }

.topbar-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 4px 14px;
  gap: 6px;
}

.topbar-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 12px;
  width: 160px;
}

.topbar-search input::placeholder { color: rgba(255,255,255,0.4); }

.topbar-search button {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  transition: color var(--transition);
}

.topbar-search button:hover { color: var(--orange); }

/* ================================================================
   HEADER / LOGO AREA
   ================================================================ */

.site-header {
  background: var(--navy-mid);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-nav);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 46px;
  height: 46px;
  background: var(--orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: -10px; right: -10px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}

.logo-text-wrap { line-height: 1; }

.logo-name {
  font-family: var(--font-label);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-name span { color: var(--orange); }

.logo-tagline {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background var(--transition);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   NAVIGATION
   ================================================================ */

.main-nav {
  background: var(--navy);
  border-top: 2px solid var(--orange);
  position: relative;
  z-index: 999;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  align-items: stretch;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  position: relative;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border-bottom-color: var(--orange);
}

/* Kategori Badge Color Coding */
.nav-menu > li[data-cat="bisnis"] > a:hover { border-bottom-color: #2196F3; }
.nav-menu > li[data-cat="pariwisata"] > a:hover { border-bottom-color: #4CAF50; }
.nav-menu > li[data-cat="peristiwa"] > a:hover { border-bottom-color: #FF5722; }
.nav-menu > li[data-cat="hukum"] > a:hover { border-bottom-color: #9C27B0; }
.nav-menu > li[data-cat="politik"] > a:hover { border-bottom-color: #F44336; }
.nav-menu > li[data-cat="kesehatan"] > a:hover { border-bottom-color: #00BCD4; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-hover);
  border-top: 3px solid var(--orange);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-menu > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown a:hover {
  background: var(--orange-pale);
  color: var(--orange);
  padding-left: 24px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn-pasang {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  white-space: nowrap;
}

.nav-btn-pasang:hover { background: var(--orange-dark); }

/* ================================================================
   HERO / HEADLINE SECTION
   ================================================================ */

.hero-section {
  background: var(--gray-100);
  padding: 24px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto auto;
  gap: 16px;
}

/* Main Hero Card */
.hero-main {
  grid-row: 1 / 2;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16/9;
  max-height: 440px;
  box-shadow: var(--shadow-hover);
  cursor: pointer;
}

.hero-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  opacity: 0.7;
}

.hero-main:hover img { transform: scale(1.04); }

.hero-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.4) 50%, transparent 100%);
}

.hero-main-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 24px;
}

.category-badge {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.category-badge.bisnis { background: #1565C0; }
.category-badge.pariwisata { background: #2E7D32; }
.category-badge.peristiwa { background: var(--orange); }
.category-badge.hukum { background: #6A1B9A; }
.category-badge.politik { background: #B71C1C; }
.category-badge.pendidikan { background: #0277BD; }
.category-badge.kesehatan { background: #00695C; }
.category-badge.teknologi { background: #1565C0; }
.category-badge.otomotif { background: #4E342E; }
.category-badge.olahraga { background: #1B5E20; }
.category-badge.entertainment { background: #880E4F; }

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

.hero-meta-sep { color: rgba(255,255,255,0.3); }

/* Side Hero Stack */
.hero-side {
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-side-card {
  display: flex;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  border-left: 3px solid var(--orange);
}

.hero-side-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(3px);
}

.hero-side-card:nth-child(2) { border-left-color: #1565C0; }
.hero-side-card:nth-child(3) { border-left-color: #2E7D32; }

.hero-side-img {
  width: 110px;
  flex-shrink: 0;
}

.hero-side-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-side-content {
  padding: 12px 12px 12px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-side-content h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-side-meta {
  font-size: 11px;
  color: var(--gray-500);
}

/* Hero Bottom Strip - Latest 4 */
.hero-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: 24px;
}

.hero-strip-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow var(--transition);
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-top: 3px solid var(--gray-200);
}

.hero-strip-card:hover { box-shadow: var(--shadow-hover); border-top-color: var(--orange); }

.strip-num {
  font-family: var(--font-label);
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
  transition: color var(--transition);
}

.hero-strip-card:hover .strip-num { color: var(--orange); }

.strip-content h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.strip-content span {
  font-size: 11px;
  color: var(--orange);
  font-weight: 600;
}

/* ================================================================
   AD BANNER AREA
   ================================================================ */

.ad-banner-section {
  background: var(--white);
  padding: 12px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.ad-banner-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-placeholder {
  background: linear-gradient(135deg, var(--navy-pale), #dde6f7);
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 13px;
  font-family: var(--font-label);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ad-leaderboard { width: 728px; height: 90px; }
.ad-medium-rect { width: 300px; height: 250px; }
.ad-sidebar { width: 300px; height: 250px; margin-bottom: 16px; }

/* ================================================================
   SECTION LABEL / HEADING
   ================================================================ */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--orange);
}

.section-title {
  font-family: var(--font-label);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title.blue::before { background: #1565C0; }
.section-title.green::before { background: #2E7D32; }
.section-title.red::before { background: #B71C1C; }
.section-title.purple::before { background: #6A1B9A; }
.section-title.teal::before { background: #00695C; }
.section-title.dark::before { background: #4E342E; }

.see-all {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}

.see-all:hover { gap: 8px; }
.see-all::after { content: '→'; }

/* ================================================================
   MAIN CONTENT AREA
   ================================================================ */

.main-content-section {
  padding: 32px 0;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--gap-lg);
  align-items: start;
}

/* ================================================================
   NEWS CARD STYLES
   ================================================================ */

/* Big Feature Card */
.news-card-big {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: var(--gap-md);
}

.news-card-big:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.news-card-big .card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-card-big .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card-big:hover .card-img img { transform: scale(1.05); }

.news-card-big .card-body {
  padding: 20px 22px 22px;
}

.news-card-big .card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 10px 0 10px;
  transition: color var(--transition);
}

.news-card-big:hover .card-title { color: var(--orange); }

.news-card-big .card-excerpt {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.card-meta .author { font-weight: 600; color: var(--navy-light); }
.card-meta-dot { color: var(--gray-300); }

/* Horizontal List Card */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-card-h {
  display: flex;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  padding: 12px;
}

.news-card-h:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}

.news-card-h .card-img {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.news-card-h .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card-h:hover .card-img img { transform: scale(1.08); }

.news-card-h .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card-h .card-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}

.news-card-h:hover .card-title { color: var(--orange); }

/* Grid 3 columns */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.news-card-v {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}

.news-card-v:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.news-card-v .card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.news-card-v .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card-v:hover .card-img img { transform: scale(1.07); }

.news-card-v .card-body {
  padding: 14px 16px 16px;
}

.news-card-v .card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin: 8px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}

.news-card-v:hover .card-title { color: var(--orange); }

/* ================================================================
   KATEGORI SECTION (Full width blocks)
   ================================================================ */

.category-section {
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
}

.cat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.cat-main-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 16/9;
  max-height: 300px;
}

.cat-main-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: transform 0.5s ease;
}

.cat-main-card:hover img { transform: scale(1.05); }

.cat-main-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.9), transparent 60%);
}

.cat-main-card .content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
}

.cat-main-card .content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.cat-main-card:hover .content h3 { color: var(--orange-light); }

.cat-side-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-side-item {
  display: flex;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 10px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all var(--transition);
  border-left: 3px solid var(--gray-200);
}

.cat-side-item:hover { transform: translateX(4px); border-left-color: var(--orange); }

.cat-side-item img {
  width: 80px; height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cat-side-item h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================================================
   SIDEBAR
   ================================================================ */

.sidebar { position: sticky; top: 80px; }

.widget {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  overflow: hidden;
}

.widget-header {
  background: var(--navy);
  padding: 12px 18px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  border-left: 4px solid var(--orange);
}

.widget-body { padding: 16px; }

/* Popular News Widget */
.popular-list { display: flex; flex-direction: column; gap: 12px; }

.popular-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.popular-item:last-child { border-bottom: none; padding-bottom: 0; }
.popular-item:hover { transform: translateX(3px); }

.popular-num {
  font-family: var(--font-label);
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  min-width: 28px;
  transition: color var(--transition);
}

.popular-item:nth-child(1) .popular-num { color: var(--orange); }
.popular-item:nth-child(2) .popular-num { color: var(--navy-light); }
.popular-item:nth-child(3) .popular-num { color: var(--gray-500); }

.popular-item:hover .popular-num { color: var(--orange); }

.popular-content h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color var(--transition);
}

.popular-item:hover h4 { color: var(--orange); }

.popular-content span { font-size: 11px; color: var(--gray-500); }

/* Tags Widget */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-item {
  font-size: 11px;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-label);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid var(--gray-200);
}

.tag-item:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* ================================================================
   VIDEO / MULTIMEDIA SECTION
   ================================================================ */

.video-section {
  background: var(--navy);
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: var(--orange);
  opacity: 0.05;
  border-radius: 50%;
}

.video-section .section-title { color: var(--white); }
.video-section .section-title::before { background: var(--orange); }
.video-section .section-header { border-bottom-color: rgba(255,255,255,0.1); }
.video-section .section-header::after { background: var(--orange); }

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.video-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}

.video-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img { transform: scale(1.07); }

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,22,40,0.4);
  transition: background var(--transition);
}

.play-btn-icon {
  width: 48px; height: 48px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  padding-left: 3px;
  box-shadow: 0 4px 20px rgba(232,97,26,0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover .play-btn-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(232,97,26,0.7);
}

.video-info { padding: 14px 16px 16px; }

.video-info h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  margin-bottom: 6px;
}

.video-info span { font-size: 11px; color: rgba(255,255,255,0.45); }

/* ================================================================
   OPINI / KOLOM SECTION
   ================================================================ */

.opini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.opini-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all var(--transition);
  border-top: 4px solid var(--gray-200);
}

.opini-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-top-color: var(--orange);
}

.opini-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.opini-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-pale);
  border: 3px solid var(--gray-200);
  overflow: hidden;
  flex-shrink: 0;
}

.opini-avatar img { width: 100%; height: 100%; object-fit: cover; }

.opini-author-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}

.opini-author-title {
  font-size: 11px;
  color: var(--gray-500);
}

.opini-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 10px;
}

.opini-card p {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  margin-top: 32px;
}

.footer-top {
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 40px;
}

.footer-about .logo-name { font-size: 20px; margin-bottom: 4px; }

.footer-about p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 14px 0 18px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--orange);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--orange);
  font-size: 16px;
  line-height: 1;
}

.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--orange); }

/* ================================================================
   SCROLL TO TOP
   ================================================================ */

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(232,97,26,0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--orange-dark); }

/* ================================================================
   MOBILE NAV DRAWER
   ================================================================ */

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 290px; height: 100vh;
  background: var(--navy);
  z-index: 2000;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 4px 0 30px rgba(0,0,0,0.4);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy-mid);
}

.mobile-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
}

.mobile-menu-list { padding: 12px 0; }

.mobile-menu-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.mobile-menu-list li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border-left-color: var(--orange);
  padding-left: 26px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
  backdrop-filter: blur(2px);
}

.mobile-overlay.active { display: block; }

/* Mobile Search Bar */
.mobile-search {
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-search input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--white);
  font-size: 13px;
  outline: none;
}

.mobile-search input::placeholder { color: rgba(255,255,255,0.4); }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .news-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .opini-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu > li > a { padding: 13px 12px; font-size: 12px; }
}

@media (max-width: 768px) {
  /* Hide desktop nav, show hamburger */
  .main-nav .nav-inner { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .topbar { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .hero-main { max-height: 240px; border-radius: var(--radius-md); }
  .hero-main-content { padding: 16px; }
  .hero-main-title { font-size: 16px; }

  .hero-strip { grid-template-columns: 1fr; padding-bottom: 16px; }

  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }

  .news-grid-3 { grid-template-columns: 1fr; }

  .cat-grid { grid-template-columns: 1fr; }
  .cat-side-list { display: grid; grid-template-columns: 1fr 1fr; }

  .video-grid { grid-template-columns: 1fr; }

  .opini-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .ad-leaderboard { width: 100%; height: 60px; }

  .section-title { font-size: 15px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-strip-card { flex-direction: column; }
  .strip-num { font-size: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-main-title { font-size: 15px; }
  .cat-side-list { grid-template-columns: 1fr; }
  .logo-name { font-size: 18px; }
  .logo-tagline { display: none; }
}

/* ================================================================
   UTILITIES
   ================================================================ */

.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--gray-500); }
.font-label { font-family: var(--font-label); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-load 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-load {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 0;
}

.page-btn {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover, .page-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.page-btn.active { background: var(--orange); border-color: var(--orange); }
