/* ===================================================================
   PRINT STYLES
   =================================================================== */

@media print {
  /* Reset colors to black and white */
  * {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* Hide non-essential elements */
  .site-header,
  .site-footer,
  .main-nav,
  .mobile-menu-toggle,
  .dark-mode-toggle,
  .header-actions,
  .cta-buttons,
  .btn,
  .share-buttons,
  .back-to-top,
  .newsletter-signup,
  .contact-form,
  video,
  iframe,
  .video-wrapper,
  .social-links {
    display: none !important;
  }

  /* Page breaks */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  p, li, img {
    page-break-inside: avoid;
  }

  table, pre, blockquote {
    page-break-inside: avoid;
  }

  /* Typography */
  body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12pt;
    line-height: 1.5;
    margin: 0;
    padding: 0;
  }

  h1 {
    font-size: 24pt;
    margin-bottom: 12pt;
  }

  h2 {
    font-size: 18pt;
    margin-bottom: 10pt;
  }

  h3 {
    font-size: 14pt;
    margin-bottom: 8pt;
  }

  p {
    margin-bottom: 12pt;
    orphans: 3;
    widows: 3;
  }

  /* Links */
  a {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  /* Images */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Blog post specific */
  .post-header {
    border-bottom: 2px solid #000;
    padding-bottom: 12pt;
    margin-bottom: 20pt;
  }

  .post-date {
    font-size: 10pt;
    color: #666 !important;
  }

  .post-content {
    max-width: 100%;
  }

  /* Lists */
  ul, ol {
    margin: 12pt 0 12pt 20pt;
  }

  li {
    margin-bottom: 6pt;
  }

  /* Quotes */
  blockquote {
    margin: 20pt 30pt;
    padding: 10pt;
    border-left: 3px solid #000;
    font-style: italic;
  }

  /* Tables */
  table {
    border-collapse: collapse;
    width: 100%;
    margin: 12pt 0;
  }

  th, td {
    border: 1px solid #000;
    padding: 6pt;
    text-align: left;
  }

  th {
    font-weight: bold;
    background: #f0f0f0 !important;
  }

  /* Code blocks */
  code, pre {
    font-family: 'Courier New', monospace;
    font-size: 10pt;
    border: 1px solid #000;
    padding: 6pt;
    background: #f9f9f9 !important;
  }

  /* Print header (page info) */
  @page {
    margin: 2cm;
  }

  .print-only {
    display: block !important;
  }

  /* Add URL to print */
  body::before {
    content: "www.the-cartiers.com";
    display: block;
    text-align: right;
    font-size: 10pt;
    color: #666 !important;
    margin-bottom: 20pt;
  }
}
