@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #080b11;
  --bg-card: rgba(16, 22, 34, 0.75);
  --border-color: rgba(212, 175, 55, 0.08);
  --accent-cyan: #d4af37;
  /* Classic Gold */
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  /* Sapphire Blue */
  --accent-pink: #ef4444;
  /* Crimson Red */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(212, 175, 55, 0.02);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Mappings for missing variables */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-color: #d4af37;
  --bg-secondary: #101622;
}

html {
  font-size: 16px !important;
}

body {
  background-color: var(--bg-primary) !important;
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Premium Layout Overrides to replace standard Bootstrap 3 Grid with a modern CSS Grid */
.container {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

.row:has(> .col-md-8):has(> .col-md-4) {
  display: grid !important;
  grid-template-columns: 1fr 340px !important;
  grid-template-areas: "content sidebar" !important;
  gap: 30px !important;
  margin: 30px auto !important;
}

/* Reset old Bootstrap float and clearfix behaviors */
.row:has(> .col-md-8):has(> .col-md-4)::before,
.row:has(> .col-md-8):has(> .col-md-4)::after {
  display: none !important;
}

.row:has(> .col-md-8)>.col-md-8 {
  grid-area: content !important;
  width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  padding: 0 !important;
}

.row:has(> .col-md-4)>.col-md-4 {
  grid-area: sidebar !important;
  width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  padding: 0 !important;
}

@media (max-width: 992px) {
  .row:has(> .col-md-8):has(> .col-md-4) {
    grid-template-columns: 1fr !important;
    grid-template-areas: "content" "sidebar" !important;
    gap: 20px !important;
  }
}

/* Glassmorphism Terminal HUD Panels */
.panel {
  background: var(--bg-card) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color) !important;
  border-radius: 14px !important;
  box-shadow: var(--card-shadow) !important;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4) !important;
}

.panel-heading {
  background: rgba(255, 255, 255, 0.02) !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 15px 20px !important;
  color: var(--text-main) !important;
}

.panel-title {
  font-family: var(--font-display) !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.panel-body {
  padding: 20px !important;
  background: transparent !important;
}

/* ========================================================================
   GNEWS CUSTOM NAVIGATION BAR (Glassmorphism & Fully Responsive)
   ======================================================================== */

.gnews-nav {
  background: rgba(10, 14, 24, 0.88) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(212, 175, 55, 0.12) !important;
  border-radius: 20px !important;
  margin: 14px auto !important;
  max-width: 1360px !important;
  width: calc(100% - 32px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) !important;
  z-index: 1050 !important;
  position: relative;
}

.gnews-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  min-height: 68px;
  position: relative;
}

/* Logo */
.gnews-logo {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  font-family: var(--font-display) !important;
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.gnews-logo-g {
  color: var(--accent-cyan) !important;
  /* Gold */
  font-weight: 800;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.gnews-logo-news {
  color: #ffffff !important;
  font-weight: 700;
}

/* Links Wrap */
.gnews-links-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  margin-left: 24px;
}

/* Lists */
.gnews-nav-links {
  display: flex;
  align-items: center;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 6px;
}

.gnews-nav-right {
  margin-left: auto;
}

/* Links style */
.gnews-nav-links li a {
  color: rgba(200, 210, 230, 0.85) !important;
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.3px;
  padding: 10px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border-radius: 10px !important;
  white-space: nowrap;
}

.gnews-nav-links li a:hover {
  color: #fff !important;
  background: rgba(212, 175, 55, 0.08) !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Register button highlighted */
.gnews-btn-register {
  background: linear-gradient(135deg, #b8941f 0%, #8a6d10 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

.gnews-btn-register:hover {
  background: linear-gradient(135deg, #d4af37 0%, #a07820 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45) !important;
  color: #ffffff !important;
}


/* Search Box */
.gnews-search-item {
  display: flex;
  align-items: center;
}

.gnews-search-form {
  margin: 0;
}

.gnews-search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  width: 220px;
}

.gnews-search-box:focus-within {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.gnews-search-input {
  width: 100%;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 0.9rem !important;
  box-shadow: none !important;
}

.gnews-search-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.gnews-search-btn:hover {
  background: rgba(212, 175, 55, 0.15) !important;
  color: var(--accent-cyan) !important;
}

/* User Toggle with Avatar Icon */
.gnews-user-toggle i {
  margin-right: 6px;
  color: var(--accent-cyan);
}

/* Dropdown Basic */
.gnews-dropdown {
  position: relative;
}

.gnews-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: rgba(16, 22, 34, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.6) !important;
  list-style: none !important;
  padding: 8px 0 !important;
  min-width: 200px;
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.gnews-dropdown-right {
  left: auto;
  right: 0;
}

.gnews-dropdown-menu li a {
  display: block !important;
  width: 100% !important;
  padding: 10px 20px !important;
  color: var(--text-muted) !important;
  font-size: 0.95rem !important;
  border-radius: 0 !important;
  text-align: left;
}

.gnews-dropdown-menu li a:hover {
  background: rgba(212, 175, 55, 0.08) !important;
  color: var(--accent-cyan) !important;
  padding-left: 24px !important;
}

.gnews-dropdown-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

/* Open State */
.gnews-dropdown.gnews-dd-open .gnews-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Nav badge */
.nav-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 700;
  line-height: 1;
}

/* Hamburger (Desktop: hidden) */
.gnews-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.gnews-hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 992px) {
  .gnews-nav {
    border-radius: 16px !important;
    margin: 10px 12px !important;
    width: calc(100% - 24px) !important;
  }

  .gnews-nav-inner {
    padding: 10px 16px;
    min-height: 58px;
  }

  .gnews-hamburger {
    display: flex;
  }

  /* Hamburger active transformation */
  .gnews-hamburger--open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .gnews-hamburger--open span:nth-child(2) {
    opacity: 0;
  }

  .gnews-hamburger--open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Links Wrap on mobile */
  .gnews-links-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 24, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-top: none;
    border-radius: 0 0 16px 16px;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: 16px;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  }

  .gnews-links-wrap.gnews-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .gnews-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .gnews-nav-links li a {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 12px 14px !important;
  }

  .gnews-nav-right {
    margin-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
  }

  .gnews-search-box {
    width: 100%;
  }

  .gnews-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.02) !important;
    margin-top: 4px;
    padding: 4px 0 !important;
    display: none;
  }

  .gnews-dropdown.gnews-dd-open .gnews-dropdown-menu {
    display: block;
  }

  .gnews-dropdown-menu li a {
    padding-left: 30px !important;
  }
}

/* Action Buttons */
.btn-primary,
.btn-success,
.btn-warning,
.btn-danger,
.btn-info {
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  border: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  text-transform: uppercase;
  font-size: 1.05rem !important;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1e40af 100%) !important;
  color: #fff !important;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35) !important;
}

