/* ── Reset ── */
p, h1, h2, h3, h4, h5, h6 { margin: 0; }

/* ── Images ── */
.image-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Wrapper ── */
.wrapper {
  display: block;
  padding-left:  var(--space-wrapper);
  padding-right: var(--space-wrapper);
  max-width: 90em; /* 1440px */
  margin: 0 auto;
  width: 100%;
}

/* ── Typography elements ── */
.h1 {
  font-family: var(--font-display);
  font-size:   var(--text-h1);
  line-height: var(--lh-h1);
}

.h2 {
  font-family: var(--font-display);
  font-size:   var(--text-h2);
  line-height: var(--lh-h2);
}

.body-s {
  font-family: var(--font-body);
  font-size:   var(--text-body-s);
  line-height: var(--lh-body-s);
}

/* ── Utilities ── */
.caps     { text-transform: uppercase; }
.relative { position: relative; }
.absolute { position: absolute; }

/* ── Container ── */
.container {
  display: block;
  padding-top:    var(--space-container);
  padding-bottom: var(--space-container);
}

/* ── Wrapper BG ── */
.wrapper-bg {
  display: block;
  padding-left:  var(--space-wrapper-bg);
  padding-right: var(--space-wrapper-bg);
}

/* ── Icon sizes ── */
.icon-24px {
  width: 1.5em;  /* 24px */
  height: 1.5em; /* 24px */
}

.icon-48px {
  width: 3em;  /* 48px */
  height: 3em; /* 48px */
  flex-shrink: 0;
}

/* ── Button ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25em 2.125em; /* 20px 34px */
  font-family: var(--font-body);
  font-size: var(--text-body-s);
  line-height: var(--lh-body-s);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn.primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn.secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

/* ── Layouts ── */
.layout-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18.875em, 1fr)); /* min 302px */
  gap: var(--space-grid-gap);
  align-items: start;
}

.layout-col {
  grid-column: span 3;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-title-gap);
}

.layout-col-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-grid-gap);
}

.layout-col-grid > * {
  min-width: min(18.875em, 100%);
}

/* ── Layout Col Grid Item ── */
.layout-col-grid__item {
  position: relative;
  height: 25em; /* 400px */
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

.layout-col-grid__item:nth-child(1) {
  flex: 1 0 calc(43.16% - var(--space-grid-gap) / 2);
}

.layout-col-grid__item:nth-child(2) {
  flex: 1 0 calc(56.84% - var(--space-grid-gap) / 2);
}

.layout-col-grid__item:nth-child(3) {
  flex: 1 0 100%;
}

/* ── Button Ghost ── */
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375em;                        /* 6px */
  padding: 0.625em 1em 0.625em 0.625em; /* 10px 16px 10px 10px → h:44px */
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-body-s);
  line-height: var(--lh-body-s);
}


.btn-ghost > *:not(.btn-ghost__line) {
  position: relative;
  z-index: 1;
}

.btn-ghost__line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--white);
  z-index: 0;
}

/* ── Button Swiper ── */
.btn-swiper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75em;  /* 60px */
  height: 3.75em; /* 60px */
  border: 1px solid var(--grey-60);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
}

.btn-swiper.prev {
  transform: rotate(180deg);
}
