/* =========================================================
   PA BUNTOK
   TAUTAN MEDIA SOSIAL
   V2.0 — FONT AWESOME
========================================================= */


/* =========================================================
   WRAPPER
========================================================= */

.pa-sosmed-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;

    padding: 10px 28px 50px;

    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.pa-sosmed-heading {
    margin: 0 0 30px;
    padding: 0;
}


.pa-sosmed-eyebrow {
    display: inline-block;

    margin-bottom: 10px;
    padding: 7px 13px;

    border: 1px solid #d5e6de;
    border-radius: 999px;

    background: #ffffff;

    color: #08783f;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.3px;
    line-height: 1;

    text-transform: uppercase;
}


.pa-sosmed-heading h2 {
    margin: 0 0 9px;

    color: #111827;

    font-size: 30px;
    font-weight: 800;

    line-height: 1.2;
    letter-spacing: -0.5px;
}


.pa-sosmed-heading p {
    max-width: 780px;

    margin: 0;

    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   BANNER
========================================================= */

.pa-sosmed-banner {
    position: relative;

    width: 100%;

    margin: 0 0 30px;

    overflow: hidden;

    border-radius: 18px;

    background: #08783f;

    box-shadow:
        0 10px 30px rgba(15, 81, 50, 0.08);
}


.pa-sosmed-banner img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 300px;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.pa-sosmed-banner:hover img {
    transform: scale(1.015);
}


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

.pa-sosmed-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   SOCIAL CARD
========================================================= */

.pa-sosmed-card {
    position: relative;

    display: flex;
    align-items: center;

    min-width: 0;

    padding: 14px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dce7e2;
    border-radius: 15px;

    text-decoration: none !important;

    box-shadow:
        0 6px 20px rgba(15, 81, 50, 0.04);

    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* =========================================================
   SOCIAL ICON
========================================================= */

.pa-sosmed-icon {
    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 14px;

    border-radius: 13px;

    background: #edf7f1;

    color: #08783f;

    font-size: 25px;

    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}


/* =========================================================
   CONTENT
========================================================= */

.pa-sosmed-content {
    flex: 1;

    min-width: 0;

    padding-right: 42px;
}


.pa-sosmed-content h3 {
    margin: 0 0 4px;

    color: #111827;

    font-size: 16px;
    font-weight: 800;

    line-height: 1.3;

    letter-spacing: 0.1px;
}


.pa-sosmed-content span {
    display: block;

    color: #64748b;

    font-size: 12px;
    font-weight: 500;

    line-height: 1.5;
}


/* =========================================================
   ARROW
========================================================= */

.pa-sosmed-arrow {
    position: absolute;

    top: 50%;
    right: 14px;

    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #edf7f1;

    color: #08783f;

    font-size: 12px;

    transform: translateY(-50%);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}


/* =========================================================
   HOVER
========================================================= */

.pa-sosmed-card:hover {

    background: #fbfefd;

    border-color: #b8d9ca;

    box-shadow:
        0 10px 28px rgba(15, 81, 50, 0.09);

    transform: translateY(-3px);
}


.pa-sosmed-card:hover .pa-sosmed-icon {

    background: #08783f;

    color: #ffffff;

    transform: scale(1.04);
}


.pa-sosmed-card:hover .pa-sosmed-arrow {

    background: #08783f;

    color: #ffffff;

    transform:
        translate(3px, -50%);
}


/* =========================================================
   PLATFORM ACCENT
========================================================= */

/*
 * Kita tidak memakai warna platform yang terlalu mencolok.
 * Semua tetap mengikuti identitas visual PA Buntok.
 *
 * Class platform tetap tersedia kalau suatu saat
 * ingin memberi aksen khusus.
 */


/* =========================================================
   FOCUS
========================================================= */

.pa-sosmed-card:focus-visible {

    outline: 2px solid #08783f;

    outline-offset: 3px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .pa-sosmed-wrapper {
        padding: 8px 20px 40px;
    }


    .pa-sosmed-heading h2 {
        font-size: 27px;
    }


    .pa-sosmed-grid {
        gap: 14px;
    }


    .pa-sosmed-icon {

        flex-basis: 50px;

        width: 50px;
        height: 50px;

        margin-right: 12px;

        border-radius: 12px;

        font-size: 23px;
    }


    .pa-sosmed-content h3 {
        font-size: 15px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .pa-sosmed-wrapper {

        padding: 5px 12px 35px;
    }


    .pa-sosmed-heading {

        margin-bottom: 22px;
    }


    .pa-sosmed-eyebrow {

        margin-bottom: 9px;

        padding: 6px 11px;

        font-size: 9px;
    }


    .pa-sosmed-heading h2 {

        font-size: 22px;

        line-height: 1.25;

        letter-spacing: -0.3px;
    }


    .pa-sosmed-heading p {

        font-size: 13px;

        line-height: 1.6;
    }


    /* =====================================================
       BANNER
    ====================================================== */

    .pa-sosmed-banner {

        margin-bottom: 22px;

        border-radius: 13px;
    }


    .pa-sosmed-banner img {

        max-height: 220px;
    }


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

    .pa-sosmed-grid {

        grid-template-columns: 1fr;

        gap: 10px;
    }


    /* =====================================================
       CARD
    ====================================================== */

    .pa-sosmed-card {

        padding: 11px;

        border-radius: 11px;
    }


    /* =====================================================
       ICON
    ====================================================== */

    .pa-sosmed-icon {

        flex: 0 0 46px;

        width: 46px;
        height: 46px;

        margin-right: 12px;

        border-radius: 10px;

        font-size: 21px;
    }


    /* =====================================================
       CONTENT
    ====================================================== */

    .pa-sosmed-content {

        padding-right: 36px;
    }


    .pa-sosmed-content h3 {

        font-size: 14px;

        margin-bottom: 3px;
    }


    .pa-sosmed-content span {

        font-size: 11px;
    }


    /* =====================================================
       ARROW
    ====================================================== */

    .pa-sosmed-arrow {

        right: 11px;

        width: 25px;
        height: 25px;

        border-radius: 7px;

        font-size: 11px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .pa-sosmed-wrapper {

        padding-left: 8px;
        padding-right: 8px;
    }


    .pa-sosmed-heading h2 {

        font-size: 20px;
    }


    .pa-sosmed-card {

        padding: 10px;
    }


    .pa-sosmed-icon {

        flex-basis: 42px;

        width: 42px;
        height: 42px;

        margin-right: 10px;

        border-radius: 9px;

        font-size: 19px;
    }


    .pa-sosmed-content h3 {

        font-size: 13px;
    }


    .pa-sosmed-content span {

        font-size: 10px;
    }

}