/* site.css v14 - 2026-nov-05: the site alert on MyCIT (.mycit-alert, CitBssHandler v21), top of the page before
   the tiles, in light colours for the light page: info green, warn orange (as .mycit-urgent-box), severe red;
   as wide as the tiles. Generated 2026-nov-05 courtesy of Claude (claude.ai) */

/* site.css v13 - 2026-nov-04: home page site alert (.site-alert, CitBssHandler v20) just below the message
   banner: info = the banner's green, warn = orange, severe = red; hidden when there is none.
   Generated 2026-nov-04 courtesy of Claude (claude.ai) */

/* site.css v12 - 2026-nov-04: Messages page Latest Message card (filled by CitMsgsHandler v11): the title link
   is not underlined (teal on hover / focus), and a card without a picture (.no-photo) uses the full width.
   Generated 2026-nov-04 courtesy of Claude (claude.ai) */

/* site.css v11- 2026-nov-02: home page: message banner (.msg-banner, filled by CitBssHandler v16),
   main heading at 80%.
   Generated 2026-nov-02 courtesy of Claude (claude.ai) */

/* site.css v10 - 2026-oct-26: MyCIT on phones (under 720px): shorter tiles, smaller tile icon, tighter
   header, so all ten tiles fit on one screen (e.g. Samsung S22, 360 x ~680 visible).
   Generated 2026-oct-26 courtesy of Claude (claude.ai) */

/* site.css v9 - 2026-oct-24: document icon (.icon-doc: a page with lines) for the MyCIT
   "Message PDFs" tile. Generated 2026-oct-24 courtesy of Claude (claude.ai) */

/* site.css v8 - 2026-oct-22: new Recurring Events icon (.icon-repeat: two arrows in a loop) for the
   MyCIT tile. Generated 2026-oct-22 courtesy of Claude (claude.ai) */

/* site.css v7 - 2026-oct-20: new citKids icon (.icon-kids: a kid with arms up and a star) for the
   MyCIT tile and the citKids page. Generated 2026-oct-20 courtesy of Claude (claude.ai) */

/* site.css v6 - 2026-oct-14: Try Alpha page (mycit-alpha.html) in Alpha red
   #ed3024 - red bar, hero image, sections, red Sign Up button; clock icon.
   Generated 2026-oct-14 courtesy of Claude (claude.ai) */

/* site.css v5 - 2026-oct-14: MyCIT section — slim bar, tile grid (2 cols
   phone / 4 cols wide), urgent-announcement strip, stub pages; line
   icons as CSS masks so the HTML stays plain for Bootstrap Studio.
   Generated 2026-oct-14 courtesy of Claude (claude.ai) */

/* site.css v4 - 2026-oct-06: people-grid now centres partial last rows
   (9 pastoral, 7 board cards); board section reuses leadership styling.
   Generated 2026-oct-06 courtesy of Claude (claude.ai) */

/* site.css v3 - 2026-oct-03: About page pillar cards now stack title
   above description (were side-by-side flex row, awkward on phones and
   desktop); shorter centred cards at phone width.
   Generated 2026-oct-03 courtesy of Claude (claude.ai) */

/* site.css v2 - 2026-sep-27: restored .hero-bg background-position
   (center 25%) that was lost from the previous copy. Generated courtesy
   of Claude (claude.ai) */

:root {
  --cit-charcoal: #2d2f2f;
  --cit-footer: #3d3d3b;
  --cit-ink: #294f65;
  --cit-deep-blue: #29556e;
  --cit-blue-block: #59758a;
  --cit-teal: #43877f;
  --cit-teal-dark: #2d817e;
  --cit-teal-bright: #25bba6;
  --cit-teal-soft: #3ba391;
  --cit-line: #d7e2df;
  --cit-white: #ffffff;
  --cit-muted: #4d6270;
  --cit-soft: #f7faf9;
  --shadow-soft: 0 20px 50px rgba(18, 38, 48, 0.12);
  --radius: 0;
  --radius-soft: 12px;
  --max: 1180px;
  --slope: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cit-ink);
  background: var(--cit-white);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.text-center {
  text-align: center;
}

