/*
Theme Name: Competitor Blog Type
Theme URI: https://example.com/
Description: A clean, content-first blog child theme for Hello Elementor, sharing the Competitors gaming-brand palette (dark with a gold accent). Editor-driven homepage with featured image, intro, a chosen-category posts row and continuation content, plus a sidebar, single, archive, search, page and 404 templates. Colors, header button and homepage posts are editable from the Customizer.
Author: Digi Ads
Author URI: https://example.com/
Template: hello-elementor
Version: 1.1.0
Text Domain: competitor-blog-type
License: GNU General Public License v2 or later
Tags: blog, dark, child-theme, two-columns, custom-logo
*/

:root{
  --cb-bg:#0c1020;
  --cb-bg-2:#141a32;
  --cb-surface:#1b2240;
  --cb-border:rgba(255,255,255,.08);
  --cb-primary:#ffc629;
  --cb-primary-d:#e0a800;
  --cb-text:#eef1fb;
  --cb-muted:#9aa3c7;
  --cb-header:#0c1020;
  --cb-radius:16px;
  --cb-maxw:1200px;
  --cb-font:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --cb-page-bg:#0c1020;--cb-header-bg:#0c1020;--cb-footer-bg:#141a32;--cb-content-bg:#141a32;--cb-sidebar-bg:#141a32;
  --cb-btn-bg:#ffc629;--cb-btn-text:#1a1300;--cb-header-text:#9aa3c7;--cb-footer-text:#9aa3c7;
  --cb-header-font:var(--cb-font);--cb-header-weight:600;
  --cb-h1-font:var(--cb-font);--cb-h1-weight:800;--cb-h1-color:#ffffff;
  --cb-h2-font:var(--cb-font);--cb-h2-weight:700;--cb-h2-color:#ffffff;
  --cb-h3-font:var(--cb-font);--cb-h3-weight:600;--cb-h3-color:#ffffff;
  --cb-h4-font:var(--cb-font);--cb-h4-weight:600;--cb-h4-color:#ffffff;
  --cb-h5-font:var(--cb-font);--cb-h5-weight:500;--cb-h5-color:#ffffff;
  --cb-h6-font:var(--cb-font);--cb-h6-weight:500;--cb-h6-color:#ffffff;
  --cb-p-font:var(--cb-font);--cb-p-weight:400;--cb-p-color:#dfe3f3;
  --cb-sb-surface:#1b2240;--cb-sb-border:rgba(255,255,255,.08);--cb-sb-text:#eef1fb;--cb-sb-muted:#9aa3c7;--cb-sb-btn:#ffc629;--cb-sb-btn-text:#1a1300;
}

/* ---------- Base ---------- */
body.cb-body{
  margin:0;background:var(--cb-bg);color:var(--cb-text);
  font-family:var(--cb-font);line-height:1.65;-webkit-font-smoothing:antialiased;
  font-size:15px;
}
.cb-body a{color:inherit;text-decoration:none;}
.cb-body img{max-width:100%;height:auto;display:block;}
.cb-container{max-width:100%;margin:0 auto;padding:0 20px;}

/* ============================================================
   HEADING HIERARCHY WITH ORANGE LINE
   ============================================================ */

/* All headings with orange underline */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-family:var(--cb-font);
  color:var(--cb-text);
  line-height:1.25;
}

h1::after, h2::after, h3::after, h4::after, h5::after, h6::after,
.h1::after, .h2::after, .h3::after, .h4::after, .h5::after, .h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #F05028, #ff6b4a);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Different widths for each heading level */
h1::after, .h1::after { width: 80px; }
h2::after, .h2::after { width: 65px; }
h3::after, .h3::after { width: 50px; }
h4::after, .h4::after { width: 40px; }
h5::after, .h5::after { width: 30px; }
h6::after, .h6::after { width: 25px; }

/* Hover effect - lumalawak ang line */
h1:hover::after, h2:hover::after, h3:hover::after,
h4:hover::after, h5:hover::after, h6:hover::after,
.h1:hover::after, .h2:hover::after, .h3:hover::after,
.h4:hover::after, .h5:hover::after, .h6:hover::after {
  width: 100%;
}

/* Centered headings */
h1.text-center::after, h2.text-center::after, h3.text-center::after,
h4.text-center::after, h5.text-center::after, h6.text-center::after,
.h1.text-center::after, .h2.text-center::after, .h3.text-center::after,
.h4.text-center::after, .h5.text-center::after, .h6.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Right aligned headings */
h1.text-right::after, h2.text-right::after, h3.text-right::after,
h4.text-right::after, h5.text-right::after, h6.text-right::after,
.h1.text-right::after, .h2.text-right::after, .h3.text-right::after,
.h4.text-right::after, .h5.text-right::after, .h6.text-right::after {
  left: auto;
  right: 0;
}

/* Heading font sizes and weights */
h1, .h1 {
  font-family:var(--cb-h1-font);
  font-weight:var(--cb-h1-weight);
  color:var(--cb-h1-color);
  font-size:42px;
  line-height:1.15;
  margin:0 0 16px 0;
}

h2, .h2 {
  font-family:var(--cb-h2-font);
  font-weight:var(--cb-h2-weight);
  color:var(--cb-h2-color);
  font-size:32px;
  line-height:1.2;
  margin:0 0 14px 0;
}

h3, .h3 {
  font-family:var(--cb-h3-font);
  font-weight:var(--cb-h3-weight);
  color:var(--cb-h3-color);
  font-size:26px;
  line-height:1.25;
  margin:0 0 12px 0;
}

h4, .h4 {
  font-family:var(--cb-h4-font);
  font-weight:var(--cb-h4-weight);
  color:var(--cb-h4-color);
  font-size:20px;
  line-height:1.3;
  margin:0 0 10px 0;
}

