/* ==========================================================================
   LAMANDAU SEGA DIGITAL MEDIA - WORDPRESS UNDERSCORES (_s) COMPATIBLE CSS SYSTEM (V2)
   ========================================================================== */

:root {
  /* Core Brand Color Palette */
  --primary-navy: #002B49;
  --primary-navy-dark: #001A2E;
  --primary-navy-light: #0B456E;
  
  --accent-red: #D9383A;
  --accent-red-hover: #B82527;
  --accent-red-subtle: #FFF0F0;

  --accent-gold: #C5A059;
  --accent-gold-dark: #A47E3B;
  --accent-gold-light: #FFFBF0;

  /* Neutral Backgrounds & Cards */
  --bg-main: #F4F6F9;
  --bg-card: #FFFFFF;
  --bg-subtle: #E2E8F0;

  /* Typography Colors */
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;

  /* Typography Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-editorial: 'Merriweather', Georgia, serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);

  /* Layout Containers */
  --site-max-width: 1280px;
  --container-max-width: 1200px;

  /* Radius & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   WORDPRESS UNDERSCORES (_s) LAYOUT WRAPPERS & UTILITIES
   ========================================================================== */

/* #page .site-wrapper: WordPress Underscores root wrapper */
.site-wrapper,
#page.site {
  width: 100%;
  max-width: var(--site-max-width, 1280px);
  margin: 0 auto;
  background-color: #FFFFFF;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* #primary .site-main: Main content wrapper */
.site-main,
#primary {
  width: 100%;
  box-sizing: border-box;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

/* Containers (.container & .alignwide) */
.container,
.alignwide {
  width: 100%;
  max-width: var(--container-max-width, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

/* Default Content Container Boxed Layout with Side White Space */
.entry-content > *:not(.alignfull):not(.is-full-width),
.site-main > article > .entry-content > *:not(.alignfull):not(.is-full-width) {
  width: 100%;
  max-width: var(--container-max-width, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

/* Full Width Block Override (No Side White Space) */
.alignfull,
.is-full-width,
.full-width-section {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.container-narrow,
.aligncenter-reading {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.container-full,
.alignfull {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.content-block-wrapper {
  max-width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   TOP BAR & HEADER (WP masthead)
   ========================================================================== */
.top-bar {
  background-color: var(--primary-navy-dark);
  color: #E2E8F0;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #CBD5E1;
  font-weight: 500;
  white-space: nowrap;
}

.trending-pills {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  white-space: nowrap;
  min-width: 0;
}

.trending-label {
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.trending-pill {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.12rem 0.55rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #F1F5F9;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.trending-pill:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: #FFFFFF;
}

.weather-badge-mobile {
  display: none;
}

/* Responsive Top Bar Rules for Tablet & Mobile (<992px) */
@media (max-width: 991px) {
  .top-bar {
    padding: 0.5rem 0;
  }

  .top-bar .container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .top-bar-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
  }

  .weather-badge-mobile {
    display: inline-flex;
    align-items: center;
  }

  .desktop-only-weather {
    display: none !important;
  }

  .trending-pills {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.05);
  }

  /* Subtle Slate Gray Mobile Scrollbar */
  .trending-pills::-webkit-scrollbar {
    display: block !important;
    height: 3px !important;
  }

  .trending-pills::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
  }

  .trending-pills::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 10px;
  }

  .trending-pills::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
  }
}

/* Main Site Header (#masthead) */
.site-header,
#masthead {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 1.1rem 0;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand-logo,
.site-branding {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.logo-main,
.site-title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--primary-navy);
  line-height: 1.1;
}

.logo-main span,
.site-title span {
  color: var(--accent-red);
}

.logo-tagline,
.site-description {
  font-size: clamp(0.58rem, 1.4vw, 0.725rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: clamp(0.2px, 0.35vw, 1.4px);
  color: var(--text-muted);
  margin-top: 0.3rem;
  line-height: 1.35;
}

.custom-logo-link,
.custom-logo {
  display: block;
  max-height: 52px;
  width: auto;
}

.custom-logo-link img,
img.custom-logo,
.site-logo-img {
  height: 52px;
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

/* Commercial Leaderboard Header Ad */
.header-ad-space {
  display: none;
}

@media (min-width: 992px) {
  .header-ad-space {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border: 1px solid #334155;
    border-radius: var(--radius-md);
    padding: 0.55rem 1.1rem;
    max-width: 570px;
    width: 100%;
    min-height: 70px;
    position: relative;
    box-shadow: var(--shadow-sm);
    flex-shrink: 1;
    box-sizing: border-box;
    overflow: hidden;
  }

  .header-ad-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 75%;
  }

  .header-ad-content img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    flex-shrink: 0;
  }

  .header-ad-text h5 {
    color: #FFFFFF;
    font-size: 0.825rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-ad-text p {
    color: #94A3B8;
    font-size: 0.7rem;
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-ad-header {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B8860B 100%);
    color: var(--primary-navy-dark);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    transition: var(--transition-fast);
  }
  .btn-ad-header:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.4);
  }
}

/* Sticky Main Navigation (#site-navigation) */
.main-nav,
#site-navigation {
  background-color: var(--primary-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  width: 100%;
}

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

.nav-menu,
.menu,
#primary-menu {
  display: flex;
  list-style: none;
  gap: 0.1rem;
}

.nav-link,
.menu-item a {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  color: #F1F5F9;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
}

.nav-link:hover, .nav-link.active,
.menu-item a:hover, .menu-item.current-menu-item a {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-link.active::after,
.menu-item.current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background-color: var(--accent-red);
}

.nav-link-law {
  color: var(--accent-gold) !important;
  font-weight: 700;
}

.mobile-toggle,
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
}

@media (max-width: 991px) {
  .nav-menu, .menu, #primary-menu {
    display: none;
  }
  .mobile-toggle, .menu-toggle {
    display: block;
  }
}