.section {
  padding: 5.5rem 0;
}

.section-soft {
  padding: 5.5rem 0;
  background: var(--cit-soft);
}

.section-accent {
  padding: 6rem 0;
  color: var(--cit-white);
  background: var(--cit-deep-blue);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--cit-teal-dark);
}

.visual-dark-panel .eyebrow, .section-accent .eyebrow, .section-teal .eyebrow {
  color: rgba(255,255,255,.86);
}

h1, h2, h3, h4 {
  line-height: 1.12;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  letter-spacing: -0.045em;
  font-weight: 850;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  letter-spacing: -0.035em;
  font-weight: 850;
}

h3 {
  font-size: 1.25rem;
  font-weight: 850;
}

p {
  margin: 0 0 1rem;
  color: var(--cit-muted);
}

.section-accent p, .section-teal p, .visual-dark-panel p {
  color: rgba(255,255,255,.88);
}

/* Header: deliberately blended into the top dark panel, as in the prototype. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(45, 47, 47, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0;
  box-shadow: none;
}

.header-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  font-size: 1.15rem;
  font-weight: 850;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: .3rem;
  align-items: center;
}

.site-nav a {
  padding: .45rem .58rem;
  text-decoration: none;
  border-radius: 0;
  font-size: .86rem;
  font-weight: 700;
  color: rgba(255,255,255,.88);
}

.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .28em;
  background: transparent;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.05rem;
  border-radius: 0;
  background: var(--cit-teal);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid rgba(255,255,255,.35);
}

.button:hover {
  background: var(--cit-teal-dark);
}

.button-small {
  padding: .38rem .7rem;
  font-size: .82rem;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.65);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  padding: .5rem;
}

.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Angled Elementor-like section boundaries without Elementor. */

.section-slope-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slope)), 0 100%);
  padding-bottom: calc(5.5rem + var(--slope));
}

.section-slope-top {
  clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0 100%);
  padding-top: calc(5.5rem + var(--slope));
}

.section-slope-top.section-slope-bottom {
  clip-path: polygon(0 var(--slope), 100% 0, 100% calc(100% - var(--slope)), 0 100%);
  padding-top: calc(5.5rem + var(--slope));
  padding-bottom: calc(5.5rem + var(--slope));
}

/* Home opening panel: hero + worship read as one dark slanted header area. */

.hero {
  min-height: 34vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--cit-charcoal);
  color: #fff;
}

.hero-home {
  background-image: none;
  background-color: var(--cit-charcoal);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 2.75rem;
  padding-bottom: 1.4rem;
  /*Desktop: align with the same left inset every other .container on the page uses, instead of hugging the viewport edge.;*/
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
}

.hero h1 {
  max-width: 780px;
}

.hero h1 span {
  color: #fff;
}

.hero p {
  color: rgba(255,255,255,.75);
}

.worship {
  margin-top: -1px;
  background: var(--cit-charcoal);
  color: #fff;
  padding-top: .5rem;
}

.worship h2 {
  font-size: 1.45rem;
  font-style: italic;
  letter-spacing: .01em;
}

.rule {
  width: 80px;
  height: 2px;
  background: var(--cit-teal);
  margin: .85rem auto 1.6rem;
  border-radius: 999px;
}

.visual-dark-panel .rule {
  background: rgba(255,255,255,.42);
}

.worship-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 8vw, 10rem);
}

.worship-links a, .text-link {
  font-weight: 850;
  color: inherit;
}

.worship-links a {
  border: 1px solid rgba(255,255,255,.75);
  padding: .35rem .7rem;
  text-decoration: none;
  font-size: .9rem;
}