.btn-success {
  background: linear-gradient(135deg, #00b894 0%, #00d28d 100%) !important;
  color: #fff !important;
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 184, 148, 0.35) !important;
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #fff !important;
}

.btn-warning:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35) !important;
}

.btn-danger {
  background: linear-gradient(135deg, var(--accent-pink) 0%, #b91c1c 100%) !important;
  color: #fff !important;
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35) !important;
}

/* Glassmorphic Form Inputs */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="date"],
select,
textarea,
.form-control {
  background: rgba(255, 255, 255, 0.01) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
  padding: 10px 15px !important;
  height: auto !important;
  min-height: 44px !important;
  transition: all 0.2s ease !important;
}

/* Fix text clipping in select dropdowns */
select,
select.form-control {
  height: 44px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 44px !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus,
.form-control:focus {
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
  outline: none !important;
}

/* Force dark theme for native browser popups (like date picker) */
input,
select,
textarea,
.form-control {
  color-scheme: dark;
}

/* Fix for <select> options having white background with white text */
option {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

/* ========================================================================
   CKEDITOR 5 - DARK MODE INTEGRATION
   ======================================================================== */

/* Contenedor principal */
.ck.ck-editor {
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* Barra de herramientas */
.ck.ck-toolbar {
  background: rgba(10, 14, 24, 0.95) !important;
  border: 1px solid var(--border-color) !important;
  border-bottom-color: rgba(255,255,255,0.05) !important;
  padding: 4px 8px !important;
}

/* Botones toolbar */
.ck.ck-button {
  color: var(--text-muted) !important;
  border-radius: 5px !important;
  transition: all 0.15s ease !important;
}

.ck.ck-button:hover,
.ck.ck-button.ck-on {
  background: rgba(212, 175, 55, 0.12) !important;
  color: var(--accent-cyan) !important;
}

/* Separadores */
.ck.ck-toolbar__separator {
  background: var(--border-color) !important;
}

/* Área de edición */
.ck.ck-editor__main > .ck-editor__editable {
  background: rgba(10, 14, 24, 0.6) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-color) !important;
  border-top: none !important;
  min-height: 350px !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.ck.ck-editor__main > .ck-editor__editable.ck-focused {
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12) !important;
}

/* Dropdowns */
.ck.ck-dropdown__panel,
.ck.ck-list {
  background: rgba(10, 14, 24, 0.97) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important;
}

.ck.ck-list__item .ck-button:hover,
.ck.ck-list__item .ck-button.ck-on {
  background: rgba(212, 175, 55, 0.1) !important;
  color: var(--accent-cyan) !important;
}

/* Balloon / Popover */
.ck.ck-balloon-panel {
  background: rgba(10, 14, 24, 0.97) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important;
}

/* Labels e inputs dentro de balloons */
.ck.ck-labeled-field-view > .ck-labeled-field-view__input-wrapper > .ck-input {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-main) !important;
  border-radius: 6px !important;
}

.ck.ck-label {
  color: var(--text-muted) !important;
}

/* Source editing (vista HTML) */
.ck.ck-source-editing-area textarea {
  background: rgba(10, 14, 24, 0.8) !important;
  color: #a8ff78 !important;
  font-family: 'Courier New', monospace !important;
  font-size: 13px !important;
}



/* Contenedor principal */
.note-editor.note-frame {
  border: 1px solid var(--border-color) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Barra de herramientas */
.note-toolbar {
  background: rgba(10, 14, 24, 0.95) !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 6px 8px !important;
}

/* Botones de la toolbar */
.note-btn {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--text-muted) !important;
  border-radius: 5px !important;
  transition: all 0.15s ease !important;
}

.note-btn:hover,
.note-btn:focus,
.note-btn.active {
  background: rgba(212, 175, 55, 0.12) !important;
  border-color: rgba(212, 175, 55, 0.2) !important;
  color: var(--accent-cyan) !important;
}

/* Área de edición */
.note-editable {
  background: rgba(10, 14, 24, 0.6) !important;
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  min-height: 300px !important;
}

/* Statusbar / resize inferior */
.note-statusbar {
  background: rgba(10, 14, 24, 0.95) !important;
  border-top: 1px solid var(--border-color) !important;
}

/* Dropdowns del editor */
.note-dropdown-menu,
.dropdown-menu {
  background: rgba(10, 14, 24, 0.96) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important;
}

.note-dropdown-item:hover,
.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.1) !important;
  color: var(--accent-cyan) !important;
}

/* Popups (insertar link, imagen, video) */
.note-popover .popover-content,
.note-modal .modal-content {
  background: rgba(10, 14, 24, 0.98) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-main) !important;
}

.note-modal .modal-header {
  border-bottom: 1px solid var(--border-color) !important;
  background: rgba(10, 14, 24, 0.95) !important;
}

.note-modal .modal-footer {
  border-top: 1px solid var(--border-color) !important;
  background: rgba(10, 14, 24, 0.95) !important;
}



/* ========================================================================
   CAROUSEL / HERO BANNER - Rediseño FIX
   ======================================================================== */

.carousel {
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  margin-bottom: 30px !important;
  background: #000 !important;
}

/* Viñeta cinematográfica suave */
.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  z-index: 6;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

.carousel-inner>.item {
  background: #000 !important;
  min-height: 380px !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}



.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
  width: 100% !important;
  height: 100% !important;
  min-height: unset !important;
  max-height: 500px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 auto !important;
  filter: brightness(0.85) saturate(1.1) !important;
}

/* Ajustar el panel para que no tape mucho la imagen */
div.textpromo,
.carousel .textpromo,
.item .textpromo {
  width: 45% !important;
  max-width: 500px !important;
}

/* ========================================================================
   PANEL DE CONTENIDO - FONDO SÓLIDO + GRADIENTE
   ======================================================================== */

div.textpromo,
.carousel .textpromo,
.item .textpromo {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: 52% !important;
  max-width: 580px !important;
  height: 100% !important;
  padding: 40px 45px 85px 45px !important;
  margin: 0 !important;

  background-color: rgba(8, 11, 17, 0.65) !important;
  background-image: linear-gradient(100deg,
      rgba(8, 11, 17, 0.92) 0%,
      rgba(8, 11, 17, 0.85) 50%,
      rgba(8, 11, 17, 0.6) 80%,
      rgba(8, 11, 17, 0) 100%) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: left !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}

/* Acento lateral dorado */
.textpromo::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: linear-gradient(180deg,
      transparent 0%,
      var(--accent-cyan) 30%,
      var(--accent-cyan) 70%,
      transparent 100%);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  border-radius: 0 4px 4px 0;
}

