/* print.css – Nyomtatási stíluslap kifejezetten a history.html-hez */

/* Általános beállítások */
body {
  background: white;
  color: black;
  font-family: "Open Sans", sans-serif;
  font-size: 12pt;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Rejtjük az oldalon ismétlődő vagy képernyőre szánt elemeket */
header,
nav,
footer,
#toggle-theme,
button,
.video-wrapper {
  display: none !important;
}

/* Képek stílusa – fekete-fehér és kisebb */
img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  display: block;
  margin: 1em auto;
}

/* A fő tartalom tágabb margóval és kerettel */
.history-section {
  margin: 1.5cm;
  padding: 1em;
  border: 1px solid #000;
  border-radius: 6px;
}

/* Szöveges rész tördelése és kiemelés */
.history-section h1 {
  font-size: 1.4em;
  text-align: center;
  margin-bottom: 1em;
}

.history-text p {
  text-align: justify;
  margin-bottom: 1em;
}

.history-text ul {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

/* Kerüljük az oldaltörést a cikk közepén */
section,
article {
  page-break-inside: avoid;
}

/* Linkek – megjelenítjük az URL-t is */
a::after {
  content: " (" attr(href) ")";
  font-size: 10pt;
}

/* Caption stílus */
figcaption {
  text-align: center;
  font-style: italic;
  font-size: 11pt;
  margin-top: 0.5em;
}

/* Előnyben részesítjük a szöveget: kerüljük a vizuális elemek túlsúlyát */
aside,
.news-label,
.country-name {
  display: none;
}