h5, .h5 {
  font-family:var(--cb-h5-font);
  font-weight:var(--cb-h5-weight);
  color:var(--cb-h5-color);
  font-size:17px;
  line-height:1.35;
  margin:0 0 8px 0;
}

h6, .h6 {
  font-family:var(--cb-h6-font);
  font-weight:var(--cb-h6-weight);
  color:var(--cb-h6-color);
  font-size:15px;
  line-height:1.4;
  margin:0 0 6px 0;
}

p, .p {
  font-family:var(--cb-p-font);
  font-weight:var(--cb-p-weight);
  color:var(--cb-p-color);
  font-size:15px;
  line-height:1.7;
  margin:0 0 16px 0;
}

p strong, .p strong {
  color: #ffffff;
}

/* Section Title */
.cb-section-title {
  font-size:22px;
  font-weight:700;
  color:#ffffff;
  margin:0 0 18px 0;
  display:flex;
  align-items:center;
  gap:10px;
  position:relative;
  padding-bottom:12px;
}

.cb-section-title::before {
  content:"";
  width:18px;
  height:3px;
  border-radius:3px;
  background:var(--cb-primary);
  display:inline-block;
}

.cb-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #F05028, #ff6b4a);
  border-radius: 3px;
}

/* Single Post Title */
.cb-single-title {
  font-size:clamp(26px,4vw,40px);
  font-weight:800;
  color:#ffffff;
  line-height:1.18;
  margin:12px 0 14px;
  position:relative;
  padding-bottom:14px;
}

.cb-single-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #F05028, #ff6b4a);
  border-radius: 3px;
}

/* Archive Title */
.cb-archive-title {
  font-size:clamp(24px,3.4vw,34px);
  font-weight:800;
  margin:0;
  position:relative;
  padding-bottom:14px;
  color:#ffffff;
}

.cb-archive-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #F05028, #ff6b4a);
  border-radius: 3px;
}

/* Page Title */
.cb-page-title {
  font-size:clamp(26px,4vw,38px);
  font-weight:800;
  margin:0 0 18px;
  position:relative;
  padding-bottom:14px;
  color:#ffffff;
}

.cb-page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #F05028, #ff6b4a);
  border-radius: 3px;
}

/* Featured Title */
.cb-featured-title {
  font-size:clamp(22px,2.6vw,30px);
  font-weight:800;
  color:#ffffff;
  margin:12px 0 10px;
  line-height:1.2;
  position:relative;
  padding-bottom:12px;
}

.cb-featured-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #F05028, #ff6b4a);
  border-radius: 3px;
}

/* Card Title */
.cb-card-title {
  font-size:17px;
  font-weight:700;
  color:#ffffff;
  line-height:1.3;
  margin:0;
  position:relative;
  padding-bottom:8px;
}

.cb-card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #F05028, #ff6b4a);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.cb-card:hover .cb-card-title::after {
  width: 60px;
}

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

@media (max-width: 1200px) {
  h1, .h1 { font-size: 38px; }
  h2, .h2 { font-size: 29px; }
  h3, .h3 { font-size: 24px; }
  h4, .h4 { font-size: 19px; }
  h5, .h5 { font-size: 16px; }
  h6, .h6 { font-size: 14px; }
}

@media (max-width: 980px) {
  h1, .h1 { font-size: 34px; }
  h2, .h2 { font-size: 26px; }
  h3, .h3 { font-size: 22px; }
  h4, .h4 { font-size: 18px; }
  h5, .h5 { font-size: 15px; }
  h6, .h6 { font-size: 14px; }
  
  h1::after, .h1::after { width: 60px; }
  h2::after, .h2::after { width: 50px; }
  h3::after, .h3::after { width: 40px; }
  h4::after, .h4::after { width: 30px; }
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 28px; }
  h2, .h2 { font-size: 22px; }
  h3, .h3 { font-size: 19px; }
  h4, .h4 { font-size: 17px; }
  h5, .h5 { font-size: 15px; }
  h6, .h6 { font-size: 14px; }
  
  h1::after, .h1::after { width: 50px; }
  h2::after, .h2::after { width: 40px; }
  h3::after, .h3::after { width: 35px; }
  h4::after, .h4::after { width: 25px; }
}

@media (max-width: 480px) {
  h1, .h1 { font-size: 24px; }
  h2, .h2 { font-size: 20px; }
  h3, .h3 { font-size: 17px; }
  h4, .h4 { font-size: 16px; }
  h5, .h5 { font-size: 14px; }
  h6, .h6 { font-size: 13px; }
  p, .p { font-size: 14px; }
  
  h1::after, .h1::after { width: 40px; }
  h2::after, .h2::after { width: 35px; }
  h3::after, .h3::after { width: 30px; }
  h4::after, .h4::after { width: 25px; }
}

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

/* ---------- Buttons / badges ---------- */
.cb-btn{display:inline-block;padding:11px 20px;border-radius:999px;font-weight:700;font-size:14px;cursor:pointer;border:none;transition:transform .12s ease,filter .12s ease;}
.cb-btn-primary{background:var(--cb-primary);color:#1a1300;}
.cb-btn-primary:hover{filter:brightness(1.06);transform:translateY(-1px);}
.cb-btn-ghost{background:transparent;border:1px solid var(--cb-border);color:var(--cb-text);}
.cb-btn-ghost:hover{border-color:var(--cb-primary);color:var(--cb-primary);}
.cb-badge{display:inline-block;padding:4px 12px;border-radius:999px;background:rgba(255,198,41,.14);color:var(--cb-primary);font-size:12px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;}

/* ---------- Header ---------- */
.cb-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cb-header);
    padding: 0 200px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cb-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 110px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Responsive Header Padding */
@media (max-width: 1200px) {
    .cb-header {
        padding: 0 100px;
    }
}

