.social-media-area {
    padding-top: 70px;
    padding-bottom: 80px;
}

.social-page-heading {
    justify-content: center;
    margin-bottom: 48px;
}

.social-platform-section + .social-platform-section {
    margin-top: 70px;
}

.social-platform-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.social-platform-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #FFBC00;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.social-platform-label i {
    font-size: 18px;
}

.social-platform-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 500;
}

.social-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #BCBCBC;
    font-size: 14px;
    transition: .3s;
}

.social-profile-link:hover {
    color: #FFBC00;
}

.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.social-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 16px 16px 22px;
    border-radius: 20px;
    background: #171717;
    border: 1px solid rgba(255,255,255,.03);
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
    transition: transform .3s ease, border-color .3s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,188,0,.18);
}

.social-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/bg1.png") center/cover no-repeat;
    opacity: .10;
    pointer-events: none;
}

.social-card-media {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: #111;
}

.social-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.social-card:hover .social-card-media img {
    transform: scale(1.04);
}

.social-card-body {
    position: relative;
    z-index: 1;
    padding: 18px 2px 0;
}

.social-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 7px;
}

.social-card-platform,
.social-card-date {
    color: #BCBCBC;
    opacity: .55;
    font-size: 12px;
    text-transform: uppercase;
}

.social-card-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.social-card-platform i {
    font-size: 15px;
    color: #FFBC00;
}

.social-card-title {
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.social-card-caption {
    color: #BCBCBC;
    opacity: .72;
    font-size: 13px;
    line-height: 1.55;
    margin: 9px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.social-card-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.social-card-arrow {
    position: absolute;
    right: 17px;
    bottom: 20px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.04);
    color: #fff;
    opacity: .25;
    transition: .3s;
}

.social-card:hover .social-card-arrow {
    opacity: 1;
    color: #FFBC00;
}

.social-feed-status {
    grid-column: 1 / -1;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: #171717;
    color: #BCBCBC;
    opacity: .7;
}

.social-feed-status.error {
    color: #d7a6a6;
}

@media (max-width: 991px) {
    .social-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .social-media-area {
        padding-top: 55px;
        padding-bottom: 60px;
    }

    .social-page-heading {
        margin-bottom: 38px;
    }

    .social-platform-section + .social-platform-section {
        margin-top: 55px;
    }

    .social-platform-heading {
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .social-platform-heading h2 {
        font-size: 25px;
    }

    .social-profile-link {
        font-size: 12px;
        white-space: nowrap;
    }

    .social-feed-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 2px;
        padding: 0 4px 8px 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .social-feed-grid::-webkit-scrollbar {
        display: none;
    }

    .social-card {
        flex: 0 0 86%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .social-feed-status {
        flex: 0 0 86%;
        min-height: 140px;
    }
}
