/* ABC Quality — Parent Storytelling pages
   Brand palette & fonts taken from abcquality.org (main.css) */

:root {
  --abc-blue: #0967b4;
  --abc-green: #81be41;
  --abc-orange: #e24825;
  --abc-gray: #595959;
  --abc-gray-light: #8a8a8a;
  --abc-bg: #ececea;
  --abc-card-bg: #f7f7f6;
  --abc-teal: #409a9a;
  --abc-pink: #c33868;
  --font-serif: "Roboto Slab", Georgia, serif;
  --font-sans: "Roboto", Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--abc-gray);
  background-color: #fff;
}

body.page-gray {
  background-color: var(--abc-bg);
}

/* ---------- Header ---------- */

.site-header {
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.lang-toggle {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.lang-toggle a {
  color: var(--abc-gray-light);
  text-decoration: none;
  padding: 2px 2px 4px;
  position: relative;
}

.lang-toggle a.active {
  color: var(--abc-gray);
}

.lang-toggle a.active::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--abc-gray-light);
}

.lang-toggle a.lang-disabled {
  cursor: default;
}

.site-logo {
  height: 46px;
  width: auto;
}

.hamburger {
  border: 0;
  background: none;
  padding: 6px 2px;
}

.hamburger span {
  display: block;
  width: 40px;
  height: 5px;
  border-radius: 3px;
  background-color: var(--abc-gray);
  margin: 7px 0;
}

.offcanvas .nav-link {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--abc-blue);
}

.offcanvas .nav-link:hover {
  color: var(--abc-orange);
}

/* ---------- Typography ---------- */

.page-title {
  font-family: var(--font-serif);
  font-weight: 800;
  color: var(--abc-blue);
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  line-height: 1.15;
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--abc-gray);
}

.section-heading {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--abc-green);
  font-size: 1.5rem;
}

.link-example {
  color: var(--abc-orange);
  text-decoration: none;
  font-weight: 500;
}

.link-example:hover {
  color: var(--abc-orange);
  text-decoration: underline;
}

hr.divider {
  border-top: 1px solid #9a9a9a;
  opacity: 1;
  margin: 2.5rem 0;
}

.disclaimer {
  font-size: 1.05rem;
  color: var(--abc-gray);
}

/* ---------- Pill buttons ---------- */

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 50rem;
  border: 2px solid currentColor;
  background: transparent;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-pill .bi {
  font-size: 0.9em;
}

.btn-pill-white {
  color: #fff;
}

.btn-pill-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-pill-blue {
  color: var(--abc-blue);
}

.btn-pill-blue:hover {
  background-color: var(--abc-blue);
  color: #fff;
}

/* ---------- Landing story cards ---------- */

.story-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
}

.story-card-pink::before {
  background: linear-gradient(
    180deg,
    rgba(236, 93, 137, 0.78) 0%,
    rgba(195, 56, 104, 0.85) 100%
  );
}

.story-card-teal::before {
  background: linear-gradient(
    180deg,
    rgba(100, 180, 180, 0.78) 0%,
    rgba(64, 154, 154, 0.88) 100%
  );
}

.story-card .btn-pill {
  position: relative;
  z-index: 1;
}

.story-card:hover .btn-pill {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Photo card (interior pages) ---------- */

.photo-card {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* ---------- What-to-include list ---------- */

.include-list {
  list-style: none;
  padding-left: 0.5rem;
  font-size: 1.15rem;
}

.include-list > li {
  margin-bottom: 0.6rem;
}

.include-list > li::before {
  content: "\2022";
  margin-right: 0.6rem;
}

.include-sublist {
  list-style: none;
  padding-left: 1.6rem;
  margin-top: 0.6rem;
}

.include-sublist li {
  margin-bottom: 0.5rem;
}

.include-sublist li::before {
  content: "-";
  margin-right: 0.6rem;
}

/* ---------- Upload option cards ---------- */

.option-card {
  background-color: var(--abc-card-bg);
  border-radius: 14px;
  padding: 3rem 1.5rem;
  text-align: center;
}

.option-card + .option-card {
  margin-top: 1.75rem;
}

.option-icon {
  display: block;
  font-size: 4.5rem;
  line-height: 1;
  color: #c9c9c6;
  margin-bottom: 1.75rem;
}

.form-reveal {
  margin-top: 2rem;
  text-align: left;
}

/* ---------- JotForm embeds ---------- */

.jotform-wrap {
  background-color: #fff;
  border-radius: 14px;
  padding: 0.75rem;
}

.option-card .jotform-wrap {
  background-color: transparent;
  padding: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--abc-gray);
  color: #fff;
  font-size: 0.95rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .social-link {
  font-size: 1.5rem;
  margin-left: 0.75rem;
}

/* ---------- Responsive tweaks ---------- */

@media (min-width: 768px) {
  .site-logo {
    height: 56px;
  }

  .story-card {
    min-height: 420px;
  }
}
