/*
Made by JorgBot
*/

/*Alertas*/

.alert-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  width: auto;
  max-width: 350px;
}

.alert {
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 20px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
  display: flex !important;
  align-items: center !important;
  font-size: 14px !important;
  margin-bottom: 10px !important;
  color: #ffffff !important;
}

.alert-success {
  background: #004a99 !important;
}

.alert-danger {
  background: #d32f2f !important;
}

.alert-heading {
  display: none !important; 
}

.alert svg {
  width: 18px !important;
  height: 18px !important;
  margin-right: 12px !important;
  fill: #fff !important;
  flex-shrink: 0 !important;
}

.alert .btn-close {
  background: none !important;
  opacity: 1 !important;
  position: relative;
  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  margin-left: 15px !important;
  border: none !important;
  cursor: pointer;
  flex-shrink: 0 !important;
}

.alert .btn-close::before,
.alert .btn-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background-color: #ffffff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.alert .btn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.alert .btn-close:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/*Paginas*/

.main-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

div#main-wrapper {
    padding: 30px 15px !important;
}

.node--type-page.node--view-mode-full {
  max-width: 1100px;
  margin: 0 auto !important;
  padding: 30px 15px !important;
}

.node--type-page.node--view-mode-full .sharethis-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px 20px;
  border-radius: 12px;
}

.node--type-page.node--view-mode-full .sharethis-wrapper span.stButton {
  transition: transform 0.2s ease;
}

.node--type-page.node--view-mode-full .sharethis-wrapper span.stButton:hover {
  transform: translateY(-3px);
}

.node--type-page.node--view-mode-full .field--name-body {
  clear: both;
}

.node--type-page.node--view-mode-full .field--name-body > div {
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto !important;
  transform: translateZ(0);
}

.node--type-page.node--view-mode-full .field--name-body iframe {
  border-radius: 20px;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .node--type-page.node--view-mode-full {
    padding: 15px 10px !important;
  }
  
  .node--type-page.node--view-mode-full .sharethis-wrapper {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
  }
  
  .node--type-page.node--view-mode-full .field--name-body > div,
  .node--type-page.node--view-mode-full .field--name-body iframe {
    border-radius: 12px;
  }
}

#block-colombianosune-d11-encabezadomultiplicadores {
  padding: 40px 0;
  width: 100%;
}

#block-colombianosune-d11-encabezadomultiplicadores h2 {
  font-family: 'Arial', sans-serif;
  font-weight: 800;
  color: #004a99;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

#block-colombianosune-d11-encabezadomultiplicadores h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: #004a99;
  border-radius: 2px;
}

.field--name-body {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.field--name-body p.x {
  margin-bottom: 25px !important;
  text-align: justify !important;
  width: 90%;
  max-width: 1000px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.field--name-body p.x span {
  background-color: transparent !important;
  font-family: 'Arial', sans-serif !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: #333 !important;
}

.field--name-body p.text-align-center img {
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
  margin: 40px auto !important;
  max-width: 90%;
  height: auto;
  display: block;
}

.iframepdf {
  width: 95vw !important;
}

.field--name-body iframe {
  display: block !important;
  max-width: 100% !important;
  border: none !important;
}

.node--type-page .sharethis-wrapper {
  max-width: 1000px;
  margin: 50px auto 0;
  padding: 25px;
  border-top: 2px solid #f5f5f5;
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 768px) {
  #block-colombianosune-d11-encabezadomultiplicadores h2 {
    font-size: 28px;
  }

  .field--name-body iframe {
    /*height: 28vh !important;*/
  }
}

img[alt="Glosario"], 
img[src*="Glosario"] {
  width: 100% !important;
  max-width: 1280px;
  height: auto !important;
  display: block;
  margin: 25px auto !important;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: none !important;
}

@media (max-width: 768px) {
  img[alt="Glosario"], 
  img[src*="Glosario"] {
    width: 95% !important;
    margin: 15px auto !important;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
}

@media (max-width: 480px) {
  img[alt="Glosario"], 
  img[src*="Glosario"] {
    width: 100% !important;
    border-radius: 5px;
    margin: 10px auto !important;
  }
}

/*Buscar*/

#search-form {
  box-sizing: border-box;
  width: 100%;
}

#search-form * {
  box-sizing: border-box;
}

