
/* .hover-intent .toolbar-menu{
  overflow-y: auto;
} */


/* Kolumna "Blokada" w widoku /admin/content */
table.views-table td.views-field-is-locked {
  position: relative;
  text-align: center;
  font-size: 0; /* ukrywa oryginalny znak (✖ / ✔) wizualnie */
  padding-inline: 0.5rem;
}

.field--name-field-wstep .ck-content p,
.field--name-field-wstep .ck-content div,
.field--name-field-wstep .ck-content{
      font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5rem;
}

/* Cytat w paragrafie zaawansowanej zawartości */
textarea.js-text-full .msc-quote {
  margin: 24px 0;
}

/* Sam blockquote – paragraf + field_tresc */
textarea.js-text-full blockquote,
.field--name-field-tresc.field__item blockquote {
  position: relative;
  margin: 0;
  padding-left: 170px; /* miejsce na ikonę */
}

/* Ikona cudzysłowu – paragraf + field_tresc */
textarea.js-text-full blockquote::before,
.field--name-field-tresc.field__item blockquote::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 48px;
  width: 48px;
  height: 48px;
  background: url(/themes/custom/szablon/grafiki/cytat.svg) no-repeat 0 0;
  background-size: contain;
}


/* Lista w środku cytatu – lekkie zbliżenie do tekstu */
textarea.js-text-full blockquote ol {
  margin-top: 0.5em;
}

/* Podpis pod cytatem – wyrównany do tekstu cytatu */
textarea.js-text-full figcaption {
  margin-top: 16px;
  padding-left: 170px;        /* tyle samo co blockquote */
  font-weight: 500;
}

.podpis-cytatu {
    font-size: 1rem;
    font-weight: 700;
    font-style: normal;
    margin: -15px .25rem 0 0;
    padding-top: 0 !important;
}

.podpis-cytatu::before {
    content: "— ";
}

/* Bazowy pseudo-element na ikony */
table.views-table td.views-field-is-locked::before {
  font-size: 1.2rem;
  line-height: 1;
}

/* ✖ -> otwarta kłódka */
table.views-table td.views-field-is-locked.is-locked--no::before {
  content: "🔓";
}

/* ✔ -> zamknięta kłódka */
table.views-table td.views-field-is-locked.is-locked--yes::before {
  content: "🔒";
}


.ck-editor{
  max-width: 920px;
}

.widget-quote__blockquote__footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 28px;
  border: 1px dashed black;
}

.widget-quote__blockquote__footer img {
  margin-right: 1rem;
  max-width: 62px;
  max-height: 59px;
  object-fit: cover;
}

.yellow-box {
  font-size: 0.875rem;
  line-height: 1.375rem;
  font-weight: 300;
  color: #1B1B1B;
  background-color: #FFF4CE;
  right: -12rem;
  top: 33px;
  width: 12.5rem;
  border-radius: 6px;
  padding: 18px 16px;
}

.opis .col-12{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.yellow-box svg{
  margin-bottom: 1rem;
}

.lista-sukces,
.lista-error{
  display: flex;
  flex-direction: column;
}

.lista-sukces li {
  background-image: url(/themes/szablon/grafiki/ekspert_tak.svg);
}

.lista-error li{
  background-image: url(/themes/szablon/grafiki/ekspert_nie.svg);
}

.lista-error li, .lista-sukces li {
  margin-bottom: 1rem;
  padding-left: 30px;
  background-repeat: no-repeat;
  display: inline-block;
  min-height: 1.5rem;
}

blockquote {
  max-width: 679px;
  margin: 30px auto;
}

blockquote p {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 50px;
}

.widget-quote__blockquote__footer p {
  font-size: 0.875rem;
  line-height: 1.375rem;
  font-weight: 300;
  margin-bottom: 0;
}


.niebieski-blok{
    background-color: #00BAF2;
    border-radius: 8px;
    padding: 20px;
}

.amarantowy-blok{
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    border: 3px solid #E60778;
}

.zielony-blok{
    background-color: #8DC63F;
    border-radius: 8px;
    padding: 20px;
    border: 3px solid #5C2E91;
}



textarea.js-text-full .details-group{
  gap: 0.75rem;
  display: flex;
  flex-direction: column;
}


textarea.js-text-full summary{
    font-size: 1rem;
    font-weight: 600;
    padding: 10px;
    background: var(--kolor-stopki);
    border-radius: 8px;
}

textarea.js-text-full .details-wrapper{
  padding: 14px 16px;
  line-height: 1.5rem;
}

textarea.js-text-full .details-wrapper p{
  margin-bottom: 0 !important;
}

textarea.js-text-full details[open=""] summary{
  color: var(--kolor-uzupelniajacy);
}

textarea.js-text-full details[data-once="details"] > summary {
  list-style: none;               /* Firefox */
}

textarea.js-text-full details[data-once="details"] > summary::-webkit-details-marker {
  display: none;                  /* Chrome / Safari */
}

textarea.js-text-full details[data-once="details"] > summary{
  display: flex;
  flex-direction: row;
}

/* Kontener na strzałkę po prawej */
textarea.js-text-full details[data-once="details"] > summary .summary {
  margin-left: auto;              /* dociśnięcie do prawej */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}

/* Strzałka w dół (zamknięte) */
textarea.js-text-full details[data-once="details"] > summary .summary::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--kolor-czcionki-ciemny);
  border-bottom: 2px solid var(--kolor-czcionki-ciemny);
  transform: rotate(45deg); /* ▼ */
}

/* Po otwarciu – strzałka do góry + różowy tytuł */

textarea.js-text-full details[data-once="details"] > summary:hover,
textarea.js-text-full details[data-once="details"][open] > summary {
  color: var(--kolor-uzupelniajacy);
}


textarea.js-text-full details[data-once="details"] > summary:hover .summary::before{
    border-color: var(--kolor-uzupelniajacy);
}


textarea.js-text-full details[data-once="details"][open] > summary .summary::before {
  transform: rotate(-135deg); /* ▲ */
  border-color: var(--kolor-uzupelniajacy);
}