/* Homepage readability update. Loaded after the approved v3 visual styles. */
body { font-size: 16px; line-height: 1.5; }

.masthead { height: auto; min-height: 72px; padding-block: 8px; }
.brand-note { white-space: normal; }
.languages { font-size: 12px; }
.header-phone strong { font-size: 16px; }
.header-phone small { font-size: 12px; line-height: 1.4; margin-top: 0; }
.nav-inner { gap: 24px; min-height: 48px; }
.nav-inner > a, .nav-group > summary, .nav-inner .nav-shop {
  font-size: 16px; min-height: 44px;
}
.nav-dropdown a { font-size: 16px; line-height: 1.5; }
.menu-toggle { font-size: 16px; min-height: 44px; }
.nav-search label, .nav-search button { font-size: 16px; }
.nav-search input { font-size: 16px; min-height: 44px; }
.nav-search > summary { min-height: 44px; }

.hero-grid { height: auto; min-height: 330px; grid-template-columns: 46% 54%; }
.hero-copy { width: auto; padding-block: 28px 32px; padding-right: 20px; }
.hero-photo .mock-photo > img { object-fit: cover !important; object-position: right center; }
.hero-lead { font-size: 18px; line-height: 1.5; margin-bottom: 8px; }
.hero-copy > p:not(.eyebrow):not(.hero-lead) {
  font-size: 16px; line-height: 1.5; max-width: 100%;
}
.hero-copy .eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: 1.6px; }
.hero-copy .desktop-break { display: none; }
.hero .actions { margin-top: 20px; gap: 12px; }

.button, .header-shop, .hero .button, .pathways .button,
.pathways article:nth-child(3) .button, .offer-pair .button, .shop-cta .button {
  font-size: 16px; line-height: 1.35; min-height: 44px;
  padding: 11px 14px; gap: 10px; max-width: 100%; white-space: normal;
}
.button > svg, .button > span[aria-hidden] { flex-shrink: 0; }
.header-shop { white-space: nowrap; }

.pathways { padding-block: 24px; }
.pathways article, .pathways article:nth-child(2), .pathways article:nth-child(3) {
  grid-template-columns: 106px minmax(0, 1fr); align-items: stretch;
}
.pathways article > div, .offer-pair article > div { min-width: 0; }
.pathways h2, .pathways article:nth-child(3) h2 {
  font-size: 22px; line-height: 1.15; white-space: normal; letter-spacing: normal;
}
.pathways p, .section-heading p, .craft .section-heading p,
.collection p, .process-grid p, .offer-pair p, .shop-brand p, .shop-brand p:last-child {
  font-size: 16px; line-height: 1.5;
}
.pathways p { margin-bottom: 16px; }
.pathways .button { margin-top: auto; }
.text-link, .section-heading .text-link { font-size: 16px; line-height: 1.5; white-space: normal; }
.section-heading { flex-wrap: wrap; margin-bottom: 16px; }
.heading-inline { flex-wrap: wrap; gap: 6px 18px; }
.collections, .craft { padding-block: 24px; }
.craft .section-heading { margin-bottom: 20px; }
.collection h3, .process-grid h3 { font-size: 19px; line-height: 1.25; margin-block: 10px 6px; }
.process-grid p { max-width: 100%; }