@media (max-width: 980px) {
    .cb-header {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .cb-header {
        padding: 0 20px;
    }
}

@media (max-width: 680px) {
    .cb-header {
        padding: 0 12px !important;
    }
    
    .cb-header-inner {
        height: 64px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .cb-header {
        padding: 0 8px !important;
    }
}
.cb-logo{display:flex;align-items:center;flex:0 0 auto;line-height:0;}
.cb-logo img,.cb-logo .custom-logo{height:40px;width:auto;max-width:100%;display:block;}
.cb-logo-text{font-weight:800;font-size:22px;color:var(--cb-primary);letter-spacing:.4px;line-height:1;}
.cb-nav{margin-left:auto;}
.cb-nav ul{list-style:none;display:flex;gap:6px;margin:0;padding:0;}
.cb-nav a{display:block;padding:9px 14px;border-radius:10px;font-size:14.5px;font-weight:500;color:var(--cb-muted);transition:color .15s,background .15s;}
.cb-nav a:hover,.cb-nav .current-menu-item>a{color:var(--cb-text);background:rgba(255,255,255,.05);}
.cb-search-toggle{background:transparent;border:1px solid var(--cb-border);color:var(--cb-text);width:40px;height:40px;border-radius:10px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;}
.cb-search-toggle:hover{border-color:var(--cb-primary);color:var(--cb-primary);}
.cb-cta{flex:0 0 auto;background:var(--cb-primary);color:#1a1300;font-weight:700;font-size:14px;padding:10px 16px;border-radius:999px;line-height:1;}
.cb-cta:hover{filter:brightness(1.06);}
.cb-burger{display:none;background:transparent;border:1px solid var(--cb-border);color:var(--cb-text);width:42px;height:40px;border-radius:10px;cursor:pointer;font-size:18px;}
.cb-searchbar{display:none;border-bottom:1px solid var(--cb-border);background:var(--cb-bg-2);}
.cb-searchbar.is-open{display:block;}
.cb-searchbar .cb-container{padding-top:14px;padding-bottom:14px;}

/* ---------- Header Actions (Login/Register Buttons) ---------- */
.cb-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Login Button - black, orange border */
.cb-btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: #000000;
    color: #F05028;
    border: 1px solid #F05028;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.4;
    white-space: nowrap;
    min-height: 38px;
}

.cb-btn-login:hover {
    background: #F05028;
    color: #ffffff;
    border-color: #F05028;
}

/* Register Button - orange, white text */
.cb-btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: #F05028;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.4;
    white-space: nowrap;
    min-height: 38px;
}

.cb-btn-register:hover {
    background: #d9441f;
    color: #ffffff;
}

/* Hide old CTA button */
.cb-cta {
    display: none;
}

/* Burger menu */
.cb-burger {
    display: none;
    background: transparent;
    border: 1px solid var(--cb-border);
    color: var(--cb-text);
    width: 42px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.cb-burger:hover {
    border-color: #F05028;
    color: #F05028;
}

/* Responsive adjustments for buttons */
@media (max-width: 980px) {
    .cb-header-actions {
        gap: 8px;
    }

    .cb-btn-login,
    .cb-btn-register {
        padding: 6px 12px;
        font-size: 13px;
        min-height: 34px;
    }
}

@media (max-width: 680px) {
    .cb-header-actions {
        gap: 6px;
    }

    .cb-btn-login,
    .cb-btn-register {
        padding: 5px 8px;
        font-size: 11px;
        min-height: 30px;
        border-radius: 4px;
    }
}

/* ---------- Search form ---------- */
.cb-searchform {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cb-searchform input[type="search"],
.cb-searchform input[type="text"] {
    flex: 1;
    background: var(--cb-surface);
    border: 1px solid var(--cb-border);
    color: var(--cb-text);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.cb-searchform input::placeholder {
    color: var(--cb-muted);
}

/* Search button - tugma sa color theme #F05028 */
.cb-searchform button {
    flex: 0 0 auto;
    background: #F05028;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 11px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.cb-searchform button:hover {
    background: #d9441f;
    color: #ffffff;
}

/* Widget search button */
.cb-widget .cb-searchform button {
    min-height: 40px;
    padding: 9px 16px;
    font-size: 13px;
}

/* WordPress default search widget */
.wp-block-search__button {
    background: #F05028 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 9px 18px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.wp-block-search__button:hover {
    background: #d9441f !important;
    color: #ffffff !important;
}

.wp-block-search__input {
    background: var(--cb-surface);
    border: 1px solid var(--cb-border);
    color: var(--cb-text);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
}

/* Sidebar search (uses theme colors) */
.cb-sidebar .cb-searchform button {
    background: #F05028;
    color: #ffffff;
}

.cb-sidebar .cb-searchform button:hover {
    background: #d9441f;
    color: #ffffff;
}

/* ---------- Layout: content + sidebar ---------- */
.cb-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;padding:40px 0 64px;}
.cb-wrap--full{display:block;}
.cb-main{min-width:0;}

/* ---------- Page head (archive / single) ---------- */
.cb-page-head{padding:34px 0 6px;}
.cb-breadcrumb{font-size:12.5px;color:var(--cb-muted);margin-bottom:12px;}
.cb-breadcrumb a:hover{color:var(--cb-primary);}
.cb-archive-title{font-size:clamp(24px,3.4vw,34px);font-weight:800;margin:0;}
.cb-archive-desc{color:var(--cb-muted);margin-top:10px;max-width:680px;}

/* ---------- Featured post ---------- */
.cb-featured{background:var(--cb-bg-2);border:1px solid var(--cb-border);border-radius:var(--cb-radius);overflow:hidden;margin-bottom:34px;}
.cb-featured-media{position:relative;aspect-ratio:16/8;background:var(--cb-surface);}
.cb-featured-media img{width:100%;height:100%;object-fit:cover;}
.cb-featured-ph{display:flex;align-items:center;justify-content:center;height:100%;color:var(--cb-primary);font-weight:800;font-size:46px;opacity:.4;}
.cb-featured-body{padding:24px 26px 28px;}
.cb-featured-title{font-size:clamp(22px,2.6vw,30px);font-weight:800;margin:12px 0 10px;line-height:1.2;}
.cb-featured-title a:hover{color:var(--cb-primary);}
.cb-featured-excerpt{color:var(--cb-muted);margin:0 0 18px;}

/* ---------- Post grid + cards ---------- */
.cb-section-title{font-size:18px;font-weight:800;margin:0 0 18px;display:flex;align-items:center;gap:10px;}
.cb-section-title::before{content:"";width:18px;height:3px;border-radius:3px;background:var(--cb-primary);display:inline-block;}
.cb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.cb-card{background:var(--cb-bg-2);border:1px solid var(--cb-border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:transform .14s ease,border-color .14s ease;}
.cb-card:hover{transform:translateY(-3px);border-color:rgba(255,198,41,.4);}
.cb-card-media{aspect-ratio:16/9;background:var(--cb-surface);}
.cb-card-media img{width:100%;height:100%;object-fit:cover;}
.cb-card-ph{display:flex;align-items:center;justify-content:center;height:100%;color:var(--cb-primary);font-weight:800;font-size:30px;opacity:.4;}
.cb-card-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:9px;flex:1;}
.cb-card-title{font-size:17px;font-weight:700;line-height:1.3;margin:0;}
.cb-card-title a:hover{color:var(--cb-primary);}
.cb-card-excerpt{color:var(--cb-muted);font-size:14px;margin:0;}
.cb-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--cb-muted);font-size:12.5px;margin-top:auto;}
.cb-meta .cb-dot{opacity:.5;}

/* ---------- Pagination ---------- */
.cb-pagination{margin-top:34px;}
.cb-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;}
.cb-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--cb-border);color:var(--cb-muted);font-weight:600;font-size:14px;}
.cb-pagination .page-numbers.current{background:var(--cb-primary);color:#1a1300;border-color:var(--cb-primary);}
.cb-pagination a.page-numbers:hover{color:var(--cb-primary);border-color:var(--cb-primary);}

/* ---------- Sidebar ---------- */
.cb-sidebar{min-width:0;}
.cb-widget{background:var(--cb-bg-2);border:1px solid var(--cb-border);border-radius:14px;padding:20px;margin-bottom:22px;}
.cb-widget-title{font-size:15px;font-weight:800;margin:0 0 14px;text-transform:uppercase;letter-spacing:.4px;}
.cb-widget ul{list-style:none;margin:0;padding:0;}
.cb-rp{display:flex;gap:12px;padding:10px 0;border-top:1px solid var(--cb-border);}
.cb-rp:first-child{border-top:none;padding-top:0;}
.cb-rp-thumb{flex:0 0 64px;width:64px;height:64px;border-radius:10px;overflow:hidden;background:var(--cb-surface);}
.cb-rp-thumb img{width:100%;height:100%;object-fit:cover;}
.cb-rp-title{font-size:13.5px;font-weight:600;line-height:1.35;margin:0 0 4px;}
.cb-rp-title a:hover{color:var(--cb-primary);}
.cb-rp-date{font-size:12px;color:var(--cb-muted);}
.cb-cats li{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid var(--cb-border);font-size:14px;}
.cb-cats li:first-child{border-top:none;}
.cb-cats a{color:var(--cb-muted);} .cb-cats a:hover{color:var(--cb-primary);}
.cb-cats .cb-count{font-size:12px;color:var(--cb-muted);background:var(--cb-surface);border-radius:999px;padding:1px 9px;}
.cb-widget select,.cb-widget .wp-block-search__input{width:100%;background:var(--cb-surface);border:1px solid var(--cb-border);color:var(--cb-text);border-radius:10px;padding:9px 12px;font-family:inherit;}
.cb-widget a{color:var(--cb-muted);} .cb-widget a:hover{color:var(--cb-primary);}

/* ---------- Single ---------- */
.cb-single-head{max-width:820px;}
.cb-single-title{font-size:clamp(26px,4vw,40px);font-weight:800;line-height:1.18;margin:12px 0 14px;}
.cb-single-meta{display:flex;align-items:center;gap:12px;color:var(--cb-muted);font-size:14px;margin-bottom:22px;}
.cb-avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;background:var(--cb-surface);flex:0 0 auto;}
.cb-single-media{border-radius:var(--cb-radius);overflow:hidden;margin:0 0 26px;background:var(--cb-surface);}
.cb-single-media img{width:100%;}
.cb-article{font-size:var(--cb-article-size,16.5px);color:#dfe3f3;}
.cb-article p{margin:0 0 1.15em;}
.cb-article h2{font-size:25px;margin:1.5em 0 .5em;}
.cb-article h3{font-size:20px;margin:1.3em 0 .5em;}
.cb-article a{color:var(--cb-primary);text-decoration:underline;text-underline-offset:3px;}
.cb-article ul,.cb-article ol{margin:0 0 1.2em;padding-left:1.3em;}
.cb-article li{margin:.3em 0;}
.cb-article img,.cb-article .wp-block-image{border-radius:12px;margin:1.2em 0;}
.cb-article blockquote{margin:1.4em 0;padding:6px 20px;border-left:3px solid var(--cb-primary);color:var(--cb-text);font-style:italic;}
.cb-article code{background:var(--cb-surface);padding:2px 6px;border-radius:6px;font-size:.92em;}
.cb-tags{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0;}
.cb-tags a{font-size:12.5px;color:var(--cb-muted);border:1px solid var(--cb-border);padding:5px 12px;border-radius:999px;}
.cb-tags a:hover{border-color:var(--cb-primary);color:var(--cb-primary);}
.cb-author{display:flex;gap:16px;align-items:flex-start;background:var(--cb-bg-2);border:1px solid var(--cb-border);border-radius:14px;padding:20px;margin:28px 0;}
.cb-author .cb-avatar{width:56px;height:56px;}
.cb-author-name{font-weight:800;margin:0 0 4px;}
.cb-author-bio{color:var(--cb-muted);font-size:14px;margin:0;}
.cb-related{margin-top:40px;}

/* ---------- Comments ---------- */
.cb-comments{margin-top:40px;}
.cb-comments .comment-list{list-style:none;margin:0;padding:0;}
.cb-comments .comment-body{background:var(--cb-bg-2);border:1px solid var(--cb-border);border-radius:12px;padding:16px 18px;margin:0 0 16px;}
.cb-comments .children{list-style:none;margin:0 0 0 26px;padding:0;}
.cb-comments .comment-author{font-weight:700;font-size:14px;}
.cb-comments .comment-metadata{font-size:12px;color:var(--cb-muted);}
.cb-comments input[type="text"],.cb-comments input[type="email"],.cb-comments input[type="url"],.cb-comments textarea{
  width:100%;background:var(--cb-surface);border:1px solid var(--cb-border);color:var(--cb-text);border-radius:10px;padding:11px 13px;font-family:inherit;margin-bottom:12px;
}

/* ---------- Page ---------- */
.cb-page{max-width:820px;margin:0 auto;}
.cb-page-title{font-size:clamp(26px,4vw,38px);font-weight:800;margin:0 0 18px;}

/* ---------- Blog Home template ---------- */
.cb-home-banner{padding-top:30px;}
.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-bg-2);border:1px solid var(--cb-border);border-radius:var(--cb-radius);padding:clamp(22px,3vw,32px);}
.cb-home-intro .cb-page-title{margin-bottom:12px;}
.cb-home-posts{padding:26px 0;}
.cb-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;}
.cb-section-head .cb-section-title{margin:0;}
.cb-viewall-link{color:var(--cb-primary);font-weight:700;font-size:14px;white-space:nowrap;}
.cb-viewall-link:hover{filter:brightness(1.08);}
.cb-grid--3{grid-template-columns:repeat(3,1fr);}
.cb-home-rest{background:var(--cb-bg-2);border:1px solid var(--cb-border);border-radius:var(--cb-radius);padding:clamp(22px,3vw,32px);}

