body.friends-subpage-active .site-content {
    padding: 0;
}

body.friends-subpage-active .content-area {
    width: 100%;
    float: none;
    margin: 0;
}

.friends-page {
    padding-bottom: 96px;
    background: linear-gradient(180deg, #fdf7f0 0%, #ffffff 40%);
}

.friends-page-hero {
    padding: 68px 0 44px;
}

.friends-page-hero__eyebrow {
    color: #907f72;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.friends-page-hero__title {
    margin-top: 8px;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.friends-page-hero__lead {
    margin-top: 16px;
    max-width: 760px;
    color: var(--friends-muted);
    font-size: 16px;
}

.friends-page-section {
    margin-top: 28px;
}

.friends-page-section__title {
    margin-bottom: 14px;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.3;
    letter-spacing: 0.03em;
}

.friends-page-card {
    padding: 28px;
    border: 1px solid #f0e8df;
    border-radius: var(--friends-radius-md);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(16, 16, 16, 0.06);
}

.friends-page-note {
    margin-top: 14px;
    color: #85786e;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .friends-page-card {
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .friends-page {
        padding-bottom: 68px;
    }

    .friends-page-hero {
        padding: 44px 0 30px;
    }

    .friends-page-hero__lead {
        margin-top: 12px;
        font-size: 15px;
    }

    .friends-page-section {
        margin-top: 22px;
    }

    .friends-page-section__title {
        margin-bottom: 10px;
    }

    .friends-page-card {
        padding: 20px;
    }
}


/* Cancel unwanted global reset on subpages */
body.friends-subpage-active .page-header,
body.friends-subpage-active .sidebar .widget,
body.friends-subpage-active .site-main > * {
    margin-bottom: 0px !important;
}

body.friends-subpage-active .site-main > *:last-child {
    margin-bottom: 0 !important;
}


/* Remove GeneratePress site-main margin on subpages */
body.friends-subpage-active.separate-containers .site-main {
    margin: 0 !important;
}

body.friends-subpage-active.separate-containers.no-sidebar .site-main,
body.friends-subpage-active.separate-containers.both-right .site-main,
body.friends-subpage-active.separate-containers.right-sidebar .site-main,
body.friends-subpage-active.separate-containers.both-left .site-main,
body.friends-subpage-active.separate-containers.left-sidebar .site-main {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
