/*
Theme Name: Zulawskie Child
Theme URI: https://dwmedia.pl/
Description: Motyw potomny dla szablonu Zulawskie.
Author: DW Media
Author URI: https://dwmedia.pl/
Template: zulawskie
Version: 1.0.15
Text Domain: zulawskie-child
*/

/* BENEFITY */

.potato-benefits-section {
  padding: 70px 20px;
  background: transparent;
  font-family: inherit;
  color: inherit;
}

.potato-benefits-section * {
  box-sizing: border-box;
}

.potato-benefits-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px 1fr;
  gap: 50px;
  align-items: center;
}

.benefits-col {
  display: flex;
  flex-direction: column;
}

.benefit-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(47, 95, 31, 0.18);
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #244f0b !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.05);
}

.benefit-icon svg,
.cta-icon svg {
  width: 30px;
  height: 30px;
  stroke: #fff !important;
  stroke-width: 1.7;
  fill: none !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.benefit-item h3 {
  margin: 0 0 8px;
  color: #073b08;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
}

.benefit-item p {
  margin: 0;
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.6;
}

.benefits-image {
  text-align: center;
}

.benefits-image img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.12));
}

/* CTA */

.potato-benefits-cta {
  max-width: 1000px;
  margin: 50px auto 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(47, 95, 31, 0.16);
  display: flex;
  gap: 18px;
  align-items: center;
}

.cta-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #244f0b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-text {
  flex: 1;
}

.cta-text strong {
  display: block;
  color: #073b08;
  font-size: 22px;
  line-height: 1.25;
}

.cta-text span {
  display: block;
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.5;
}

.cta-button {
  margin-left: auto;
  padding: 14px 30px;
  border-radius: 999px;
  background: #2f5f1f;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: #214915;
  transform: translateY(-1px);
}

/* DLA KOGO */

.zz-clients-section {
  padding: 80px 20px;
}

.zz-clients-inner {
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}

.zz-clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.zz-client-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 34px;
  background: #edf2ec;
  border-radius: 22px;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(20, 58, 24, 0.08);
  transition: all 0.25s ease;
}

.zz-client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(20, 58, 24, 0.16);
}

.zz-client-image {
  width: 100%;
  height: 210px;
  overflow: hidden;
  border-radius: 0 0 50% 50% / 0 0 18% 18%;
}

.zz-client-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.zz-client-card:hover .zz-client-image img {
  transform: scale(1.05);
}

.zz-client-icon {
  width: 118px;
  height: 118px;
  margin: -60px auto 26px;
  border-radius: 50%;
  background: #4f7b35;
  border: 5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.zz-client-card:hover .zz-client-icon {
  background: #2f5f1f;
  transform: scale(1.08);
}

.zz-client-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.zz-client-card h3 {
  margin: 0 24px 18px;
  color: #073b08;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
}

.zz-client-card p {
  max-width: 260px;
  margin: 0 auto;
  padding: 0 24px;
  color: #4f4f4f;
  font-size: 17px;
  line-height: 1.7;
}

/* INFO */

.zz-info-section {
  margin: 0;
  padding: 0 20px;
}

.zz-info-section * {
  box-sizing: border-box;
}

.zz-info-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.zz-info-card {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 0;
  background: linear-gradient(180deg, #f2f6f0 0%, #e9f0e7 100%);
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(20, 58, 24, 0.1);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zz-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 75px rgba(20, 58, 24, 0.16);
}

.zz-info-image {
  width: 100%;
  height: 235px;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}

.zz-info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.zz-info-card:hover .zz-info-image img {
  transform: scale(1.04);
}

.zz-info-content {
  padding: 30px 34px 10px;
}

.zz-info-heading {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.zz-info-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #244f0b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(36, 79, 11, 0.22);
}

.zz-info-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.zz-info-card h3 {
  margin: 0 0 6px;
  color: #073b08;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.15;
  font-weight: 800;
}

.zz-info-subtitle {
  margin: 0 !important;
  color: #63705f;
  font-size: 15px;
  line-height: 1.45;
}

.zz-info-card p {
  margin: 0 0 16px;
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.65;
}

.zz-info-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.zz-info-card li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #4f4f4f;
  font-size: 15.5px;
  line-height: 1.55;
}

.zz-info-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #244f0b;
  color: #fff;
  font-size: 12px;
  line-height: 19px;
  text-align: center;
  font-weight: 700;
}

