body {
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  font-family: Arial, sans-serif;
  font-size: 10pt;
  color: #000 !important;
  background-color: #fff !important;
  line-height: 1.2; 
}

html {
  margin: 0 !important;
  padding: 0 !important;
}

.main-container {
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: transparent !important;
}

nav.navbar,
aside.sidepanel,
header,
footer,
.stilusvalto-gombok,
.openbtn,
.gap {
  display: none !important;
}

video {
  display: none !important;
}

img {
  max-width: 50% !important;
  height: auto !important;
  margin: 0.5em auto !important;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: #000 !important;
  page-break-after: avoid;
}

p {
  text-align: left !important;
  margin: 0 0 0.75em 0 !important;
}

ul, ol {
  text-align: left !important;
  margin-left: 1.5em;
  padding-left: 0;
}

li {
  margin-bottom: 0.25em;
}

table {
  border-collapse: collapse;
  width: 100% !important;
  margin: 1em 0;
}

th, td {
  border: 1px solid #000;
  padding: 0.5em;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

caption {
  caption-side: top;
  text-align: left;
  font-weight: bold;
  margin-bottom: 0.5em;
}

a {
  color: blue !important;
  text-decoration: underline;
}

a:visited {
  color: purple !important;
}

aside {
  font-style: italic;
  color: #333 !important;
  margin-bottom: 1em;
}

figure {
  display: block;
  margin: 1em 0;
  text-align: center;
}

figcaption {
  font-size: 0.9em;
  color: #555 !important;
}

.page-break {
  page-break-before: always;
}

.avoid-break {
  page-break-inside: avoid;
}