.worship-links a:hover {
  background: rgba(255,255,255,.12);
}

/* Staggered coloured blocks restored from the prototype. */

.section-cards {
  background: var(--cit-white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
  align-items: start;
}

.info-card, .text-card, .person-card, .sermon-card, .sunday-card, details {
  background: #fff;
  border: 1px solid var(--cit-line);
  box-shadow: none;
}

.info-card {
  min-height: 210px;
  padding: 2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .2s ease, filter .2s ease;
  color: #fff;
}

.info-card p {
  color: rgba(255,255,255,.9);
  font-size: .94rem;
}

.info-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.04);
}

.info-card:nth-child(1) {
  background: var(--cit-blue-block);
}

.info-card:nth-child(2) {
  background: var(--cit-teal-bright);
  margin-top: 3.2rem;
}

.info-card:nth-child(3) {
  background: var(--cit-teal-dark);
}

.info-card:nth-child(4) {
  background: var(--cit-teal-soft);
  margin-top: 3.2rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
  margin-top: 2rem;
  align-items: start;
}

.pillar-grid article {
  min-height: 190px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  color: #fff;
  border: 0;
  border-radius: 0;
}

.pillar-grid article:nth-child(1) {
  background: var(--cit-blue-block);
}

.pillar-grid article:nth-child(2) {
  background: var(--cit-teal-soft);
  margin-top: 3rem;
}

.pillar-grid article:nth-child(3) {
  background: var(--cit-teal-dark);
}

.pillar-grid article:nth-child(4) {
  background: var(--cit-teal-soft);
  margin-top: 3rem;
}

.pillar-grid article h3 {
  margin: 0;
  color: #fff;
  text-align: center;
}

/* About page: pillar cards carry a one-line description under the title
   (the landing page's equivalent info-card only ever had a heading). */

.pillar-grid article p {
  margin: .4rem 0 0;
  color: rgba(255,255,255,.9);
  font-size: .88rem;
}

/* Home diversity and mission colour blocks. */

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: .95fr 1.05fr;
}

.split.reverse > :first-child {
  order: 1;
}

.section-teal, .diversity {
  background: var(--cit-teal);
  color: #fff;
}

.diversity h2, .section-teal h2 {
  color: #fff;
}

.diversity .community-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .45rem;
}

.community-gallery img, .photo-stack img, .rounded-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.community-gallery img {
  border: 0;
}

.mission {
  background: var(--cit-deep-blue);
}

.photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}

.photo-stack img:first-child {
  grid-row: span 2;
  height: 100%;
}

