/* ======================
   GENERAL & RESETS
   ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button,
input[type=button],
input[type=submit] {
    -webkit-appearance: none;
    -webkit-border-radius: 0
}

input[type=checkbox] {
    width: 18px;
    height: 18px;
    display: inline-block;
    margin: -2px 2px 0 0;
    vertical-align: middle
}
.comentarios input,
.comentarios textarea {
    font-size: 14px;
    border: 1px solid #ccc;
    padding: 6px;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    width: 100%;
    outline: 0
}

html {
  height: 100%;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  width: 100%;
  overflow-y: scroll;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #333;
  background-color: #fff;
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Encode Sans Condensed', sans-serif;
}

h1 {
  font-size: 32px;
  font-weight: 200;
  margin-bottom: 20px;
}
h1 b, h2 b, h3 b {
  font-weight: 700
}

h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 24px 0;
}

a h2{
  font-weight: 200 !important;
  color: #333;
  text-decoration: none;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  margin: 11px 0;
}

a {
  color: #025fc8;
  text-decoration: none;
}

a:hover {
  color: #000;
}

strong {
  font-weight: 700;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ======================
   LAYOUT CONTAINERS
   ====================== */
#contenedor {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  min-height: 900px;
  padding: 0 1rem;
}

#contenido {
  width: 100%;
  max-width: 700px; /* ancho cómodo de lectura */
  margin: 35px auto;
  min-height: 500px;
}

/* ======================
   HEADER / NAVIGATION
   ====================== */
/*#cabecera-blog {
  position: absolute;
  top: 0;
  width: 100%;
  background: #000;
  padding: 10px 0;
  text-align: center;
}*/
#cabecera-blog {
  background: #000;
}

.cabecera-interno {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 5px 15px;
}

.cabecera-img,
.icono-menu {
  flex-shrink: 0;
}

.icono-menu {
  display: flex;
  align-items: center;
}


nav {
    z-index: 1017;
    top: 34px;
    right: -400px;
    min-width: 300px;
    padding: 30px 30px;
    bottom:0;
    background: #fff;
    transition: .75s;
    overflow-y: auto
}

nav ul {
    list-style: none
}

nav ul li {
    margin: 0 0 6px
}

nav li a.flecha-dcha {
    background-image: url(/img/icono-flecha-dcha.gif);
    background-origin: content-box;
    background-position: right center;
    background-repeat: no-repeat
}

nav a {
    font-size: 16px;
    line-height: 1.5em;
    color: #333 !important;
    font-weight: 300
}
nav a:hover {
    text-decoration: underline;
    color: #000
}
#cortina-translucida, nav {
  opacity: 0;
  position: fixed
}
#cortina-translucida.visible_menu,
nav.visible_menu {
  right: 0;
  opacity: 1
}


#cortina-translucida{
  background-color: rgba(0, 0, 0, .4);
    transition: opacity .75s;
    z-index: 1013;
    height: 100%;
    right: -100%;
    top: 34px;
    width: 100%
}

#menu_on {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 20px;
  /*margin-top: 2px;*/
  cursor: pointer;
}

#menu_on span {
  width: 100%;
  height: 3px;
  border-radius: 3px;
  display: block;
  position: absolute;
  background: #fff;
  transition: 0.25s ease-in-out;
  transform-origin: left center;
}

#menu_on span:nth-child(1) {
  top: 0;
}

#menu_on span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

#menu_on span:nth-child(3) {
  bottom: 0;
}

/* Estado activo: cruz (X) */
#menu_on.visible_menu span:first-child {
    transform: rotate(45deg) translate(0, 0)
}

#menu_on.visible_menu span:nth-child(2) {
    opacity: 0
}

#menu_on.visible_menu span:nth-child(3) {
    bottom:0;
    transform: rotate(-45deg) translate(0, 0)
}

/* ======================
   BLOG CONTENT BLOCKS
   ====================== */
.bloque-articulo {
  margin: 2rem 0;
}

.texto-articulo {
  color: #333;
  overflow-wrap: break-word;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}
.texto-articulo h2,
.texto-articulo h3 {
  font-weight: 700;
  margin: 1.5em 0 0.5em;
  line-height: 1.2;
}

.texto-articulo ul,
.texto-articulo ol {
  margin: 1em 0 1em 2em;
  padding-left: 1em;
}

.texto-articulo ul {
  list-style-type: disc;
}

.texto-articulo ol {
  list-style-type: decimal;
}

.texto-articulo li {
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.ultima-actualizacion{
  margin-top: -15px;
}
.copyRight{
  margin-top: 30px;
}

.comentarios, .articulos-relacionados {
  margin-top: 20px;
  margin-bottom: 40px;
  padding-top: 20px;
}
.comentarios h2, .articulos-relacionados h2 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 200;
  text-align: left;
  color: #222;
}

/* === Comentarios Blog === */
.grecaptcha-badge{ display: none;}
#lista-comentarios {
  margin-top: 2rem;
  padding-left: 0;
  list-style: none;
}

.comentario {
  padding: 1rem 0;
}

.comentario-meta {
  font-size: 0.9em;
  color: #555;
  margin: 0 0 0.5rem;
}

.comentario-meta .fecha {
  font-weight: normal;
  color: #888;
  font-size: 0.85em;
}

