body { background-color: #f7f9fc; color: #191c1e; }

.poland-hero-actions,
.poland-hero-cta,
.poland-benefit-grid,
.poland-program-grid,
.poland-cta-panel,
.poland-faq {
    min-width: 0;
}

.poland-hero-cta-primary {
    box-shadow: 0 10px 24px rgba(66, 210, 231, 0.18);
}

.poland-hero-cta-primary:hover {
    background: #fff;
    transform: translateY(-2px);
}

.poland-guide-note,
.poland-benefit-grid > div,
.poland-program-grid > div,
.poland-faq {
    border-color: #d8e4e8 !important;
    box-shadow: 0 10px 32px rgba(7, 24, 39, 0.035) !important;
}

.poland-benefit-grid > div,
.poland-program-grid > div,
.poland-faq {
    border-radius: 18px !important;
    background: #fff;
}

.poland-benefit-grid > div,
.poland-program-grid > div {
    min-height: 100%;
    padding: 1.25rem !important;
}

.poland-benefit-grid > div:hover,
.poland-program-grid > div:hover,
.poland-faq:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(7, 24, 39, 0.08) !important;
}

.poland-benefit-grid h3,
.poland-program-grid h3,
.poland-faq summary {
    line-height: 1.35;
}

.poland-benefit-grid p,
.poland-program-grid p {
    line-height: 1.65;
}

.poland-cta-panel {
    border-radius: 22px !important;
}

main a[href]:focus-visible,
.poland-faq summary:focus-visible,
.poland-benefit-grid > div:focus-within,
.poland-program-grid > div:focus-within {
    outline: 3px solid #42d2e7;
    outline-offset: 3px;
}

.poland-faq summary { min-height: 2.75rem; gap: 1rem; }
.poland-faq summary::-webkit-details-marker { display: none; }
.poland-faq summary i { display: none; }
.poland-faq summary::after { content: '+'; color: #0d7d96; font-size: 1.25rem; flex: 0 0 auto; }
.poland-faq[open] summary::after { content: '−'; }

@media (max-width: 767px) {
  main > .poland-hero .dest-hero-title {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
  }

  main > .poland-hero .dest-hero-desc {
    font-size: 1rem !important;
  }

    .poland-cta-panel a {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .poland-hero-cta-primary:hover { transform: none; }

    .poland-benefit-grid > div,
    .poland-program-grid > div,
    .poland-faq {
        transition: none !important;
    }

    .poland-benefit-grid > div:hover,
    .poland-program-grid > div:hover,
    .poland-faq:hover {
        transform: none;
    }
}

/* Study hero consistency: align detailed Study destination pages with the global hub reference. */
main > .dest-hero {
  min-height: 548px;
  display: flex;
  align-items: center;
  padding-top: 6.25rem !important;
  padding-bottom: 4rem !important;
  background-color: #040d15 !important;
}

main > .dest-hero .dest-container {
  width: 100%;
}

main > .dest-hero .dest-hero-title {
  max-width: 900px !important;
  font-size: clamp(2rem, 5vw, 3.35rem) !important;
  line-height: 1.06 !important;
  letter-spacing: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.42);
}

main > .dest-hero .dest-hero-desc {
  max-width: 760px !important;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem) !important;
  line-height: 1.55 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.36);
}

main > .dest-hero > img {
  z-index: 0 !important;
  filter: brightness(0.58) saturate(0.9);
}

main > .dest-hero .dest-hero-overlay {
  z-index: 1 !important;
  background: linear-gradient(90deg, rgba(4, 13, 21, 0.98) 0%, rgba(4, 13, 21, 0.9) 48%, rgba(4, 13, 21, 0.58) 100%) !important;
}

main > .dest-hero .anb-grid-fade,
main > .dest-hero .dest-hero-vignette {
  z-index: 2 !important;
}



@media (max-width: 767px) {
  main > .dest-hero {
    min-height: 560px;
    padding-top: 7rem !important;
    padding-bottom: 3.5rem !important;
  }

  main > .dest-hero .dest-hero-overlay {
    background: linear-gradient(180deg, rgba(4, 13, 21, 0.9) 0%, rgba(4, 13, 21, 0.96) 100%) !important;
  }
}
