/* ============================================================
   SOCIAL MEDIA PAGE
============================================================ */

:root {
    --social-red: #8b151d;
    --social-red-dark: #6f1017;
    --social-gold: #c49a5a;
    --social-gold-light: #dfc28d;
    --social-navy: #11192f;
    --social-cream: #fff9f3;
    --social-cream-2: #f8eee4;
    --social-text: #3f3834;
    --social-muted: #786f69;
    --social-border: #ead8c6;
}

.social-page {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #fffdfb;
}

.social-page *,
.social-page *::before,
.social-page *::after {
    box-sizing: border-box;
}

.social-page-mirror {
    direction: rtl;
}

.social-container {
    width: 1400px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   HERO
============================================================ */

.social-hero {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    background-color: #2b0b10;
}

.social-hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: block;
    object-fit: cover;
    object-position: center;
}

.social-hero-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(10, 6, 9, 0.10) 0%,
            rgba(10, 6, 9, 0.00) 55%,
            rgba(10, 6, 9, 0.18) 100%
        );
}


/* ============================================================
   SECTION HEAD
============================================================ */

.social-section-head {
    width: 760px;
    max-width: 100%;
    margin: 0 auto 30px;
    text-align: center;
}

.social-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #a36d31;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 4px;
}

.social-section-head h1,
.social-feed-head h2 {
    margin: 0;
    color: var(--social-red);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
}

.social-section-head h1 {
    font-size: 39px;
    line-height: 1.15;
}

.social-section-head p {
    width: 650px;
    max-width: 100%;
    margin: 15px auto 0;
    color: var(--social-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* ============================================================
   ACCOUNTS
============================================================ */

.social-accounts-section {
    width: 100%;
    padding: 48px 0 42px;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(196, 154, 90, 0.11),
            transparent 320px
        ),
        #fffdfb;
}

.social-account-list {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.social-account-link {
    min-width: 190px;
    min-height: 60px;
    padding: 8px 13px 8px 9px;
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 10px;
    color: var(--social-text);
    background-color: white;
    border: 1px solid var(--social-border);
    border-radius: 12px;
    box-shadow: 0 7px 22px rgba(78, 47, 30, 0.05);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.social-account-link:hover {
    transform: translateY(-3px);
    border-color: #d3ad79;
    box-shadow: 0 12px 28px rgba(78, 47, 30, 0.10);
}

.social-account-logo {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background-color: #f8ecdf;
}

.social-account-logo img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.social-account-name {
    overflow: hidden;
    color: #493d38;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-account-arrow {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a56f36;
    border-radius: 50%;
    background-color: #faf0e5;
}

.social-account-arrow i {
    font-size: 10px;
}


/* ============================================================
   FEED
============================================================ */

.social-feed-section {
    width: 100%;
    padding: 45px 0 75px;
    background:
        linear-gradient(
            180deg,
            #faf1e8 0%,
            #fffdfb 180px
        );
}

.social-feed-head {
    width: 100%;
    margin-bottom: 27px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.social-feed-head h2 {
    font-size: 34px;
    line-height: 1.15;
}

.social-post-count {
    color: #8a7e76;
    font-size: 11px;
    white-space: nowrap;
}


/* ============================================================
   GRID
============================================================ */

.social-feed-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.social-card {
    min-width: 0;
}

.social-card-link {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.social-card-media {
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
    border: 1px solid #ead8c6;
    border-radius: 15px;
    background-color: #efe4da;
    box-shadow: 0 7px 22px rgba(58, 38, 28, 0.06);
}

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

.social-card:hover .social-card-poster {
    transform: scale(1.035);
}

.social-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(14, 10, 12, 0.10) 0%,
            rgba(14, 10, 12, 0.00) 42%,
            rgba(14, 10, 12, 0.58) 100%
        );
    transition: background 0.25s ease;
}

.social-card:hover .social-card-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(14, 10, 12, 0.13) 0%,
            rgba(14, 10, 12, 0.10) 40%,
            rgba(14, 10, 12, 0.68) 100%
        );
}

.social-card-platform {
    width: 45px;
    height: 45px;
    position: absolute;
    z-index: 3;
    top: 13px;
    left: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.91);
    box-shadow: 0 4px 13px rgba(0, 0, 0, 0.14);
}

.social-page-mirror .social-card-platform {
    left: auto;
    right: 13px;
}

.social-card-platform img {
    width: 25px;
    height: 25px;
    display: block;
    object-fit: contain;
}

.social-card-play {
    width: 56px;
    height: 56px;
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 50%;
    background-color: rgba(101, 13, 20, 0.78);
    backdrop-filter: blur(5px);
    transition:
        transform 0.22s ease,
        background-color 0.22s ease;
}

.social-card:hover .social-card-play {
    transform: translate(-50%, -50%) scale(1.08);
    background-color: rgba(130, 17, 25, 0.92);
}

.social-card-play i {
    margin-left: 3px;
    font-size: 18px;
}

.social-card-open {
    position: absolute;
    z-index: 3;
    left: 15px;
    right: 15px;
    bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transform: translateY(4px);
    transition: transform 0.22s ease;
}

.social-card:hover .social-card-open {
    transform: translateY(0);
}

.social-card-open i {
    font-size: 12px;
}


/* ============================================================
   PLACEHOLDER
============================================================ */

.social-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background:
        radial-gradient(
            circle at 50% 35%,
            #fff8ef 0,
            #efe0d1 68%
        );
}

.social-card-placeholder img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    opacity: 0.85;
}

