@charset "UTF-8";
/* ================= GLOBAL COLOR SYSTEM ================= */
/* Editorial + Modern CMS System */
:root {
  /* ================= BRAND ================= */
  --color-brand: #B92025;
  --color-brand-dark: rgb(141.5207373272, 24.4792626728, 28.3041474654);
  --color-brand-soft: rgb(241.8755760369, 179.1244239631, 181.1751152074);
  /* ================= TEXT ================= */
  --color-text: #111111;
  --color-text-muted: #6b6b6b;
  --color-text-light: #9c9c9c;
  /* ================= BACKGROUNDS ================= */
  --color-dark: #1f1f1f;
  --color-bg: #f6f7fb;
  --color-surface: #ffffff;
  --color-surface-soft: #fafbff;
  /* ================= BORDERS ================= */
  --color-border: #e6e6e6;
  --color-border-light: #f0f0f0;
  /* ================= STATES ================= */
  --color-success: #1f8a4c;
  --color-success-bg: #e6f6ee;
  --color-error: #c62828;
  --color-error-bg: #fdecea;
  --color-warning: #f5a623;
  --color-warning-bg: #fff6e5;
  /* ================= UTILITY ================= */
  --color-white: #ffffff;
  /* ================= SHADOWS ================= */
  --shadow-soft: 0 4px 18px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= FONT SYSTEM ================= */
:root {
  /* Hindi editorial */
  --font-hindi: "Tiro Devanagari Hindi", serif;
  /* English editorial + UI */
  --font-english: "Inter", -apple-system, BlinkMacSystemFont,
      "Segoe UI", Roboto, Arial, sans-serif;
}

/* ================= TEXT ELEMENTS ================= */
a {
  color: inherit;
  text-decoration: none;
}

h1,
h3 {
  font-family: var(--font-editorial);
  font-weight: 500;
  line-height: 1.3;
}

h2 {
  font-family: var(--font-editorial);
  font-weight: 600;
  line-height: 1.3;
}

html,
body {
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  overflow-y: auto !important;
  /* Ensure vertical scroll works */
  width: 100%;
}

/* ================= GLOBAL LAYOUT ================= */
.site-content {
  min-height: 60vh;
}

/* ================= UI CONTEXTS ================= */
/* Clean, neutral fonts for navigation & footer */
.site-header,
.site-footer,
nav,
button {
  font-family: var(--font-ui);
}

.site-footer {
  padding-bottom: 0;
  /* ensure no white bleed */
}

/* ================= UTILITIES ================= */
.text-brand {
  color: var(--color-brand);
}

.border-brand {
  border-color: var(--color-brand);
}

/* ================= BASE BODY ================= */
body {
  font-family: var(--font-english);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

/* Variables */
/* Mixin */
/* ================= 1. TOP BAR ================= */
.top-bar {
  background: #f5f5f5;
  font-size: 13px;
  border-bottom: 1px solid #e5e5e5;
}
.top-bar .container {
  padding: 6px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar .top-social {
  display: flex;
  gap: 12px;
}
.top-bar .top-social a {
  color: #555555;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.top-bar .top-social a:hover {
  color: #be1212;
}
.top-bar .top-social .material-icons {
  font-size: 18px;
}
.top-bar .top-date {
  color: #555555;
  font-weight: 500;
}
@media (max-width: 991px) {
  .top-bar {
    display: none;
  }
}

/* ================= 2. BRAND BAR ================= */
.brand-bar {
  background: #ffffff;
  padding: 15px 0;
  text-align: center;
}
.brand-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-bar .brand-logo-img {
  max-width: 220px;
  height: auto;
  display: block;
}
@media (max-width: 991px) {
  .brand-bar {
    display: none;
  }
}

/* ================= 3. MAIN HEADER ================= */
.main-header {
  background: #be1212;
  color: #ffffff;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* Buttons */
  /* Mobile Logo */
  /* --- NAVIGATION MENU (UPDATED) --- */
}
.main-header.header-is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: slideDown 0.3s ease-out;
}
.main-header .header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 15px;
  position: relative;
}
.main-header .menu-toggle,
.main-header .search-toggle {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.main-header .menu-toggle .material-icons,
.main-header .search-toggle .material-icons {
  font-size: 26px;
}
.main-header .menu-toggle {
  display: none;
}
@media (max-width: 991px) {
  .main-header .menu-toggle {
    display: flex;
  }
}
.main-header .nav-logo-mobile {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
}
.main-header .nav-logo-mobile img {
  height: 32px;
  width: auto;
}
@media (max-width: 991px) {
  .main-header .nav-logo-mobile {
    display: block;
  }
}
.main-header .main-nav {
  display: flex;
  align-items: center;
  /* 1. Take up all available space */
  flex: 1;
  /* 2. Scrollable if items overflow (Safety) */
  overflow-x: auto;
  scrollbar-width: none;
  /* 3. Spacing from search button */
  margin: 0 15px;
  /* Mobile Header inside Nav */
  /* --- MOBILE OFF-CANVAS (Unchanged logic, just resetting desktop overrides) --- */
}
.main-header .main-nav::-webkit-scrollbar {
  display: none;
}
.main-header .main-nav .mobile-nav-header {
  display: none;
}
.main-header .main-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  height: 50px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
  /* 4. KEY CHANGES FOR EQUAL WIDTH & CENTER ALIGNMENT */
  flex: 1;
  /* Force equal width */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center text */
  padding: 0 5px;
  /* Minimal padding */
  min-width: -moz-fit-content;
  min-width: fit-content;
  /* Ensure long words don't break layout */
}
.main-header .main-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
}
.main-header .main-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-weight: 700;
}
@media (max-width: 991px) {
  .main-header .main-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    transition: left 0.3s ease;
    z-index: 2000;
    margin: 0;
    /* Reset margin */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
  }
  .main-header .main-nav.active {
    left: 0;
  }
  .main-header .main-nav .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background: rgb(38.75, 38.75, 38.75);
    border-bottom: 1px solid rgb(51.5, 51.5, 51.5);
  }
  .main-header .main-nav .mobile-nav-header h6 {
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
  }
  .main-header .main-nav .mobile-nav-header .menu-close {
    background: none;
    border: none;
    color: #ffffff;
    padding: 0;
    cursor: pointer;
  }
  .main-header .main-nav .nav-link {
    width: 100%;
    height: auto;
    padding: 15px 20px;
    border-bottom: 1px solid rgb(38.75, 38.75, 38.75);
    font-size: 16px;
    justify-content: flex-start;
    /* Reset center align for mobile */
    flex: none;
    /* Reset equal width */
  }
}

/* ================= 4. SEARCH OVERLAY ================= */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}
.search-overlay.active {
  display: flex;
}
.search-overlay .search-box {
  width: 90%;
  max-width: 600px;
  background: transparent;
}
.search-overlay .search-box .search-form {
  position: relative;
  border-bottom: 2px solid #ffffff;
}
.search-overlay .search-box .search-form input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  padding: 15px 50px 15px 0;
  outline: none;
}
.search-overlay .search-box .search-form input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.search-overlay .search-box .search-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.search-overlay .search-box .search-form .search-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 5px;
}
.search-overlay .search-box .search-form .search-close .material-icons {
  font-size: 28px;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
/* =========================================
   1. VARIABLES & RESET
========================================= */
:root {
  --color-brand: #B92025;
  --color-dark: #111;
  --color-gray: #f4f4f4;
  --color-text-main: #212529;
  --color-text-muted: #6c757d;
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --font-editorial: "Noto Serif Devanagari", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  color: var(--color-text-main);
  background-color: #fff;
  overflow-x: hidden;
  overflow-y: auto !important;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* GLOBAL CONTAINER */
.container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 15px;
}

/* SECTION TITLES */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
}
.section-head h2,
.section-head .section-title {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-editorial);
  margin: 0;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}
.section-head h2::after,
.section-head .section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-brand);
  margin-top: 5px;
}
.section-head .see-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.section-head .see-more:hover {
  gap: 8px;
  color: rgb(141.5207373272, 24.4792626728, 28.3041474654);
}

