/* ================================================================
   CRIMEPATROL NEWS — MAIN STYLESHEET v2.0
   Mobile-First | Dark/Light/Night Modes | Advanced Animations
   Footer ALWAYS DARK — never affected by color mode
================================================================ */

/* ── Google Font Fallback ── */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

/* ================================================================
   1. CSS VARIABLES — COLOR MODES
================================================================ */
html[data-theme="light"],
html:not([data-theme]) {
  --bg:         #f4f5f7;
  --bg2:        #ffffff;
  --bg3:        #eef0f3;
  --text:       #1a1a1a;
  --text2:      #444444;
  --text3:      #777777;
  --border:     #e0e0e0;
  --shadow:     rgba(0,0,0,0.08);
  --shadow-h:   rgba(0,0,0,0.18);
  --nav-bg:     #1a1a2e;
  --nav-text:   #ffffff;
  --ticker-bg:  #cc0000;
  --card-bg:    #ffffff;
  --meta-bg:    #f0f0f0;
  --link:       #cc0000;
  --link-hover: #990000;
  --tag-bg:     #fff0f0;
  --tag-text:   #cc0000;
  --red:        #cc0000;
  --red2:       #e94560;
  --overlay:    rgba(0,0,0,0.55);
  --skeleton:   #e0e0e0;
}

html[data-theme="greenred"] {
  /* Bangladesh Flag concept: Deep Green + Red */
  --bg:         #0a1f0e;
  --bg2:        #0f2d13;
  --bg3:        #143317;
  --text:       #f0f5f1;
  --text2:      #c8ddc9;
  --text3:      #7aaa80;
  --border:     #1e4a22;
  --shadow:     rgba(0,0,0,0.45);
  --shadow-h:   rgba(0,0,0,0.65);
  --nav-bg:     #061409;
  --nav-text:   #f0f5f1;
  --ticker-bg:  #cc2200;
  --card-bg:    #0f2d13;
  --meta-bg:    #143317;
  --link:       #e8443a;
  --link-hover: #ff6b5e;
  --tag-bg:     #1a1a0d;
  --tag-text:   #e8443a;
  --red:        #e8443a;
  --red2:       #ff6b5e;
  --overlay:    rgba(0,0,0,0.68);
  --skeleton:   #1e4a22;
}

html[data-theme="night"] {
  --bg:         #0f1629;
  --bg2:        #1a2540;
  --bg3:        #1e2d4e;
  --text:       #e8eaf6;
  --text2:      #b0bec5;
  --text3:      #7986cb;
  --border:     #2a3555;
  --shadow:     rgba(0,0,0,0.45);
  --shadow-h:   rgba(0,0,0,0.65);
  --nav-bg:     #0a1020;
  --nav-text:   #e8eaf6;
  --ticker-bg:  #8b0000;
  --card-bg:    #1a2540;
  --meta-bg:    #1e2d4e;
  --link:       #ef5350;
  --link-hover: #ff7043;
  --tag-bg:     #1f1632;
  --tag-text:   #ef5350;
  --red:        #ef5350;
  --red2:       #ff7043;
  --overlay:    rgba(0,0,0,0.65);
  --skeleton:   #2a3555;
}

/* FOOTER — ALWAYS DARK REGARDLESS OF MODE */
:root {
  --footer-bg:        #111111;
  --footer-bg2:       #1c1c1c;
  --footer-text:      #cccccc;
  --footer-text2:     #999999;
  --footer-border:    #2a2a2a;
  --footer-link:      #e0e0e0;
  --footer-link-h:    #cc0000;
  --footer-title:     #ffffff;
  --footer-accent:    #cc0000;
}

/* ================================================================
   2. RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover { color: var(--link-hover); }

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

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ================================================================
   3. UTILITY CLASSES
================================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.section-title::before {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--red);
  position: absolute;
  bottom: -2px;
  left: 0;
  transition: width 0.6s ease;
}

.section-title.animated::before { width: 80px; }

.section-title .icon {
  color: var(--red);
  font-size: 1.1em;
}

.see-all-btn {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.see-all-btn:hover {
  background: var(--red);
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: var(--red);
  color: #fff;
}

/* ================================================================
   4. TOP BAR
================================================================ */
.cp-topbar {
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 6px 0;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cp-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.cp-live-clock {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}
.cp-live-clock .clock-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4caf50;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}
.cp-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cp-mode-btns {
  display: flex;
  gap: 6px;
}
.cp-mode-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  transition: background 0.2s ease;
}
.cp-mode-btn:hover,
.cp-mode-btn.active { background: var(--red); }

