/* =========================================================
   MÓWCHORWACKI – SŁOWNIK SINGLE ENTRY
   ========================================================= */

.single-slownik .entry-meta,
.post-type-archive-slownik .entry-meta{
  display:none !important;
}

body.single-slownik .entry-title{
  max-width:800px;
  margin:40px auto 20px;
  padding:0 16px;
  font-size:46px;
  font-weight:800;
  color:#111827;
  line-height:1.1;
}

body.single-slownik .mow-slownik-topbar{
  max-width:800px;
  margin:0 auto 28px;
  padding:16px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
}

body.single-slownik .mow-slownik-topbar__back{
  color:var(--brand-blue);
  text-decoration:none;
  font-weight:600;
}

body.single-slownik .mow-slownik-topbar__form{
  display:flex;
  gap:8px;
  align-items:center;
}

body.single-slownik .mow-slownik-topbar__input{
  height:44px;
  border-radius:10px;
  border:1px solid #d1d5db;
  padding:0 12px;
  box-sizing:border-box;
}

body.single-slownik .mow-slownik-topbar__btn{
  height:44px;
  min-height:44px;
  border-radius:10px;
  background:var(--brand-blue) !important;
  color:#fff !important;
  border:0;
  padding:0 18px;
  font-weight:700;
  font-size:16px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-sizing:border-box;
  cursor:pointer;
  white-space:nowrap;
}

/* Advanced Views entry boxes */

.mow-entry{
  max-width:800px;
  margin:0 auto 48px;
  padding:0 16px;
}

.mow-entry__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:18px;
}

.mow-entry__box{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:18px;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
  margin-bottom:18px;
}

.mow-entry__label{
  font-size:14px;
  font-weight:800;
  color:var(--gray);
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:8px;
}

.mow-entry__value{
  font-size:20px;
  line-height:1.45;
  color:#111827;
  font-weight:700;
}

.mow-entry__value--blue{
  color:var(--brand-blue);
}

.mow-entry__text{
  font-size:17px;
  line-height:1.65;
  color:#111827;
}

.mow-entry__box--warning{
  border-color:rgba(248,9,9,.25);
  background:rgba(248,9,9,.035);
}

.mow-entry__box--tip{
  border-color:rgba(0,87,183,.25);
  background:rgba(0,87,183,.035);
}

/* Vertical video */

.mow-video-vertical{
  position:relative;
  width:100%;
  max-width:320px;
  aspect-ratio:9 / 16;
  margin:0 auto;
  border-radius:18px;
  overflow:hidden;
}

.mow-video-vertical iframe{
  width:100%;
  height:100%;
  border:0;
}

/* =========================================================
   MÓWCHORWACKI – SŁOWNIK LANDING
   ========================================================= */

.mow-slownik{
  max-width:1100px;
  margin:40px auto 0 !important;
  padding:8px 16px 40px;
  font-family:inherit;
  display:flex;
  flex-direction:column;
}

.mow-slownik h2{
  order:2;
  font-size:30px;
  line-height:1.2;
  margin:6px 0 20px;
  font-weight:800;
  color:#111827;
}

.mow-slownik__search{
  order:1;
  max-width:760px;
  margin:24px auto 40px !important;
  padding:24px 28px;
  text-align:center;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:18px;
}

.mow-slownik__label{
  display:block;
  margin-bottom:12px;
  font-size:15px;
  font-weight:800;
  color:#111827;
  text-align:center;
}

.mow-slownik__searchRow{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
}

.mow-slownik__searchRow input{
  flex:1;
  max-width:520px;
  min-height:48px;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid #d1d5db;
  font-size:16px;
}

.mow-slownik__searchRow button{
  min-height:48px;
  min-width:130px;
  padding:12px 24px;
  border-radius:12px;
  border:0;
  background:#0057B7;
  color:#fff;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
}

.mow-slownik__searchRow button:hover{
  background:#004a9c;
}

/* Topic cards */

.mow-slownik__grid{
  order:3;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin:0 0 32px;
}

.mow-slownik__topic{
  display:block;
  border:1px solid rgba(0,87,183,0.28) !important;
  border-radius:18px !important;
  background:#ffffff !important;
  padding:22px 20px !important;
  text-decoration:none !important;
  color:inherit;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
  transition:all 0.22s ease;
}

.mow-slownik__topic:hover{
  border-color:#0057B7 !important;
  box-shadow:0 12px 28px rgba(0,87,183,0.14);
  transform:translateY(-2px);
  text-decoration:none;
}

.mow-slownik__topicTitle{
  color:#0057B7 !important;
  font-weight:700;
}

.mow-slownik__topicDesc{
  color:#5e5a5a !important;
}

.mow-slownik__emoji{
  font-size:28px;
}

/* A-Z */

.mow-slownik__az{
  order:4;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin:24px 0 28px;
}

.mow-slownik__azLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 10px;
  border:1px solid rgba(0,87,183,0.28);
  border-radius:11px;
  background:#ffffff;
  color:#0057B7 !important;
  font-size:16px;
  font-weight:700;
  text-decoration:none !important;
}