.zz-info-note {
  margin-top: 18px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(47, 95, 31, 0.22);
  font-weight: 600;
}

.zz-info-action {
  padding: 0 34px 30px;
  margin-top: auto;
}

.zz-info-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: #244f0b !important;
  font-weight: 800;
  text-decoration: none !important;
}

.zz-info-button:hover {
  color: #ff7343 !important;
}

.zz-info-mini-list {
  margin: 0 !important;
}

.zz-info-mini-list li {
  font-size: 15px;
  margin-bottom: 8px;
}

.zz-info-bottom {
  display: none;
}

/* POSZARPANE TŁO */

.zz-ragged-section {
  position: relative;
  background: #eef4ed;
  padding: 90px 20px;
  overflow: hidden;
}

/* OFERTA - 3 KARTY */

.zz-offer-cards-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 20px 28px 70px;
  background: transparent;
  overflow: hidden;
}

.zz-offer-cards-section * {
  box-sizing: border-box;
}

.zz-offer-cards-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.zz-offer-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.zz-offer-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.26) 48%, rgba(0,0,0,0.04) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.12) 55%, rgba(0,0,0,0.02) 100%);
}

.zz-offer-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: #fff;
}

.zz-offer-icon {
  width: 104px;
  height: 104px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: #244f0b !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zz-offer-icon img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) !important;
}

.zz-offer-card h3 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-shadow: 0 4px 22px rgba(0,0,0,0.38);
}

.zz-offer-line {
  display: block;
  width: 64px;
  height: 4px;
  margin: 26px 0 28px;
  background: #f4ea61;
  border-radius: 999px;
}

.zz-offer-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 32px;
  color: #fff;
}

.zz-offer-feature > span {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-top: 3px;
  border-radius: 50%;
  background: #f4ea61;
  color: #244f0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
}

.zz-offer-feature strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.zz-offer-feature p {
  margin: 7px 0 0;
  color: rgba(255,255,255,0.92);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 500;
}

.zz-offer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 215px;
  padding: 15px 30px;
  border-radius: 999px;
  background: #5d8f52;
  border: 1px solid rgba(255,255,255,0.75);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s ease;
}

.zz-offer-button::after {
  content: "\2197";
  display: inline-block;
  margin-left: 9px;
  color: #fff !important;
  font-size: 16px;
  line-height: 1;
  background: transparent !important;
}

.zz-offer-button:hover {
  background: #4f7b45;
  color: #fff !important;
  transform: translateY(-2px);
}

/* NASZE ODMIANY ZIEMNIAKÓW */

.zz-varieties-section {
  width: 100%;
  padding: 0 20px;
  font-family: inherit;
}

.zz-varieties-section * {
  box-sizing: border-box;
}

.zz-varieties-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.zz-variety-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: #fff9e8;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 58, 24, 0.1);
}

.zz-variety-card.zz-reverse {
  grid-template-columns: 1fr 1fr;
}

.zz-variety-image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.zz-variety-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zz-variety-card:not(.zz-reverse) .zz-variety-content {
  border-radius: 64px 0 0 64px;
}

.zz-variety-card.zz-reverse .zz-variety-content {
  border-radius: 0 64px 64px 0;
}

.zz-variety-content {
  padding: 58px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  background: #fff9e8;
}

.zz-varieties-section .zz-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #244f0b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(36, 79, 11, 0.26);
}

.zz-varieties-section .zz-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.zz-variety-label {
  min-height: 22px;
  margin: 0 0 6px;
  color: #4f4f4f;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}

.zz-variety-content h3 {
  margin: 0;
  text-align: center;
  color: #073b08;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  font-family: Georgia, serif;
}

.zz-divider {
  width: 146px;
  height: 20px;
  margin: 20px auto 26px;
  position: relative;
}

.zz-divider::before,
.zz-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 62px;
  height: 1px;
  background: rgba(36, 79, 11, 0.42);
}

.zz-divider::before {
  left: 0;
}

