/* ========================================== */
/*               TIPOGRAFÍA Y TEXTOS          */
/* ========================================== */

body {
  font-family: 'Segoe UI', sans-serif;
  color: #232536;
  background-color: #fff;
  line-height: 1.6;
}

h2 {
  font-size: 36px;
  color: #232536;
  font-weight: bold;
  padding-bottom: 50px;
}

@media (max-width: 768px) {
  h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 24px;
  }
}

h6.fw-bold {
  font-size: 24px;
  font-weight: bold;
  color: #333333;
}

@media (max-width: 768px) {
  h6.fw-bold {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  h6.fw-bold {
    font-size: 18px;
  }
}

h4.fw-bold {
  font-size: 32px;
  font-weight: bold;
  color: #333333;
}

section.text-center h4 {
  font-size: 1.6rem;
  font-weight: 600;
}

/* ========================================== */
/*               NAVBAR Y LAYOUT              */
/* ========================================== */

.navbar-custom {
  background-color: #232536;
}

.padding-80 {
  padding-left: 80px;
  padding-right: 80px;
}

.navbar-width-80 {
  width: 80px;
}

.flag {
  border-radius: 100%;
  border-color: #f5c842 !important;
}

nav {
  background-color: #232536;
  color: white;
}

a:hover,
a:focus {
  text-decoration: underline;
  text-decoration-color: #fff;
  text-underline-offset: 3px;
  /* Opcional: separa la línea del texto */
}

/* Hover amarillo con texto azul para el dropdown de idioma */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #FFD600 !important;
  /* Amarillo */
  color: #232536 !important;
  text-decoration: none;

}

.dropdown-menu .dropdown-item:hover img,
.dropdown-menu .dropdown-item:focus img {
  filter: none;
  border-radius: 100%;
  border: 1px solid #232536;
  /* Opcional: para que la bandera no cambie de color */
}



