/*
Theme Name: Competitor Blog Type
Theme URI: https://example.com/
Description: A clean, content-first blog child theme for Hello Elementor
Author: Digi Ads
Author URI: https://example.com/
Template: hello-elementor
Version: 1.9.0
Text Domain: competitor-blog-type
*/

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
  /* Layout dimensions */
  --cb-page-width: 1328px;
  --cb-content-width: 477px;
  --cb-header-height: 70px;
  --cb-footer-height: 75px;
  --cb-bottom-nav-height: 100px;
  
  /* Colors — ArenaPlus style */
  --cb-body-bg: #F1F1F1;
  --cb-spacer-bg: #EBEBEB;
  --cb-white: #FFFFFF;
  --cb-dark-bg: #0c1020;
  --cb-dark-surface: #141a32;
  --cb-border: #E5E5E5;
  --cb-primary: #ffc629;
  --cb-primary-d: #e0a800;
  --cb-text: #eef1fb;
  --cb-muted: #9aa3c7;
  --cb-dark-text: #333333;
  --cb-gray-text: #666666;
  --cb-light-gray: #F5F5F5;
  --cb-radius: 12px;
  --cb-orange: #FD6017;
  --cb-orange-light: #FF7A3D;
  
  /* Typography */
  --cb-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --cb-font-size: 16px;
  
  /* Spacing */
  --cb-space-xs: 4px;
  --cb-space-sm: 8px;
  --cb-space-md: 15px;
  --cb-space-lg: 24px;
  --cb-space-xl: 32px;
  --cb-space-2xl: 48px;
  
  /* Container padding */
  --cb-container-padding: 20px;
}

/* ============================================================
   BODY — EBEBEB SPACER BACKGROUND (SAGAD SA SCREEN)
   ============================================================ */
html {
  font-size: var(--cb-font-size);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body.cb-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cb-spacer-bg);
  color: var(--cb-dark-text);
  font-family: var(--cb-font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: calc(var(--cb-bottom-nav-height) + 12px);
  box-sizing: border-box;
}

/* ============================================================
   PAGE WRAPPER — CENTERED CONTENT
   ============================================================ */
.cb-page-wrapper {
  width: 100%;
  max-width: var(--cb-page-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--cb-spacer-bg);
  min-height: 100vh;
  min-height: 100dvh;
}

/* ============================================================
   CONTENT WRAPPER — HOLDS THE 477px CONTENT WITH F1F1F1
   ============================================================ */
.cb-content-wrapper {
  width: 100%;
  max-width: var(--cb-content-width);
  margin: 0 auto;
  background: var(--cb-body-bg);
  box-sizing: border-box;
}

/* ============================================================
   CONTENT CONTAINER — 477px WIDE WITH 20px PADDING
   ============================================================ */
.cb-container {
  width: 100%;
  max-width: var(--cb-content-width);
  margin: 0 auto;
  padding: 0 var(--cb-container-padding);
  box-sizing: border-box;
  background: var(--cb-body-bg);
}

/* ============================================================
   HEADER — 477px WIDE, WHITE BACKGROUND
   ============================================================ */
.cb-header {
  width: 100%;
  max-width: var(--cb-content-width);
  background: var(--cb-white);
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
}

.cb-header-inner {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto; /* 4 columns: Logo | Spacer | Sign Up | Sign In */
  align-items: center;
  gap: var(--cb-space-sm);
  height: var(--cb-header-height);
  padding: 0 var(--cb-space-md);
  box-sizing: border-box;
  background: var(--cb-white);
}

/* Column 1: Logo — nasa LEFT */
.cb-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.cb-logo img,
.cb-logo .custom-logo {
  height: 22px;
  width: auto;
  max-width: none;
  display: block;
}

.cb-logo-text {
  font-weight: 800;
  font-size: 1rem;
  color: var(--cb-primary);
  letter-spacing: 0.4px;
  line-height: 1;
}

/* Column 2: Spacer — automatic na kumukuha ng natitirang space */
.cb-header-spacer {
  flex: 1;
  min-width: 20px; /* minimum na gap */
}

/* Column 3 & 4: Sign Up + Sign In */
.cb-header-actions {
  display: flex;
  align-items: center;
  gap: var(--cb-space-sm);
  flex-shrink: 0;
}

/* Sign Up — gray background, gray text, not bold, LARGER */
.cb-btn-signup {
  background: #F3F3F3;
  color: #7A7A7A;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0 var(--cb-space-lg);
  min-height: 48px;
  height: 48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cb-btn-signup:hover,
.cb-btn-signup:focus-visible {
  background: #E8E8E8;
}

.cb-btn-signup:active {
  transform: scale(0.96);
}

/* Sign In — orange background, white text, not bold, LARGER */
.cb-btn-signin {
  background: #FA6017;
  color: #FFFFFF;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0 var(--cb-space-lg);
  min-height: 48px;
  height: 48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cb-btn-signin:hover,
.cb-btn-signin:focus-visible {
  filter: brightness(1.08);
}

.cb-btn-signin:active {
  transform: scale(0.96);
}

/* ============================================================
   MAIN CONTENT — 477px WIDE, F1F1F1 BACKGROUND
   ============================================================ */
#cb-content {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--cb-content-width);
  padding: var(--cb-space-md) 0 var(--cb-space-xl);
  box-sizing: border-box;
  background: var(--cb-body-bg);
}

.cb-main {
  width: 100%;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--cb-font);
  color: var(--cb-dark-text);
  line-height: 1.25;
  margin: 0 0 0.5em;
  word-break: break-word;
}

h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 700;
}

h5 {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 700;
}

h6 {
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 700;
}

p {
  font-family: var(--cb-font);
  font-weight: 400;
  color: var(--cb-dark-text);
  margin: 0 0 1em;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--cb-primary);
}

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

:focus-visible {
  outline: 2px solid var(--cb-primary);
  outline-offset: 2px;
}

.cb-screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ============================================================
   BUTTONS & BADGES
   ============================================================ */