/* ================================================================
   5. HEADER
================================================================ */
.cp-header {
  background: var(--bg2);
  box-shadow: 0 2px 8px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.cp-header.scrolled {
  box-shadow: 0 4px 16px var(--shadow-h);
}
.cp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}
.cp-logo {
  flex-shrink: 0;
}
.cp-logo img {
  max-height: 60px;
  width: auto;
}
.cp-logo .text-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}
.cp-logo .text-logo span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text3);
}
.cp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cp-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  padding: 6px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.cp-search-toggle:hover { background: var(--bg3); color: var(--red); }

/* Search Box */
.cp-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cp-search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cp-search-box {
  width: 100%;
  max-width: 600px;
  padding: 0 16px;
}
.cp-search-form {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
.cp-search-overlay.open .cp-search-form {
  transform: translateY(0);
}
.cp-search-form input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #fff;
  color: #111;
}
.cp-search-form button {
  padding: 16px 20px;
  background: var(--red);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}
.cp-search-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

/* ================================================================
   6. BREAKING NEWS TICKER (Thumbnail + Headline — user loved this)
================================================================ */
.cp-breaking-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  width: 100%;
}
.cp-breaking-inner {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.cp-breaking-label {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cp-breaking-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: breakingPulse 1s infinite;
}
@keyframes breakingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(1.3); }
}
.cp-ticker-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding: 4px 0;
}
.cp-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: tickerScroll 70s linear infinite;
}
.cp-ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cp-ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 20px 4px 0;
  cursor: pointer;
  border-right: 2px solid var(--border);
  margin-right: 20px;
  color: var(--text);
  transition: color 0.2s ease;
}
.cp-ticker-item:hover { color: var(--red); }
.cp-ticker-item img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.cp-ticker-item span {
  font-size: 0.84rem;
  white-space: nowrap;
  font-weight: 500;
}

/* ================================================================
   7. NAVIGATION
================================================================ */
.cp-nav {
  background: var(--nav-bg);
}
.cp-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cp-nav-inner::-webkit-scrollbar { display: none; }
.cp-nav-item {
  position: relative;
  flex-shrink: 0;
}
.cp-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
  color: var(--nav-text);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.cp-nav-link:hover,
.cp-nav-link.current {
  background: rgba(204,0,0,0.85);
  color: #fff;
}
.cp-nav-item:hover .cp-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cp-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg2);
  min-width: 200px;
  box-shadow: 0 8px 24px var(--shadow-h);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 500;
  border-top: 3px solid var(--red);
}
.cp-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.cp-dropdown a:hover {
  background: var(--bg3);
  color: var(--red);
  padding-left: 22px;
}

/* Hamburger */
.cp-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.cp-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.cp-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cp-hamburger.open span:nth-child(2) { opacity: 0; }
.cp-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer menu */
.cp-mobile-menu {
  position: fixed;
  top: 0; left: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg2);
  z-index: 1500;
  padding: 20px;
  overflow-y: auto;
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 4px 0 24px rgba(0,0,0,0.3);
}
.cp-mobile-menu.open { left: 0; }
.cp-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.cp-mobile-overlay.open { opacity: 1; visibility: visible; }
.cp-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cp-mobile-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
}
.cp-mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}
.cp-mobile-menu nav a:hover { color: var(--red); padding-left: 14px; }

