body {
  background-color: rgba(241, 241, 241, 1);
}

.site-header-text {
  font-weight: 200;
  font-size: 2rem;
}

.tag {
  background: snow !important;
  line-height: 1.7rem !important;
}

.published-container {
  --sidebar-left-background: #a4c4d3;
  --site-name-size: 45px;
  --nav-item-color: #717171;
  --nav-item-color-hover: #717171;
  --page-width: 1024px;
}

.published-container a:visited,
.published-container a:active {
  color: #5c7e9e;
}

.site-body-left-column-site-name {
  text-align: center;
  padding: 4px 20px 100px 4px;
  font-weight: 150;
  color: #ffffff !important;
}

.render-container a,
.nav-view-outer,
.internal-link,
.markdown-rendered a {
  color: #5c7e9e !important;
}

/* belső vonalakat kikapcsolhatod, ha nem kellenek */
.markdown-rendered th,
.markdown-rendered td {
  border: none !important;
}

.graph-view {
  /* teljes graph háttere */
  background-color: rgba(241, 241, 241, 1) !important;
}
/* node-ok általános színe, mérete */
.theme-light .graph-view {
  --graph-node: #5c7e9e;
  --graph-node-focus: #ffffff;
  --graph-node-hover: #ffffff;
  --graph-line: #666666;
}

/* oldalsávba CC logó berakása */
.site-body-left-column {
  background-image: url("https://data.tesuli.hu/adat/000/cc-000.svg");
  background-repeat: no-repeat;
  background-size: 140px auto;
  background-position: center 290px; /* középre, fentről 40px-re */
}

/* Globális ikon-stílus minden ikonhoz */
.nav-view .tree-item-inner {
  display: inline-flex;
  align-items: center;
}
.nav-view .tree-item-inner::before {
  content: "";
  width: 38px !important;
  height: 38px !important;
  margin-right: 6px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: none; /* csak akkor legyen ikon, ha van hozzárendelve */
}

/* Fájlokon is legyen egységes ikonméret (az index.md is fájl!) */
.nav-view .tree-item-self.is-clickable .tree-item-inner::before {
  width: 32px !important;
  height: 32px !important;
}

.nav-view .tree-item-self.mod-collapsible .tree-item-inner::before {
  width: 38px !important;
  height: 38px !important;
}

/* CSAK az index.md nav-sorokra: kicsit kisebb ikon */
.nav-view .tree-item-self[data-path$="/index.md"] .tree-item-inner::before {
  width: 32px !important;
  height: 32px !important;
}

/* CSAK az index.md nav-sorokra: kicsit kisebb ikon */
.nav-view
  .tree-item-self[data-path$="teSULI/home.md"]
  .tree-item-inner::before {
  width: 32px !important;
  height: 32px !important;
}

/* CSAK az index.md nav-sorokra: kicsit kisebb ikon */
.nav-view
  .tree-item-self[data-path$="Szabó Péter/magamról.md"]
  .tree-item-inner::before {
  width: 32px !important;
  height: 32px !important;
}

/* teSULI */
.nav-view .tree-item-self[data-path$="teSULI"] .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i01/i1-0001.svg");
}

/* teSULI HOME*/
.nav-view
  .tree-item-self[data-path$="teSULI/home.md"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i00/i0-0001.svg");
}

/* Mérnöki ábrázolás */
.nav-view
  .tree-item-self[data-path$="teSULI/Mérnöki ábrázolás"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i02/i2-0001.svg");
}

/* NUMWORKS */
.nav-view
  .tree-item-self[data-path$="teSULI/Matematika/NUMWORKS.md"]
  .tree-item-inner::before {
  display: inline-block;
  width: 30px !important;
  height: 30px !important;
  background-image: url("https://data.tesuli.hu/icon/i00/calculator.svg");
}

/* Mérnöki ábrázolás INDEX */
.nav-view
  .tree-item-self[data-path$="teSULI/Mérnöki ábrázolás/index.md"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i00/index.svg");
}

/* Építéstan */
.nav-view
  .tree-item-self[data-path$="teSULI/Építéstan"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i02/i2-0002.svg");
}
/* Építéstan INDEX */
.nav-view
  .tree-item-self[data-path$="teSULI/Építéstan/index.md"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i00/index.svg");
}