/* =========================================
   2. STORY TRAY (Homepage)
========================================= */
.stories-section {
  padding: 20px 0 0 0;
  background: #fff;
  margin-bottom: 20px;
}
.stories-section .section-title {
  margin-left: 5px;
  font-size: 18px;
  margin-bottom: 15px;
}
.stories-section .story-tray {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 5px 5px 20px 5px;
  scrollbar-width: none;
}
.stories-section .story-tray::-webkit-scrollbar {
  display: none;
}
.stories-section .story-tray .story-card {
  flex: 0 0 110px;
  height: 190px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #f0f0f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.stories-section .story-tray .story-card .story-bg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.stories-section .story-tray .story-card .story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
}
.stories-section .story-tray .story-card .story-overlay .story-icon {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-brand);
  background: #fff;
  padding: 1px;
  z-index: 2;
}
.stories-section .story-tray .story-card .story-overlay .story-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 50%;
}
.stories-section .story-tray .story-card .story-overlay .story-title {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stories-section .story-tray .story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.stories-section .story-tray .story-card:hover .story-bg {
  transform: scale(1.05);
}

/* =========================================
   3. STORY VIEWER (Fullscreen Overlay)
========================================= */
.story-viewer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 99999;
  justify-content: center;
  align-items: center;
}
.story-viewer.active {
  display: flex;
}
.story-viewer .story-viewport {
  width: 100%;
  height: 100%;
  max-width: 450px;
  position: relative;
  background: #111;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  /* Progress Bar */
  /* Header */
  /* Main Image */
  /* Footer Overlay */
  /* Tap Zones */
}
@media (min-width: 768px) {
  .story-viewer .story-viewport {
    height: 90vh;
    border-radius: 16px;
    margin-top: 2vh;
  }
}
.story-viewer .story-viewport .viewer-progress {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 40;
  display: flex;
  gap: 4px;
}
.story-viewer .story-viewport .viewer-progress .p-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}
.story-viewer .story-viewport .viewer-progress .p-bar .p-fill {
  width: 0%;
  height: 100%;
  background: #fff;
}
.story-viewer .story-viewport .viewer-header {
  position: absolute;
  top: 25px;
  left: 15px;
  right: 15px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.story-viewer .story-viewport .viewer-header .v-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-viewer .story-viewport .viewer-header .v-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.story-viewer .story-viewport .viewer-header .v-meta {
  display: flex;
  flex-direction: column;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.story-viewer .story-viewport .viewer-header .v-meta .v-name {
  font-size: 0.95rem;
  font-weight: 700;
}
.story-viewer .story-viewport .viewer-header .v-meta .v-time {
  font-size: 0.75rem;
  opacity: 0.9;
}
.story-viewer .story-viewport .viewer-header .v-close {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  padding: 0 5px;
  transition: opacity 0.2s;
}
.story-viewer .story-viewport .viewer-header .v-close:hover {
  opacity: 1;
  transform: scale(1.1);
}
.story-viewer .story-viewport .viewer-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.story-viewer .story-viewport .viewer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.6), transparent);
  padding: 80px 20px 40px;
  z-index: 40;
  pointer-events: none;
}
.story-viewer .story-viewport .viewer-overlay .viewer-footer {
  text-align: center;
  pointer-events: auto;
}
.story-viewer .story-viewport .viewer-overlay .viewer-footer .v-headline {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
  line-height: 1.4;
  text-align: left;
}
.story-viewer .story-viewport .viewer-overlay .viewer-footer #vSwipe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  animation: floatUp 1.5s infinite;
  opacity: 0.9;
  padding: 10px;
}
.story-viewer .story-viewport .viewer-overlay .viewer-footer #vSwipe i {
  font-size: 24px;
  color: #fff;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
}
.story-viewer .story-viewport .viewer-overlay .viewer-footer #vSwipe span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
}
.story-viewer .story-viewport .tap-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 30;
}
.story-viewer .story-viewport .tap-left {
  left: 0;
  width: 30%;
}
.story-viewer .story-viewport .tap-right {
  right: 0;
  width: 30%;
}
.story-viewer .story-viewport .tap-center {
  left: 30%;
  width: 40%;
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-8px);
    opacity: 1;
  }
}
/* =========================================
   4. NEWS TICKER
========================================= */
.news-ticker-area {
  margin-top: 20px;
  color: #fff;
  font-family: var(--font-ui);
  padding: 0 0;
  overflow: hidden;
}
.news-ticker-area .ticker-wrapper {
  display: flex;
  align-items: center;
  background: #333;
  border-radius: 4px;
  overflow: hidden;
}
.news-ticker-area .ticker-label {
  background: var(--color-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.news-ticker-area .ticker-label .blink {
  color: #fff;
  animation: blinker 1.5s linear infinite;
}
.news-ticker-area .ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding: 6px 0;
  height: 32px;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10px, black 95%, transparent);
          mask-image: linear-gradient(to right, transparent, black 10px, black 95%, transparent);
}
.news-ticker-area .ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  padding-left: 20px;
}
.news-ticker-area .ticker-track:hover {
  animation-play-state: paused;
}
.news-ticker-area .ticker-item {
  color: #ddd;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
.news-ticker-area .ticker-item:hover {
  color: #fff;
  text-decoration: underline;
}
.news-ticker-area .ticker-divider {
  margin: 0 15px;
  color: #666;
  font-size: 10px;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}
/* =========================================
   5. HERO SECTION
========================================= */
.hero-exact {
  padding: 30px 0;
  margin-bottom: 40px;
  /* Main Hero Card */
  /* Hero Side List */
}
.hero-exact .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}
@media (max-width: 992px) {
  .hero-exact .container {
    grid-template-columns: 1fr;
  }
}
.hero-exact .hero-main {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  height: 450px;
  /* Fixed height for desktop */
}
@media (max-width: 768px) {
  .hero-exact .hero-main {
    height: 350px;
  }
}
@media (max-width: 576px) {
  .hero-exact .hero-main {
    height: 280px;
    /* Smaller on mobile */
  }
}
.hero-exact .hero-main img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-exact .hero-main .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
}
.hero-exact .hero-main .hero-content {
  position: absolute;
  left: 30px;
  bottom: 30px;
  right: 30px;
  max-width: 90%;
}
@media (max-width: 576px) {
  .hero-exact .hero-main .hero-content {
    left: 15px;
    bottom: 15px;
    right: 15px;
  }
}
.hero-exact .hero-main .hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--font-ui);
}
.hero-exact .hero-main .hero-top .hero-category {
  background: var(--color-brand);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-exact .hero-main .hero-top .hero-time {
  font-size: 12px;
  opacity: 0.8;
}
.hero-exact .hero-main .hero-title {
  font-family: var(--font-editorial);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
@media (max-width: 576px) {
  .hero-exact .hero-main .hero-title {
    font-size: 20px;
    /* Fixed mobile font size */
  }
}
.hero-exact .hero-main:hover img {
  transform: scale(1.03);
}
.hero-exact .hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}
.hero-exact .hero-side-card {
  display: flex;
  gap: 15px;
  text-decoration: none;
  color: var(--color-text-main);
  align-items: stretch;
  /* Image Constraint */
}
.hero-exact .hero-side-card img {
  width: 140px;
  height: 100px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.hero-exact .hero-side-card .hero-side-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-exact .hero-side-card .hero-side-body .hero-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.hero-exact .hero-side-card .hero-side-body .hero-author img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.hero-exact .hero-side-card .hero-side-body h3 {
  font-family: var(--font-editorial);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-exact .hero-side-card .hero-side-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-exact .hero-side-card:hover h3 {
  color: var(--color-brand);
}
.hero-exact .hero-side-card:hover img {
  opacity: 0.9;
}

/* =========================================
   6. VIDEO SECTION (FIXED RED LINE & MOBILE LAYOUT)
========================================= */
.video-section {
  padding: 60px 0;
  background-color: #0f0f0f;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  /* Meta Header */
  /* Thumbnail Area */
  /* Content Area */
  /* Footer Stats */
  /* Main vs Side Cards */
  /* Side Grid (Responsive Logic) */
}
.video-section .section-head {
  position: relative;
  /* Context for absolute line */
}
.video-section .section-head h2 {
  color: #fff;
  position: relative;
  padding-bottom: 15px;
  /* Spacing for the line */
  margin-bottom: 0;
  /* The Red Line (Below Heading) */
}
.video-section .section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 3px;
  background: var(--color-brand);
  border-radius: 2px;
}
.video-section .video-layout-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
  /* Tablet & Mobile: Stack Columns */
}
@media (max-width: 992px) {
  .video-section .video-layout-wrapper {
    grid-template-columns: 1fr;
  }
}
.video-section .video-card {
  display: flex;
  flex-direction: column;
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  border: 1px solid #333;
}
.video-section .video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--color-brand);
}
.video-section .video-card:hover .play-btn {
  background: var(--color-brand) !important;
  transform: translate(-50%, -50%) scale(1.1) !important;
}
.video-section .video-card:hover h3 {
  color: var(--color-brand) !important;
}
.video-section .card-header-meta {
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #222;
  border-bottom: 1px solid #333;
}
.video-section .card-header-meta .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #333;
}
.video-section .card-header-meta .meta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.video-section .card-header-meta .meta-text .author-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.video-section .card-header-meta .meta-text .upload-time {
  font-size: 0.75rem;
  color: #888;
}
.video-section .video-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #000;
  overflow: hidden;
}
.video-section .video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.video-section .video-thumb .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  transition: 0.3s;
  z-index: 2;
}
.video-section .video-thumb .play-btn.large {
  width: 60px;
  height: 60px;
  font-size: 28px;
}
.video-section .video-thumb .play-btn.small {
  width: 44px;
  height: 44px;
  font-size: 20px;
}
.video-section .card-body-content {
  padding: 15px;
  flex-grow: 1;
}
.video-section .card-body-content h3 {
  color: #e0e0e0;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  transition: color 0.2s;
}
.video-section .card-body-content .video-summary {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #aaa;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-section .card-footer-stats {
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  border-top: 1px solid #333;
}
.video-section .card-footer-stats .cat-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  text-transform: uppercase;
}
.video-section .card-footer-stats .stats-group {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: #888;
}
.video-section .card-footer-stats .stats-group span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.video-section .card-footer-stats .stats-group span i {
  font-size: 14px;
}
.video-section .main-card h3 {
  font-size: 1.4rem;
}
.video-section .side-card h3 {
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-section .side-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  /* On Mobile: Ensure 2 Columns (not 1fr) */
}
@media (max-width: 576px) {
  .video-section .side-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    /* Smaller gap for mobile */
  }
}

/* =========================================
   7. TRENDY NEWS (Fixed 2 Columns Mobile)
========================================= */
.trendy-news,
.popular-news,
.latest-news,
.weekly-highlights {
  margin: 60px 0;
}