.sunday-card {
  padding: 2rem;
  color: var(--cit-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sunday-card h3, .sunday-card p {
  color: #fff;
}

.sunday-card .large {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
}

.mission .button {
  background: transparent;
  border-color: rgba(255,255,255,.8);
}

.section-follow {
  background: #fff;
  color: var(--cit-ink);
}

.section-follow .social-links a {
  color: var(--cit-teal-dark);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links a {
  font-weight: 850;
  color: var(--cit-teal-dark);
}

/* Internal page heroes restore the blue/green angled top panel. */

.page-hero {
  padding: 6rem 0 8rem;
  background: var(--cit-deep-blue);
  color: #fff;
}

.page-hero .container {
  text-align: left;
}

.page-hero h1 {
  max-width: 760px;
  color: #fff;
}

.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.86);
}

.image-hero {
  background: linear-gradient(rgba(41,85,110,.74), rgba(41,85,110,.82)), url('../../assets/img/worship-service.jpg') center/cover;
}

.image-hero p, .image-hero .eyebrow {
  color: rgba(255,255,255,.9);
}

/* About page visual restoration. */

.about-intro .narrow {
  max-width: 960px;
}

.about-pillars {
  background: #fff;
}

.leadership-section {
  text-align: center;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.person-card {
  padding: 1.2rem;
  text-align: center;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border: 0;
}

.person-card img {
  width: 122px;
  height: 122px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.person-card p {
  font-size: .9rem;
}

.board-section {
  background: #fff;
}

.name-list {
  columns: 2;
  padding-left: 1.5rem;
  font-weight: 750;
  max-width: 560px;
  margin: 1rem auto 0;
}

.section-beliefs {
  background: var(--cit-deep-blue);
  color: #fff;
}

.section-beliefs h2, .section-beliefs h3 {
  color: #fff;
}

.section-beliefs .quote {
  color: rgba(255,255,255,.85);
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.text-grid.wide {
  grid-template-columns: repeat(2, 1fr);
}

.text-card {
  padding: 1.5rem;
  border-radius: 0;
  box-shadow: none;
}

.section-beliefs .text-card {
  background: #fff;
  color: var(--cit-ink);
  border: 0;
}

.section-beliefs .text-card h3 {
  color: var(--cit-ink);
}

.section-beliefs .text-card p {
  color: var(--cit-muted);
}

.quote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cit-teal-dark);
}

.cta {
  background: var(--cit-teal);
}

.cta .button {
  background: #fff;
  color: var(--cit-deep-blue);
  border: 0;
}

.cta-plain {
  background: var(--cit-white);
  color: var(--cit-ink);
}

.cta-plain p {
  color: var(--cit-muted);
}

.cta-plain .button {
  background: var(--cit-teal);
  color: #fff;
}

.icon-list {
  padding-left: 1.2rem;
}

.sermon-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.sermon-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  align-items: center;
  border-radius: 0;
  box-shadow: none;
}

.sermon-card img {
  border-radius: 0;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* v12 - Latest Message card */
.sermon-card h3 a {
  text-decoration: none;
}

.sermon-card h3 a:hover,
.sermon-card h3 a:focus-visible {
  color: var(--cit-teal);
}

.sermon-card.no-photo {
  grid-template-columns: 1fr;
}

.sermon-meta {
  color: var(--cit-muted);
  font-size: .9rem;
  font-weight: 700;
  margin: .35rem 0 .75rem;
}

details {
  padding: 1rem 1.25rem;
  margin: .75rem 0;
  border-radius: 0;
  box-shadow: none;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

.site-footer {
  position: relative;
  padding: calc(4rem + var(--slope)) 0 2rem;
  margin-top: calc(-1 * var(--slope));
  background: var(--cit-footer);
  color: #fff;
  clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0 100%);
}

.site-footer p, .site-footer address {
  color: rgba(255,255,255,.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .7fr;
  gap: 2rem;
}

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

.footer-links a {
  color: rgba(255,255,255,.84);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2rem;
  padding-top: 1rem;
}

/* Dropdown navigation added in v4.
   Parent items remain real links; submenus open on hover/focus on desktop
   and are shown expanded in the mobile menu. */

.site-nav .nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav .nav-parent::after {
  content: " ▾";
  font-size: .72em;
}

.site-nav .nav-parent.is-active, .site-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .28em;
}

.site-nav .nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13rem;
  padding: .45rem;
  background: var(--cit-charcoal);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow-soft);
  z-index: 2000;
}

.site-nav .nav-group:hover .nav-submenu, .site-nav .nav-group:focus-within .nav-submenu {
  display: grid;
}

.site-nav .nav-submenu a {
  display: block;
  white-space: nowrap;
  padding: .55rem .7rem;
  color: rgba(255,255,255,.9);
}

.site-nav .nav-submenu a:hover, .site-nav .nav-submenu a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.1);
  text-decoration: none;
}