/* Badge "ARTÍCULO DESTACADO" */
.textpromo::before {
  content: "✦ ARTÍCULO DESTACADO";
  display: inline-flex !important;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent-cyan);
  background: linear-gradient(135deg,
      rgba(212, 175, 55, 0.18) 0%,
      rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  width: fit-content;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

/* TÍTULO */
.textpromo b,
.textpromo>b {
  display: block !important;
  font-family: var(--font-display) !important;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.3px !important;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6) !important;
}

/* DESCRIPCIÓN */
.textpromosmall,
span.textpromosmall {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-family: var(--font-body) !important;
  font-size: 0.98rem !important;
  font-weight: 400 !important;
  color: #cbd5e0 !important;
  line-height: 1.65 !important;
  margin-bottom: 0 !important;
  max-width: 100% !important;
}

/* ========================================================================
   INDICADORES - Diseño Sutil (sin contenedor grande)
   ======================================================================== */

ol.carousel-indicators,
.carousel-indicators {
  position: absolute !important;
  bottom: 25px !important;
  left: 55px !important;
  right: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  list-style: none !important;
  text-align: left !important;
  z-index: 20 !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.carousel-indicators li {
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  margin: 0 !important;
  background-color: rgba(255, 255, 255, 0.3) !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  text-indent: -9999px !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-shadow: none !important;
}

.carousel-indicators li:hover {
  background-color: rgba(255, 255, 255, 0.7) !important;
  transform: scale(1.3) !important;
}

.carousel-indicators li.active {
  width: 28px !important;
  height: 8px !important;
  background: linear-gradient(90deg, var(--accent-cyan), #b8941f) !important;
  border-radius: 10px !important;
  margin: 0 !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6) !important;
}

/* ========================================================================
   FLECHAS DE NAVEGACIÓN
   ======================================================================== */

.carousel-control {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 48px !important;
  height: 48px !important;
  background: rgba(8, 11, 17, 0.6) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  opacity: 0 !important;
  text-shadow: none !important;
  z-index: 15 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  background-image: none !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
}

.carousel:hover .carousel-control {
  opacity: 1 !important;
}

.carousel-control.left {
  left: 20px !important;
  right: auto !important;
}

.carousel-control.right {
  right: 20px !important;
  left: auto !important;
}

.carousel-control:hover {
  background: linear-gradient(135deg, var(--accent-cyan), #b8941f) !important;
  border-color: var(--accent-cyan) !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5) !important;
}

.carousel-control:hover .glyphicon,
.carousel-control:hover .icon-prev,
.carousel-control:hover .icon-next {
  color: #0a0e15 !important;
}

.carousel-control .glyphicon,
.carousel-control .icon-prev,
.carousel-control .icon-next {
  position: static !important;
  margin: 0 !important;
  font-size: 18px !important;
  color: #fff !important;
}

/* ========================================================================
   ANIMACIONES
   ======================================================================== */

.carousel-inner>.item.active .textpromo::before {
  animation: slideInFade 0.7s ease 0.2s both;
}

.carousel-inner>.item.active .textpromo b {
  animation: slideInFade 0.7s ease 0.4s both;
}

.carousel-inner>.item.active .textpromosmall {
  animation: slideInFade 0.7s ease 0.6s both;
}

@keyframes slideInFade {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@media (max-width: 992px) {

  div.textpromo,
  .carousel .textpromo,
  .item .textpromo {
    width: 65% !important;
    padding: 40px 35px 80px 40px !important;
  }

  .textpromo b {
    font-size: 1.7rem !important;
  }

  .carousel-indicators {
    left: 40px !important;
  }
}

@media (max-width: 768px) {

  .carousel,
  .carousel-inner {
    border-radius: 14px !important;
  }

  .carousel-inner>.item>img {
    min-height: 320px !important;
  }

  div.textpromo,
  .carousel .textpromo,
  .item .textpromo {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 80% !important;
    padding: 30px 25px 70px 30px !important;
    background-image: linear-gradient(to top,
        rgba(8, 11, 17, 1) 0%,
        rgba(8, 11, 17, 0.95) 60%,
        rgba(8, 11, 17, 0.5) 90%,
        rgba(8, 11, 17, 0) 100%) !important;
    justify-content: flex-end !important;
  }

  .textpromo::after {
    left: 25px;
    top: auto;
    bottom: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan) 0%, transparent 100%);
  }

  .textpromo b {
    font-size: 1.4rem !important;
  }

  .textpromosmall {
    font-size: 0.9rem !important;
    -webkit-line-clamp: 2 !important;
  }

  .carousel-indicators {
    bottom: 18px !important;
    left: 30px !important;
  }

  .carousel-control {
    width: 38px !important;
    height: 38px !important;
    opacity: 1 !important;
  }

  .carousel-control.left {
    left: 12px !important;
  }

  .carousel-control.right {
    right: 12px !important;
  }
}

/* Badges section */
.placas {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)) !important;
  gap: 10px !important;
  justify-items: center;
}