/* Navbar general */
.nav-login-navbar {
  background-color: #1F2130;
  /* Fondo oscuro personalizado */
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Marca del sitio */
.nav-login-brand {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* Botón de hamburguesa */
.nav-login-toggler {
  border: none;
}

/* Menú Desktop */
.nav-login-desktop {
  gap: 1rem;
}

.nav-login-desktop a.nav-link {
  color: #ffffff;
}

/* Botones */
.nav-login-btn-transparent {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0.5rem 1.2rem;
  font-weight: 500;
}

.nav-login-btn-transparent:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-login-btn-white {
  background-color: #ffffff;
  color: #1F2130;
  padding: 0.5rem 1.2rem;
  font-weight: 500;
  border: none;
}

.nav-login-btn-white:hover {
  background-color: #e6e6e6;
}

/* Menú Mobile */
.nav-login-mobile {
  background-color: #1F2130;
  padding-left: 1rem;
  padding-right: 1rem;
}

.nav-login-mobile a.nav-link {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #ffffff;
}

/* Dropdown personalizado */
.nav-login-dropdown .dropdown-menu {
  background-color: #2C2E3C;
}

.nav-login-dropdown .dropdown-item {
  color: #ffffff;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav-login-dropdown .dropdown-item:hover {
  background-color: #3A3D4D;
}

.nav-login-mobile {
  background-color: #1F2029;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.nav-login-mobile a.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: #ffffff;
}

.nav-login-mobile a.nav-link:hover {
  color: #ffc107;
}

.nav-login-mobile .btn-warning {
  background-color: #FFD43B;
  color: #000;
  transition: background 0.3s ease;
  max-width: 300px;
}

.nav-login-mobile .btn-warning:hover {
  background-color: #ffc107;
  color: #000;
}


/* ========================================== */
/*                  BOTONES                   */
/* ========================================== */

.btn-yellow {
  background-color: #f5c842;
  color: #232536;
  font-weight: 600;
  border: none;
  border-radius: 0rem;
  padding: 0.5rem 1.2rem;
  transition: all 0.3s ease-in-out;
  width: 180px;
  height: 55px;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.btn-yellow:hover {
  background-color: #e0b92d;
  color: #000;
  text-decoration: none;
}

.btn-white {
  background-color: #ffffff;
  color: #232536;
  font-weight: 600;
  border: none;
  border-radius: 0rem;
  padding: 0.5rem 1.2rem;
  transition: all 0.3s ease-in-out;
  width: 180px;
  height: 55px;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.btn-white:hover {
  background-color: #dfdfdf;
  color: #000;
  text-decoration: none;
}

.btn-transparent {
  background-color: #ffffff00;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid #ffffff;
  border-radius: 0rem;
  padding: 0.5rem 1.2rem;
  transition: all 0.3s ease-in-out;
  width: 180px;
  height: 55px;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.btn-transparent:hover {
  background-color: #dfdfdf;
  color: #232536;
  text-decoration: none;
}

.btn-register {
  background-color: #09ff5300;
  color: #232536;
  font-weight: 600;
  border: 1px solid #232536;
  border-radius: 0rem;
  padding: 0.5rem 1.2rem;
  transition: all 0.3s ease-in-out;
  width: 180px;
  height: 55px;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-register:hover {
  background-color: #f5c842;
  color: #232536;
  border: none;
  text-decoration: none;
}

.btn-yellow img {
  width: 16px;
  height: 16px;
}

.btn-medium {
  background: #FFD050;
  display: inline-flex;
  padding: 8px 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #222433;
  text-align: center;
  border: none;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}

.btn-yellow-Icon {
  padding: 5px 15px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #FFD050;
  color: #232536;
  text-align: right;
  border: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}

.btn-yellow-Icon:hover,
.btn-yellow2:focus {
  background: #e6b93b;
  color: #232536;
}

.btn-outline-yellow {
  background: #fff;
  color: #232536;
  border: 2px solid #FFD050;
  font-weight: bold;
  border-radius: 2px;
}

.btn-reaction {
  padding: 5px 10px 7px 10px;
  border-radius: 100px;
  background: #e4e4e4;
}

/* =========================================== */

/* ========================================== */
/*                 HERO SECTION               */
/* ========================================== */

.hero {
  background: radial-gradient(80.99% 71.93% at 74.58% 0%, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 100%),
    url('../Images/Inicio.png') no-repeat center center / cover;
  color: white;
  height: 93vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  position: relative;
}

.hero h5 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 600px;
}

.hero p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
}

.hero .text-warning {
  color: #f5c842;
  font-weight: 600;
}

/* ========================================== */
/*               CATEGORÍAS                   */
/* ========================================== */

.category-card {
  height: 100%;
  background-color: #ffffff;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  text-align: left;
}

.category-card:hover {
  background-color: #f5c842;
}

.category-card:hover .text-muted {
  color: #ffffff;
}

.category-icon {
  width: 40px;
  height: 40px;
}

.category-card h5 {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.category-card p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #6c757d;
}

.categories-title {
  font-size: 18px;
  color: #232536;
}

.category-box {
  border: 1px solid #e0e0e0;
  padding: 0.75rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease-in-out;
  height: 96px;
  width: 296px;
}

.category-box.bg-yellow {
  background-color: #FFD050;
  color: #232536;
}

.category-box:hover {
  background-color: #f8f9fa;
}

.category-text {
  color: #232536;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -1px;
}

.bg-category {
  background: #F4F0F8;
}

/* ========================================== */
/*               MÁS VISTO                    */
/* ========================================== */

.img-more-Viwed {
  border-radius: 16px !important;
  /* Puedes ajustar el valor, por ejemplo: 2rem, 24px, etc. */
}

.pad-top-more-Viewed {
  padding-top: 150px !important;
}

.featured-article {
  background-color: #ffffff;
}

.featured-article img {
  border-radius: 0.5rem;
  object-fit: cover;
}

.featured-article .content {
  border-radius: 0.5rem;
}

.featured-article .btn-yellow {
  background-color: #f5c842;
  color: #232536;
  font-weight: 600;
  border: none;
  border-radius: 0.25rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.featured-article .btn-yellow:hover {
  background-color: #e0b92d;
  color: #000;
}

@media (max-width: 991.98px) {
  .featured-article .position-relative {
    min-height: 350px !important;
  }

  .featured-article .content {
    right: 16px !important;
    left: 16px !important;
    max-width: 95vw !important;
    transform: translateY(10%) !important;
    padding: 1.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .featured-article .position-relative {
    min-height: 280px !important;
  }

  .featured-article .content {
    position: static !important;
    transform: none !important;
    margin-top: -40px;
    max-width: 100% !important;
    box-shadow: 0 2px 16px rgba(44, 46, 60, 0.10);
  }

  .featured-article img.object-fit-cover {
    min-height: 180px !important;
    max-height: 240px !important;
  }
}

@media (max-width: 575.98px) {
  .featured-article .content {
    padding: 1rem !important;
    margin-top: -4px;
  }

  .featured-article img.object-fit-cover {
    min-height: 120px !important;
    max-height: 180px !important;
  }
}

/* ========================================== */
/*              LO MÁS RECIENTE               */
/* ========================================== */

.Purple-Category-Text {
  color: #592EA9;
  font-weight: bold;
  font-size: 12px;
}

.Purple-Read-More-Text {
  color: #592EA9;
  font-weight: bold;
  font-size: 18px;
}

.Text-muted-date {
  color: #999999;
  font-size: 12px;
  font-weight: medium;
}

.text-description {
  color: #666666;
  font-size: 16px;
}

/* Para que todo lo generado por el editor  CKEditor 5, tenga
esta tamaño y se vea bien en las cards*/
.text-description * {
  font-size: 14px;
}

/* ========================================== */
/*            AUTORES DESTACADOS              */
/* ========================================== */

.author-card {
  background-color: #F4F4F4;
  text-align: center;
  border-radius: 0rem;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.author-card:hover {
  background-color: #FBF6EA;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.author-card img {
  padding: 4px;
}

.author-card small {
  font-size: 0.875rem;
  color: #6c757d;
}

.text-name-author {
  font-size: 28px;
  font-weight: bold;
  color: #232536;
}

.text-description-author {
  font-size: 14px;
  font-weight: regular;
  color: #6D6E76;
}

/* ========================================== */
/*              PIE DE PÁGINA / FOOTER        */
/* ========================================== */

footer {
  background-color: #232536;
  color: #ffffff;
}

footer .bg-secondary {
  background-color: #2d2f36;
  border-radius: 0.5rem;
}

footer a {
  color: #f5c842;
  text-decoration: none;
}

footer a:hover {
  color: #e0b92d;
}

footer .btn-yellow {
  background-color: #f5c842;
  color: #232536;
  font-weight: bold;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease-in-out;
}

footer .btn-yellow:hover {
  background-color: #e0b92d;
  color: #000;
}

.logo-text {
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
}

.bg-footer-rectangle {
  background: #2C2E3C;
}

/* ========================================== */
/*               MODAL                        */
/* ========================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.40);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

/* ========================================== */
/*               FORMULARIO                   */
/* ========================================== */

.form-control {
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 0.9rem 1rem;
  font-size: 14px;
}

.form-control:focus,
.editor-area:focus {
  border-color: #FFD050;
  box-shadow: none;
}

.form-container-max {
  max-width: 600px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (max-width: 1200px) {
  .form-container-max {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media (max-width: 767.98px) {
  .form-container-max {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Área de carga de imagen principal para blog */
.upload-area {
  border: 2px dashed #D9D9D9;
  border-radius: 8px;
  background: #F5F5F5;
  position: relative;
  padding: 2rem 1rem;
  text-align: center;
}
.upload-area-photo{
  background-color: #fff;
}
.upload-area .upload-icon {
  width: 32px;
  margin-bottom: 12px;
}

.upload-area .upload-title {
  color: #232536;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.upload-area .upload-desc {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.upload-area .btn-upload {
  background: #F5C242;
  border: none;
  color: #232536;
  min-width: 180px;
  font-weight: bold;
  border-radius: 0;
}

/* ========================================== */
/*               BLOG                         */
/* ========================================== */

/* Blog card: horizontal en desktop, vertical en mobile */
.blog-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

@media (max-width: 991.98px) {
  .blog-card {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .blog-card .blog-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 180px !important;
    margin-bottom: 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
  }

  .blog-card .px-4 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

.blog-image {
  min-width: 300px;
  max-width: 300px;
  min-height: 320px;
  max-height: 320px;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem 0 0 0.5rem;
  display: block;
}

.blog-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.blog-category {
  font-size: 16px;
  color: #592EA9;
  margin-bottom: 0.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.blog-title {
  font-size: 18px;
  color: #232536;
}

.blog-description {
  font-size: 14px;
  color: #6c757d;
}

.name-Author {
  color: #592EA9;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -1px;
}

.date-article {
  color: #6D6E76;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.category-Blog,
.point-text {
  color: #232536;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.name-coment {
  color: #592EA9;
  font-size: 14px;
  font-style: bold;
  font-weight: 600;
  line-height: 16px;
}

.date-coment {
  color: #4C4C4C;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.title-coment {
  color: #292936;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.3px;
}

.text-coment {
  color: #63637B;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

/* ========================================== */
/*               IMÁGENES                     */
/* ========================================== */

.col-lg-6 img {
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.col-lg-6 {
  display: flex;
  align-items: stretch;
}

.blog-image-bleed {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  /* Cambia este valor para ajustar el ancho */
  max-width: 1600px;
  /* Opcional: limita el ancho máximo */
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 991.98px) {
  .blog-image-bleed {
    width: 98vw;
    /* Más ancho en mobile, pero no full */
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
  }
}


/* Icono de passwords */
.eye-icon-password {
  position: absolute;
  top: 12px;
  right: 15px;
  cursor: pointer;
}

.cursor-pointer {
  cursor: pointer;
}

/* Quitar el icono de invalid en los campos */
input.is-invalid,
textarea.is-invalid,
select.is-invalid {
  border-color: #dc3545 !important;
  /* Rojo Bootstrap */
  background-image: none !important;
  /* Quita el icono */
}

/* COMENTARIOS */
.reaction-panel {
  position: absolute;
  bottom: 100%;
  left: 130px;
  transform: translateX(-50%) translateY(-10px);
  display: flex;
  gap: 8px;
  background: white;
  border-radius: 40px;
  padding: 8px 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.reaction-container.show .reaction-panel {
  opacity: 1;
  pointer-events: auto;
}

.reaction-btn {
  font-size: 24px;
  transition: transform 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
}

.reaction-btn:hover {
  transform: scale(1.4);
}

.reaction-btn.selected {
  transform: scale(1.6);
  filter: drop-shadow(0 0 5px #999);
}


/* Para el select de categorías */
.select-with-icon {
  cursor: pointer;
  background: #FFD050 url('../svg/Chevron Down Arrow.svg') no-repeat right 0.75rem center/1.2em auto;
  color: #232536;
  padding-right: 2.5em;
  /* espacio para el icono */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #E4E4E4;
  border-radius: 2px;
}

.select-with-icon:hover {
  background: #FFD050 url('../svg/Chevron Down Arrow.svg') no-repeat right 0.75rem center/1.2em auto;
  color: #232536;
}

.name-Color {
  color: #592EA9;
  padding-bottom: 0px !important;
}

.container-description {
  min-height: 200px;
  max-height: 200px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  /* Cambia el número de líneas según lo que necesites */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.card-img-top {
  min-height: 300px;
  max-height: 300px !important;
  width: 100%;
  object-fit: cover;
}
.container-categories{
  @media (max-width: 500px){
    padding-left: 10px;
    padding-right: 10px;
  }
}

.category-description{
  margin: 0 auto;
  max-width: 48%;

  @media (max-width: 500px){
    max-width: 80%;
  }
}
.text-file-selected{
  font-size: 16px;
  color: #232536;
}