#search-form #edit-basic {
  display: flex !important;
  max-width: 800px;
  margin: 0 auto 2rem !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
  width: 100%;
}

#search-form #edit-keys {
  flex: 1;
  height: 55px !important;
  border: 2px solid #004a99 !important;
  border-right: none !important;
  border-radius: 8px 0 0 8px !important;
  padding: 0 20px !important;
  font-size: 17px;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff !important;
}

#search-form #edit-submit {
  height: 55px !important;
  margin: 0 !important;
  padding: 0 35px !important;
  background-color: #004a99 !important;
  color: #fff !important;
  border: 2px solid #004a99 !important;
  border-radius: 0 8px 8px 0 !important;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

#search-form #edit-submit:hover {
  background-color: #00356b !important;
  border-color: #00356b !important;
}

#search-form .search-advanced {
  border: 1px solid #e0e6ed !important;
  border-radius: 12px !important;
  margin-top: 20px !important;
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

#search-form .search-advanced summary {
  padding: 18px 25px;
  background-color: #f8fafd;
  color: #004a99;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid #e0e6ed;
  position: relative;
  transition: background 0.3s;
}

#search-form .search-advanced summary:hover {
  background-color: #f0f4f9;
}

#search-form .search-advanced summary::after {
  content: '▼';
  position: absolute;
  right: 25px;
  font-size: 12px;
  transition: transform 0.3s;
}

#search-form .search-advanced[open] summary::after {
  transform: rotate(180deg);
}

#search-form .search-advanced .details-wrapper {
  padding: 30px;
}

#search-form #edit-keywords-fieldset .fieldset-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

#search-form .form-control {
  border: 1px solid #ced4da !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  max-width: 100% !important;
  box-shadow: none !important;
  outline: none !important;
}

#search-form .fieldset-legend {
  font-size: 16px;
  font-weight: 700;
  color: #004a99;
  margin-bottom: 15px;
  display: block;
  border-left: 4px solid #004a99;
  padding-left: 10px;
}

#search-form #edit-type {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}

#search-form .js-form-type-checkbox {
  background: #fdfdfd;
  border: 1px solid #edf2f7;
  padding: 12px !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 13px;
  transition: all 0.2s ease;
}

#search-form .js-form-type-checkbox:hover {
  border-color: #004a99;
  background-color: #f0f7ff;
  transform: translateY(-1px);
}

#search-form .form-check-input {
  width: 18px !important;
  height: 18px !important;
  margin-right: 12px !important;
  cursor: pointer;
}

@media (max-width: 992px) {
  #search-form #edit-type {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  #search-form {
    padding: 0 15px;
  }

  #search-form #edit-basic {
    flex-direction: column;
  }

  #search-form #edit-keys {
    border: 2px solid #004a99 !important;
    border-radius: 8px !important;
    margin-bottom: 12px;
    width: 100% !important;
  }

  #search-form #edit-submit {
    border-radius: 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #search-form #edit-type {
    grid-template-columns: 1fr !important;
  }

  #search-form .search-advanced summary {
    padding: 15px;
    font-size: 14px;
  }

  #search-form .search-advanced .details-wrapper {
    padding: 15px;
  }
}


/*Paginas Global*/

p.text-align-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 1.5rem 0;
}

p.text-align-center a {
  display: inline-block;
  text-decoration: none;
  flex: 0 1 auto;
}