/* ==========================================================================
   BREAKING NEWS TICKER
   ========================================================================== */
.news-ticker-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 0.45rem 0;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  overflow: hidden;
}

.ticker-label {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-hover) 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  margin-right: 0.85rem;
  letter-spacing: 0.6px;
  flex-shrink: 0;
  animation: blob-morph 4s ease-in-out infinite;
  box-shadow: 0 3px 10px rgba(217, 56, 58, 0.35);
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.ticker-wrapper {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-seamless 30s linear infinite;
}

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

.ticker-text {
  display: inline-block;
  color: var(--text-dark);
  font-weight: 600;
  white-space: nowrap;
}

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

/* ==========================================================================
   HERO NEWS SECTION & FEATURED VIDEO MEDIA
   ========================================================================== */
.hero-news-section {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  margin: 1.5rem 0;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.85fr 1.15fr;
  }
}

/* Main Featured Card */
.featured-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  background-color: #000000;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
}

.featured-media-container,
.featured-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000000;
}

.featured-media-container img,
.featured-video-container iframe,
.featured-video-container video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  object-fit: cover;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: #FF0000;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.4);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-main);
  color: var(--primary-navy);
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem 0.1rem 0.5rem;
  border-radius: 0 3px 3px 0;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-left: 2.5px solid var(--accent-red);
  margin-bottom: 0.35rem;
  box-shadow: var(--shadow-sm);
}

.category-badge.gold {
  background-color: var(--accent-gold-light);
  color: var(--primary-navy-dark);
  border-left-color: var(--accent-gold);
}

.category-badge.navy {
  background-color: #F1F5F9;
  color: var(--primary-navy-dark);
  border-left-color: var(--primary-navy);
}

.featured-overlay .category-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.65rem;
  letter-spacing: 0.6px;
  border-left-width: 3.5px;
}

.featured-overlay {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.4rem 1.25rem 1.4rem;
  background: linear-gradient(180deg, rgba(0, 26, 46, 0) 0%, rgba(0, 26, 46, 0.96) 75%);
  color: #FFFFFF;
  width: 100%;
  box-sizing: border-box;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

@media (min-width: 768px) {
  .featured-title {
    font-size: 1.65rem;
  }
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.775rem;
  color: #E2E8F0;
  font-weight: 500;
  flex-wrap: wrap;
}

.featured-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.featured-meta .meta-icon {
  width: 14px;
  height: 14px;
  stroke: var(--accent-gold);
  flex-shrink: 0;
}

/* Secondary Hero News List */
.hero-secondary-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  height: 100%;
  justify-content: space-between;
}

.secondary-news-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  display: flex;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
  align-items: center;
}

.secondary-news-card:hover {
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.secondary-news-card .card-thumb {
  width: 96px;
  min-width: 96px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

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

.secondary-news-card:hover .card-thumb img {
  transform: scale(1.06);
}

.secondary-news-card .card-thumb .video-duration-badge,
.secondary-news-card .card-thumb span {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  font-size: 0.58rem;
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: 800;
  z-index: 2;
}

.secondary-news-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.secondary-news-card .card-title {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
  word-wrap: break-word;
}

.secondary-news-card .card-title a:hover {
  color: var(--accent-red);
}

.secondary-news-card .card-meta {
  font-size: 0.675rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   COMMERCIAL IN-FEED BANNER AD SECTION
   ========================================================================== */
.commercial-ad-banner-section {
  margin: 1.5rem 0;
  width: 100%;
  box-sizing: border-box;
}

/* In-Feed Commercial & Public Opinion Banner Ad Card */
.infeed-ad-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.ad-tag-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--primary-navy-dark);
  font-size: 0.625rem;
  font-weight: 900;
  padding: 0.22rem 0.75rem;
  letter-spacing: 0.8px;
  box-shadow: 0 3px 10px rgba(197, 160, 89, 0.35);
  animation: blob-morph 4s ease-in-out infinite;
  margin-bottom: 0.4rem;
}

.infeed-ad-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  min-width: 0;
}

.infeed-ad-info img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  flex-shrink: 0;
}

.infeed-ad-text {
  min-width: 0;
}

.infeed-ad-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}

.infeed-ad-text p {
  font-size: 0.8rem;
  color: #CBD5E1;
  margin-top: 0.2rem;
  line-height: 1.4;
}

.btn-ad-infeed {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #B8860B 100%);
  color: var(--primary-navy-dark);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  text-align: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ad-infeed:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(197, 160, 89, 0.4);
}

