/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 =========================================================
 
*/
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
  border-top: none !important;
}

a:focus, a:hover {
  color: inherit !important;
  text-decoration: none !important;
}

.form-control {
background: #fafafa;
border: 1px solid #e3e3e3;
color: #666;
}
.form-control:focus { border: 1px solid #ccc; }

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding { padding: 0 !important; margin: 0 !important; }

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
.vcenter { display: inline-block; vertical-align: middle; float: none; }

.thumbnail { background-color: #f1f1f1; border: 1px solid #e3e3e3; }
a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active { border-color: #ff0000; }

.btn-primary {
  background: linear-gradient(to right, #2C4826 35%, #A1291D 100%);
    border: 2px solid #282111;
    color: #F5F3EF;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 13px;
    padding: 6px 16px;
    transition: all 0.3s 
ease;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    border: 2px solid #C2A878;
}

.form-horizontal .control-label { text-align: left !important; }

/* =========================================================
 HOME: Guías — texto IZQ + imagen/LOGO DER (cuadro fijo, centrado vertical)
 ========================================================= */

.home-guides-block { margin-top: 16px; clear: both; }

.guides-grid {
display: grid;
grid-template-columns: 1fr; /* 2 columnas por defecto */
gap: 14px;
}

/* En mobile (por ejemplo, pantallas menores a 768px) */
@media (max-width: 768px) {
    .guides-grid {
        grid-template-columns: 1fr; /* Cambia a 1 columna */
    }
}
.guides-grid .guide-entry,
.guide-single .guide-entry {
    border-radius: 8px;
    background: #1A150C;
    
    /* Reserva de columna derecha para que el texto no choque */
    padding: 16px;
    padding-right: calc(var(--guide-media-w) + 16px);
    
    /* El bloque al menos tan alto como el cuadro (evita desbordes) */
    min-height: var(--guide-media-h);
    
    position: relative;
    overflow: hidden; /* seguridad: nada se sale */
}

/* >>> NUEVO: cuando NO hay imagen, usar todo el ancho <<< */
.guides-grid .guide-entry.no-media,
.guide-single .guide-entry.no-media {
    margin-top: 12px;
    padding: 16px;   /* sin columna reservada */
    min-height: 0;         /* nada de altura mínima */
}

/* Separación entre guías si no hay grid */
.guide-entry + .guide-entry {
    margin-top: 12px;
    padding: 16px;
}
.guide-entry::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 5px;
    
    /* Gradiente desde abajo hacia arriba */
    background: linear-gradient(
      to top,
      #8A8575 0%,        /* color fuerte en la parte de abajo */
      rgba(138,133,117,0.8) 20%,  /* sube un poco por los lados */
      transparent 50%    /* se difumina hacia el centro */
    );
    
    /* Máscara para que el efecto solo quede como borde */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    
    pointer-events: none;
}
/* Títulos internos y texto */
.guide-h { margin: 0 0 8px; font-weight: 700; }
.guide-ul { margin: 6px 0 0 18px; }
.guide-entry p { margin: 6px 0; }

/* Imagen/Logo: derecha, centrado vertical, cuadro fijo */
.home-guides-block .guide-img {
    /* Se redefine más abajo dentro de .guide-body para layout flex */
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

/* "Última actualización" */
.guides-updated {
    display: block;
    width: 100%;
    text-align: center;
    margin: 12px 0 2px;
    font-size: 12px;
    opacity: .9;
}

/* Que los links dentro de [color=...] hereden el color */
.home-guides-block .guide-entry span[style*="color"] a {
    color: inherit !important;
    border-bottom-color: currentColor !important;
}
.home-guides-block .guide-entry span[style*="color"] a:hover,
.home-guides-block .guide-entry span[style*="color"] a:focus {
    color: inherit !important;
    opacity: .9;
}

/* =========================================================
 Colapso de guías: imagen 40% + contenido 60% en flex
 ========================================================= */
.guide-entry { position: relative; padding-right: 14px; min-height: 0; }
.guide-entry .guide-body {
    display: flex;              /* FLEX en lugar de Grid */
    flex-wrap: wrap;            /* permitir salto de línea */
    align-items: flex-start;    /* alinear arriba */
    gap: 12px;                  /* separación entre columnas/filas */
}

/* Imagen en flex (no absoluta) */
.guide-entry .guide-body .guide-img {
    position: static !important;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 250px; /* limitar altura de imagen */
    object-fit: contain;
    object-position: center;
    align-self: start; /* alinear con el inicio del contenido */
}

/* Cuando la imagen viene dentro de un <p>, hacer que ese <p> ocupe el 40% */
.guide-entry .guide-body p:has(> img.guide-img) {
  margin: 0; /* limpiar márgenes para alinear con el layout */
  display: block;
  align-self: start; /* alinear con el inicio del contenido */
}
.guide-entry .guide-body p:has(> img.guide-img) > img.guide-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 250px; /* limitar altura de imagen */
}

/* Contenido (p, ul, h4, etc.) en 60% */

/* --- Nuevo layout por contenedores --- */
.guide-entry .guide-body .guide-media,
.guide-entry .guide-body .guide-data,
.guide-entry .guide-body .guide-videos { box-sizing: border-box; }

/* Evitar que el contenido fuerce aumento de ancho del flex item */
.guide-entry .guide-body .guide-media,
.guide-entry .guide-body .guide-data {
  min-width: 0;                 /* permite encoger el item */
}
.guide-entry .guide-body .guide-data {
  overflow-wrap: anywhere;      /* romper enlaces/palabras largas */
  word-break: break-word;
  font-size: 18px;
}

.guide-entry .guide-body .guide-media {
  order: 2;                     /* imagen a la derecha */
  flex: 0 0 40%;               /* columna fija 40% */
  max-width: 40%;
}
.guide-entry .guide-body .guide-data {
  order: 1;                     /* contenido a la izquierda */
  flex: 1 1 0;                  /* ocupa el resto, puede encoger */
  max-width: 60%;               /* tope en 60% para pantallas amplias */
}
.guide-entry .guide-body .guide-videos {
  order: 3;                    /* videos siempre al final */
  flex: 0 0 100%;
  max-width: 100%;
}

/* Ocultar el contenedor de media si está vacío para que el texto use 100% */
.guide-entry .guide-body .guide-media:empty { display: none; }
/* Cuando no hay media visible, el data ocupará todo el ancho restante automáticamente */
.guide-entry .guide-body .guide-media:empty + .guide-data {
  flex-basis: 100%;
  max-width: 100%;
}

/* Quitar margen superior de los hijos directos para alinear el primer contenido con la imagen */
.guide-entry .guide-body > p,
.guide-entry .guide-body > ul,
.guide-entry .guide-body > h3,
.guide-entry .guide-body > h4 {
  margin-top: 0;
}

/* Evitar separación arriba del primer bloque de contenido para alinear con la imagen */
.guide-entry .guide-body > :not(img.guide-img):first-child,
.guide-entry .guide-body > :not(p:has(> img.guide-img)):first-child {
  margin-top: 0;
}

/* Si la imagen está dentro de <p>, tratar ese <p> como media y el resto como contenido (60%) */

/* Cuando NO hay imagen, el contenido debe ocupar el 100% */
.guide-entry.no-media .guide-body .guide-data {
  flex-basis: 100%;
  max-width: 100%;
}

/* Responsive: stack en mobile */
@media (max-width: 767px){
  /* Mantener flex en mobile para poder controlar el orden */
  .guide-entry .guide-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  /* Primero el contenido, luego la imagen, luego el video */
  .guide-entry .guide-body .guide-data { order: 1; max-width: 100%; flex-basis: auto; }
  .guide-entry .guide-body .guide-media { order: 2; max-width: 100%; flex-basis: auto; display: flex; justify-content: center; text-align: center; width:100%; }
  .guide-entry .guide-body .guide-videos { order: 3; max-width: 100%; flex-basis: auto; }
  /* Centrar imagen incluso si viene dentro de <p> */
  .guide-entry .guide-body .guide-media p { display: flex; justify-content: center; margin: 0; width: 100%; }
  .guide-entry .guide-body .guide-media img.guide-img { display: block; width: auto; max-width: 100%; height: auto; margin: 8px auto 6px; }
}

/* =========================================================
 Botón de colapso y encabezado de guía (migrado desde PHP)
========================================================= */
.guide-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  justify-content: space-between;
}
.guide-toggle {    
    background: #1A150C;
    border: 1px solid #C2A878;
    color: #C2A878;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
}
.guide-toggle:hover { background: rgba(255,255,255,.06); }
.guide-body { margin-top: 10px; }
.guide-video { margin-top: 12px; }

/* Video: que ocupe 100% debajo del contenido, con alto máximo de 500px */
.guide-entry .guide-body .guide-video {
  width: 100%; /* 100% debajo del contenido (heredado por guide-videos) */
}
.guide-video-title {
  margin: 0 0 6px;
  font-weight: 700;
  text-align: center;
}
.guide-video-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  max-height: 500px;
}
/* Mantener relación 16:9 y respetar max-height */
.guide-video-embed::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 */
}
.guide-video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Estado de iconos según aria-expanded */
.guide-toggle .icon-open { display: none; }
.guide-toggle[aria-expanded="true"] .icon-open { display: inline; }
.guide-toggle[aria-expanded="true"] .icon-closed { display: none; }

