/* CCS_HERO_CSS_MARKER
   Chamathka Cab Service - home hero.
   Snippet: "CCS Hero Styles" | group: Hero Section | type: css | run_at: wp_head
   Ported from the design's sections.css section 1 onto theme tokens. */

.ccs-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(94svh, 900px);
  margin-block: 0;
  padding-block: calc(var(--wp--custom--header-height) + var(--wp--preset--spacing--80))
    var(--wp--preset--spacing--90);
  padding-inline: 0;
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--base);
  overflow: hidden;
}

.ccs-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ccs-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.ccs-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wp--custom--scrim-hero);
}

.ccs-hero__inner {
  position: relative;
  z-index: var(--wp--custom--z-raised);
  width: 100%;
}

.ccs-hero__content {
  max-width: 46ch;
}

.ccs-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--wp--preset--spacing--20);
  margin-block: 0 var(--wp--preset--spacing--50);
  padding: 0.4rem var(--wp--preset--spacing--30) 0.4rem var(--wp--preset--spacing--20);
  border: var(--wp--custom--border-hairline) solid var(--wp--custom--border-inverse);
  border-radius: var(--wp--custom--radius-pill);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--wp--preset--color--base);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 600;
  letter-spacing: var(--wp--custom--tracking-wide);
  text-transform: uppercase;
}

.ccs-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--wp--preset--spacing--10);
  padding: 0.35rem var(--wp--preset--spacing--20);
  border-radius: var(--wp--custom--radius-sm);
  background-color: var(--wp--preset--color--accent-fill);
  color: var(--wp--preset--color--base);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 700;
  letter-spacing: var(--wp--custom--tracking-wide);
  line-height: 1;
  text-transform: uppercase;
}

.ccs-hero .ccs-hero__title {
  margin-block: 0 var(--wp--preset--spacing--50);
  color: var(--wp--preset--color--base);
}

.ccs-hero .ccs-hero__accent {
  color: var(--wp--preset--color--accent);
}

.ccs-hero__lead {
  max-width: 50ch;
  margin-block: 0 var(--wp--preset--spacing--70);
  color: var(--wp--custom--text-inverse-muted);
  font-size: var(--wp--preset--font-size--lg);
}

.ccs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--20);
  margin-block: 0 var(--wp--preset--spacing--50);
}

.ccs-hero__note {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--20);
  margin-block: 0;
  color: var(--wp--custom--text-inverse-subtle);
  font-size: var(--wp--preset--font-size--sm);
}

.ccs-hero__note .ccs-icon {
  color: var(--wp--preset--color--accent);
}

.ccs-hero__aside {
  display: none;
}

@media (min-width: 1100px) {
  .ccs-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--wp--preset--spacing--80);
  }

  .ccs-hero__aside {
    display: grid;
    gap: var(--wp--preset--spacing--50);
    justify-items: end;
    padding-block-end: var(--wp--preset--spacing--20);
    text-align: right;
  }

  .ccs-hero__aside-item {
    padding-inline-end: var(--wp--preset--spacing--40);
    border-inline-end: var(--wp--custom--border-thick) solid var(--wp--preset--color--accent);
  }

  .ccs-hero__aside-value {
    display: block;
    font-size: var(--wp--preset--font-size--xxl);
    font-weight: 800;
    letter-spacing: var(--wp--custom--tracking-tighter);
    line-height: 1.1;
  }

  .ccs-hero__aside-label {
    display: block;
    color: var(--wp--custom--text-inverse-subtle);
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 600;
    letter-spacing: var(--wp--custom--tracking-wide);
    text-transform: uppercase;
  }
}

/* The hero is the first thing on the page; kill the constrained-layout
   centering the page content wrapper would otherwise impose on a full-width
   child, and the blockGap stripe above it. */
.ccs-hero.alignfull {
  margin-inline: 0 !important;
  max-width: none !important;
  width: auto;
}

/* In the editor canvas the header is not fixed, so the hero must not reserve
   room for it twice. */
.editor-styles-wrapper .ccs-hero {
  min-height: 70vh;
  padding-block-start: var(--wp--preset--spacing--80);
}
