/* ==========================================================================
   About CSR Wiki
   Template: page-about-us-csrwiki.php
   ========================================================================== */

.csr-about-page {
  --about-ink: #18251f;
  --about-body: #405149;
  --about-muted: #68786f;
  --about-line: #dce5df;
  --about-line-strong: #c9d5cd;
  --about-primary: #1f6b43;
  --about-primary-dark: #164f32;
  --about-primary-soft: #edf5ef;
  --about-warm: #a95d24;
  --about-surface: #ffffff;
  --about-surface-soft: #f7f9f7;

  width: 100%;
  overflow: hidden;
  background: #fcfdfc;
  color: var(--about-ink);
  line-height: 1.75;
}

.csr-about-page *,
.csr-about-page *::before,
.csr-about-page *::after {
  box-sizing: border-box;
}

.csr-about-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.csr-about-eyebrow,
.csr-about-kicker {
  margin: 0 0 10px;
  color: var(--about-primary);
  font-size: 13px;
  font-weight: 700;
}

.csr-about-section__title h2,
.csr-about-section__head h2,
.csr-about-method h2,
.csr-about-cta h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.csr-about-hero {
  padding: 64px 0 58px;
  border-bottom: 1px solid var(--about-line);
  background: #eef5f0;
}

.csr-about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 58px;
  align-items: center;
}

.csr-about-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--about-ink);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.csr-about-hero__lead {
  max-width: 68ch;
  margin: 20px 0 0;
  color: var(--about-body);
  font-size: 16px;
  line-height: 1.9;
}

.csr-about-actions,
.csr-about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.csr-about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--about-line-strong);
  border-radius: 6px;
  background: var(--about-surface);
  color: #23332b !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.csr-about-button:hover,
.csr-about-button:focus-visible {
  border-color: #9eada4;
  background: #f4f7f5;
  color: var(--about-primary-dark) !important;
}

.csr-about-button--primary {
  border-color: var(--about-primary);
  background: var(--about-primary);
  color: #ffffff !important;
}

.csr-about-button--primary:hover,
.csr-about-button--primary:focus-visible {
  border-color: var(--about-primary-dark);
  background: var(--about-primary-dark);
  color: #ffffff !important;
}

.csr-about-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(31, 107, 67, 0.18);
  list-style: none;
}

.csr-about-hero__facts li {
  min-width: 0;
}

.csr-about-hero__facts strong,
.csr-about-hero__facts span {
  display: block;
}

.csr-about-hero__facts strong {
  color: #26372f;
  font-size: 13.5px;
  font-weight: 700;
}

.csr-about-hero__facts span {
  margin-top: 4px;
  color: var(--about-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.csr-about-hero__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7e2da;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(28, 58, 43, 0.1);
}

.csr-about-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 965 / 569;
  object-fit: cover;
}

.csr-about-hero__media figcaption {
  margin: 0;
  padding: 12px 15px 13px;
  border-top: 1px solid var(--about-line);
  color: var(--about-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Shared section layout
   -------------------------------------------------------------------------- */

.csr-about-section {
  padding: 74px 0;
}

.csr-about-section--intro {
  background: #ffffff;
}

.csr-about-section--topics {
  border-top: 1px solid var(--about-line);
  border-bottom: 1px solid var(--about-line);
  background: var(--about-surface-soft);
}

.csr-about-section--principles {
  background: #ffffff;
}

.csr-about-intro {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: start;
}

.csr-about-intro__body > p {
  margin: 0 0 18px;
  color: var(--about-body);
  font-size: 16px;
  line-height: 1.95;
}

.csr-about-intro__body > p:last-of-type {
  margin-bottom: 0;
}

.csr-about-note {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 3px solid var(--about-primary);
  border-radius: 0 7px 7px 0;
  background: var(--about-primary-soft);
}

.csr-about-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--about-primary-dark);
  font-size: 14px;
}

.csr-about-note p {
  margin: 0;
  color: #42594d;
  font-size: 14px;
  line-height: 1.8;
}

