* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: #fff;
  color: #232222;
  font: 1.04rem/1.65 "Segoe UI", Arial, sans-serif;
}

a {
  color: #095ba9;
  text-underline-offset: .17em;
}

a:hover {
  color: #003e77;
}

a:focus-visible {
  outline: 3px solid #0070e0;
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

h1,h2,h3,p {
  margin-top: 0;
}

.uf-wrapper,.wide-max-width {
  width: min(1150px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header-row-wrapper {
  border-top: 5px solid #161d27;
  border-bottom: 1px solid #ddd;
}

.masthead,.site-sub-footer .uf-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.masthead {
  min-height: 82px;
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: #313131;
  letter-spacing: -.055em;
  text-decoration: none;
}

.primary-menu-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px,3vw,34px);
}

.primary-menu-wrapper a,.widget-area a,.entry-title a {
  color: inherit;
  text-decoration: none;
}

.primary-menu-wrapper a:hover,.widget-area a:hover,.entry-title a:hover {
  color: #0070e0;
  text-decoration: underline;
}

.section-ticker {
  border-bottom: 1px solid #dedfe3;
  background: #f5f7fb;
}

.section-ticker > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 12px;
  font-size: .94rem;
}

.section-ticker strong,.rubrika {
  color: #095ba9;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
}

.wide-max-width {
  margin-block: 32px 64px;
  display: grid;
  grid-template-columns: minmax(0,2.7fr) minmax(212px,1fr);
  gap: clamp(20px,4vw,48px);
  align-items: start;
}

.cover {
  background: #d3ddf2;
}

.cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.45;
  object-fit: cover;
  object-position: 50% 49%;
}

.opening .entry-header {
  margin-top: 24px;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -.047em;
  margin: .2em 0 .45em;
}

h2 {
  line-height: 1.15;
  font-size: clamp(1.45rem,2.4vw,2rem);
}

.ot-redakcii,.entry-content {
  max-width: 780px;
}

.ot-redakcii p,.entry-content p,.blogbyte-card-box p {
  margin-bottom: 1em;
}

.widget-area {
  border-top: 4px solid #0070e0;
  background: #f5f7fa;
  padding: 21px 24px 12px;
}

.widget-area h2 {
  font-size: 1.42rem;
}

.widget-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-area li {
  padding: .8em 0;
  border-top: 1px solid #d5dce3;
  line-height: 1.34;
}

.section-name {
  margin: 38px 0 20px;
  border-bottom: 3px solid #232222;
  padding-bottom: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}

.blogbyte-card-box {
  border-bottom: 1px solid #ddd;
  padding-bottom: 14px;
}

.blogbyte-card-box img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2;
  object-fit: cover;
  margin-bottom: 12px;
}

.entry-title {
  margin: 0 0 .4em;
  line-height: 1.2;
  font-size: 1.28rem;
}

.blogbyte-card-box p {
  color: #41494e;
  font-size: .98rem;
}

.entry-content h2 {
  margin: 1.6em 0 .5em;
}

.anons {
  font-size: 1.23rem;
  color: #41494e;
  border-bottom: 1px solid #ddd;
  padding-bottom: 18px;
}

.references {
  border-top: 1px solid #bac5d1;
  font-size: .95rem;
}

.references ul {
  padding-left: 1.25em;
}

.site-sub-footer {
  background: #191e25;
  color: #fff;
  padding: 25px 0;
}

.site-sub-footer span {
  font-size: .92rem;
}

@media (max-width:760px) {
  .wide-max-width {
    grid-template-columns: 1fr;
  }
  .widget-area {
    width: 100%;
  }
  .uf-wrapper,.wide-max-width {
    width: calc(100% - 32px);
  }
  .masthead {
    min-height: 70px;
  }
  .primary-menu-wrapper {
    font-size: .9rem;
  }
}

@media (max-width:510px) {
  .masthead,.site-sub-footer .uf-wrapper {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 14px;
  }
  .masthead nav {
    width: 100%;
  }
  .section-ticker > div {
    align-items: start;
  }
  .section-ticker strong {
    white-space: nowrap;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .cover img {
    aspect-ratio: 1.7;
  }
}

.site-title {
  font-weight: 600;
  line-height: 1;
  color: #313131;
}

.uf-wrapper {
  margin-left: auto;
  margin-right: auto;
}