.badgegnews {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 10px !important;
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.badgegnews:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.iconbadge {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* User avatar container */
.usercontenedor {
  background: rgba(255, 255, 255, 0.01) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  padding: 15px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-block;
  margin: 5px;
  width: 120px;
}

.usercontenedor:hover {
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Modern Article Cards */
.articulo-card {
  display: flex !important;
  gap: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--card-shadow);
  text-align: left;
  align-items: stretch;
}

.articulo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.articulo-thumbnail {
  width: 260px;
  align-self: stretch;
  min-height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.articulo-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.articulo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.articulo-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-categoria {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(0, 240, 255, 0.05));
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.tag-game {
  background: linear-gradient(135deg, rgba(189, 0, 255, 0.2), rgba(189, 0, 255, 0.05));
  color: #d883ff;
  border: 1px solid rgba(189, 0, 255, 0.3);
}

.articulo-likes {
  margin-left: auto;
  display: flex;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-muted);
}

.articulo-likes span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.articulo-likes i {
  font-size: 1.15rem;
}

.articulo-title {
  font-family: var(--font-display) !important;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.35;
  text-align: left;
  letter-spacing: 0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.articulo-title a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.articulo-title a:hover {
  color: var(--accent-cyan) !important;
}

.articulo-summary {
  font-size: 1.05rem;
  color: #a0aec0;
  margin: 0 0 12px 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

.articulo-footer {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
}

.articulo-footer strong {
  color: var(--text-main);
}

/* Profiles */
.profile-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--card-shadow);
  position: relative;
}

.profile-avatar-container {
  background: rgba(0, 240, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.profile-stat-card {
  background: rgba(0, 240, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 15px;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

/* Staff/Equipo cards */
.staff-group-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border-left: 4px solid var(--accent-cyan);
  padding-left: 12px;
  margin: 25px 0 15px 0;
  letter-spacing: 1px;
}

.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.staff-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* Store / Tienda table & items */
.store-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-item:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.table {
  color: var(--text-main) !important;
  font-family: var(--font-display);
}

.table th {
  border-bottom: 2px solid var(--border-color) !important;
  color: var(--accent-cyan) !important;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.table td {
  border-top: 1px solid var(--border-color) !important;
  vertical-align: middle !important;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: rgba(0, 240, 255, 0.01) !important;
}

.table-striped>tbody>tr:nth-of-type(even) {
  background-color: transparent !important;
}

.table-hover>tbody>tr:hover {
  background-color: rgba(0, 240, 255, 0.04) !important;
}

/* Comments block */
.comments-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.comments-list li {
  margin-bottom: 20px;
}

.comment-main-level {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  background: rgba(0, 240, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.comment-avatar img {
  max-width: 100%;
  height: auto;
}

.comment-box {
  flex-grow: 1;
  background: rgba(0, 240, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  position: relative;
  min-width: 0;
}

.comment-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 240, 255, 0.01) 50%);
  background-size: 100% 4px;
  pointer-events: none;
}

.comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.comment-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0;
  color: var(--accent-cyan);
}

.comment-name a {
  color: var(--accent-cyan) !important;
  text-decoration: none;
}

.comment-content {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.5;
  word-wrap: break-word;
}

/* Settings navigation tabs */
.nav-tabs {
  border-bottom: 1px solid var(--border-color) !important;
}

.nav-tabs>li>a {
  border: none !important;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-muted) !important;
  font-weight: 500;
  border-radius: 4px 4px 0 0 !important;
  letter-spacing: 0.5px;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
  background: rgba(0, 240, 255, 0.05) !important;
  color: var(--accent-cyan) !important;
  border-bottom: 2px solid var(--accent-cyan) !important;
}

/* Footer modern layout */
.footer-modern {
  background: #07080b;
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.footer-modern a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-modern a:hover {
  color: var(--accent-cyan);
}

@media (max-width: 768px) {
  .articulo-card {
    flex-direction: column;
  }

  .articulo-thumbnail {
    width: 100%;
    height: 160px;
  }
}

/* Redesign Header Components: Flags & Radio Player */

/* Flag language selector styles */
.idioma {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  overflow: visible !important;
  display: inline-block !important;
}

.idioma:hover {
  background: transparent !important;
  box-shadow: none !important;
}

.idioma img {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  cursor: pointer !important;
}

.idioma img:hover {
  transform: scale(1.15) translateY(-1px) !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25) !important;
}

/* Header Components: Glassmorphic Flags & Radio Player */
.flags-container {
  position: static;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  background: rgba(15, 15, 25, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.radio-player-widget {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  background: rgba(15, 15, 25, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  min-width: 0;
  flex-shrink: 1;
}

/* Live pulse dot */
.radio-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.radio-live-dot.active {
  background: #ff4444;
  box-shadow: 0 0 6px rgba(255, 68, 68, 0.6);
  animation: radio-pulse 1.5s ease-in-out infinite;
}

@keyframes radio-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px rgba(255, 68, 68, 0.6); }
  50% { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 12px rgba(255, 68, 68, 0.4); }
}

/* Station name */
.radio-station-name {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 130px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.1 !important;
  display: block !important;
}

/* Radio info container (station name + now playing) */
.radio-info {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 130px !important;
  overflow: hidden !important;
  flex-shrink: 1 !important;
  flex-grow: 1 !important;
}

.radio-now-playing-wrap {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 130px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  height: 14px !important;
  line-height: 1.1 !important;
}

.radio-now-playing-ticker {
  display: inline-block !important;
  white-space: nowrap !important;
  will-change: transform !important;
}

/* Now Playing text */
.radio-now-playing {
  display: inline-block !important;
  color: var(--accent-cyan) !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
  width: auto !important;
  max-width: none !important;
}

@keyframes radioTickerPingPong {
  0%   { transform: translateX(0px); }
  15%  { transform: translateX(0px); }
  85%  { transform: translateX(var(--ticker-scroll-x, -80px)); }
  100% { transform: translateX(var(--ticker-scroll-x, -80px)); }
}


.radio-eq {
  display: none !important;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.radio-eq.active {
  display: flex !important;
  opacity: 1;
}


.radio-eq-bar {
  width: 3px;
  background: var(--accent-cyan);
  border-radius: 1px;
  height: 4px;
  transition: height 0.1s ease;
}

.radio-eq.active .radio-eq-bar:nth-child(1) {
  animation: eq-bar-1 0.45s ease-in-out infinite alternate;
}
.radio-eq.active .radio-eq-bar:nth-child(2) {
  animation: eq-bar-2 0.55s ease-in-out infinite alternate;
}
.radio-eq.active .radio-eq-bar:nth-child(3) {
  animation: eq-bar-3 0.4s ease-in-out infinite alternate;
}

@keyframes eq-bar-1 {
  0% { height: 4px; }
  100% { height: 14px; }
}
@keyframes eq-bar-2 {
  0% { height: 8px; }
  100% { height: 6px; }
}
@keyframes eq-bar-3 {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* Radio buttons (play/pause and volume) */
.radio-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  padding: 0 !important;
  outline: none !important;
  color: white;
  flex-shrink: 0;
}

.radio-btn:hover {
  background: var(--accent-cyan) !important;
  border-color: var(--accent-cyan) !important;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  color: #000;
}

.radio-btn svg {
  display: block;
  pointer-events: none;
}

.radio-btn:hover svg {
  fill: #000;
}



/* Legacy button img rules removed — now using SVG inline icons */


/* Glassmorphic Premium Widget Cards */
.widget-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(20, 25, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid #48D1CC;
  /* Default left border accent */
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.widget-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.widget-card:hover {
  background: rgba(30, 35, 45, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(72, 209, 204, 0.1);
}

.widget-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.05);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.widget-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  text-align: left;
  z-index: 1;
}

.widget-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.widget-card .btn {
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #48D1CC, #20B2AA);
  border: none;
  color: #fff;
  box-shadow: 0 2px 10px rgba(72, 209, 204, 0.3);
  transition: all 0.2s ease;
  z-index: 1;
}

.widget-card .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(72, 209, 204, 0.5);
}

.widget-status {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status-online {
  color: var(--accent-green) !important;
  font-weight: 600;
}

.status-pending {
  color: #ffa500 !important;
  font-weight: 600;
}

.status-offline {
  color: var(--accent-pink) !important;
  font-weight: 600;
}

/* Glassmorphic Visitors Counter */
.contador-visitas {
  position: static !important;
  transform: none !important;
  top: auto !important;
  right: auto !important;
  z-index: auto;
  background: rgba(15, 15, 25, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 5px 14px 5px 8px !important;
  border-radius: 30px !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--card-shadow) !important;
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 500 !important;
  margin-top: 6px;
  white-space: nowrap;
}

.contador-visitas b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 50px;
  background: var(--accent-cyan) !important;
  color: #0a0e15 !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  line-height: 1;
}


/* Override old Gnews CMS circular logo styles */
.logo,
div.logo {
  position: relative !important;
  background: none !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  padding: 25px 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
}


img.logo {
  height: auto !important;
  max-height: 95px !important;
  width: auto !important;
  display: inline-block !important;
}

/* User Profile/Avatar Overrides */
.userperfileindex {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  margin: 0 auto 10px auto !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.userperfileindex img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

.nameuserperfil {
  font-family: var(--font-display) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  background: rgba(59, 130, 246, 0.15) !important;
  border: 1px solid rgba(59, 130, 246, 0.25) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  display: inline-block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.nameuserperfil a {
  text-decoration: none !important;
}

.panel-users {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  justify-content: center !important;
}

/* Profile specific avatar overrides */
.userperfileindex1 {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 3px solid rgba(255, 255, 255, 0.15) !important;
  margin: 0 auto !important;
  box-shadow: var(--card-shadow) !important;
}

.userperfileindex1 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

/* Stylized Logo Text Styles */
.logo-text {
  font-family: var(--font-display) !important;
  font-size: 3.2rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  text-transform: uppercase !important;
  display: inline-block;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
}

.logo-text:hover {
  transform: scale(1.03);
}

.logo-text .gold {
  color: var(--accent-cyan) !important;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.45) !important;
}

.logo-text .white {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important;
}

/* Adjust navbar brand display - Reset Gnews circle container style */
.navbar-brand {
  display: flex !important;
  align-items: center !important;
  height: auto !important;
  width: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  padding: 15px 15px !important;
  line-height: normal !important;
}

/* ========================================================================
   NAVBAR DESKTOP (≥768px) — Links en fila horizontal
   ======================================================================== */
@media (min-width: 768px) {
  .navbar-nav {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .navbar-default .navbar-nav {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    float: none !important;
  }

  .navbar-default .navbar-nav>li {
    float: none !important;
    display: flex !important;
    align-items: center !important;
  }

  .navbar-default .navbar-nav.navbar-right {
    margin-right: 0 !important;
    margin-left: auto !important;
    justify-content: flex-end;
    gap: 4px;
  }

  .navbar-default .navbar-nav.navbar-right>li>a {
    min-height: 44px !important;
    padding: 0 12px !important;
  }
}

/* ========================================================================
   NAVBAR MOBILE (≤767px) — Links en columna, siempre visibles
   ======================================================================== */
@media (max-width: 767px) {
  .navbar-default {
    border-radius: 12px !important;
    padding: 8px 12px !important;
    margin: 8px auto !important;
    width: calc(100% - 16px) !important;
    min-height: auto !important;
  }

  /* En mobile el navbar-shell apila verticalmente */
  .navbar-default .navbar-shell {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    min-height: auto !important;
  }

  /* Header con solo el logo */
  .navbar-default .navbar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  }

  /* Collapse abierto en columna */
  .navbar-default .navbar-collapse {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    padding: 6px 0 !important;
  }

  /* Lista de links en columna */
  .navbar-default .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 0 !important;
    float: none !important;
    padding: 4px 0 !important;
  }

  .navbar-default .navbar-nav>li {
    display: flex !important;
    float: none !important;
  }

  .navbar-default .navbar-nav>li>a {
    padding: 8px 12px !important;
    height: auto !important;
    min-height: auto !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
    margin: 0 !important;
    border-bottom: none !important;
  }

  .navbar-default .navbar-nav.navbar-right {
    margin: 0 !important;
    float: none !important;
    justify-content: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4px !important;
  }

  .nav-search-item {
    height: auto !important;
    padding: 6px 4px !important;
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-search-form {
    width: 100%;
  }

  .nav-search-box {
    width: 100% !important;
    height: 36px;
  }

  .nav-search-input {
    min-height: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
  }

  .nav-search-button {
    width: 40px;
    height: 36px;
  }

  /* Dropdown en mobile — estático */
  .navbar-default .dropdown-menu {
    position: static !important;
    float: none !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    margin: 4px 0 0 0 !important;
    padding: 4px 0 !important;
    min-width: 160px;
  }

  .navbar-default .dropdown-menu>li>a {
    padding: 8px 16px !important;
    color: rgba(180, 190, 210, 0.8) !important;
    font-size: 0.85rem !important;
  }
}


.banner-top {
  background-image: linear-gradient(to right, rgba(8, 11, 17, 0.9) 0%, rgba(8, 11, 17, 0.4) 50%, rgba(8, 11, 17, 0.9) 100%), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2070&auto=format&fit=crop') !important;
  background-size: cover !important;
  background-position: center center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-top .container {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  padding: 10px 24px !important;
  gap: 16px !important;
  min-height: 70px;
}

/* Left group: flags + radio side by side */
.banner-top .container>.flags-container,
.banner-top .container>.radio-player-widget {
  grid-column: auto;
}

/* Wrap flags + radio in a flex row — they are siblings so we use a pseudo-container trick via order */
.banner-top .flags-container {
  order: 1;
}

.banner-top .radio-player-widget {
  order: 2;
}

.banner-top .visible-desktop {
  order: 3;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  grid-column: 2;
}

/* Revert to flex for banner container and group left elements */
.banner-top .container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  padding: 10px 24px !important;
  gap: 12px !important;
}

.banner-top .visible-desktop {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  order: 2;
}

.banner-top .flags-container {
  order: 1;
  flex-shrink: 0;
}

.banner-top .radio-player-widget {
  order: 3;
  flex-shrink: 1;
  min-width: 0;
}

.banner-top .logo,
.banner-top div.logo {
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}


/* Navbar brand: logo principal */
.navbar-default .navbar-brand {
  display: flex !important;
  align-items: center !important;
  height: 68px !important;
  padding: 0 18px 0 4px !important;
  text-decoration: none !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.5px;
  font-family: var(--font-display) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  line-height: 1 !important;
  flex-shrink: 0;
}

.navbar-default .navbar-brand span[style*="ffcc00"],
.navbar-default .navbar-brand span[style*="color"] {
  color: #d4af37 !important;
}

/* --- Modern Article Styling --- */
.article-panel {
  border: none !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  background: var(--bg-secondary) !important;
}

.article-header {
  padding: 20px 25px;
  background: linear-gradient(135deg, rgba(20, 26, 33, 0.95), rgba(28, 38, 50, 0.95)) !important;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.article-header .panel-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 26px !important;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.meta-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.meta-item i {
  font-size: 16px;
  color: var(--accent-color);
}

.meta-actions {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.like-form {
  margin: 0;
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.btn-like,
.btn-dislike {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  -webkit-user-select: none;
  user-select: none;
}

.btn-like:hover,
.like-form.disabled .btn-like {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.btn-dislike:hover,
.like-form.disabled .btn-dislike {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

.btn-like i,
.btn-dislike i {
  font-size: 18px;
  pointer-events: none;
}


.article-content {
  padding: 30px 25px;
  font-family: 'Outfit', sans-serif;
  color: var(--text-secondary);
  line-height: 1.7;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

.article-content * {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin: 15px 0;
}

/* ========================================================================
   GLOBAL HOUSEKEEPING (HK) REDESIGN & BOOTSTRAP OVERRIDES
   ======================================================================== */

/* HK Navbar */
.navbar-admin {
  position: relative;
  z-index: 9999;
  background: var(--bg-card) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  min-height: 70px;
}

.navbar-admin .navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent-cyan) !important;
  line-height: 38px;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.navbar-admin .navbar-nav>li>a {
  color: #a0aec0 !important;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  padding-top: 25px;
  padding-bottom: 25px;
  transition: all 0.3s ease;
  background: transparent !important;
}

.navbar-admin .navbar-nav>li>a:hover,
.navbar-admin .navbar-nav>li.open>a,
.navbar-admin .navbar-nav>li.active>a {
  color: var(--accent-cyan) !important;
  background: transparent !important;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

/* HK Navbar Dropdowns */
.navbar-admin .dropdown-menu {
  background: var(--bg-card) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
  padding: 10px 0 !important;
  margin-top: 10px !important;
  min-width: 160px;
}

.navbar-admin .dropdown-menu>li>a {
  color: #a0aec0 !important;
  padding: 12px 25px !important;
  font-family: var(--font-body);
  font-weight: 500;
  transition: all 0.2s ease;
  background: transparent !important;
}

.navbar-admin .dropdown-menu>li>a:hover {
  background: rgba(0, 240, 255, 0.05) !important;
  color: var(--accent-cyan) !important;
  padding-left: 30px !important;
}

/* HK Panels */
.panel {
  background: var(--bg-card) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  box-shadow: var(--card-shadow) !important;
  overflow: hidden;
  margin-bottom: 25px;
}

.panel-heading {
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 15px 20px !important;
  border-radius: 12px 12px 0 0 !important;
}

.panel-heading.blue,
.panel-heading.green,
.panel-heading.red,
.panel-heading.yellow {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), transparent) !important;
}

.panel-title {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.panel-body {
  color: var(--text-muted) !important;
  padding: 20px !important;
}

/* HK Tables */
table.table {
  color: var(--text-muted);
  margin-bottom: 0 !important;
}

table.table>thead>tr>th {
  border-bottom: 1px solid var(--border-color) !important;
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.2);
}

table.table>tbody>tr>td {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  vertical-align: middle !important;
}

table.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

table.table-hover>tbody>tr:hover {
  background-color: rgba(0, 240, 255, 0.05) !important;
}

/* HK Forms */
.form-control {
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid var(--border-color) !important;
  color: #fff !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2) !important;
  outline: none;
}

label {
  color: #a0aec0 !important;
  font-weight: 500 !important;
}

/* HK Wells & Misc */
.well {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
}

/* Modern Comments Section Redesign */
.modern-badge-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  margin-right: 12px;
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
  vertical-align: middle;
}

.modern-badge-container i {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-comment-input-area {
  display: flex;
  gap: 15px;
  background: rgba(16, 22, 34, 0.45);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
}

.modern-avatar-col {
  flex-shrink: 0;
}

.modern-user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
  object-fit: cover;
  background: rgba(8, 11, 17, 0.8);
}

.modern-form-col {
  flex-grow: 1;
  min-width: 0;
}

.modern-input-wrapper {
  background: rgba(8, 11, 17, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-input-wrapper:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
  background: rgba(8, 11, 17, 0.85);
}

.modern-input-header {
  background: rgba(212, 175, 55, 0.04);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding: 8px 15px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.modern-textarea {
  width: 100%;
  height: 110px;
  background: transparent;
  border: none !important;
  padding: 12px 15px;
  color: var(--text-main) !important;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  resize: vertical;
  outline: none;
}

.modern-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.modern-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.modern-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #b89020 100%);
  color: #080b11 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-btn-submit i {
  font-size: 18px;
}

.modern-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  filter: brightness(1.1);
}

.modern-btn-submit:active {
  transform: translateY(0);
}

.modern-comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  list-style: none;
}

.modern-comment-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.modern-comment-card:hover {
  transform: translateX(4px);
}

.modern-comment-avatar-wrapper {
  flex-shrink: 0;
}

.modern-comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  transition: all 0.25s ease;
  background: rgba(16, 22, 34, 0.8);
}

.modern-comment-card:hover .modern-comment-avatar {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.modern-comment-bubble {
  flex-grow: 1;
  background: rgba(16, 22, 34, 0.35);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px 18px;
  min-width: 0;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.modern-comment-card:hover .modern-comment-bubble {
  border-color: rgba(212, 175, 55, 0.15);
  background: rgba(16, 22, 34, 0.5);
}

.modern-comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.modern-comment-author-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.modern-comment-author-name a {
  color: var(--accent-cyan) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.modern-comment-author-name a:hover {
  color: #fff !important;
}

.modern-comment-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-author {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.modern-comment-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.6;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.modern-no-comments {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  background: rgba(16, 22, 34, 0.2);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
}

.modern-no-comments i {
  font-size: 36px;
  color: rgba(212, 175, 55, 0.3);
  margin-bottom: 10px;
  display: block;
}

.modern-no-comments p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
}

.modern-comments-login-prompt {
  text-align: center;
  padding: 30px 20px;
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 12px;
  color: var(--text-main);
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-comments-login-prompt i {
  font-size: 32px;
  color: var(--accent-pink);
  margin-bottom: 12px;
  display: block;
}

.modern-comments-login-prompt h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-pink);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-comments-login-prompt p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
}

.modern-comments-login-prompt .prompt-link {
  color: var(--accent-cyan) !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-cyan);
  transition: all 0.2s ease;
}

.modern-comments-login-prompt .prompt-link:hover {
  color: #fff !important;
  border-bottom-style: solid;
}

/* Fix width for the comment form under flex layout */
.modern-form-col form {
  width: 100%;
}

/* Ensure comments are left-aligned regardless of body center alignment */
.modern-comment-bubble,
.modern-comment-text {
  text-align: left !important;
}

/* =========================================================
   FURNI / CATALOG — Premium Redesign
   ========================================================= */

/* Page header */
.furni-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 32px 0 20px;
}

.furni-header-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-cyan), rgba(212, 175, 55, 0.4));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.furni-header h1 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.02em;
}

.furni-header h1 span {
  color: var(--accent-cyan);
}

/* Section tabs */
.furni-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.furni-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.06);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.furni-tab:hover,
.furni-tab.active {
  background: linear-gradient(135deg, var(--accent-cyan), rgba(212, 175, 55, 0.7));
  border-color: var(--accent-cyan);
  color: #000;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
  transform: translateY(-1px);
}

.furni-tab.tab-search {
  margin-left: auto;
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-blue);
}

.furni-tab.tab-search:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

/* Grid of furni cards */
.furni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

/* Individual furni card — scoped to furni page */
.furni-catalog-page .itemBox {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.12) !important;
  border-radius: 14px !important;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding: 0 !important;
  min-height: 190px;
  background-color: rgba(16, 22, 34, 0.9) !important;
}

.furni-catalog-page .itemBox:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.12) !important;
}

