/* Cleaning guides (guides/*.html) */
.guide-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 130% at 92% 0%, rgba(214, 0, 156, 0.4), transparent 62%),
        radial-gradient(45% 90% at 0% 100%, rgba(239, 151, 192, 0.16), transparent 60%),
        #2b2528;
    color: #fff;
    padding: 64px 0 56px;
}

/* Leaves room for .guide-figure to overlap the bottom of the header */
.guide-hero--figure {
    padding-bottom: 168px;
}

.guide-hero .container {
    max-width: 820px;
    padding: 0 16px;
}

.guide-hero .hero-breadcrumb {
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

.guide-hero .hero-breadcrumb a,
.guide-hero .hero-breadcrumb span {
    color: #f6d3e4;
}

.guide-hero .hero-breadcrumb a {
    text-decoration: none;
}

.guide-hero .hero-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.guide-kicker {
    display: inline-block;
    margin: 22px 0 0;
    padding: 5px 14px;
    border: 1px solid rgba(246, 211, 228, 0.45);
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
    color: #f6d3e4;
}

.guide-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 1.35rem + 2.7vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
    margin: 16px 0 18px;
    color: #fff;
}

.guide-hero .guide-meta {
    color: #e8e1e4;
    font-size: 0.9375rem;
    margin: 0;
}

.guide-figure {
    position: relative;
    z-index: 1;
    aspect-ratio: 2/1;
    margin: -152px 0 36px;
    border-radius: 20px;
    overflow: hidden;
    background: #f6f1f3;
    box-shadow: 0 30px 60px -30px rgba(43, 37, 40, 0.55);
}

.guide-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-body {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 16px 72px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #3a3336;
}

.guide-body p,
.guide-body li,
.guide-body dd {
    color: inherit;
}

.guide-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.9rem);
    line-height: 1.25;
    color: #2b2528;
    margin: 2.6em 0 0.6em;
    scroll-margin-top: 110px;
    text-wrap: balance;
}

.guide-body h2::before {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-bottom: 0.7em;
    border-radius: 2px;
    background: linear-gradient(90deg, #d6009c, #ef97c0);
}

.guide-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 1.8em 0 0.5em;
    color: #2b2528;
}

.guide-body a:not(.btn) {
    color: #b0306b;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.guide-body a:not(.btn):hover {
    color: #d6009c;
    text-decoration-thickness: 2px;
}

.guide-body ul:not([class]) {
    padding-left: 1.25em;
}

.guide-body ul:not([class]) li {
    margin: 0.55em 0;
    padding-left: 0.25em;
}

.guide-body ul:not([class]) li::marker {
    color: #d6009c;
}

.guide-answer {
    background: linear-gradient(180deg, #fff6fa, #fdeef5);
    border: 1px solid #f6d3e4;
    border-radius: 16px;
    padding: 26px 28px;
    margin: 0 0 24px;
}

.guide-answer p {
    margin: 0;
}

/* "Short answer:" lead-in */
.guide-answer p > strong:first-child {
    display: block;
    margin-bottom: 0.6em;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b0306b;
}

.guide-toc {
    margin: 0 0 8px;
}

.guide-toc-title {
    margin: 0 0 10px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b6468;
}

.guide-body .guide-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.guide-body .guide-toc li {
    margin: 0;
    padding: 0;
}

.guide-body .guide-toc a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #ece4e8;
    border-radius: 999px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #3a3336;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.guide-body .guide-toc a:hover {
    border-color: #ef97c0;
    background: #fff6fa;
    color: #b0306b;
}

.guide-table-wrap {
    overflow-x: auto;
    margin: 20px 0 28px;
    border: 1px solid #ece4e8;
    border-radius: 14px;
    background: #fff;
}

.guide-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.guide-table th,
.guide-table td {
    border: 0;
    border-bottom: 1px solid #f0e9ec;
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.guide-table tbody tr:last-child > * {
    border-bottom: 0;
}

.guide-table thead th {
    background: #fbf3f7;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2b2528;
}

.guide-table tbody th {
    font-weight: 600;
    color: #2b2528;
}

.guide-table tbody tr:nth-child(even) {
    background: #fdfafb;
}

.guide-checklist {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 20px;
}

.guide-checklist li {
    position: relative;
    padding-left: 32px;
    margin: 0 0 10px;
    break-inside: avoid;
}

.guide-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cf7fa6;
    border-radius: 5px;
    background: #fff;
}

@media (min-width: 700px) {
    .guide-checklist {
        columns: 2;
        column-gap: 40px;
    }
}

.guide-note {
    background: #faf6f8;
    border: 1px solid #f0e9ec;
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.guide-faq {
    padding: 0;
    margin-top: 56px;
}

.guide-faq h2 {
    margin-top: 0;
}

.guide-faq h3 {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #ece4e8;
    font-size: 1.0625rem;
}

.guide-faq p {
    margin: 0.4em 0 20px;
}

.guide-faq p:last-child {
    margin-bottom: 0;
}

.guide-sources {
    padding: 24px 0 0;
    margin-top: 48px;
    border-top: 1px solid #ece4e8;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #5c5657;
}

.guide-sources h2 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b6468;
    margin: 0 0 0.8em;
}