/* ================================================================
   8. HERO SLIDER
================================================================ */
.cp-hero {
  position: relative;
  overflow: hidden;
  background: #000;
}
.cp-hero-slider {
  position: relative;
  height: 480px;
}
.cp-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  overflow: hidden;
}
.cp-hero-slide.active { opacity: 1; z-index: 2; }
.cp-hero-slide.prev   { opacity: 0; z-index: 1; }
.cp-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: kenBurns 10s ease-in-out infinite;
}
.cp-hero-slide.active img { animation: kenBurns 10s ease-in-out forwards; }
@keyframes kenBurns {
  0%   { transform: scale(1)    translate(0,0); }
  100% { transform: scale(1.08) translate(-2%,-1%); }
}
.cp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.cp-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 24px;
  z-index: 3;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.7s ease 0.3s, opacity 0.7s ease 0.3s;
}
.cp-hero-slide.active .cp-hero-content {
  transform: translateY(0);
  opacity: 1;
}
.cp-hero-cat {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cp-hero-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.cp-hero-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}
/* Slider controls */
.cp-hero-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 4;
  display: flex;
  gap: 6px;
}
.cp-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.cp-hero-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}
.cp-hero-prev,
.cp-hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  z-index: 4;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp-hero-prev:hover,
.cp-hero-next:hover { background: var(--red); border-color: var(--red); }
.cp-hero-prev { left: 12px; }
.cp-hero-next { right: 12px; }

/* ================================================================
   9. NEWS CARDS
================================================================ */
.cp-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px var(--shadow-h);
}
.cp-card-img {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}
.cp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.cp-card:hover .cp-card-img img { transform: scale(1.06); }
.cp-card-body {
  padding: 14px;
}
.cp-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}
.cp-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.cp-card:hover .cp-card-title { color: var(--red); }
.cp-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--text3);
  flex-wrap: wrap;
}
.cp-card-meta .sep { color: var(--border); }

/* Horizontal list card */
.cp-card-h {
  display: flex;
  gap: 12px;
  padding: 10px;
  background: var(--card-bg);
  border-radius: 8px;
  transition: background 0.2s, transform 0.25s ease;
  border-bottom: 1px solid var(--border);
}
.cp-card-h:hover {
  background: var(--bg3);
  transform: translateX(4px);
}
.cp-card-h-img {
  flex-shrink: 0;
  width: 90px;
  height: 65px;
  border-radius: 6px;
  overflow: hidden;
}
.cp-card-h-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cp-card-h:hover .cp-card-h-img img { transform: scale(1.06); }
.cp-card-h-body { flex: 1; min-width: 0; }
.cp-card-h-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
  margin-bottom: 5px;
}
.cp-card-h:hover .cp-card-h-title { color: var(--red); }
.cp-card-h-meta { font-size: 0.7rem; color: var(--text3); }

/* ================================================================
   10. HOMEPAGE LAYOUT
================================================================ */
.cp-main-content {
  padding: 24px 0;
}

/* Featured section: 1 big + 4 small */
.cp-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.cp-featured-main .cp-card-title {
  font-size: 1.15rem;
  -webkit-line-clamp: 4;
}
.cp-featured-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* News grid — 3 columns */
.cp-news-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

/* Category section */
.cp-category-section {
  margin-bottom: 36px;
}
.cp-category-section .cp-news-grid {
  grid-template-columns: repeat(1, 1fr);
}

/* With sidebar layout */
.cp-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* ================================================================
   11. SIDEBAR
================================================================ */
.cp-sidebar {}

.cp-sidebar .widget {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--shadow);
}
.cp-sidebar .widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cp-sidebar .widget-title span {
  flex: 1;
}
.cp-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.cp-popular-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 2px;
}
.cp-popular-title {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.4;
  font-weight: 500;
  transition: color 0.2s;
}
.cp-popular-title:hover { color: var(--red); }

/* ================================================================
   12. LATEST NEWS TICKER — FIXED AT BOTTOM OF SCREEN
================================================================ */
.cp-latest-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 890;
  background: var(--nav-bg);
  border-top: 2px solid var(--red);
  overflow: hidden;
  width: 100%;
}
@media (max-width: 767px) {
  .cp-latest-ticker { bottom: 65px; }
}
.cp-latest-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.cp-latest-label {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cp-latest-scroll {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.cp-latest-items {
  display: flex;
  width: max-content;
  animation: tickerScroll 65s linear infinite;
}
.cp-latest-items:hover { animation-play-state: paused; }
.cp-latest-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 28px 8px 0;
  color: #e0e0e0;
  font-size: 0.82rem;
  white-space: nowrap;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.12);
  margin-right: 28px;
  transition: color 0.2s;
  text-decoration: none;
}
.cp-latest-item:hover { color: var(--red); }
.cp-latest-item::before {
  content: '▶';
  color: var(--red);
  font-size: 0.58rem;
  flex-shrink: 0;
}

