﻿/* === Zdroje pod článkem === */


.article-sources,
.article-sources *{
  box-sizing: border-box;
}


.article-sources{
  width: 100%;
  max-width: 920px;
  margin: 40px auto 0;
  padding: 28px 32px;
  background: #f3e9e1;
  border: 1px solid #bbb2a3;
  border-radius: 0;


  font: inherit;
  color: inherit;
}


.article-sources__title{
  margin: 0 0 18px;
  font: inherit;
  color: inherit;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}


.article-sources__list{
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: source-counter;
}


.article-sources__item{
  counter-increment: source-counter;


  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;


  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(187, 178, 163, 0.8);
}


.article-sources__item:first-child{
  border-top: 0;
  padding-top: 0;
}


.article-sources__num{
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;


  background: #fbf7f5;
  border: 1px solid #bbb2a3;
  border-radius: 0;


  font: inherit;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}


.article-sources__text{
  min-width: 0;
  font: inherit;
  color: inherit;
  line-height: 1.7;
}


.article-sources__text em{
  font-style: italic;
}


.article-sources__text strong{
  font-weight: 700;
}


.article-sources__link{
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  word-break: break-word;
  transition: color .2s ease, opacity .2s ease;
}


.article-sources__link:hover{
  color: #aa8131;
}


.article-sources__link:focus-visible{
  outline: 2px solid #bbb2a3;
  outline-offset: 2px;
}


@media (max-width: 767px){
  .article-sources{
    margin-top: 32px;
    padding: 22px 18px;
  }


  .article-sources__title{
    margin-bottom: 16px;
    font-size: 26px;
  }


  .article-sources__item{
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }


  .article-sources__num{
    width: 26px;
    height: 26px;
    font-size: 13px;
  }


  .article-sources__text{
    line-height: 1.6;
  }
}