@charset "utf-8";
/* CSS file for onko.tr for PRINTS only
 * Author name : Armagan Tekdoner @ grifare.net
 * Release date: August 2025
 * File URL: onko.tr/css/print.css
 */


  /* Base font size for print (in pt) and box-sizing inheritance */
  html {
    font-size: 12pt; /* Base font size for print */
    box-sizing: border-box; /* Include padding/border in element size */
  }

  *,
  *::before,
  *::after {
    box-sizing: inherit; /* Inherit box-sizing */
  }

  /* Hide elements not needed in print */
	#skip-links,
  .google-map,
  header,
  footer {
    display: none;
  }

  /* Body styles for print */
  body {
    font-family: "Times New Roman", Times, serif;
    background-color: #fff; /* Ensure white background */
    color: #888; /* Slightly lighter black for toner saving */
    line-height: 1.5; /* Improve readability with spacing */
  }

  /* Typography - adjust spacing and potentially sizes */
  h1, h2, h3, h4, h5, h6 {
      page-break-after: avoid; /* Avoid breaking page immediately after a heading */
      break-after: avoid;
      font-family: "Times New Roman", Times, serif; /* Ensure headings are Times New Roman */
      margin-bottom: 0;
  }

  h1 { font-size: 24pt; }
  h2 { font-size: 18pt; }
  h3 { font-size: 14pt; }
  h4, h5, h6 { font-size: 12pt; font-weight: bold; }


  p {
      margin-bottom: 1em; /* Space between paragraphs */
      orphans: 3; /* Ensure at least 3 lines of a paragraph at the bottom of a page */
      widows: 3;  /* Ensure at least 3 lines of a paragraph at the top of a page */
  }

  /* Display link URLs after the link text (external links) */
  a[href^="http://"]::after,
  a[href^="https://"]::after {
      /* Use Courier for the URL itself - clearer it's a URL */
      font-family: "Courier New", Courier, monospace;
      /* Append the URL in parentheses */
      content: " (" attr(href) ")";
      /* Add space between link text and URL */
      margin-left: 0.4em;
      /* Ensure URL color is black */
      color: #000;
      /* Prevent the appended URL text from being underlined or bold */
      text-decoration: none;
      font-weight: normal;
      /* Allow long URLs to wrap */
      word-wrap: break-word;
  }


  /* Prints: Email Us (mailto:xyz@xyz.com) */
	a[href^="mailto:"]::after {
		content: " (" attr(href) ")"; 
	}


  /* Image and Figure styles */
  figure {
		overflow: visible; /* Prevent potential clipping */
		margin: 1em auto; /* Center figures with margins */
		max-width: 100%; /* Ensure figure doesn't exceed container width */
		page-break-inside: avoid; /* Avoid breaking figures across pages */
		break-inside: avoid;
  }

  figure img {
		max-width: 100%; /* Ensure image fits within figure and container */
		height: auto; /* Maintain aspect ratio */
  }

  figcaption {
    text-align: left;
    margin-top: 0.5em; /* Space above caption */
    margin-bottom: 1em; /* Space below caption */
    font-size: 0.875em; /* Smaller size relative to parent (figure or paragraph) */
    color: #333; /* Slightly lighter color for captions */
  }

  /* Table Styling for Print */
  table {
      width: 100%;
      border-collapse: collapse; /* Collapse table borders */
      margin-bottom: 1em;
      page-break-inside: avoid; /* Avoid breaking tables across pages */
      break-inside: avoid;
  }
  th, td {
      border: 1px solid #ccc; /* Add light borders */
      padding: 0.5em;
      text-align: left;
  }
  thead {
      display: table-header-group; /* Repeat table headers on each page (support varies) */
  }
  tr {
      page-break-inside: avoid; /* Avoid breaking rows across pages */
      break-inside: avoid;
  }


  /* Ensure no background images are printed universally this website has none */
   * {
     background-image: none !important;
   }

/* end of CSS file for prints */