.trendy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
@media (max-width: 1200px) {
  .trendy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 992px) {
  .trendy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .trendy-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.trendy-grid .trendy-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.trendy-grid .trendy-card .trendy-thumb {
  width: 100%;
  padding-top: 65%;
  /* Fixed Aspect Ratio */
  position: relative;
  overflow: hidden;
}
.trendy-grid .trendy-card .trendy-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.trendy-grid .trendy-card .trendy-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
@media (max-width: 576px) {
  .trendy-grid .trendy-card .trendy-body {
    padding: 10px;
  }
}
.trendy-grid .trendy-card .trendy-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.trendy-grid .trendy-card .trendy-meta img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
@media (max-width: 576px) {
  .trendy-grid .trendy-card .trendy-meta {
    font-size: 10px;
  }
}
.trendy-grid .trendy-card .trendy-title {
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px 0;
  color: var(--color-text-main);
}
@media (max-width: 576px) {
  .trendy-grid .trendy-card .trendy-title {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.trendy-grid .trendy-card .trendy-excerpt {
  font-size: 13px;
  color: #555;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 576px) {
  .trendy-grid .trendy-card .trendy-excerpt {
    display: none;
  }
}
.trendy-grid .trendy-card .trendy-footer {
  margin-top: auto;
  font-size: 12px;
  color: var(--color-brand);
  font-weight: 600;
  text-transform: uppercase;
}
@media (max-width: 576px) {
  .trendy-grid .trendy-card .trendy-footer {
    font-size: 10px;
  }
}
.trendy-grid .trendy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.trendy-grid .trendy-card:hover .trendy-title {
  color: var(--color-brand);
}
.trendy-grid .trendy-card:hover .trendy-thumb img {
  transform: scale(1.05);
}

/* =========================================
   8. LATEST NEWS (Grid Fix)
========================================= */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
@media (max-width: 992px) {
  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .latest-grid {
    grid-template-columns: 1fr;
  }
}
.latest-grid .latest-card {
  display: flex;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}
.latest-grid .latest-card .thumb {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.latest-grid .latest-card .thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.latest-grid .latest-card .body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.latest-grid .latest-card .body h4 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px 0;
  color: var(--color-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-grid .latest-card .body .meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 5px;
}
.latest-grid .latest-card .body .meta img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.latest-grid .latest-card .body .footer {
  font-size: 11px;
  color: var(--color-brand);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: auto;
}
.latest-grid .latest-card:hover h4 {
  color: var(--color-brand);
}
.latest-grid .latest-card:hover .thumb img {
  transform: scale(1.05);
}

/* Featured Article within Latest */
.latest-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 32px;
  border: 1px solid #e9ecef;
}
@media (max-width: 768px) {
  .latest-featured {
    grid-template-columns: 1fr;
  }
}
.latest-featured .featured-thumb {
  height: 350px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 768px) {
  .latest-featured .featured-thumb {
    height: 250px;
  }
}
.latest-featured .featured-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.latest-featured .featured-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.latest-featured .featured-content .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}
.latest-featured .featured-content .meta img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.latest-featured .featured-content .meta time {
  margin-left: auto;
  color: #999;
}
.latest-featured .featured-content h3 {
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 15px 0;
  color: var(--color-dark);
}
@media (max-width: 576px) {
  .latest-featured .featured-content h3 {
    font-size: 20px;
  }
}
.latest-featured .featured-content p {
  color: #555;
  line-height: 1.6;
  margin: 0 0 20px 0;
  font-size: 15px;
}
@media (max-width: 576px) {
  .latest-featured .featured-content p {
    display: none;
  }
}
.latest-featured .featured-content .footer {
  margin-top: auto;
  color: var(--color-brand);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.latest-featured:hover h3 {
  color: var(--color-brand);
}
.latest-featured:hover .featured-thumb img {
  transform: scale(1.05);
}

/* =========================================
   9. POPULAR NEWS (Fixed 2 Columns Mobile)
========================================= */
.popular-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
@media (max-width: 992px) {
  .popular-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .popular-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.popular-list .popular-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.popular-list .popular-item .popular-thumb {
  width: 100%;
  padding-top: 65%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.popular-list .popular-item .popular-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.popular-list .popular-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px 0;
  color: var(--color-text-main);
}
@media (max-width: 576px) {
  .popular-list .popular-item h3 {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.popular-list .popular-item .popular-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 5px;
}
.popular-list .popular-item .popular-author img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
@media (max-width: 576px) {
  .popular-list .popular-item .popular-author {
    font-size: 10px;
  }
}
.popular-list .popular-item .popular-meta {
  font-size: 12px;
  color: var(--color-brand);
  font-weight: 600;
  margin-top: auto;
}
@media (max-width: 576px) {
  .popular-list .popular-item .popular-meta {
    font-size: 10px;
  }
}
.popular-list .popular-item:hover h3 {
  color: var(--color-brand);
}
.popular-list .popular-item:hover .popular-thumb img {
  transform: scale(1.05);
}

/* =========================================
   10. WEEKLY SLIDER
========================================= */
.weekly-slider-wrapper {
  overflow: hidden;
  padding-bottom: 20px;
}

.weekly-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 5px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.weekly-slider::-webkit-scrollbar {
  display: none;
}
.weekly-slider .weekly-card {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 15px;
}
.weekly-slider .weekly-card .weekly-thumb {
  width: 100%;
  padding-top: 60%;
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
}
.weekly-slider .weekly-card .weekly-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.weekly-slider .weekly-card .weekly-body {
  padding: 0 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.weekly-slider .weekly-card .weekly-body h3 {
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 10px 0;
  color: var(--color-text-main);
}
.weekly-slider .weekly-card .weekly-body .weekly-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.weekly-slider .weekly-card .weekly-body .weekly-author img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.weekly-slider .weekly-card .weekly-body .weekly-footer {
  margin-top: auto;
  font-size: 12px;
  color: var(--color-brand);
  font-weight: 600;
}
.weekly-slider .weekly-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.weekly-slider .weekly-card:hover h3 {
  color: var(--color-brand);
}
.weekly-slider .weekly-card:hover .weekly-thumb img {
  transform: scale(1.05);
}

/* =========================================
   MODERN FOOTER STYLES
   ========================================= */
.site-footer {
  background-color: #111;
  /* Dark/Black background */
  color: #bbb;
  padding: 60px 0 30px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  /* Slightly larger for better Hindi readability */
  margin-top: auto;
  /* --- Brand Section --- */
  /* --- Headings --- */
  /* --- Links List --- */
  /* --- Social Icons --- */
  /* --- Bottom Copyright Area --- */
  /* --- Input Field Customization --- */
}
.site-footer .footer-brand img {
  height: 40px;
  margin-bottom: 20px;
  opacity: 0.9;
}
.site-footer .footer-desc {
  line-height: 1.6;
  margin-bottom: 24px;
  color: #888;
}
.site-footer .footer-heading {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.site-footer .footer-links li {
  margin-bottom: 12px;
}
.site-footer .footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.site-footer .footer-links a:hover {
  color: #fff;
  padding-left: 5px;
  /* Slide effect */
}
.site-footer .footer-social {
  display: flex;
  gap: 15px;
}
.site-footer .footer-social a {
  color: #fff;
  background: #333;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  text-decoration: none;
}
.site-footer .footer-social a:hover {
  background: #c00;
  /* Brand Red */
}
.site-footer .footer-bottom {
  border-top: 1px solid #222;
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
  color: #666;
  font-size: 14px;
}
.site-footer .footer-input::-moz-placeholder {
  color: #888;
  font-size: 14px;
}
.site-footer .footer-input::placeholder {
  color: #888;
  font-size: 14px;
}

/* =====================================================
   ARTICLE PAGE STYLES
   ===================================================== */
.article-wrapper {
  padding: 32px 0 64px;
  background-color: #fff;
  /* LEFT COLUMN: STICKY SOCIALS */
  /* CENTER COLUMN: MAIN CONTENT */
  /* COMMENTS */
  /* SIDEBAR */
}
.article-wrapper .sticky-socials {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  z-index: 10;
}
.article-wrapper .sticky-socials .action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  /* Colors */
}
.article-wrapper .sticky-socials .action-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
.article-wrapper .sticky-socials .action-btn.share-wa {
  background: #25D366;
}
.article-wrapper .sticky-socials .action-btn.share-x {
  background: #000;
}
.article-wrapper .sticky-socials .action-btn.share-fb {
  background: #1877F2;
}
.article-wrapper .sticky-socials .action-btn.share-tg {
  background: #0088cc;
}
.article-wrapper .sticky-socials .action-btn.like-btn {
  background: #fff;
  color: #dc3545;
  border: 1px solid #dc3545;
  flex-direction: column;
  height: auto;
  padding: 8px 0;
  border-radius: 30px;
  width: 48px;
  gap: 2px;
}
.article-wrapper .sticky-socials .action-btn.like-btn .count {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.article-wrapper .sticky-socials .action-btn.like-btn:hover, .article-wrapper .sticky-socials .action-btn.like-btn.liked {
  background: #dc3545;
  color: #fff;
}
.article-wrapper .sticky-socials .action-btn.comment-btn {
  background: #f0f2f5;
  color: #555;
}
.article-wrapper .sticky-socials .action-btn.comment-btn:hover {
  background: #e4e6eb;
  color: #333;
}
.article-wrapper .sticky-socials .divider {
  width: 24px;
  height: 1px;
  background: #e0e0e0;
  margin: 4px 0;
}
.article-wrapper .main-article {
  /* NEW MINIMALIST FOOTER */
}
.article-wrapper .main-article header .badge {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
}
.article-wrapper .main-article header .article-headline {
  font-family: "Noto Serif Devanagari", serif;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 20px;
  color: #111;
}
.article-wrapper .main-article .featured-image-wrapper {
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.article-wrapper .main-article .featured-image-wrapper img {
  width: 100%;
  display: block;
}
.article-wrapper .main-article .article-content {
  font-family: "Inter", sans-serif;
  font-size: 19px;
  line-height: 1.8;
  color: #2c2c2c;
}
.article-wrapper .main-article .article-content p {
  margin-bottom: 24px;
}
.article-wrapper .main-article .article-content h2,
.article-wrapper .main-article .article-content h3,
.article-wrapper .main-article .article-content h4 {
  font-family: "Noto Serif Devanagari", serif;
  font-weight: 700;
  color: #000;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.article-wrapper .main-article .article-content h2 {
  font-size: 28px;
}
.article-wrapper .main-article .article-content h3 {
  font-size: 24px;
}
.article-wrapper .main-article .article-content a {
  color: #c00;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-wrapper .main-article .article-content a:hover {
  text-decoration: none;
}
.article-wrapper .main-article .article-content blockquote {
  border-left: 4px solid #c00;
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: #444;
  font-size: 21px;
  font-family: "Noto Serif Devanagari", serif;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 0 8px 8px 0;
}
.article-wrapper .main-article .article-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 24px 0;
}
.article-wrapper .main-article .action-bar-minimal {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin-top: 30px;
}
.article-wrapper .main-article .action-bar-minimal .action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  /* 33% width each */
  gap: 4px;
  color: #666;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}
.article-wrapper .main-article .action-bar-minimal .action-item i {
  font-size: 20px;
  margin-bottom: 2px;
  transition: transform 0.2s;
}
.article-wrapper .main-article .action-bar-minimal .action-item:hover {
  color: #000;
}
.article-wrapper .main-article .action-bar-minimal .action-item:hover i {
  transform: scale(1.1);
}
.article-wrapper .main-article .action-bar-minimal .action-item.liked {
  color: #dc3545;
}
.article-wrapper .main-article .action-bar-minimal .action-item.liked i {
  color: #dc3545;
}
.article-wrapper .main-article .action-bar-minimal .action-item:not(:last-child):after {
  content: "";
  position: absolute;
  right: 0;
  height: 60%;
  width: 1px;
  background: #f0f0f0;
}
.article-wrapper #comments-section .section-title {
  font-family: "Noto Serif Devanagari", serif;
  font-size: 24px;
  border-left: 5px solid #c00;
  padding-left: 12px;
  font-weight: 700;
}
.article-wrapper #comments-section .comment-form {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee;
}
.article-wrapper #comments-section .comment-list .comment-item:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
}
.article-wrapper .sidebar-widget .widget-title {
  font-family: "Noto Serif Devanagari", serif;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid #c00;
  padding-bottom: 8px;
  margin-bottom: 20px;
  display: inline-block;
  color: #222;
}
.article-wrapper .sidebar-widget .widget-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.article-wrapper .sidebar-widget .widget-content a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: opacity 0.2s;
}
.article-wrapper .sidebar-widget .widget-content a:hover {
  opacity: 0.7;
}
.article-wrapper .sidebar-widget .widget-content a img {
  width: 90px;
  height: 65px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.article-wrapper .sidebar-widget .widget-content a div h6 {
  font-family: "Noto Serif Devanagari", serif;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-wrapper .sidebar-widget .widget-content a div small {
  font-size: 11px;
}
@media (max-width: 992px) {
  .article-wrapper .sticky-socials {
    display: none;
  }
  .article-wrapper .main-article header .article-headline {
    font-size: 28px;
  }
  .article-wrapper .main-article .article-content {
    font-size: 17px;
  }
}

#videos-page {
  background: #f6f7fb;
  position: relative;
  z-index: 1;
  /* ================= GRID ================= */
  /* ================= VIDEO CARD ================= */
  /* ================= HEADER META ================= */
  /* ================= THUMB ================= */
  /* ================= CARD BODY ================= */
  /* ================= WATCH LAYOUT ================= */
  /* ================= DESCRIPTION ================= */
  /* ================= COMMENTS ================= */
  /* ================= RELATED ================= */
  /* ================= RECENT ================= */
  /* ================= MOBILE ================= */
}
#videos-page .videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}
#videos-page .video-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
  transition: 0.25s ease;
  position: relative;
}
#videos-page .video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
#videos-page .video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #B92025;
}
#videos-page .card-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}
#videos-page .card-header-meta .left-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
#videos-page .card-header-meta .left-meta img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
#videos-page .card-header-meta .left-meta .meta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
#videos-page .card-header-meta .left-meta .meta-text .author-name {
  font-size: 14px;
  font-weight: 600;
}
#videos-page .card-header-meta .left-meta .meta-text .upload-time {
  font-size: 12px;
  color: #777;
}
#videos-page .card-header-meta .upload-time {
  font-size: 12px;
  color: #777;
}
#videos-page .video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
#videos-page .video-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
#videos-page .video-thumb .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  transition: 0.3s ease;
}
#videos-page .card-body-content {
  padding: 14px 16px;
}
#videos-page .card-body-content h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}
#videos-page .card-body-content .below-title-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
#videos-page .card-body-content .below-title-meta .cat {
  color: #B92025;
  font-weight: 600;
}
#videos-page .card-body-content .below-title-meta .stats {
  color: #666;
  display: flex;
  gap: 10px;
}
#videos-page .card-body-content .below-title-meta .stats i {
  margin-right: 4px;
}
#videos-page .watch-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
@media (max-width: 992px) {
  #videos-page .watch-layout {
    grid-template-columns: 1fr;
  }
}
#videos-page .main-video-area {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eaeaea;
  overflow: hidden;
  padding-bottom: 20px;
}
#videos-page .video-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
#videos-page .video-player-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
#videos-page .watch-title {
  font-size: 22px;
  font-weight: 700;
  padding: 18px 20px 10px;
}
#videos-page .category-badge {
  margin: 0 20px 12px;
  display: inline-block;
  background: #B92025;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
}
#videos-page .video-stats-bar {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  margin-bottom: 15px;
  font-size: 14px;
}
#videos-page .video-stats-bar .left {
  display: flex;
  gap: 18px;
  color: #444;
}
#videos-page .video-stats-bar .left span {
  cursor: pointer;
  transition: 0.2s;
}
#videos-page .video-stats-bar .left span:hover {
  color: #B92025;
}
#videos-page .video-stats-bar .right {
  color: #444;
}
#videos-page .watch-description-wrapper {
  padding: 0 20px;
}
#videos-page .watch-description-wrapper .watch-description {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  transition: 0.3s ease;
}
#videos-page .watch-description-wrapper .watch-description.collapsed {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
#videos-page .watch-description-wrapper .toggle-desc {
  margin-top: 8px;
  background: none;
  border: none;
  color: #B92025;
  font-weight: 600;
  cursor: pointer;
}
#videos-page .comments-section {
  padding: 20px;
}
#videos-page .comments-section h3 {
  margin-bottom: 15px;
}
#videos-page .comments-section .comment-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}
#videos-page .comments-section .comment-item strong {
  font-size: 14px;
}
#videos-page .comments-section .comment-item p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #444;
}
#videos-page .comments-section .see-more-comments {
  margin-top: 10px;
  background: none;
  border: none;
  color: #B92025;
  font-weight: 600;
  cursor: pointer;
}
#videos-page .comment-form-wrapper {
  padding: 20px;
}
#videos-page .comment-form-wrapper h4 {
  margin-bottom: 10px;
}
#videos-page .comment-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#videos-page .comment-form-wrapper form input,
#videos-page .comment-form-wrapper form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
}
#videos-page .comment-form-wrapper form textarea {
  min-height: 90px;
  resize: vertical;
}
#videos-page .comment-form-wrapper form button {
  align-self: flex-start;
  background: #B92025;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
#videos-page .comment-form-wrapper form button:hover {
  background: rgb(150.2165898618, 25.9834101382, 30.0433179724);
}
#videos-page .related-sidebar h3 {
  margin-bottom: 16px;
  font-weight: 700;
}
#videos-page .horizontal-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eaeaea;
  margin-bottom: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  display: block;
  transition: 0.25s;
}
#videos-page .horizontal-card:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}
#videos-page .horizontal-body {
  display: flex;
  gap: 12px;
  padding: 12px 15px;
}
#videos-page .horizontal-body .thumb {
  width: 120px;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
}
#videos-page .horizontal-body .thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#videos-page .horizontal-body h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
#videos-page .horizontal-footer {
  padding: 10px 15px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  color: #666;
}
#videos-page .recent-wrapper {
  margin-top: 40px;
}
@media (max-width: 576px) {
  #videos-page .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  #videos-page .watch-title {
    font-size: 18px;
  }
  #videos-page .horizontal-body {
    flex-direction: column;
  }
  #videos-page .horizontal-body .thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}

/*======== ADMIN ===========-*/
/* public/assets/scss/login.scss */
/* ================= VARIABLES ================= */
/* ================= SCOPED STYLES ================= */
#login-page {
  font-family: "Segoe UI", sans-serif;
  background: #f3f4f6;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* ================= LAYOUT ================= */
  /* ================= LOGO ================= */
  /* ================= TABS ================= */
  /* ================= ALERTS ================= */
  /* ================= FORM CONTENT ================= */
  /* ================= INPUTS ================= */
  /* ================= PASSWORD STRENGTH METER ================= */
  /* ================= UTILS & GRID ================= */
  /* ================= CHECKBOX GROUP ================= */
  /* ================= BUTTONS ================= */
  /* ================= RESPONSIVE ================= */
}
#login-page .login-wrapper {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}
#login-page .login-card {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  padding-top: 20px;
}
#login-page .brand-logo-container {
  text-align: center;
  padding: 10px 0 15px 0;
  background: #fff;
}
#login-page .brand-logo-container .brand-logo {
  height: 60px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
#login-page .tabs {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}
#login-page .tabs .tab-btn {
  flex: 1;
  padding: 16px;
  border: none;
  background: none;
  font-weight: 600;
  cursor: pointer;
  color: #777;
  font-size: 15px;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}
