/* Akapit z inicjałem: reszta tekstu wraca do zwykłej lewej krawędzi */
.nbMessage .opis .tekst > .nbAutoParagraph:has(.litera) {
  padding-left: 0;
  text-indent: 0 !important;
}

.nbMessage .opis .tekst .nbAutoParagraph .litera {
  margin: .08em .1em 0 .48em;
}

margin: .08em .1em 0 0;
}/* Automatyczne wcięcia zwykłego tekstu */
.nbMessage .opis .tekst {
  text-indent: 0 !important;
}

/* Wcięcie dostają tylko fragmenty dodane przez JavaScript */
.nbMessage .opis .tekst > .nbAutoParagraph {
  display: block;
  text-indent: 2em !important;
}

/* Podtytuły oraz nagłówki nigdy nie dostają wcięcia */
.nbMessage .opis .tekst .podtytul,
.nbMessage .opis .tekst .podtytul *,
.nbMessage .opis .tekst .tytul2,
.nbMessage .opis .tekst .tytul3 {
  text-indent: 0 !important;
}

.tekst {
  font-family: var(--basic);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .025em;
  font-style: normal;
  text-align: justify;
}

.tekst p {
  max-width: 490px;
  margin: 0 auto 1.3em;
  text-align: justify;
}

.tekst p:last-child {
  margin-bottom: 0;
}

.tekst em {
  color: var(--bordojasne);
  font-style: normal;
  line-height: 1.7;
  font-family: var(--basic);
  font-size: 14px;
}

