/* Christian Executive Accelerator: shared styles for every page.
   Visual language follows the Emergent Execs design: navy and teal,
   Cormorant Garamond headings, Inter body text, square corners. */

:root {
  --navy: #18206f;
  --navy-dark: #111650;
  --teal: #47a4d4;
  --teal-light: #6dbce8;
  --teal-text: #1f78a8; /* darker teal for small text on light backgrounds, so it stays readable */
  --white: #ffffff;
  --off-white: #f8f8f6;
  --text: #1a1a2e;
  --text-muted: #5a5a72;
  --rule: #e2e2ea;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --prose: 700px;
  --radius: 2px;
  --art-shadow: color-mix(in srgb, var(--teal) 28%, #fff); /* the offset block behind images */
  --footer-bg: var(--navy-dark); /* footer background, also used by .section--footer */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Keeps in-page links from landing underneath the sticky header */
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-color: var(--teal);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal-text);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.9rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 3.3vw, 2.85rem);
}

h3 {
  font-size: 1.75rem;
  line-height: 1.2;
}

p,
ul,
ol,
dl {
  margin: 0 0 1.15em;
}

strong {
  font-weight: 600;
  color: var(--text);
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5em 0;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.prose {
  max-width: var(--prose);
}

.prose--center {
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

/* Placeholders for facts that are not set yet. Search for "todo" to find them. */
.todo {
  background: #fff1b8;
  outline: 1px dashed #c9a227;
  border-radius: 2px;
  padding: 0 0.25em;
  color: var(--text);
  font-style: normal;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
}

/* Header */
/* Sticky on larger screens. The 10% transparency only shows once page content
   scrolls underneath, because at the top of the page the header sits on white. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 22px 0;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
  margin-right: auto;
}

.wordmark span {
  color: var(--teal-text);
}

.site-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

/* Teal button for dark backgrounds */
.btn--accent,
.hero .btn {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy-dark);
}

.btn--accent:hover,
.hero .btn:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--navy-dark);
}

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.section--deep .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn--ghost:hover {
  background: transparent;
  border-color: var(--teal);
  color: inherit;
}

.section--deep .btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--small {
  padding: 0.75rem 1.5rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Sections */
.section {
  padding: 100px 0; /* every section: 100px above and below */
}

/* The last line of a section adds no margin of its own, so the 100px below is exact */
:is(.section, .post) .container > :last-child,
:is(.section, .post) .container > * > :last-child,
:is(.section, .post) .container > * > * > :last-child {
  margin-bottom: 0;
}

.faq > div:last-child {
  padding-bottom: 0;
}

.section--tight {
  padding: 100px 0;
}

.section--shaded {
  background: var(--off-white);
}

.section--deep {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.section--deep h2,
.section--deep h3 {
  color: var(--white);
}

.section--deep a:not(.btn) {
  color: var(--teal-light);
}

.section p,
.section li,
.section dd {
  color: var(--text-muted);
}

.section--deep p,
.section--deep li {
  color: rgba(255, 255, 255, 0.78);
}

/* Short teal rule above each section heading */
.section h2:not(.post-card h2, .post-body h2)::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 1.5rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 1.25rem;
}

.eyebrow a {
  color: inherit;
  text-decoration: none;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.fine,
.section .fine {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pullquote,
.section .pullquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
  border-left: 2px solid var(--teal);
  padding-left: 24px;
  margin: 1.4em 0;
}

.emphasis,
.section .emphasis {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
}

.text-links a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-text);
  text-decoration: none;
}

.text-links a:hover {
  color: var(--navy);
}

/* Hero: navy band with white type */
.hero {
  background: linear-gradient(105deg, var(--navy-dark) 0%, var(--navy) 70%, #2a3590 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 100px 0;
}

.hero h1 {
  color: var(--white);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 600px;
}

.hero .fine {
  color: rgba(255, 255, 255, 0.6);
}

/* Emphasized words in a hero subheadline: bold, in the hero's strongest text color
   (white on the navy heroes; the CEA theme sets black for its white hero) */
.hero .lede strong {
  font-weight: 700;
  color: var(--lede-strong, var(--white));
}

.hero .eyebrow {
  color: var(--teal-light);
}

.hero-copy > :last-child {
  margin-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.hero--plain .hero-copy {
  max-width: 860px;
}

/* Plain image placeholder: light grey with a picture icon in the middle */
.img-placeholder {
  background: #ececef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 16l-5-5-9 9'/%3E%3C/svg%3E") center / 64px no-repeat;
  border-radius: var(--card-radius, 6px);
  min-height: 280px;
}

/* Stacked hero (Program page): headline and subheadline across the full width,
   then a row with an image placeholder on the left and the list on the right */
.hero.hero--stacked .hero-copy,
.hero.hero--stacked .lede {
  max-width: none;
}

.hero--stacked .hero-copy > p:has(> .btn) {
  text-align: center;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: stretch;
  margin-top: clamp(40px, 5vw, 64px);
}

/* Image in the stacked hero row: fills the row's height beside the list, cropped to fit */
.hero-row-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--card-radius, 6px);
}