/* Mobile Refinements for In-Feed Ad Card (Option C: Centered Layout) */
@media (max-width: 767px) {
  .infeed-ad-card {
    padding: 1.4rem 1.15rem;
    gap: 0.85rem;
    text-align: center;
    align-items: center;
  }

  .infeed-ad-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    width: 100%;
  }

  .infeed-ad-info img {
    width: 65px;
    height: 65px;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
    margin: 0 auto 0.2rem auto;
  }

  .infeed-ad-text {
    text-align: center;
    width: 100%;
  }

  .ad-tag-badge {
    font-size: 0.6rem;
    padding: 0.22rem 0.7rem;
    margin: 0 auto 0.4rem auto;
    display: inline-block;
  }

  .infeed-ad-text h4 {
    font-size: 0.975rem;
    line-height: 1.35;
    margin-bottom: 0.25rem;
  }

  .infeed-ad-text p {
    font-size: 0.775rem;
    line-height: 1.45;
    max-width: 95%;
    margin: 0 auto;
  }

  .btn-ad-infeed {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.65rem 1rem;
    margin-top: 0.35rem;
    font-size: 0.825rem;
    box-sizing: border-box;
  }
}

/* Tablet & Desktop Layout for In-Feed Ad Card (>=768px) */
@media (min-width: 768px) {
  .infeed-ad-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.6rem;
    text-align: left;
    gap: 1.25rem;
  }

  .infeed-ad-info {
    flex-direction: row;
    align-items: center;
    text-align: left;
    width: auto;
    gap: 1.1rem;
    flex: 1;
  }

  .infeed-ad-info img {
    margin: 0;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
  }

  .infeed-ad-text {
    text-align: left;
    width: auto;
  }

  .ad-tag-badge {
    margin: 0 0 0.35rem 0;
  }

  .infeed-ad-text p {
    max-width: 100%;
    margin: 0;
  }

  .btn-ad-infeed {
    width: auto;
    min-width: unset;
    flex-shrink: 0;
    margin-top: 0;
    padding: 0.65rem 1.35rem;
  }
}

@media (min-width: 992px) {
  .infeed-ad-card {
    padding: 1.25rem 1.75rem;
  }
}

/* Visi & Misi Grid Layout (Desktop & Tablet: 2 Columns, Mobile <640px: 1 Column) */
.visi-misi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 640px) {
  .visi-misi-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* Archive Header Dayak Amber Ornament (Top Right Watermark) */
.archive-header {
  position: relative;
  overflow: hidden;
}

.archive-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -50px;
  width: 280px;
  height: 280px;
  background-image: url("../images/ukir%20amber%201.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.04;
  filter: drop-shadow(0 0 4px rgba(197, 160, 89, 0.08));
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   PAK VIC AUTHORITATIVE COLUMN & LEGAL SERVICES SECTION
   ========================================================================== */
.authoritative-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #001A2E 0%, #003358 100%);
  color: #FFFFFF;
  padding: 2.75rem 0;
  margin: 2.5rem 0;
  border-top: 3.5px solid var(--accent-gold);
  border-bottom: 3.5px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  width: 100%;
  box-sizing: border-box;
}

.authoritative-section::before {
  content: '';
  position: absolute;
  top: -45px;
  right: -45px;
  left: auto;
  width: 340px;
  height: 340px;
  background-image: url("../images/ukir%20amber%201.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.10;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.15));
  pointer-events: none;
  z-index: 1;
}

.authoritative-section .container {
  position: relative;
  z-index: 2;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  .auth-wrapper {
    grid-template-columns: 310px 1fr;
  }
}

.auth-profile-box {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  width: 100%;
  box-sizing: border-box;
}

.auth-portrait {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem auto;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.auth-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
}

.auth-title {
  font-size: 0.825rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.auth-bio {
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.btn-legal-consult {
  display: inline-block;
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #B8860B 100%);
  color: var(--primary-navy-dark);
  font-weight: 800;
  font-size: 0.825rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
}

.btn-legal-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(197, 160, 89, 0.45);
}

.auth-content-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}

.auth-section-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.75rem;
}

.auth-badge {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--primary-navy-dark);
  font-size: 0.725rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.8rem;
  display: inline-block;
  animation: blob-morph 4s ease-in-out infinite;
  box-shadow: 0 3px 10px rgba(197, 160, 89, 0.35);
}

.auth-section-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

.opinion-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .opinion-articles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.opinion-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  transition: var(--transition-fast);
  box-sizing: border-box;
  width: 100%;
}

.opinion-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
}

.opinion-card .op-tag {
  font-size: 0.725rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.opinion-card .op-title {
  font-family: var(--font-heading);
  font-size: 1.025rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.4rem 0;
  color: #FFFFFF;
}

.opinion-card .op-excerpt {
  font-size: 0.825rem;
  color: #94A3B8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   MAIN CONTENT & SIDEBAR LAYOUT
   ========================================================================== */
.main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding-bottom: 3rem;
  width: 100%;
}

@media (max-width: 991px) {
  .main-layout {
    padding-bottom: 1.5rem;
    gap: 1.5rem;
  }
}

.sidebar-column {
  width: 100%;
}

@media (min-width: 992px) {
  .main-layout {
    grid-template-columns: 2.2fr 1fr;
  }

  /* Sticky Scroll untuk halaman About V2, Post Index V2, Single V2, dan Opini & Saran V2 */
  .post-index-v2 .main-layout,
  .about-v2 .main-layout,
  .single-v2 .main-layout,
  .opini-saran-v2 .main-layout {
    align-items: start;
  }

  .post-index-v2 .sidebar-column,
  .about-v2 .sidebar-column,
  .single-v2 .sidebar-column,
  .opini-saran-v2 .sidebar-column {
    position: sticky;
    top: 3.75rem;
    align-self: start;
  }
}

.section-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  width: 100%;
}