/* Quitar margen del título dentro del encabezado */
.guide-head .guide-h { margin: 0; }

/* Top 3 Leaderboard Widget */
.top-level-widget {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
  margin: 20px 0;
  padding: 0 10px;
}

.leaderboard-place {
  display: flex;
  flex-direction: column;
  background: #2a2e35;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 32%;
  position: relative;
}

.leaderboard-place.first-place {
  order: 2;
  margin-bottom: 20px;
  background: #282111;
  color: #F5F3EF;
}
.leaderboard-place.first-place::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 5px;
    background: linear-gradient(to right bottom, #FFD700, transparent 50%, #FFD700);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.leaderboard-place.second-place {
  order: 1;
  background: #282111;
  color: #F5F3EF;
}
.leaderboard-place.second-place::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 5px;
    background: linear-gradient(to right bottom, #C0C0C0, transparent 50%, #C0C0C0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.leaderboard-place.third-place {
  order: 3;
  background: #282111;
  color: #F5F3EF;
}
.leaderboard-place.third-place::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 5px;
    background: linear-gradient(to right bottom, #CD7F32, transparent 50%, #CD7F32);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #F5F3EF;
}

.leaderboard-player {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F5F3EF;
}

.leaderboard-player img.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.medal {
  width: 32px;
  height: 32px;
}

