﻿/* ===== Zdroje pod článkem ===== */




.article-sources{
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);


  font-family: inherit;
  line-height: 1.65;


  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ===== SUMMARY / "Zobrazit zdroje" ===== */


.article-sources > summary{
  list-style: none;
  cursor: pointer;
  user-select: none;


  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;


  padding: 12px 18px;
  border-radius: 12px;


  background: rgba(255,255,255,.04);
  border: 1px solid #eddd00;
  color: inherit;
  font-weight: 700;


  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}


.article-sources > summary::-webkit-details-marker{ display:none; }


.article-sources > summary:hover{
  background: rgba(237,221,0,.08);
  box-shadow: 0 0 0 3px rgba(237,221,0,.12);
}


.article-sources > summary:active{ transform: translateY(1px); }


.article-sources > summary::after{
  content: "↓";
  font-size: 1.45em;
  font-weight: 900;
  line-height: 1;
  color: #000;
  transform: translateY(2px);
  transition: transform .18s ease;
}


.article-sources[open] > summary::after{
  transform: rotate(180deg) translateY(-2px);
}


/* ===== LIST ===== */


.article-sources > ul{
  margin: 14px 0 0;
  padding: 0;
  width: 100%;
  list-style: none;
}


/* položky – ZDE zmenšujeme font (spolehlivě) */
.article-sources > ul > li{
  position: relative;
  margin: 12px 0;


  padding-left: 34px;
  overflow-wrap: anywhere;


  font-size: calc(1em - 2px); /* o 2px menší jen pro citace */
}


/* pokud vám to pořád přepisuje theme, odkomentujte:
.article-sources > ul > li{ font-size: calc(1em - 2px) !important; }
*/


/* tečky vycentrované na střed prvního řádku */
.article-sources > ul > li::before{
  content: "";
  position: absolute;
  left: 12px;
  top: calc((1em * 1.65) / 2);
  transform: translate(-50%, -50%);


  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #eee000;
}


/* odkazy ve zdrojích */
.article-sources a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  opacity: .95;
}


.article-sources a:hover{ opacity: 1; }