body.scrolled header {
    background-color: transparent !important;
}

.logos img {
    object-fit: contain;
}
.h2__green-content {
    position: relative;
}

.h2__green-content::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    bottom: 0px;
    background-image: url('https://accionclimatica-alc.org/wp-content/uploads/2025/06/h2-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
  background-size: contain;
  background-repeat: repeat;
}

mark {
    padding: 3px 6px;
}

.h2__banner--switch {
    position: relative;
}

#h2__banner--arrow {
    position: absolute;
    top: 80px;
    left: 50%;
}

.h2__banner--image img {
    width: 100%;
    max-width: 500px;
}

.resource-item {
    list-style: none;
    margin-bottom: var(--space-s);
}
.resource-item a {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}
.resource-item a svg {
    width: 32px;
    height: 32px;
}

/* BANNER */
.h2__banner--img-content {
    position: relative;
}
#h2__banner--b1{
    position: absolute;
    animation: gentle-sway 3s ease-in-out infinite;
    top: 41%;
  left: 25%;
  width: 15%;
  max-width: 100px;
  margin-top: 0 !important;
}
#h2__banner--b2{
    position: absolute;
    animation: gentle-sway 4s ease-in-out infinite;
    top: 30%;
    left: 65%;
    width: 25%;
    max-width: 128px;
    margin-top: 0 !important;
}
#h2__banner--b3{
    position: absolute;
    animation: gentle-sway 3s ease-in-out infinite;
    top: 2%;
  left: 41%;
  width: 18%;
  max-width: 100px;
  margin-top: 0 !important;
}
#h2__banner--b4 {
    position: absolute;
    animation: gentle-float 4s ease infinite;
    top: 79%;
  left: 38%;
  width: 10%;
  max-width: 50px;
  margin-top: 0 !important;
}

@keyframes gentle-sway {
    0%, 100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

@keyframes gentle-float {
    0%, 100% {
        transform: translateY(10px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Documents */

.h2__documents--cover img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.h2__documents--cover img:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .h2__header--logos img {
        height: 64px !important;
    }

    #h2__banner--arrow,
    .h2__switch--image {
        display: none;
    }
    .h2__banner--image img {
        max-width: 300px;
    }
    .h2__links--columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .h2__links--columns img {
        height: 64px !important;
    }
    .resources-list {
        padding-left: 0;
        margin-bottom: -2rem;
    }

    /* BANNER */
    #h2__banner--b1{
        top: 41%;
    left: 25%;
        width: 14%;
        max-width: 64px;
    }
    #h2__banner--b2{
        top:30%;
        left: 65%;
        width: 23%;
        max-width: 100px;
    }
    #h2__banner--b3{
        top: 2%;
    left: 42%;
    width: 16%;
    max-width: 64px;
    }
    #h2__banner--b4 {
        top: 79%;
      left: 38%;
      width: 10%;
      max-width: 50px;
      margin-top: 0 !important;
    }

    /* documents */
    .h2__documents--cover {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
}