/* Name bar at top */
.furni-catalog-page .itemName {
  width: 100%;
  padding: 10px 10px 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  flex-shrink: 0;
}

/* Furni image area */
.furni-catalog-page .itemImage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  width: 100%;
}

.furni-catalog-page .itemImage img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  display: block;
  image-rendering: pixelated;
}

/* Price badge at bottom */
.furni-catalog-page .itemPrice {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  flex-shrink: 0;
}

.furni-catalog-page .itemPrice .icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

.iconR {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.03em;
}

/* Loader */
#loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  min-height: 80px;
}

/* Pagination — override Bootstrap pills */
.furni-pagination-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0 8px;
}

.furni-pagination-wrap .pagination {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.furni-pagination-wrap .pagination li a,
.furni-pagination-wrap .pagination li span a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.05);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}

.furni-pagination-wrap .pagination li.active a,
.furni-pagination-wrap .pagination li a:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #000;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.furni-pagination-wrap .pagination li.disabled a,
.furni-pagination-wrap .pagination li.disabled span a {
  opacity: 0.3;
  pointer-events: none;
}

/* Outer div — scoped to furni page only */
.furni-catalog-page .outer_div {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  align-items: start;
}

/* Pagination wrapper inside outer_div */
.furni-catalog-page .outer_div>.table-pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

