/* Socios widget. Every selector is rooted at the widget. */
.att-socios-widget {
    --att-socios-blue: #082f49;
    --att-socios-aqua: #78ded8;
    --att-socios-aqua-strong: #29beb5;
    --att-socios-line: #d9e5e8;
    --att-socios-ease: cubic-bezier(.22, 1, .36, 1);
    width: 100%;
    overflow: hidden;
    color: #10232e;
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.att-socios-widget,
.att-socios-widget *,
.att-socios-widget *::before,
.att-socios-widget *::after {
    box-sizing: border-box;
}

.att-socios-widget .att-socios-wrap {
    width: min(calc(100% - 64px), 1260px);
    margin-inline: auto;
}

.att-socios-widget .att-socios-header {
    padding: 100px 0 90px;
    color: #fff;
    background: var(--att-socios-blue);
}

.att-socios-widget .att-socios-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--att-socios-aqua);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.att-socios-widget .att-socios-eyebrow::before {
    width: 32px;
    height: 2px;
    background: currentColor;
    content: "";
}

.att-socios-widget .att-socios-title {
    max-width: 920px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 5.3vw, 76px);
    font-weight: 650;
    letter-spacing: -.052em;
    line-height: .98;
}

.att-socios-widget .att-socios-title em {
    color: var(--att-socios-aqua);
    font-style: normal;
}

.att-socios-widget .att-socios-grid-section {
    padding: 90px 0 120px;
    background: #fff;
}

.att-socios-widget .att-socios-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    justify-content: center;
}

.att-socios-widget .att-socios-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--att-socios-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(8, 47, 73, .05);
    color: inherit;
    text-decoration: none;
    transition: transform .35s var(--att-socios-ease), border-color .3s ease, box-shadow .35s ease;
}

.att-socios-widget a.att-socios-card {
    cursor: pointer;
}

.att-socios-widget .att-socios-card:hover {
    transform: translateY(-6px);
    border-color: var(--att-socios-aqua-strong);
    box-shadow: 0 20px 45px rgba(8, 47, 73, .12);
}

.att-socios-widget .att-socios-card:focus-visible {
    outline: 3px solid var(--att-socios-aqua-strong);
    outline-offset: 3px;
}

.att-socios-widget .att-socios-image,
.att-socios-widget .att-socios-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.att-socios-widget .att-socios-image {
    object-fit: cover;
    object-position: center;
    transition: transform .45s var(--att-socios-ease);
}

.att-socios-widget .att-socios-image-placeholder {
    background: #f5f8f7;
}

.att-socios-widget .att-socios-card:hover .att-socios-image,
.att-socios-widget .att-socios-card:focus-visible .att-socios-image {
    transform: scale(1.06);
}

.att-socios-widget .att-socios-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 18px 16px;
    background: linear-gradient(180deg, rgba(8, 47, 73, 0) 0%, rgba(8, 47, 73, .88) 100%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .3s ease, transform .3s ease;
}

.att-socios-widget .att-socios-card:hover .att-socios-overlay,
.att-socios-widget .att-socios-card:focus-visible .att-socios-overlay {
    opacity: 1;
    transform: translateY(0);
}

.att-socios-widget .att-socios-name {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

.att-socios-widget .att-socios-owner {
    margin-top: 3px;
    color: var(--att-socios-aqua-strong);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

@media (max-width: 1100px) {
    .att-socios-widget .att-socios-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width: 767px) {
    .att-socios-widget .att-socios-wrap {
        width: min(calc(100% - 32px), 1260px);
    }

    .att-socios-widget .att-socios-header {
        padding: 60px 0 50px;
    }

    .att-socios-widget .att-socios-grid-section {
        padding: 45px 0 70px;
    }

    .att-socios-widget .att-socios-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .att-socios-widget .att-socios-card {
        border-radius: 12px;
    }

    /* Content remains available on touch devices without a hover interaction. */
    .att-socios-widget .att-socios-overlay {
        padding: 24px 10px 10px;
        opacity: 1;
        transform: translateY(0);
    }

    .att-socios-widget .att-socios-name {
        font-size: 12px;
    }

    .att-socios-widget .att-socios-owner {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .att-socios-widget .att-socios-card,
    .att-socios-widget .att-socios-image,
    .att-socios-widget .att-socios-overlay {
        transition-duration: .01ms;
    }
}