/* ---------- 404 ---------- */
.cb-404{text-align:center;padding:80px 0;}
.cb-404 h1{font-size:90px;margin:0;color:var(--cb-primary);}
.cb-404 p{color:var(--cb-muted);}
.cb-404 .cb-searchform{max-width:420px;margin:24px auto 0;}

/* ---------- Footer ---------- */
.cb-footer{background:var(--cb-bg-2);border-top:1px solid var(--cb-border);padding:34px 0;margin-top:20px;}
.cb-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;}
.cb-footer-nav ul{list-style:none;display:flex;gap:16px;margin:0;padding:0;}
.cb-footer-nav a{color:var(--cb-muted);font-size:14px;} .cb-footer-nav a:hover{color:var(--cb-primary);}
.cb-copy{color:var(--cb-muted);font-size:13.5px;}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .cb-wrap{grid-template-columns:1fr;gap:30px;}
  .cb-sidebar{order:2;}
  .cb-grid--3{grid-template-columns:repeat(2,1fr);}
}

@media (max-width: 768px) {
  .cb-header {
    padding: 0 20px !important;
  }
  
  .cb-header-inner {
    height: 64px !important;
    gap: 10px !important;
  }
  
  /* Logo size - MAS MALIIT */
  .cb-logo img,
  .cb-logo .custom-logo {
    height: 32px !important;
    width: auto !important;
    max-width: 100% !important;
  }
  
  .cb-logo-text {
    font-size: 18px !important;
  }
  
  /* Buttons - MAS MALAKI */
  .cb-btn-login,
  .cb-btn-register {
    padding: 6px 12px !important;
    font-size: 13px !important;
    min-height: 34px !important;
    border-radius: 6px !important;
  }
  
  .cb-header-actions {
    gap: 8px !important;
  }
}