.social-card-placeholder i {
    color: #a17242;
    font-size: 48px;
}

.social-card-placeholder span {
    color: #79685f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
}


/* ============================================================
   PAGINATION
============================================================ */

.social-pagination {
    width: 100%;
    margin-top: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.social-page-number,
.social-page-arrow,
.social-page-dots {
    min-width: 39px;
    height: 39px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 11px;
}

.social-page-number,
.social-page-arrow {
    color: #64564f;
    background-color: white;
    border: 1px solid #e5d2bf;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.social-page-number:hover,
.social-page-arrow:hover {
    color: white;
    background-color: var(--social-red);
    border-color: var(--social-red);
    transform: translateY(-1px);
}

.social-page-number.active {
    color: white;
    background-color: var(--social-red);
    border-color: var(--social-red);
}

.social-page-arrow.disabled {
    color: #b9aca2;
    background-color: #f5eee7;
    border-color: #e9ded3;
    pointer-events: none;
}

.social-page-dots {
    color: #94877f;
}


/* ============================================================
   EMPTY
============================================================ */

.social-empty {
    width: 100%;
    padding: 70px 20px;
    text-align: center;
    background-color: white;
    border: 1px dashed #dcc4ad;
    border-radius: 15px;
}

.social-empty-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a36d31;
    border-radius: 50%;
    background-color: #f7e9d9;
}

.social-empty-icon i {
    font-size: 25px;
}

.social-empty h3 {
    margin: 0 0 7px;
    color: var(--social-red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: normal;
}

.social-empty p {
    margin: 0;
    color: var(--social-muted);
    font-size: 12px;
}


/* ============================================================
   <= 1570px
============================================================ */

@media only screen and (max-width: 1570px) {

    .social-container {
        width: 1160px;
    }

    .social-hero {
        height: 390px;
    }

    .social-feed-grid {
        gap: 16px;
    }

    .social-section-head h1 {
        font-size: 36px;
    }
}


/* ============================================================
   <= 1260px
============================================================ */

@media only screen and (max-width: 1260px) {

    .social-container {
        width: 840px;
    }

    .social-hero {
        height: 330px;
    }

    .social-accounts-section {
        padding: 40px 0 35px;
    }

    .social-feed-section {
        padding: 38px 0 58px;
    }

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

    .social-section-head h1 {
        font-size: 33px;
    }

    .social-section-head p {
        width: 590px;
        font-size: 13px;
    }

    .social-feed-head h2 {
        font-size: 30px;
    }
}


/* ============================================================
   <= 900px
============================================================ */

@media only screen and (max-width: 900px) {

    .social-container {
        width: 680px;
    }

    .social-hero {
        height: 300px;
    }

    .social-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-account-link {
        min-width: 180px;
    }
}


/* ============================================================
   <= 720px
============================================================ */

@media only screen and (max-width: 720px) {

    .social-container {
        width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .social-hero {
        height: 360px;
    }

    .social-hero-image {
        object-position: center;
    }

    .social-accounts-section {
        padding: 34px 0 29px;
    }

    .social-section-head {
        margin-bottom: 23px;
    }

    .social-eyebrow {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .social-section-head h1 {
        font-size: 29px;
    }

    .social-section-head p {
        margin-top: 12px;
        font-size: 12px;
    }

    .social-account-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .social-account-link {
        min-width: 0;
        min-height: 54px;
        padding: 6px 8px;
        grid-template-columns: 38px minmax(0, 1fr) 24px;
        gap: 7px;
    }

    .social-account-logo {
        width: 38px;
        height: 38px;
    }

    .social-account-logo img {
        width: 22px;
        height: 22px;
    }

    .social-feed-section {
        padding: 31px 0 45px;
    }

    .social-feed-head {
        margin-bottom: 18px;
    }

    .social-feed-head h2 {
        font-size: 27px;
    }

    .social-post-count {
        font-size: 10px;
    }

    .social-feed-grid {
        gap: 9px;
    }

    .social-card-media {
        border-radius: 11px;
    }

    .social-card-platform {
        width: 38px;
        height: 38px;
        top: 9px;
        left: 9px;
    }

    .social-page-mirror .social-card-platform {
        left: auto;
        right: 9px;
    }

    .social-card-platform img {
        width: 21px;
        height: 21px;
    }

    .social-card-play {
        width: 47px;
        height: 47px;
    }

    .social-card-play i {
        font-size: 15px;
    }

    .social-card-open {
        left: 10px;
        right: 10px;
        bottom: 10px;
        font-size: 9px;
    }

    .social-pagination {
        margin-top: 31px;
        gap: 5px;
    }

    .social-page-number,
    .social-page-arrow,
    .social-page-dots {
        min-width: 35px;
        height: 35px;
        font-size: 10px;
    }
}


/* ============================================================
   <= 480px
============================================================ */

@media only screen and (max-width: 480px) {

    .social-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .social-hero {
        height: 335px;
    }

    .social-section-head h1 {
        font-size: 27px;
    }

    .social-account-list {
        grid-template-columns: 1fr;
    }

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

    .social-feed-head {
        align-items: flex-start;
    }

    .social-card-platform {
        width: 34px;
        height: 34px;
    }

    .social-card-platform img {
        width: 19px;
        height: 19px;
    }

    .social-card-open span {
        display: none;
    }

    .social-card-open {
        justify-content: flex-end;
    }

    .social-card-placeholder img {
        width: 48px;
        height: 48px;
    }

    .social-card-placeholder span {
        font-size: 12px;
    }
}