.csr-about-section__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.csr-about-section__head > p:last-child {
  margin: 10px 0 0;
  color: var(--about-muted);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Content topics
   -------------------------------------------------------------------------- */

.csr-about-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.csr-about-topic {
  min-height: 190px;
  padding: 22px 22px 20px;
  border: 1px solid var(--about-line);
  border-radius: 8px;
  background: #ffffff;
}

.csr-about-topic > span {
  display: block;
  color: var(--about-warm);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.csr-about-topic h3 {
  margin: 24px 0 8px;
  color: var(--about-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.csr-about-topic p {
  margin: 0;
  color: var(--about-body);
  font-size: 14px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Editorial method
   -------------------------------------------------------------------------- */

.csr-about-section--method {
  padding: 0;
  background: #172820;
}

.csr-about-method {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.csr-about-method .csr-about-kicker {
  color: #80c69b;
}

.csr-about-method h2 {
  color: #ffffff;
}

.csr-about-method__intro > p:not(.csr-about-kicker) {
  margin: 18px 0 0;
  color: #bdcbc3;
  font-size: 15px;
  line-height: 1.9;
}

.csr-about-source-order {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.csr-about-source-order span,
.csr-about-source-order strong {
  display: block;
}

.csr-about-source-order span {
  color: #80c69b;
  font-size: 12px;
  font-weight: 700;
}

.csr-about-source-order strong {
  margin-top: 7px;
  color: #eef4f0;
  font-size: 13.5px;
  line-height: 1.7;
}

.csr-about-method__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.csr-about-method__steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.csr-about-method__steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.csr-about-method__steps li > span {
  color: #80c69b;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.csr-about-method__steps h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.5;
}

.csr-about-method__steps p {
  margin: 0;
  color: #b9c8c0;
  font-size: 14px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Principles
   -------------------------------------------------------------------------- */

.csr-about-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin: 0;
}

.csr-about-principles > div {
  padding: 20px 0 22px;
  border-top: 1px solid var(--about-line);
}

.csr-about-principles dt {
  color: var(--about-ink);
  font-size: 16px;
  font-weight: 700;
}

.csr-about-principles dd {
  margin: 7px 0 0;
  color: var(--about-body);
  font-size: 14.5px;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */

.csr-about-cta {
  padding: 58px 0;
  background: #214c38;
}

.csr-about-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.csr-about-cta .csr-about-kicker {
  color: #9fd5b4;
}

.csr-about-cta h2 {
  color: #ffffff;
}

.csr-about-cta p:not(.csr-about-kicker) {
  max-width: 720px;
  margin: 10px 0 0;
  color: #d4e1d9;
  font-size: 14.5px;
  line-height: 1.8;
}

.csr-about-cta__actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.csr-about-button--light {
  border-color: #ffffff;
  background: #ffffff;
  color: #1c3f2f !important;
}

.csr-about-button--light:hover,
.csr-about-button--light:focus-visible {
  border-color: #e6f0e9;
  background: #e6f0e9;
  color: #143425 !important;
}

.csr-about-button--ghost {
  border-color: rgba(255, 255, 255, 0.46);
  background: transparent;
  color: #ffffff !important;
}

.csr-about-button--ghost:hover,
.csr-about-button--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
}

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

@media (max-width: 1080px) {
  .csr-about-hero {
    padding: 52px 0 48px;
  }

  .csr-about-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.86fr);
    gap: 38px;
  }

  .csr-about-hero h1 {
    font-size: 36px;
  }

  .csr-about-intro,
  .csr-about-method {
    gap: 48px;
  }

  .csr-about-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .csr-about-hero__grid,
  .csr-about-intro,
  .csr-about-method {
    grid-template-columns: 1fr;
  }

  .csr-about-hero__media {
    max-width: 720px;
  }

  .csr-about-method {
    gap: 38px;
  }
}

@media (max-width: 760px) {
  .csr-about-wrap {
    width: min(100% - 36px, 1180px);
  }

  .csr-about-section {
    padding: 58px 0;
  }

  .csr-about-hero {
    padding: 44px 0 42px;
  }

  .csr-about-hero h1 {
    font-size: 31px;
  }

  .csr-about-hero__lead,
  .csr-about-intro__body > p {
    font-size: 15px;
  }

  .csr-about-hero__facts {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .csr-about-section__title h2,
  .csr-about-section__head h2,
  .csr-about-method h2,
  .csr-about-cta h2 {
    font-size: 25px;
  }

  .csr-about-topics,
  .csr-about-principles {
    grid-template-columns: 1fr;
  }

  .csr-about-topic {
    min-height: 0;
  }

  .csr-about-principles {
    gap: 0;
  }

  .csr-about-method {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .csr-about-cta__inner {
    display: block;
  }
}

@media (max-width: 520px) {
  .csr-about-actions,
  .csr-about-cta__actions {
    flex-direction: column;
  }

  .csr-about-button {
    width: 100%;
  }

  .csr-about-hero h1 {
    font-size: 28px;
  }

  .csr-about-method__steps li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }
}