/* ================================================================
   13. SINGLE POST
================================================================ */
.cp-single-hero {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}
.cp-single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-single-header {
  margin-bottom: 20px;
}
.cp-single-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.cp-single-cats a {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--tag-bg);
  color: var(--tag-text);
  transition: background 0.2s, color 0.2s;
}
.cp-single-cats a:hover { background: var(--red); color: #fff; }
.cp-single-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 14px;
}
.cp-single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text3);
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.cp-single-meta a { color: var(--text3); }
.cp-single-meta a:hover { color: var(--red); }
.cp-meta-icon { color: var(--red); }

/* Reading Progress */
.cp-reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Share Bar */
.cp-share-bar {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
  opacity: 0;
  transform: translateY(-50%) translateX(-60px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cp-share-bar.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.cp-share-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.cp-share-btn:hover { transform: scale(1.15); filter: brightness(1.1); color: #fff; }
.cp-share-btn.fb   { background: #1877f2; }
.cp-share-btn.wa   { background: #25d366; }
.cp-share-btn.tw   { background: #1da1f2; }
.cp-share-btn.copy { background: #607d8b; }

/* Article Content */
.cp-article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.cp-article-body p {
  margin-bottom: 16px;
}
.cp-article-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text);
  border-left: 4px solid var(--red);
  padding-left: 12px;
}
.cp-article-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--text);
}
.cp-article-body img {
  border-radius: 8px;
  margin: 16px auto;
}
.cp-article-body blockquote {
  border-left: 4px solid var(--red);
  background: var(--bg3);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--text2);
}
.cp-article-body a { color: var(--red); }
.cp-article-body a:hover { text-decoration: underline; }

/* Author Box */
.cp-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg3);
  border-radius: 10px;
  padding: 20px;
  margin: 32px 0;
  border: 1px solid var(--border);
}
.cp-author-avatar img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--red);
}
.cp-author-name { font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.cp-author-desc { font-size: 0.82rem; color: var(--text3); line-height: 1.4; }

/* Tags */
.cp-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.cp-post-tags a {
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 0.78rem;
  transition: all 0.2s;
}
.cp-post-tags a:hover { background: var(--red); color: #fff; }

/* Related Posts */
.cp-related {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ================================================================
   14. PAGINATION
================================================================ */
.cp-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.cp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  transition: all 0.25s ease;
}
.cp-pagination .page-numbers:hover,
.cp-pagination .page-numbers.current {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ================================================================
   15. ARCHIVE / CATEGORY PAGE
================================================================ */
.cp-archive-header {
  background: var(--nav-bg);
  color: #fff;
  padding: 24px 0;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.cp-archive-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red) 0%, transparent 60%);
  opacity: 0.3;
}
.cp-archive-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.cp-archive-header .cp-post-count {
  font-size: 0.85rem;
  opacity: 0.75;
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

/* ================================================================
   16. 404 PAGE
================================================================ */
.cp-404 {
  text-align: center;
  padding: 80px 20px;
}
.cp-404-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  opacity: 0.15;
  margin-bottom: -40px;
}
.cp-404-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}
.cp-404-text {
  color: var(--text3);
  margin-bottom: 28px;
}
.cp-404-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s, filter 0.2s;
}
.cp-404-btn:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }

/* ================================================================
   17. FOOTER — ALWAYS DARK — COLOR MODE CANNOT TOUCH THIS
================================================================ */
.cp-footer {
  background: var(--footer-bg) !important;
  color: #FFD700 !important;
  margin-top: 40px;
}

/* Footer top widgets area */
.cp-footer-widgets {
  display: none !important;
}

/* ALL children of footer — no exceptions */
.cp-footer *,
.cp-footer-widgets *,
.cp-footer-bottom * {
  background-color: transparent !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Text colors — force */
.cp-footer p,
.cp-footer span,
.cp-footer div,
.cp-footer li,
.cp-footer td,
.cp-footer th,
.cp-footer label {
  color: #FFD700 !important;
}

/* Links */
.cp-footer a,
.cp-footer .widget a {
  color: #FFD700 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.cp-footer a:hover,
.cp-footer .widget a:hover {
  color: #FFD700 !important;
}

/* Headings */
.cp-footer h1,
.cp-footer h2,
.cp-footer h3,
.cp-footer h4,
.cp-footer h5,
.cp-footer h6,
.cp-footer .widget-title,
.cp-footer .widget-title span {
  color: #FFD700 !important;
  background: transparent !important;
}

/* Widget title style */
.cp-footer .widget-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 18px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--footer-border) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.cp-footer .widget-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  background: var(--footer-accent);
  border-radius: 2px;
}

