@media (max-width: 576px) {
  .section h3 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .section h3.outline {
    font-size: 36px;
    padding: 6px 16px;
  }

  .slider .slick-dots {
    bottom: -35px !important;
  }

  .topbar {
    padding: 15px;
    text-align: center;
  }

  .topbar__social {
    flex-direction: column;
    gap: 10px;
  }

  .topbar__layer ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .slider__arrow {
    display: none;
  }

  .item_carousel {
    max-width: 80%;
    margin: 10px auto 10px auto;
  }

  .talleres__arrow--right {
    right: 0px !important;
  }

  .talleres__arrow--left {
    left: 0px !important;
  }

  .item_carousel__content {
    padding: 20px;
  }

  .section_numeros .row {
    justify-content: center;
  }

  .item_numeros {
    width: 140px;
    height: 140px;
  }

  .item_numeros strong {
    font-size: 40px;
    line-height: 40px;
  }

  .item_numeros span {
    font-size: 14px;
    width: auto;
  }

  .numeros__sami {
    position: static;
    max-width: 150px;
    margin: 0 auto;
    display: block;
  }

  .noticias_home .noticias_home__item h3 {
    font-size: 22px;
  }

  .slick-dots {
    bottom: -30px;
  }

  .slider {
    padding-bottom: 15px;
  }

  .sponsors__metric strong {
    font-size: 40px;
  }

  .footer ul {
    margin-bottom: 40px;
  }

  .footer__up {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .talleres__grid {
    grid-template-columns: 1fr !important;
  }

  h3.outline--small {
    font-size: 22px;
  }

  .sponsors-proyectos {
    padding: 40px 50px;
  }

  h3.outline,
  h2.wp-block-heading {
    font-size: 24px;
  }

  .colaboradores .container > h2 {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .portada-gradient-overlay::after {
    display: none;
  }

  .portada-gradient-overlay {
    height: auto;
  }

  .somos-contenido p {
    font-size: 16px;
    line-height: 30px;
  }

  .portada__arrow {
    bottom: -10px;
  }

  .portada__cta {
    position: relative;
    font-size: 20px;
    margin: 0 auto 0 auto;
    display: table;
    left: auto;
    transform: none;
    margin-top: auto;
  }

  .portada_interna h3 {
    font-size: 20px;
    text-align: center;
  }

  .footer ul {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .footer ul li {
    border-bottom: 1px solid #ffffff42;
  }
}

@media (max-width: 991px) {
  .topbar .container {
    display: block !important;
  }

  .taller__content .col-sm:first-child {
    flex: 0 0 100% !important;
  }

  .badge {
    width: 150px !important;
    height: 150px !important;
    top: -74px !important;
  }

  .topbar__social {
    margin-top: 10px;
    margin-bottom: 10px;
    justify-content: center;
  }

  .taller__content h1 {
    font-size: 30px;
    font-weight: bold;
    padding-right: 0% !important;
  }

  .taller__meta p {
    margin-right: 0px;
    font-size: 16px !important;
    line-height: 20px;
  }

  .topbar__layer {
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .taller__meta {
    display: block !important;
    line-height: 0px !important;
    margin-top: 25px !important;
    margin-bottom: 40px !important;
  }

  .topbar__layer li {
    margin-left: 0px;
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
  }

  .nav__wrapper {
    padding: 0px 25px;
  }

  .section h3 {
    font-size: 36px;
  }

  .logo {
    width: 200px;
    margin: 30px 0px;
  }

  .topbar__social strong {
    display: none;
  }

  .topbar__layer ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .slider__arrow--left {
    left: 0;
  }

  .slider__arrow--right {
    right: 0;
  }

  .item_carousel__content {
    padding: 20px 25px;
  }

  .sponsors__logos_container {
    padding: 35px 0px 30px 0px;
  }

  .item_numeros {
    width: 160px;
    height: 160px;
  }

  .item_numeros strong {
    font-size: 50px;
  }

  .numeros__sami {
    max-width: 170px;
    right: 0;
  }

  .sponsors__metrics {
    flex-wrap: wrap;
  }

  .sponsors__metric {
    margin: 20px;
  }

  .talleres__arrow--left {
    left: -10px;
  }

  .talleres__arrow--right {
    right: -10px;
  }

  footer .gap-5 {
    gap: 0px !important;
  }

  .footer__legal {
    padding: 20px;
  }

  .nav__toggle {
    display: block;
    z-index: 20;
  }

  .section_numeros .col {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #294435e8;
    transition: right 0.3s ease;
    padding: 80px 20px;
    z-index: 11;
    backdrop-filter: blur(4px);
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 20px;
  }

  .nav__list a {
    font-size: 20px;
    color: white;
  }

  .talleres__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1199px) {
  .topbar__layer li {
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
  .section h3 {
    font-size: 42px;
  }

  .item_carousel__content {
    padding: 25px 30px;
  }
}