@media (max-width: 767px) {
  .section-header-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
  }

  .section-header-line .search-form {
    width: 100% !important;
    max-width: 100% !important;
  }

  .section-header-line .section-title-text {
    font-size: 1.05rem;
  }
}

/* Responsive Typography Scaling for Mobile (<767px) & Tablet (768px-991px) */
@media (max-width: 767px) {
  .article-title {
    font-size: 1.55rem !important;
    line-height: 1.35 !important;
  }
  .article-body-text p {
    font-size: 0.975rem !important;
    line-height: 1.75 !important;
  }
  .article-body-text h3 {
    font-size: 1.15rem !important;
  }
  .infeed-ad-card h4 {
    font-size: 0.9rem !important;
  }
  .infeed-ad-card p {
    font-size: 0.775rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .article-title {
    font-size: 1.85rem !important;
    line-height: 1.3 !important;
  }
  .article-body-text p {
    font-size: 1.025rem !important;
    line-height: 1.8 !important;
  }
  .article-body-text h3 {
    font-size: 1.25rem !important;
  }
}

.section-header-line::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 75px;
  height: 2.5px;
  background-color: var(--accent-red);
}

.section-title-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-all-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-red);
}

.view-all-link:hover {
  color: var(--accent-red-hover);
}

/* News List Cards Grid */
.news-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
}

@media (min-width: 640px) {
  .news-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.news-card-std {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

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

/* Static Page Reset (no card box border for about-v2.html) */
.page.hentry,
.type-page {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 0 !important;
}

.page.hentry:hover,
.type-page:hover {
  transform: none !important;
  box-shadow: none !important;
}

.news-card-std .card-image,
.post-thumbnail {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.news-card-std .card-image img,
.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card-std:hover .card-image img,
.hentry:hover .post-thumbnail img {
  transform: scale(1.06);
}

.news-card-std .card-body,
.entry-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-std .card-title,
.entry-title {
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.news-card-std .card-title a:hover,
.entry-title a:hover {
  color: var(--accent-red);
}

.news-card-std .card-excerpt,
.entry-summary {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.5;
}

.news-card-std .card-footer-meta,
.entry-meta {
  font-size: 0.725rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  border-top: 1px solid var(--bg-subtle);
  padding-top: 0.65rem;
}

/* Sidebar Widgets (#secondary.widget-area) */
.sidebar-widget,
.widget,
#secondary .widget {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

#secondary .widget:last-child,
.sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-widget .section-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
}

.sidebar-widget .section-title-text {
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.sidebar-widget .view-all-link {
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Loker Job Board Widget */
.loker-item {
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--border-color);
}

.loker-item:last-child {
  border-bottom: none;
}

.loker-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.loker-company {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.loker-status-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-main);
  color: var(--primary-navy);
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem 0.15rem 0.6rem;
  border-radius: 0 3px 3px 0;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-top: 0.35rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--primary-navy);
}

.status-active {
  background-color: #F0FDF4;
  color: #166534;
  border-left: 3.5px solid #22C55E;
}

.status-expiring {
  background-color: #FEFCE8;
  color: #854D0E;
  border-left: 3.5px solid #EAB308;
}

/* Sidebar Commercial Banner Ad Widget */
/* Sidebar Commercial Banner Ad Widget (Desktop Original: Centered Vertical Widget) */
.sidebar-ad-card {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border: 1.5px dashed #475569;
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sidebar-ad-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.sidebar-ad-card .ad-label {
  font-size: 0.625rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--primary-navy-dark);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  display: inline-block;
  padding: 0.2rem 0.7rem;
  animation: blob-morph 4s ease-in-out infinite;
  box-shadow: 0 3px 10px rgba(197, 160, 89, 0.35);
}

.sidebar-ad-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
  font-weight: 800;
  text-align: center;
}

.sidebar-ad-card p {
  font-size: 0.775rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
  text-align: center;
}

.btn-sidebar-ad,
.wp-block-button.btn-sidebar-ad .wp-block-button__link,
.wp-block-button.btn-sidebar-ad a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #B8860B 100%) !important;
  color: var(--primary-navy-dark) !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  padding: 0.65rem 1.35rem !important;
  border-radius: var(--radius-sm) !important;
  white-space: nowrap !important;
  text-align: center !important;
  box-shadow: var(--shadow-sm) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border: none !important;
  text-decoration: none !important;
  transition: var(--transition-fast) !important;
}

.btn-sidebar-ad:hover,
.wp-block-button.btn-sidebar-ad .wp-block-button__link:hover,
.wp-block-button.btn-sidebar-ad a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 12px rgba(197, 160, 89, 0.4) !important;
  color: var(--primary-navy-dark) !important;
}

/* Mobile Adjustments (<767px) for Sidebar Ad Card */
@media (max-width: 767px) {
  .sidebar-ad-card {
    padding: 1.35rem 1.1rem;
    gap: 0.85rem;
  }

  .sidebar-ad-content p,
  .sidebar-ad-card p {
    margin-bottom: 0 !important;
  }

  .btn-sidebar-ad {
    width: 100%;
    max-width: 100%;
    padding: 0.65rem 1rem;
    margin-top: 0.35rem;
    font-size: 0.825rem;
  }
}