.comentario-texto {
  font-size: 1em;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

/* Grid de dos columnas */
/*.grid-destacados {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}*/
.grid-destacados {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.grid-destacados h2{
  font-size: 22px;
  margin-top: 10px;
}

/* Grid de tres columnas */
.grid-articulos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-articulos .articulo {
  background-color: #fff;
  /*border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  transition: border-color 0.3s;*/
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/*
.grid-articulos .articulo:hover {
  border-color: #025fc8;
}*/

.grid-articulos .articulo img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  max-height: 180px;
}

.grid-articulos .articulo h3 {
  font-size: 16px;
  color: #000;
  font-weight: 200;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color 0.3s;
}

.grid-articulos .articulo h3:hover {
  color: #000;
}

@media (max-width: 1024px) {
  .grid-articulos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-articulos {
    grid-template-columns: 1fr;
  }
  .grid-destacados {
    grid-template-columns: 1fr;
  }
  /*.grid-destacados h2{
    font-size: 22px;
  }*/
  .articulos-relacionados h2 {
    font-size: 22px;
    text-align: center;
  }
}
/* --- Citas cliente ---------------------------------------------- */
.cita-cliente {
  border-left: 4px solid #025fc8;
  margin: 1.5rem 0;
  padding-left: 1rem;
  background: #fafbfc;
}

.cita-cliente blockquote {
  margin: 0;
  font-style: italic;
}

.cita-cliente figcaption {
  margin-top: .65rem;
  font-size: .90rem;
  color: #555;
}

.boton-enviar{
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    text-align: center;
    color: #fff;
    padding: 6px 28px;
    border: 0;
    cursor: pointer;
    
    width: 100%;
    max-width: 220px;
    background: #a3d9d8;
    color: #fff
}
.boton-enviar:hover{
 background: #666
}
    #btnCargarMas {
      margin: 2rem auto;
      padding: 0.75rem 1.5rem;
      font-size: 16px;
      cursor: pointer;
      display: block;
      background: #025fc8;
      color: white;
      border: none;
      border-radius: 6px;
      margin-bottom: 60px;
    }

    #btnCargarMas:hover {
      background: #014b9f;
    }

/* ======================
   EMBEDDED MEDIA
   ====================== */
.embed-container {
  position: relative;
  height: 0;
  overflow: hidden;
}

.embed-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.ratio-700-385 {
  max-width: 700px;
  padding-bottom: 55%;
  margin: 0 auto;
}

/* ======================
   FIGURE / ARTICLE IMAGE
   ====================== */
.imagen-articulo {
  margin: 2rem auto;
  max-width: 100%;
  text-align: center;
  /*padding: 0 1rem;*/
}

.imagen-articulo img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.imagen-articulo figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.5em;
  text-align: center;
}

/* ======================
   ARTICLE INLINE IMAGE
   ====================== */
.ilustracion-blog {
  margin: 2rem 0;
}

.ilustracion-blog img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
.imagen-contenido {
  display: flex;
  justify-content: center;
  margin: 1.5em auto;
  max-width: 100%;
  overflow-x: auto;
  text-align: center;
}

.imagen-contenido img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.imagen-contenido figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.5em;
}
/* ======================
   FOOTER
   ====================== */
.pie-web {
  margin-top: 80px;
  margin-bottom: 40px;
  min-height: 160px;
  color: #333;
  text-align: center;
}
.pie-web p{
  text-align: center;
  font-size: 0.9em;
}
.pie-web p a img {
  display: block;
  margin: 0 auto;
}
.pie-web a {
  color: #09c;
}

.pie-web a:hover {
  color: #000;
}

/* ======================
   UTILS
   ====================== */
.salto {
  clear: both;
}
.center {
  text-align: center;
}
p.center a {
  display: inline-block;
  margin: 0 10px;
  vertical-align: top;
}
.resalte {
  font-weight: 700 !important;
}
.linea-entre-articulos {
  width: 240px;
  height: 1px;
  background-color: #999; /* usa background-color, no color */
  border: none;           /* quita el borde por defecto del <hr> */
  margin: 80px auto;      /* centrado horizontal con margen */
}
.resumen-mejores{background:#e6edff;margin-top:40px;padding:12px 20px}
.resumen-mejores h3{margin-top:10px}
.video-youtube {
  position: relative;
  padding-bottom: 56.25%; /* Proporción 16:9 */
  height: 0;
  overflow: hidden;
  margin: 2em 0;
}

.video-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.altura5 {
    min-height: 5px
}

.altura10 {
    min-height: 10px
}

.altura15 {
    min-height: 15px
}

.altura20 {
    min-height: 20px
}
.scrollup {
  display: none;
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 14px;
  right: 8px;
  z-index: 1020;
  background: url(/img/icon_top.png) no-repeat;
  text-indent: -9999px;
}

.img-centro {
  text-align: center;
  margin: 1.5rem auto;
}

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

.fila-destacada {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.articulo-destacado {
  flex: 1 1 calc(50% - 10px);
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .articulo-destacado {
    flex: 1 1 100%;
  }
}

.tabla-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
}

.tabla-wrapper::-webkit-scrollbar {
  height: 8px;
}

.tabla-wrapper::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

table.tabla-responsive {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 16px;
  border: 1px solid #ccc;
  max-width: 100%;
}

table.tabla-responsive th,
table.tabla-responsive td {
  border: 1px solid #ccc;
  padding: 0.35rem;
  text-align: left;
  white-space: nowrap;      /* No permitir saltos de línea */
  word-break: keep-all;     /* Evitar que se rompan las palabras */
  min-width: 120px;         /* Mínimo ancho para evitar colapsos */
}

.texto-articulo th {
  background-color: #f5f5f5;
  font-weight: bold;
  white-space: nowrap;
}