.cb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--cb-space-lg);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: transform 0.12s ease, filter 0.12s ease;
  text-align: center;
  gap: var(--cb-space-sm);
}

.cb-btn:active {
  transform: scale(0.96);
}

.cb-btn-primary {
  background: var(--cb-primary);
  color: var(--cb-btn-text);
}

.cb-btn-primary:hover,
.cb-btn-primary:focus-visible {
  filter: brightness(1.06);
}

.cb-btn-ghost {
  background: transparent;
  border: 1px solid var(--cb-border);
  color: var(--cb-dark-text);
}

.cb-btn-ghost:hover,
.cb-btn-ghost:focus-visible {
  border-color: var(--cb-primary);
  color: var(--cb-primary);
}

.cb-btn-block {
  width: 100%;
  justify-content: center;
}

.cb-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 198, 41, 0.14);
  color: var(--cb-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ============================================================
   POST CARDS — ARENAPLUS THEME
   ============================================================ */

/* Card Container */
.cb-card {
  background: var(--cb-white);
  border: 1px solid #EEEEEE;
  border-radius: var(--cb-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: var(--cb-space-md); /* ← DINAGDAGAN */

}

.cb-card:hover {
  transform: translateY(-4px);
  border-color: var(--cb-orange);
  box-shadow: 0 8px 30px rgba(253, 96, 23, 0.10);
}

.cb-card:active {
  transform: scale(0.99);
}

/* Card Media */
.cb-card-media {
  aspect-ratio: 16/9;
  background: var(--cb-light-gray);
  display: block;
  overflow: hidden;
  position: relative;
}

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

.cb-card:hover .cb-card-media img {
  transform: scale(1.04);
}

.cb-card-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--cb-orange);
  font-weight: 800;
  font-size: 2rem;
  opacity: 0.3;
  background: #F5F5F5;
}

/* Card Body */
.cb-card-body {
  padding: var(--cb-space-md);
  display: flex;
  flex-direction: column;
  gap: var(--cb-space-xs);
  flex: 1;
}

/* Category Badge inside Card */
.cb-card-body .cb-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(253, 96, 23, 0.1);
  color: var(--cb-orange);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background 0.2s ease;
}

.cb-card-body .cb-badge:hover {
  background: rgba(253, 96, 23, 0.18);
}

/* Card Title */
.cb-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--cb-dark-text);
}

.cb-card-title a {
  color: var(--cb-dark-text);
  transition: color 0.2s ease;
}

.cb-card-title a:hover,
.cb-card-title a:focus-visible {
  color: var(--cb-orange);
}

/* Card Excerpt */
.cb-card-excerpt {
  color: var(--cb-gray-text);
  font-size: 0.85rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

/* Card Meta */
.cb-card-body .cb-meta {
  display: flex;
  align-items: center;
  gap: var(--cb-space-sm);
  flex-wrap: wrap;
  color: var(--cb-gray-text);
  font-size: 0.75rem;
  margin-top: auto;
  padding-top: var(--cb-space-xs);
  border-top: 1px solid #F0F0F0;
}

.cb-card-body .cb-meta .cb-dot {
  color: var(--cb-orange);
  font-weight: 700;
  opacity: 1;
}

.cb-card-body .cb-meta span {
  display: inline-flex;
  align-items: center;
}

/* ============================================================
   FEATURED POST (Hero) — ARENAPLUS THEME
   ============================================================ */
.cb-featured {
  background: var(--cb-white);
  border: 1px solid #EEEEEE;
  border-radius: var(--cb-radius);
  overflow: hidden;
  margin-bottom: var(--cb-space-xl);
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.25s ease;
}

.cb-featured:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.cb-featured-media {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--cb-light-gray);
  display: block;
  overflow: hidden;
}

.cb-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cb-featured:hover .cb-featured-media img {
  transform: scale(1.02);
}

.cb-featured-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--cb-orange);
  font-weight: 800;
  font-size: 3rem;
  opacity: 0.3;
  background: #F5F5F5;
}

.cb-featured-body {
  padding: var(--cb-space-md);
}

.cb-featured-body .cb-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(253, 96, 23, 0.1);
  color: var(--cb-orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.cb-featured-body .cb-badge:hover {
  background: rgba(253, 96, 23, 0.18);
}

.cb-featured-title {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 800;
  margin: var(--cb-space-sm) 0 var(--cb-space-xs);
  line-height: 1.2;
  color: var(--cb-dark-text);
}

.cb-featured-title a {
  color: var(--cb-dark-text);
  transition: color 0.2s ease;
}

.cb-featured-title a:hover,
.cb-featured-title a:focus-visible {
  color: var(--cb-orange);
}

.cb-featured-excerpt {
  color: var(--cb-gray-text);
  margin: 0 0 var(--cb-space-md);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cb-featured-body .cb-meta {
  display: flex;
  align-items: center;
  gap: var(--cb-space-sm);
  flex-wrap: wrap;
  color: var(--cb-gray-text);
  font-size: 0.8rem;
}

.cb-featured-body .cb-meta .cb-dot {
  color: var(--cb-orange);
  font-weight: 700;
  opacity: 1;
}

/* ============================================================
   SIDEBAR — ARENAPLUS THEME
   ============================================================ */
.cb-sidebar {
  width: 100%;
  margin-top: var(--cb-space-xl);
}

.cb-widget {
  background: var(--cb-white);
  border: 1px solid #EEEEEE;
  border-radius: var(--cb-radius);
  padding: var(--cb-space-md);
  margin-bottom: var(--cb-space-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.cb-widget:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.cb-widget-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cb-dark-text);
  margin: 0 0 var(--cb-space-md);
  padding-bottom: var(--cb-space-sm);
  border-bottom: 2px solid var(--cb-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.cb-widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--cb-orange);
}

.cb-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cb-widget ul li {
  margin-bottom: 0;
}

/* ============================================================
   SIDEBAR — RECENT POSTS
   ============================================================ */
.cb-rp {
  display: flex;
  gap: var(--cb-space-sm);
  padding: var(--cb-space-sm) 0;
  border-top: 1px solid #F0F0F0;
  align-items: center;
}

.cb-rp:first-child {
  border-top: none;
  padding-top: 0;
}

.cb-rp-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cb-light-gray);
  transition: transform 0.2s ease;
}

