/* 11-panel-admina */
.box {
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
}
.r {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 6px 0;
}
.r input {
  flex: 1;
  min-width: 140px;
}
.ind {
  margin-left: 22px;
  border-left: 2px solid var(--ln);
  padding-left: 10px;
}
.msg {
  font-weight: 700;
  min-height: 22px;
}
.tgl {
  display: none;
}
.pg {
  margin: 0 auto;
  padding: 40px 20px 64px;
}
@media (max-width: 1180px) {
  .tgl {
    display: block;
    border: 0;
  }
}
#lg {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20,22,25,.6);
}
#lg.on {
  display: flex;
}
#lg form {
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  background: #2b2e33;
  color: #e4e6e9;
  border: 1px solid #454a50;
}
.nci {
  display: block;
}
.gal {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
#panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: #2b2e33;
  color: #e4e6e9;
}
#psb {
  width: 240px;
  padding: 24px;
  flex: none;
  overflow: auto;
  background: #1d1f23;
  color: #e4e6e9;
  border-right: 1px solid #383c42;
}
#psb h2 {
  font-size: 22px;
  margin-bottom: 24px;
}
#psb button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 10px 12px;
  font: 500 15px 'Poppins',sans-serif;
  cursor: pointer;
  margin-bottom: 4px;
  color: #d3d6da;
  text-decoration: none;
  border-radius: 6px;
  transition: background .2s,color .2s;
}
.pm {
  flex: 1;
  padding: 32px;
  overflow: auto;
}
.pm h2 {
  font-size: 26px;
  margin: 0 0 16px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .two {
    grid-template-columns: 1fr;
  }
  #panel.on {
    flex-direction: column;
  }
  #psb {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px;
  }
  #psb h2 {
    width: 100%;
    margin: 0 0 6px;
  }
  #psb button {
    width: auto;
  }
  .pm {
    padding: 16px;
  }
}
.row {
  margin: 0 0 8px;
}
.row input {
  flex: 1;
  min-width: 140px;
  border: 0;
  padding: 8px;
}
.row .nm {
  flex: 1;
}
.hr {
  margin-left: auto;
}
.ph {
  border-left: 1px solid rgba(0,0,0,.18);
}
.hero {
  margin-top: -78px;
}
.fcard {
  overflow: hidden;
}
.swrap {
  position: relative;
}
.sv {
  overflow: hidden;
}
.sc {
  overflow: hidden;
}
.sar {
  position: absolute;
}
.sd {
  margin-top: 22px;
}
.sv {
  margin: -10px -10px -44px;
}
.swrap.rv,
.swrap.rv.up {
  opacity: 0;
}
.fcard.rv,
.fcard.rv.up {
  transform: translateY(56px);
}
.fcard.rv.in {
  transform: none;
}
.swrap.rv,
.swrap.rv.up {
  transform: translateY(54px) scale(.97);
}
.swrap.rv.in {
  opacity: 1;
  transform: none;
}
.fcard.rv.in:hover,
.fcard.rv.in:focus-visible {
  transform: translateY(-3px);
}
#panel h1,
#panel h2,
#panel h3,
#panel label {
  color: #eceef0;
}
#panel a {
  color: #c3c8ce;
}
#psb h2 {
  color: #f2f3f5;
}
#psb button:hover {
  background: #2d3035;
  color: #fff;
}
#psb button.on {
  background: #484d54;
  color: #fff;
}
#panel .pm {
  background: #2b2e33;
}
#panel .box,
#panel .row {
  background: #34383d;
  border: 1px solid #454a50;
  color: #e4e6e9;
}
#panel .box {
  border-radius: 10px;
}
#panel input,
#panel textarea,
#panel select {
  background: #25282c;
  border: 1px solid #555b62;
  color: #eceef0;
}
#panel input::placeholder,
#panel textarea::placeholder {
  color: #8b9198;
}
#panel input:focus,
#panel textarea:focus,
#panel select:focus {
  outline: 2px solid #8d949c;
  outline-offset: 1px;
  border-color: #8d949c;
}
#panel .row input {
  background: transparent;
  border: 0;
  color: #eceef0;
}
#panel .btn {
  background: #5a6068;
  color: #fff;
}
#panel .btn:hover {
  background: #6c737b;
}
#panel .btn.s {
  background: #3f444a;
  color: #e4e6e9;
  border: 1px solid #50565d;
}
#panel .btn.s:hover {
  background: #4d535a;
}
#panel .msg {
  color: #d6d9dd;
}
#panel .tgl,
#panel .row button {
  color: #e4e6e9;
}
#panel hr {
  border-color: #454a50;
}
#panel ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
#panel ::-webkit-scrollbar-track {
  background: #25282c;
}
#panel ::-webkit-scrollbar-thumb {
  background: #555b62;
  border-radius: 6px;
}
#adm .btn {
  background: #3a3e44;
  color: #fff;
  border: 1px solid #555b62;
}
#adm .btn:hover {
  background: #4d535a;
}
#lg label,
#lg h2,
#lg h3 {
  color: #eceef0;
}
#lg input {
  background: #25282c;
  border: 1px solid #555b62;
  color: #eceef0;
}
#lg .btn {
  background: #5a6068;
  color: #fff;
}
#lg .btn:hover {
  background: #6c737b;
}
#lg .btn.s {
  background: #3f444a;
  color: #e4e6e9;
}
.qcard:hover,
.qcard:focus-visible {
  transform: translateY(-3px);
}
.qim {
  overflow: visible;
  position: relative;
}
.qim img,
.qim .qic {
  transform: scale(1);
}
.qcard:hover .qim img,
.qcard:hover .qim .qic,
.qcard:focus-visible .qim img,
.qcard:focus-visible .qim .qic {
  transform: scale(1.14);
  filter: drop-shadow(0 12px 14px rgba(30,60,80,.35));
}
.qt {
  margin-top: 12px;
}
.qcard.rv {
  opacity: 0;
  transform: translateY(56px);
}
.qcard.rv.up {
  opacity: 0;
  transform: translateY(56px);
}
.qcard.rv.in {
  opacity: 1;
  transform: none;
}
.qcard.rv.in:hover,
.qcard.rv.in:focus-visible {
  transform: translateY(-3px);
}
.rich {
  overflow-wrap: anywhere;
}
.rich h1,
.rich h2,
.rich h3,
.rich h4,
.rich h5,
.rich h6 {
  margin: 1.4em 0 .5em;
}
.rich h2 {
  font-size: 1.6em;
}
.rich .vid {
  position: relative;
  aspect-ratio: 16/9;
  margin: 0 0 1em;
}
.rich .vid iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.rte {
  position: relative;
  margin: 4px 0 14px;
}
.rte-tb .tlab {
  color: #c3c8ce;
  font-size: 13px;
  margin: 0 4px;
}
.rte-tb .tb {
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  min-width: 32px;
}
.rte-tb .tb.on {
  color: #14161a;
  border-color: #a9afb6;
}
.rte-tb .tb:disabled,
.rte-tb select:disabled,
.rte-tb input:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.rte-tb select.tsel {
  width: auto;
  padding: 0 6px;
  font-size: 13px;
  color: #eceef0;
  border: 1px solid #555b62;
  border-radius: 4px;
  height: 32px;
}
.rte-tb .sep {
  width: 1px;
  height: 22px;
  margin: 0 3px;
}
.rte-ed {
  max-height: 70vh;
  overflow: auto;
  outline: 0;
  resize: vertical;
}
.rte-ed:focus {
  box-shadow: 0 0 0 2px rgba(141,148,156,.5);
}
#panel .rte-ed h1,
#panel .rte-ed h2,
#panel .rte-ed h3,
#panel .rte-ed h4,
#panel .rte-ed h5 {
  color: #12355B;
}
#panel .rte-ed a {
  color: #1a73c9;
}
#panel .rte-ed p,
#panel .rte-ed li,
#panel .rte-ed td,
#panel .rte-ed th {
  color: inherit;
}
.rte-ed td,
.rte-ed th {
  border-style: dashed;
}
.rte-src {
  width: 100%;
  max-height: 70vh;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
  white-space: pre;
}
.rte-pop {
  position: absolute;
  z-index: 30;
  max-width: min(380px,96%);
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}
.rte-pop .pl {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: #e4e6e9;
}
.rte-pop .pc {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #e4e6e9;
}
.rte-grid {
  max-height: 220px;
  overflow: auto;
}
.rte-grid .gc {
  height: 34px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  padding: 0;
}
@media (max-width: 700px) {
  .rte-tb select.tsel {
    max-width: 46%;
  }
}
.hero .sl {
  color: rgba(255,255,255,.8);
}
.qic {
  position: relative;
}
.psec .w {
  margin: 0 auto;
  padding: 48px 20px 56px;
}
.psec .pth {
  font-size: clamp(26px,4vw,36px);
  font-weight: 700;
  line-height: 1.2;
  color: #12355B;
  margin: 0 0 10px;
}
.psec .psub {
  font-size: 18px;
  line-height: 1.6;
  color: #5b6b7d;
  margin: 0 0 32px;
}
.pwrap .sv {
  padding: 6px 2px 10px;
  margin: -6px -2px -10px;
}
.pwrap .sar {
  top: 70px;
}
.pti {
  width: 100%;
  overflow: hidden;
}
.plph {
  width: 130px;
}
.ptn {
  margin-top: 14px;
  line-height: 1.3;
  max-width: 100%;
}
.pt:hover .pti img,
.pt:focus-visible .pti img,
.pt:hover .plph,
.pt:focus-visible .plph {
  transform: scale(1.1);
}
@media (max-width: 640px) {
  .plph {
    width: 100px;
  }
}
.ogc {
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(30,60,80,.08);
}
.ogc img {
  transform: scale(1);
}
.ogc.rv {
  opacity: 0;
  transform: translateY(56px);
}
.ogc.rv.up {
  opacity: 0;
  transform: translateY(56px);
}
.ogc.rv.in {
  opacity: 1;
  transform: none;
}
.ogc.rv.in:hover,
.ogc.rv.in:focus-visible {
  transform: translateY(-3px);
}
.lb {
  position: fixed;
  z-index: 120;
}
.lb.on {
  opacity: 1;
}
.lb img {
  transform: scale(.94);
}
.lbx,
.lbn {
  position: absolute;
}
.lbx:hover,
.lbn:hover {
  transform: scale(1.08);
}
.lbx {
  width: 44px;
}
.lbn {
  margin-top: -22px;
  width: 44px;
}
.crov {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.crbox {
  max-width: min(96vw,940px);
  max-height: 96vh;
  overflow: auto;
}
.crc {
  max-width: 100%;
  height: auto;
  touch-action: none;
}
.crbox .btn.s {
  color: #e4e6e9;
}
.crbox .btn.s.on {
  color: #1d1f23;
}
.rte-tb .rbr {
  flex-basis: 100%;
  height: 0;
}
.rte-tb .tb {
  height: 32px;
  padding: 0 6px;
}
.rte-tb .tb svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rte-tb .tb .g {
  font-family: Calibri,Carlito,"Segoe UI",Arial,sans-serif;
  font-size: 16px;
  line-height: 1;
}
.rte-tb .tb.g {
  font-family: Calibri,Carlito,"Segoe UI",Arial,sans-serif;
  font-size: 16px;
}
.rte-tb .tb.sm {
  font-size: 14px;
}
.rte-tb .tb sub,
.rte-tb .tb sup {
  font-size: 11px;
  color: #7fb2e6;
}
.rte-tb .tb.on sub,
.rte-tb .tb.on sup {
  color: #14161a;
}
.rte-tb .cr {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 3px;
}
.rte-tb .spl {
  display: inline-flex;
}
.rte-tb .spl .tb:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  min-width: 30px;
}
.rte-tb .spl .carb {
  min-width: 16px;
  padding: 0 3px;
}
.rte-tb .spl .carb .cr {
  margin: 0;
}
.rte-pop .pt {
  font-size: 12px;
  color: #aab0b7;
}
.rte-pop .sw {
  width: 22px;
  height: 22px;
  padding: 0;
  cursor: pointer;
}
.rte-pop .mi {
  width: 100%;
}
footer .cp {
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.18);
}

/* biblioteka grafik (WordPress) */
.wpm { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.wpm-box { background: var(--card); color: inherit; border-radius: 14px; width: min(920px,100%); max-height: 88vh; display: flex; flex-direction: column; gap: 10px; padding: 18px; overflow: hidden; }
.wpm-box h2 { margin: 0; }
.wpm-bar, .wpm-ft { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wpm-bar input { flex: 1; min-width: 160px; }
.wpm-ft { justify-content: flex-end; }
.wpm-st { margin: 0; font-size: 14px; }
.wpm-grid { display: grid; grid-template-columns: repeat(auto-fill,140px); grid-auto-rows: 140px; justify-content: center; gap: 8px; overflow: auto; flex: 1 1 auto; min-height: 200px; padding: 4px; }
.wpm-it { width: 140px; height: 140px; padding: 0; border: 2px solid var(--ln); border-radius: 8px; background: #eee; cursor: pointer; overflow: hidden; }
.wpm-it img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wpm-it[aria-pressed="true"] { outline: 3px solid #0b1f4b; outline-offset: 1px; border-color: #0b1f4b; }
.wpm-it:focus-visible { outline: 3px solid #0b1f4b; outline-offset: 2px; }