/* Footer grid */
.cp-footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Footer lists */
.cp-footer ul,
.cp-footer .widget ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.cp-footer ul li,
.cp-footer .widget ul li {
  padding: 5px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  color: #FFD700 !important;
}

/* Footer about text */
.cp-footer-about p {
  font-size: 0.85rem !important;
  line-height: 1.7 !important;
  color: #FFD700 !important;
}

/* Social icons */
.cp-footer-social {
  display: flex !important;
  gap: 10px !important;
  margin-top: 16px !important;
}
.cp-footer-social a {
  width: 36px !important; height: 36px !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FFD700 !important;
  font-size: 0.9rem !important;
  transition: background 0.2s ease !important;
}
.cp-footer-social a:hover {
  background: var(--footer-accent) !important;
  color: #fff !important;
}

/* Footer bottom bar */
.cp-footer-bottom {
  background: #0a0a0a !important;
  padding: 10px 0 !important;
  border-top: 1px solid var(--footer-border) !important;
}
.cp-footer-bottom .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.cp-footer-copyright {
  font-size: 0.78rem !important;
  color: #FFD700 !important;
}
.cp-footer-links {
  display: flex !important;
  gap: 16px !important;
}
.cp-footer-links a {
  font-size: 0.75rem !important;
  color: #FFD700 !important;
}
.cp-footer-links a:hover {
  color: #FFD700 !important;
}

/* ================================================================
   18. MOBILE BOTTOM NAVIGATION
================================================================ */
.cp-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  z-index: 900;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
.cp-bottom-nav-inner {
  display: flex;
  align-items: stretch;
}
.cp-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  color: var(--text3);
  font-size: 0.62rem;
  gap: 4px;
  cursor: pointer;
  transition: color 0.2s;
  border: none;
  background: none;
  text-decoration: none;
}
.cp-bottom-nav-item:hover,
.cp-bottom-nav-item.active { color: var(--red); }
.cp-bottom-nav-icon {
  font-size: 1.1rem;
}

/* ================================================================
   19. BACK TO TOP
================================================================ */
.cp-back-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  z-index: 800;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(204,0,0,0.35);
}
.cp-back-top.show {
  opacity: 1;
  transform: translateY(0);
}
.cp-back-top:hover { transform: translateY(-3px); }

/* ================================================================
   20. SCROLL REVEAL ANIMATIONS
================================================================ */
.cp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.cp-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.cp-reveal-delay-1 { transition-delay: 0.1s; }
.cp-reveal-delay-2 { transition-delay: 0.2s; }
.cp-reveal-delay-3 { transition-delay: 0.3s; }
.cp-reveal-delay-4 { transition-delay: 0.4s; }

/* Category header line animation */
.cp-cat-line {
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width 0.7s ease;
  position: absolute;
  bottom: -2px; left: 0;
}
.cp-cat-line.grow { width: 70px; }