#login-page .tabs .tab-btn:hover {
  background: #eee;
  color: #333;
}
#login-page .tabs .tab-btn.active {
  color: #B92025;
  border-bottom: 3px solid #B92025;
  background: #fff;
}
#login-page .message-area {
  padding: 20px 30px 0 30px;
}
#login-page .alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
#login-page .alert.alert-error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
#login-page .alert.alert-error i {
  color: #b91c1c;
}
#login-page .alert.alert-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
#login-page .alert.alert-success i {
  color: #047857;
}
#login-page .form-content {
  padding: 30px;
  display: none;
}
#login-page .form-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#login-page .form-header {
  text-align: center;
  margin-bottom: 25px;
}
#login-page .form-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: 700;
}
#login-page .form-header p {
  margin: 8px 0 0;
  font-size: 14px;
  color: #777;
  line-height: 1.4;
}
#login-page .form-group {
  margin-bottom: 20px;
}
#login-page .form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #444;
}
#login-page .form-group .form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 14px;
  transition: border-color 0.2s;
}
#login-page .form-group .form-control:focus {
  border-color: #B92025;
  outline: none;
  box-shadow: 0 0 0 3px rgba(185, 32, 37, 0.1);
}
#login-page .password-strength-meter {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#login-page .password-strength-meter .strength-bar {
  flex: 1;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  overflow: hidden;
}
#login-page .password-strength-meter .strength-bar #strength-fill {
  height: 100%;
  width: 0;
  background: #dc3545;
  transition: width 0.3s ease, background-color 0.3s ease;
}
#login-page .password-strength-meter #strength-text {
  font-size: 12px;
  font-weight: 600;
  min-width: 50px;
  text-align: right;
  color: #777;
}
#login-page .row {
  display: flex;
  gap: 12px;
}
#login-page .col {
  flex: 1;
}
#login-page .checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f9fafb;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #eee;
}
#login-page .checkbox-group input[type=checkbox] {
  margin-top: 4px;
  accent-color: #B92025;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
#login-page .checkbox-group label {
  margin: 0;
  font-weight: normal;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  line-height: 1.4;
}
#login-page .checkbox-group label strong {
  color: #B92025;
}
#login-page .checkbox-group label small {
  display: block;
  color: #777;
  font-size: 12px;
  margin-top: 4px;
}
#login-page .btn-submit {
  width: 100%;
  background: #B92025;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
  margin-top: 10px;
}
#login-page .btn-submit:hover {
  background: #90191d;
}
@media (max-width: 480px) {
  #login-page .login-wrapper {
    padding: 10px;
  }
  #login-page .form-content {
    padding: 20px;
  }
  #login-page .brand-logo-container .brand-logo {
    height: 50px;
  }
}

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  /* --- BRAND COLORS --- */
  --color-dark: #1f1f1f;
  /* Header/Footer Background */
  --color-brand: #B92025;
  /* Swaraj Red */
  --color-brand-light: #fff1f2;
  /* Light Red BG for hovers */
  --color-white: #ffffff;
  /* --- UI COLORS --- */
  --color-light: #f3f4f6;
  /* App Background */
  --color-border: #e5e7eb;
  /* Borders */
  --color-text-main: #111827;
  /* Main Text */
  --color-text-muted: #6b7280;
  /* Secondary Text */
  --color-success: #10b981;
  /* Success Green */
  --color-warning: #f59e0b;
  /* Warning Orange */
  /* --- DIMENSIONS --- */
  --header-height: 64px;
  --sidebar-width: 250px;
  --sidebar-collapsed-width: 72px;
  /* Desktop collapsed width */
  --footer-height: 50px;
  /* --- SHADOWS --- */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-dropdown: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--color-light);
  color: var(--color-text-main);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* UTILITY CLASSES */
.text-capitalize {
  text-transform: capitalize;
}

/* =========================================
   2. LAYOUT STRUCTURE
   ========================================= */
.admin-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* FIX: Push content down by the height of the fixed header */
  padding-top: var(--header-height);
}

/* =========================================
   3. HEADER (Dark & Sticky)
   ========================================= */
.admin-header {
  height: var(--header-height);
  background-color: var(--color-dark);
  color: var(--color-white);
  /* FIX: Use fixed positioning */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  gap: 12px;
  /* LEFT SECTION: Toggle & Title */
  /* RIGHT SECTION: Icons & User */
}
.admin-header .header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  /* DASHBOARD HEADING - VISIBLE ON MOBILE NOW */
}
.admin-header .header-left .sidebar-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.admin-header .header-left .sidebar-toggle:hover {
  background: var(--color-brand);
}
.admin-header .header-left .page-title-head {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.01em;
  display: block;
  /* Force show */
}
.admin-header .header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Header Icons (Search & Notif) */
.header-icon-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  cursor: pointer;
  position: relative;
  padding: 6px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Notification Badge */
}
.header-icon-btn:hover {
  color: var(--color-white);
}
.header-icon-btn .badge-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--color-brand);
  border: 1px solid var(--color-dark);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(185, 32, 37, 0.7);
  }
  70% {
    box-shadow: 0 0 0 4px rgba(185, 32, 37, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(185, 32, 37, 0);
  }
}
/* User Profile Trigger */
.user-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 4px 10px 4px 4px;
  border-radius: 30px;
  transition: 0.2s;
  border: 1px solid transparent;
  margin-left: 4px;
  /* 1. Avatar (Left) */
  /* 2. Meta (Right) */
}
.user-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.user-trigger .avatar {
  width: 32px;
  height: 32px;
  background: var(--color-brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.user-trigger .meta {
  display: none;
  text-align: left;
  line-height: 1.2;
}
@media (min-width: 992px) {
  .user-trigger .meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
.user-trigger .meta .name {
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-transform: capitalize;
}
.user-trigger .meta .role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

/* Dropdown System */
.dropdown-wrapper {
  position: relative;
}
.dropdown-wrapper:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* The Dropdown Card */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-dropdown);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  overflow: hidden;
  /* Little Arrow */
}
.dropdown-menu.wide-card {
  width: 300px;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: var(--color-white);
  transform: rotate(45deg);
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  z-index: 1;
}

/* User Card Styles */
.user-dropdown-card {
  background: white;
  display: flex;
  flex-direction: column;
}
.user-dropdown-card .card-header {
  background: linear-gradient(135deg, var(--color-dark) 0%, #333 100%);
  padding: 24px 20px;
  text-align: center;
  color: white;
}
.user-dropdown-card .card-header .card-avatar {
  width: 64px;
  height: 64px;
  background: var(--color-brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  border: 3px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.user-dropdown-card .card-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
}
.user-dropdown-card .card-header .username {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-top: 2px;
  font-weight: 500;
  font-family: monospace;
  letter-spacing: 0.5px;
}
.user-dropdown-card .card-header .email {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}
.user-dropdown-card .card-actions {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--color-border);
}
.user-dropdown-card .card-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: var(--color-light);
  color: var(--color-text-main);
  transition: 0.2s;
}
.user-dropdown-card .card-actions a:hover {
  background: #e5e7eb;
  color: var(--color-brand);
}
.user-dropdown-card .card-actions a i {
  font-size: 14px;
}
.user-dropdown-card .card-footer {
  padding: 12px 16px;
}
.user-dropdown-card .card-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #dc2626;
  padding: 8px;
  border-radius: 6px;
  transition: 0.2s;
}
.user-dropdown-card .card-footer a:hover {
  background: #fef2f2;
}

/* Notification List */
.list-header {
  padding: 12px 16px;
  background: #f9fafb;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.list-item {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  transition: 0.2s;
}
.list-item:last-child {
  border-bottom: none;
}
.list-item:hover {
  background: #f9fafb;
}
.list-item .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-light);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.list-item div p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1.3;
}
.list-item div span {
  font-size: 11px;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

/* =========================================
   4. FULL SCREEN SEARCH MODAL
   ========================================= */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.search-modal.active {
  opacity: 1;
  visibility: visible;
}
.search-modal.active .search-container {
  transform: scale(1);
  opacity: 1;
}
.search-modal .search-container {
  width: 90%;
  max-width: 600px;
  transform: scale(0.95);
  opacity: 0;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-modal input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  font-size: 24px;
  color: white;
  padding: 16px 0;
  outline: none;
  text-align: center;
}
.search-modal input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.search-modal input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.search-modal input:focus {
  border-color: var(--color-brand);
}
.search-modal .search-help {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  font-size: 13px;
}
.search-modal .close-search {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

/* =========================================
   5. SIDEBAR (Fixed, Collapsible)
   ========================================= */
.admin-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
  z-index: 40;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  /* Mobile Default: Hidden */
  /* Nav Links */
}
.admin-sidebar .sidebar-logo-area {
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.admin-sidebar .sidebar-logo-area img {
  height: 28px;
  width: auto;
  transition: 0.3s;
}
.admin-sidebar .sidebar-logo-area .logo-collapsed {
  display: none;
}
.admin-sidebar .sidebar-logo-area .logo-full {
  display: block;
}
.admin-sidebar .sidebar-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
  transition: 0.2s;
}
.admin-sidebar .nav-link i {
  font-size: 20px;
  min-width: 24px;
  text-align: center;
  color: #9ca3af;
  transition: 0.2s;
}
.admin-sidebar .nav-link span {
  opacity: 1;
  transition: opacity 0.2s;
}
.admin-sidebar .nav-link:hover {
  background: var(--color-light);
  color: var(--color-text-main);
}
.admin-sidebar .nav-link:hover i {
  color: var(--color-text-main);
}
.admin-sidebar .nav-link.active {
  background: var(--color-brand-light);
  color: var(--color-brand);
  font-weight: 600;
}
.admin-sidebar .nav-link.active i {
  color: var(--color-brand);
}

/* Mobile Open State */
.admin-sidebar.mobile-open {
  transform: translateX(0);
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

/* =========================================
   6. MAIN LAYOUT & RESPONSIVE
   ========================================= */
.admin-main {
  flex: 1;
  padding: 20px;
  transition: margin-left 0.3s ease;
}

@media (min-width: 992px) {
  /* Sidebar Always Visible */
  .admin-sidebar {
    transform: translateX(0);
    box-shadow: none;
  }
  /* Content Pushed */
  .admin-main {
    margin-left: var(--sidebar-width);
  }
  /* DESKTOP COLLAPSE STATE */
  body.sidebar-collapsed .admin-sidebar {
    width: var(--sidebar-collapsed-width);
  }
  body.sidebar-collapsed .admin-main {
    margin-left: var(--sidebar-collapsed-width);
  }
  body.sidebar-collapsed .sidebar-logo-area {
    padding: 0;
    justify-content: center;
  }
  body.sidebar-collapsed .sidebar-logo-area .logo-full {
    display: none;
  }
  body.sidebar-collapsed .sidebar-logo-area .logo-collapsed {
    display: block;
    height: 24px;
  }
  body.sidebar-collapsed .nav-link {
    justify-content: center;
    padding: 12px 0;
  }
  body.sidebar-collapsed .nav-link span {
    display: none;
    opacity: 0;
    width: 0;
  }
  body.sidebar-collapsed .nav-link i {
    margin: 0;
    font-size: 22px;
  }
}
/* =========================================
   7. DASHBOARD COMPONENTS
   ========================================= */
.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 20px 0 10px;
  display: block;
}

/* Quick Actions Grid */
.quick-grid {
  display: grid;
  /* Default to 2 columns on mobile for better touch targets */
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  /* Switch to 4 columns on larger screens to fit all buttons in one row */
}
@media (min-width: 768px) {
  .quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.action-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.action-card i {
  font-size: 24px;
  color: var(--color-brand);
  margin-bottom: 6px;
}
.action-card span {
  font-size: 12px;
  font-weight: 600;
}
.action-card:hover {
  border-color: var(--color-brand);
  background: var(--color-brand-light);
  transform: translateY(-2px);
}

/* STATS GRID - 3x3 on Mobile */
.stats-grid-9 {
  display: grid;
  /* Requirement: "9-card grid like 3 rows of 3 cards each row" on mobile */
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  /* Tablet/Desktop */
}
@media (min-width: 768px) {
  .stats-grid-9 {
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1400px) {
  .stats-grid-9 {
    grid-template-columns: repeat(9, 1fr);
  }
}

.mini-stat {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: 0.2s;
}
.mini-stat i {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.mini-stat .val {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-main);
}
.mini-stat .lbl {
  font-size: 9px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.mini-stat:hover {
  border-color: var(--color-brand);
}
.mini-stat:hover i {
  color: var(--color-brand);
}

/* Growth Chart */
.chart-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}
.chart-card .chart-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
}
.chart-card .css-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  padding-top: 10px;
}
.chart-card .css-bar-chart .bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 10%;
  height: 100%;
  justify-content: flex-end;
  cursor: pointer;
}
.chart-card .css-bar-chart .bar {
  width: 100%;
  background: var(--color-brand);
  opacity: 0.8;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}
