/* -------------------------------------------------------------------------
   Page banner (inner pages — shared standard hero)
------------------------------------------------------------------------- */
.c-page-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--color-primary-darker);
  aspect-ratio: 1920 / 476;
  flex-direction: column;
  justify-content: center;
}

.c-page-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.c-page-banner__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 140px 70px;
}

.c-page-banner__title {
  margin: 0 0 14px;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-white);
}

.c-page-banner__desc {
  /* max-width: 640px; */
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 768px) {
  .c-page-banner__title {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .c-page-banner__title {
    font-size: 2.5rem;
  }
}

/* Split banner (product-detail / news-detail) */
.c-page-banner__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.c-page-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.c-page-banner--split {
  align-items: center;
}

.c-page-banner--split .c-page-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.c-page-banner--split .c-page-banner__content {
  flex: 1;
}

.c-page-banner--split .c-page-banner__media {
  flex: 0 0 500px;
}

@media (min-width: 1024px) {
  .c-page-banner--split .c-page-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
}

/* -------------------------------------------------------------------------
   Two-column layout (sidebar + main)
------------------------------------------------------------------------- */
.l-two-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.l-two-col__side {
  width: 100%;
}

.l-two-col__main {
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .l-two-col {
    flex-direction: row;
  }

  .l-two-col__side {
    flex: 0 0 280px;
    position: sticky;
    top: 104px;
    align-self: flex-start;
  }

  .l-two-col__main {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .l-two-col__side {
    flex: 0 0 320px;
  }
}

/* -------------------------------------------------------------------------
   Generic responsive grid helpers
------------------------------------------------------------------------- */
.l-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .l-grid--2,
  .l-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .l-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .l-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .l-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Breadcrumb wrapper (below banner)
------------------------------------------------------------------------- */
.l-breadcrumb-wrap {
  padding-block: 18px;
  border-bottom: 2px solid #f0f0f0;
  background: var(--color-white);
}

/* -------------------------------------------------------------------------
   Rich text content block
------------------------------------------------------------------------- */
.c-prose {
  color: var(--color-text);
  line-height: 1.85;
}

.c-prose h2 {
  margin: 1.6em 0 0.6em;
  font-size: 1.5rem;
}

.c-prose h3 {
  margin: 1.5em 0 0.5em;
  font-size: 1.2rem;
}

.c-prose p {
  margin-bottom: 1.1em;
}

.c-prose ul {
  margin: 0 0 1.2em 1.4em;
  list-style: disc;
}

.c-prose ul li {
  margin-bottom: 8px;
}

.c-prose img {
  margin-block: 24px;
  border-radius: var(--radius-md);
}

.c-prose a {
  text-decoration: underline;
}

.c-page-detail-banner__overlay {
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .c-page-banner__actions {
    flex-direction: column;
  }
  .c-page-banner{
    aspect-ratio: auto;
  }
}