.offer-pair { padding-block: 26px; }
.offer-pair h2, .offer-pair .visit-offer h2, .offer-pair .business-offer h2 {
  font-size: 22px; line-height: 1.2; white-space: normal; letter-spacing: normal;
}
.offer-pair .actions { flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.shop-banner { grid-template-columns: 250px minmax(0, 1fr) 250px; padding: 20px; gap: 20px; }
.shop-cta ul { font-size: 14px; line-height: 1.5; }
.shop-cta li { line-height: 1.5; margin-block: 8px; }
.values p { font-size: 14px; line-height: 1.5; }
.values .wrap > div { min-width: 0; }
.values svg { flex-shrink: 0; }

.footer-grid { grid-template-columns: .7fr 1.15fr 1.4fr 1.1fr .8fr; gap: 24px; padding-block: 28px; }
.footer-grid > div { min-width: 0; }
.footer-grid h2 { font-size: 16px; line-height: 1.4; margin-bottom: 10px; }
.footer-grid > div > a, .footer-grid address, .footer-social .facebook-link {
  font-size: 14px; line-height: 1.5; margin-bottom: 8px; overflow-wrap: anywhere;
}
.footer-contact > a[href^="tel:"], .footer-contact > a[href^="mailto:"] { font-size: 16px; }
.footer-contact > a[href="mailto:wycieczki@kadpol.pl"] { display: block; }
.footer-contact small { display: block; font-size: 14px; line-height: 1.5; margin: 0; }
.footer-motto { margin-right: 0; }
.footer-bottom { font-size: 14px; line-height: 1.5; flex-wrap: wrap; gap: 12px; padding-block: 16px; }
.newsletter, .newsletter label { font-size: 14px; line-height: 1.5; }
.newsletter summary { font-size: 16px; }
.newsletter input[type="email"], .newsletter button { font-size: 16px; min-height: 44px; }

@media (max-width: 1199px) {
  .brand-note { display: none; }
  .header-actions { margin-left: auto; }
  .nav-inner .nav-shop { display: none; }
  .nav-inner { gap: 20px; flex-wrap: wrap; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .pathways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pathways article, .pathways article:nth-child(2), .pathways article:nth-child(3) {
    grid-template-columns: 86px minmax(0, 1fr); gap: 12px;
  }
  .offer-pair { grid-template-columns: 1fr; gap: 20px; }
  .offer-pair .visit-offer, .offer-pair .business-offer {
    grid-template-columns: 184px minmax(0, 1fr); padding: 0; border: 0;
  }
  .offer-pair .business-offer { border-top: 1px solid var(--line); padding-top: 20px; }
  .shop-banner { grid-template-columns: 250px minmax(0, 1fr); }
  .shop-cta { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
  .shop-cta .button { width: auto; }
  .shop-cta ul { display: block; margin: 0; }
  .footer-grid { grid-template-columns: .7fr 1.1fr 1.4fr 1.1fr; }
  .footer-motto { display: none; }
}

@media (max-width: 1000px) {
  .pathways { grid-template-columns: 1fr; padding-block: 0; }
  .pathways article, .pathways article:first-child, .pathways article:last-child,
  .pathways article:nth-child(2), .pathways article:nth-child(3) {
    grid-template-columns: 106px minmax(0, 1fr); gap: 20px; padding: 20px 0;
    border: 0; border-bottom: 1px solid var(--line);
  }
  .pathways article:last-child { border-bottom: 0; }
  .pathways h2 br { display: none; }
  .values > .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-inline: 0; }
  .hero-photo { margin: 0; height: auto; aspect-ratio: 594 / 279; }
  .hero-photo > .mock-photo { position: absolute; inset: 0; }
}

@media (max-width: 760px) {
  .masthead { min-height: 72px; gap: 10px; }
  .brand > .mock-photo { width: 110px; height: 40px; }
  .header-phone strong { font-size: 15px; }
  .header-phone small { font-size: 11px; }
  .nav-inner > a, .nav-group > summary, .nav-inner .nav-shop { font-size: 16px; }
  .nav-inner .nav-shop { display: flex; }
  .hero-grid { min-height: 0; }
  .hero-copy { padding: 25px 22px 28px; }
  .hero-lead { font-size: 17px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: 1.4px; }
  .hero .actions { gap: 10px; }
  .pathways article, .pathways article:first-child, .pathways article:last-child,
  .pathways article:nth-child(2), .pathways article:nth-child(3) { gap: 16px; }
  .offer-pair article, .offer-pair .visit-offer, .offer-pair .business-offer {
    grid-template-columns: 108px minmax(0, 1fr); gap: 16px;
  }
  .shop-banner { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .shop-cta { display: block; grid-column: 1; }
  .shop-cta .button { max-width: 100%; width: 100%; }
  .shop-cta ul { margin-top: 12px; }
  .values > .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > .footer-contact, .footer-grid > .footer-social { padding: 0; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 400px) {
  .masthead { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
  .brand { grid-column: 1; grid-row: 1; }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .header-actions { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; width: 100%; margin: 0; }
  .header-phone strong { font-size: 16px; }
  .header-phone small { font-size: 12px; }
  .nav-search form { right: 0; }
  .hero-copy { padding-inline: 18px; }
  .pathways article, .pathways article:first-child, .pathways article:last-child,
  .pathways article:nth-child(2), .pathways article:nth-child(3) { grid-template-columns: 90px minmax(0, 1fr); }
  .offer-pair article, .offer-pair .visit-offer, .offer-pair .business-offer { grid-template-columns: 88px minmax(0, 1fr); }
}