.zz-divider::after {
  right: 0;
}

.zz-divider span {
  width: 8px;
  height: 8px;
  background: #244f0b;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.zz-variety-content p {
  max-width: 310px;
  min-height: 125px;
  margin: 0 auto 32px;
  color: #4f4f4f;
  font-size: 17px;
  line-height: 1.75;
}

.zz-varieties-section .zz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 190px;
  width: fit-content;
  margin: auto auto 0;
  padding: 15px 34px;
  border-radius: 999px;
  background: #2f5f1f;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}

.zz-varieties-section .zz-btn:hover {
  background: #214915;
  transform: translateY(-2px);
}

.zz-varieties-section .zz-btn span {
  display: inline-block;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

/* DOLNE BENEFITY - ODMIANY */

.zz-variety-benefits {
  max-width: 1320px;
  margin: 42px auto 0;
  padding: 32px 34px;
  background: linear-gradient(180deg, #f1f2ea 0%, #eceee4 100%);
  border-radius: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  box-shadow: 0 18px 46px rgba(25, 49, 22, 0.07);
}

.zz-variety-benefit {
  display: flex;
  align-items: center;
  gap: 20px;
}

.zz-variety-benefit:not(:last-child) {
  border-right: 1px solid rgba(36, 79, 11, 0.2);
  padding-right: 24px;
}

.zz-variety-benefit-icon {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #244f0b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(36, 79, 11, 0.22);
}

.zz-variety-benefit-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.zz-variety-benefit h4 {
  margin: 0 0 6px;
  color: #073b08;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
}

.zz-variety-benefit p {
  margin: 0;
  color: #555;
  font-size: 15.5px;
  line-height: 1.55;
}

/* O NASZYM GOSPODARSTWIE - KARTY BENEFITÓW */

.zf-benefits-cards {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.zf-benefit-card {
  min-height: 245px;
  padding: 24px 20px 22px;
  background: rgba(255, 252, 243, 0.78);
  border: 1px solid rgba(217, 201, 157, 0.65);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(30, 55, 28, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zf-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(30, 55, 28, 0.12);
}

.zf-benefit-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #6b9653 0%, #244f0b 72%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zf-benefit-icon svg {
  width: 34px;
  height: 34px;
}

.zf-benefit-card h3 {
  min-height: 54px;
  margin: 0 auto 14px;
  color: #062b0a;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.zf-card-line {
  position: relative;
  display: block;
  width: 80px;
  height: 1px;
  margin: 0 auto 16px;
  background: rgba(36, 79, 11, 0.28);
}

.zf-card-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #244f0b;
  transform: translate(-50%, -50%);
}

.zf-benefit-card p {
  margin: 0 auto;
  color: #4e5b50;
  font-size: 14px;
  line-height: 1.55;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 1180px) {
  .potato-benefits-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .benefits-image {
    order: -1;
  }

  .benefits-image img {
    max-width: 440px;
  }

  .zz-clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zz-info-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .zz-info-card {
    min-height: auto;
  }

  .zz-offer-cards-grid {
    grid-template-columns: 1fr;
  }

  .zz-offer-card,
  .zz-offer-content {
    min-height: 560px;
  }

  .zz-offer-content {
    padding: 52px 44px;
  }

  .zz-varieties-grid {
    grid-template-columns: 1fr;
  }

  .zz-variety-benefits {
    grid-template-columns: 1fr;
  }

  .zz-variety-benefit:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(36, 79, 11, 0.2);
    padding-right: 0;
    padding-bottom: 20px;
  }

  .zz-variety-benefit h4 {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .zz-info-content {
    padding: 28px 24px 10px;
  }

  .zz-info-action {
    padding: 0 24px 28px;
  }

  .zz-info-card h3 {
    font-size: 28px;
  }

  .zz-info-image {
    height: 220px;
  }
}

@media (max-width: 767px) {
  .zf-benefits-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .zf-benefit-card {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .zz-info-heading {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 15px;
  }

  .zz-info-icon {
    width: 64px;
    height: 64px;
  }

  .zz-info-icon img {
    width: 36px;
    height: 36px;
  }

  .zz-info-card h3 {
    font-size: 23px;
  }

  .zz-info-image {
    height: 190px;
  }

  .zz-offer-card,
  .zz-offer-content {
    min-height: 500px;
  }

  .zz-offer-content {
    padding: 38px 28px;
  }

  .zz-offer-icon {
    width: 74px;
    height: 74px;
  }

  .zz-offer-icon img {
    width: 42px;
    height: 42px;
  }

  .zz-offer-card h3 {
    font-size: 36px;
  }

  .zz-offer-feature strong {
    font-size: 20px;
  }

  .zz-offer-feature p {
    font-size: 15px;
  }

  .zz-offer-button {
    min-width: 210px;
    padding: 15px 28px;
    font-size: 16px;
  }

  .zz-variety-card,
  .zz-variety-card.zz-reverse {
    grid-template-columns: 1fr;
  }

  .zz-card-jelly .zz-variety-content,
  .zz-variety-card.zz-reverse .zz-variety-content {
    order: 2;
  }

  .zz-card-jelly .zz-variety-image,
  .zz-variety-card.zz-reverse .zz-variety-image {
    order: 1;
  }

  .zz-variety-image {
    min-height: 280px;
    height: 280px;
  }

  .zz-variety-content {
    padding: 42px 26px;
    border-radius: 0 !important;
  }

  .zz-variety-content h3 {
    font-size: 38px;
  }

  .zz-variety-content p {
    min-height: auto;
  }

  .zz-variety-benefits {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .potato-benefits-section,
  .zz-clients-section,
  .zz-info-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .zz-varieties-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .benefit-item {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .benefit-icon {
    width: 58px;
    height: 58px;
  }

  .benefit-icon svg,
  .benefit-icon img {
    width: 28px;
    height: 28px;
  }

  .benefit-item h3 {
    font-size: 22px;
  }

  .potato-benefits-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-button {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .zz-clients-grid {
    grid-template-columns: 1fr;
  }
}

/* STRONY TEKSTOWE */

body .entry-content:has(.rodo-article),
body .entry-content:has(.privacy-article),
body .entry-content:has(.terms-article),
body .entry-content:has(.kpo-article),
body .entry-content:has(.about-article),
body .page-content:has(.rodo-article),
body .page-content:has(.privacy-article),
body .page-content:has(.terms-article),
body .page-content:has(.kpo-article),
body .page-content:has(.about-article) {
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

body .rodo-article,
body .privacy-article,
body .terms-article,
body .kpo-article,
body .about-article {
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: 50px 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body .rodo-article h1,
body .rodo-article h2,
body .privacy-article h1,
body .privacy-article h2,
body .terms-article h1,
body .terms-article h2,
body .kpo-article h1,
body .kpo-article h2,
body .about-article h1,
body .about-article h2 {
  color: #073b08 !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

body .rodo-article h1,
body .privacy-article h1,
body .terms-article h1,
body .kpo-article h1,
body .about-article h1 {
  font-size: 42px !important;
  margin: 0 auto 25px !important;
}

body .rodo-article h2,
body .privacy-article h2,
body .terms-article h2,
body .kpo-article h2,
body .about-article h2 {
  font-size: 30px !important;
  margin: 35px auto 18px !important;
}

body .rodo-article p,
body .privacy-article p,
body .terms-article p,
body .kpo-article p,
body .about-article p {
  max-width: 920px !important;
  margin: 0 auto 18px !important;
  text-align: center !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
}

body .rodo-article ul,
body .rodo-article ol,
body .privacy-article ul,
body .privacy-article ol,
body .terms-article ul,
body .terms-article ol,
body .about-article ul,
body .about-article ol,
body .kpo-article > ul,
body .kpo-article > ol {
  display: inline-block !important;
  max-width: 820px !important;
  text-align: left !important;
  margin: 15px auto 25px !important;
  padding-left: 24px !important;
}

body .rodo-article li,
body .privacy-article li,
body .terms-article li,
body .kpo-article li,
body .about-article li {
  font-size: 17px !important;
  line-height: 1.7 !important;
  margin-bottom: 6px !important;
}

body .rodo-article li ul,
body .rodo-article li ol,
body .privacy-article li ul,
body .privacy-article li ol,
body .terms-article li ul,
body .terms-article li ol,
body .kpo-article li ul,
body .kpo-article li ol,
body .about-article li ul,
body .about-article li ol {
  display: block !important;
  margin: 10px 0 15px 25px !important;
  padding-left: 20px !important;
}

body .rodo-article hr,
body .privacy-article hr,
body .terms-article hr,
body .kpo-article hr,
body .about-article hr {
  max-width: 620px !important;
  margin: 35px auto !important;
}

body .rodo-highlight,
body .privacy-highlight,
body .kpo-highlight,
body .about-highlight {
  max-width: 760px !important;
  margin: 20px auto !important;
  padding: 20px !important;
  border-radius: 12px !important;
  background: #f4f7f2 !important;
  line-height: 1.6 !important;
}

@media (max-width: 768px) {
  body .rodo-article,
  body .privacy-article,
  body .terms-article,
  body .kpo-article,
  body .about-article {
    padding: 35px 0 !important;
  }

  body .rodo-article h1,
  body .privacy-article h1,
  body .terms-article h1,
  body .kpo-article h1,
  body .about-article h1 {
    font-size: 32px !important;
  }

  body .rodo-article h2,
  body .privacy-article h2,
  body .terms-article h2,
  body .kpo-article h2,
  body .about-article h2 {
    font-size: 26px !important;
  }

  body .rodo-article p,
  body .privacy-article p,
  body .terms-article p,
  body .kpo-article p,
  body .about-article p,
  body .rodo-article li,
  body .privacy-article li,
  body .terms-article li,
  body .kpo-article li,
  body .about-article li {
    font-size: 16px !important;
  }
}


/* O NAS - PODSTRONA */

.about-article {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 60px;
  color: #243126;
}

.about-article * {
  box-sizing: border-box;
}

.about-hero-box,
.about-section {
  margin-bottom: 28px;
  padding: 34px 38px;
  border-radius: 18px;
  background: #f4f8f1;
  box-shadow: 0 16px 45px rgba(20, 58, 24, 0.08);
}

.about-hero-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef6e8 0%, #ffffff 100%);
  border-left: 6px solid #5ba647;
}

.about-hero-box::after {
  content: "”";
  position: absolute;
  right: 28px;
  bottom: -34px;
  color: rgba(91, 166, 71, 0.22);
  font-size: 150px;
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}

.about-section {
  border: 1px solid rgba(47, 95, 31, 0.12);
}

.about-section h2 {
  margin: 0 0 18px;
  color: #062912;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-section p,
.about-hero-box p {
  margin: 0 0 16px;
  color: #4f4f4f;
  font-size: 17px;
  line-height: 1.75;
}

.about-section p:last-child,
.about-hero-box p:last-child {
  margin-bottom: 0;
}

.about-highlight {
  margin-bottom: 20px !important;
  padding: 22px 26px;
  border-radius: 14px;
  background: #eaf4e4;
  color: #092b12 !important;
  white-space: pre-line;
  font-size: 18px !important;
  line-height: 1.65 !important;
}

.about-highlight strong {
  display: block;
  margin-bottom: 6px;
  color: #062912;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
}

.about-section ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
}

.about-section li {
  position: relative;
  min-height: 28px;
  margin-bottom: 14px;
  padding-left: 42px;
  color: #4f4f4f;
  font-size: 17px;
  line-height: 1.65;
}

.about-section li:last-child {
  margin-bottom: 0;
}

.about-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: #5ba647;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(25, 75, 35, 0.12);
}

.about-contact-box {
  background: linear-gradient(135deg, #eef6e8 0%, #ffffff 100%);
  border-left: 6px solid #5ba647;
}

@media (max-width: 768px) {
  .about-article {
    padding: 10px 0 40px;
  }

  .about-hero-box,
  .about-section {
    padding: 26px 22px;
    border-radius: 14px;
  }

  .about-section h2 {
    font-size: 26px;
  }

  .about-section p,
  .about-hero-box p,
  .about-section li {
    font-size: 16px;
  }

  .about-highlight {
    padding: 18px 20px;
    font-size: 16px !important;
  }

  .about-highlight strong {
    font-size: 19px;
  }
}