/* Shimmer on hover for premium feel */
.furni-catalog-page .itemBox::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0) 40%, rgba(212, 175, 55, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  border-radius: 14px;
}

.furni-catalog-page .itemBox:hover::after {
  opacity: 1;
}

/* =========================================================
   NEWS CATEGORY FILTER PANEL — Sidebar
   ========================================================= */

/* Category pill buttons */
.news-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 4px;
}

.news-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(220, 225, 240, 0.9);
  font-size: 0.82rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.news-cat-btn:hover,
.news-cat-btn.active-cat {
  background: linear-gradient(135deg, var(--accent-cyan), rgba(212, 175, 55, 0.8));
  border-color: transparent;
  color: #0a0e15 !important;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

.cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 18px;
  color: inherit;
}


/* Recent news mini list */
.news-recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.news-recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.18s ease;
}

.news-recent-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(212, 175, 55, 0.3);
  text-decoration: none;
  transform: translateX(3px);
}

.news-recent-thumb {
  width: 62px;
  height: 52px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.news-recent-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.news-recent-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-recent-title {
  font-size: 0.88rem;
  color: rgba(220, 228, 245, 0.95);
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-recent-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}




/* ========================================================================
   PREMIUM MOBILE REDESIGN - Profesional & Limpio (CONSOLIDADO)
   ======================================================================== */

@media (max-width: 767px) {

  /* ---------- BASE ---------- */
  body {
    background-attachment: scroll !important;
  }

  html {
    font-size: 14px !important;
  }

  body .container {
    padding: 0 14px !important;
    max-width: 100% !important;
  }

  /* ============================================
     1. TOP UTILITY BAR (Banderas + Radio)
     ============================================ */
  body .banner-top {
    background: linear-gradient(180deg, rgba(8, 11, 17, 0.95) 0%, rgba(8, 11, 17, 0.85) 100%) !important;
    background-image: none !important;
    min-height: auto !important;
    height: auto !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.4) !important;
  }

  body .banner-top .container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Ocultar logos del banner */
  body .banner-top .logo,
  body .banner-top div.logo,
  body .banner-top .logo-text,
  body .banner-top img.logo {
    display: none !important;
  }

  /* Banderas en móvil - minimal pill */
  body .flags-container {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 100px !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px) !important;
    flex-shrink: 0 !important;
  }

  body .flags-container .idioma img {
    width: 19px !important;
    height: 19px !important;
    border: none !important;
  }

  /* Radio Player - Compact Pill in Top Header (mobile) */
  body .radio-player-widget {
    position: relative !important;
    transform: none !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: rgba(15, 15, 25, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 100px !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px) !important;
    max-width: 180px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }

  body .radio-info {
    width: auto !important;
    min-width: 0 !important;
    max-width: 95px !important;
    overflow: hidden !important;
    flex-shrink: 1 !important;
    flex-grow: 1 !important;
  }

  body .radio-station-name,
  body .radio-now-playing-wrap {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 95px !important;
    overflow: hidden !important;
  }

  body .radio-station-name {
    font-size: 9.5px !important;
  }

  body .radio-now-playing {
    font-size: 8.5px !important;
  }

  body .radio-btn {
    width: 24px !important;
    height: 24px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: none !important;
    flex-shrink: 0 !important;
  }

  body .radio-btn svg {
    width: 12px !important;
    height: 12px !important;
  }

  body .radio-eq {
    height: 10px !important;
  }



  /* ============================================
     2. NAVBAR - Limpio y bien alineado
     ============================================ */
  body .navbar-default {
    margin: 12px 12px !important;
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    border-radius: 16px !important;
    min-height: 58px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    background: rgba(16, 22, 34, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  }

  body .navbar-default .navbar-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  body .navbar-brand {
    order: -1 !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
  }

  body .navbar-brand .logo-text {
    font-size: 1.55rem !important;
    line-height: 1 !important;
  }

  body .navbar-default .navbar-toggle {
    order: 1 !important;
    margin: 0 !important;
    float: none !important;
    padding: 9px 11px !important;
    background: rgba(212, 175, 55, 0.08) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
  }

  body .navbar-default .navbar-toggle:hover,
  body .navbar-default .navbar-toggle:focus,
  body .navbar-default .navbar-toggle:active {
    background: rgba(212, 175, 55, 0.18) !important;
    border-color: var(--accent-cyan) !important;
  }

  body .navbar-default .navbar-toggle .icon-bar {
    background-color: var(--accent-cyan) !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 2px !important;
  }

  body .navbar-default .navbar-toggle .icon-bar+.icon-bar {
    margin-top: 4px !important;
  }

  /* Menú desplegable elegante */
  body .navbar-default .navbar-collapse {
    border: none !important;
    box-shadow: none !important;
    margin: 0 -16px !important;
    padding: 10px 16px 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    margin-top: 8px !important;
  }

  body .navbar-default .navbar-nav {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  body .navbar-default .navbar-nav>li {
    width: 100% !important;
    float: none !important;
  }

  body .navbar-default .navbar-nav>li>a {
    padding: 12px 14px !important;
    border-radius: 10px !important;
    margin: 0 !important;
    min-height: 44px !important;
    font-size: 0.95rem !important;
    justify-content: flex-start !important;
    color: var(--text-muted) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body .navbar-default .navbar-nav>li.active>a,
  body .navbar-default .navbar-nav>li>a:hover {
    background: rgba(212, 175, 55, 0.08) !important;
    color: var(--accent-cyan) !important;
    box-shadow: none !important;
  }

  body .navbar-default .navbar-nav.navbar-right {
    margin: 8px 0 0 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  /* Caja de búsqueda en menú móvil */
  body .nav-search-item {
    width: 100% !important;
    padding: 8px 0 !important;
    margin-top: 4px !important;
  }

  body .nav-search-form,
  body .nav-search-box {
    width: 100% !important;
  }

  /* ============================================
     3. LAYOUT PRINCIPAL - Contenido primero, Sidebar después
     ============================================ */

  body .row>.col-md-8,
  body .col-md-8 {
    order: 1 !important;
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
  }

  body .row>.col-md-4,
  body .col-md-4 {
    order: 2 !important;
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
  }

  /* ============================================
     4. PANELES - Estilo limpio
     ============================================ */
  body .panel {
    border-radius: 14px !important;
    margin-bottom: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  body .panel-heading {
    padding: 14px 16px !important;
  }

  body .panel-title {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0.8px !important;
  }

  body .panel-body {
    padding: 16px !important;
  }

  /* ============================================
     5. NUEVOS USUARIOS - Cuadrícula de 3 columnas
     ============================================ */

  body .usercontenedor {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
  }

  body .usercontenedor:hover {
    background: rgba(212, 175, 55, 0.05) !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
    transform: translateY(-2px) !important;
  }

  body .userperfileindex {
    width: 46px !important;
    height: 46px !important;
    margin: 0 auto 6px auto !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
  }

  body .nameuserperfil {
    font-size: 0.66rem !important;
    padding: 3px 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    text-align: center !important;
    box-sizing: border-box !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    background: rgba(59, 130, 246, 0.1) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
  }

  /* ============================================
     6. ARTÍCULOS / CARDS - Diseño premium móvil
     ============================================ */
  body .articulo-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(16, 22, 34, 0.7) !important;
    transition: all 0.25s ease !important;
  }

  body .articulo-card:hover {
    border-color: rgba(212, 175, 55, 0.2) !important;
    transform: translateY(-2px) !important;
  }

  body .articulo-thumbnail {
    width: 100% !important;
    height: 180px !important;
    min-height: 180px !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  body .articulo-content {
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  body .articulo-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
  }

  body .articulo-tag {
    font-size: 0.65rem !important;
    padding: 3px 9px !important;
    border-radius: 5px !important;
  }

  body .articulo-likes {
    margin-left: auto !important;
    gap: 10px !important;
    font-size: 0.8rem !important;
  }

  body .articulo-likes i {
    font-size: 0.95rem !important;
  }

  body .articulo-title {
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    -webkit-line-clamp: 2 !important;
    font-weight: 700 !important;
  }

  body .articulo-summary {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    -webkit-line-clamp: 2 !important;
    color: #94a3b8 !important;
  }

  body .articulo-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    font-size: 0.72rem !important;
    padding-top: 10px !important;
    margin-top: 2px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  /* ============================================
     7. CARRUSEL HERO - Adaptado a móvil
     ============================================ */
  body .carousel {
    border-radius: 14px !important;
    margin-bottom: 16px !important;
  }

  body .carousel-inner>.item {
    min-height: 280px !important;
  }

  body .carousel-inner>.item>img {
    min-height: 280px !important;
    max-height: 360px !important;
  }

  body div.textpromo,
  body .carousel .textpromo {
    padding: 20px 18px 55px 22px !important;
  }

  body .textpromo::before {
    font-size: 0.6rem !important;
    padding: 4px 10px !important;
    margin-bottom: 12px !important;
  }

  body .textpromo b {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
  }

  body .textpromosmall {
    font-size: 0.8rem !important;
    -webkit-line-clamp: 2 !important;
    line-height: 1.5 !important;
  }

  body .carousel-indicators {
    bottom: 16px !important;
    left: 22px !important;
    gap: 6px !important;
  }

  body .carousel-indicators li {
    width: 6px !important;
    height: 6px !important;
  }

  body .carousel-indicators li.active {
    width: 22px !important;
    height: 6px !important;
  }

  body .carousel-control {
    width: 34px !important;
    height: 34px !important;
    opacity: 0.85 !important;
  }

  /* ============================================
     8. CONTADOR DE VISITAS - Oculto en móvil
     ============================================ */
  body .contador-visitas {
    display: none !important;
  }

  /* ============================================
     9. FOOTER (Centrado Simétrico)
     ============================================ */
  body footer,
  body .footer-modern,
  body [class*="footer"] {
    text-align: center !important;
    padding: 35px 15px !important;
    background: #06080c !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  body footer .row,
  body .footer-modern .row,
  body [class*="footer"] .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
  }

  body footer [class*="col-"],
  body .footer-modern [class*="col-"],
  body [class*="footer"] [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }

  body footer .logo-text,
  body .footer-modern .logo-text,
  body [class*="footer"] .logo-text {
    font-size: 2.2rem !important;
    display: inline-block !important;
    margin: 0 auto 10px auto !important;
  }
}



/* ============================================
   Pantallas extra pequeñas (< 380px)
   ============================================ */
@media (max-width: 380px) {
  body .navbar-brand .logo-text {
    font-size: 1.4rem !important;
  }

  body .userperfileindex {
    width: 42px !important;
    height: 42px !important;
  }

  body .nameuserperfil {
    font-size: 0.62rem !important;
  }

  body .articulo-thumbnail {
    height: 160px !important;
    min-height: 160px !important;
  }

  body .articulo-title {
    font-size: 1rem !important;
  }
}

/* ============================================================
   OVERRIDE FINAL: Botones like/dislike siempre clickeables
   (debe estar al final para ganar a cualquier otra regla)
   ============================================================ */
body .article-header .meta-actions,
body .article-header .like-form {
  position: relative !important;
  z-index: 50 !important;
  pointer-events: auto !important;
  cursor: auto !important;
}

body .article-header .btn-like,
body .article-header .btn-dislike,
body .article-header button[name="megusta"],
body .article-header button[name="no_megusta"] {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 50 !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

body .article-header .panel-title,
body .article-header h1 {
  cursor: text;
  user-select: text;
  pointer-events: auto;
}
.gnews-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #31C4A5 0%, #1e8770 100%);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    margin-right: 14px;
    box-shadow: 0 4px 12px rgba(49, 196, 165, 0.4);
    flex-shrink: 0;
}
.gnews-badge-icon svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    stroke-width: 2.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