/* Loading skeleton */
.cp-skeleton {
  background: linear-gradient(90deg, var(--skeleton) 25%, var(--bg3) 50%, var(--skeleton) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ================================================================
   FOOTER ABOUT WRAP — SINGLE COLUMN FULL WIDTH
================================================================ */
.cp-footer-about-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.cp-footer-logo-area { margin-bottom: 12px; }
.cp-footer-logo-area img { max-height: 64px; margin: 0 auto; }
.cp-footer-text-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red) !important;
}
.cp-footer-tagline {
  font-size: 0.85rem !important;
  color: #FFD700 !important;
  margin-bottom: 8px !important;
}
.cp-footer-desc {
  font-size: 0.88rem !important;
  color: #FFD700 !important;
  line-height: 1.7 !important;
  max-width: 520px;
  margin: 0 auto 18px !important;
}
.cp-footer-nav-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  justify-content: center !important;
  margin-top: 16px !important;
}
.cp-footer-nav-row a {
  font-size: 0.82rem !important;
  color: #FFD700 !important;
}
.cp-footer-nav-row a:hover { color: var(--red) !important; }
.cp-footer-nav-row span { color: #FFD700 !important; }

/* Footer bottom: two items side by side */
.cp-footer-bottom-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.cp-footer-slogan { opacity: 0.45; }
.cp-footer-developer {
  font-size: 0.75rem !important;
  color: #FFD700 !important;
}
.cp-footer-developer a {
  color: #FFD700 !important;
}
.cp-footer-developer a:hover { color: var(--red) !important; }

/* Body padding for fixed tickers */
body { padding-bottom: 38px; }
@media (max-width: 767px) {
  body { padding-bottom: 103px; }
}

/* ================================================================
   21. RESPONSIVE — MOBILE FIRST
================================================================ */

/* ── Small phones (up to 480px) ── */
@media (max-width: 480px) {
  .cp-hero-slider { height: 260px; }
  .cp-hero-title { font-size: 1rem; }
  .cp-hero-prev, .cp-hero-next { display: none; }
  .cp-single-title { font-size: 1.2rem; }
  .cp-share-bar { display: none; }
  .cp-topbar-right .cp-topbar-links { display: none; }
}

/* ── Tablets (min 600px) ── */
@media (min-width: 600px) {
  .cp-news-grid          { grid-template-columns: repeat(2, 1fr); }
  .cp-footer-cols        { grid-template-columns: repeat(2, 1fr); }
  .cp-hero-slider        { height: 340px; }
  .cp-hero-title         { font-size: 1.2rem; }
}

/* ── Tablets Large (min 768px) ── */
@media (min-width: 768px) {
  .container             { padding: 0 24px; }
  .cp-hero-slider        { height: 400px; }
  .cp-hero-title         { font-size: 1.35rem; }
  .cp-hero-prev,
  .cp-hero-next          { display: flex; }
  .cp-featured-grid      {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
  .cp-featured-list      { gap: 0; }
  .cp-content-wrapper    { grid-template-columns: 1fr 300px; }
  .cp-category-section .cp-news-grid { grid-template-columns: repeat(3, 1fr); }
  .cp-footer-cols        { grid-template-columns: repeat(3, 1fr); }
  .cp-bottom-nav         { display: none; }
  .cp-single-title       { font-size: 1.55rem; }
  .cp-share-bar          { display: flex; }
}

/* ── Desktop (min 1024px) ── */
@media (min-width: 1024px) {
  .container             { padding: 0 32px; }
  .cp-hero-slider        { height: 480px; }
  .cp-hero-title         { font-size: 1.5rem; }
  .cp-news-grid          { grid-template-columns: repeat(3, 1fr); }
  .cp-featured-grid      { grid-template-columns: 1.8fr 1fr; }
  .cp-footer-cols        { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .cp-hamburger          { display: none; }
  .cp-single-title       { font-size: 1.8rem; }
}

/* ── Large Desktop (min 1280px) ── */
@media (min-width: 1280px) {
  .cp-news-grid          { grid-template-columns: repeat(4, 1fr); }
  .cp-content-wrapper    { grid-template-columns: 1fr 320px; }
}

/* ── Mobile only (max 767px) ── */
@media (max-width: 767px) {
  .cp-hamburger          { display: flex; }
  .cp-nav                { display: none; }
  .cp-bottom-nav         { display: block; }
  body                   { padding-bottom: 65px; }
  .cp-back-top           { bottom: 80px; }
  .cp-content-wrapper    { grid-template-columns: 1fr; }
  .cp-sidebar            { order: 2; }
  .cp-share-bar          { display: none; }
  .cp-hero-slider        { height: 240px; }
  .cp-hero-title         { font-size: 1rem; }
  .cp-category-section .cp-news-grid { grid-template-columns: 1fr; }
  .cp-featured-grid      { grid-template-columns: 1fr; }
}

/* ================================================================
   22. MISC
================================================================ */
.cp-placeholder { object-fit: cover; }
.cp-no-img { background: var(--bg3); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.cp-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.text-red   { color: var(--red); }
.text-muted { color: var(--text3); }
.text-small { font-size: 0.8rem; }
.gap-12 { gap: 12px; }
.flex-center { display: flex; align-items: center; }
.mt-0 { margin-top: 0 !important; }

/* Copy success toast */
.cp-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.cp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================================================================
   RIPPLE / TOUCH ANIMATION
================================================================ */
.cp-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleEffect 0.7s linear;
  background: radial-gradient(circle, rgba(204,0,0,0.35) 0%, rgba(204,0,0,0) 70%);
  pointer-events: none;
}
@keyframes rippleEffect {
  0%   { transform: scale(0);   opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* Fix: no extra gap under breaking ticker */
.cp-breaking-bar + .cp-nav {
  margin-top: 0;
}

/* Footer minimal */
.cp-footer {
  background: var(--footer-bg) !important;
  margin-top: 20px;
}
.cp-footer-bottom-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}
.cp-footer-copyright {
  font-size: 0.78rem !important;
  color: #FFD700 !important;
}
.cp-footer-slogan { opacity: 0.35; }
.cp-footer-developer {
  font-size: 0.75rem !important;
  color: #FFD700 !important;
}
.cp-footer-developer a {
  color: #FFD700 !important;
}
.cp-footer-developer a:hover { color: var(--red) !important; }

/* ================================================================
   FOOTER WIDGET AREA — BIG & EMPTY BY DEFAULT
   User adds content via Appearance → Widgets → Footer Area
================================================================ */
.cp-footer-widget-area {
  background: var(--footer-bg) !important;
  min-height: 220px;
  padding: 48px 0 40px !important;
  border-top: 3px solid var(--footer-accent) !important;
}

/* When empty placeholder is shown */
.cp-footer-empty-placeholder {
  min-height: 180px;
  width: 100%;
}

/* Widget styles inside footer area */
.cp-footer-widget-area .widget {
  background: transparent !important;
  color: #FFD700 !important;
  margin-bottom: 24px;
}
.cp-footer-widget-area .widget-title,
.cp-footer-widget-area .widget-title span,
.cp-footer-widget-area h1,
.cp-footer-widget-area h2,
.cp-footer-widget-area h3,
.cp-footer-widget-area h4,
.cp-footer-widget-area p,
.cp-footer-widget-area li,
.cp-footer-widget-area span,
.cp-footer-widget-area div {
  color: #FFD700 !important;
  background: transparent !important;
  -webkit-user-select: text !important;
  user-select: text !important;
}
.cp-footer-widget-area a {
  color: #FFD700 !important;
}
.cp-footer-widget-area a:hover {
  color: #FFD700 !important;
}

/* Footer bottom — developer credit */
.cp-footer-bottom {
  background: #0a0a0a !important;
  padding: 12px 0 !important;
  border-top: 1px solid var(--footer-border) !important;
}
.cp-footer-bottom-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}
.cp-footer-copyright {
  font-size: 0.78rem !important;
  color: #FFD700 !important;
}
.cp-footer-developer {
  font-size: 0.75rem !important;
  color: #FFD700 !important;
}
.cp-footer-developer a {
  color: #FFD700 !important;
  text-decoration: none !important;
}
.cp-footer-developer a:hover {
  color: var(--red) !important;
}

/* Share row inline */
.cp-share-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px 0;
  padding: 14px 16px;
  background: var(--bg3);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text2);
}
.cp-share-row strong { color: var(--text2); }

/* ================================================================
   FOOTER MENU — ALWAYS DARK, never affected by color mode
================================================================ */
.cp-footer-nav-menu {
  background: #161616 !important;
  padding: 14px 0 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
.cp-footer-menu-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 0 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  justify-content: center !important;
}
.cp-footer-menu-list li a {
  display: inline-block !important;
  padding: 5px 16px !important;
  font-size: 0.82rem !important;
  color: #FFD700 !important;
  text-decoration: none !important;
  border-right: 1px solid rgba(255,255,255,0.1) !important;
  transition: color 0.2s ease !important;
  background: transparent !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}
.cp-footer-menu-list li:last-child a {
  border-right: none !important;
}
.cp-footer-menu-list li a:hover {
  color: #cc0000 !important;
}

/* ================================================================
   SECOND HERO SLIDER & CATEGORY HERO SLIDER
================================================================ */
.cp-second-hero,
.cp-cat-hero {
  margin-bottom: 28px;
}
.cp-second-slider,
.cp-cat-slider {
  height: 380px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
@media (max-width: 767px) {
  .cp-second-slider,
  .cp-cat-slider {
    height: 220px;
  }
}
.cp-cat-hero {
  margin-top: 0;
}