.tekst i {
  color: var(--kolorpost);
  font-family: var(--kursywa);
  font-style: normal;
  font-size: 14px;
}
/* BLOKI [code] */
.nbMessage .codeblock {
  position: relative;
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid var(--borderprofil, #342525);
  background: var(--body, #1a1515);
  color: var(--biel, #b2b2b2);
	border-radius: 0px;
}

.nbMessage .codeblock .title {
  position: relative;
  min-height: 38px;
  padding: 11px 88px 10px 15px;
  border-bottom: 1px solid var(--borderprofil, #342525);
  color: var(--kolorpost, #846060);
  font-family: var(--tytulkat);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: none;
}

.nbMessage .codeblock .body {
  max-height: 340px;
  padding: 16px 18px;
  overflow: auto;
  background: var(--body, #1a1515);
}

.nbMessage .codeblock code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--biel, #b2b2b2);
  font-family: var(--basic);
  font-size: 12px;
  text-align: justify;
  font-style: normal;
  font-weight: 100;
  line-height: 1;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
		border-radius: 0px;
	letter-spacing: 1px;}

/* Przycisk dodawany przez skrypt poniżej */
.nbMessage .codeblock .code-copy {
  position: absolute;
  top: 50%;
  right: 10px;
  padding: 5px 9px;
  transform: translateY(-50%);
  border: 1px solid var(--borderprofil, #342525);
  background: transparent;
  color: var(--biel, #b2b2b2);
  cursor: pointer;
  font-family: var(--kursywa, Georgia, serif);
  font-size: 11px;
  font-style: normal;
  line-height: 1;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.nbMessage .codeblock .code-copy:hover,
.nbMessage .codeblock .code-copy.is-copied {
  border-color: var(--kolorpost, #846060);
  background: var(--kolorpost, #846060);
  color: var(--body, #1a1515);
}

.nbMessage .codeblock .body::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.nbMessage .codeblock .body::-webkit-scrollbar-thumb {
  background: var(--borderprofil, #342525);
}

@media (max-width: 580px) {
  .nbMessage .codeblock .body {
    padding: 14px;
  }

  .nbMessage .codeblock code {
    font-size: 11px;
  }
}





.nbMessage a {
  position: relative;
  display: inline; /* zamiast inline-block */
  color: var(--biel, #b2b2b2);
  border-bottom: 2px solid var(--borderprofil, #342525);
  text-decoration: none !important;
  transition: color .25s ease;
}

.nbMessage a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--kolorpost, #846060);
  transition: width .3s ease;
}

.nbMessage a:hover {
  color: var(--kolorpost, #846060);
}

.nbMessage a:hover::after {
  width: 100%;
}

.nbMessage .opis .opis-tresc {
  color: var(--biel, #b2b2b2);
  font-family: var(--basic, ) !important;
  font-style: normal;
}

.nbMessage i,
.nbMessage [style*="font-style: italic"],
.nbMessage [style*="font-style:italic"] {
  font-family: var(--kursywa) !important;
letter-spacing: 1px; 
	font-size: 15px;
  font-style: normal !important;
}

/* [i]kursywa[/i] */
.nbMessage .opis .opis-tresc i,
.nbMessage .opis .opis-tresc [style*="font-style: italic"],
.nbMessage .opis .opis-tresc [style*="font-style:italic"] {
  color: var(--bordojasne, #8f8f8f) !important;
  font-family: var(--kursywa, Georgia, serif) !important;
  font-style: normal !important;
}

/* [b]pogrubienie[/b] */
.nbMessage .opis .opis-tresc strong,
.nbMessage .opis .opis-tresc b,
.nbMessage .opis .opis-tresc [style*="font-weight: bold"],
.nbMessage .opis .opis-tresc [style*="font-weight:bold"] {
  padding: 0 .12em .08em;
  border-bottom: 1px solid var(--borderprofil);
  color: var(--kolorpost, #846060) !important;
  font-family: var(--basic, Georgia, serif) !important;
  font-size: .94em;
  font-style: normal !important;
  font-weight: 600;
  letter-spacing: .045em;
}


.nbMessage strong,
.nbMessage b,
.nbMessage [style*="font-weight: bold"],
.nbMessage [style*="font-weight:bold"] {
  color: var(--kolorpost) !important;
  font-style: normal !important;
  font-weight: 600;
}

.mg-lista {
  margin: 25px 0;
  color: var(--biel);
  font-family: var(--basic);
  font-size: 13px;
}

.mg-wiersz {
  display: grid;
  grid-template-columns: 1fr 100px 60px;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--borderprofil);
}

.mg-wiersz span:nth-child(2) {
  color: var(--bordojasne);
  text-align: center;
}

.mg-wiersz span:last-child {
  color: var(--kolorpost);
  text-align: right;
  white-space: nowrap;
}

.mg-naglowek {
  padding-top: 0;
  color: var(--kolorpost);
  font-family: var(--medieval);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}


.podtytul {
  margin: 30px auto 16px;
  text-align: left;
}

.podtytul > br {
  display: none !important;
}

.podtytul span {
  display: inline-block;
  background: var(--borderprofil);
  color: var(--biel);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .1em;
	  width: auto !important;
	  padding: 5px 5px 5px 8px; 
  line-height: 1;
  text-transform: none;
  font-family: var(--medieval);
}

.dane {
  display: grid;
  gap: 18px;
  max-width: 430px;
  margin: 20px auto;
}

.dane1 {
  display: grid;
  grid-template-columns: max-content minmax(20px, 1fr) max-content;
  gap: 16px;
  align-items: center;
}

/* MyBB automatycznie dodaje <br> po każdej linii HTML. */
.dane1 > br {
  display: none !important;
}

.dane1 span {
  color: var(--biel, #b2b2b2);
  font-family: var(--fontp);
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.dane1 i {
  display: block;
  height: 1px;
  background: var(--borderprofil, #342525);
}

.dane1 em {
  color: var(--biel);
  font-family: var(--kursywa);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
}


.opis {
  --kr-tlo-test: var(--body);
  --opis-rama:
    radial-gradient(20px at 20px 20px, #0000 calc(98% - 1px), #000 calc(100% - 1px) 98%, #0000) -20px -20px,
    linear-gradient(90deg, #000 2px, #0000 0) -1px 50% / 100% calc(100% - 39px) repeat-x,
    linear-gradient(#000 2px, #0000 0) 50% -1px / calc(100% - 39px) 100% repeat-y;
  position: relative;
  box-sizing: border-box;
  width: min(100%, 580px);
  margin: 16px auto;
  padding: 8px;
  color: var(--biel, #b2b2b2);
}

.opis * {
  box-sizing: border-box;
}

.opis::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: var(--borderprofil, #342525);
  opacity: .55;
  -webkit-mask: var(--opis-rama);
  mask: var(--opis-rama);
}

.opis::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: var(--kr-tlo-test);
  -webkit-mask: radial-gradient(20px at 20px 20px, #0000 98%, #000) -20px -20px;
  mask: radial-gradient(20px at 20px 20px, #0000 98%, #000) -20px -20px;
}

.opis1 {
  --opis-wyciecie: radial-gradient(20px at 20px 20px, #0000 98%, #000) -20px -20px;
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 4vw, 34px);
  overflow: hidden;
  background: var(--kr-tlo-test);
  text-align: center;
  -webkit-mask: var(--opis-wyciecie);
  mask: var(--opis-wyciecie);
}


.litera {
  float: left;
  margin: .08em .2em 0 0;
  color: var(--kolorpost);
  font-family: var(--tytulkat);
  font-size: 60px;
  line-height: .7;
  text-transform: uppercase;
}

.tytul1 {
  margin: 0 0 22px;
}

.tytul2 {
  margin: 0;
  color: var(--biel, #b2b2b2);
  font-family: var(--tytulkat);
  font-size: 35px;
  font-weight: 100;
  font-style: normal;
  line-height: 1;
  padding-bottom: 10px;
  letter-spacing: .04em;
	  border-bottom: 2px solid var(--borderprofil);
  display: -webkit-inline-box;
}

.obraz1 {
  position: relative;
  width: min(100%, 540px);
  margin: 0 auto 50px;
  line-height: 0;
}

.obraz2 {
  width: 100%;
  height: 320px;
  aspect-ratio: 11 / 6;
  overflow: hidden;
  background: var(--kr-tlo-test);
  border: 1px solid var(--borderprofil, #342525);
}

.obraz2 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 20px;
  object-position: center;
  opacity: .75;
  filter: grayscale(100%);
  transition: opacity .3s ease;
}

.obraz2:hover img {
  opacity: 1;
}

.herb {
  position: absolute;
  z-index: 3;
  bottom: -30px;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translateX(-50%);
  isolation: isolate;
  background: var(--kr-tlo-test);
  border-radius: 50%;
}

/* Zakrywa linię ramki obrazka wokół herbu. */
.herb::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8px;
  border-radius: 50%;
  background: var(--kr-tlo-test);
  pointer-events: none;
}

.znak {
  position: absolute;
  inset: 8px;
  background-color: var(--biel, #b2b2b2);
  -webkit-mask: var(--herb-url) center / contain no-repeat;
  mask: var(--herb-url) center / contain no-repeat;
}

.tytul3 {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 30px 0 5px;
  font-family: var(--tytulkat);
  font-size: 23px;
  color: var(--kolorpost);
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1;
  text-align: left;
}

.tytul3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--borderprofil);
}

.linki {
  display: grid;
  gap: 5px;
  max-width: 430px;
  margin: 0 auto;
}

.linki a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 5px;
  align-items: center;
  min-height: 40px;
  font-family: var(--kursywa);
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--borderprofil);
  color: var(--biel);
  text-align: left;
  text-decoration: none !important;
  transition: border-color .18s ease, color .18s ease;
}

.linki a:hover {
  border-color: var(--biel, #b2b2b2);
  color: #fff;
}

.linki span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--borderprofil);
  color: var(--kolorpost);
  text-transform: lowercase;
  font-family: var(--medieval);
  background: var(--gradient);
  font-size: 12px;
}

@media (max-width: 580px) {
  .opis1 {
    padding: 20px;
  }

  .obraz1 {
    margin-bottom: 44px;
  }

  .herb {
    width: 56px;
    height: 56px;
    bottom: -28px;
  }

  .znak {
    inset: 7px;
  }
}