body {
  margin: 0;
}
.elementor-slideshow__footer {
    display: none !important;
}
.gallery-caption {
    margin-left: 0;
    font-size: 14px;
    font-weight: 400 !important;
    color: #455672  !important;
}
a {
  text-decoration: none;
  color: inherit;
}

.site-header, .site-footer {
  text-align: center;
  padding: 20px;
  background: #f8f8f8;
}

h4{
	color: #2e4a68;
}
/* =========================
   Base / Container
========================= */
.mk-container{
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.mk-content{
  padding: 38px 0 70px;
}

/* =========================
   HERO – featured image background
========================= */
.mk-hero{
  position: relative;
  padding: 78px 0 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
	margin-top: 150px;
}
@media (max-width: 767px) {
  .elementor-19 .elementor-element.elementor-element-c580056 
  .eael-simple-menu li > a {
    color: #ffffff;
  }
}
/* overlay poprawiający czytelność */
.mk-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.65) 0%,
      rgba(255,255,255,0.75) 100%
    );
  pointer-events: none;
}

.mk-hero-inner{
  position: relative;
  z-index: 1;
  text-align: center;
}

.mk-hero::before{
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.35) 0%,
      rgba(0,0,0,0.45) 100%
    );
}
.mk-hero-title,
.mk-hero-meta,
.mk-hero-cat a{
  color: #ffffff;
}


/* lekka nakładka dla czytelności */
.mk-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.80);
  pointer-events: none;
}

.mk-hero-inner{
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Kategoria na środku */
.mk-hero-cat a{
  display: inline-block;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 14px;
  color: #455672;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(6px);
}

.mk-hero-title{
  margin: 18px auto 10px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 45px !important;
  line-height: 1.15;
  color: #455672;
  max-width: 980px;
}

.mk-hero-meta{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  color: #455672;
  opacity: 0.95;
}

.mk-hero-meta a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(69,86,114,0.35);
}

.mk-dot{
  margin: 0 8px;
}

/* =========================
   Featured image
========================= */
.mk-featured{
  margin: 0 0 26px;
}

.mk-featured img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

/* =========================
   Layout: main + sidebar (75/25)
========================= */
.mk-layout{
  display: grid;
  grid-template-columns: 1fr 25%;
  gap: 40px;
}

.mk-main{
  min-width: 0;
}

/* =========================
   Entry content
========================= */
.mk-entry{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: #1f2a3a;
}

/* typowe elementy treści */
.mk-entry h2,
.mk-entry h3,
.mk-entry h4{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #455672;
  line-height: 1.25;
  margin: 28px 0 12px;
}

.mk-entry a{
  color: #455672;
  text-decoration: none;
  border-bottom: 1px solid rgba(69,86,114,0.35);
}