.sermons-link-grid {
  max-width: 820px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

span.build-date {
  font-size: 70%;
  display: inline-block;
  margin-left: 20px;
  font-style: italic;
}

@media (max-width: 960px) {
  :root {
    --slope: 44px;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 48px;
    padding: 1rem;
    background: var(--cit-charcoal);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 960px) {
  .site-nav.open {
    display: grid;
  }
}

@media (max-width: 960px) {
  .site-nav .nav-group {
    display: grid;
    position: static;
    align-items: stretch;
  }
}

@media (max-width: 960px) {
  .site-nav .nav-submenu {
    display: grid;
    position: static;
    min-width: 0;
    padding: .2rem 0 .35rem 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 960px) {
  .site-nav .nav-submenu a {
    padding: .4rem .55rem;
    font-size: .84rem;
  }
}

@media (max-width: 960px) {
  .site-nav .nav-submenu a:hover, .site-nav .nav-submenu a[aria-current="page"] {
    background: rgba(255,255,255,.08);
  }
}

@media (max-width: 960px) {
  .header-inner .button-small {
    display: none;
  }
}

@media (max-width: 960px) {
  .card-grid, .pillar-grid, .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .split, .split.reverse, .text-grid, .text-grid.wide, .footer-grid, .sermon-card, .sermons-link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .split.reverse > :first-child {
    order: 0;
  }
}

@media (max-width: 960px) {
  .page-hero .container {
    text-align: center;
  }
}

@media (max-width: 960px) {
  .hero-inner {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .section, .section-soft, .section-accent {
    padding: 3.5rem 0;
  }
}

@media (max-width: 560px) {
  .section-slope-bottom {
    padding-bottom: calc(3.5rem + var(--slope));
  }
}

@media (max-width: 560px) {
  .section-slope-top {
    padding-top: calc(3.5rem + var(--slope));
  }
}

@media (max-width: 560px) {
  .card-grid, .pillar-grid, .people-grid, .community-gallery, .diversity .community-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .info-card:nth-child(n), .pillar-grid article:nth-child(n) {
    margin-top: 0;
  }
}

/* v3: on phones the single-column pillar cards don't need the tall
   desktop block height; centre the title + description in the card. */

@media (max-width: 560px) {
  .pillar-grid article {
    min-height: 0;
    justify-content: center;
    padding: 1.6rem 1.4rem;
  }
}

@media (max-width: 560px) {
  .photo-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .name-list {
    columns: 1;
  }
}

@media (max-width: 560px) {
  .worship-links {
    gap: .75rem;
  }
}

/* Landing page v1 (this pass): home hero rotating background photo.
   The live site cycles 6 Ken-Burns background photos behind the hero
   text; GAEL selects one per day from images/hero/hero-*.jpg and writes
   the chosen URL into .hero-bg at render time (see GAEL:BEGIN gallery
   marker in index.html). This CSS just needs to size/position it and
   keep the text readable on top. */

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(45,47,47,.55) 0%, rgba(45,47,47,.94) 100%);
}

.hero-home .hero-inner {
  position: relative;
  z-index: 2;
}

/* Footer Google Map embed, new in this pass. */

.footer-map {
  margin-top: 1.25rem;
  border: 0;
  overflow: hidden;
}

.footer-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
}

/* Contact form, new in this pass. */

.contact-form {
  margin-top: 1.5rem;
}

.contact-form > p {
  margin-top: 0;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: .92rem;
  margin: 1rem 0 .35rem;
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--cit-ink);
  background: var(--cit-white);
  border: 1px solid var(--cit-line);
  border-radius: 0;
  padding: .65rem .8rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  margin-top: 1.5rem;
}

.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Subscribe checkbox (contact-us.html) - added 2026-sep-26. */

.contact-form .subscribe-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: 1.25rem;
}

.contact-form .subscribe-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: .15rem 0 0;
  padding: 0;
  accent-color: var(--cit-teal);
}

.contact-form .subscribe-row label {
  display: inline;
  margin: 0;
  font-weight: 400;
  font-size: .95rem;
}

/* Generated 2026-sep-18 courtesy of Claude (claude.ai) */

.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: .5rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: var(--cit-teal-bright);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.etransfer-steps {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cit-line);
}

