/* Minimal front-page layer for AnA Travel Club. */
.ana-front {
  background: var(--ana-geppaku);
  color: var(--ana-gunjo);
  font-family: var(--ed-font-body);
}

.ana-front-container {
  width: min(var(--ed-container), calc(100% - var(--ed-page-gutter) * 2));
  margin-inline: auto;
}

.ana-front-hero {
  padding: clamp(3rem, 7vw, 5.8rem) 0 clamp(2.2rem, 5vw, 4rem);
  background: var(--ana-geppaku);
}

.ana-front-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .44fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center;
}

.ana-front-kicker,
.ana-front-product-card__kicker,
.ana-front-product-card__meta {
  margin: 0;
  color: var(--ana-blue-800);
  font-family: var(--ed-font-ui);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ana-front h1,
.ana-front h2,
.ana-front h3 {
  color: var(--ana-gunjo);
  font-family: var(--ed-font-display);
  font-weight: 600;
  letter-spacing: 0;
}

.ana-front h1 {
  max-width: 9.5em;
  margin: .55rem 0 .85rem;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: .96;
}

.ana-front h2 {
  margin: .45rem 0 .7rem;
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  line-height: 1.05;
}

.ana-front h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.14;
}

.ana-front p {
  color: #425e82;
  line-height: 1.7;
}

.ana-front-lede {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.ana-front-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.45rem;
}

.ana-front .btn-primary,
.ana-front .btn-outline-primary {
  box-shadow: none;
  font-weight: 500;
}

.ana-front .btn-primary {
  background: var(--ana-hanada);
  border-color: var(--ana-hanada);
}

.ana-front .btn-primary:hover {
  background: var(--ana-gunjo);
  border-color: var(--ana-gunjo);
}

.ana-front .btn-outline-primary {
  background: #ffffff;
  border-color: rgba(39, 117, 182, .34);
  color: var(--ana-gunjo);
}

.ana-front .btn-outline-primary:hover {
  background: var(--ana-torinoko);
  border-color: var(--ana-torinoko);
  color: var(--ana-gunjo);
}

.ana-front-product-card,
.ana-front-path {
  border: 1px solid rgba(39, 117, 182, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
}

.ana-front-hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ana-front-hero__logo img {
  display: block;
  width: min(19rem, 100%);
  height: auto;
}

.ana-front-section,
.ana-front-paths,
.ana-front-cta {
  padding: clamp(2.4rem, 5vw, 4.4rem) 0;
}

.ana-front-section {
  background: #ffffff;
}

.ana-front-section__header {
  max-width: 48rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.ana-front-section__header p:last-child {
  margin: 0;
  font-size: 1.06rem;
}

.ana-front-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.25rem);
}

.ana-front-product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
}

.ana-front-product-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ana-mist);
}

.ana-front-product-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ana-front-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.ana-front-product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ana-front-product-card__meta {
  color: var(--ana-gunjo);
}

.ana-front-product-card__body p:not([class]) {
  margin: 0;
}

.ana-front-text-link {
  margin-top: auto;
  color: var(--ana-blue-800);
  font-family: var(--ed-font-ui);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.ana-front-text-link:hover {
  color: var(--ana-gunjo);
}

.ana-front-paths {
  background: var(--ana-geppaku);
}

.ana-front-paths__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.25rem);
  align-items: stretch;
}

.ana-front-path {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.ana-front-path p {
  margin-bottom: 0;
}

.ana-front-cta {
  background: var(--ana-gunjo);
}

.ana-front-cta__inner {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.ana-front-cta h2,
.ana-front-cta p,
.ana-front-cta .ana-front-kicker {
  color: #ffffff;
}

.ana-front-cta h2 {
  margin-bottom: .45rem;
}

.ana-front-cta p {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

@media (max-width: 860px) {
  .ana-front-hero__grid,
  .ana-front-paths__grid,
  .ana-front-product-grid {
    grid-template-columns: 1fr;
  }

  .ana-front h1 {
    max-width: 100%;
  }

  .ana-front-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .ana-front-actions a,
  .ana-front-cta a {
    width: 100%;
  }
}