.leaderboard-details {
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-top: 10px;
    justify-content: space-between;
}

.leaderboard-detail {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  align-items: center;
}

.leaderboard-detail span:first-child {
  font-weight: bold;
  margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .top-level-widget {
    flex-direction: column;
    align-items: center;
  }
  
  .leaderboard-place {
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }
  
  .leaderboard-place.first-place {
    order: 1;
    margin-bottom: 15px;
  }
  
  .leaderboard-place.second-place {
    order: 2;
  }
  
  .leaderboard-place.third-place {
    order: 3;
  }
}

/* User Ranking Row */
.user-ranking {
  display: flex;
  align-items: center;
  background: #282111;
  border-radius: 8px;
  padding: 10px 15px;
  margin: 5px 0;
  width: 100%;
  box-sizing: border-box;
  position:relative;
}
.user-ranking::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 5px;
    background: linear-gradient(to top, #8A8575 0%, /* color fuerte en la parte de abajo */ rgba(138, 133, 117, 0.8) 20%, /* sube un poco por los lados */ transparent 50% /* se difumina hacia el centro */);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Estilos para el widget de eventos */
.event-widget {
    margin-bottom: 0;
    border: 1px solid #C2A878;
    -moz-box-shadow: 0 0 10px #555;
    -webkit-box-shadow: 0 0 10px #555;
    box-shadow: 0 0 10px #8A8575;
}

.event-widget .panel-heading {
  text-align: center;
  background-color: #282111;
  color: #fff;
  border-bottom: 1px solid #8A8575;
  padding: 12px 15px;
  border-radius: 4px 4px 0 0;
}

.event-widget .panel-body {
  padding: 0;
  background-color: #282111;
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-item {
  display: flex;
  align-items: center;
  padding: 3px 15px;
  border-bottom: 1px solid #8A8575;
  transition: background-color 0.2s;
}

.event-item:last-child {
  border-bottom: none;
  border-radius: 0 0 4px 4px;
}

.event-icon {
  font-size: 1.5rem;
  margin-right: 12px;
  color: #F5F3EF;
  min-width: 30px;
  text-align: center;
}

.event-details {
  flex: 1;
  min-width: 0;
  display:flex;
}

.event-name {
  font-weight: 500;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-schedule{
    margin-left:10px;   
}
.event-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: 10px;
  text-align: right;
}

.countdown {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  color: #F5F3EF;
  font-size: 0.9rem;
}

.next-occurence {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 2px;
}

.no-events {
  padding: 20px;
  text-align: center;
  color: #6c757d;
  font-style: italic;
}

.user-ranking-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 5px;
  box-sizing: border-box;
}

/* First item (position number) */
.user-ranking-position {
  width: 8%;
  justify-content: center;
  color: #fff;
  font-size: 15px;
}

/* Second item (avatar) */
.user-ranking-avatar-container {
  width: 8%;
  justify-content: flex-start;
}

.user-ranking-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #3f6588;
  object-fit: cover;
}

/* Third item (username) */
.user-ranking-username {
  width: 28%;
  color: #F5F3EF;
  padding-left: 10px;
}

/* Fourth item (class) */
.user-ranking-class {
  width: 28%;
  color: #F5F3EF;
  font-size: 14px;
  padding-left: 5px;
}

/* Fifth item (level) */
.user-ranking-level {
  width: 28%;
  color: #F5F3EF;
  font-size: 14px;
  padding-left: 5px;
  justify-content: flex-start;
  padding-right: 5px;
}