@media (max-width: 680px) {
  .cb-grid{grid-template-columns:1fr;}
  .cb-grid--3{grid-template-columns:1fr;}
  
  /* Hide old navigation and burger */
  .cb-nav{display:none !important;}
  .cb-burger{display:none !important;}
  .cb-cta{display:none !important;}
  
  .cb-header-inner{height:60px !important;gap:8px !important;}
  
  /* Logo size - MAS MALIIT PA */
  .cb-logo img,
  .cb-logo .custom-logo {
    height: 28px !important;
    width: auto !important;
    max-width: 100% !important;
  }
  
  .cb-logo-text {
    font-size: 16px !important;
  }
  
  /* Buttons - MAS MALAKI */
  .cb-btn-login,
  .cb-btn-register {
    padding: 8px 14px !important;
    font-size: 14px !important;
    min-height: 38px !important;
    border-radius: 6px !important;
  }
  
  .cb-header-actions {
    gap: 8px !important;
  }
  
  /* Footer Fix - Full Width */
  .cb-footer {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .cb-footer-inner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 0 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    gap: 12px !important;
  }
  
  .cb-footer-nav {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .cb-footer-nav ul {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  
  .cb-footer-nav li {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .cb-copy {
    width: 100% !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
  }
  
  .cb-container {
    padding: 0 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .cb-header {
    padding: 0 8px !important;
  }
  
  .cb-header-inner {
    height: 54px !important;
    gap: 6px !important;
  }
  
  /* Logo - PINAKAMALIIT */
  .cb-logo img,
  .cb-logo .custom-logo {
    height: 24px !important;
    width: auto !important;
    max-width: 100% !important;
  }
  
  .cb-logo-text {
    font-size: 14px !important;
  }
  
  /* Buttons */
  .cb-btn-login,
  .cb-btn-register {
    padding: 6px 10px !important;
    font-size: 12px !important;
    min-height: 32px !important;
    border-radius: 4px !important;
  }
  
  .cb-header-actions {
    gap: 5px !important;
  }
}

/* ============================================================
   Customizer-driven theming (backgrounds, gradients, type)
   ============================================================ */
body.cb-body{background:var(--cb-page-bg);font-family:var(--cb-p-font);font-weight:var(--cb-p-weight);}
.cb-header{background:var(--cb-header-bg);}
.cb-nav a{font-family:var(--cb-header-font);font-weight:var(--cb-header-weight);color:var(--cb-header-text);}
.cb-nav a:hover,.cb-nav .current-menu-item>a{color:var(--cb-text);}
.cb-logo-text{font-family:var(--cb-header-font);}
.cb-cta{background:var(--cb-btn-bg);color:var(--cb-btn-text);}
.cb-footer{background:var(--cb-footer-bg);}
.cb-copy,.cb-footer-nav a{color:var(--cb-footer-text);}
.cb-home-intro,.cb-home-rest,.cb-card,.cb-featured{background:var(--cb-content-bg);}
.cb-widget{background:var(--cb-sidebar-bg);}

/* Heading Colors - White */
h1, .h1, .cb-h1, .cb-single-title, .cb-archive-title, .cb-page-title {
  font-family:var(--cb-h1-font);
  font-weight:var(--cb-h1-weight);
  color:var(--cb-h1-color);
}

h2, .h2, .cb-h2, .cb-section-title {
  font-family:var(--cb-h2-font);
  font-weight:var(--cb-h2-weight);
  color:var(--cb-h2-color);
}

h3, .h3, .cb-h3 {
  font-family:var(--cb-h3-font);
  font-weight:var(--cb-h3-weight);
  color:var(--cb-h3-color);
}

h4, .h4, .cb-h4 {
  font-family:var(--cb-h4-font);
  font-weight:var(--cb-h4-weight);
  color:var(--cb-h4-color);
}

h5, .h5, .cb-h5 {
  font-family:var(--cb-h5-font);
  font-weight:var(--cb-h5-weight);
  color:var(--cb-h5-color);
}

h6, .h6, .cb-h6 {
  font-family:var(--cb-h6-font);
  font-weight:var(--cb-h6-weight);
  color:var(--cb-h6-color);
}

p, .p, .cb-p, .cb-article p, .cb-article li {
  font-family:var(--cb-p-font);
  font-weight:var(--cb-p-weight);
  color:var(--cb-p-color);
}

.cb-article {
  color:var(--cb-p-color);
  font-family:var(--cb-p-font);
  font-weight:var(--cb-p-weight);
}

.cb-article p,
.cb-article li,
.cb-article blockquote,
.cb-article .wp-block-quote {
  color:var(--cb-p-color);
  font-family:var(--cb-p-font);
  font-weight:var(--cb-p-weight);
}

.cb-section-title {
  font-size:22px;
  font-weight:700;
  color:#ffffff;
  margin:0 0 18px 0;
  display:flex;
  align-items:center;
  gap:10px;
}

.cb-section-title::before {
  content:"";
  width:18px;
  height:3px;
  border-radius:3px;
  background:var(--cb-primary);
  display:inline-block;
}

.cb-featured-title {
  font-size:clamp(22px,2.6vw,30px);
  font-weight:800;
  color:#ffffff;
  margin:12px 0 10px;
  line-height:1.2;
}

.cb-card-title {
  font-size:17px;
  font-weight:700;
  color:#ffffff;
  line-height:1.3;
  margin:0;
}

/* Sidebar assets auto-harmonized with the chosen Sidebar background */
.cb-widget{border-color:var(--cb-sb-border);}
.cb-widget-title,.cb-rp-title,.cb-rp-title a{color:var(--cb-sb-text);}
.cb-rp{border-top-color:var(--cb-sb-border);}
.cb-rp-thumb{background:var(--cb-sb-surface);}
.cb-rp-date{color:var(--cb-sb-muted);}
.cb-cats li{border-top-color:var(--cb-sb-border);}
.cb-cats a{color:var(--cb-sb-muted);}
.cb-count{background:var(--cb-sb-surface);color:var(--cb-sb-muted);}
.cb-sidebar .cb-searchform input[type="search"],
.cb-sidebar .cb-searchform input[type="text"],
.cb-widget select,.cb-widget .wp-block-search__input{background:var(--cb-sb-surface);border-color:var(--cb-sb-border);color:var(--cb-sb-text);}
.cb-sidebar .cb-searchform button{background:var(--cb-sb-btn);color:var(--cb-sb-btn-text);}

/* ============================================================
   LOGO SIZE FIX - Ultimate Force
   ============================================================ */

/* Force all logo images */
.cb-logo img,
.cb-logo .custom-logo,
.cb-logo img.custom-logo,
.cb-logo .cb-logo-img,
header .cb-logo img,
.cb-header .cb-logo img,
.cb-logo a img,
.custom-logo {
    height: 40px !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 40px !important;
}

/* Tablet */
@media (max-width: 980px) {
    .cb-logo img,
    .cb-logo .custom-logo,
    .cb-logo img.custom-logo,
    .cb-logo .cb-logo-img,
    header .cb-logo img,
    .cb-header .cb-logo img,
    .cb-logo a img,
    .custom-logo {
        height: 32px !important;
        width: auto !important;
        max-width: 100% !important;
        max-height: 32px !important;
    }
}

/* Mobile */
@media (max-width: 680px) {
    .cb-logo img,
    .cb-logo .custom-logo,
    .cb-logo img.custom-logo,
    .cb-logo .cb-logo-img,
    header .cb-logo img,
    .cb-header .cb-logo img,
    .cb-logo a img,
    .custom-logo {
        height: 26px !important;
        width: auto !important;
        max-width: 100% !important;
        max-height: 26px !important;
    }
}

/* Extra Small */
@media (max-width: 480px) {
    .cb-logo img,
    .cb-logo .custom-logo,
    .cb-logo img.custom-logo,
    .cb-logo .cb-logo-img,
    header .cb-logo img,
    .cb-header .cb-logo img,
    .cb-logo a img,
    .custom-logo {
        height: 22px !important;
        width: auto !important;
        max-width: 100% !important;
        max-height: 22px !important;
    }
}

/* ============================================================
   LEFT FIXED NAVIGATION SIDEBAR
   ============================================================ */

.cb-nav-sidebar-fixed {
    position: fixed;
    top: 100px;
    left: 0;
    bottom: 0;
    width: 280px;
    background: #232443;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px 16px;
    box-sizing: border-box;
}

.cb-nav-sidebar-fixed-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cb-nav-sidebar-fixed-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cb-nav-sidebar-fixed-menu li {
    margin: 0;
    padding: 0;
}

.cb-nav-sidebar-fixed-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #101730;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    min-height: 48px;
}

.cb-nav-sidebar-fixed-link:hover {
    background: #F05028 !important;
    color: #ffffff !important;
    transform: translateX(4px);
}

.cb-nav-sidebar-fixed-link.active {
    background: #F05028 !important;
    color: #ffffff !important;
}

.cb-nav-sidebar-fixed-link.active .cb-nav-sidebar-fixed-icon {
    opacity: 1 !important;
}

.cb-nav-sidebar-fixed-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.cb-nav-sidebar-fixed-link:hover .cb-nav-sidebar-fixed-icon,
.cb-nav-sidebar-fixed-link.active .cb-nav-sidebar-fixed-icon {
    opacity: 1;
}

.cb-nav-sidebar-fixed-label {
    white-space: nowrap;
}

.cb-nav-sidebar-fixed-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 16px;
    list-style: none;
}

/* ============================================================
   DESKTOP (>= 769px) - Fixed sidebar visible
   ============================================================ */
@media (min-width: 769px) {
    .cb-nav-sidebar-fixed {
        transform: translateX(0);
        width: 280px;
        top: 110px;
    }

    /* Content - may margin para hindi matabunan */
    .cb-wrap,
    .cb-page,
    .cb-404,
    .cb-home-banner,
    .cb-home-intro,
    .cb-home-posts,
    .cb-home-rest,
    .cb-single-head,
    .cb-single-media,
    .cb-article,
    .cb-comments,
    .cb-related,
    .cb-page-head,
    .cb-main {
        margin-left: 10px !important;
        width: auto !important;
        max-width: calc(100% - 10px) !important;
        box-sizing: border-box !important;
    }

    .cb-container {
        max-width: calc(100% - 280px) !important;
        margin-left: 280px !important;
        padding: 0 20px !important;
        width: auto !important;
        box-sizing: border-box !important;
    }

    /* Original sidebar - nasa right side, hindi naaapektuhan */
    .cb-sidebar {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================================
   MOBILE (<= 768px) - Hidden
   ============================================================ */
@media (max-width: 768px) {
    .cb-nav-sidebar-fixed {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 280px;
        top: 0;
        left: 0;
        bottom: 0;
    }

    .cb-wrap,
    .cb-page,
    .cb-404,
    .cb-home-banner,
    .cb-home-intro,
    .cb-home-posts,
    .cb-home-rest,
    .cb-single-head,
    .cb-single-media,
    .cb-article,
    .cb-comments,
    .cb-related,
    .cb-page-head,
    .cb-main,
    .cb-container {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Original sidebar - full width sa mobile */
    .cb-sidebar {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Scrollbar styling */
.cb-nav-sidebar-fixed::-webkit-scrollbar {
    width: 4px;
}

.cb-nav-sidebar-fixed::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.cb-nav-sidebar-fixed::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.cb-nav-sidebar-fixed::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================================ */

.cb-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: #232443;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* MENU Button - mas malapad */
.cb-mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: #101730;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 160px;
    min-height: 48px;
}

.cb-mobile-menu-btn:hover {
    background: #F05028;
    transform: scale(1.02);
}

.cb-mobile-menu-btn svg {
    stroke: #ffffff;
    flex-shrink: 0;
}

.cb-mobile-menu-btn:hover svg {
    stroke: #ffffff;
}

.cb-mobile-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Home Button - with active state */
.cb-mobile-home-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 16px;
    background: #101730;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 48px;
    min-width: 64px;
}

.cb-mobile-home-btn:hover {
    background: #F05028;
    border-color: #F05028;
    transform: scale(1.02);
}

.cb-mobile-home-btn.active {
    background: #F05028;
    border-color: #F05028;
}

.cb-mobile-home-btn.active svg {
    stroke: #ffffff;
}

.cb-mobile-home-btn.active .cb-mobile-label {
    color: #ffffff;
}

.cb-mobile-home-btn svg {
    stroke: #ffffff;
    width: 22px;
    height: 22px;
}

.cb-mobile-home-btn .cb-mobile-label {
    color: #9aa3c7;
    font-size: 10px;
    font-weight: 600;
}

.cb-mobile-home-btn:hover .cb-mobile-label {
    color: #ffffff;
}

/* Blogs Button - with active state */
.cb-mobile-blogs-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 16px;
    background: #101730;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 48px;
    min-width: 64px;
}

.cb-mobile-blogs-btn:hover {
    background: #F05028;
    border-color: #F05028;
    transform: scale(1.02);
}

.cb-mobile-blogs-btn.active {
    background: #F05028;
    border-color: #F05028;
}

.cb-mobile-blogs-btn.active svg {
    stroke: #ffffff;
}

.cb-mobile-blogs-btn.active .cb-mobile-label {
    color: #ffffff;
}

.cb-mobile-blogs-btn svg {
    stroke: #ffffff;
    width: 22px;
    height: 22px;
}

.cb-mobile-blogs-btn .cb-mobile-label {
    color: #9aa3c7;
    font-size: 10px;
    font-weight: 600;
}

.cb-mobile-blogs-btn:hover .cb-mobile-label {
    color: #ffffff;
}

/* Mobile */
@media (max-width: 768px) {
    .cb-mobile-bottom-nav {
        display: flex !important;
    }

    body.cb-body {
        padding-bottom: 80px !important;
    }

    .cb-nav-sidebar-fixed {
        top: 0;
        transform: translateX(-100%);
        left: 0;
        bottom: 0;
        width: 280px;
        max-height: 100vh;
        border-radius: 0;
        border: none;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .cb-nav-sidebar-fixed.open {
        transform: translateX(0);
    }

    .cb-nav-sidebar-fixed::-webkit-scrollbar {
        width: 0;
    }
}

/* Desktop */
@media (min-width: 769px) {
    .cb-mobile-bottom-nav {
        display: none !important;
    }

    body.cb-body {
        padding-bottom: 0 !important;
    }
}

/* Extra Small */
@media (max-width: 480px) {
    .cb-mobile-bottom-nav {
        padding: 6px 12px;
        gap: 8px;
    }

    .cb-mobile-menu-btn {
        padding: 8px 16px;
        font-size: 12px;
        min-height: 42px;
        max-width: 130px;
    }

    .cb-mobile-menu-btn svg {
        width: 20px;
        height: 20px;
    }

    .cb-mobile-home-btn,
    .cb-mobile-blogs-btn {
        min-height: 42px;
        min-width: 54px;
        padding: 4px 12px;
    }

    .cb-mobile-home-btn svg,
    .cb-mobile-blogs-btn svg {
        width: 18px;
        height: 18px;
    }

    .cb-mobile-label {
        font-size: 11px;
    }

    body.cb-body {
        padding-bottom: 70px !important;
    }

    .cb-nav-sidebar-fixed {
        width: 240px;
    }
}

/* ============================================================
   FOOTER - 4 Columns
   ============================================================ */

.cb-footer {
    background: #0D142B; /* New background color */
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 50px 200px 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cb-footer .cb-container {
    max-width: 100%;
    padding: 0;
}

/* 4 Columns Grid */
.cb-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 30px;
}

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

/* Column 1: Brand */
.cb-footer-col-brand {
    gap: 16px;
}

.cb-footer-logo .custom-logo {
    height: 40px;
    width: auto;
}

.cb-footer-site-name {
    font-weight: 800;
    font-size: 22px;
    color: var(--cb-primary);
    letter-spacing: 0.4px;
}

.cb-footer-description {
    color: var(--cb-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
}

/* Headings */
.cb-footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Menu */
.cb-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cb-footer-menu li {
    margin: 0;
    padding: 0;
}

.cb-footer-menu a {
    color: var(--cb-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cb-footer-menu a:hover {
    color: var(--cb-primary);
}

/* Column 4: Support */
.cb-footer-support-text {
    color: var(--cb-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.cb-footer-support-logos {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    margin: 4px 0;
}

/* Wrapper para sa logos - transparent background, walang border */
.cb-footer-support-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    background: transparent !important;
    border-radius: 8px;
    border: none !important;
    cursor: default;
    transition: opacity 0.3s ease;
}

.cb-footer-support-logo-wrap:hover {
    opacity: 0.8;
}

.cb-footer-support-logo {
    height: 28px;
    width: auto;
    max-width: 100px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.cb-footer-support-logo-wrap:hover .cb-footer-support-logo {
    opacity: 1;
}

.cb-footer-support-contact {
    color: var(--cb-muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.cb-footer-support-contact strong {
    color: #ffffff;
}

.cb-footer-support-contact a {
    color: var(--cb-primary);
    text-decoration: none;
}

.cb-footer-support-contact a:hover {
    text-decoration: underline;
}

/* Copyright */
.cb-footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cb-footer-copyright p {
    color: #fff;
    font-size: 13px;
    margin: 0;
}

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

@media (max-width: 1200px) {
    .cb-footer {
        padding: 40px 100px 20px;
    }
}

@media (max-width: 980px) {
    .cb-footer {
        padding: 34px 40px 20px;
    }

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

    .cb-footer-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .cb-footer {
        padding: 30px 20px 16px;
    }

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

    .cb-footer-col {
        align-items: center;
        text-align: center;
    }

    .cb-footer-menu {
        align-items: center;
    }

    .cb-footer-support-logos {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cb-footer-description {
        max-width: 100%;
        text-align: center;
    }

    .cb-footer-support-logo {
        height: 24px;
    }
}

@media (max-width: 680px) {
    .cb-footer {
        padding: 24px 12px 12px !important;
    }

    .cb-footer-support-logo {
        height: 22px;
        max-width: 80px;
    }

    .cb-footer-copyright p {
        font-size: 12px;
    }

    .cb-footer-support-contact {
        font-size: 12px;
    }

    .cb-footer-support-text {
        font-size: 12px;
    }

    .cb-footer-support-logos {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .cb-footer {
        padding: 20px 8px 10px !important;
    }

    .cb-footer-support-logo {
        height: 18px;
        max-width: 60px;
    }

    .cb-footer-logo .custom-logo {
        height: 32px;
    }

    .cb-footer-site-name {
        font-size: 18px;
    }

    .cb-footer-description {
        font-size: 13px;
    }

    .cb-footer-heading {
        font-size: 13px;
    }

    .cb-footer-menu a {
        font-size: 13px;
    }

    .cb-footer-support-logos {
        gap: 6px;
    }
}