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

body {
  max-width: 800px;
  margin: 2em auto;
  padding: 0 1em;
  font-family: 'Old Standard TT', serif;
  font-size: 1.125rem;
  background: #F2E6CE;
  color: #222;
  line-height: 1.3;
}

a {
  color: #006970;
}

a:visited {
  color: #004D52;
}

a:focus,
a:hover {
  color: #008C94;
  text-decoration: none;
}

a:active {
  color: #00363A;
}

h1 a, h1 a:visited, h1 a:focus, h1 a:hover, h1 a:active {
  color: #222;
  text-decoration: none;
}

h1 a:focus, h1 a:hover, h1 a:active {
  color: #444;
}

header {
  text-align: center;
  padding: 1.5em 0 1.15em;
  margin-bottom: 2em;
  border-top: 3px double #000;
  border-bottom: 3px double #000;
}

header h1 {
  font-family: 'Old Standard TT', serif;
  font-size: 3.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tagline {
  font-family: Georgia, serif;
  font-style: normal;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5em;
  color: #333;
}

footer {
  text-align: center;
  border-top: 1px solid #000;
  padding-top: 1em;
  font-size: 0.9rem;
  color: #555;
}

article {
  border-bottom: 1px dashed #888;
  padding-bottom: 1.5em;
  margin-bottom: 2em;
}

article time {
  display: block;
  text-transform: uppercase;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  font-size: .9rem;
  color: #444;
}

article h2 {
  font-variant: small-caps;
  letter-spacing: 0.05em;
  margin-bottom: 0.4em;
}

.lead {
  font-style: italic;
  /* margin-bottom: 1.2em; */
  margin-bottom: 0;
  font-size: 1.125rem;
}

.no-audio .lead {
  margin-bottom: 1.2em;
}

.content {
  column-count: 2;
  column-gap: 2em;
  text-align: justify;
  margin-bottom: 1em;
}

@media (max-width: 600px) {
  .content {
    column-count: 1;
    column-gap: 1em;
  }
}

.content h3 {
  margin-bottom: 0.6em;
}
.content h4 {
  margin-bottom: 0.6em;
  font-size: 1em;
}

.content p,
.content ul {
  margin-bottom: 1.1em;
  text-align-last: left;
}

article .content:first-of-type p:first-of-type::first-letter {
  float: left;
  font-size: 3.5rem;
  line-height: 0.8;
  margin-right: 0.08em;
  font-family: 'Old Standard TT', serif;
}

.content:first-of-type .no-dropcap p:first-of-type::first-letter {
  float: none;
  font-size: inherit;
  margin-right: 0;
}

blockquote {
  margin: 1.5em 0;
  padding: 0.5em 1em;
  border-left: 4px solid #000;
  font-style: italic;
  color: #333;
  background: rgba(0, 0, 0, 0.02);

  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  column-break-inside: avoid;
}

article .content ul {
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  column-break-inside: avoid;
}

article .content-block {
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  column-break-inside: avoid;
}

/* Special edition */
article.special {
  position: relative;
  padding: 1.2em 1.5em;
  margin: 2em 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 2;
}

article .ribbon {
  width: 120px;
  height: 120px;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
}

article .ribbon span {
  position: absolute;
  display: block;

  width: 180px;
  padding: 8px 0 3px;

  color: #FFF1E0;
  font-size: 0.8rem;
  text-transform: uppercase;
  text-align: center;

  transform: rotate(45deg);
  top: 32px;
  right: -40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

  background: #D95528;
}

article > img {
  width: 100%;
}

.footnote {
  font-size: 0.8em;
  font-variant: small-caps;
  color: #777;
  border-bottom: 1px dashed #888;
  padding-bottom: .5em;
  margin-bottom: 2em;
}

/* Audioplayer */

.audio-player {
  break-inside: avoid-column;
  background: #F2E6CE;
}
.audio-player figcaption {
  font-variant: small-caps;
  letter-spacing: 0.05em;
  margin-bottom: 0.5em;
  display: block;
  font-size: 0.9rem;
  color: #444;
}
.audio-player audio {
  width: 100%;
  background: transparent;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}

/* Для Chrome и Safari */
audio::-webkit-media-controls-panel {
  background-color: #F2E6CE;
}
/* Кнопка Play — делаем её тёмнее */
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-volume-slider {
  filter: invert(0) brightness(0.5);
}
/* Остальные контролы чуть светлее */
/* audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-volume-slider {
  filter: invert(0.8) brightness(1.2);
} */
audio::-webkit-media-controls-timeline,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
  color: #444;
}

/* Для Firefox (ограниченно) */
audio::-moz-range-track {
  background: #ccc;
}
audio::-moz-range-thumb {
  background: #444;
}

/* Можно добавить hover для кнопки Play */
audio::-webkit-media-controls-play-button:hover {
  filter: invert(0) brightness(0.7);
}


article.special.teal {
  background: #CEE0E0;
  /* Misty Teal */
}

article.special.teal .audio-player {
  background: #CEE0E0;
  /* Misty Teal */
}

article.special.teal audio::-webkit-media-controls-panel {
  background-color: #CEE0E0;
}

article.special.pink {

  background: #E8EAD8    ;
  /* background: #E0D8D0   ; */
  /* Misty Teal */
}

article.special.teal .audio-player {
  background: #CEE0E0;
  /* Misty Teal */
}

article.special.teal audio::-webkit-media-controls-panel {
  background-color: #CEE0E0;
}

/* Crossword */

.crossword .grid {
  display: grid;
  grid-template-columns: repeat(25, 28px);
  grid-template-rows: repeat(5, 28px);
  gap: 0;
}

.crossword .cell {
  width: 28px;
  height: 28px;
  border: 1px solid #777;
  position: relative;
  background: transparent;
  box-sizing: border-box;
}

.crossword .cell input {
  width: 100%;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  text-transform: uppercase;
}
.crossword-solution .cell input {
  color: #777;
  font-size: 12px;
}

.crossword .cell input:focus {
  outline: 1px solid #66f;
}

.crossword .cell.black {
  background: #777;
}

.crossword .number {
  position: absolute;
  top: 2px;
  left: 3px;
  font-size: 10px;
  color: black;
}

.crossword .clues {
  display: flex;
  gap: 2em;
  margin-top: 2em;
  flex-wrap: wrap;
  line-height: 1.2em;
}
.crossword .clues li b {
  font-size: 1.2rem;
}

.crossword .clues-column {
  flex: 1;
  min-width: 300px;
}

.crossword .clues-column h3 {
  margin-bottom: 0.5em;
  font-variant: small-caps;
  font-size: 1.2rem;
}

.crossword .clues-column ol {
  list-style: none;
  padding-left: 0;
}

.crossword .clues-column ol li {
  margin-bottom: 1em;
  position: relative;
}

.crossword-solution .clues-column ol li {
  margin-bottom: 2em;
}

.crossword-solution b {
  color: #222;
  font-weight: bold;
}
.crossword-solution .answer {
  color: #222;
  font-weight: bold;
  margin: 0.6em 0 0.5em;
}
.crossword-solution .clues li {
  color: #777;
}
.responsive-video {
  position: relative;
  padding-top: 56.25%; /* 16:9 = 9/16 = 0.5625 */
  height: 0;
  overflow: hidden;
  margin-top: 1em;
  margin-bottom: 1em;
  border: 1px solid #555;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.content ul, .content ol {
  margin-left: 1em;
  padding-left: 0;
}
.content li {
  margin-bottom: 0.5em;
}