.mow-slownik__azLink:hover{
  background:rgba(0,87,183,0.08);
  border-color:#0057B7;
}

/* Results */

.mow-slownik__results{
  order:5;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:18px 0;
}

.mow-slownik__card{
  padding:14px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  background:#fff;
}

.mow-slownik.is-filtered h2,
.mow-slownik.is-filtered .mow-slownik__grid,
.mow-slownik.is-filtered .mow-slownik__az{
  display:none;
}

.mow-slownik.is-filtered .mow-slownik__results{
  order:2;
  margin-top:18px;
}

/* Pagination */

.mow-slownik__pagination{
  order:6;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin:34px 0 10px;
}

.mow-slownik__page{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  height:46px;
  padding:0 14px;
  border:1px solid rgba(0,87,183,0.32);
  border-radius:13px;
  background:#ffffff;
  color:#0057B7 !important;
  font-size:18px;
  font-weight:800;
  text-decoration:none !important;
}

.mow-slownik__page:hover{
  background:rgba(0,87,183,0.08);
  border-color:#0057B7;
}

.mow-slownik__page.is-current{
  background:#0057B7 !important;
  border-color:#0057B7 !important;
  color:#ffffff !important;
}

/* Category intro */

.mow-slownik__categoryIntro{
  margin:10px auto 28px;
  padding:24px 22px;
  max-width:860px;
  text-align:center;
  background:#ffffff;
  border:1px solid rgba(0,87,183,0.22);
  border-radius:18px;
  box-shadow:0 6px 18px rgba(0,0,0,0.045);
}

.mow-slownik__categoryIntro h2{
  margin:0 0 10px;
  color:#0057B7;
  font-size:30px;
  font-weight:800;
}

.mow-slownik__categoryIntro p{
  margin:0;
  color:#5e5a5a;
  font-size:17px;
  line-height:1.55;
}

/* Hide Słownik hero on search / filtered results */

body.mow-slownik-is-filtered-page .mow-slownik-hero{
  display:none !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:1024px){
  .mow-slownik__grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:767px){

  body.single-slownik .entry-title,
  body.single-slownik h1{
    font-size:38px;
    line-height:1.08;
    letter-spacing:-0.02em;
    margin-top:28px;
  }

  body.single-slownik .mow-slownik-topbar{
    flex-direction:column;
    align-items:stretch;
  }

  body.single-slownik .mow-slownik-topbar__form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  width:100%;
  align-items:center;
}

  body.single-slownik .mow-slownik-topbar__input{
    width:100%;
    min-width:0;
    height:44px;
  }

    body.single-slownik .mow-slownik-topbar__btn{
  width:auto;
  min-width:94px;
  height:44px;
  min-height:44px;
  padding:0 16px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}

  .mow-entry__grid{
    grid-template-columns:1fr;
  }

  .mow-entry__value{
    font-size:18px;
  }

  .mow-slownik{
    margin-top:28px !important;
  }

  .mow-slownik__search{
    padding:22px 18px;
  }

  .mow-slownik__searchRow{
    flex-direction:column;
  }

  .mow-slownik__searchRow input,
  .mow-slownik__searchRow button{
    width:100%;
    max-width:none;
  }

  .mow-slownik__grid{
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }

  .mow-slownik__results{
    grid-template-columns:1fr;
  }

  .mow-slownik__az{
    gap:7px;
  }

  .mow-slownik__azLink{
    min-width:36px;
    height:36px;
    font-size:15px;
  }

  .mow-slownik__page{
    min-width:48px;
    height:48px;
    font-size:18px;
  }

  .mow-slownik__categoryIntro{
    margin:8px 0 22px;
    padding:20px 16px;
  }

  .mow-slownik__categoryIntro h2{
    font-size:24px;
  }

  .mow-slownik__categoryIntro p{
    font-size:15px;
  }
}
/* Słownik audio text/link reset */

.mow-entry .mow-slownik-audio-text,
.single-slownik .mow-slownik-audio-text{
  appearance:none !important;
  -webkit-appearance:none !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  color:var(--brand-blue) !important;
  font:inherit !important;
  font-weight:800 !important;
  padding:0 !important;
  margin:0 !important;
  min-width:0 !important;
  width:auto !important;
  height:auto !important;
  line-height:1.3 !important;
  text-align:left !important;
  text-decoration:underline !important;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  cursor:pointer;
}

.mow-entry .mow-slownik-audio-text::before,
.single-slownik .mow-slownik-audio-text::before{
  display:none !important;
  content:none !important;
}

.mow-entry .mow-slownik-audio-text.playing,
.single-slownik .mow-slownik-audio-text.playing{
  background:rgba(0,87,183,0.08) !important;
  color:var(--brand-blue) !important;
  transform:none !important;
}
.mow-slownik-cat-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mow-slownik-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 87, 183, 0.12);
  border-color: var(--brand-blue);
}
.mow-slownik-cat-card:hover h3,
.mow-slownik-cat-card:hover .mow-slownik-cat-title {
  color: var(--brand-blue);
}