.chart-card .css-bar-chart .bar:hover {
  opacity: 1;
}
.chart-card .css-bar-chart .label {
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* Recents (3 Columns) */
.recents-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 992px) {
  .recents-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

.recents-col {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.panel-header {
  background: #f9fafb;
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-header h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-main);
}
.panel-header a {
  font-size: 11px;
  color: var(--color-brand);
  font-weight: 500;
}

.recents-list .recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s;
}
.recents-list .recent-item:last-child {
  border-bottom: none;
}
.recents-list .recent-item:hover {
  background: #f9fafb;
}
.recents-list .recent-item img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
}
.recents-list .recent-item .info {
  flex: 1;
  overflow: hidden;
}
.recents-list .recent-item .info h5 {
  margin: 0 0 2px 0;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recents-list .recent-item .info p {
  margin: 0;
  font-size: 11px;
  color: var(--color-text-muted);
}
.recents-list .recent-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
}
.recents-list .recent-item .dot.active {
  background: var(--color-success);
}

/* =========================================
   8. FOOTER
   ========================================= */
.admin-footer {
  height: var(--footer-height);
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border-top: 1px solid #333;
  margin-top: auto;
}

/* =========================================
   ADD ARTICLE - SCSS NESTED
   ========================================= */
/* --- Variables --- */
/* --- Base --- */
body {
  background-color: #f3f4f6;
  /* Lock scroll on desktop for app-like feel */
}
@media (min-width: 992px) {
  body {
    overflow-y: hidden;
  }
}

/* --- 1. GLOBAL COMPONENTS --- */
.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 15px;
  font-weight: 500;
}
.admin-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: 0.2s;
}
.admin-breadcrumb a:hover {
  color: #c00;
}
.admin-breadcrumb .separator {
  color: #d1d5db;
  font-size: 10px;
}
.admin-breadcrumb .current {
  color: #1f2937;
  font-weight: 600;
}

/* --- 2. LAYOUT GRID --- */
.article-grid-layout {
  display: grid;
  gap: 20px;
  height: calc(100vh - 100px);
  /* Mobile: Scrollable stack */
}
@media (min-width: 992px) {
  .article-grid-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
    overflow: hidden;
  }
}
@media (max-width: 991px) {
  .article-grid-layout {
    grid-template-columns: 1fr;
    height: auto;
    overflow-y: auto;
    padding-bottom: 40px;
  }
}

/* --- 3. LEFT COLUMN: MAIN EDITOR --- */
.layout-main {
  height: 100%;
  display: flex;
  flex-direction: column;
}
@media (max-width: 991px) {
  .layout-main {
    height: auto;
    min-height: 500px;
  }
}
.layout-main .main-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  /* Headline Input */
  /* Slug Wrapper */
  /* TinyMCE Wrapper */
}
.layout-main .main-panel .title-input {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  width: 100%;
  margin-bottom: 12px;
  background: transparent;
}
.layout-main .main-panel .title-input:focus {
  outline: none;
  border-color: #c00;
}
.layout-main .main-panel .title-input::-moz-placeholder {
  color: #d1d5db;
}
.layout-main .main-panel .title-input::placeholder {
  color: #d1d5db;
}
.layout-main .main-panel .slug-wrapper {
  display: flex;
  align-items: center;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 15px;
}
.layout-main .main-panel .slug-wrapper .slug-prefix {
  color: #9ca3af;
  margin-right: 4px;
  white-space: nowrap;
}
.layout-main .main-panel .slug-wrapper .slug-input {
  background: transparent;
  border: none;
  width: 100%;
  padding: 0;
  font-weight: 500;
  color: #4b5563;
}
.layout-main .main-panel .slug-wrapper .slug-input:focus {
  outline: none;
}
.layout-main .main-panel .slug-wrapper .slug-loader {
  display: none;
  color: #c00;
  margin-left: 5px;
}
.layout-main .main-panel .slug-wrapper .slug-loader i {
  animation: spin 1s infinite linear;
}
.layout-main .main-panel .editor-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* Override TinyMCE border */
}
.layout-main .main-panel .editor-group .tox-tinymce {
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  flex: 1;
}

/* --- 4. RIGHT COLUMN: SIDEBAR --- */
.layout-sidebar {
  height: 100%;
  overflow-y: auto;
  padding-right: 2px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.layout-sidebar::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}
@media (max-width: 991px) {
  .layout-sidebar {
    height: auto;
    overflow-y: visible;
  }
}
.layout-sidebar .panel-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.layout-sidebar .compact-body {
  padding: 12px;
}