.cb-rp-thumb:hover {
  transform: scale(1.03);
}

.cb-rp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cb-rp-content {
  flex: 1;
  min-width: 0;
}

.cb-rp-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 2px;
  color: var(--cb-dark-text);
}

.cb-rp-title a {
  color: var(--cb-dark-text);
  transition: color 0.2s ease;
}

.cb-rp-title a:hover,
.cb-rp-title a:focus-visible {
  color: var(--cb-orange);
}

.cb-rp-date {
  font-size: 0.7rem;
  color: var(--cb-gray-text);
  display: flex;
  align-items: center;
  gap: 4px;
}

.cb-rp-date::before {
  content: '•';
  color: var(--cb-orange);
  font-weight: 700;
}

/* ============================================================
   SIDEBAR — CATEGORIES
   ============================================================ */
.cb-cats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--cb-space-sm);
  padding: var(--cb-space-sm) 0;
  border-top: 1px solid #F0F0F0;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.cb-cats li:first-child {
  border-top: none;
  padding-top: 0;
}

.cb-cats li:hover {
  padding-left: 4px;
}

.cb-cats a {
  color: var(--cb-dark-text);
  transition: color 0.2s ease;
  font-weight: 500;
}

.cb-cats a:hover,
.cb-cats a:focus-visible {
  color: var(--cb-orange);
}

.cb-cats .cb-count {
  font-size: 0.7rem;
  color: var(--cb-white);
  background: var(--cb-orange);
  border-radius: 999px;
  padding: 1px 10px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

/* ============================================================
   SIDEBAR — SEARCH FORM
   ============================================================ */
.cb-widget .cb-searchform {
  display: flex;
  flex-direction: column;
  gap: var(--cb-space-sm);
}

.cb-widget .cb-searchform input[type="search"] {
  width: 100%;
  background: #F8F8F8;
  border: 1px solid #EEEEEE;
  color: var(--cb-dark-text);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.85rem;
  font-family: inherit;
  min-height: 44px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cb-widget .cb-searchform input[type="search"]:focus {
  border-color: var(--cb-orange);
  box-shadow: 0 0 0 3px rgba(253, 96, 23, 0.1);
  outline: none;
}

.cb-widget .cb-searchform input::placeholder {
  color: var(--cb-gray-text);
}

.cb-widget .cb-searchform button {
  min-height: 44px;
  width: 100%;
  background: var(--cb-orange);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease;
}

.cb-widget .cb-searchform button:hover,
.cb-widget .cb-searchform button:focus-visible {
  background: #E8550A;
}

.cb-widget .cb-searchform button:active {
  transform: scale(0.97);
}

/* ============================================================
   SIDEBAR — OTHER ELEMENTS
   ============================================================ */
.cb-widget select,
.cb-widget .wp-block-search__input {
  width: 100%;
  background: #F8F8F8;
  border: 1px solid #EEEEEE;
  color: var(--cb-dark-text);
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
  min-height: 44px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.cb-widget select:focus,
.cb-widget .wp-block-search__input:focus {
  border-color: var(--cb-orange);
  outline: none;
}

.cb-widget a {
  color: var(--cb-dark-text);
  transition: color 0.2s ease;
}

.cb-widget a:hover,
.cb-widget a:focus-visible {
  color: var(--cb-orange);
}

/* ============================================================
   DESKTOP — SIDEBAR
   ============================================================ */
@media (min-width: 992px) {
  .cb-sidebar {
    margin-top: 0;
    order: initial;
  }
}

/* ============================================================
   SINGLE POST — ARENAPLUS THEME
   ============================================================ */

/* Single Post Container */
.cb-single-head {
  width: 100%;
  padding: 0 0 var(--cb-space-md);
}

/* Breadcrumb */
.cb-breadcrumb {
  font-size: 0.75rem;
  color: var(--cb-gray-text);
  margin-bottom: var(--cb-space-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cb-space-xs);
}

.cb-breadcrumb a {
  color: var(--cb-gray-text);
  transition: color 0.2s ease;
}

.cb-breadcrumb a:hover,
.cb-breadcrumb a:focus-visible {
  color: var(--cb-orange);
}

/* Category Badge */
.cb-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(253, 96, 23, 0.1);
  color: var(--cb-orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.cb-badge:hover {
  background: rgba(253, 96, 23, 0.18);
}

/* Single Title */
.cb-single-title {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin: var(--cb-space-sm) 0 var(--cb-space-sm);
  color: var(--cb-dark-text);
}

/* Single Meta */
.cb-single-meta {
  display: flex;
  align-items: center;
  gap: var(--cb-space-sm);
  color: var(--cb-gray-text);
  font-size: 0.85rem;
  margin-bottom: var(--cb-space-md);
  flex-wrap: wrap;
}

.cb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cb-light-gray);
  flex: 0 0 auto;
}

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

.cb-author-name {
  font-weight: 600;
  color: var(--cb-dark-text);
}

.cb-dot {
  color: var(--cb-orange);
  font-weight: 700;
}

/* Featured Image */
.cb-single-media {
  border-radius: var(--cb-radius);
  overflow: hidden;
  margin: 0 0 var(--cb-space-lg);
  background: var(--cb-light-gray);
}

.cb-single-media img {
  width: 100%;
  height: auto;
}

/* ============================================================
   ARTICLE CONTENT — ARENAPLUS THEME
   ============================================================ */
.cb-article {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  color: var(--cb-dark-text);
  width: 100%;
  line-height: 1.8;
}

.cb-article p {
  margin: 0 0 1.2em;
  color: var(--cb-dark-text);
}

.cb-article h2 {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  margin: 1.8em 0 0.6em;
  color: var(--cb-dark-text);
  font-weight: 700;
}

.cb-article h3 {
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  margin: 1.5em 0 0.5em;
  color: var(--cb-dark-text);
  font-weight: 700;
}

.cb-article h4 {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  margin: 1.2em 0 0.4em;
  color: var(--cb-dark-text);
  font-weight: 600;
}

.cb-article a {
  color: var(--cb-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.cb-article a:hover,
.cb-article a:focus-visible {
  opacity: 0.8;
  color: var(--cb-orange);
}

.cb-article ul,
.cb-article ol {
  margin: 0 0 1.2em;
  padding-left: 1.5em;
}

.cb-article li {
  margin: 0.4em 0;
  color: var(--cb-dark-text);
}

.cb-article img,
.cb-article .wp-block-image {
  border-radius: var(--cb-radius);
  margin: 1.5em 0;
}

.cb-article blockquote {
  margin: 1.5em 0;
  padding: 0.5rem var(--cb-space-md);
  border-left: 4px solid var(--cb-orange);
  color: var(--cb-dark-text);
  font-style: italic;
  background: #F8F8F8;
  border-radius: 0 var(--cb-radius) var(--cb-radius) 0;
}

.cb-article blockquote p {
  margin: 0;
}

.cb-article code {
  background: #F0F0F0;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
  word-break: break-word;
  color: var(--cb-orange);
}

.cb-article pre {
  background: #F5F5F5;
  padding: var(--cb-space-md);
  border-radius: var(--cb-radius);
  overflow-x: auto;
  border: 1px solid #EEEEEE;
}

.cb-article pre code {
  background: transparent;
  padding: 0;
  color: var(--cb-dark-text);
}

/* ============================================================
   TAGS — ARENAPLUS THEME
   ============================================================ */
.cb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cb-space-sm);
  margin: var(--cb-space-lg) 0;
}

.cb-tags a {
  font-size: 0.75rem;
  color: var(--cb-gray-text);
  border: 1px solid #EEEEEE;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--cb-white);
  transition: all 0.2s ease;
}

.cb-tags a:hover,
.cb-tags a:focus-visible {
  border-color: var(--cb-orange);
  color: var(--cb-orange);
  background: rgba(253, 96, 23, 0.05);
}

/* ============================================================
   AUTHOR BOX — ARENAPLUS THEME
   ============================================================ */
.cb-author {
  display: flex;
  gap: var(--cb-space-md);
  align-items: flex-start;
  background: #F8F8F8;
  border: 1px solid #EEEEEE;
  border-radius: var(--cb-radius);
  padding: var(--cb-space-md);
  margin: var(--cb-space-lg) 0;
  transition: box-shadow 0.2s ease;
}

.cb-author:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cb-author .cb-avatar {
  width: 48px;
  height: 48px;
}

.cb-author-name {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 var(--cb-space-xs);
  color: var(--cb-dark-text);
}

.cb-author-bio {
  color: var(--cb-gray-text);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   RELATED POSTS — ARENAPLUS THEME
   ============================================================ */
.cb-related {
  margin-top: var(--cb-space-xl);
}

.cb-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 var(--cb-space-md);
  display: flex;
  align-items: center;
  gap: var(--cb-space-sm);
  color: var(--cb-dark-text);
}

.cb-section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 4px;
  background: var(--cb-orange);
  display: inline-block;
  flex-shrink: 0;
}

/* ============================================================
   COMMENTS — ARENAPLUS THEME
   ============================================================ */
.cb-comments {
  margin-top: var(--cb-space-xl);
}

.cb-comments .comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cb-comments .comment-body {
  background: #F8F8F8;
  border: 1px solid #EEEEEE;
  border-radius: var(--cb-radius);
  padding: var(--cb-space-md);
  margin: 0 0 var(--cb-space-md);
  transition: box-shadow 0.2s ease;
}

.cb-comments .comment-body:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cb-comments .children {
  list-style: none;
  margin: 0 0 0 var(--cb-space-md);
  padding: 0;
}

/* Comment Author */
.cb-comments .comment-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cb-dark-text);
}