p.text-align-center img {
  max-width: 100%;
  height: auto !important;
  width: 250px; 
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

p.text-align-center a:hover img {
  transform: translateY(-5px);
}

@media (max-width: 992px) {
  p.text-align-center img {
    width: 200px;
  }
}

@media (max-width: 768px) {
  p.text-align-center {
    gap: 15px;
  }
  
  p.text-align-center img {
    width: 160px;
  }
}

@media (max-width: 480px) {
  p.text-align-center {
    gap: 10px;
  }

  p.text-align-center img {
    width: 140px;
  }
}

.field--image-responsive {
  width: 100%;
  margin: 0 auto 2rem auto;
  display: block;
}

.field--image-responsive .field__item {
  width: 100%;
  display: flex;
  justify-content: center;
}

.field--image-responsive img {
  width: 100%;
  max-width: 1280px;
  height: auto !important;
  display: block;
  object-fit: contain;
}

@media (max-width: 992px) {
  .field--image-responsive {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .field--image-responsive img {
    width: 100vw;
    position: relative;
    /*left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;*/
  }
}

.menu-breadcrumb-custom .item-list ul {
  display: inline;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu-breadcrumb-custom .list-group-item {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.6;
}

.menu-breadcrumb-custom .list-group-item a {
  color: #004a99;
  text-decoration: none;
  font-weight: 700;
  display: inline;
}

.menu-breadcrumb-custom .list-group-item a:hover {
  text-decoration: underline;
}

.menu-breadcrumb-custom .list-group-item + .list-group-item::before {
  content: "/";
  margin: 0 8px;
  color: #adb5bd;
  display: inline;
}

.menu-breadcrumb-custom .list-group-item span[aria-current="page"] {
  color: #333333;
  font-weight: 400;
  display: inline;
}

.view-duplicado-de-preguntas-frecuentes .view-header .row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.view-duplicado-de-preguntas-frecuentes .view-header .col-md-4 {
  flex: 1;
  max-width: 140px;
}

.view-duplicado-de-preguntas-frecuentes .view-header img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.panel-group .card {
  border: none;
  border-bottom: 1px solid #eee;
  border-radius: 0;
}

.panel-group .class-header {
  background: none;
  padding: 5px 0;
}

.panel-group .btn-link {
  width: 100%;
  text-align: left;
  text-decoration: none !important;
  color: #004a99;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 15px 10px;
  display: flex;
  justify-content: space-between;
}

.panel-group .btn-link::after {
  content: '▾';
  color: #ccc;
}

.panel-group .btn-link:not(.collapsed)::after {
  content: '▴';
  color: #004a99;
}

.card-body {
  padding: 15px;
  line-height: 1.6;
  color: #444;
}

.lineal {
  display: none;
}

@media (max-width: 768px) {
  .view-duplicado-de-preguntas-frecuentes .view-header .row {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .view-duplicado-de-preguntas-frecuentes .view-header .col-md-4 {
    flex: 0 0 30%;
    max-width: 80px;
  }

  .panel-group .btn-link {
    font-size: 1rem;
  }
}

.pagination {
  display: flex !important;
  justify-content: center !important;
  list-style: none !important;
  padding: 20px 0 !important;
  gap: 5px !important;
}

.pagination .page-item {
  margin: 0 !important;
}

.pagination .page-link {
  border: 1px solid #dee2e6 !important;
  color: #004a99 !important;
  padding: 8px 16px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  background-color: #ffffff !important;
}

.pagination .page-item.active .page-link, 
.pagination .page-item.active span.page-link {
  background-color: #004a99 !important;
  border-color: #004a99 !important;
  color: #ffffff !important;
  cursor: default !important;
}

.pagination .page-link:hover:not(.active) {
  background-color: #f8f9fa !important;
  color: #003366 !important;
  border-color: #dee2e6 !important;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  border-radius: 4px !important;
}

@media (max-width: 576px) {
  .pagination .page-link {
    padding: 6px 12px !important;
    font-size: 0.9rem !important;
  }
}

/*Inicio*/

@media screen and (min-width: 992px) {
  #block-colombianosune-d11-sliderhome .slider-item-inner {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  #block-colombianosune-d11-sliderhome .slider-left {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #block-colombianosune-d11-sliderhome .slider-right {
    flex: 0 0 40% !important;
    max-width: 40% !important;
    display: flex !important;
    align-items: center !important;
  }

  #block-colombianosune-d11-sliderhome .slider-left .blazy,
  #block-colombianosune-d11-sliderhome .slider-left .media {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
  }

  #block-colombianosune-d11-sliderhome .slider-left img {
    width: 100% !important;
    height: 100% !important;
    max-height: 480px !important;
    object-fit: contain !important;
    display: block !important;
    background: #004B87;
  }
}

.slider-link-full {
    text-decoration: none !important; 
    color: #ffffff !important;     
    display: block;                  
}

.slider-link-full p, 
.slider-link-full font {
    color: #ffffff !important;     
    text-decoration: none !important;
    margin: 0;
}

.slider-link-full:hover {
    color: #ffffff;
    opacity: 0.9;
}

/*Login*/

body.page-user-login {
  margin: 0;
  padding: 0;
}

.login-page-wrapper {
  background-color: #1a202c;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 1rem;
}

.login-card {
  background-color: #ffffff;
  width: 100%;
  max-width: 400px;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header img {
  max-height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

.login-header h2 {
  margin: 0;
  color: #1a202c;
  font-size: 1.5rem;
  font-weight: 700;
}

.login-header p {
  color: #718096;
  font-size: 0.875rem;
  margin: 0.5rem 0 0 0;
}

.user-login-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000000;
  font-size: 0.9rem;
}

.user-login-form .form-control,
.user-login-form input.form-text,
.user-login-form input.form-password {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  box-sizing: border-box;
  background-color: #ffffff;
  margin-bottom: 1.25rem;
}

.user-login-form .form-control:focus,
.user-login-form input:focus {
  border-color: #3367CC;
  box-shadow: 0 0 0 0.25rem rgba(51, 103, 204, 0.15);
  outline: 0;
}

.user-login-form input.btn,
.user-login-form input.form-submit {
  width: 100%;
  padding: 0.8rem;
  border-radius: 0.5rem;
  font-weight: bold;
  margin-top: 1rem;
  background-color: #3367CC;
  border: 1px solid #3367CC;
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s, border-color 0.2s;
  text-transform: none;
}

.user-login-form input.btn:hover,
.user-login-form input.form-submit:hover {
  background-color: #2a55a8;
  border-color: #2a55a8;
}

.user-login-form .invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: -1rem;
  margin-bottom: 1rem;
}

.login-footer {
  text-align: center;
  margin-top: 2rem;
  color: #a0aec0;
  font-size: 0.85rem;
}

/* Variables CSS para colores principales */
:root {
  --primary-blue: #0B4FA8;
  --secondary-blue: #173E73;
  --dark-blue: #004B87;
  --ligßht-blue: #326CC0;
  --accent-yellow: #FFC400;
  --text-color: #333333;
  --background-light: #F3F5F7;
  --background-gray: #f5f5f5;
  --white: #ffffff;
}

/* Importaciones de componentes */
/*@import url('components/header.css');
@import url('components/navigation.css');
@import url('components/footer.css');
@import url('components/cards.css');*/

/* Reset y estilos base */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

/* Layout principal */
.container-fluid {
  padding: 0 15px;
}

#main {
  /*min-height: 60vh;*/
}

