.esocial-page {
    --esocial-forest: #174b3f;
    --esocial-green: #2e8a71;
    --esocial-lime: #aed65c;
    --esocial-cream: #f4f1e8;
    --esocial-ink: #173a33;
    color: var(--esocial-ink);
    overflow: hidden;
}

.esocial-page img {
    display: block;
    max-width: 100%;
}

.esocial-page h1,
.esocial-page h2,
.esocial-page h3,
.esocial-page p {
    text-wrap: pretty;
}

.esocial-page h2 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.esocial-label,
.esocial-kicker {
    display: inline-block;
    color: var(--esocial-green);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.esocial-label {
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--esocial-forest);
    background: var(--esocial-lime);
}

.esocial-hero {
    padding: 82px 0;
    background: linear-gradient(110deg, var(--esocial-cream) 0 58%, #d6eee5 58%);
}

.esocial-hero-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 64px;
    align-items: center;
}

.esocial-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 5.8vw, 5.5rem);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.esocial-hero p {
    max-width: 620px;
    margin: 25px 0 30px;
    color: #557169;
    font-size: 1.1rem;
}

.esocial-hero-image {
    position: relative;
}

.esocial-hero-image::before {
    content: "";
    position: absolute;
    inset: 15px -15px -15px 15px;
    border-radius: 22px;
    background: var(--esocial-lime);
}

.esocial-hero-image img {
    position: relative;
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 24px 55px rgba(23, 75, 63, 0.18);
}

.esocial-documents,
.esocial-events,
.esocial-benefits {
    padding: 92px 0;
}

.esocial-documents {
    background: #ffffff;
}

.esocial-section-heading {
    max-width: 820px;
    margin-bottom: 45px;
}

.esocial-section-heading.text-center {
    margin-right: auto;
    margin-left: auto;
}

.esocial-section-heading .esocial-kicker {
    margin-bottom: 12px;
}

.esocial-section-heading > p {
    margin: 18px 0 0;
    color: #5c746d;
    font-size: 1.02rem;
}

.esocial-document-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.esocial-document-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-content: start;
    gap: 8px 16px;
    min-height: 245px;
    padding: 26px;
    border: 1px solid #dce8e3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(23, 75, 63, 0.07);
    transition: transform 0.2s, border-color 0.2s;
}

.esocial-document-card:hover {
    border-color: var(--esocial-green);
    transform: translateY(-4px);
}

.esocial-document-icon {
    grid-row: span 2;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    padding: 10px;
    border-radius: 14px;
    background: #e4f3ed;
}

.esocial-document-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.esocial-document-icon i {
    color: var(--esocial-green);
    font-size: 1.75rem;
    line-height: 1;
}

.esocial-document-card > span {
    align-self: end;
    color: var(--esocial-green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.esocial-document-card h3 {
    margin: 0;
    font-size: 1.03rem;
    font-weight: 800;
}

.esocial-document-card p {
    grid-column: 1 / -1;
    margin: 14px 0 0;
    color: #617971;
    font-size: 0.9rem;
}

.esocial-events {
    color: #ffffff;
    background: var(--esocial-forest);
}

.esocial-events .esocial-kicker {
    color: var(--esocial-lime);
}

.esocial-events .esocial-section-heading > p {
    color: #c6dad4;
}

.esocial-event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.esocial-event-card {
    padding: 30px;
    border-top: 7px solid var(--esocial-lime);
    border-radius: 14px;
    color: var(--esocial-ink);
    background: #ffffff;
}

.esocial-event-danger {
    border-color: #dc3545;
}

.esocial-event-warning {
    border-color: #ffc107;
}

.esocial-event-primary {
    border-color: #0d6efd;
}

.esocial-event-success {
    border-color: #198754;
}

.esocial-event-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.esocial-event-top img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.esocial-event-top strong {
    color: var(--esocial-green);
    font-size: 1.25rem;
}

.esocial-event-card h3 {
    margin: 0 0 9px;
    font-size: 1.22rem;
    font-weight: 800;
}

.esocial-event-card p {
    margin: 0;
    color: #617971;
}

.esocial-benefits {
    background: #e8e4d8;
}

.esocial-benefits-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.esocial-benefits .esocial-kicker {
    margin-bottom: 14px;
}

.esocial-benefit-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.esocial-benefit-list div {
    display: flex;
    min-height: 105px;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-left: 5px solid var(--esocial-lime);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 700;
}

.esocial-benefit-list i {
    color: var(--esocial-green);
    font-size: 1.5rem;
}

.esocial-cta {
    padding: 86px 0;
    color: #ffffff;
    background: linear-gradient(120deg, #176b5c, #2e8a71);
}

.esocial-cta .esocial-kicker {
    margin-bottom: 14px;
    color: var(--esocial-lime);
}

.esocial-cta p {
    margin: 20px auto 28px;
    font-size: 1.08rem;
    opacity: 0.9;
}

[data-bs-theme="dark"] .esocial-page {
    --esocial-cream: #101c19;
    --esocial-ink: #e2f1ec;
}

[data-bs-theme="dark"] .esocial-hero {
    background: linear-gradient(110deg, #101c19 0 58%, #173a33 58%);
}

[data-bs-theme="dark"] .esocial-hero p {
    color: #a9c1ba;
}

[data-bs-theme="dark"] .esocial-documents {
    background: #101c19;
}

[data-bs-theme="dark"] .esocial-benefits {
    background: #182522;
}

[data-bs-theme="dark"] .esocial-section-heading > p {
    color: #a9c1ba;
}

[data-bs-theme="dark"] .esocial-document-card,
[data-bs-theme="dark"] .esocial-event-card,
[data-bs-theme="dark"] .esocial-benefit-list div {
    color: #173a33;
}

@media (max-width: 991.98px) {
    .esocial-hero-grid,
    .esocial-benefits-grid {
        grid-template-columns: 1fr;
    }

    .esocial-document-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .esocial-hero-image {
        margin-top: 12px;
    }
}

@media (max-width: 767.98px) {
    .esocial-hero {
        padding: 65px 0;
        background: linear-gradient(165deg, var(--esocial-cream) 0 65%, #d6eee5 65%);
    }

    .esocial-documents,
    .esocial-events,
    .esocial-benefits,
    .esocial-cta {
        padding: 68px 0;
    }

    .esocial-document-grid,
    .esocial-event-grid,
    .esocial-benefit-list {
        grid-template-columns: 1fr;
    }

    .esocial-document-card {
        min-height: 0;
    }

    .esocial-hero-image::before {
        inset: 10px -8px -10px 8px;
    }

    [data-bs-theme="dark"] .esocial-hero {
        background: linear-gradient(165deg, #101c19 0 65%, #173a33 65%);
    }
}