/* Tablet Specific Layout for Sidebar Ad Card (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .sidebar-ad-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 1.25rem 1.6rem;
    gap: 1.25rem;
  }

  .sidebar-ad-content {
    align-items: flex-start;
    text-align: left;
  }

  .sidebar-ad-card h4,
  .sidebar-ad-card p {
    text-align: left;
  }

  .sidebar-ad-card p {
    margin-bottom: 0;
  }

  .btn-sidebar-ad {
    width: auto;
    flex-shrink: 0;
    margin-top: 0;
    padding: 0.65rem 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   FOOTER (#colophon)
   ========================================================================== */
.site-footer,
#colophon {
  background-color: var(--primary-navy-dark);
  color: #94A3B8;
  padding-top: 3rem;
  font-size: 0.85rem;
  border-top: 4px solid var(--accent-red);
  width: 100%;
  position: relative;
  overflow: hidden;
}

@media (max-width: 991px) {
  .site-footer,
  #colophon {
    padding-top: 1.75rem;
  }
}

#colophon .container {
  position: relative;
  z-index: 2;
}

#colophon::before {
  content: '';
  position: absolute;
  bottom: -45px;
  left: -45px;
  right: auto;
  width: 320px;
  height: 320px;
  background-image: url("../images/ukir%20amber%201.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.15;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.2));
  pointer-events: none;
  z-index: 1;
}

.footer-widgets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