.cb-comments .comment-author a {
  color: var(--cb-dark-text);
  transition: color 0.2s ease;
}

.cb-comments .comment-author a:hover {
  color: var(--cb-orange);
}

.cb-comments .comment-author .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: var(--cb-space-sm);
  vertical-align: middle;
  border: 2px solid #EEEEEE;
}

.cb-comments .says {
  display: none;
}

/* Comment Metadata (Date/Time) */
.cb-comments .comment-metadata {
  font-size: 0.75rem;
  color: var(--cb-gray-text);
  margin-bottom: var(--cb-space-sm);
}

.cb-comments .comment-metadata a {
  color: var(--cb-gray-text);
  transition: color 0.2s ease;
}

.cb-comments .comment-metadata a:hover {
  color: var(--cb-orange);
}

/* ============================================================
   COMMENT CONTENT — ARENAPLUS THEME
   ============================================================ */
.cb-comments .comment-content {
  color: var(--cb-dark-text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: var(--cb-space-xs) 0;
  padding: var(--cb-space-sm) 0;
}

.cb-comments .comment-content p {
  margin: 0 0 0.8em;
  color: var(--cb-dark-text);
}

.cb-comments .comment-content p:last-child {
  margin-bottom: 0;
}

.cb-comments .comment-content a {
  color: var(--cb-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.cb-comments .comment-content a:hover {
  opacity: 0.8;
}

.cb-comments .comment-content ul,
.cb-comments .comment-content ol {
  margin: 0 0 0.8em;
  padding-left: 1.5em;
}

.cb-comments .comment-content li {
  margin: 0.2em 0;
  color: var(--cb-dark-text);
}

.cb-comments .comment-content blockquote {
  margin: 0.8em 0;
  padding: 0.25rem var(--cb-space-md);
  border-left: 3px solid var(--cb-orange);
  color: var(--cb-dark-text);
  font-style: italic;
  background: rgba(253, 96, 23, 0.04);
  border-radius: 0 var(--cb-radius) var(--cb-radius) 0;
}

.cb-comments .comment-content blockquote p {
  margin: 0;
}

.cb-comments .comment-content code {
  background: #F0F0F0;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--cb-orange);
  word-break: break-word;
}

.cb-comments .comment-content pre {
  background: #F0F0F0;
  padding: var(--cb-space-sm);
  border-radius: var(--cb-radius);
  overflow-x: auto;
  border: 1px solid #EEEEEE;
  font-size: 0.85rem;
}

.cb-comments .comment-content pre code {
  background: transparent;
  padding: 0;
  color: var(--cb-dark-text);
}

/* ============================================================
   REPLY LINK
   ============================================================ */
.cb-comments .reply {
  margin-top: var(--cb-space-sm);
}

.cb-comments .reply a {
  font-size: 0.8rem;
  color: var(--cb-orange);
  font-weight: 600;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cb-comments .reply a::before {
  content: '↩';
  font-size: 0.9rem;
}

.cb-comments .reply a:hover {
  opacity: 0.8;
}

/* ============================================================
   COMMENT FORM — ARENAPLUS THEME
   ============================================================ */
.cb-comments .comment-respond {
  margin-top: var(--cb-space-xl);
  padding: var(--cb-space-md);
  background: #F8F8F8;
  border-radius: var(--cb-radius);
  border: 1px solid #EEEEEE;
}

.cb-comments .comment-reply-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cb-dark-text);
  margin: 0 0 var(--cb-space-sm);
}

.cb-comments .comment-reply-title small {
  margin-left: var(--cb-space-sm);
}

.cb-comments .comment-reply-title a {
  color: var(--cb-gray-text);
  font-size: 0.8rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.cb-comments .comment-reply-title a:hover {
  color: var(--cb-orange);
}

.cb-comments .comment-notes {
  font-size: 0.8rem;
  color: var(--cb-gray-text);
  margin-bottom: var(--cb-space-md);
}

.cb-comments .logged-in-as {
  font-size: 0.85rem;
  color: var(--cb-gray-text);
  margin-bottom: var(--cb-space-md);
}

.cb-comments .logged-in-as a {
  color: var(--cb-orange);
  transition: opacity 0.2s ease;
}

.cb-comments .logged-in-as a:hover {
  opacity: 0.8;
}

/* Form Fields */
.cb-comments .comment-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cb-dark-text);
  margin-bottom: 2px;
}

.cb-comments .comment-form label .required {
  color: var(--cb-orange);
}

.cb-comments input[type="text"],
.cb-comments input[type="email"],
.cb-comments input[type="url"],
.cb-comments textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
  color: var(--cb-dark-text);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  min-height: 44px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: var(--cb-space-sm);
}

