/* =============================================================
 * Print stylesheet – dental-clinic theme
 * Enqueued via wp_enqueue_style with media="print"
 * ============================================================= */

/* ── Reset and base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-shadow: none !important;
    text-shadow: none !important;
}

body {
    font: 12pt Georgia, "Times New Roman", serif;
    color: #000;
    background: #fff;
}

/* ── Hide non-printable elements ───────────────────────────── */
.dc-header,
.dc-header__nav,
.dc-mobile-menu,
.dc-cookie-banner,
.dc-skip-link,
.dc-hero-anime,
.dc-cta-section,
footer .dc-footer__social,
.dc-btn,
button,
form,
iframe,
.dc-map-consent-placeholder {
    display: none !important;
}

/* ── Links ──────────────────────────────────────────────────── */
a,
a:visited {
    color: #000;
    text-decoration: underline;
}

/* Show full URL after inline links */
a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    word-break: break-all;
}

/* Don't expand hash links or JavaScript links */
a[href^="#"]::after,
a[href^="javascript:"]::after,
a[href^="tel:"]::after,
a[href^="mailto:"]::after {
    content: "";
}

/* ── Images ─────────────────────────────────────────────────── */
img {
    max-width: 100% !important;
    page-break-inside: avoid;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    orphans: 3;
    widows: 3;
}

p, blockquote, ul, ol, dl, table {
    orphans: 3;
    widows: 3;
}

/* ── Page breaks ────────────────────────────────────────────── */
.dc-section {
    page-break-inside: avoid;
}

/* ── Footer / contact info ─────────────────────────────────── */
.dc-footer {
    display: block;
    border-top: 1px solid #ccc;
    padding-top: 1em;
    font-size: 9pt;
}