/* Fizika */
.nav-view .tree-item-self[data-path$="teSULI/Fizika"] .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i02/i2-0003.svg");
}
/* Fizika INDEX */
.nav-view
  .tree-item-self[data-path$="teSULI/Fizika/index.md"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i00/index.svg");
}

/* Matematika */
.nav-view
  .tree-item-self[data-path$="teSULI/Matematika"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i02/i2-0004.svg");
}
/* Matematika INDEX */
.nav-view
  .tree-item-self[data-path$="teSULI/Matematika/index.md"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i00/index.svg");
}

/* Méretezés */
.nav-view
  .tree-item-self[data-path$="teSULI/Méretezés"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i02/i2-0005.svg");
}
/* Méretezés INDEX */
.nav-view
  .tree-item-self[data-path$="teSULI/Méretezés/index.md"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i00/index.svg");
}

/* Szabó Péter */
.nav-view .tree-item-self[data-path$="Szabó Péter"] .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i01/i1-0002.svg");
}
/* Szabó Péter MAGAMRÓL*/
.nav-view
  .tree-item-self[data-path$="Szabó Péter/magamról.md"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i00/i0-0002.svg");
}

/* publikációk */
.nav-view
  .tree-item-self[data-path$="Szabó Péter/publikációk"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i02/i2-0007.svg");
}

/* publikációk INDEX */
.nav-view
  .tree-item-self[data-path$="Szabó Péter/publikációk/index.md"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i00/index.svg");
}

/* konferenciák */
.nav-view
  .tree-item-self[data-path$="Szabó Péter/konferencia"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i02/i2-0008.svg");
}

/* konferenciák INDEX */
.nav-view
  .tree-item-self[data-path$="Szabó Péter/konferencia/index.md"]
  .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i00/index.svg");
}

/* Adatbázis */
.nav-view .tree-item-self[data-path$="Adatbázis"] .tree-item-inner::before {
  display: inline-block;
  background-image: url("https://data.tesuli.hu/icon/i01/i1-0003.svg");
}

/* Csak a summary calloutokra vonatkozik */
.callout[data-callout="summary"] {
  background-color: #e7e7e7; /* doboz háttérszín */
  /* border: 1px solid #333333; /* keret */
  border-radius: 8px; /* sarkok lekerekítése */
  padding: 8px 10px;
}

/* CÍMSOR (ahol az "oktatás célja" van) */
.callout[data-callout="summary"] .callout-title-inner {
  font-size: 18px;
  font-weight: 300;
  color: #a5a5a5;
}

/* TARTALOM (ahol a szöveg + wikilink van) */
.callout[data-callout="summary"] .callout-content {
  font-size: 16px;
  font-weight: 200;
  color: #a5a5a5;
}

/* Ha a tartalmon belüli linkeket is szürkére akarod */
.callout[data-callout="summary"] .callout-content a {
  color: #7090ff;
  text-decoration: underline;
}

/* Gyári ikon elrejtése */
.callout[data-callout="summary"] .callout-icon {
  display: none;
}

.callout[data-callout="summary"] .callout-fold {
  color: #a5a5a5; /* háromszög színe */
  opacity: 0.7;
  position: relative;
  top: 4px;
}
.callout[data-callout="summary"] .callout-fold:hover {
  opacity: 0.5;
}

/* MINDEN olyan bekezdés, ami internal-linket tartalmaz a summary calloutban */
.callout[data-callout="summary"] .callout-content p:has(.internal-link) {
  font-size: 16px;
  font-weight: 200;
  margin-top: -10px; /* ezzel húzod feljebb */
  text-indent: 10px; /* opcionális: jobbra tolás */
  color: #a5a5a5;
}

/* Kevesebb hely a táblázatok körül */
.markdown-preview-view table {
  margin-top: 0px;
  margin-bottom: 0px;
}

/* Csak a legfelső szintű táblákra (nem a callouton belüliekre) */
.markdown-preview-view > table {
  margin-top: 0px;
  margin-bottom: 0px;
}

/* Kevesebb hely a tananyag-callout körül */
.callout[data-callout="summary"] {
  margin-top: -20px; /* táblázat után szűkebben jöjjön */
  margin-bottom: 30px; /* és utána se hagyjon nagy lyukat */
}
