/* Styl dla stron WordPress */

/* Wrapper banerów na stronie głównej – pełna szerokość, padding */
.homepage-banners-wrapper {
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  margin: 0 auto;
}

/* === HERO BANNERS (górna sekcja, desktop: 2 kolumny) === */
.hero-banners {
  display: flex;
  gap: 24px;
}
.banner-large {
  width: 50%;
  height: 810px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}
.bannery-prawa {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.bannery-slide {
  width: 100%;
  height: 392px;
  position: relative;
  overflow: hidden;
}

/* --- Banery – ogólne --- */
.banner {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  position: relative;
  min-width: 0;
  text-decoration: none;
  background: #eee;
}
.banner-small {
  width: 100%;
  height: 392px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Bannery-row (dolny rząd 3 kwadratów) --- */
.banners-row {
  display: flex;
  gap: 24px;
  width: 100%;
}
.banners-row .banner {
  width: 100%;
  height: 392px;
  flex: 1 1 0;
  min-width: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

/* --- Banner content (overlay tekstowy) --- */
.banner-content {
  position: absolute;
  left: 0; bottom: 0;
  padding: 0 0 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  width: 100%;
  pointer-events: none;
}
.banner-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 16px rgba(0,0,0,0.30);
  margin-bottom: 5px;
  margin-top: 0;
  line-height: 1.1;
  pointer-events: auto;
  background-color: #04040473;
  padding: 10px;
}

/* === RESPONSYWNOŚĆ – MOBILE (MAX 768px) === */
@media (max-width: 768px) {

  .homepage-banners-wrapper {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero-banners,
  .bannery-prawa,
  .banners-row {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .banner,
  .banner-large,
  .banner-small,
  .bannery-slide,
  .banners-row .banner {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0 0 10px 0;
    padding: 0;
    border: none;
  }

  .banner picture {
    display: block;
    width: 100%;
  }

  .banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .banner-title {
    font-size: 1.25rem;
  }

  .banner-content {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0 0 18px 14px;
    width: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .banner-sypialnia {
    margin: 0;
    padding: 0;
  }
}

/* INFO-BAR - minimalistyczny, bez kart i radiusa */
.info-bar {
  width: 100%;
  background: #FCF6F2;
  padding: 0;
}

.info-bar__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  max-width: var(--container-width, 1400px);
  margin: 0 auto;
  padding: 36px 24px;
  box-sizing: border-box;
}

.info-block {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
}

.info-icon {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.info-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.2;
}

.info-desc {
  color: #4d4d4d;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}

span.info-icon.clock {
  margin-top: 7px;
}

@media (max-width: 900px) {
  .info-bar__container {
    flex-direction: column;
    gap: 18px;
    padding: 26px 8px;
  }
  .info-block {
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 4px;
  }
  .info-title { font-size: 1.07rem; }
  .info-desc { font-size: 0.97rem; }
  .info-icon svg { width: 27px; height: 27px; }
}

/* === BLOG === */
.blog-list {
  display: flex;
  gap: 2.5em;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.blog-article {
  width: calc(33.333% - 1.7em);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-article__img-wrapper {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 0.5em;
  background: #eee;
  margin-bottom: 1em;
  position: relative;
}
.blog-article__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.blog-article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8em;
  font-size: 0.95em;
  color: #888;
  margin-bottom: 0.5em;
  line-height: 1.4;
}
.blog-article__author,
.blog-article__date {
  display: inline;
  white-space: nowrap;
}

.blog-article__author::before {
  content: "Autor: ";
  font-weight: 400;
  color: #aaa;
}

.blog-article__date::before {
  content: "| ";
  color: #aaa;
}

.blog-article__title {
  margin: 0 0 0.5em 0;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.2;
}
.blog-article__title a {
  color: var(--heading-color, #000);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-article__title a:hover {
  color: var(--color-primary-hover, #bc753a);
}

/* Responsywność – 1 kolumna na mobile */
@media (max-width: 900px) {
  .blog-list {
    flex-direction: column;
    gap: 2em;
  }
  .blog-article {
    width: 100%;
  }
}

/* === Strony ogólne (Page) === */
.page-content {
  padding: 28px 24px;
  background-color: #fff;
}

.page-content h1.page-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading-color, #000);
  margin-bottom: 24px;
  margin-top: 0;
}

.page-content p {
  font-size: var(--font-size-base, 17.6px);
  color: var(--text-font-color, #444);
  line-height: 1.6;
  margin-bottom: 1.5em;
}

.page-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px 0;
}

.page-content ul,
.page-content ol {
  margin: 1em 0 1.5em 1.5em;
  padding-left: 1em;
  line-height: 1.6;
}

.page-content ul li::marker {
  color: var(--a-global-color-primary, #CD8F5C);
}

@media (max-width: 768px) {
  .page-content {
    padding: 32px 12px;
  }

  .page-content h1.page-title {
    font-size: 22px;
  }

  .page-content p {
    font-size: 16px;
  }
}

/* DLA BLOGA ZOOM IMG */
.img-hover-zoom-blog {
  transition: transform 0.38s cubic-bezier(.23,1.02,.67,.98), box-shadow 0.22s;
  will-change: transform;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-hover-zoom-blog:hover,
.img-hover-zoom-blog:focus-visible {
  transform: scale(1.055);
  box-shadow: 0 8px 28px rgba(60,60,60,0.14);
  z-index: 2;
}
