/* camps.openborders.tr — print / PDF stylesheet (§9.4).
   Loaded with media="print" AND applied on screen via body.is-print, so
   ?print=1 is debuggable without printing. Browser Rendering (Phase 7) prints
   the same page. */

@page { size: A4; margin: 0; }

/* Chrome and interactive controls that must never print. */
.is-print .site-header,
.is-print .menu-overlay,
.is-print .overlay,
.is-print .lightbox,
.is-print .filter-bar,
.is-print .related,
.is-print .hero-footer,
.is-print .lang-menu,
.is-print .no-print,
.is-print .prog-hero,
.is-print .prog-meta-strip { display: none !important; }

/* Reset fixed/sticky so nothing overlays the flow. */
.is-print .hero-stage,
.is-print .price-card,
.is-print .scroll-content { position: static !important; }
.is-print .scroll-content { margin-top: 0 !important; }

/* The page itself. */
.is-print body { padding-top: 0 !important; background: #fff !important; }
body.is-print { padding-top: 0; background: #fff; }

/* Print masthead (logo + title + facts). Hidden on normal screen views. */
.print-masthead { display: none; }
.is-print .print-masthead {
  display: block;
  padding: 16px 0 10px;
  border-bottom: 2px solid #191d33;
  margin-bottom: 18px;
}
.is-print .print-masthead .print-logo { height: 30px; width: auto; }
.is-print .print-masthead h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  margin: 12px 0 6px;
}
.is-print .print-masthead .print-facts {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 11px;
  color: #6b675f;
}

/* Content layout in print: single column, no sticky sidebar. */
.is-print .prog-layout { display: block; padding: 0 14mm; max-width: none; margin: 0; }
.is-print .price-card { border: 1px solid #e3ddd0; border-radius: 8px; padding: 14px 16px; margin-top: 18px; }
.is-print .prog-section { break-inside: avoid-page; }
.is-print h2 { break-after: avoid-page; }
.is-print .section { padding: 18px 14mm; max-width: none; }

/* FAQ must print expanded (the collapsed-<details> trap). */
.is-print details { break-inside: avoid; }

/* Gallery: first 6 in a 3x2 grid; the renderer already caps to 6 in print. */
.is-print .gallery-grid { grid-template-columns: repeat(3, 1fr); }
.is-print .gallery-grid img { break-inside: avoid; }

/* Video: an embed can't print — the renderer swaps to a link; show its URL. */
.is-print .video-wrap { display: none !important; }

/* Print the target of every real hyperlink next to it. */
.is-print a[href^="http"]::after {
  content: " (" attr(href) ")";
  font-size: 11px;
  color: #6b675f;
  word-break: break-all;
}
