/*
 * Accessible Mode Styles
 * Minimální styly pro přístupnou verzi bez dekorativních prvků
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #000;
  background: #fff;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin: 1.5rem 0 1rem 0;
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
  border-bottom: 3px solid #000;
  padding-bottom: 0.5rem;
}

h2 {
  font-size: 1.75rem;
  border-bottom: 2px solid #000;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

/* Links */
a {
  color: #0000ee;
  text-decoration: underline;
  font-weight: bold;
}

a:visited {
  color: #551a8b;
}

a:hover,
a:focus {
  background: #ffff00;
  color: #000;
  outline: 2px solid #000;
}

/* Navigation */
nav {
  border: 2px solid #000;
  padding: 1rem;
  margin-bottom: 2rem;
  background: #f0f0f0;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav li {
  margin: 0.5rem 0;
  padding: 0.5rem;
  border-left: 3px solid #000;
}

/* Content structure */
main {
  margin: 2rem 0;
}

section {
  margin: 2rem 0;
  padding: 1rem 0;
}

/* Lists */
ul,
ol {
  margin: 1rem 0 1rem 2rem;
}

li {
  margin: 0.5rem 0;
}

/* Paragraphs */
p {
  margin: 1rem 0;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border: 2px solid #000;
  display: block;
  margin: 1rem 0;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
  border: 2px solid #000;
}

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

th {
  background: #000;
  color: #fff;
  font-weight: bold;
}

/* Forms */
input,
textarea,
select,
button {
  font-size: 18px;
  padding: 0.75rem;
  border: 2px solid #000;
  margin: 0.5rem 0;
  font-family: inherit;
}

button,
input[type="submit"] {
  background: #000;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: #fff;
  color: #000;
  outline: 3px solid #000;
}

/* Skip links */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Focus visible */
*:focus {
  outline: 3px solid #000;
  outline-offset: 2px;
}

/* Hide decorative elements */
[aria-hidden="true"],
.decorative {
  display: none !important;
}

/* Footer */
footer {
  border-top: 3px solid #000;
  margin-top: 3rem;
  padding-top: 1rem;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Print styles */
@media print {
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: underline;
    color: #000;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }
}