.cb-comments input[type="text"]:focus,
.cb-comments input[type="email"]:focus,
.cb-comments input[type="url"]:focus,
.cb-comments textarea:focus {
  border-color: var(--cb-orange);
  box-shadow: 0 0 0 3px rgba(253, 96, 23, 0.08);
  outline: none;
}

.cb-comments textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit Button */
.cb-comments .form-submit {
  margin-top: var(--cb-space-sm);
}

.cb-comments .submit {
  background: var(--cb-orange);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease;
}

.cb-comments .submit:hover {
  background: #E8550A;
}

.cb-comments .submit:active {
  transform: scale(0.97);
}

/* No Comments */
.cb-comments .nocomments {
  color: var(--cb-gray-text);
  font-size: 0.95rem;
  text-align: center;
  padding: var(--cb-space-md);
  background: #F8F8F8;
  border-radius: var(--cb-radius);
  border: 1px solid #EEEEEE;
}

/* ============================================================
   RESPONSIVE — COMMENTS
   ============================================================ */
@media (min-width: 540px) {
  .cb-comments .comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--cb-space-sm);
  }

  .cb-comments .comment-form-author {
    grid-column: 1 / 2;
  }

  .cb-comments .comment-form-email {
    grid-column: 2 / 3;
  }

  .cb-comments .comment-form-url {
    grid-column: 1 / 3;
  }

  .cb-comments .comment-form-comment {
    grid-column: 1 / 3;
  }

  .cb-comments .form-submit {
    grid-column: 1 / 3;
  }
}

@media (max-width: 400px) {
  .cb-comments .comment-body {
    padding: var(--cb-space-sm);
  }

  .cb-comments .children {
    margin-left: var(--cb-space-sm);
  }

  .cb-comments .submit {
    width: 100%;
    justify-content: center;
  }

  .cb-comments .comment-respond {
    padding: var(--cb-space-sm);
  }

  .cb-comments .comment-content {
    font-size: 0.85rem;
  }

  .cb-comments .comment-author .avatar {
    width: 30px;
    height: 30px;
  }
}

/* ============================================================
   PAGE
   ============================================================ */
.cb-page {
  width: 100%;
}

.cb-page-title {
  font-size: clamp(1.3rem, 4.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 var(--cb-space-md);
  color: var(--cb-dark-text);
}

/* ============================================================
   BLOG HOME TEMPLATE
   ============================================================ */
.cb-home-banner {
  padding-top: var(--cb-space-sm);
}

.cb-home-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--cb-radius);
}

.cb-banner-link {
  display: block;
}

.cb-home-intro {
  background: var(--cb-white);
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius);
  padding: var(--cb-space-md);
  margin-bottom: var(--cb-space-lg);
}

.cb-home-intro .cb-page-title {
  margin-bottom: var(--cb-space-sm);
}

.cb-home-posts {
  padding: var(--cb-space-md) 0;
}

.cb-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cb-space-sm);
  margin-bottom: var(--cb-space-md);
}

.cb-section-head .cb-section-title {
  margin: 0;
}

.cb-viewall-link {
  color: var(--cb-primary);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
}

