/* =========================================================
   V288 — Home hero size + three navigation buttons
   Uses the existing theme variables without changing colors.
   ========================================================= */

.public-page .v25-hero {
  min-height: 320px !important;
  padding: 26px 20px !important;
}

.public-page .v25-hero-logo {
  width: min(65%, 310px) !important;
  max-height: 125px !important;
  margin-bottom: 20px !important;
}

.public-page .v25-hero-copy h1 {
  font-size: clamp(2rem, 7vw, 3.45rem) !important;
  line-height: 1.08 !important;
}

.public-page .v25-hero-copy p {
  margin-top: 11px !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

.v288-home-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.v288-home-link {
  min-height: 64px;
  padding: 10px 16px;
  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color: var(--text);
  background: var(--card-bg);

  border:
    1px solid
    color-mix(in srgb, var(--text) 10%, transparent);

  box-shadow:
    0 13px 32px
    color-mix(in srgb, var(--text) 9%, transparent);

  font-family: "Cairo", system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 900;
  text-align: center;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.v288-home-link:hover {
  transform: translateY(-2px);

  border-color:
    color-mix(in srgb, var(--primary-dark) 28%, transparent);

  box-shadow:
    0 17px 38px
    color-mix(in srgb, var(--text) 13%, transparent);
}

.v288-home-link:focus-visible {
  outline:
    3px solid
    color-mix(in srgb, var(--primary) 38%, transparent);

  outline-offset: 3px;
}

.v288-home-link-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  color: var(--button-text);
  background:
    color-mix(in srgb, var(--primary) 34%, var(--card-bg));

  font-size: 1rem;
  font-weight: 1000;
}

.v288-home-link:nth-child(2) .v288-home-link-icon {
  background:
    color-mix(in srgb, var(--accent) 34%, var(--card-bg));
}

@media (max-width: 640px) {
  .public-page .v25-hero {
    min-height: 285px !important;
    padding: 22px 16px !important;
    border-radius: 24px !important;
  }

  .public-page .v25-hero-logo {
    width: min(70%, 270px) !important;
    max-height: 105px !important;
    margin-bottom: 15px !important;
  }

  .public-page .v25-hero-copy h1 {
    font-size: 2.05rem !important;
  }

  .public-page .v25-hero-copy p {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
  }

  .v288-home-links {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 12px;
  }

  .v288-home-link {
    min-height: 56px;
    justify-content: flex-start;
    padding: 9px 13px;
    border-radius: 16px;
  }

  .v288-home-link-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}

@media (max-width: 390px) {
  .public-page .v25-hero {
    min-height: 265px !important;
  }

  .public-page .v25-hero-logo {
    max-height: 92px !important;
  }
}

/* V288 mobile final inline buttons — must remain three columns. */
@media screen and (max-width: 700px) {
  html body .v288-home-links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: column !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  html body .v288-home-links > .v288-home-link {
    width: auto !important;
    min-width: 0 !important;
    min-height: 62px !important;
    padding: 7px 3px !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;

    border-radius: 14px !important;
    font-size: 0.66rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  html body .v288-home-links > .v288-home-link .v288-home-link-icon {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    flex: 0 0 27px !important;
    border-radius: 9px !important;
    font-size: 0.76rem !important;
  }

  html body .v288-home-links > .v288-home-link > span:last-child {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

@media screen and (max-width: 370px) {
  html body .v288-home-links {
    gap: 4px !important;
  }

  html body .v288-home-links > .v288-home-link {
    padding-inline: 2px !important;
    font-size: 0.61rem !important;
  }
}

