/* ==========================================================================
   Teeth Research Institute - split-test variant chrome.
   Loads alongside site.css. Adds the report furniture (masthead, findings,
   cited sources, red-flag list, verdict) and the Aura Glow image gallery.
   ========================================================================== */

:root {
    --inst: #0b2a4a;
    --inst-soft: #eef3f8;
    --alert: #c0261f;
    --alert-soft: #fdecea;
}

/* ---------- masthead ---------- */
.inst-bar {
    background: var(--inst);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}
.inst-bar .wrap-wide { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.inst-bar .adv { color: #9db6cf; }

.masthead { border-bottom: 2px solid var(--inst); background: #fff; }
.masthead .wrap-wide { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; gap: 16px; }
.masthead .mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.masthead .seal {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--inst); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: -0.02em;
    flex: 0 0 auto;
}
.masthead .name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.1; color: var(--inst); letter-spacing: -0.02em; }
.masthead .sub { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.masthead .meta { font-size: 12px; color: var(--muted); text-align: right; line-height: 1.5; }

/* ---------- report header ---------- */
.report-head { background: var(--inst-soft); border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.report-tag {
    display: inline-block; background: var(--alert); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 6px 11px; border-radius: 3px; margin-bottom: 14px;
}
.report-head h1 { font-size: 42px; line-height: 1.12; margin: 0 0 14px; color: var(--inst); }
.report-head h1 em { font-style: normal; color: var(--alert); }
.report-head .standfirst { font-size: 19px; line-height: 1.55; color: #33455a; margin: 0 0 18px; }
.report-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); border-top: 1px solid #d8e2ec; padding-top: 14px; }
.report-meta b { color: var(--inst); font-weight: 700; }

/* ---------- findings ---------- */
.finding { border-top: 2px solid var(--inst); padding-top: 8px; margin: 38px 0 0; }
.finding .label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--alert); }
.finding h2 { margin: 6px 0 14px; font-size: 28px; line-height: 1.24; color: var(--inst); }

/* ---------- evidence + citations ---------- */
.evidence {
    background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--inst);
    border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; margin: 24px 0;
}
.evidence .eh { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--inst); margin: 0 0 8px; }
.evidence p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.evidence p:last-child { margin-bottom: 0; }
.evidence .fig { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--alert); }

.sources { margin: 26px 0; padding: 18px 20px; background: var(--bg); border-radius: var(--radius); }
.sources h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sources li { font-size: 14px; line-height: 1.6; color: var(--muted); padding-left: 18px; position: relative; margin-bottom: 7px; }
.sources li:before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--inst); }

/* ---------- red flags ---------- */
.flags { margin: 24px 0; }
.flags li {
    background: var(--alert-soft); border-left: 4px solid var(--alert);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 18px; margin-bottom: 12px;
}
.flags h3 { margin: 0 0 6px; font-size: 18px; color: var(--alert); }
.flags p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }

/* ---------- verdict ---------- */
.verdict { border: 2px solid var(--inst); border-radius: var(--radius); padding: 24px; margin: 34px 0; background: #fff; }
.verdict .vh { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--inst); margin: 0 0 10px; }
.verdict h3 { margin: 0 0 12px; font-size: 23px; line-height: 1.3; color: var(--inst); }
.verdict p { margin: 0 0 12px; font-size: 16px; line-height: 1.62; }
.verdict p:last-child { margin-bottom: 0; }

/* ---------- Aura imagery ---------- */
.kit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.kit-grid figure { margin: 0; text-align: center; }
.kit-grid img { border: 1px solid var(--line); border-radius: var(--radius); background: #eaf0f6; width: 100%; }
.kit-grid figcaption { font-size: 13px; font-weight: 700; color: var(--inst); margin-top: 8px; line-height: 1.35; }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; align-items: center; }
.showcase img { border-radius: var(--radius); }