.cb-viewall-link:hover,
.cb-viewall-link:focus-visible {
  filter: brightness(1.08);
}

.cb-home-rest {
  background: var(--cb-white);
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius);
  padding: var(--cb-space-md);
  margin-top: var(--cb-space-lg);
}

/* ============================================================
   404 PAGE — ARENAPLUS THEME
   ============================================================ */
.cb-404 {
  text-align: center;
  padding: var(--cb-space-2xl) 0 var(--cb-space-xl);
}

.cb-404 h1 {
  font-size: clamp(4rem, 15vw, 6rem);
  margin: 0;
  color: var(--cb-orange);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.cb-404 h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--cb-orange);
  margin: var(--cb-space-md) auto;
  border-radius: 4px;
}

.cb-404 p {
  color: var(--cb-gray-text);
  font-size: 1.1rem;
  margin: 0 0 var(--cb-space-sm);
}

.cb-404 .cb-404-sub {
  margin-bottom: var(--cb-space-md);
  color: var(--cb-dark-text);
  font-size: 0.95rem;
}

.cb-404 .cb-searchform {
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--cb-space-sm);
}

.cb-404 .cb-searchform input[type="search"] {
  flex: 1;
  background: #F8F8F8;
  border: 1px solid #EEEEEE;
  color: var(--cb-dark-text);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  min-height: 50px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.cb-404 .cb-searchform input[type="search"]:focus {
  border-color: var(--cb-orange);
  box-shadow: 0 0 0 3px rgba(253, 96, 23, 0.1);
  outline: none;
}

.cb-404 .cb-searchform input::placeholder {
  color: var(--cb-gray-text);
}

.cb-404 .cb-searchform button {
  min-height: 50px;
  width: 100%;
  background: var(--cb-orange);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease;
  padding: 0 var(--cb-space-lg);
}

.cb-404 .cb-searchform button:hover,
.cb-404 .cb-searchform button:focus-visible {
  background: #E8550A;
}

.cb-404 .cb-searchform button:active {
  transform: scale(0.97);
}

/* 404 Back to Home Button */
.cb-404 .cb-btn-ghost {
  background: transparent;
  border: 2px solid var(--cb-orange);
  color: var(--cb-orange);
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.cb-404 .cb-btn-ghost:hover,
.cb-404 .cb-btn-ghost:focus-visible {
  background: var(--cb-orange);
  color: #FFFFFF;
}

/* ============================================================
   RESPONSIVE — 404 PAGE
   ============================================================ */
@media (min-width: 540px) {
  .cb-404 .cb-searchform {
    flex-direction: row;
  }

  .cb-404 .cb-searchform button {
    width: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 400px) {
  .cb-404 h1 {
    font-size: 3.5rem;
  }

  .cb-404 p {
    font-size: 0.95rem;
  }

  .cb-404 .cb-searchform input[type="search"] {
    font-size: 0.9rem;
    padding: 12px 14px;
    min-height: 44px;
  }

  .cb-404 .cb-searchform button {
    font-size: 0.9rem;
    min-height: 44px;
  }
}

/* ============================================================
   FOOTER — ARENAPLUS STYLE (477px WIDE, WHITE BACKGROUND)
   ============================================================ */
.cb-footer {
  width: 100%;
  max-width: var(--cb-content-width);
  background: var(--cb-white);
  border-top: 1px solid var(--cb-border);
  padding: var(--cb-space-lg) 0;
  margin-top: 0;
  flex-shrink: 0;
}

.cb-footer-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--cb-space-md);
  padding: 0 var(--cb-space-md);
  box-sizing: border-box;
  background: var(--cb-white);
}

/* ============================================================
   FOOTER — ARENAPLUS STYLE (477px WIDE, WHITE BACKGROUND)
   ============================================================ */
.cb-footer {
  width: 100%;
  max-width: var(--cb-content-width);
  background: var(--cb-white);
  border-top: 1px solid var(--cb-border);
  padding: var(--cb-space-lg) 0;
  margin-top: 0;
  flex-shrink: 0;
}

.cb-footer-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--cb-space-md);
  padding: 0 var(--cb-space-md);
  box-sizing: border-box;
  background: var(--cb-white);
}

/* ============================================================
   FOOTER MENUS — WordPress Footer Menus (Split into 2 Columns)
   ============================================================ */
.cb-footer-menus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cb-space-md);
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  text-align: left;
}

.cb-footer-col {
  display: flex;
  flex-direction: column;
}

.cb-footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cb-dark-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 var(--cb-space-sm);
}

.cb-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cb-footer-menu li {
  margin-bottom: 6px;
}