.etransfer-steps h4 {
  color: var(--cit-teal-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 1.25rem 0 .35rem;
}

.etransfer-steps h4:first-child {
  margin-top: 0;
}

.etransfer-steps p {
  color: var(--cit-muted);
  margin: 0 0 .5rem;
}

.etransfer-steps ul {
  margin: 0 0 .75rem;
  padding-left: 1.2rem;
  color: var(--cit-muted);
}

.etransfer-steps li {
  margin: 0 0 .3rem;
}

.build-id {
  display: inline-block;
  margin-left: 20px;
  font-size: 75%;
}

/* v4: centre leftover cards in the last row of a people grid.
   Flex overrides the grid columns set above and in the media queries. */

.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.people-grid > .person-card {
  flex: 0 0 calc((100% - 3 * 1.1rem) / 4);
}

@media (max-width: 960px) {
  .people-grid > .person-card {
    flex-basis: calc((100% - 1.1rem) / 2);
  }
}

@media (max-width: 560px) {
  .people-grid > .person-card {
    flex-basis: 100%;
  }
}

/* v4: board follows straight on from the pastoral team. */

.leadership-section.board-section {
  padding-top: 0;
}


/* ---------- v5: MyCIT ---------- */

.page-mycit {
  background: var(--cit-soft);
  min-height: 100vh;
}

.mycit-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(45, 47, 47, .96);
  color: #fff;
}

.mycit-bar-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mycit-bar-title, .mycit-back {
  font-weight: 850;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
}

.mycit-back span {
  font-size: 1.4rem;
  line-height: 1;
  margin-right: .15rem;
}

.mycit-home {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .75rem;
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
}

.mycit-home:hover, .mycit-home:focus-visible {
  background: rgba(255,255,255,.12);
}

.mycit-home .mycit-icon {
  width: 18px;
  height: 18px;
}

/* Line icons: each .icon-* sets --icon; the shape is a mask filled
   with currentColor, so an icon takes the colour of its text. */