/* Header row */
.user-ranking.header .user-ranking-item {
  font-weight: 600;
  color: #F5F3EF;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .user-ranking {
    padding: 8px 10px;
  }
  
  .user-ranking-item {
    font-size: 13px;
  }
  
  .user-ranking-avatar {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  .user-ranking {
    display: none; /* Hide the ranking on mobile */
  }
  
  .user-ranking.header {
    display: none; /* Also hide the header */
  }
}

@media (max-width: 480px) {
  .user-ranking-item {
    width: 50% !important;
    padding: 3px 5px;
  }
  
  .user-ranking-position {
    width: 15% !important;
  }
  
  .user-ranking-avatar-container {
    width: 20% !important;
  }
  
  .user-ranking-username {
    width: 65% !important;
  }
  
  .user-ranking-class,
  .user-ranking-level {
    width: 100% !important;
  }
  
  .user-ranking.header {
    display: none;
  }
}
/* Estilos para las tarjetas de redes sociales */
.social-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: white;
}

.social-text h5 {
    margin: 0;
    color: #f5f5f5;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.1rem;
}

.social-text p {
    margin: 0.2rem 0 0 0;
    color: #bbb;
    font-size: 0.9rem;
}

/* Colores específicos para cada red social */
.facebook-card {
    border-left: 4px solid #3b5998;
}

.facebook-card .social-icon {
    background: #3b5998;
}

.facebook-card:hover {
    border-color: #3b5998;
    box-shadow: 0 8px 15px rgba(59, 89, 152, 0.3);
}

.whatsapp-card {
    border-left: 4px solid #25D366;
}

.whatsapp-card .social-icon {
    background: #25D366;
}

.whatsapp-card:hover {
    border-color: #25D366;
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
}

.discord-card {
    border-left: 4px solid #7289da;
}

.discord-card .social-icon {
    background: #7289da;
}

.discord-card:hover {
    border-color: #7289da;
    box-shadow: 0 8px 15px rgba(114, 137, 218, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .social-card {
        margin-bottom: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* ============================================
   QUICK LOGIN (botón flotante + panel)
   ============================================ */
#quick-login-toggle {
  position: fixed;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 2000;
}
.quick-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #444;
  background: linear-gradient(180deg, #4a4a4a 0%, #1f1f1f 100%);
  color: #eee;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.quick-login-btn i {
  color: #eee;
  filter: drop-shadow(0 0 6px rgba(255,255,255, .25));
}
.quick-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.6);
}

.quick-login-panel {
  position: fixed;
  top: 56px;
  right: 12px;
  left: auto;
  width: 320px;
  background: rgba(26,26,26,.96);
  border: 1px solid #555;
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  display: none;
  z-index: 1999;
}
.quick-login-panel.open { display: block; }
.quick-login-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #3a3a3a;
  color: #F5F3EF;
}
.quick-login-body { padding: 12px; }
.quick-login-panel .form-control {
  background: #fafafa;
  border: 1px solid #e3e3e3;
  color: #333;
}
.quick-login-panel .form-control::placeholder { color: #666; }
.news-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid #3a3a3a;
}
.news-share-label {
  font-weight: 700;
  color: #F5F3EF;
}
.news-share-icons {
  display: inline-flex;
  gap: 8px;
}
.share-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2a2a2a;
  border: 1px solid #444;
  color: #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.share-btn .icon-x { width: 16px; height: 16px; display:block; }
.share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,.45);
  background: #3a3a3a;
}
/* Opcional: leves tonos por marca al hover */
.share-fb:hover { color: #3b5998; }
.share-x:hover { color: #fff; }
.share-wa:hover { color: #25D366; }
.share-tg:hover { color: #0088cc; }
.share-rd:hover { color: #ff4500; }
.share-li:hover { color: #0e76a8; }

/* NEWS VOTES BAR */
.news-votes {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid #3a3a3a;
}
.news-votes .vote-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1;
  color: #ddd;
  background: #2a2a2a;
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
  transition: background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
.vote-btn:hover { background: #3a3a3a; transform: translateY(-1px); box-shadow: 0 8px 16px rgba(0,0,0,.45); }
.vote-btn:active { transform: translateY(1px); box-shadow: 0 0 0 rgba(0,0,0,.35); }
.vote-btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.vote-btn .count { font-weight: 600; color: #F5F3EF; }
.vote-btn.like { color: #7bd389; border-color: #1f883d; }
.vote-btn.like .fa-thumbs-up { color: #7bd389; }
.vote-btn.dislike { color: #f08f80; border-color: #c03a2b; }
.vote-btn.dislike .fa-thumbs-down { color: #f08f80; }
.vote-btn.active { background: #1f2328; border-color: #0969da; box-shadow: inset 0 0 0 1px rgba(9,105,218,0.25), 0 0 10px rgba(9,105,218,0.15); }
.news-votes .votes-note { margin-left: 6px; font-size: 12px; color: #aaa; }