/* Accesibilidad */
a[href="#main-content"],
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  display: none !important;
}

/* Navegación */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Responsividad mejorada */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}


/* Bloque información de interés */
.block-info-interes {
  /*background-color: var(--background-light);*/
  padding: 3rem 1.5rem 3.5rem;
  text-align: center;
}

.block-info-interes h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 2.5rem;
}

.block-info-interes .info-interes__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.block-info-interes .info-interes__grid .field__items {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
}

.block-info-interes .info-interes__grid .field__item {
  display: block;
  margin: 0;
}

/* Tarjetas de párrafo */
.block-info-interes .paragraph {
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block-info-interes .paragraph img,
.block-info-interes .paragraph svg {
  max-width: 110px;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.block-info-interes .paragraph a {
  display: inline-block;
  background-color: var(--secondary-blue);
  color: white;
  text-decoration: none;
  padding: 0.1rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.15s ease;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.block-info-interes .paragraph a:hover,
.block-info-interes .paragraph a:focus {
  background-color: var(--primary-blue);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.30);
  transform: translateY(-2px);
  color: white;
}



/* Enlaces destacados */
.block-views-blockenlaces-detacados-block-1 {
  text-align: center;
}

.block-views-blockenlaces-detacados-block-1 h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 2.5rem;
}

/* Footer */
.cnu-footer-box {
  background: var(--white);
  border-radius: 16px;
  border: 2px solid var(--light-blue);
  padding: 2rem;
  margin-bottom: 2rem;
}

.cnu-footer ul {
  padding: 0;
  margin: 0;
}

.cnu-footer li {
  list-style: none;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Responsive: 1 columna en móvil */
@media (max-width: 600px) {
  .block-info-interes .content {
    grid-template-columns: 1fr;
  }
}

.cnu-footer .row > div {
  margin-bottom: 1rem;
}

.cnu-footer a {
  color: #0A4C80;
  text-decoration: none;
}

.cnu-footer a:hover {
  text-decoration: underline;
}

.cnu-footer .social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cnu-footer .cert-logos img {
  max-width: 110px;
  margin: 0 10px;
}

.cnu-footer .separator-bar {
  background: var(--light-blue);
  height: 40px;
  border-radius: 6px;
  margin: 2rem 0;
}

.gov-bar img {
  max-width: 160px;
}

/* Subtítulos con líneas decorativas */
.subtitle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}

.subtitle-title {
  font-size: 32px;
  font-weight: 700;
  color: #00446b;
  margin: 0;
  white-space: nowrap;
}

.subtitle-line {
  display: flex;
  align-items: center;
  /*gap: 4px;*/
}

.subtitle-line .line {
  height: 3px;
  /*border-radius: 2px;*/
}

.subtitle-line .yellow {
  width: 120px;
  background-color: var(--accent-yellow);
}

.subtitle-line .blue {
  width: 60px;
  background-color: #003764;
}

.subtitle-line .red {
  width: 50px;
  background-color: #E60026;
}

/* Ajusta para pantallas pequeñas */
@media (max-width: 600px) {
  .subtitle-wrapper {
    gap: 15px;
  }

  .subtitle-line .yellow {
    width: 60px;
  }

  .subtitle-line .blue {
    width: 30px;
  }

  .subtitle-line .red {
    width: 20px;
  }

  .subtitle-title {
    font-size: 22px;
  }
}

/* Slider */
.slider-item-wrapper {
  width: 100%;
}

.slider-item-inner {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 420px;
}

.slider-left {
  width: 50%;
  overflow: hidden;
}
.slider-left .field--type-entity-reference{
  height: 100% !important;
  margin: 0 !important;
}
.slider-left .blazy .media{
  height: 100% !important;
}
.slider-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.slider-right {
  width: 50%;
  background-color: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--white);
}

