/* GACS Social integration */

.gacs-social-filter {
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgb(161 161 170);
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.gacs-social-filter:hover,
.gacs-social-filter.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.gacs-social-card {
    animation: gacsSocialIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes gacsSocialIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gacs-social-embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 0;
}

.gacs-social-embed blockquote {
    margin: 0 !important;
}

.gacs-embed-youtube iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.gacs-social-embed--lazy:not(.is-loaded) {
    min-height: 180px;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.04) 8%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0.04) 33%);
    background-size: 200% 100%;
    animation: gacsSocialShimmer 1.4s ease-in-out infinite;
}

@keyframes gacsSocialShimmer {
    to {
        background-position: -200% 0;
    }
}

.gacs-social-carousel {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.gacs-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 1px solid rgb(228 228 231);
    font-size: 0.7rem;
    font-weight: 700;
    color: rgb(39 39 42);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.gacs-share-btn:hover {
    background: rgb(244 244 245);
}

.gacs-share-btn--dark {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgb(228 228 231);
    background: rgba(255, 255, 255, 0.04);
}

.gacs-share-btn--dark:hover {
    background: rgba(255, 255, 255, 0.1);
}

.gacs-share-btn.is-copied {
    border-color: rgb(52 211 153);
    color: rgb(52 211 153);
}

@media (prefers-reduced-motion: reduce) {
    .gacs-social-card {
        animation: none;
    }
    .gacs-social-embed--lazy:not(.is-loaded) {
        animation: none;
    }
}
