/* Screening test landing pages (template-screening-test.php) */

.screening-content {
    padding: 48px 20px 72px;
}

.screening-container {
    max-width: 760px;
    margin: 0 auto;
    color: #1e1e1e;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.screening-title {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.screening-intro {
    font-size: 1.1875rem;
    line-height: 1.65;
    color: #333;
    margin-bottom: 28px;
}

.screening-section {
    margin: 36px 0;
}

.screening-section h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 14px;
}

.screening-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 24px 0 10px;
}

.screening-container p {
    margin: 0 0 16px;
}

.screening-container ul,
.screening-container ol {
    margin: 0 0 16px;
    padding-left: 1.4em;
}

.screening-container li {
    margin-bottom: 8px;
}

.screening-container a {
    color: #0f7d40;
    text-decoration: underline;
    font-weight: 600;
}

.screening-container a:hover {
    color: #0a5c2f;
}

/* Hero image */
.screening-hero {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 0 0 28px;
}

/* CTA buttons */
.screening-cta-row {
    margin: 8px 0 36px;
    text-align: center;
}

.screening-cta {
    display: inline-block;
    background: #0f7d40;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.0625rem;
    padding: 14px 28px;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.screening-cta:hover {
    background: #0a5c2f;
    color: #fff !important;
}

/* Static map preview -> /find-a-clinic (no live map loaded) */
.screening-mappreview {
    display: block;
    position: relative;
    margin: 44px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
    text-decoration: none !important;
    aspect-ratio: 16 / 9;
}

.screening-mappreview__map {
    position: absolute;
    inset: 0;
    /* Swap in a real /find-a-clinic screenshot later:
       background: url(...) center/cover no-repeat;  (then hide .screening-mappreview__svg) */
}

.screening-mappreview__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.screening-mappreview__search {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 260px;
    background: #fff;
    color: #80868b;
    font-size: 0.9375rem;
    padding: 9px 16px;
    border-radius: 999px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.screening-mappreview__pin {
    position: absolute;
    transform: translate(-50%, -100%);
    line-height: 0;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

.screening-mappreview__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 58%);
}

.screening-mappreview__title {
    color: #fff;
    font-weight: 700;
    font-size: 1.3125rem;
    margin-bottom: 14px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.screening-mappreview__btn {
    display: inline-block;
    background: #0f7d40;
    color: #fff;
    font-weight: 700;
    font-size: 1.0625rem;
    padding: 13px 28px;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.screening-mappreview:hover .screening-mappreview__btn {
    background: #0a5c2f;
}

/* FAQ */
.screening-faq {
    margin: 44px 0;
}

.screening-faq-item {
    border-bottom: 1px solid #e2e2e2;
    padding: 4px 0;
}

.screening-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.0625rem;
    padding: 14px 0;
    list-style: none;
    position: relative;
    padding-right: 28px;
}

.screening-faq-item summary::-webkit-details-marker {
    display: none;
}

.screening-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 12px;
    font-size: 1.4rem;
    font-weight: 400;
    color: #0f7d40;
    line-height: 1;
}

.screening-faq-item[open] summary::after {
    content: "\2212"; /* minus */
}

.screening-faq-answer {
    padding: 0 0 16px;
    color: #444;
}

/* Final CTA block */
.screening-final-cta {
    background: #f0faf3;
    border: 1px solid #cdeed8;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    margin: 44px 0 32px;
}

.screening-final-cta p {
    font-size: 1.1875rem;
    font-weight: 600;
    margin: 0 0 18px;
}

/* Disclaimer + sources */
.screening-disclaimer {
    font-size: 0.875rem;
    color: #757575;
    font-style: italic;
    border-top: 1px solid #ececec;
    padding-top: 20px;
    margin-top: 8px;
}

.screening-sources {
    font-size: 0.875rem;
    color: #666;
    margin-top: 16px;
}

.screening-sources h3 {
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    margin: 0 0 8px;
}

.screening-sources ul {
    padding-left: 1.2em;
    margin: 0;
}

@media (max-width: 600px) {
    .screening-content {
        padding: 28px 16px 56px;
    }
    .screening-title {
        font-size: 1.75rem;
    }
    .screening-intro {
        font-size: 1.0625rem;
    }
    .screening-section h2 {
        font-size: 1.3rem;
    }
}