@media (max-width: 900px) {
  .hero-row {
    grid-template-columns: 1fr;
  }

  .hero-row-img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .hero-row .img-placeholder {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* "The program at a glance" as a list beside the Program page headline.
   Colors come from the hero, so it reads on light and dark heroes alike. */
.glance .eyebrow {
  margin-bottom: 0.75rem;
}

.glance-list {
  margin: 0;
}

.glance-list > div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

.glance-list > div:last-child {
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

.glance-list dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
  padding-top: 0.15em;
}

.glance-list dd {
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
  color: var(--glance-value, var(--white));
}

@media (max-width: 640px) {
  .glance-list > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Image slots. Each one is a painted-light placeholder until the real illustration is added. */
.art {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background: radial-gradient(circle at 68% 28%, #fbe6b8 0, #eebd7a 22%, #c98a5c 46%, #5c5480 72%, #111650 100%);
  object-fit: cover;
}

.art--wide {
  aspect-ratio: 16 / 9;
}

.art--desk {
  background: radial-gradient(circle at 30% 20%, #fdecc8 0, #e9c08a 28%, #b98456 55%, #4a3f6b 100%);
}

.art--snow {
  background: radial-gradient(circle at 72% 30%, #f4f6f7 0, #cdd9e6 26%, #8fa3c4 52%, #c59a63 78%, #3b3a6e 100%);
}

.art--dusk {
  background: radial-gradient(circle at 50% 62%, #fbd98e 0, #e0995a 16%, #6d5a8a 44%, #18206f 74%, #111650 100%);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.split--narrow-art {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
}

/* Boxed section: a rounded panel in the same colors as the hero, with the heading
   centered across it and the copy left aligned. Themes set the --boxed-* values. */
.section--boxed > .container {
  background: var(--boxed-bg, linear-gradient(105deg, var(--navy-dark) 0%, var(--navy) 70%, #2a3590 100%));
  border-radius: var(--boxed-radius, 24px);
  padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 88px);
}

.section--boxed {
  --art-shadow: rgba(255, 255, 255, 0.16);
}

.section--boxed > .container > h2 {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 1em;
  color: var(--boxed-heading, var(--white));
}

.section--boxed > .container > h2::before {
  margin-inline: auto;
}

.section.section--boxed p,
.section.section--boxed li {
  color: var(--boxed-text, rgba(255, 255, 255, 0.8));
}

.section.section--boxed .emphasis {
  color: var(--boxed-heading, var(--white));
}

/* A boxed section without the box: the full width band takes the footer's colors.
   White heading, and body text in the footer's link color so long copy stays readable. */
.section.section--footer {
  background: var(--footer-bg);
  --boxed-heading: var(--white);
  --boxed-text: rgba(255, 255, 255, 0.65);
  --art-shadow: rgba(255, 255, 255, 0.16);
}

.section.section--footer > .container {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* Section with a blurred photo behind it (home page, second section). A layer of the
   section's own background color sits over the photo so the white text stays readable. */
.section--office-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section--office-bg::before,
.section--office-bg::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.section--office-bg::before {
  inset: -40px; /* past the edges, so the blur does not leave soft borders */
  background: url("../images/office-background.jpeg") center / cover no-repeat;
  filter: blur(8px);
}

.section--office-bg::after {
  inset: 0;
  background: color-mix(in srgb, var(--footer-bg) 65%, transparent);
}

/* Baseline theme only (theme testing): the home page's second section drops its image
   and centers the copy block under the centered heading, as in the CEA theme.
   If Baseline is chosen, fold this into the page itself and drop the theme selector. */
html[data-theme="baseline"] .section--footer .split > .art {
  display: none;
}

html[data-theme="baseline"] .section--footer .split {
  grid-template-columns: minmax(0, 1fr);
}

html[data-theme="baseline"] .section--footer .prose {
  margin-inline: auto;
}

/* No short rule above the heading in the footer-colored section */
.section.section--footer > .container > h2::before {
  display: none;
}

/* A boxed section whose band behind the box takes the footer's background */
.section.section--footer-band {
  background: var(--footer-bg);
}

/* Image on the left, text on the right */
.split--art-left.split--narrow-art {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

/* For long text: the image lines up with the top instead of the middle */
.split--top {
  align-items: start;
}

/* A heading beside an image, above full width content such as the cards */
.split--head {
  margin-bottom: 3em;
}

.split--head h2 {
  margin-bottom: 0;
}

/* Offset block behind each section image: the same shape as the image, shifted down
   and toward the outside edge of the page */
.split > .art,
.hero-grid > .art {
  box-shadow: 16px 16px 0 var(--art-shadow);
}

.split--art-left > .art {
  box-shadow: -16px 16px 0 var(--art-shadow);
}

.hero,
.section--deep {
  --art-shadow: rgba(255, 255, 255, 0.16);
}

/* Lists and cards */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.7em;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 2.5em 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: 32px;
}

.card > :last-child {
  margin-bottom: 0;
}

.card strong {
  color: var(--navy);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;
}

.facts > div {
  padding: 24px 28px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  margin: 0 -1px -1px 0;
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
}

.facts dd,
.section .facts dd {
  margin: 6px 0 0;
  font-weight: 500;
  color: var(--text);
}

.steps {
  display: grid;
  gap: 24px;
  margin-top: 2.5em;
}

.steps > div {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--navy);
  padding: 32px;
}

.steps p:last-child {
  margin-bottom: 0;
}

.curriculum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 2.5em;
}

.curriculum ol,
.curriculum ul {
  padding-left: 1.2em;
  margin-bottom: 0;
}

.curriculum li {
  margin-bottom: 0.65em;
}

.label,
.section .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
}

.stats {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin: 2.5em 0;
}

.stats li {
  padding: 8px 0 8px 28px;
  border-left: 2px solid rgba(71, 164, 212, 0.5);
  font-size: 0.95rem;
  line-height: 1.5;
}

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 10px;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 2.5em 0 0;
}

.faq > div {
  border-top: 1px solid var(--rule);
  padding: 26px 0;
}

.faq dt {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq dd {
  margin: 0;
}

/* Bios */
.bios {
  display: grid;
  gap: 56px;
  margin-top: 2.5em;
}

.bio {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.bio img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

.bio-name,
.section .bio-name {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 4px;
}

.bio-role,
.section .bio-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
}

/* Closing call to action band */
.cta-band {
  text-align: center;
}

.cta-band .prose {
  max-width: 640px;
  margin-inline: auto;
}

.cta-band h2::before {
  margin-inline: auto;
}

.cta-band p {
  font-size: 1.125rem;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 2em;
}

/* Forms */
.form {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: clamp(24px, 4vw, 48px);
  max-width: 760px;
}

.field {
  margin-bottom: 24px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.field label,
.field legend {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  padding: 0;
}

.field .hint {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid #b4b4c6;
  border-radius: var(--radius);
  padding: 12px 14px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

fieldset.field {
  border: 0;
  padding: 0;
  margin-inline: 0;
}

.field .choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.choice input {
  margin-top: 0.35em;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--navy);
}

.req {
  color: var(--teal-text);
  font-weight: 400;
  font-size: 0.875rem;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status,
.section .form-status {
  background: #fff1b8;
  border: 1px solid #c9a227;
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 16px;
  margin-bottom: 18px;
}

/* Blog */
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 2.5em;
}

.category-links a {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 16px;
}

.category-links a[aria-current="page"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.category-links a:hover {
  border-color: var(--teal);
}

.post-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(24, 32, 111, 0.1);
}

.post-card .art {
  border-radius: 0;
}

.post-card-body {
  padding: 32px;
  border-top: 3px solid var(--navy);
  flex: 1;
}

.post-card h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.post-card h2 a {
  color: inherit;
  text-decoration: none;
}

/* Makes the whole card clickable */
.post-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-card p {
  margin-bottom: 0.7em;
}

.post-card-body > :last-child {
  margin-bottom: 0;
}

.post {
  padding: 100px 0;
}

.post-header {
  max-width: 900px;
  margin: 0 auto 2.5em;
}

.post-header .art {
  margin-bottom: 2.5em;
}

.post-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--teal-text);
}

.byline {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3em;
}

.post-body {
  max-width: var(--prose);
  margin-inline: auto;
}

.post-body p,
.post-body li {
  color: var(--text-muted);
}

.post-body h2 {
  font-size: 2.1rem;
  margin-top: 1.6em;
}

.post-body h3 {
  margin-top: 1.5em;
}

.post-body li {
  margin-bottom: 0.5em;
}

.personal-ad {
  background: var(--off-white);
  border-left: 2px solid var(--teal);
  padding: 24px 28px;
}

.scripture-note {
  font-size: 0.8125rem;
  margin-top: 2.5em;
}

.callout {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: clamp(24px, 4vw, 40px);
  margin: 3.5em 0 3em;
}

.callout > :last-child {
  margin-bottom: 0;
}

.author-box {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  font-size: 0.95rem;
}

.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.related {
  margin-top: 2.5em;
}

/* Vision Night agenda */
.timeline {
  list-style: none;
  padding: 0;
  margin: 1.8em 0 2.2em;
  border-left: 2px solid rgba(71, 164, 212, 0.5);
}

.timeline li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0 12px 24px;
}

.timeline .time {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-text);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 64px 0 32px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .wordmark {
  color: var(--white);
  display: inline-block;
  margin-bottom: 16px;
}

.site-footer .wordmark span {
  color: var(--teal-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 12px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

address {
  font-style: normal;
}

.footer-base {
  padding-top: 32px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-base p {
  margin: 0;
}

/* Small screens */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .split--narrow-art {
    grid-template-columns: 1fr;
  }

  .hero-grid .art,
  .split .art {
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split--art-left.split--narrow-art {
    grid-template-columns: 1fr;
  }

  .split > .art,
  .hero-grid > .art {
    box-shadow: 10px 10px 0 var(--art-shadow);
  }

  .split--art-left > .art {
    box-shadow: -10px 10px 0 var(--art-shadow);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: min(100% - 40px, var(--container));
  }

  /* The header wraps onto several rows on phones, so it scrolls away instead of sticking */
  html {
    scroll-padding-top: 0;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .site-nav ul {
    gap: 24px;
  }

  .wordmark {
    font-size: 1.3rem;
  }

  .bio {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .post-card,
  .btn {
    transition: none;
  }
}

/* Baseline theme only (theme testing): no horizontal line decorations. Removes the short
   teal rule above section headings and turns the thick navy bars on top of cards, forms,
   blog cards and callouts into the plain thin border used elsewhere.
   If Baseline is chosen, fold this into the rules above and drop the theme selector. */
html[data-theme="baseline"] .section h2::before {
  display: none;
}

html[data-theme="baseline"] :is(.card, .form, .callout) {
  border-top: 1px solid var(--rule);
}

html[data-theme="baseline"] .post-card-body {
  border-top: 1px solid var(--rule);
}

/* Baseline theme only (theme testing): the "Built for emerging Christian leaders" box is
   a flat dark navy (#070A2B) at 70% opacity, so the blurred photo behind shows through */
html[data-theme="baseline"] .section--footer-band > .container {
  background: rgba(7, 10, 43, 0.7);
}

/* "Built for emerging Christian leaders" box: the image runs the full height of the copy
   beside it, cropped to fit */
@media (min-width: 901px) {
  .section--footer-band .split {
    align-items: stretch;
  }

  .section--footer-band .split > .art {
    height: 100%;
    aspect-ratio: auto;
  }
}

/* A split where the image runs the full height of the copy beside it, cropped to fit */
@media (min-width: 901px) {
  .split--match {
    align-items: stretch;
  }

  .split--match > .art {
    height: 100%;
    aspect-ratio: auto;
  }
}

/* A heading across the full width of its section, above a text and image row */
.container > h2:has(+ .split) {
  max-width: none;
  margin-bottom: 1em;
  text-wrap: pretty; /* fill the full width instead of balancing into two short lines */
}

/* Wider copy column beside the image (image left) */
.split--art-left.split--wide-copy {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

@media (max-width: 900px) {
  .split--art-left.split--wide-copy {
    grid-template-columns: 1fr;
  }
}

/* A list of headlines and copy separated by thin lines ("What you will experience") */
.list-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75em;
}

.section .list-lines li {
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  color: var(--text-muted);
  line-height: 1.6;
}

.list-lines li:first-child {
  padding-top: 0;
  border-top: 0;
}

.list-lines li:last-child {
  border-bottom: 1px solid var(--rule);
}

.list-lines strong {
  display: block;
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 6px;
}

/* Phones */
@media (max-width: 640px) {
  /* Header: the name and the button share the top row, the menu sits below */
  .header-inner {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 14px 0 10px;
  }

  .header-inner .wordmark {
    flex: 1 1 0;
    min-width: 0;
    max-width: 190px;
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .header-inner > .btn {
    margin-left: auto;
    padding: 0.6rem 0.9rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .site-nav ul {
    gap: 22px;
  }

  /* Less space above and below each section than on large screens */
  .section,
  .section--tight,
  .post,
  .hero,
  .section--boxed {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section--boxed > .container {
    padding: 36px 22px;
  }

  .hero-row {
    margin-top: 36px;
  }
}
