.home {
  --home-header-height: 94px;
  --home-header-compact-height: 62px;
  --home-logo-width: clamp(168px, 15vw, 210px);
  --course-social-overlap: clamp(20px, 3vw, 42px);
  padding-block-start: var(--home-header-height);
}
.home > header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--home-header-height);
  transition: height .2s ease, box-shadow .2s ease;
}
body.home > header .brand {
  position: relative;
  flex: 0 0 var(--home-logo-width);
  width: var(--home-logo-width);
  height: 100%;
}
.home > header .brand img {
  position: absolute;
  inset-inline-start: 0;
  /* Center the wordmark on the navigation, letting the fins extend below the bar. */
  top: calc(50% - var(--home-logo-width) * .095);
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}
.home > header.is-compact {
  height: var(--home-header-compact-height);
  box-shadow: 0 4px 14px #00354a26;
}
.home > header.is-compact .brand img {
  top: 50%;
  width: 96px;
  transform: translateY(-50%);
}
.home .hero-language-notice {
  max-width: 510px;
  margin: 0 0 18px;
  padding: 9px 14px;
  color: #fff;
  background: #00385de8;
  border: 0;
  border-inline-start: 3px solid var(--lime);
  border-radius: 0 12px 12px 0;
}
@media (min-width: 1181px) {
  .home > header.is-compact .nav-contact,
  .home > header.is-compact .language-picker summary {
    padding-block: 6px;
  }
}
@media (max-width: 1180px) {
  .home > header nav { top: 100%; }
  .home > header.is-compact .menu-toggle { min-height: 36px; padding-block: 6px; }
}
@media (max-width: 850px) {
  .home {
    --home-header-height: 80px;
    --home-header-compact-height: 56px;
  }
  .home > header.is-compact .brand img { width: 88px; }
}
@media (max-width: 540px) {
  .home {
    --home-header-height: 76px;
    --home-logo-width: clamp(154px, 44vw, 174px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home > header { transition: none; }
}
.home .course-feature:has(+ .social-follow) {
  z-index: 1;
  margin-bottom: calc(0px - var(--course-social-overlap));
}
.home .course-feature:has(+ .social-follow)::after {
  box-shadow: 0 14px 26px rgba(0, 48, 74, .19);
}
.home .course-feature + .social-follow {
  margin-top: 0;
  padding-block: calc(var(--course-social-overlap) + 37px) calc(clamp(22px, 2.4vw, 34px) - 15px);
}
.home .social-follow-grid { row-gap: 14px; align-items: start; }
.home .social-follow-grid > .eyebrow { margin: 0; }
.home .social-follow h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 3.6vw, 48px);
  line-height: 1.03;
}
.home .social-follow .social-follow-description {
  margin: 0;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
}
@media (min-width: 701px) {
  .home .social-follow-grid {
    grid-template-areas: "label ." "heading actions" "description actions";
  }
  .home .social-follow-grid > .eyebrow { grid-area: label; }
  .home .social-follow-grid > h2 { grid-area: heading; }
  .home .social-follow-grid > .social-follow-description { grid-area: description; }
  .home .social-follow-grid > .social-follow-actions {
    grid-area: actions;
    margin-block-start: 20px;
  }
}
.home .social-follow + .section {
  padding-block-start: clamp(22px, 2.6vw, 32px);
}
.home .social-follow + .section .section-heading {
  padding-block-start: 8px;
}
.home .social-follow + .section .section-heading .eyebrow {
  margin-block-end: 12px;
}
@media (min-width: 1024px) {
  .home .course-feature + .social-follow .social-follow-grid {
    padding-inline: 65px;
  }
}
.blog-home {
  padding-block: clamp(44px, 6vw, 76px);
  background: #edf5fa;
}
.blog-home-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-bottom: 22px;
}
.blog-home h2 { margin: 0 0 6px; font-size: clamp(30px, 4vw, 52px); }
.blog-home-header p { margin: 0; }
.blog-home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.blog-home-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0 18px 0 16px;
  background: white;
  color: var(--deep);
  text-decoration: none;
}
.blog-home-card:hover { border-color: var(--blue); }
.blog-home-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.blog-home-card img { display: block; width: 100%; height: auto; aspect-ratio: 2.35 / 1; object-fit: cover; }
.blog-home-card h3 { margin: 0; padding: 13px 15px 16px; font-size: clamp(20px, 2vw, 25px); line-height: 1.13; }
.blog-home-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 17px 0 0;
}
.blog-home-topics li { margin: 0; }
.blog-home-topics a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.blog-home-topics a:hover { border-color: var(--blue); background: var(--cream); }
.blog-home-topics a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.home .ponor-invite { margin-bottom: clamp(24px, 4vw, 45px); }
.home-safety { margin-bottom: clamp(26px, 4vw, 48px); }
.home .home-safety .safety { margin-top: 0; }
.gallery-blog-link { margin: 20px 0 0; }
@media (max-width: 699px) {
  .blog-home-cards { grid-template-columns: 1fr; }
}
