/* Fonty */
@font-face {
  font-family: 'TimesBD';
  src: url('timesbd.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'TimesBI';
  src: url('timesbi.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

/* Styl ogólny */
body {
  font-family: Arial, sans-serif;
  background-image: url('Tło.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Linki w sekcjach */
#pochodzenie a, #znaczenie a, #wystapienia a {
  color: blue !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  display: inline !important;
  pointer-events: auto !important;
}

/* Wyświetlanie sekcji */
#pochodzenie, #znaczenie, #wystapienia {
  display: block !important;
}

/* Layout */
.container {
  width: 500px;
  margin: 20px auto;
  border: 10px double #742f02;
  background-color: #f0d49a;
}

.header {
  background-color: #f0d49a;
  border-bottom: 4px double #742f02;
  padding: 10px;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}

.header a {
  font-family: 'TimesBD', 'Times New Roman', 'Georgia', 'Garamond', serif;
  text-decoration: underline;
  color: blue;
}

.subheader {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f8efd4;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  border: 2px solid #742f02;
  margin: 10px;
}

.subheader div {
  max-width: 100%;
  overflow-x: hidden;
}

.content {
  padding: 10px 20px;
  font-size: 16px;
  margin-top: -14px;
}

.section {
  display: flex;
  margin-bottom: 10px;
}

.label {
  width: 160px;
  font-weight: bold;
}

.value {
  background-color: #fdf6e3;
  padding: 4px 8px;
  border: 1px solid #ccc;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.italic {
  font-style: italic;
}

.definition {
  margin-bottom: 10px;
}

.bold {
  font-weight: bold;
  margin-top: 10px;
}

.source {
  margin-top: 10px;
  font-size: 12px;
  color: #555;
}

button {
  margin-left: 10px;
  cursor: pointer;
  background-color: #f0d49a;
  border: none;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 16px;
}

button:hover {
  background-color: #f5b800;
}

.value-rounded {
  border-radius: 10px;
  border: 2px solid #742f02;
}

.greek-header {
  font-family: 'Cardo', serif;
  letter-spacing: 1px;
  font-size: 32px;
  text-transform: uppercase;
  color: #4a3b2c;
}

.value-block {
  flex-direction: column;
  align-items: flex-start;
  white-space: normal;
  line-height: 1.6;
}

.value-block ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.value-block li {
  margin-bottom: 1px;
  line-height: 1.0;
}

.source a {
  color: blue !important;
  text-decoration: underline !important;
}

.link-stronga {
  color: blue;
  text-decoration: underline;
  font-style: italic;
  font-weight: bold;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  display: inline;
}