.mk-entry img{
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* =========================
   Sidebar
========================= */
.mk-sidebar{
  background: #f5f3ee;
  padding: 32px 15px;
  border-radius: 18px;
  height: fit-content;
}
.mk-sidebar h3{
	font-size: 30px !important;
}
.mk-sidebar .widget{
  margin-bottom: 32px;
}

.mk-sidebar .widget:last-child{
  margin-bottom: 0;
}

.mk-sidebar .widget-title{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #455672;
  margin: 0 0 14px;
}

.mk-sidebar,
.mk-sidebar p,
.mk-sidebar li,
.mk-sidebar a{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #455672;
}

.mk-sidebar a{
  text-decoration: none;  
}

/* =========================
   Prev / Next
========================= */
.mk-post-nav{
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mk-post-nav-col{
  display: flex;
}

.mk-prev{ justify-content: flex-start; }
.mk-next{ justify-content: flex-end; text-align: right; }

.mk-nav-link{
  width: 100%;
  display: block;
  padding: 18px 18px;
  border-radius: 16px;
  background: rgba(69,86,114,0.06);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}

.mk-nav-link:hover{
  transform: translateY(-2px);
  background: rgba(69,86,114,0.10);
}

.mk-nav-label{
  display: block;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #455672;
  opacity: 0.85;
  margin-bottom: 6px;
}

.mk-nav-title{
  display: block;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #455672;
  line-height: 1.35;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px){
  .mk-layout{
    grid-template-columns: 1fr;
  }

  .mk-sidebar{
    padding: 26px 22px;
  }
}

@media (max-width: 768px){
  .mk-hero{
    padding: 52px 0 42px;
  }

  .mk-hero-title{
    font-size: 32px;
  }

  .mk-post-nav{
    grid-template-columns: 1fr;
  }

  .mk-next{
    justify-content: flex-start;
    text-align: left;
  }
}

/* =========================
   Sidebar – Latest Posts (Gutenberg)
========================= */
.mk-sidebar .wp-block-latest-posts{
  list-style: none;
  padding: 0;
  margin: 0;
}

/* pojedynczy wpis */
.mk-sidebar .wp-block-latest-posts li{
  margin: 0 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(69,86,114,0.18);
}

/* ostatni bez linii */
.mk-sidebar .wp-block-latest-posts li:last-child{
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* tytuł wpisu */
.mk-sidebar .wp-block-latest-posts__post-title{
  display: block;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #455672;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color .15s ease, transform .15s ease;
}

/* hover subtelny */
.mk-sidebar .wp-block-latest-posts__post-title:hover{
  color: #2f3e55;
  transform: translateX(2px);
}

/* data */
.mk-sidebar .wp-block-latest-posts__post-date{
  display: block;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(69,86,114,0.7);
  letter-spacing: 0.02em;
}
/* =========================
   CF7 – compact version
========================= */
.mk-cf7{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* rows */
.mk-cf7-row{
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.mk-cf7-row.mk-2{
  grid-template-columns: 1fr 1fr;
}

.mk-cf7-row.mk-1{
  grid-template-columns: 1fr;
}

/* label */
.mk-field label{
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #455672;
  margin: 0 0 4px; /* bliżej pola */
  letter-spacing: 0.015em;
}

/* inputs */
.mk-cf7 input[type="text"],
.mk-cf7 input[type="email"],
.mk-cf7 input[type="tel"],
.mk-cf7 input[type="date"],
.mk-cf7 textarea{
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #455672; /* ciemniejszy border */
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 15px;
  line-height: 1.35;
  color: #111;
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* textarea */
.mk-cf7 textarea{
  min-height: 120px;
  resize: vertical;
}

/* placeholder */
.mk-cf7 ::placeholder{
  color: rgba(0,0,0,0.4);
}

/* focus */
.mk-cf7 input:focus,
.mk-cf7 textarea:focus{
  border-color: #455672;
  box-shadow: 0 0 0 3px rgba(69,86,114,0.18);
}

/* acceptance */
.mk-consent{
  border: 1px solid #455672;
  background: rgba(69,86,114,0.05);
  border-radius: 12px;
  padding: 12px 12px;
}

.mk-consent .wpcf7-list-item{
  margin: 0;
}

.mk-consent input[type="checkbox"]{
  margin-right: 8px;
  transform: translateY(1px);
}

.mk-consent,
.mk-consent label{
  font-size: 12px;
  line-height: 1.5;
  color: #111;
}

/* submit */
.mk-actions{
  margin-top: 4px;
}

.mk-cf7 input[type="submit"]{
  appearance: none;
  border: 1px solid #455672 !important;
  background: #455672 ;
  color: #fff !important;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.mk-cf7 input[type="submit"]:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(69,86,114,0.28);
}

.mk-cf7 input[type="submit"]:active{
  transform: translateY(0);
}

/* validation */
.mk-cf7 .wpcf7-not-valid-tip{
  font-size: 11px;
  margin-top: 4px;
  color: #b3261e;
}

.mk-cf7 .wpcf7-response-output{
  border-radius: 12px;
  padding: 12px 12px;
  margin: 14px 0 0;
  font-size: 13px;
}
.mk-field p{
	margin: 5px !important;
}

/* mobile */
@media (max-width: 768px){
  .mk-cf7-row.mk-2 {
    grid-template-columns: 1fr;
  }
}
/* =========================
   CF7 – remove gaps between label and input
========================= */

/* usuń marginesy z <p> generowanych przez CF7 */
.mk-cf7 .mk-field p{
  margin: 0;
  padding: 0;
}

/* label bez odstępów */
.mk-cf7 .mk-field label{
  display: block;
  margin: 0 0 2px;   /* minimalna przerwa */
  padding: 0;
  line-height: 1.2;
}

/* usuń wpływ <br> */
.mk-cf7 .mk-field br{
  display: none;
}

/* span CF7 bez marginesów */
.mk-cf7 .wpcf7-form-control-wrap{
  margin: 0;
  padding: 0;
  display: block;
}
/* HERO */
.us-archive-hero{
background: rgb(46 74 104 / 54%);
    padding: 70px 16px 60px;
    text-align: center;
    margin-top: 150px;
}
.us-archive-hero__inner{
  max-width: 1100px;
  margin: 0 auto;
}
.us-archive-hero__title{
  color:#fff;
font-family: "Jost", Sans-serif !important;
    font-size: 40px !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    color: #FFFFFF !important;
}
.us-archive-hero__desc{
  color: rgba(255,255,255,.9);
  max-width: 780px;
  margin: 14px auto 0;
}

/* GRID */
.us-archive-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px 10px;
}
@media (max-width: 767px){
  .us-archive-grid{ grid-template-columns: 1fr; gap: 22px; }
}

/* CARD */
.us-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.us-card__img{
  display:block;
  aspect-ratio: 16 / 9;
  overflow:hidden;
}
.us-card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.us-card__body{
  text-align:center;
  padding: 22px 22px 18px;
}
.us-card__title{
  margin: 6px 0 10px;
    font-family: "Playfair Display", Sans-serif;
    font-size: 22px !important;
    font-weight: 500  !important;
    font-style: italic !important;
    line-height: 30px !important;
    color: #2e4a68 !important;
}
.us-card__title a{ color: inherit; text-decoration:none; }
.us-card__meta{
  font-size: 13px;
  opacity: .75;
  margin-bottom: 10px;
}
.us-card__excerpt{
  font-size: 14px;
  opacity: .85;
  margin: 0 auto 14px;
  max-width: 420px;
}
.us-card__more{
  display:inline-block;
  font-size: 13px;
  font-weight: 600;
  text-decoration:none;
  opacity:.85;
}
.us-card__more:hover{ opacity: 1; }

/* PAGINATION */
.us-pagination{
  max-width:1100px;
  margin: 10px auto 50px;
  padding: 0 16px;
}
.us-pagination ul{
  list-style:none;
  display:flex;
  gap:10px;
  justify-content:center;
  padding:0;
  margin: 0;
}
.us-pagination a,
.us-pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  padding: 0 12px;
  text-decoration:none;
  background: #2f3f56;
  color:#fff;
  opacity:.85;
}
.us-pagination .current{
  opacity: 1;
  font-weight:700;
}
.us-pagination a:hover{ opacity:1; }

/* Lista kategorii – elegancki styl */
.wp-block-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-block-categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    margin-bottom: 8px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
    transition: all 0.25s ease;
}

/* Hover */
.wp-block-categories li:hover {
    background: #f6f7f8;
    border-color: #d0d0d0;
}

/* Link */
.wp-block-categories a {
    text-decoration: none;
    font-weight: 500;
    color: #1f2937; /* ciemna, elegancka szarość */
}

/* Licznik wpisów */
.wp-block-categories li span,
.wp-block-categories li::after {
    font-size: 13px;
    color: #6b7280;
}

/* Ukrycie nawiasów i ładny badge */
.wp-block-categories li {
    position: relative;
}

.wp-block-categories li a + text {
    display: none;
}

.wp-block-categories li {
    counter-reset: none;
}

/* Styl licznika (badge) */
.wp-block-categories li {
    gap: 10px;
}

.wp-block-categories li::after {
    content: attr(data-count);
}

