/* AUDIT-D1+D3: responsive scale collapsed to 7 canonical widths and the
   phantom "Inter" family replaced with a deterministic system stack.
   Canonical max-width tokens: 520 620 720 760 900 1020 1180.
   Reference only - CSS custom properties cannot be used inside @media:
     --do-bp-sm:520px  --do-bp-md:620px  --do-bp-tab:720px
     --do-bp-tablet:760px --do-bp-lg:900px --do-bp-xl:1020px
     --do-bp-2xl:1180px
   Add new components at an existing token; do not introduce a new
   threshold. 720 and 760 are intentionally distinct.
/* Guide detail article — constrain the reading column. */
.do14-detail { max-width: 760px; }
.do14-detail > h1 {
    max-width: 720px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
}
.do14-detail > .do14-lead,
.do14-detail > .do14-prose,
.do14-detail > .do14-offers,
.do14-detail > .do14-related-guide,
.do14-detail > .do-cta-box,
.do14-detail > .do14-finder-cta {
    max-width: 720px;
}
.do14-detail > .do14-prose p,
.do14-detail > .do14-prose ul,
.do14-detail > .do14-prose ol,
.do14-detail > .do14-prose blockquote {
    max-width: 100%;
}

/* Sidebar widgets inside guide detail pages. */
.do14-widget-toc .do14-widget-list,
.do14-widget-related .do14-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.do14-widget-toc .do14-widget-item a,
.do14-widget-related .do14-widget-item a {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.do14-widget-toc .do14-widget-item:last-child a,
.do14-widget-related .do14-widget-item:last-child a {
    border-bottom: 0;
}
.do14-widget-toc .do14-widget-item a:hover,
.do14-widget-related .do14-widget-item a:hover {
    text-decoration: underline;
}

/* Sticky sidebar on wide screens, static on mobile. */
@media (min-width:960px) {
    .do14-shell .do14-sidebar-col {
        position: sticky;
        top: 24px;
        align-self: start;
        max-height: calc(100vh - 48px);
        overflow-y: auto;
    }
}

/* ===== Guide archive cards — mobile-first, aspect-locked ===== */
.do13-grid.do13-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.do13-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #fffaf2;
    border: 1px solid #e7e0d5;
    text-decoration: none;
    color: inherit;
}
.do13-card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1ece3;
}
.do13-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.do13-card-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.do13-card-body h3 {
    font-size: 17px;
    line-height: 1.25;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.do13-card-body p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    opacity: .8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.do13-card .do13-eyebrow {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: .7;
}

/* Tablet — two columns */
@media (max-width:1020px) {
    .do13-grid.do13-grid-3,
    .do13-grid.do13-grid-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Mobile — single column, capped media height */
@media (max-width:620px) {
    .do13-grid.do13-grid-3,
    .do13-grid.do13-grid-5,
    .do13-grid.do13-grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .do13-card-media {
        aspect-ratio: 16 / 9;
    }
    .do13-card-body {
        padding: 12px 14px 16px;
    }
    .do13-card-body h3 {
        font-size: 16px;
        -webkit-line-clamp: 2;
    }
    .do13-card-body p {
        font-size: 13.5px;
        -webkit-line-clamp: 2;
    }
}

/* ===== v1.4.5 SEO blocks: visible FAQ + preset intro + compare H1 ===== */
.do14-faq {
    max-width: 720px;
    margin: 32px 0 8px;
}
.do14-faq h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px;
}
.do14-faq-item {
    border: 1px solid #e7e0d5;
    border-radius: 10px;
    background: #fffaf2;
    margin: 0 0 8px;
    padding: 0 16px;
}
.do14-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 12px 0;
    list-style: none;
}
.do14-faq-item summary::-webkit-details-marker { display: none; }
.do14-faq-item[open] summary { border-bottom: 1px solid #e7e0d5; }
.do14-faq-answer p {
    margin: 12px 0;
    line-height: 1.6;
}
.do-finder-preset-intro {
    max-width: 720px;
    margin: 24px 0 0;
    line-height: 1.65;
}
.do-compare-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3.4vw, 34px);
    line-height: 1.2;
    margin: 0 0 10px;
}
.do-photo-needed {
    /* G1 1.1 safety net: development photo-request blocks must never surface
       to visitors even if markup momentarily bypasses the stripper. The
       owner can re-enable them for auditing via the DatesOracle Settings
       → "Development photo placeholders" toggle (inline override). */
    display: none;
    padding: 24px;
    margin: 20px 0;
    border: 2px dashed #CDBDA8;
    border-radius: 10px;
    background: #FFFDF9;
    color: #8A7A66;
    font: 600 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: center;
}
.do-medical-disclaimer {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin: 20px 0;
    padding: 14px 16px;
    border: 1px solid #e7e0d5;
    border-left: 3px solid #c9a227;
    border-radius: 8px;
    background: #fffaf2;
    color: #6b5a45;
    font: 500 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.do-medical-disclaimer strong {
    color: #5a4a35;
}

/* ===== v1.5 GEO: quick answer, byline, noscript finder ===== */
.do14-detail .do-quick-answer {
    max-width: 720px;
    margin: 20px 0 28px;
    padding: 14px 18px;
    border: 1px solid #dfd6c6;
    border-left: 4px solid #5E7355;
    border-radius: 8px;
    background: #fbf7ee;
    color: #3A2417;
    font: 500 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.do-quick-answer-label {
    display: block;
    margin-bottom: 4px;
    font: 700 10px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #5E7355;
}
.do14-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
    margin: 10px 0 0;
    color: #6B5F52;
    font: 600 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.do14-byline-author {
    color: #3A2417;
    font-weight: 700;
}
.do-finder-noscript {
    max-width: 720px;
    margin: 22px auto 6px;
    padding: 16px 18px;
    border: 1px dashed #CDBDA8;
    border-radius: 10px;
    background: #FFFDF9;
    color: #6B5F52;
    font: 500 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.do-finder-noscript-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    color: #3A2417;
    margin: 0 0 6px;
    line-height: 1.3;
}
.do-finder-noscript a { color: #3A2417; font-weight: 700; }

/* v1.8.3 P0-3: visible breadcrumb trail (GEO hardening). */
.do14-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;line-height:1.5;padding:12px 0}
.do14-crumb{color:#7a5c3a;text-decoration:none}
.do14-crumb:hover{text-decoration:underline}
.do14-crumb-sep{color:#b5a27f;user-select:none}
.do14-crumb-current{color:#2f2a22;font-weight:600}
[dir="rtl"] .do14-breadcrumbs{flex-direction:row-reverse}