.guide-cta {
    background:
        radial-gradient(70% 150% at 100% 0%, rgba(214, 0, 156, 0.45), transparent 62%),
        #2b2528;
    color: #fff;
    border-radius: 20px;
    padding: 36px;
    margin: 48px 0;
}

.guide-cta h2 {
    color: #fff;
    font-size: 1.6rem;
    margin: 0 0 0.4em;
}

.guide-cta h2::before,
.guide-sources h2::before {
    display: none;
}

.guide-cta p {
    color: rgba(255, 255, 255, 0.84);
    margin: 0 0 12px;
}

.guide-cta a.btn {
    margin: 8px 10px 0 0;
    text-decoration: none;
}

/* Ghost button on the dark panel (the site default is pink text on a pink edge) */
.guide-cta .btn-secondary,
.guide-cta .btn-secondary:hover {
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px !important;
    background: transparent;
    box-shadow: none;
    color: #fff;
    font-weight: 600;
}

.guide-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.guide-cta .btn-secondary::before,
.guide-cta .btn-secondary::after {
    display: none;
}

.guide-cta a:not(.btn) {
    color: #f6d3e4;
}

/* Service selector */
.service-selector {
    border: 1px solid #f1cfe0;
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0 8px;
    background: #fff;
    box-shadow: 0 16px 36px -24px rgba(214, 0, 156, 0.4);
}

.service-selector fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 18px;
}

.service-selector fieldset[hidden] {
    display: none;
}

.service-selector legend {
    padding: 0;
    font-weight: 600;
    color: #2b2528;
    margin-bottom: 10px;
}

.service-selector label {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px 14px;
    margin-bottom: 8px;
    border: 1px solid #ece4e8;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.45;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.service-selector label:hover {
    border-color: #ef97c0;
    background: #fff8fb;
}

.service-selector label:has(input:checked) {
    border-color: #d6009c;
    background: #fdeef5;
}

.service-selector input[type="radio"] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #b0306b;
}

.service-selector-result {
    background: #fdeef5;
    border: 1px solid #f6d3e4;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0;
    font-weight: 600;
    color: #2b2528;
}

.service-selector-result:empty {
    display: none;
}

.guide-body :focus-visible,
.guide-cta :focus-visible,
.service-selector label:focus-within {
    outline: 3px solid #b0306b;
    outline-offset: 2px;
}

.guide-cta :focus-visible {
    outline-color: #fff;
}

.decision-guide {
    margin: 12px 0 0;
    border-top: 1px solid #f0e9ec;
}

.decision-guide dt {
    font-weight: 600;
    color: #2b2528;
    padding-top: 14px;
}

.decision-guide dd {
    margin: 2px 0 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0e9ec;
}

/* End-of-article links */
.guide-next {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid #ece4e8;
}

.guide-body .guide-next-back {
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.guide-body .guide-next-card {
    flex: 1 1 320px;
    max-width: 460px;
    padding: 18px 22px;
    border: 1px solid #ece4e8;
    border-radius: 16px;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #2b2528;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.guide-body .guide-next-card:hover {
    border-color: #ef97c0;
    box-shadow: 0 16px 36px -24px rgba(214, 0, 156, 0.45);
    color: #b0306b;
    text-decoration: none;
}

.guide-next-card span {
    display: block;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b0306b;
}

@media (max-width: 600px) {
    .guide-hero {
        padding: 44px 0 40px;
    }

    .guide-hero--figure {
        padding-bottom: 120px;
    }

    .guide-figure {
        aspect-ratio: 3/2;
        margin-top: -120px;
        margin-bottom: 28px;
        border-radius: 16px;
    }

    .guide-body {
        font-size: 1rem;
        padding-bottom: 56px;
    }

    .guide-answer {
        padding: 20px;
    }

    .guide-cta {
        padding: 26px 22px;
    }

    .guide-cta a.btn {
        display: block;
        margin-right: 0;
    }

    .service-selector {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guide-body a,
    .service-selector label {
        transition: none;
    }
}

@media print {
    .header,
    .footer-modern,
    .floating-call-btn,
    .service-selector,
    .guide-cta,
    .guide-figure,
    .guide-toc,
    .guide-next {
        display: none !important;
    }

    .guide-hero,
    .guide-hero--figure {
        background: none;
        color: #000;
        padding: 0;
    }

    .guide-hero h1 {
        color: #000;
    }

    .guide-hero .guide-meta,
    .guide-hero .hero-breadcrumb a,
    .guide-hero .hero-breadcrumb span,
    .guide-kicker {
        color: #333;
    }

    .guide-kicker {
        border-color: #999;
    }

    .guide-body {
        max-width: none;
        padding: 0;
    }
}