.slider-right-content {
  max-width: 500px;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.6;
}

.slick-prev:before,
.slick-next:before {
  color: var(--white);
  font-size: 40px;
}

/* Página de inicio - región destacada */
.path-frontpage .region-featured-top {
  padding: 24px;
  margin: 24px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: var(--background-gray);
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1280px;
}

.path-frontpage #block-colombianosune-d11-videos,
.path-frontpage #block-colombianosune-d11-redessocialesfacebookinstagramx {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
  width: calc(50% - 12px);
  float: none;
  box-sizing: border-box;
}

.path-frontpage .region-featured-top>.clearfix {
  display: none;
}

.path-frontpage .region-featured-top .block iframe,
.path-frontpage .region-featured-top .block .social-tabs-block {
  width: 100%;
}

.path-frontpage .region-featured-top .block h2 {
  font-size: 32px;
  line-height: 51px;
  font-weight: 700;
  color: #00446b;
  text-align: center;
  margin: 0 0 16px 0;
}



.path-frontpage .featured-top {
	background: var(--background-gray);
}

.path-frontpage #block-colombianosune-d11-videos{ 
  flex: 0 0 calc(65% - 12px);
  max-width: calc(65% - 12px);
  width: calc(65% - 12px);
  @media (max-width: 850px) {
      flex: auto;
      max-width: 100%;
      width: 100%;
  }
}