.cb-footer-menu a {
  font-size: 0.8rem;
  color: var(--cb-gray-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cb-footer-menu a:hover,
.cb-footer-menu a:focus-visible {
  color: var(--cb-orange);
}


/* ============================================================
   PAYMENT METHODS — SQUARE, 10px GAP
   ============================================================ */
.cb-payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.cb-payment-icon {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 300px;
  height: 40px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.cb-payment-icon:hover {
  opacity: 1;
}

/* ============================================================
   PARTNERS — SAME HEIGHT, 10px GAP
   ============================================================ */
.cb-footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cb-dark-text);
  margin: var(--cb-space-sm) 0 var(--cb-space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cb-partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cb-partner-logo {
  height: 70px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.cb-partner-logo:hover {
  transform: scale(1.05);
}

/* ============================================================
   SEEK HELP GAMING — SAME HEIGHT, 10px GAP
   ============================================================ */
.cb-help-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cb-help-icon {
  height: 60px;
  width: auto;
  max-width: 80px;
  display: block;
  object-fit: contain;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cb-help-icon:hover {
  transform: scale(1.08);
  opacity: 0.8;
}

/* ============================================================
   COPYRIGHT TEXT
   ============================================================ */
.cb-footer-text {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: var(--cb-gray-text);
  line-height: 1.8;
}

.cb-footer-text p {
  margin: 0 0 0.2em;
  color: var(--cb-gray-text);
}

.cb-footer-text .cb-footer-mt {
  margin-top: var(--cb-space-sm);
}

.cb-footer-text .cb-footer-pagcor {
  font-weight: 600;
  color: var(--cb-dark-text);
  margin-top: var(--cb-space-sm);
}

.cb-footer-link {
  color: var(--cb-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.cb-footer-link:hover,
.cb-footer-link:focus-visible {
  opacity: 0.8;
  color: var(--cb-orange);
}

/* ============================================================
   SOCIAL LINKS — OPENS IN NEW TAB
   ============================================================ */
.cb-social-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cb-space-sm);
  flex-wrap: wrap;
}

.cb-social-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cb-social-grid a:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cb-social-grid a svg {
  width: 24px;
  height: 24px;
  display: block;
}

.cb-social-grid a svg circle {
  fill: #E7E7E7;
  transition: fill 0.2s ease;
}

.cb-social-grid a:hover svg circle {
  fill: var(--cb-orange);
}

.cb-social-grid a svg path {
  fill: #111111;
  transition: fill 0.2s ease;
}

.cb-social-grid a:hover svg path {
  fill: #FFFFFF;
}

/* ============================================================
   NBA FOOTER LOGO — MAS MALAKI
   ============================================================ */
.cb-footer-logo {
  max-width: 180px;
  height: auto;
  margin: var(--cb-space-sm) auto;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cb-footer-logo:hover {
  transform: scale(1.05);
}

/* ============================================================
   PAGCOR — MAS MALAKI
   ============================================================ */
.cb-pagcor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cb-space-xs);
  width: 100%;
}

.cb-pagcor-img {
  max-width: 300px;
  height: auto;
  display: block;
}

.cb-powered {
  font-size: 0.7rem;
  color: var(--cb-gray-text);
  margin: 0;
  opacity: 0.7;
}

/* ============================================================
   RESPONSIVE — FOOTER
   ============================================================ */
@media (max-width: 400px) {
  .cb-payment-grid {
    gap: 8px;
    max-width: 260px;
  }

  .cb-payment-icon {
    max-width: 48px;
  }

  .cb-partners-grid {
    gap: 8px;
    max-width: 300px;
  }

  .cb-partner-logo {
    height: 56px;
    max-width: 100px;
  }

  .cb-help-grid {
    gap: 8px;
    max-width: 260px;
  }

  .cb-help-icon {
    height: 48px;
    max-width: 64px;
  }

  .cb-footer-text {
    font-size: 0.7rem;
  }

  .cb-footer-logo {
    max-width: 140px;
  }

  .cb-pagcor-img {
    max-width: 110px;
  }

  .cb-social-grid a {
    width: 38px;
    height: 38px;
  }

  .cb-social-grid a svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 401px) and (max-width: 540px) {
  .cb-payment-grid {
    max-width: 300px;
  }

  .cb-payment-icon {
    max-width: 54px;
  }

  .cb-partners-grid {
    max-width: 340px;
  }

  .cb-partner-logo {
    height: 64px;
    max-width: 110px;
  }

  .cb-help-grid {
    max-width: 300px;
  }

  .cb-help-icon {
    height: 54px;
    max-width: 72px;
  }
}

/* ============================================================
   BOTTOM NAVIGATION — Home | Blogs | MENU | Download | Games
   ============================================================ */
.cb-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cb-content-width);
  height: var(--cb-bottom-nav-height);
  background: var(--cb-white);
  border-top: 1px solid var(--cb-border);
  border-radius: 20px 20px 0 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 0 14px;
  box-sizing: border-box;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   NAV ITEMS — LARGER, CENTERED, TRANSPARENT BACKGROUND
   ============================================================ */
.cb-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex: 1;
  padding: 4px 4px;
  position: relative;
  min-height: 60px;
  border: none;
  background: transparent !important;
  font-family: inherit;
  color: var(--cb-gray-text);
  transition: color 0.2s ease;
  text-decoration: none;
  border-radius: 0;
}

/* Hover — orange icon and label only, NO background */
.cb-nav-item:hover,
.cb-nav-item:focus-visible {
  color: var(--cb-orange);
  background: transparent !important;
}

/* ============================================================
   ACTIVE STATE — Current page indicator
   ============================================================ */
.cb-nav-item.active {
  color: var(--cb-orange);
  background: transparent !important;
}

/* Active indicator line sa ilalim ng icon */
.cb-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--cb-orange);
  border-radius: 3px;
  animation: cbActiveIndicator 0.3s ease;
}

@keyframes cbActiveIndicator {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 20px;
    opacity: 1;
  }
}

.cb-nav-item .cb-nav-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.cb-nav-item .cb-nav-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cb-nav-item .cb-nav-label {
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: inherit;
  transition: color 0.2s ease;
}

/* ============================================================
   MENU BUTTON — LARGER CIRCLE (80px), TRANSPARENT HOVER
   ============================================================ */
.cb-nav-menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex: 1.4;
  padding: 4px 4px;
  position: relative;
  min-height: 60px;
  border: none;
  background: transparent !important;
  font-family: inherit;
  color: var(--cb-gray-text);
  margin-top: -24px;
  border-radius: 0;
}

/* NO hover effect on menu button */
.cb-nav-menu-btn:hover,
.cb-nav-menu-btn:focus-visible {
  color: var(--cb-gray-text);
  background: transparent !important;
}

/* Active state for menu button — orange circle pulse */
.cb-nav-menu-btn.active .cb-nav-icon {
  box-shadow: 0 0 0 8px rgba(253, 96, 23, 0.2), 0 4px 16px rgba(253, 96, 23, 0.4);
  animation: cbMenuPulse 1.5s ease-in-out infinite;
}

@keyframes cbMenuPulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(253, 96, 23, 0.2), 0 4px 16px rgba(253, 96, 23, 0.4);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(253, 96, 23, 0.08), 0 4px 20px rgba(253, 96, 23, 0.5);
  }
}