@media (min-width: 768px) {
  .footer-widgets {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .logo-main {
  color: #FFFFFF;
}

.footer-brand p {
  margin-top: 0.75rem;
  line-height: 1.65;
  color: #CBD5E1;
  font-size: 0.85rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #64748B;
}

/* Mobile Menu Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100%;
  background-color: var(--primary-navy-dark);
  z-index: 2000;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem;
  box-shadow: 6px 0 20px rgba(0,0,0,0.4);
}

.mobile-drawer.open {
  left: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

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

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-links a {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  display: block;
}

/* ==========================================================================
   CATEGORY BADGE DESIGN VARIATIONS (SHOWCASE STYLES)
   ========================================================================== */

/* Keyframe Animations */
@keyframes shimmer-sweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes radar-ripple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes audio-bar-1 { 0%, 100% { height: 4px; } 50% { height: 14px; } }
@keyframes audio-bar-2 { 0%, 100% { height: 12px; } 50% { height: 5px; } }
@keyframes audio-bar-3 { 0%, 100% { height: 6px; } 50% { height: 15px; } }

@keyframes blob-morph {
  0% { border-radius: 18px 6px 18px 6px; }
  50% { border-radius: 6px 18px 6px 18px; }
  100% { border-radius: 18px 6px 18px 6px; }
}

@keyframes flame-pulse {
  0% { box-shadow: 0 0 8px rgba(239, 68, 68, 0.6), 0 0 16px rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 16px rgba(239, 68, 68, 0.9), 0 0 24px rgba(245, 158, 11, 0.7); }
  100% { box-shadow: 0 0 8px rgba(239, 68, 68, 0.6), 0 0 16px rgba(245, 158, 11, 0.4); }
}

/* Variant 1: Modern Pill with Pulsing Live Dot */
.badge-v1-pill-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(217, 56, 58, 0.12);
  border: 1px solid rgba(217, 56, 58, 0.3);
  color: #D9383A;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.badge-v1-pill-dot .dot {
  width: 6px;
  height: 6px;
  background-color: #D9383A;
  border-radius: 50%;
  animation: badge-pulse 1.8s infinite;
}

/* Variant 2: Glassmorphism / Frosted Acrylic Tag */
.badge-v2-glass {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Variant 3: Dual-Tone Segmented Chip */
.badge-v3-duotone {
  display: inline-flex;
  align-items: stretch;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.badge-v3-duotone .badge-prefix {
  background-color: var(--primary-navy);
  color: var(--accent-gold);
  padding: 0.22rem 0.5rem;
  display: flex;
  align-items: center;
}
.badge-v3-duotone .badge-text {
  background-color: var(--accent-red);
  color: #FFFFFF;
  padding: 0.22rem 0.6rem;
  display: flex;
  align-items: center;
}

/* Variant 4: Elevated 3D Soft Shadow Pill */
.badge-v4-elevated {
  display: inline-block;
  background: linear-gradient(135deg, #D9383A 0%, #B82527 100%);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(217, 56, 58, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.badge-v4-elevated:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(217, 56, 58, 0.45);
}

/* Variant 5: Neon Cyber / Tech Gradient Outline */
.badge-v5-gradient-border {
  display: inline-flex;
  align-items: center;
  position: relative;
  background: #0F172A;
  color: #F8FAFC;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border: 1px solid transparent;
  background-image: linear-gradient(#0F172A, #0F172A), linear-gradient(135deg, #D9383A, #C5A059);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* Variant 6: Minimalist Left Accent Ribbon */
.badge-v6-ribbon {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-main);
  color: var(--primary-navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem 0.2rem 0.75rem;
  border-radius: 0 4px 4px 0;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-left: 3px solid var(--accent-red);
  box-shadow: var(--shadow-sm);
}

/* Variant 7: Metallic Gold / Editorial Prestige */
.badge-v7-metallic {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #DFB96C 0%, #C5A059 50%, #A47E3B 100%);
  color: #001A2E;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.4);
}

/* Variant 8: Circular Icon Avatar Capsule */
.badge-v8-icon-avatar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.18rem 0.65rem 0.18rem 0.25rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}
.badge-v8-icon-avatar .icon-box {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

/* Variant 9: Dual Wave Radar Beacon (Live News Element) */
.badge-v9-radar-beacon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
  border: 1.5px solid #6366F1;
  color: #EEF2FF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.22rem 0.7rem;
  border-radius: 6px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.badge-v9-radar-beacon .radar-wrapper {
  position: relative;
  width: 8px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-v9-radar-beacon .radar-core {
  width: 6px;
  height: 6px;
  background-color: #6366F1;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.badge-v9-radar-beacon .radar-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #818CF8;
  animation: radar-ripple 1.6s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

/* Variant 10: Holographic Shimmer Sweep Badge */
.badge-v10-shimmer-sweep {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(90deg, #D9383A 0%, #C5A059 50%, #D9383A 100%);
  background-size: 200% 100%;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  animation: shimmer-sweep 3s linear infinite;
  box-shadow: 0 3px 10px rgba(217, 56, 58, 0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Variant 11: Tech Chamfer Cut (Angled Edge + Code) */
.badge-v11-tech-chamfer {
  display: inline-flex;
  align-items: center;
  background: #020617;
  color: #38BDF8;
  border: 1px solid #0284C7;
  font-size: 0.675rem;
  font-weight: 800;
  padding: 0.22rem 0.75rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.badge-v11-tech-chamfer .tech-code {
  color: #7DD3FC;
  font-family: monospace;
  font-size: 0.625rem;
  margin-right: 0.4rem;
  opacity: 0.85;
}

/* Variant 12: Category Tab + Live Counter Badge */
.badge-v12-tab-counter {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.68rem;
  font-weight: 800;
}
.badge-v12-tab-counter .tab-label {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  padding: 0.22rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-v12-tab-counter .tab-count {
  background-color: var(--accent-red-subtle);
  color: var(--accent-red);
  padding: 0.22rem 0.5rem;
  font-weight: 900;
}

/* Variant 13: Bookmark Ribbon Tag with Star Pin Element */
.badge-v13-bookmark-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--accent-gold);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem 0.25rem 0.65rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-left: 3px solid var(--accent-gold);
}

/* Variant 14: Luxury Crest Shield Badge */
.badge-v14-crest-shield {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border: 1.5px solid var(--accent-gold);
  color: #F8FAFC;
  padding: 0.25rem 0.8rem 0.25rem 0.6rem;
  border-radius: 4px 12px 4px 12px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
}
.badge-v14-crest-shield .shield-icon {
  color: var(--accent-gold);
  font-size: 0.8rem;
}

/* Variant 15: Neon Cyberpunk Ticket Stub */
.badge-v15-ticket-stub {
  display: inline-flex;
  align-items: center;
  background: #090D16;
  border: 1px dashed #EC4899;
  color: #F472B6;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.3);
}
.badge-v15-ticket-stub::before,
.badge-v15-ticket-stub::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--bg-main);
  border-radius: 50%;
}
.badge-v15-ticket-stub::before { left: -5px; }
.badge-v15-ticket-stub::after { right: -5px; }

/* Variant 16: Dynamic Audio Equalizer Waveform */
.badge-v16-audio-wave {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(217, 56, 58, 0.4);
  color: #FFFFFF;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.badge-v16-audio-wave .eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.badge-v16-audio-wave .eq-bar {
  width: 2.5px;
  background-color: var(--accent-red);
  border-radius: 1px;
}
.badge-v16-audio-wave .eq-bar:nth-child(1) { animation: audio-bar-1 1.2s ease-in-out infinite; }
.badge-v16-audio-wave .eq-bar:nth-child(2) { animation: audio-bar-2 1.4s ease-in-out infinite; }
.badge-v16-audio-wave .eq-bar:nth-child(3) { animation: audio-bar-3 1.1s ease-in-out infinite; }

/* Variant 17: Neon Gradient Aura Ring */
.badge-v17-neon-ring {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #030712;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(217, 56, 58, 0.6), inset 0 0 10px rgba(197, 160, 89, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Variant 18: Editorial Press Stamp */
.badge-v18-editorial-stamp {
  display: inline-block;
  background: transparent;
  color: #D9383A;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.15rem 0.55rem;
  border: 2px dashed #D9383A;
  border-radius: 3px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: rotate(-3deg);
  font-family: var(--font-heading);
  box-shadow: 0 2px 5px rgba(217, 56, 58, 0.15);
}

/* Variant 19: Sci-Fi Target HUD Brackets */
.badge-v19-hud-target {
  display: inline-flex;
  align-items: center;
  color: #38BDF8;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.2rem 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(14, 165, 233, 0.08);
  border-left: 2px solid #0EA5E9;
  border-right: 2px solid #0EA5E9;
  position: relative;
}

/* Variant 20: Tactile 3D Bevel Button */
.badge-v20-isometric-3d {
  display: inline-block;
  background: var(--accent-red);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 4px 0 #901C1E;
  transition: all 0.15s ease;
  cursor: pointer;
}
.badge-v20-isometric-3d:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #901C1E;
}

/* Variant 21: Morphing Liquid Blob Pill */
.badge-v21-liquid-blob {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-hover) 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  animation: blob-morph 4s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(217, 56, 58, 0.35);
}

/* Variant 22: Image Thumbnail Avatar Chip */
.badge-v22-thumb-avatar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid var(--accent-gold);
  color: #FFFFFF;
  padding: 0.15rem 0.65rem 0.15rem 0.2rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}
.badge-v22-thumb-avatar img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-gold);
}

/* Variant 23: Card-Corner Wrap Ribbon Tag */
.badge-v23-corner-wrap {
  display: inline-block;
  background: linear-gradient(135deg, #D9383A 0%, #901C1E 100%);
  color: #FFFFFF;
  font-size: 0.675rem;
  font-weight: 900;
  padding: 0.3rem 0.85rem;
  border-radius: 0 0 10px 0;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25);
  position: relative;
}

/* Variant 24: Fiery Pulsing Flame Glow */
.badge-v24-neon-flame {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  animation: flame-pulse 2s infinite;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Variant 25: Glossy Liquid Chrome / Mercury Sheen */
.badge-v25-liquid-chrome {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #F8FAFC 0%, #CBD5E1 35%, #94A3B8 50%, #F1F5F9 70%, #64748B 100%);
  color: #0F172A;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  border: 1px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255,255,255,0.9);
}

/* Variant 26: Interactive 3D Flip Card Badge */
.badge-v26-flip-3d {
  perspective: 600px;
  display: inline-block;
  cursor: pointer;
}
.badge-v26-flip-inner {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  position: relative;
}
.badge-v26-flip-3d:hover .badge-v26-flip-inner {
  transform: rotateY(180deg);
}
.badge-v26-front, .badge-v26-back {
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  backface-visibility: hidden;
  display: inline-block;
}
.badge-v26-front {
  background: var(--primary-navy);
  color: #FFFFFF;
}
.badge-v26-back {
  background: var(--accent-gold);
  color: var(--primary-navy-dark);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  box-sizing: border-box;
  text-align: center;
}

/* Variant 27: Sleek Minimalist Underline Accent */
.badge-v27-underline-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--primary-navy);
  font-size: 0.725rem;
  font-weight: 900;
  padding: 0.1rem 0.2rem 0.3rem 0.2rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-bottom: 2.5px solid var(--accent-red);
}
.badge-v27-underline-accent .dot-accent {
  width: 6px;
  height: 6px;
  background-color: var(--accent-red);
  border-radius: 50%;
}

/* Variant 28: Verified Star Rating Tag */
.badge-v28-rating-star {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #FEF08A 0%, #F59E0B 100%);
  color: #713F12;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

/* ==========================================================================
   DAYAK CENTRAL KALIMANTAN OVERLAY MOTIF VARIATIONS
   ========================================================================== */

/* VARIATION 1: SVG Golden Dayak Tomun Filigree Pattern */
.dayak-var-1 {
  background: 
    linear-gradient(135deg, rgba(0, 26, 46, 0.92) 0%, rgba(0, 51, 88, 0.94) 100%),
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C5A059' fill-opacity='0.15' fill-rule='evenodd'%3E%3Cpath d='M60 0 C40 20 20 20 0 0 C20 40 20 60 0 60 C20 60 40 80 60 60 C40 40 40 20 60 0 Z M60 120 C80 100 100 100 120 120 C100 80 100 60 120 60 C100 60 80 40 60 60 C80 80 80 100 60 120 Z M60 60 C45 45 45 30 60 15 C75 30 75 45 60 60 Z'/%3E%3Ccircle cx='60' cy='60' r='10' stroke='%23C5A059' stroke-opacity='0.25' stroke-width='2' fill='none'/%3E%3C/g%3E%3C/svg%3E") !important;
}

/* VARIATION 2: Batang Garing (Pohon Kehidupan Dayak Kalteng) Center Watermark */
.dayak-var-2 {
  background: 
    radial-gradient(circle at center, rgba(11, 69, 110, 0.85) 0%, rgba(0, 26, 46, 0.96) 100%),
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23C5A059' stroke-opacity='0.14' stroke-width='2' fill='none'%3E%3Cpath d='M100 10 L100 190 M100 50 L140 20 M100 50 L60 20 M100 90 L160 50 M100 90 L40 50 M100 130 L150 100 M100 130 L50 100 M100 170 L130 150 M100 170 L70 150'/%3E%3Ccircle cx='100' cy='50' r='6' fill='%23C5A059' fill-opacity='0.15'/%3E%3Ccircle cx='100' cy='90' r='8' fill='%23C5A059' fill-opacity='0.15'/%3E%3Ccircle cx='100' cy='130' r='6' fill='%23C5A059' fill-opacity='0.15'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-repeat: repeat;
  background-position: center;
}

/* VARIATION 3: Dark 3D Embossed Wood Carving Relief */
.dayak-var-3 {
  background: 
    linear-gradient(180deg, rgba(0, 26, 46, 0.88) 0%, rgba(15, 23, 42, 0.95) 100%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C5A059' stroke-opacity='0.18' stroke-width='1.5'%3E%3Cpolygon points='40,5 75,40 40,75 5,40'/%3E%3Cpolygon points='40,15 65,40 40,65 15,40'/%3E%3Ccircle cx='40' cy='40' r='8' fill='%23C5A059' fill-opacity='0.1'/%3E%3Cline x1='0' y1='0' x2='80' y2='80' stroke-dasharray='2,4'/%3E%3Cline x1='80' y1='0' x2='0' y2='80' stroke-dasharray='2,4'/%3E%3C/g%3E%3C/svg%3E") !important;
}

/* VARIATION 4: Talawang Shield Geometric Tribal Diamond */
.dayak-var-4 {
  background: 
    linear-gradient(135deg, rgba(0, 26, 46, 0.94) 0%, rgba(11, 69, 110, 0.92) 100%),
    url("data:image/svg+xml,%3Csvg width='100' height='160' viewBox='0 0 100 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23DFB96C' stroke-opacity='0.15' stroke-width='2'%3E%3Cpolygon points='50,10 90,80 50,150 10,80'/%3E%3Cline x1='50' y1='10' x2='50' y2='150'/%3E%3Cline x1='10' y1='80' x2='90' y2='80'/%3E%3Ccircle cx='50' cy='80' r='14' fill='%23D9383A' fill-opacity='0.15' stroke='%23D9383A' stroke-opacity='0.25'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: 60px 96px !important;
}

/* VARIATION 5: Minimalist Corner Filigree Ornaments */
.dayak-var-5 {
  background: linear-gradient(135deg, #001A2E 0%, #003358 100%) !important;
  position: relative;
}
.dayak-var-5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0 L200 0 C150 50 150 150 0 200 Z' fill='%23C5A059' fill-opacity='0.08' stroke='%23C5A059' stroke-opacity='0.25' stroke-width='2'/%3E%3Ccircle cx='40' cy='40' r='20' stroke='%23DFB96C' stroke-opacity='0.3' fill='none' stroke-width='2'/%3E%3Cpath d='M20 20 Q80 20 80 80 Q20 80 20 20 Z' fill='none' stroke='%23C5A059' stroke-opacity='0.25' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
}
.dayak-var-5::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M200 200 L0 200 C50 150 50 50 200 0 Z' fill='%23C5A059' fill-opacity='0.08' stroke='%23C5A059' stroke-opacity='0.25' stroke-width='2'/%3E%3Ccircle cx='160' cy='160' r='20' stroke='%23DFB96C' stroke-opacity='0.3' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
}

/* VARIATION 6: Metallic Gold Engraved Border & Woven Dayak Texture */
.dayak-var-6 {
  background: 
    linear-gradient(180deg, rgba(0, 26, 46, 0.95) 0%, rgba(15, 23, 42, 0.96) 100%),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C5A059' fill-opacity='0.08'%3E%3Cpath d='M0 20 L20 0 L40 20 L20 40 Z M20 10 L30 20 L20 30 L10 20 Z'/%3E%3C/g%3E%3C/svg%3E") !important;
  border-top: 5px double var(--accent-gold) !important;
  border-bottom: 5px double var(--accent-gold) !important;
}

/* VARIATION 7: Authentic Dayak Amber Watermark Overlay (ukir amber 1.svg) */
.dayak-var-7 {
  background: 
    linear-gradient(135deg, rgba(0, 26, 46, 0.90) 0%, rgba(0, 43, 73, 0.92) 100%),
    url("../images/ukir%20amber%201.svg") !important;
  background-size: 260px 260px !important;
  background-repeat: repeat !important;
  background-position: center !important;
  border-top: 3.5px solid var(--accent-gold) !important;
  border-bottom: 3.5px solid var(--accent-gold) !important;
}

/* VARIATION 8: Dayak Amber Single Corner Crest SVG (Top Right Subtle) */
.dayak-var-8 {
  background: linear-gradient(135deg, #001A2E 0%, #002B49 100%) !important;
  position: relative;
  overflow: hidden;
  border-top: 3.5px solid var(--accent-gold) !important;
  border-bottom: 3.5px solid var(--accent-gold) !important;
}

.dayak-var-8 .container {
  position: relative;
  z-index: 2;
}

.dayak-var-8::before {
  content: '';
  position: absolute;
  top: -45px;
  right: -45px;
  left: auto;
  width: 340px;
  height: 340px;
  background-image: url("../images/ukir%20amber%201.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.10;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.15));
  pointer-events: none;
  z-index: 1;
}

.dayak-var-8::after {
  display: none !important;
}

/* ==========================================================================
   STATIC PAGES & ABOUT V2 HELPER STYLES
   ========================================================================== */
.container-narrow {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.aligncenter-reading {
  margin-left: auto;
  margin-right: auto;
}

.entry-title.page-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-top: 0.25rem;
}

.pre-heading-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.4rem;
  padding: 0.18rem 0.6rem;
  background-color: rgba(217, 56, 58, 0.08);
  border: 1px solid rgba(217, 56, 58, 0.25);
  border-radius: 4px;
}

/* ==========================================================================
   GRAVITY FORMS WORDPRESS PLUGIN COMPATIBILITY STYLES
   ========================================================================== */
.gform_wrapper {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.gform_heading {
  margin-bottom: 1.5rem;
}

.gform_title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gform_description {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: block;
}

.gform_fields {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gfield_label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.gfield_required {
  color: var(--accent-red);
  margin-left: 0.2rem;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="file"],
.gform_wrapper select,
.gform_wrapper textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #FFFFFF;
  outline: none;
  box-sizing: border-box;
  transition: var(--transition-fast);
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.gfield_checkbox {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gchoice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.gfield-choice-input {
  margin-top: 0.25rem;
  cursor: pointer;
}

.gchoice label {
  font-size: 0.775rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}

.gfield_description {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: block;
}

.gform_footer {
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}

.gform_button,
.gform_wrapper input[type="submit"] {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 0.75rem 1.75rem !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.875rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition-fast) !important;
}

.gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md) !important;
}

/* ==========================================================================
   GUTENBERG EDITOR LINK NAVIGATION PREVENTOR
   ========================================================================== */
.editor-styles-wrapper a,
.block-editor-block-list__layout a,
.is-root-container a,
.block-editor-page a {
  pointer-events: none !important;
  cursor: text !important;
}