.path-frontpage #block-colombianosune-d11-redessocialesfacebookinstagramx {
  flex: 0 0 calc(35% - 12px);
  max-width: calc(35% - 12px);
  width: calc(35% - 12px);
  @media (max-width: 850px) {
      flex: auto;
      max-width: 100%;
      width: 100%;
  }
}


.path-frontpage .slick-arrow {
  width: 34px;
  height: 34px;
}

.path-frontpage .slick-prev{
  background-image: url("data:image/svg+xml;utf8,<svg width='34' height='34' viewBox='0 0 34 34' fill='none' xmlns='http://www.w3.org/2000/svg'> <rect width='34' height='34' rx='17' fill='%23004884'/> <path d='M11 17L19.5 8.5V25.5L11 17Z' fill='white'/></svg>");
  left: 15px;
  &:before{
    content: none;
  }
}

.path-frontpage .slick-next{
  background-image: url("data:image/svg+xml;utf8,<svg width='34' height='34' viewBox='0 0 34 34' fill='none' xmlns='http://www.w3.org/2000/svg'> <rect width='34' height='34' rx='17' transform='matrix(-1 0 0 1 34 0)' fill='%23004884'/> <path d='M23 17L14.5 8.5V25.5L23 17Z' fill='white'/> </svg>");
  right: 15px;
  &:before{
    content: none;
  }
}

/* ===== MEDIA QUERIES ===== */

/* Tablets y pantallas medianas */
@media (max-width: 960px) {
  .block-info-interes .content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Móviles y tablets pequeñas */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }

  .path-frontpage .region-featured-top {
    flex-direction: column;
  }

  .path-frontpage .region-featured-top > .block {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  
}

/* Móviles pequeños */
@media (max-width: 600px) {
  .block-info-interes .content {
    grid-template-columns: 1fr;
  }

  .subtitle-wrapper {
    gap: 15px;
  }

  .subtitle-line .yellow {
    width: 60px;
  }

  .subtitle-line .blue {
    width: 30px;
  }

  .subtitle-line .red {
    width: 20px;
  }

  .subtitle-title {
    font-size: 22px;
  }

   /*slider*/
  .slider-item-inner {
    flex-direction: column;
  }
  .slider-left{
    width: 100%;
  }
  .slider-right{
    width: 100%;
  }
}


/*slider videos*/
.slick--field-galeria img{
  width: 100%;
  object-fit: cover;
  max-height: 370px;
}





.site-footer{
    padding: 10px 0 10px;
}