.cb-nav-menu-btn .cb-nav-icon {
  width: 80px;
  height: 80px;
  background: var(--cb-orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(253, 96, 23, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  gap: 0;
}

/* NO hover effect on the circle either */
.cb-nav-menu-btn .cb-nav-icon:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(253, 96, 23, 0.4);
}

.cb-nav-menu-btn .cb-nav-icon svg {
  width: 34px;
  height: 34px;
  stroke: #FFFFFF;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cb-nav-menu-btn .cb-nav-icon .cb-nav-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-top: 2px;
}

/* Active state for menu button — subtle scale on click */
.cb-nav-menu-btn:active .cb-nav-icon {
  transform: scale(0.95);
}

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

/* Very small screens */
@media (max-width: 540px) {
  .cb-nav-menu-btn .cb-nav-icon {
    width: 68px;
    height: 68px;
  }

  .cb-nav-menu-btn .cb-nav-icon svg {
    width: 30px;
    height: 30px;
  }

  .cb-nav-menu-btn .cb-nav-icon .cb-nav-label {
    font-size: 0.5rem;
  }

  .cb-nav-item .cb-nav-icon svg {
    width: 24px;
    height: 24px;
  }

  .cb-nav-item .cb-nav-label {
    font-size: 0.55rem;
  }

  .cb-bottom-nav {
    height: 85px;
    padding: 8px 0 12px;
    border-radius: 16px 16px 0 0;
  }

  .cb-nav-item.active::after {
    width: 16px;
  }

  @keyframes cbActiveIndicator {
    0% {
      width: 0;
      opacity: 0;
    }
    100% {
      width: 16px;
      opacity: 1;
    }
  }
}

@media (max-width: 400px) {
  .cb-bottom-nav {
    height: 78px;
    padding: 6px 0 10px;
    border-radius: 14px 14px 0 0;
  }

  .cb-nav-menu-btn .cb-nav-icon {
    width: 60px;
    height: 60px;
  }

  .cb-nav-menu-btn .cb-nav-icon svg {
    width: 26px;
    height: 26px;
  }

  .cb-nav-menu-btn .cb-nav-icon .cb-nav-label {
    font-size: 0.45rem;
  }

  .cb-nav-item .cb-nav-icon svg {
    width: 20px;
    height: 20px;
  }

  .cb-nav-item .cb-nav-label {
    font-size: 0.45rem;
  }

  .cb-nav-item.active::after {
    width: 14px;
    height: 2px;
  }

  @keyframes cbActiveIndicator {
    0% {
      width: 0;
      opacity: 0;
    }
    100% {
      width: 14px;
      opacity: 1;
    }
  }
}

/* ============================================================
   PREMIUM MENU OVERLAY / POPUP — SA CENTER CONTAINER LANG
   ============================================================ */
.cb-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none; /* Para hindi ma-block ang clicks sa labas */
}

.cb-menu-overlay.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* Background blur — SA CENTER CONTAINER LANG */
.cb-menu-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cb-content-width);
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  border-radius: 0;
}

.cb-menu-popup {
  background: linear-gradient(145deg, #FFFFFF, #F8F8FA);
  border-radius: 24px;
  padding: 0;
  max-width: 400px;
  width: 92%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  z-index: 201;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.cb-menu-overlay.is-open .cb-menu-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ============================================================
   MENU POPUP LOGO — NASA PINAKA-TAAS
   ============================================================ */
.cb-menu-popup-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 24px 0;
}

.cb-menu-popup-logo img {
  max-width: 160px;
  height: auto;
  display: block;
}

/* ============================================================
   MENU POPUP HEADER
   ============================================================ */
.cb-menu-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px 24px 0 0;
  z-index: 2;
}

.cb-menu-popup-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cb-dark-text);
  margin: 0;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, var(--cb-orange), var(--cb-orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cb-menu-popup-close {
  background: rgba(0, 0, 0, 0.06);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--cb-gray-text);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cb-menu-popup-close:hover,
.cb-menu-popup-close:focus-visible {
  background: rgba(253, 96, 23, 0.12);
  color: var(--cb-orange);
  transform: rotate(90deg);
}

.cb-menu-popup-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* ============================================================
   MENU GRID
   ============================================================ */
.cb-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px 24px 16px;
}

.cb-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  color: var(--cb-dark-text);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  min-height: 80px;
  position: relative;
  overflow: hidden;
}

/* Premium shine effect */
.cb-menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cb-menu-item:hover::before {
  left: 100%;
}

.cb-menu-item:hover,
.cb-menu-item:focus-visible {
  border-color: var(--cb-orange);
  background: rgba(253, 96, 23, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(253, 96, 23, 0.12);
}

.cb-menu-item:active {
  transform: translateY(0) scale(0.97);
}

.cb-menu-item .cb-menu-item-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(253, 96, 23, 0.08);
  transition: all 0.25s ease;
}

.cb-menu-item:hover .cb-menu-item-icon {
  background: var(--cb-orange);
}

.cb-menu-item:hover .cb-menu-item-icon svg {
  stroke: #FFFFFF;
}

.cb-menu-item .cb-menu-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--cb-orange);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease;
}

.cb-menu-item .cb-menu-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--cb-dark-text);
  transition: color 0.25s ease;
  letter-spacing: 0.2px;
}

.cb-menu-item:hover .cb-menu-item-label {
  color: var(--cb-orange);
}

/* ============================================================
   MENU POPUP FOOTER
   ============================================================ */
.cb-menu-popup-footer {
  padding: 12px 24px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cb-menu-popup-version {
  font-size: 0.65rem;
  color: var(--cb-gray-text);
  opacity: 0.5;
  letter-spacing: 0.5px;
}

/* ============================================================
   TITLE — CENTER ONLY
   ============================================================ */

/* Center ang title/post title */
.entry-title,
.cb-single-title,
.cb-page-title,
.cb-featured-title,
.editor-post-title__input,
.wp-block-post-title {
    text-align: center !important;
}