/* IFF38 home: continuous sponsors marquee. No gap between sponsor cells. */
.iff38-home #d7 .iff38-home-sponsors-marquee {
    position: relative;
    width: calc(100% + 160px);
    margin-left: -80px;
    margin-right: -80px;
    margin-top: auto;
    margin-bottom: auto;
    overflow: hidden;
    flex-shrink: 0;
}

.iff38-home #d7 .iff38-home-sponsor-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0 !important;
    width: max-content;
    max-width: none;
    padding: 0 !important;
    margin: 0 !important;
    will-change: transform;
}

.iff38-home #d7 .iff38-home-sponsor {
    position: relative;
    flex: 0 0 clamp(220px, 25vw, 390px);
    width: clamp(220px, 25vw, 390px);
    height: clamp(130px, 16vw, 215px);
    min-width: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 20px 32px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
}

.iff38-home #d7 .iff38-home-sponsor img {
    display: block;
    width: 100%;
    max-width: 190px;
    height: 100%;
    max-height: 115px;
    object-fit: contain;
    transition: opacity 380ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.iff38-home #d7 .iff38-home-sponsor-hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 22px;
    background: #fff;
    color: #071a3d;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 380ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
    pointer-events: none;
}

.iff38-home #d7 .iff38-home-sponsor-thanks {
    display: block;
    font: 600 11px/1.4 'JetBrains Mono', monospace;
    letter-spacing: 0.22em;
    color: #8c94a4;
	transform: rotateY(180deg);
}

.iff38-home #d7 .iff38-home-sponsor-name {
    display: block;
    font: 800 clamp(14px, 1.15vw, 19px)/1.25 'Poppins', 'Heebo', sans-serif;
    color: #071a3d;
    overflow-wrap: anywhere;
	transform: rotateY(180deg);
}

.iff38-home #d7 .iff38-home-sponsor:hover .iff38-home-sponsor-hover,
.iff38-home #d7 .iff38-home-sponsor:focus-visible .iff38-home-sponsor-hover {
    opacity: 1;
	transform: rotateY(180deg);
}

.iff38-home #d7 .iff38-home-sponsor:hover img,
.iff38-home #d7 .iff38-home-sponsor:focus-visible img {
    opacity: 0;
	transform: rotateY(180deg);
}
#d7 h2{
  color:rgb(7, 26, 61);
}
@media (max-width: 767px) {
    .iff38-home #d7 .iff38-home-sponsors-marquee {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
    }
    .iff38-home #d7 .iff38-home-sponsor {
        flex-basis: 210px;
        width: 210px;
        height: 150px;
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iff38-home #d7 .iff38-home-sponsor-list {
        will-change: auto;
    }
}

/* Reduced motion: keep hover information accessible without movement. */
@media (prefers-reduced-motion: reduce) {
    .iff38-home #d7 .iff38-home-sponsor img,
    .iff38-home #d7 .iff38-home-sponsor-hover {
        transition-duration: 0.01ms;
        transform: none !important;
    }
}
