/* assets/css/pages/about.css */

.ref-bg-wrap {
  display: grid;
  gap: 12px;
}

.about-content {
  max-width: 72ch;
  margin-inline: auto;
}

.about-content p,
.about-content li {
  color: color-mix(in srgb, var(--text) 92%, var(--muted));
}

.about-content p {
  line-height: 1.65;
  margin-top: 10px;
}

.about-content ul {
  padding-left: 18px;
  margin-top: 10px;
}

.about-content li {
  margin: 6px 0;
}

.about-content h2,
.about-content h3 {
  margin-top: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--brand);
}

.about-cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-highlight {
  position: relative;
  margin: 14px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  font-weight: 700;
  letter-spacing: 0.2px;
  opacity: 0.95;
}
/* glow layer */
.about-highlight::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  width: 4px;

  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--brand) 85%, transparent),
    transparent
  );

  filter: blur(6px);
  opacity: 0.8;
  pointer-events: none;
}

.about-closing {
  max-width: 72ch;
  margin: 28px auto 22px;
  padding: 18px 16px;

  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);

  position: relative;
  opacity: 1;
}

/* Top & bottom structural lines */
.about-closing::before,
.about-closing::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 420px;
  height: 2px;
  margin: 0 auto;

  background: color-mix(in srgb, var(--brand) 85%, transparent);
  border-radius: 2px;
}

/* spacing */
.about-closing::before {
  margin-bottom: 14px;
}
.about-closing::after {
  margin-top: 14px;
}

/* Mobile tuning */
@media (max-width: 520px) {
  .about-closing {
    font-size: 1rem;
    padding: 16px 12px;
  }

  .about-closing::before,
  .about-closing::after {
    max-width: 300px;
  }
}
/* ===== References background blocks ===== */
.ref-bg {
  margin: 0 auto 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ref-bg-img {
  width: 100%;
  height: auto; /* full image ratio */
  display: block;
}
