/* second-opinion.css — additive only. Everything else reuses app.css classes. */

.so-hospital-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 34px;
}
.so-hospital-row span {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    color: var(--green-dark);
    opacity: 0.75;
}

.so-media-frame {
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    background: var(--cream-dark);
}
.so-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.so-check-list {
    list-style: none;
    display: grid;
    gap: 14px;
}
.so-check-list li {
    padding-left: 30px;
    position: relative;
    color: var(--cream-text);
    font-size: 14.5px;
    line-height: 1.6;
}
.so-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
        center/70% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
        center/70% no-repeat;
}
.so-check-list--dark li {
    color: rgba(248, 244, 237, 0.75);
}

.so-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}
.so-compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    background: var(--white);
}
.so-compare th,
.so-compare td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-cream);
    font-size: 14.5px;
}
.so-compare thead th {
    background: var(--green-deep);
    color: var(--cream);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    font-weight: 700;
}
.so-compare tbody tr:nth-child(odd) {
    background: var(--cream);
}
.so-compare td.so-yes {
    color: var(--green-rich);
    font-weight: 700;
}
.so-compare td.so-yes::before {
    content: "\2713  ";
    color: var(--gold);
}
.so-compare td.so-no {
    color: rgba(107, 94, 78, 0.55);
}

.so-testi-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.so-testi-card {
    background: var(--white);
    border: 1px solid var(--border-cream);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}
@media (max-width: 700px) {
    .so-testi-track {
        grid-template-columns: 1fr;
    }
}
.so-testi-quote {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    color: var(--green-dark);
    line-height: 1.5;
    margin-bottom: 16px;
}
.so-testi-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--green-dark);
}
.so-testi-meta {
    font-size: 12px;
    color: var(--cream-text);
    margin-top: 2px;
}

.so-specialty-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 32px;
}
.so-specialty-grid .res-card {
    text-align: center;
}
.so-specialty-grid .res-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .so-specialty-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .so-specialty-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Paired 2-column rows (What is it + Why experts / Specialties + Data / Form + FAQ) ── */
.so-pair-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}
.so-pair-row--top {
    align-items: start;
}
@media (max-width: 900px) {
    .so-pair-row {
        grid-template-columns: 1fr;
    }
}

/* ── Full-width sections: cap content so it doesn't stretch edge-to-edge unreadably ── */
.so-full-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Hospital row, left-aligned variant for the paired layout ── */
.so-hospital-row--left {
    justify-content: flex-start;
    margin-top: 8px;
}

/* ── Specialties grid inside the paired row: 2 columns instead of 4 ── */
.so-specialty-grid--2col {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
}
@media (max-width: 560px) {
    .so-specialty-grid--2col {
        grid-template-columns: 1fr;
    }
}

/* ── Stats quad compacted to sit under paragraph text in the paired row ── */
.so-stats-quad-compact {
    margin-top: 24px;
}

/* ── Dark card wrapping Data/Trust content when paired beside Specialties ── */
.so-pair-dark-card {
    background: var(--green-deep);
    border-radius: 16px;
    padding: clamp(28px, 3vw, 40px);
}
.so-pair-dark-card .s-sub,
.so-pair-dark-card p {
    color: rgba(248, 244, 237, 0.6);
}

/* ── Data/trust image stacked below the checklist instead of beside it ── */
.so-media-frame--stacked {
    margin-top: 24px;
    min-height: 220px;
}

/* ── FAQ single column when paired beside the inquiry form ── */
.so-faq-grid--1col {
    grid-template-columns: 1fr;
    gap: 12px;
}

/* ── Whole page now full-width: constrain paired-row content to a sane
   max so text/table columns don't stretch unreadably on ultra-wide screens ── */
.so-pair-row {
    max-width: 1600px;
    margin-inline: auto;
}

/* ── Testimonials stacked single column when paired beside the comparison table ── */
.so-testi-track--1col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