.vid { margin: 26px 0; }
.vid video { width: 100%; border-radius: var(--radius); display: block; background: #000; }
.vid figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.brandline { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; }
.brandline img { width: 52px; height: 52px; border-radius: 10px; }
.brandline div { font-size: 15px; color: var(--muted); line-height: 1.5; }
.brandline b { display: block; font-family: 'Poppins', sans-serif; font-size: 19px; color: var(--inst); }

/* ---------- disclosure strip so the ad status is never ambiguous ---------- */
.adnote {
    background: #fff8e6; border: 1px solid #f0dcae; border-radius: var(--radius);
    padding: 14px 16px; margin: 22px 0; font-size: 14px; line-height: 1.6; color: #6b5626;
}
.adnote b { color: #5a4718; }

@media only screen and (max-width: 767px) {
    .masthead .wrap-wide { flex-direction: column; align-items: flex-start; gap: 10px; }
    .masthead .meta { text-align: left; }
    .inst-bar .wrap-wide { height: auto; padding-top: 7px; padding-bottom: 7px; font-size: 10px; gap: 10px; }
    .report-head h1 { font-size: 29px; }
    .report-head .standfirst { font-size: 17px; }
    .finding h2 { font-size: 23px; }
    .kit-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase { grid-template-columns: 1fr; }
    .verdict { padding: 18px; }
    .verdict h3 { font-size: 20px; }
}

/* ---------- two-column report hero: image beside the headline ---------- */
.rh { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: center; }
.rh-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.rh-media .cap { font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
@media only screen and (max-width: 980px) {
    .rh { grid-template-columns: 1fr; gap: 20px; }
    .rh-media { order: 2; }
}

/* ---------- louder, red assessment box for the warning variants ---------- */
.verdict.negative {
    border: 3px solid var(--alert);
    background: linear-gradient(180deg, #fff6f5 0%, #fff 62%);
    box-shadow: 0 10px 34px rgba(192, 38, 31, 0.16);
    padding: 30px;
    position: relative;
}
.verdict.negative .vh {
    display: inline-block;
    background: var(--alert);
    color: #fff;
    padding: 6px 12px;
    border-radius: 3px;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
}
.verdict.negative h3 {
    color: var(--alert);
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.verdict.negative p { font-size: 17px; }

/* commission line under the closing report note */
.soldnote { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 6px; }

/* ---------- keep the stacked hero aligned with the article column ---------- */
@media only screen and (max-width: 980px) {
    .rh-media { max-width: 720px; margin-left: auto; margin-right: auto; width: 100%; }
}
@media only screen and (max-width: 767px) {
    .verdict.negative { padding: 20px; }
    .verdict.negative h3 { font-size: 24px; }
}

/* ---------- question-led review sections ---------- */
.qa { border-top: 2px solid var(--inst); padding-top: 26px; margin: 42px 0 0; }
.qa > h2 { margin: 0 0 6px; font-size: 30px; line-height: 1.22; color: var(--inst); }
.qa .short {
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px;
    color: var(--alert); margin: 0 0 16px;
}
.qa .short.yes { color: #157a3a; }
.qa figure { margin: 18px 0; }
.qa figure img { border-radius: var(--radius); width: 100%; }
.qa figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.qa .pitch {
    background: var(--inst-soft); border-left: 4px solid var(--inst);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 18px; margin: 20px 0; font-size: 17px; line-height: 1.6;
}
.qa .pitch b { color: var(--inst); }
.qa .cta-inline { margin: 20px 0 0; }

.ratebar { margin: 20px 0; }
.ratebar li { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.ratebar li:last-child { border-bottom: 0; }
.ratebar .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: #e6ecf2; overflow: hidden; }
.ratebar .bar i { display: block; height: 100%; background: var(--inst); }
.ratebar li.low .bar i { background: var(--alert); }
.ratebar b { font-family: 'Poppins', sans-serif; color: var(--inst); }
.ratebar li.low b { color: var(--alert); }

@media only screen and (max-width: 767px) {
    .qa > h2 { font-size: 24px; }
    .qa .pitch { font-size: 16px; }
}

/* portrait or square images inside a question section: do not upscale them
   to the full article column, which blurs them and pushes the answer offscreen */
.qa figure.small { max-width: 360px; margin-left: auto; margin-right: auto; }
.qa figure.small img { width: 100%; }
