/* Доповнення до збережених стилів архіву (std_old_css.css, stylesheet_inspire.css): назва сайту замість значка Facebook,
   плитки замість зображень із вшитим текстом колишнього власника, типографіка статей і адаптив до 390 px. */

body { font-family: 'Titillium Web', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; overflow-x: hidden; }
a:focus-visible { outline: 3px solid #12857f; outline-offset: 2px; }

/* Шапка */
.sitename { float: right; padding-top: 38px; font-size: 20px; }
.sitename a:link, .sitename a:visited { color: #717171; text-decoration: none; text-shadow: 1px 1px #fff; }
#menu a[aria-current="page"] { color: #12857f; }

/* Плитки головної: вміст росте разом із текстом (в архіві висота була фіксована 150 px) */
.teaserlinie_holder { display: flex; gap: 5px; margin-bottom: 5px; }
.bred_teaser, .small_teaser { float: none; width: auto; height: auto; min-height: 150px; margin: 0; box-sizing: border-box; overflow: visible; }
.bred_teaser { flex: 2 1 0; }
.small_teaser { flex: 1 1 0; padding: 15px; }
.teaser_lysgraa { background-color: #f3f3f3; padding: 15px; }
.teaser_gul { background-color: #dcd600; }
.bred_teaser h1 { font-size: 26px; line-height: 1.2; color: #4d5559; margin: 0 0 12px; }
.bred_teaser p { font-size: 16px; line-height: 1.5; color: #4d5559; margin: 0; }
.tile_title { font-size: 26px; line-height: 1.15; color: #17403e; margin: 0 0 10px; font-weight: normal; }
.teaser_gul .tile_title { color: #3d3b00; }
.tile_text { font-size: 15px; line-height: 1.4; color: #17403e; margin: 0 0 8px; }
.teaser_gul .tile_text { color: #3d3b00; }
.tile_text a:link, .tile_text a:visited { color: inherit; font-weight: bold; }

/* Tekstblokke */
.fuld_tekst { width: auto; margin-bottom: 5px; }
.fuld_tekst_content { padding: 24px 24px 14px; }
.artikel h1 { font-size: 30px; line-height: 1.2; color: #4d5559; margin: 0 0 14px; font-weight: normal; }
.artikel h2 { font-size: 22px; line-height: 1.25; color: #4d5559; margin: 1.6em 0 .5em; font-weight: 600; }
.artikel h3 { font-size: 17px; line-height: 1.3; color: #4d5559; margin: 1.3em 0 .4em; font-weight: 600; }
.artikel p, .artikel li { font-size: 16px; line-height: 1.6; color: #4a4f52; margin: 0 0 1em; }
.artikel ul, .artikel ol { margin: 0 0 1em; padding-left: 1.3em; }
.artikel a:link, .artikel a:visited { color: #0e6f6a; }
.artikel .vw-kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #0e6f6a; margin: 0 0 6px; font-weight: 600; }
.artikel .vw-lede { font-size: 19px; line-height: 1.5; color: #3d4448; margin-bottom: 1.2em; }
.artikel section > :first-child { margin-top: 0; }
.vw-photo { margin: 1.4em 0; padding: 0; }
.vw-photo img { display: block; width: 100%; height: auto; }

/* Картки статей на головній */
.artikler_blok { margin: 20px 0 10px; }
.artikler_titel { font-size: 26px; color: #4d5559; font-weight: normal; margin: 0 0 10px; }
.artikler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.kort { display: block; padding: 18px 18px 20px; color: #26343a; text-decoration: none; }
.kort:hover h3, .kort:focus-visible h3 { text-decoration: underline; }
.kort h3 { font-size: 20px; line-height: 1.2; margin: 0 0 8px; color: #17323a; font-weight: 600; }
.kort p { font-size: 14px; line-height: 1.45; color: #26343a; margin: 0; }

/* Підвал */
.nybund { float: none; clear: both; width: auto; color: #808082; padding-top: 24px; }
.nybund a:link, .nybund a:visited { color: #6a6a6c; text-decoration: none; }
.nybund a:hover { text-decoration: underline; }
.foot_links { font-size: 14px; margin-bottom: 14px; }
.foot_site { float: right; }
.foot_articles h2 { font-size: 15px; color: #6a6a6c; margin: 0 0 8px; font-weight: 600; }
.foot_articles ul { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 20px; }
.foot_articles li { font-size: 13px; line-height: 1.35; margin: 0 0 6px; break-inside: avoid; }
.foot_note { font-size: 12px; line-height: 1.5; color: #808082; margin: 12px 0 0; }

/* Телефон і планшет */
@media (max-width: 940px) {
  #top { height: auto; }
  .center_div { width: auto; padding: 0 12px; }
  .topmenu_holder { width: auto; height: auto; padding-bottom: 6px; }
  .sitename { float: none; padding-top: 14px; font-size: 18px; }
  #menu { padding-top: 6px; display: flex; flex-wrap: wrap; gap: 0 18px; }
  #menu .nodeslut, #menu .nodestart, #menu .node { float: none; margin: 0; height: auto; padding-top: 6px; padding-bottom: 6px; font-size: 18px; }
  .teaserlinie_holder { flex-direction: column; }
  .bred_teaser, .small_teaser { flex: none; min-height: 0; }
  .artikler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuld_tekst_content { padding: 18px 16px 8px; }
  .artikel h1 { font-size: 26px; }
  .bred_teaser h1 { font-size: 24px; }
}
@media (max-width: 600px) {
  .artikler { grid-template-columns: minmax(0, 1fr); }
  .foot_site { float: none; display: block; margin-top: 4px; }
}
