/* Shared top recommendation block used by rented / BestLinks service landing pages */
.serviceReco,
.lbx {
    font-family: 'Assistant', Arial, sans-serif;
    max-width: 820px;
    margin: 12px auto 26px;
    color: #1f2d3a;
    text-align: right;
}

.serviceReco *,
.lbx * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.serviceReco h2,
.lbx h2 {
    font-size: 26px;
    line-height: 1.4;
    font-weight: 800;
    color: #1a2b3c;
    margin-bottom: 6px;
}

.serviceReco-underline,
.lbx-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #e33464, #ff7ba1);
    border-radius: 4px;
    margin-bottom: 16px;
}

.serviceReco p,
.lbx p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 14px;
    color: #2a3b4c;
}

.serviceReco b,
.lbx b {
    color: #00416C;
}

.serviceReco-reco,
.lbx-reco {
    font-size: 18px;
    line-height: 1.8;
    background: linear-gradient(135deg, #fff6f9 0%, #f7fafd 100%);
    border: 1px solid #f3d3de;
    border-right: 5px solid #e33464;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 16px;
    box-shadow: 0 3px 14px rgba(227, 52, 100, .07);
}

.serviceReco a,
.lbx a {
    color: #e33464;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.serviceReco-btn,
.lbx-btn {
    display: inline-block;
    background: #e33464;
    color: #fff !important;
    font-weight: 800;
    font-size: 16.5px;
    padding: 8px 26px;
    border-radius: 24px;
    text-decoration: none;
    margin: 0 2px;
    box-shadow: 0 3px 10px rgba(227, 52, 100, .35);
    vertical-align: middle;
}

.serviceReco-btn:hover,
.lbx-btn:hover {
    background: #c92a55;
}

.lbx-code {
    background: #e33464;
    color: #fff;
    font-weight: 800;
    padding: 2px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* BestLinks-owned service theme (not a rental block) */
.serviceReco.theme-bestlinks .serviceReco-underline {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.serviceReco.theme-bestlinks .serviceReco-reco {
    background: linear-gradient(135deg, #f3f8fd 0%, #f7f3fb 100%);
    border-color: #c9dcea;
    border-right-color: var(--primary);
    box-shadow: 0 3px 14px rgba(2, 122, 202, .08);
}

.serviceReco.theme-bestlinks a {
    color: var(--primary);
}

.serviceReco.theme-bestlinks .serviceReco-btn {
    background: var(--primary);
    box-shadow: 0 3px 10px rgba(2, 122, 202, .35);
}

.serviceReco.theme-bestlinks .serviceReco-btn:hover {
    background: #00416C;
}

.instagramFollowersPage .contentContainer > .lbx,
.instagramFollowersPage .contentContainer > .serviceReco,
.socialLikesPage .contentContainer > .serviceReco {
    margin-top: 40px;
}

/* Decorative header wave overlaps the rented hero CTA and steals clicks */
.rentedServicePage .sectionTopWave {
    display: none;
}

.rentedServicePage section.header,
.socialLikesPage section.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 240px;
    padding-bottom: 40px;
    gap: 20px;
}

.rentedServicePage section.header .headerText,
.socialLikesPage section.header .headerText {
    width: 100%;
    max-width: 860px;
    margin: 0;
    text-align: right;
}

.rentedServicePage section.header .headerText h1,
.socialLikesPage section.header .headerText h1 {
    font-size: 38px;
    line-height: 1.15;
}

.rentedServicePage section.header .sectionTopImage,
.socialLikesPage section.header .sectionTopImage {
    position: relative;
    right: auto;
    bottom: auto;
    width: 180px;
    flex-shrink: 0;
}

.rentedServicePage section.header .sectionTopImage img,
.socialLikesPage section.header .sectionTopImage img {
    width: 100%;
    display: block;
}

.rentedServicePage section.header .serviceReco-reco,
.rentedServicePage section.header p.rented-disclaimer {
    margin: 16px 0 0;
    color: #2a3b4c;
    text-align: right;
}

.rented-disclaimer__lead {
    display: block;
    font-weight: 800;
    font-size: 1.05em;
    margin-bottom: 8px;
    color: #e33464;
}

.rented-disclaimer__phone,
.rented-disclaimer__coupon {
    display: block;
    margin-top: 10px;
}

.rented-disclaimer__tel {
    font-weight: 800;
    color: #e33464;
    text-decoration: none;
}

.rented-close-cta__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 18px;
}

.rented-close-cta__phone {
    font-weight: 800;
    font-size: 20px;
    color: #e33464;
    text-decoration: none;
}

.socialLikesPage section.header .serviceReco-reco {
    margin: 16px 0 0;
    color: #2a3b4c;
    text-align: right;
    background: linear-gradient(135deg, #f3f8fd 0%, #f7f3fb 100%);
    border-color: #c9dcea;
    border-right-color: var(--primary);
    box-shadow: 0 3px 14px rgba(2, 122, 202, .08);
}

.socialLikesPage section.header .serviceReco-reco b {
    color: #00416C;
}

.socialLikesPage section.header .serviceReco-reco a {
    color: var(--primary);
}

.socialLikesPage section.header .serviceReco-btn {
    background: var(--primary);
    box-shadow: 0 3px 10px rgba(2, 122, 202, .35);
}

.socialLikesPage section.header .serviceReco-btn:hover {
    background: #00416C;
}

@media (max-width: 600px) {
    .serviceReco h2,
    .lbx h2 {
        font-size: 21px;
    }

    .serviceReco p,
    .lbx p {
        font-size: 16px;
    }

    .serviceReco-reco,
    .lbx-reco {
        font-size: 16.5px;
        padding: 16px 14px;
    }

    .serviceReco-btn,
    .lbx-btn {
        display: block;
        text-align: center;
        margin: 10px 0 4px;
    }
}

@media only screen and (min-width: 768px) {
    .rentedServicePage section.header,
    .socialLikesPage section.header {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 48px;
        gap: 32px;
    }

    .rentedServicePage section.header .headerText,
    .socialLikesPage section.header .headerText {
        flex: 1;
        min-width: 0;
        max-width: 640px;
    }

    .rentedServicePage section.header .sectionTopImage,
    .socialLikesPage section.header .sectionTopImage {
        width: 240px;
    }
}

@media only screen and (min-width: 1280px) {
    .rentedServicePage section.header,
    .socialLikesPage section.header {
        min-height: 400px;
        padding-bottom: 64px;
    }

    .rentedServicePage section.header .headerText,
    .socialLikesPage section.header .headerText {
        max-width: 720px;
    }

    .rentedServicePage section.header .headerText h1,
    .socialLikesPage section.header .headerText h1 {
        font-size: 58px;
    }

    .rentedServicePage section.header .sectionTopImage,
    .socialLikesPage section.header .sectionTopImage {
        width: 325px;
    }
}