.site-footer__logo{
  max-width: 940px;
  padding-inline: 20px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__logo .logos{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.site-footer__logo .logos img {
    max-height: 50px;
    height: auto;
    width: 100%;
}

.site-footer__logo .logos img.img-gov1{
  max-width: 40px;
}

.site-footer__logo .logos img.img-gov2{
  max-width: 95px;
}

.site-footer__logo .logos .line {
  width: 1px;
  height: 38px;
  background-color: white;
  display: block;
}

.site-footer__logo .action a{
  color: white;
  font-size: 12px;
}


/* MOVER A .css de modulo */
.social-tabs-content {
    overflow-x: auto;
}

.govco-header__nav section.full-width{
  width: 100% !important;
}

div.sharethis-wrapper{ display: none;}

/*#main-wrapper{padding: 0px 10%;}*/

.field--name-body img{
   max-width: 100%;
	height:auto;
	object-fit: cover;
	object-position:center;
}

.block-info-interes h2 {
    font-size: 32px;
    line-height: 51px;
    font-weight: 700;
    color: #00446b;
}

.block-info-interes .info-interes_grid .field_items {
  justify-content: space-between;
    width: 100%;
}

.node--type-colombiano-en-el-exterior  img.media__element.b-lazy.b-loaded {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    object-position: top;
}

.mb-cnu-content_featured-item-image img{
    height:132px;
}

.mb-cnu-content_featured-item:not(:has(.mb-cnu-content_featured-item-title)) .mb-cnu-content_featured-item-image img{
    height:199px;
}

.pagination{
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    list-style: none;
	margin-block:2rem;
	
	.page-item.active .page-link {
    background-color: #f8f8f8;
    border-color: #898989;
	}

	.page-link, .page-link:hover {
		color: #0071b3;
		padding: 4px 6px;
	}

}

.view-preguntas-frecuentes {
    max-width: 1200px;
    margin: auto;
}

.view-preguntas-frecuentes .view-header img{
    width:100%;
	height:auto;
	object-fit:cover;
	object-position:center;
}

[class^="iconos-cnu-"], [class*=" iconos-cnu-"] {
  font-size: 28px;
}

.acompañamiento .texto-acompañamiento h3 strong {
  color: #004884;
}


.slick--view--noticias-destacadas {
  
  position: relative;
  
  .slide__description {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
        background:#004884;
        color:grey;
  }
  
  .slide__description .views-field-title { 
    width: 50%;
    order:2;
        min-height:150px;
        a {
            color:white;
            text-decoration:none;
            font-size: 24px;
            line-height: 1;
            padding-inline: 1rem 2.5rem;
            margin:0;
            text-align:center;
            display:inline-block;
        }
  }
  
  .slide__description .views-field-field-imagen { 
    width: 50%;
    order:1;
        img {
             width:100%;
             height: 400px;
             object-fit:cover;
             object-position:center;
         }
  }

   @media (max-width:600px) {
      .slide__description {
         flex-direction:column;
      }
     .slide__description .views-field-field-imagen, .slide__description .views-field-title {
        width: 100%;
      }
   }
  
}

#block-colombianosune-d11-views-block-noticias-destacadas-block-1 {
    max-width: 900px;
    margin: auto;
}

.slide__media .is-b-loading{ min-height: auto !important; }

.ui-accordion .ui-accordion-content {
    height: auto !important;
    min-height: 50px;
}




.field--type-text-with-summary{
	max-width:1200px;
	margin-inline: auto;
    margin-bottom: 150px;
}

.acompañamiento {
    display: grid;
    grid-template-rows: 1fr;
    grid-auto-columns: 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas: ". .";
}


.acompañamiento .texto-acompañamiento {
    background-color: #F7A73F;
    text-align: center;
    color: #fff;
    position: relative;
}

.acompañamiento .texto-acompañamiento h3 {
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
	line-height:1.25;
}

.text-ban {
    font-size: calc(10px + 0.7vw);
    color: white !important;
}

p.rtecenter, p.rtecenter {
    display: none;
}

.views-field-nothing-1 a, .views-field-title-1 a {
    border: 1px solid #dddddd;
    background: #2079b0;
    font-weight: bold;
    line-height: 1.2;
    font-family: "cabinbold";
    font-size: 16px;
    text-align: center;
    color: #fff;
    width: 180px;
    display: block;
    padding: 12px;
    text-transform: uppercase;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: background-color 300ms ease-out;
	border: none;
    border-radius: 50px;
    background-color: #5D83C3;
    text-transform: none;
	text-decoration: none;
}

.field--type-text-with-summary  .col-md-6  img{
	width: 100%;
}

.col-md-6{
	position: relative;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
	float: left;
	width: 48%;
}

        
@media (max-width: 980px) {
	.acompañamiento {
        display: grid;
        grid-auto-columns: 1fr;
        grid-template-columns: 1fr;
        grid-template-rows: 0.7fr 1.3fr;
        gap: 0px 0px;
        grid-template-areas:
        "."
        ".";
    }
	
	.col-md-6{
		float: inherit;
		width: 100%;
	}
}