/* --- 5. TOP ACTION BUTTONS --- */
.action-buttons-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}
.action-buttons-top button {
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.action-buttons-top .btn-preview {
  background: #0284c7;
  color: white;
}
.action-buttons-top .btn-preview:hover {
  background: rgb(1.4925373134, 98.5074626866, 148.5074626866);
}
.action-buttons-top .publish-btn {
  background: #c00;
  color: white;
}
.action-buttons-top .publish-btn:hover {
  background: #990000;
}

/* --- 6. WIDGETS & FORMS --- */
.form-group {
  margin-bottom: 10px;
}
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.row-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.row-group .half {
  flex: 1;
  margin-bottom: 0;
}

.sm-input {
  width: 100%;
  padding: 6px 8px;
  font-size: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #1f2937;
  background-color: #fff;
}
.sm-input:focus {
  border-color: #c00;
  outline: none;
}

.sm-area {
  width: 100%;
  padding: 8px;
  font-size: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  resize: none;
  line-height: 1.4;
}
.sm-area:focus {
  border-color: #c00;
  outline: none;
}

/* Checkboxes */
.checkbox-list.horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: #f9fafb;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}
.checkbox-list.horizontal .chk-item {
  display: flex;
  align-items: center;
  font-size: 11px;
  color: #444;
  font-weight: 600;
  cursor: pointer;
}
.checkbox-list.horizontal .chk-item input {
  margin-right: 6px;
  accent-color: #c00;
  cursor: pointer;
}

/* Image Upload Component */
.image-upload-wrapper {
  display: flex;
  flex-direction: column;
}
.image-upload-wrapper .upload-zone.compact {
  border: 2px dashed #e5e7eb;
  border-radius: 6px 6px 0 0;
  padding: 15px;
  text-align: center;
  background: #fcfcfc;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-upload-wrapper .upload-zone.compact:hover {
  border-color: #9ca3af;
  background: #f3f4f6;
}
.image-upload-wrapper .upload-zone.compact .upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.image-upload-wrapper .upload-zone.compact .upload-icon {
  font-size: 20px;
  color: #9ca3af;
  margin-bottom: 2px;
}
.image-upload-wrapper .upload-zone.compact .upload-text {
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
}
.image-upload-wrapper .upload-zone.compact input[type=file] {
  display: none;
}
.image-upload-wrapper .upload-zone.compact .preview-overlay {
  position: absolute;
  inset: 0;
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}
.image-upload-wrapper .upload-zone.compact .preview-overlay img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.image-upload-wrapper .upload-zone.compact .preview-overlay .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-upload-wrapper .upload-zone.compact .preview-overlay .remove-btn:hover {
  background: #c00;
}
.image-upload-wrapper .caption-input {
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 8px 10px;
  font-size: 11px;
  width: 100%;
  background: #fff;
  color: #1f2937;
  transition: all 0.2s;
}
.image-upload-wrapper .caption-input::-moz-placeholder {
  color: #9ca3af;
  font-style: italic;
}
.image-upload-wrapper .caption-input::placeholder {
  color: #9ca3af;
  font-style: italic;
}
.image-upload-wrapper .caption-input:focus {
  outline: none;
  border-color: #c00;
  border-top: 1px solid #c00;
}

/* --- 7. PREVIEW MODAL --- */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
}
.preview-modal.active {
  display: flex;
  animation: fadeIn 0.2s;
}
.preview-modal .preview-modal-content {
  background: #fff;
  width: 90%;
  max-width: 700px;
  height: 85vh;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.preview-modal .preview-header {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.preview-modal .preview-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.preview-modal .preview-header .close-modal {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
}
.preview-modal .preview-body-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}

/* Preview Typography */
.article-preview-container {
  font-family: "Inter", sans-serif;
  color: #111;
}
.article-preview-container .article-title {
  font-family: "Merriweather", serif;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 10px;
}
.article-preview-container .article-meta {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.article-preview-container .article-image-wrap {
  margin-bottom: 20px;
}
.article-preview-container .article-image-wrap img {
  width: 100%;
  border-radius: 4px;
}
.article-preview-container .article-image-wrap .article-caption {
  font-size: 11px;
  color: #777;
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}
.article-preview-container .article-body {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.article-preview-container .article-body p {
  margin-bottom: 1.2em;
}

/* Animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* public/assets/scss/articles.scss */
/* VARIABLES */
/* LAYOUT */
.article-manager-wrapper {
  padding: 24px;
  background: #f3f4f6;
  min-height: 85vh;
}

/* HEADER & FILTERS */
.page-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.page-header-flex h1 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-header-flex .count-badge {
  background: #e5e7eb;
  color: #666;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
}
.page-header-flex .btn-add {
  background: #B92025;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: 0.2s;
}
.page-header-flex .btn-add:hover {
  background: rgb(141.5207373272, 24.4792626728, 28.3041474654);
}

.filter-bar {
  background: #fff;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 24px;
}
.filter-bar .filter-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-bar .filter-group .search-input {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.filter-bar .filter-group .search-input i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.filter-bar .filter-group .search-input input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.filter-bar .filter-group .search-input input:focus {
  border-color: #B92025;
  outline: none;
}
.filter-bar .filter-group select {
  padding: 10px 30px 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
}
.filter-bar .filter-group select:focus {
  border-color: #B92025;
  outline: none;
}

/* ALERTS */
.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert.success {
  background: #dcfce7;
  color: #166534;
}

/* --- CARD GRID SYSTEM --- */
.bulk-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.bulk-toolbar .select-all-label {
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bulk-toolbar .btn-bulk-delete {
  background: white;
  border: 1px solid #fee2e2;
  color: #dc2626;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
}
.bulk-toolbar .btn-bulk-delete:hover {
  background: #fee2e2;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.article-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  /* Indicates clickable */
  /* 1. Checkbox Top Left */
  /* 2. Thumbnail & View Button */
  /* 3. Content */
  /* 4. Footer Actions */
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.article-card:hover .card-overlay-actions {
  opacity: 1;
}
.article-card .card-select {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
}
.article-card .card-select input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #B92025;
}
.article-card .card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #f0f0f0;
  overflow: hidden;
  /* Hover Overlay for View */
}
.article-card .card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.article-card .card-thumb .category-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.article-card .card-thumb .card-overlay-actions {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.article-card .card-thumb .btn-view-actual {
  background: white;
  color: #111827;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}
.article-card .card-thumb .btn-view-actual:hover {
  background: #B92025;
  color: white;
}
.article-card .card-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card .card-body .card-title {
  margin: 0 0 10px 0;
  font-size: 15px;
  line-height: 1.4;
  color: #111827;
  font-weight: 600;
}
.article-card .card-body .card-stats {
  margin-top: auto;
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #6b7280;
}
.article-card .card-body .card-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-card .card-footer {
  padding: 12px 15px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fcfcfc;
  cursor: default;
  /* Reset cursor so user knows footer isn't main link */
}
.article-card .card-footer .badge-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
}
.article-card .card-footer .badge-status.published {
  background: #dcfce7;
  color: #166534;
}
.article-card .card-footer .badge-status.draft {
  background: #e5e7eb;
  color: #4b5563;
}
.article-card .card-footer .action-buttons {
  display: flex;
  gap: 8px;
}
.article-card .card-footer .action-buttons .btn-icon {
  color: #6b7280;
  font-size: 16px;
  transition: 0.2s;
  cursor: pointer;
}
.article-card .card-footer .action-buttons .btn-icon:hover {
  color: #B92025;
  transform: scale(1.1);
}
.article-card .card-footer .action-buttons .btn-icon.delete:hover {
  color: #dc2626;
}

/* PAGINATION */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}
.pagination-wrapper .page-btn {
  background: white;
  border: 1px solid #e5e7eb;
  padding: 8px 16px;
  border-radius: 6px;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}
.pagination-wrapper .page-btn:hover {
  border-color: #B92025;
  color: #B92025;
}
.pagination-wrapper .page-info {
  color: #6b7280;
  font-size: 14px;
}

.empty-state {
  text-align: center;
  padding: 60px;
  color: #6b7280;
}
.empty-state i {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
  opacity: 0.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .page-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-header-flex .btn-add {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================
   VARIABLES
   ========================================= */
/* =========================================
   1. BREADCRUMB
   ========================================= */
.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 20px;
  font-weight: 500;
}
.admin-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: 0.2s;
}
.admin-breadcrumb a:hover {
  color: var(--color-brand, #B92025);
}
.admin-breadcrumb .separator {
  color: #d1d5db;
  font-size: 10px;
}
.admin-breadcrumb .current {
  color: var(--color-text, #000000);
  font-weight: 600;
}

/* =========================================
   2. MAIN STYLES
   ========================================= */
.create-story-section {
  font-family: "Inter", sans-serif;
  color: var(--color-text, #000000);
  background-color: #f5f7fa;
  min-height: 100vh;
  padding-bottom: 80px;
  /* Grid Layout */
  /* --- LEFT: BUILDER --- */
  /* --- RIGHT: PREVIEW --- */
  /* Phone Mockup */
  /* --- MOBILE RESPONSIVENESS (Layout) --- */
}
.create-story-section .layout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  /* Builder | Preview */
  gap: 40px;
  align-items: start;
}
.create-story-section .builder-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Header Group */
  /* Slides Wrapper */
  /* Slide Grid (Contents) */
  /* Add Card Tile */
  /* Slide Card */
}
.create-story-section .builder-column .builder-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 10px;
}
.create-story-section .builder-column .builder-header .page-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}
.create-story-section .builder-column .builder-header .header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  /* Publish Button */
  /* Mobile Preview Button */
}
.create-story-section .builder-column .builder-header .header-actions .btn-publish {
  width: -moz-fit-content;
  width: fit-content;
  background-color: var(--color-brand, #B92025);
  color: var(--color-white, #ffffff);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
  box-shadow: 0 4px 10px rgba(185, 32, 37, 0.2);
}
.create-story-section .builder-column .builder-header .header-actions .btn-publish:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(185, 32, 37, 0.3);
}
.create-story-section .builder-column .builder-header .header-actions .btn-mobile-preview {
  display: none;
  background-color: var(--color-white, #ffffff);
  border: 1px solid #e2e8f0;
  color: var(--color-text, #000000);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.create-story-section .builder-column .builder-header .header-actions .btn-mobile-preview:hover {
  background-color: #f3f4f6;
}
.create-story-section .builder-column .slides-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.create-story-section .builder-column .slides-grid {
  display: contents;
}
.create-story-section .builder-column .add-card-tile {
  height: 380px;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.create-story-section .builder-column .add-card-tile:hover {
  border-color: var(--color-brand, #B92025);
  color: var(--color-brand, #B92025);
  background-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-4px);
}
.create-story-section .builder-column .add-card-tile .icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-white, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: inherit;
}
.create-story-section .builder-column .add-card-tile .icon-circle i {
  font-size: 1.8rem;
}
.create-story-section .builder-column .add-card-tile span {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.create-story-section .builder-column .slide-card {
  background: var(--color-white, #ffffff);
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}
.create-story-section .builder-column .slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.create-story-section .builder-column .slide-card.active {
  border-color: var(--color-brand, #B92025);
  ring: 2px solid rgba(185, 32, 37, 0.1);
}
.create-story-section .builder-column .slide-card.is-cover .card-header {
  background-color: var(--color-brand, #B92025);
  color: var(--color-white, #ffffff);
}
.create-story-section .builder-column .slide-card .card-header {
  padding: 12px 16px;
  background-color: var(--color-dark, #1f1f1f);
  color: var(--color-white, #ffffff);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.create-story-section .builder-column .slide-card .card-header .remove-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}
.create-story-section .builder-column .slide-card .card-header .remove-btn:hover {
  background: #ef4444;
  color: white;
}
.create-story-section .builder-column .slide-card .upload-zone {
  height: 240px;
  background-color: #f8fafc;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  border-bottom: 1px solid #f5f7fa;
}
.create-story-section .builder-column .slide-card .upload-zone:hover .upload-placeholder {
  transform: scale(1.05);
  color: var(--color-text, #000000);
}
.create-story-section .builder-column .slide-card .upload-zone .upload-placeholder {
  text-align: center;
  color: #6b7280;
  transition: 0.3s;
}
.create-story-section .builder-column .slide-card .upload-zone .upload-placeholder .icon-wrap {
  font-size: 2rem;
  margin-bottom: 8px;
  opacity: 0.5;
}
.create-story-section .builder-column .slide-card .upload-zone .upload-placeholder span {
  font-size: 0.85rem;
  font-weight: 600;
}
.create-story-section .builder-column .slide-card .upload-zone .thumb-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.create-story-section .builder-column .slide-card .card-inputs {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.create-story-section .builder-column .slide-card .card-inputs .input-modern {
  width: 100%;
  border: none;
  padding: 16px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: none;
  background: transparent;
  border-bottom: 1px solid #f1f5f9;
  outline: none;
  color: var(--color-text, #000000);
}
.create-story-section .builder-column .slide-card .card-inputs .input-modern:focus {
  background-color: #fafafa;
}
.create-story-section .builder-column .slide-card .card-inputs .input-modern::-moz-placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.create-story-section .builder-column .slide-card .card-inputs .input-modern::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.create-story-section .builder-column .slide-card .card-inputs .sm {
  font-size: 0.85rem;
  color: #0284c7;
  padding: 14px 16px;
  font-weight: 500;
}
.create-story-section .preview-column .preview-sticky {
  position: sticky;
  top: 20px;
}
.create-story-section .preview-column .mobile-overlay,
.create-story-section .preview-column .close-mobile {
  display: none;
}
@media (max-width: 992px) {
  .create-story-section .preview-column {
    display: none;
  }
  .create-story-section .preview-column.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999 !important;
    /* Force on top */
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.85);
    /* Darker overlay */
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    /* Strong blur */
  }
  .create-story-section .preview-column .mobile-overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .create-story-section .preview-column .phone-mockup {
    position: relative;
    z-index: 2;
    transform: scale(0.85);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.8);
  }
  .create-story-section .preview-column .close-mobile {
    display: flex;
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--color-white, #ffffff);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    font-size: 1.4rem;
  }
}
.create-story-section .phone-mockup {
  width: 320px;
  height: 640px;
  background-color: #111;
  border-radius: 40px;
  padding: 12px;
  border: 6px solid #2d2d2d;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}
.create-story-section .phone-mockup .screen {
  width: 100%;
  height: 100%;
  /* Default Dark Gradient */
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}
.create-story-section .phone-mockup .screen .story-ui {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 20%, rgba(0, 0, 0, 0.6) 80%);
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.create-story-section .phone-mockup .screen .story-ui .story-top-bar {
  margin-top: 10px;
}
.create-story-section .phone-mockup .screen .story-ui .story-top-bar .progress-lines {
  display: flex;
  gap: 4px;
  height: 3px;
  margin-bottom: 12px;
}
.create-story-section .phone-mockup .screen .story-ui .story-top-bar .progress-lines .line {
  flex: 1;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
.create-story-section .phone-mockup .screen .story-ui .story-top-bar .progress-lines .line.active {
  background: var(--color-white, #ffffff);
}
.create-story-section .phone-mockup .screen .story-ui .story-top-bar .user-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white, #ffffff);
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.create-story-section .phone-mockup .screen .story-ui .story-top-bar .user-meta .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #B92025;
  border: 1.5px solid var(--color-white, #ffffff);
  -o-object-fit: cover;
     object-fit: cover;
}
.create-story-section .phone-mockup .screen .story-ui .story-top-bar .user-meta .time {
  opacity: 0.7;
  font-weight: 400;
  font-size: 0.8rem;
  margin-left: 4px;
}
.create-story-section .phone-mockup .screen .story-ui .story-content {
  margin-top: auto;
  margin-bottom: 50px;
  text-align: left;
}
.create-story-section .phone-mockup .screen .story-ui .story-content p {
  color: var(--color-white, #ffffff);
  font-size: 17px;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  text-align: left;
}
.create-story-section .phone-mockup .screen .story-ui .swipe-up {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--color-white, #ffffff);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.create-story-section .phone-mockup .screen .story-ui .swipe-up i {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
  animation: bounce 2s infinite;
}
@media (max-width: 992px) {
  .create-story-section .layout-grid {
    grid-template-columns: 1fr;
  }
  .create-story-section .builder-column .builder-header .header-actions .btn-mobile-preview {
    display: flex !important;
    /* Force visible on mobile */
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* ==========================================================================
   WEB STORIES MANAGER (ADMIN)
   ========================================================================== */
:root {
  --color-story-active: #28a745;
  --color-story-expired: #6c757d;
  --color-story-delete: #dc3545;
  --color-story-edit: #007bff;
  --transition-base: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-manager-wrapper {
  padding: 20px;
  font-family: "Inter", sans-serif;
  /* --- Header Area --- */
  /* --- Grid Layout --- */
  /* --- Base Story Card --- */
}
.story-manager-wrapper .manager-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}
.story-manager-wrapper .manager-header .page-title h2 {
  margin: 0;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
}
.story-manager-wrapper .manager-header .page-title p {
  margin: 5px 0 0;
  color: #777;
  font-size: 0.9rem;
}
.story-manager-wrapper .manager-header .header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.story-manager-wrapper .manager-header .header-actions .search-box {
  position: relative;
}
.story-manager-wrapper .manager-header .header-actions .search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}
.story-manager-wrapper .manager-header .header-actions .search-box input {
  padding: 8px 12px 8px 35px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 250px;
  font-size: 0.9rem;
}
.story-manager-wrapper .manager-header .header-actions .search-box input:focus {
  outline: none;
  border-color: var(--color-story-edit);
}
.story-manager-wrapper .manager-header .header-actions .btn-create {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.story-manager-wrapper .manager-header .header-actions .btn-create:hover {
  background: #333;
}
@media (max-width: 576px) {
  .story-manager-wrapper .manager-header .header-actions .btn-create {
    padding: 10px 14px;
  }
  .story-manager-wrapper .manager-header .header-actions .btn-create .btn-text-responsive {
    display: none;
  }
  .story-manager-wrapper .manager-header .header-actions .btn-create i {
    margin: 0;
    font-size: 1.2rem;
    display: block;
  }
}
.story-manager-wrapper .story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}
.story-manager-wrapper .story-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: var(--transition-base);
  /* Logic for Expired State */
  /* Badges */
  /* Card Actions */
  /* Overlay Text */
}
.story-manager-wrapper .story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.story-manager-wrapper .story-card:hover .card-thumb img {
  transform: scale(1.05);
}
.story-manager-wrapper .story-card .card-thumb {
  position: relative;
  height: 380px;
  background: #000;
  overflow: hidden;
}
.story-manager-wrapper .story-card .card-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.9;
  transition: transform 0.5s ease;
}
.story-manager-wrapper .story-card.expired-status {
  filter: grayscale(0.6);
  opacity: 0.85;
  border: 2px dashed #adb5bd;
}
.story-manager-wrapper .story-card.expired-status .expired-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 20px;
  border: 2px solid #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  z-index: 5;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.story-manager-wrapper .story-card.expired-status:hover {
  filter: grayscale(0.2);
  opacity: 1;
}
.story-manager-wrapper .story-card .card-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}
.story-manager-wrapper .story-card .card-badges .badge {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.story-manager-wrapper .story-card .card-badges .badge.badge-slides {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.story-manager-wrapper .story-card .card-badges .badge.badge-status {
  background: var(--color-story-active);
  color: #fff;
}
.story-manager-wrapper .story-card .card-badges .badge.badge-expired {
  background: var(--color-story-expired);
  color: #fff;
}
.story-manager-wrapper .story-card .card-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  display: flex;
  gap: 8px;
}
.story-manager-wrapper .story-card .card-actions .btn-icon {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
}
.story-manager-wrapper .story-card .card-actions .btn-icon:hover {
  transform: scale(1.1);
}
.story-manager-wrapper .story-card .card-actions .btn-icon:hover.edit {
  background: var(--color-story-edit);
  color: #fff;
}
.story-manager-wrapper .story-card .card-actions .btn-icon:hover.delete {
  background: var(--color-story-delete);
  color: #fff;
}
.story-manager-wrapper .story-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 20%, transparent 100%);
  color: #fff;
}
.story-manager-wrapper .story-card .card-overlay .story-title {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-manager-wrapper .story-card .card-overlay .story-meta {
  font-size: 12px;
  opacity: 0.8;
  font-weight: 500;
}

/* --- Preview Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
}
.modal-overlay .modal-content {
  position: relative;
  width: 100%;
  max-width: 400px;
}
.modal-overlay .modal-content .close-modal {
  position: absolute;
  top: -40px;
  right: -10px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-overlay .modal-content .phone-mockup {
  aspect-ratio: 9/16;
  background: #111;
  border-radius: 30px;
  border: 8px solid #333;
  overflow: hidden;
  position: relative;
}
.modal-overlay .modal-content .phone-mockup .story-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.modal-overlay .modal-content .phone-mockup .story-screen .progress-container {
  position: absolute;
  top: 15px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
  z-index: 20;
}
.modal-overlay .modal-content .phone-mockup .story-screen .progress-container .progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}
.modal-overlay .modal-content .phone-mockup .story-screen .progress-container .progress-bar .fill {
  height: 100%;
  background: #fff;
  width: 0;
}
.modal-overlay .modal-content .phone-mockup .story-screen .story-media {
  flex: 1;
}
.modal-overlay .modal-content .phone-mockup .story-screen .story-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.modal-overlay .modal-content .phone-mockup .story-screen .story-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  z-index: 15;
}
.modal-overlay .modal-content .phone-mockup .story-screen .story-text-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.modal-overlay .modal-content .phone-mockup .story-screen .story-text-overlay .story-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  color: #000;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.modal-overlay .modal-content .phone-mockup .story-screen .nav-left,
.modal-overlay .modal-content .phone-mockup .story-screen .nav-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  z-index: 25;
}
.modal-overlay .modal-content .phone-mockup .story-screen .nav-left {
  left: 0;
}
.modal-overlay .modal-content .phone-mockup .story-screen .nav-right {
  right: 0;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.add-video-page {
  width: 100%;
  min-height: 100vh;
  padding: 48px 60px;
  background: var(--color-bg);
  /* ================= PREVIEW PANEL ================= */
  /* ================= FORM PANEL ================= */
  /* ================= RESPONSIVE ================= */
}
.add-video-page .page-header {
  margin-bottom: 40px;
}
.add-video-page .page-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.5px;
}
.add-video-page .video-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.add-video-page .video-preview-panel {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
}
.add-video-page .video-preview-panel .preview-box {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface-soft);
  position: relative;
}
.add-video-page .video-preview-panel .preview-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
.add-video-page .video-preview-panel .preview-box:hover img {
  transform: scale(1.02);
}
.add-video-page .video-form-panel {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
  /* ================= PUBLISH BUTTON ================= */
}
.add-video-page .video-form-panel form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.add-video-page .video-form-panel .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.add-video-page .video-form-panel .form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.add-video-page .video-form-panel .form-group input,
.add-video-page .video-form-panel .form-group textarea,
.add-video-page .video-form-panel .form-group select {
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-soft);
  transition: all 0.25s ease;
  font-family: inherit;
}
.add-video-page .video-form-panel .form-group input:focus,
.add-video-page .video-form-panel .form-group textarea:focus,
.add-video-page .video-form-panel .form-group select:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(185, 32, 37, 0.12);
}
.add-video-page .video-form-panel .form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.add-video-page .video-form-panel .form-group input[type=file] {
  padding: 12px;
  background: var(--color-surface-soft);
  border: 1px dashed var(--color-border);
  cursor: pointer;
}
.add-video-page .video-form-panel .form-group input[type=file]:hover {
  border-color: var(--color-brand);
  background: #fdf2f2;
}
.add-video-page .video-form-panel .form-group select {
  cursor: pointer;
}
.add-video-page .video-form-panel .btn-publish {
  margin-top: 12px;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark));
  color: var(--color-white);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(185, 32, 37, 0.25);
}
.add-video-page .video-form-panel .btn-publish:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(185, 32, 37, 0.35);
}
.add-video-page .video-form-panel .btn-publish:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(185, 32, 37, 0.25);
}
@media (max-width: 1100px) {
  .add-video-page {
    padding: 40px 30px;
  }
  .add-video-page .video-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 576px) {
  .add-video-page {
    padding: 24px 10px;
  }
  .add-video-page .page-header h1 {
    font-size: 22px;
  }
  .add-video-page .video-form-panel {
    padding: 22px;
  }
  .add-video-page .video-preview-panel {
    padding: 18px;
  }
}

.video-manager-wrapper {
  padding: 10px 0 40px;
  /* ================= ALERTS ================= */
  /* ================= HEADER ================= */
  /* ================= TOOLBAR ================= */
  /* ================= BULK ACTION ================= */
  /* ================= GRID ================= */
  /* ================= VIDEO CARD ================= */
  /* ================= PAGINATION ================= */
  /* ================= EMPTY STATE ================= */
  /* ================= RESPONSIVE ================= */
}
.video-manager-wrapper .alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}
.video-manager-wrapper .alert.success {
  background: #e6f6ee;
  color: #1f8a4c;
  border: 1px solid #c9ecd8;
}
.video-manager-wrapper .alert.error {
  background: #fdecea;
  color: #c62828;
  border: 1px solid #f5c6cb;
}
.video-manager-wrapper .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.video-manager-wrapper .page-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
}
.video-manager-wrapper .page-header h2 i {
  margin-right: 6px;
  color: var(--color-brand);
}
.video-manager-wrapper .page-header p {
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}
.video-manager-wrapper .page-header .btn-add {
  background: var(--color-brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}
.video-manager-wrapper .page-header .btn-add:hover {
  background: rgb(150.2165898618, 25.9834101382, 30.0433179724);
}
.video-manager-wrapper .toolbar {
  margin-bottom: 20px;
}
.video-manager-wrapper .toolbar .search-form {
  position: relative;
  max-width: 320px;
}
.video-manager-wrapper .toolbar .search-form i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #999;
  font-size: 13px;
}
.video-manager-wrapper .toolbar .search-form input {
  width: 100%;
  padding: 8px 10px 8px 32px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
}
.video-manager-wrapper .toolbar .search-form input:focus {
  outline: none;
  border-color: var(--color-brand);
}
.video-manager-wrapper form > div:first-child {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.video-manager-wrapper form > div:first-child label {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.video-manager-wrapper form > div:first-child label input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.video-manager-wrapper form > div:first-child .btn-danger {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s ease;
}
.video-manager-wrapper form > div:first-child .btn-danger:hover {
  background: rgb(197.9088607595, 34.2911392405, 49.9670886076);
}
.video-manager-wrapper .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-manager-wrapper .video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
  position: relative;
  border: 1px solid #eee;
  /* Checkbox */
  /* ================= HEADER ================= */
  /* ================= THUMB ================= */
  /* ================= BODY ================= */
  /* ================= FOOTER ================= */
}
.video-manager-wrapper .video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.video-manager-wrapper .video-card .video-checkbox {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 5;
  width: 12px;
  height: 12px;
  cursor: pointer;
}
.video-manager-wrapper .video-card .card-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f1f1;
}
.video-manager-wrapper .video-card .card-header-meta .author-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.video-manager-wrapper .video-card .card-header-meta .author-block .author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-brand), #8f1a1f);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.video-manager-wrapper .video-card .card-header-meta .author-block .author-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.video-manager-wrapper .video-card .card-header-meta .author-block .author-meta strong {
  display: block;
  font-size: 14px;
  color: #111;
}
.video-manager-wrapper .video-card .card-header-meta .author-block .author-meta small {
  font-size: 11px;
  color: #777;
}
.video-manager-wrapper .video-card .card-header-meta .card-actions {
  display: flex;
  gap: 8px;
}
.video-manager-wrapper .video-card .card-header-meta .card-actions .btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #666;
  transition: 0.2s ease;
}
.video-manager-wrapper .video-card .card-header-meta .card-actions .btn-icon:hover {
  background: #f2f2f2;
}
.video-manager-wrapper .video-card .card-header-meta .card-actions .btn-icon.edit:hover {
  color: var(--color-brand);
}
.video-manager-wrapper .video-card .card-header-meta .card-actions .btn-icon.delete:hover {
  color: #dc3545;
}
.video-manager-wrapper .video-card .card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.video-manager-wrapper .video-card .card-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.video-manager-wrapper .video-card .card-thumb .play-icon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  transition: 0.3s ease;
}
.video-manager-wrapper .video-card .card-thumb .play-icon-overlay i {
  font-size: 38px;
  color: #fff;
}
.video-manager-wrapper .video-card .card-thumb:hover .play-icon-overlay {
  background: rgba(0, 0, 0, 0.55);
}
.video-manager-wrapper .video-card .card-body {
  padding: 14px;
}
.video-manager-wrapper .video-card .card-body h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
}
.video-manager-wrapper .video-card .card-footer-stats {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border-top: 1px solid #f1f1f1;
  font-size: 12px;
  color: #666;
}
.video-manager-wrapper .video-card .card-footer-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.video-manager-wrapper .video-card .card-footer-stats span i {
  font-size: 13px;
}
.video-manager-wrapper .pagination-wrapper {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.video-manager-wrapper .pagination-wrapper a {
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  background: #f2f2f2;
  font-size: 13px;
  color: #111;
  transition: 0.2s ease;
}
.video-manager-wrapper .pagination-wrapper a:hover {
  background: var(--color-brand);
  color: #fff;
}
.video-manager-wrapper .pagination-wrapper span {
  font-size: 13px;
  color: #777;
}
.video-manager-wrapper .empty-state {
  text-align: center;
  padding: 50px 0;
}
.video-manager-wrapper .empty-state h3 {
  margin-top: 15px;
  font-size: 18px;
  color: #777;
}
@media (max-width: 768px) {
  .video-manager-wrapper .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .video-manager-wrapper form > div:first-child {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* public/assets/scss/users.scss */
/* ================= VARIABLES ================= */
/* STATUS COLORS */
/* Purple */
/* Blue */
/* Slate */
/* Amber */
/* Red background for alerts */
/* Red border for alerts */
/* ================= LAYOUT ================= */
.user-manager-wrapper {
  padding: 24px;
  background: #f0f2f5;
  min-height: 85vh;
  font-family: "Segoe UI", sans-serif;
  box-sizing: border-box;
  /* --- PAGE HEADER --- */
  /* --- TOOLBAR --- */
  /* --- ALERTS --- */
  /* --- TABLE CONTAINER --- */
  /* --- TABLE STYLES (Desktop Default) --- */
  /* --- COMPONENTS --- */
}
.user-manager-wrapper .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 15px;
}
.user-manager-wrapper .page-header .header-left h2 {
  margin: 0;
  font-size: 24px;
  color: #1c1e21;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.user-manager-wrapper .page-header .header-left h2 i {
  color: #B92025;
}
.user-manager-wrapper .page-header .header-left p {
  margin: 4px 0 0;
  color: #65676b;
  font-size: 14px;
}
.user-manager-wrapper .page-header .header-right .count-badge {
  background: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: #1c1e21;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}
.user-manager-wrapper .page-header .header-right .count-badge strong {
  color: #B92025;
}
.user-manager-wrapper .toolbar {
  margin-bottom: 20px;
}
.user-manager-wrapper .toolbar .search-form {
  position: relative;
  max-width: 350px;
  width: 100%;
}
.user-manager-wrapper .toolbar .search-form i.bi-search {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #65676b;
}
.user-manager-wrapper .toolbar .search-form input {
  width: 100%;
  padding: 10px 10px 10px 36px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}
.user-manager-wrapper .toolbar .search-form input:focus {
  outline: none;
  border-color: #B92025;
  box-shadow: 0 0 0 3px rgba(185, 32, 37, 0.1);
}
.user-manager-wrapper .toolbar .search-form .clear-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
}
.user-manager-wrapper .alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-manager-wrapper .alert.success {
  background: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}
.user-manager-wrapper .alert.error {
  background: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}
.user-manager-wrapper .table-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  /* Hide overflow on desktop, handle inside query */
}
.user-manager-wrapper .user-table {
  width: 100%;
  border-collapse: collapse;
}
.user-manager-wrapper .user-table thead {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.user-manager-wrapper .user-table thead th {
  text-align: left;
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #65676b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.user-manager-wrapper .user-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  /* HIGHLIGHTS */
}
.user-manager-wrapper .user-table tbody tr:last-child {
  border-bottom: none;
}
.user-manager-wrapper .user-table tbody tr:hover {
  background: #fcfcfc;
}
.user-manager-wrapper .user-table tbody tr.row-pending {
  background: #fffbeb;
}
.user-manager-wrapper .user-table tbody tr.row-pending:hover {
  background: #fff7d6;
}
.user-manager-wrapper .user-table tbody tr.row-alert {
  background: #fff0f0;
  border-left: 4px solid #dc3545;
}
.user-manager-wrapper .user-table tbody tr.row-alert:hover {
  background: rgb(255, 229.8, 229.8);
}
.user-manager-wrapper .user-table tbody tr td {
  padding: 16px 20px;
  vertical-align: middle;
  font-size: 14px;
  color: #1c1e21;
}
.user-manager-wrapper .user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-manager-wrapper .user-info .avatar-circle {
  width: 40px;
  height: 40px;
  background: #B92025;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.user-manager-wrapper .user-info .details {
  display: flex;
  flex-direction: column;
}
.user-manager-wrapper .user-info .details .name {
  font-weight: 600;
  color: #1c1e21;
  display: flex;
  align-items: center;
  gap: 6px;
}
.user-manager-wrapper .user-info .details .email {
  font-size: 13px;
  color: #65676b;
}
.user-manager-wrapper .user-info .details .badge-you {
  font-size: 10px;
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
  color: #666;
  text-transform: uppercase;
}
.user-manager-wrapper .role-select {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  text-align: center;
  min-width: 80px;
}
.user-manager-wrapper .role-select.admin {
  color: #7e22ce;
  border-color: rgba(126, 34, 206, 0.3);
  background: rgba(126, 34, 206, 0.05);
}
.user-manager-wrapper .role-select.author {
  color: #0ea5e9;
  border-color: rgba(14, 165, 233, 0.3);
  background: rgba(14, 165, 233, 0.05);
}
.user-manager-wrapper .role-select.reader {
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.3);
  background: rgba(100, 116, 139, 0.05);
}
.user-manager-wrapper .pending-status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-manager-wrapper .pending-status .badge.pending {
  background: #f59e0b;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.user-manager-wrapper .pending-status .btn-approve-sm {
  background: #10b981;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.user-manager-wrapper .pending-status .btn-approve-sm:hover {
  background: rgb(11.9402985075, 138.0597014925, 96.2686567164);
}
.user-manager-wrapper .btn-reset-password {
  background: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.user-manager-wrapper .btn-reset-password:hover {
  background: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}
.user-manager-wrapper .btn-delete-icon {
  background: none;
  border: none;
  color: #ccc;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
}
.user-manager-wrapper .btn-delete-icon:hover {
  color: #dc3545;
}
.user-manager-wrapper .empty-state {
  text-align: center;
  padding: 60px 20px;
}
.user-manager-wrapper .empty-state i {
  font-size: 40px;
  color: #ddd;
  margin-bottom: 15px;
  display: block;
}
.user-manager-wrapper .empty-state h3 {
  margin: 0 0 5px;
  color: #65676b;
  font-size: 18px;
}
.user-manager-wrapper .empty-state p {
  margin: 0;
  font-size: 14px;
  color: #999;
}

/* =========================================
   MOBILE CARD VIEW (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
  .user-manager-wrapper {
    padding: 15px;
    /* Remove Table Container Styling for Mobile */
    /* Convert Table to Cards */
  }
  .user-manager-wrapper .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .user-manager-wrapper .page-header .header-right {
    width: 100%;
  }
  .user-manager-wrapper .page-header .header-right .count-badge {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  .user-manager-wrapper .toolbar .search-form {
    max-width: 100%;
  }
  .user-manager-wrapper .table-container {
    background: transparent;
    box-shadow: none;
    border: none;
  }
  .user-manager-wrapper .user-table {
    display: block;
    /* Hide Header */
  }
  .user-manager-wrapper .user-table thead {
    display: none;
  }
  .user-manager-wrapper .user-table tbody {
    display: block;
  }
  .user-manager-wrapper .user-table tr {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
    padding: 15px;
    position: relative;
    /* For absolute positioning buttons if needed */
    /* Specific Cell Styling */
    /* 1. User Info (Top) */
    /* 2. Role Selector (Middle) */
    /* 3. Date (Bottom Left) */
    /* 4. Actions (Bottom Right - Absolute or Flex) */
  }
  .user-manager-wrapper .user-table tr.row-alert {
    border-left: 5px solid #dc3545;
  }
  .user-manager-wrapper .user-table tr.row-pending {
    border-left: 5px solid #f59e0b;
    background: #fff;
  }
  .user-manager-wrapper .user-table tr td {
    display: block;
    padding: 8px 0;
    border: none;
    width: 100%;
    box-sizing: border-box;
    /* Add Label for Role/Date if needed */
  }
  .user-manager-wrapper .user-table tr td:nth-child(3):before {
    /* Date Column */
    content: "Joined: ";
    font-size: 12px;
    color: #65676b;
    font-weight: 600;
  }
  .user-manager-wrapper .user-table tr td:nth-child(1) {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 8px;
  }
  .user-manager-wrapper .user-table tr td:nth-child(2) {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .user-manager-wrapper .user-table tr td:nth-child(3) {
    font-size: 13px;
    color: #65676b;
  }
  .user-manager-wrapper .user-table tr td:nth-child(4) {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    margin-top: 5px;
  }
}
/* Swaraj Newsroom - Editorial Pro Skin */
.category-editorial-wrapper {
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
  background: #fdfdfd;
  /* ACTION CARD: Full-Width Input Section */
  /* TABLE SECTION */
  /* categories.scss - Icon-Only Editorial Actions */
  /* Mobile Tweak: Ensure icons don't cramp up on small screens */
}
@media (max-width: 768px) {
  .category-editorial-wrapper {
    padding: 1rem;
  }
}
.category-editorial-wrapper .editorial-header {
  margin-bottom: 2rem;
}
.category-editorial-wrapper .editorial-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-dark);
  letter-spacing: -1px;
}
.category-editorial-wrapper .action-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 2.5rem;
  margin-bottom: 3rem;
}
.category-editorial-wrapper .action-card .form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-end;
}
.category-editorial-wrapper .action-card .form-grid .input-group {
  flex: 1;
  min-width: 280px;
}
.category-editorial-wrapper .action-card .form-grid .input-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: #1f1f1f;
}
.category-editorial-wrapper .action-card .form-grid .input-group input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #eee;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  transition: 0.3s;
}
.category-editorial-wrapper .action-card .form-grid .input-group input:focus {
  outline: none;
  border-bottom-color: var(--color-brand);
}
.category-editorial-wrapper .action-card .form-grid .btn-group {
  display: flex;
  gap: 10px;
}
.category-editorial-wrapper .action-card .form-grid .btn-group .btn-save-editorial {
  background: var(--color-brand);
  color: #fff;
  border: none;
  padding: 1.1rem 2rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 0.8rem;
}
.category-editorial-wrapper .action-card .form-grid .btn-group .btn-reset-editorial {
  background: #f0f0f0;
  border: none;
  padding: 1.1rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  color: #555;
}
.category-editorial-wrapper .inventory-section .table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.category-editorial-wrapper .inventory-section .table-toolbar .bulk-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.8rem;
}
.category-editorial-wrapper .inventory-section .table-toolbar .bulk-actions .btn-bulk-delete {
  background: #fff;
  color: var(--color-brand);
  border: 1.5px solid var(--color-brand);
  padding: 5px 12px;
  font-weight: 800;
  font-size: 0.7rem;
  cursor: pointer;
  text-transform: uppercase;
}
.category-editorial-wrapper .inventory-section .table-toolbar .bulk-actions .btn-bulk-delete:hover {
  background: var(--color-brand);
  color: #fff;
}
.category-editorial-wrapper .inventory-section .table-toolbar .stats {
  font-size: 0.85rem;
  color: #666;
}
.category-editorial-wrapper .inventory-section .table-container {
  width: 100%;
  overflow-x: auto;
}
.category-editorial-wrapper .inventory-section .table-container .editorial-table {
  width: 100%;
  border-collapse: collapse;
}
.category-editorial-wrapper .inventory-section .table-container .editorial-table th {
  background: var(--color-dark);
  color: #fff;
  text-align: left;
  padding: 1.2rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.category-editorial-wrapper .inventory-section .table-container .editorial-table td {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  vertical-align: middle;
}
.category-editorial-wrapper .inventory-section .table-container .editorial-table .id-cell {
  font-family: monospace;
  color: #bbb;
  font-weight: 700;
}
.category-editorial-wrapper .inventory-section .table-container .editorial-table .name-cell {
  font-weight: 800;
  color: var(--color-dark);
}
.category-editorial-wrapper .inventory-section .table-container .editorial-table .slug-cell {
  color: var(--color-brand);
  font-family: monospace;
  font-size: 0.85rem;
}
.category-editorial-wrapper .inventory-section .table-container .editorial-table .btn-edit {
  background: none;
  border: 1px solid #ddd;
  padding: 6px 15px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  margin-right: 5px;
}
.category-editorial-wrapper .inventory-section .table-container .editorial-table .btn-del {
  background: none;
  border: 1px solid #ffcccc;
  color: #cc0000;
  padding: 6px 15px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.category-editorial-wrapper .editorial-alert {
  padding: 1.2rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.category-editorial-wrapper .editorial-alert.success {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 5px solid #2e7d32;
}
.category-editorial-wrapper .editorial-alert.error {
  background: #ffebee;
  color: #c62828;
  border-left: 5px solid #c62828;
}
.category-editorial-wrapper .editorial-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.category-editorial-wrapper .editorial-actions .icon-btn {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-editorial-wrapper .editorial-actions .icon-btn.edit-btn {
  color: var(--color-dark);
}
.category-editorial-wrapper .editorial-actions .icon-btn.edit-btn:hover {
  background: #f0f0f0;
  color: #000;
}
.category-editorial-wrapper .editorial-actions .icon-btn.delete-btn {
  color: #888;
}
.category-editorial-wrapper .editorial-actions .icon-btn.delete-btn:hover {
  background: #fff5f5;
  color: var(--color-brand);
}
@media (max-width: 480px) {
  .category-editorial-wrapper .editorial-actions {
    gap: 8px;
  }
  .category-editorial-wrapper .editorial-actions .icon-btn {
    font-size: 1.1rem;
  }
}

/* =========================================================
   COMMENTS MANAGER — ADMIN
   Matches Swaraj Admin Design System
========================================================= */
.comment-manager-wrapper {
  padding: 24px;
  background: #f8f9fa;
  min-height: calc(100vh - 70px);
  /* -------------------------------
     ALERT
  -------------------------------- */
  /* -------------------------------
     TOOLBAR
  -------------------------------- */
  /* -------------------------------
     COMMENTS GRID
  -------------------------------- */
  /* -------------------------------
     COMMENT CARD
  -------------------------------- */
  /* -------------------------------
     EMPTY STATE
  -------------------------------- */
}
.comment-manager-wrapper .alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-left: 4px solid;
  font-size: 0.9rem;
  font-weight: 500;
}
.comment-manager-wrapper .alert.success {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: #2e7d32;
}
.comment-manager-wrapper .toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  background: #fff;
  padding: 12px 16px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}
.comment-manager-wrapper .toolbar label {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.comment-manager-wrapper .toolbar select {
  padding: 8px 10px;
  border: 1px solid #ccc;
  font-size: 0.85rem;
  border-radius: 3px;
  background: #fff;
}
.comment-manager-wrapper .toolbar select:focus {
  outline: none;
  border-color: var(--color-brand);
}
.comment-manager-wrapper .toolbar button {
  padding: 8px 14px;
  background: var(--color-brand);
  color: #fff;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
}
.comment-manager-wrapper .toolbar button:hover {
  opacity: 0.9;
}
.comment-manager-wrapper .comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
@media (max-width: 480px) {
  .comment-manager-wrapper .comments-grid {
    grid-template-columns: 1fr;
  }
}
.comment-manager-wrapper .comment-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  /* Checkbox */
  /* ---------------------------
     HEADER
  ---------------------------- */
  /* ---------------------------
     BODY
  ---------------------------- */
  /* ---------------------------
     FOOTER
  ---------------------------- */
}
.comment-manager-wrapper .comment-card.status-approved {
  border-left: 4px solid #2e7d32;
}
.comment-manager-wrapper .comment-card.status-pending {
  border-left: 4px solid #ff9800;
}
.comment-manager-wrapper .comment-card .select-box {
  position: absolute;
  top: 12px;
  right: 12px;
}
.comment-manager-wrapper .comment-card .select-box input {
  cursor: pointer;
}
.comment-manager-wrapper .comment-card .comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.comment-manager-wrapper .comment-card .comment-header .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.comment-manager-wrapper .comment-card .comment-header .meta {
  flex: 1;
}
.comment-manager-wrapper .comment-card .comment-header .meta strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-dark);
}
.comment-manager-wrapper .comment-card .comment-header .meta small {
  font-size: 0.75rem;
  color: #777;
}
.comment-manager-wrapper .comment-card .comment-header .status {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
}
.comment-manager-wrapper .comment-card .comment-header .status.approved {
  background: #e8f5e9;
  color: #2e7d32;
}
.comment-manager-wrapper .comment-card .comment-header .status.pending {
  background: #fff3e0;
  color: #ef6c00;
}
.comment-manager-wrapper .comment-card .comment-body {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 14px;
  word-break: break-word;
}
.comment-manager-wrapper .comment-card .comment-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.comment-manager-wrapper .comment-card .comment-footer .source {
  font-size: 0.75rem;
  color: #666;
}
.comment-manager-wrapper .comment-card .comment-footer .actions {
  display: flex;
  gap: 8px;
}
.comment-manager-wrapper .comment-card .comment-footer .actions button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
}
.comment-manager-wrapper .comment-card .comment-footer .actions button:hover {
  transform: scale(1.1);
}
.comment-manager-wrapper .comment-card .comment-footer .actions button:first-child {
  color: #2e7d32;
}
.comment-manager-wrapper .comment-card .comment-footer .actions button:last-child {
  color: #c62828;
}
.comment-manager-wrapper .empty-state {
  grid-column: 1/-1;
  background: #fff;
  border: 1px dashed #ccc;
  padding: 40px;
  text-align: center;
  color: #777;
  border-radius: 4px;
}
.comment-manager-wrapper .empty-state p {
  margin: 0;
  font-size: 0.9rem;
}/*# sourceMappingURL=common.css.map */