.mycit-icon {
  display: inline-block;
  flex: none;
  width: 30px;
  height: 30px;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-mic { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v4M8 22h8'/%3E%3C/svg%3E"); }
.icon-cal { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18M8 2v4M16 2v4M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E"); }
.icon-kids { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='4.5' r='2.2'/%3E%3Cpath d='M12 8.5v6M5 5.5l7 4.5 7-4.5M12 14.5l-4 6.5M12 14.5l4 6.5'/%3E%3Cpath d='M20.5 13.5l.6 1.3 1.4.2-1 1 .2 1.4-1.2-.7-1.2.7.2-1.4-1-1 1.4-.2z' fill='black' stroke-width='1'/%3E%3C/svg%3E"); } /* v7 - kid with arms up and a star (citKids) */
.icon-repeat { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 2l4 4-4 4'/%3E%3Cpath d='M3 11v-1a4 4 0 0 1 4-4h14'/%3E%3Cpath d='M7 22l-4-4 4-4'/%3E%3Cpath d='M21 13v1a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E"); } /* v8 - arrows in a loop (Recurring Events) */
.icon-chat { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.icon-alpha { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/svg%3E"); }
.icon-heart { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); }
.icon-group { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
.icon-pray { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2c1 4 6 6 6 12a6 6 0 0 1-12 0c0-3 2-5 3-6 0 2 1 3 2 3 0-3-1-6 1-9z'/%3E%3C/svg%3E"); }
.icon-doc { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h8M8 9h2'/%3E%3C/svg%3E"); }
.icon-home { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8M5 10v10h5v-6h4v6h5V10'/%3E%3C/svg%3E"); }

.mycit-hero {
  background: var(--cit-teal);
  color: #fff;
  padding: 1.6rem 0 2.6rem;
  text-align: center;
  border-radius: 0 0 50% 50% / 0 0 32px 32px;
}

.mycit-hero .eyebrow {
  color: rgba(255,255,255,.85);
  margin-bottom: .2rem;
}

.mycit-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 8vw, 2.8rem);
  margin: 0;
}

.mycit-urgent {
  padding-top: 1.25rem;
}

.mycit-urgent[hidden] {
  display: none;
}

.mycit-urgent-box {
  background: #fff4e5;
  border-left: 5px solid #b54708;
  color: #5a2a06;
  padding: .9rem 1rem;
}

.mycit-urgent-box p {
  margin: 0;
  color: inherit;
}

.mycit-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.mycit-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 112px;
  padding: 1rem .6rem;
  background: var(--cit-white);
  border: 1px solid var(--cit-line);
  border-radius: var(--radius-soft);
  color: var(--cit-ink);
  text-align: center;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.25;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}

.mycit-tile .mycit-icon {
  color: var(--cit-teal);
}

.mycit-tile:hover, .mycit-tile:focus-visible {
  box-shadow: var(--shadow-soft);
  border-color: var(--cit-teal-soft);
}

.mycit-tile:active {
  transform: scale(.97);
}

@media (max-width: 719.98px) {          /* v10 - all ten tiles on one phone screen */
  .mycit-hero {
    padding: .9rem 0 1.7rem;
  }
  .mycit-tiles {
    gap: .55rem;
    padding-top: .8rem;
    padding-bottom: 1.2rem;
  }
  .mycit-tile {
    min-height: 80px;
    padding: .5rem .5rem;
    gap: .3rem;
  }
  .mycit-tile .mycit-icon {
    width: 26px;
    height: 26px;
  }
}

@media (min-width: 720px) {
  .mycit-tiles {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
    gap: 1rem;
  }
  .mycit-tile {
    min-height: 140px;
  }
}

.mycit-stub {
  padding: 3rem 0 4rem;
  text-align: center;
}

.mycit-stub .container {
  max-width: 560px;
}

.mycit-stub-icon {
  width: 52px;
  height: 52px;
  color: var(--cit-teal);
  margin-bottom: .8rem;
}

.mycit-stub h1 {
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  margin-bottom: .3rem;
}

.mycit-soon {
  display: inline-block;
  padding: .2rem .7rem;
  background: var(--cit-line);
  color: var(--cit-ink);
  font-weight: 750;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1.2rem;
}

.mycit-fornow-label {
  margin: 1.6rem 0 .5rem;
  font-weight: 750;
  color: var(--cit-muted);
}

.mycit-fornow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

/* ---------- v6: Try Alpha (Alpha's own red) ---------- */

.icon-clock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }

.page-mycit-alpha {
  --alpha-red: #ed3024;
  --alpha-red-dark: #c92418;
  background: #f6f6f6;
}

.page-mycit-alpha .mycit-bar {
  background: var(--alpha-red);
}

.page-mycit-alpha .mycit-home {
  border-color: rgba(255,255,255,.75);
}

.alpha-hero {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 900 / 507;
  object-fit: cover;
}

.alpha-body {
  max-width: 640px;
  padding-top: 1.6rem;
  padding-bottom: 3rem;
  color: #222;
}

.alpha-body h1 {
  color: #222;
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 400;
  margin-bottom: .8rem;
}

.alpha-body p {
  color: #222;
}

.alpha-lead {
  font-weight: 700;
}

.alpha-section {
  border-top: 2px solid #d3d3d3;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
}

.alpha-section h2 {
  color: #222;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .8rem;
}

.alpha-when {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
}

.alpha-when .mycit-icon {
  width: 24px;
  height: 24px;
  color: #777;
}

.alpha-button {
  display: block;
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: var(--alpha-red);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
}

.alpha-button:hover, .alpha-button:focus-visible {
  background: var(--alpha-red-dark);
  color: #fff;
}

.alpha-body a:not(.alpha-button) {
  color: var(--alpha-red-dark);
}

/* v11 - home page message banner + the space it needs */

.hero-home h1 {
  font-size: clamp(1.88rem, 4vw, 3.68rem);
}

.msg-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: .85rem 1.1rem;
  border: 2px solid var(--cit-teal-bright);
  border-radius: var(--radius-soft);
  background: rgba(37, 187, 166, .16);
  color: #fff;
  text-align: left;
  text-decoration: none;
  transition: background .15s ease;
}

.msg-banner:hover, .msg-banner:focus-visible {
  background: rgba(37, 187, 166, .3);
  color: #fff;
}

.msg-banner-label {
  flex: none;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--cit-teal-bright);
  color: var(--cit-charcoal);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.msg-banner-text {
  flex: 1;
  min-width: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.msg-banner-date {
  color: #7fe3d3;
}

.msg-banner-go {
  flex: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cit-teal-bright);
}

@media (max-width: 560px) {
  .msg-banner {
    flex-wrap: wrap;
    gap: .5rem .75rem;
    margin-top: 1.5rem;
    padding: .8rem .9rem;
  }

  .msg-banner-label {
    order: 1;
  }

  .msg-banner-go {
    order: 2;
    margin-left: auto;
  }

  .msg-banner-text {
    order: 3;
    flex-basis: 100%;
    font-size: 1.05rem;
  }
}

/* v13 - home page site alert (CitBssHandler v20) */
.site-alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
  padding: .95rem 1.1rem;
  border: 2px solid var(--cit-teal-bright);
  border-radius: var(--radius-soft);
  background: rgba(37, 187, 166, .16);
  color: #fff;
  text-align: left;
}

.site-alert[hidden] {
  display: none;
}

.site-alert-label {
  flex: none;
  margin-top: .1rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--cit-teal-bright);
  color: var(--cit-charcoal);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-alert-text {
  flex: 1;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.site-alert-text > :first-child { margin-top: 0; }
.site-alert-text > :last-child  { margin-bottom: 0; }
.site-alert-text p, .site-alert-text ul, .site-alert-text ol { margin: .4rem 0; }
.site-alert-text ul, .site-alert-text ol { padding-left: 1.2rem; }

.site-alert-text a {
  color: #fff;
  text-decoration: underline;
}

.site-alert-warn {
  border-color: #ff9f1c;
  background: rgba(255, 159, 28, .22);
}

.site-alert-warn .site-alert-label {
  background: #ff9f1c;
}

.site-alert-severe {
  border-color: #ff5a4e;
  background: rgba(255, 90, 78, .24);
}

.site-alert-severe .site-alert-label {
  background: #ff5a4e;
  color: #fff;
}

@media (max-width: 560px) {
  .site-alert {
    flex-direction: column;
    gap: .5rem;
    padding: .8rem .9rem;
  }
}

/* v14 - MyCIT site alert (CitBssHandler v21): the light-page version of .site-alert */
.mycit-alert {
  padding-top: 1.25rem;
}

.mycit-alert[hidden] {
  display: none;
}

.page-mycit .site-alert {
  margin-top: 0;
  color: var(--cit-charcoal);
  border-color: var(--cit-teal);
  background: #e7f5f2;
}

.page-mycit .site-alert-label {
  background: var(--cit-teal);
  color: #fff;
}

.page-mycit .site-alert-text a {
  color: inherit;
}

.page-mycit .site-alert-warn {
  border-color: #b54708;
  background: #fff4e5;
  color: #5a2a06;
}

.page-mycit .site-alert-warn .site-alert-label {
  background: #b54708;
  color: #fff;
}

.page-mycit .site-alert-severe {
  border-color: #b42318;
  background: #fdecea;
  color: #5c1410;
}

.page-mycit .site-alert-severe .site-alert-label {
  background: #b42318;
  color: #fff;
}

@media (min-width: 720px) {
  .mycit-alert .container {
    max-width: 900px;       /* as wide as the tiles */
  }
}
