/* Plain CSS. System fonts, local images, no framework or JavaScript. */
:root {
  --ink: #173c3b;
  --muted: #536866;
  --teal: #176b60;
  --teal-dark: #104d45;
  --tint: #eff7f4;
  --line: #dde8e3;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
.contact-link { color: var(--teal); text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-link:hover { color: var(--teal-dark); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #a66c13; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.topline { background: var(--tint); color: var(--muted); font-size: .8125rem; }
.topline-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 9px; }
.topline a:hover, .footer a:hover { text-decoration: underline; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 102px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: Georgia, serif; font-size: 1.4rem; line-height: 1.3; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand-sub { display: block; margin-top: 5px; font: 10px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .75rem; letter-spacing: .17em; }
nav { display: flex; align-items: center; gap: 32px; margin-left: auto; font-size: .875rem; }
nav a { padding-block: 10px; }
nav a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 50px; padding: 12px 24px; border: 1px solid var(--teal); border-radius: 6px; background: var(--teal); color: white; font-weight: 600; font-size: .875rem; transition: background .18s; }
.button:hover { background: var(--teal-dark); }
.button-small { min-height: 43px; padding: 9px 20px; margin-left: 12px; }
.hero { background: linear-gradient(110deg, #f5f9f7, #edf6f3); border-block: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 78px; align-items: center; padding-block: 58px; }
.eyebrow { color: var(--teal); font-size: .75rem; font-weight: 650; letter-spacing: .115em; line-height: 1.6; }
h1 { font-size: clamp(2.6rem, 4.7vw, 4.1rem); line-height: 1.13; letter-spacing: -.035em; margin-top: 22px; }
h1 em { color: var(--teal); font-weight: 400; }
.intro { color: var(--muted); max-width: 420px; margin-top: 24px; font-size: 1.0625rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; color: var(--teal); font-size: .875rem; font-weight: 600; min-height: 44px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.location { margin-top: 29px; color: var(--muted); font-size: .8125rem; }
.prayer-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 27px 30px 21px; box-shadow: 0 12px 35px #173c3b06; }
.prayer-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prayer-title h2 { font-size: 1.8rem; line-height: 1.4; margin-top: 2px; }
.date-badge { display: grid; text-align: center; border: 1px solid var(--line); border-radius: 7px; min-width: 48px; padding: 5px 9px; font-size: .75rem; line-height: 1.4; color: var(--teal); }
.date-badge strong { font: 1.5rem/1.1 Georgia, serif; }
.schedule-date { font-size: .75rem; margin-top: 12px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin-top: 19px; font-size: .875rem; font-variant-numeric: tabular-nums; }
th, td { text-align: right; padding: 9px 0; border-bottom: 1px solid #edf1ee; }
th:first-child { text-align: left; }
thead th { color: var(--muted); font-size: .75rem; font-weight: 400; padding-top: 0; padding-bottom: 10px; }
tbody th { font-weight: 500; }
tbody td:last-child { font-weight: 650; color: var(--teal); }
td span { font-size: .75rem; font-weight: 400; }
.sunrise { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; margin-top: 11px; }
.sunrise strong { font-weight: 400; }
.jummah { margin-top: 18px; padding: 17px 18px; background: var(--tint); border-radius: 7px; }
.jummah-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; }
.jummah-heading h3 { margin: 0; font-size: 1.2rem; }
.jummah-heading > span { font-size: .75rem; color: var(--muted); }
.jummah-times { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 13px; }
.jummah-times > div { display: grid; gap: 3px; }
.jummah-times > div + div { border-left: 1px solid #cbded6; padding-left: 20px; }
.jummah-times span { font-size: .8125rem; color: var(--muted); }
.jummah-times strong { font-size: 1.6rem; color: var(--teal); line-height: 1.3; font-variant-numeric: tabular-nums; }
.jummah-times small { font-size: .8125rem; font-weight: 500; }
.news { padding-block: 65px 5px; }
.news .section-heading { margin-bottom: 12px; }
.news-count { color: var(--muted); font-size: .875rem; }
.news-intro { color: var(--muted); max-width: 720px; font-size: .9375rem; margin-bottom: 30px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.flyer { display: block; background: #f2f5f3; padding: 16px; border-bottom: 1px solid var(--line); }
.flyer img { width: 100%; height: 285px; object-fit: contain; }
.flyer:hover { background: #e4efea; }
.flyer:focus-visible { outline-offset: -5px; }
.news-copy { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.news-copy h3 { margin-block: 10px 12px; }
.news-copy > p:not(.eyebrow) { color: var(--muted); font-size: .9375rem; overflow-wrap: anywhere; }
.news-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: auto; padding-top: 18px; }
.news-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); font-size: .875rem; font-weight: 600; }
.news-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.schedule-note { font-size: .75rem; line-height: 1.65; color: var(--muted); border-top: 1px solid var(--line); margin-top: 14px; padding-top: 11px; }
.schedule-note a { text-decoration: underline; text-underline-offset: 3px; }
.about { display: grid; grid-template-columns: 1.04fr 1fr; gap: 72px; align-items: center; padding-block: 76px; }
.about figure { position: relative; }
.about img { width: 100%; height: 290px; object-fit: cover; object-position: center 60%; border-radius: 8px; }
figcaption { position: absolute; bottom: 17px; left: 17px; padding: 7px 12px; background: #ffffffef; color: var(--ink); border-radius: 3px; font-size: .75rem; letter-spacing: .075em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.45rem); line-height: 1.2; letter-spacing: -.025em; }
.about h2 { margin-top: 15px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: .9375rem; margin-top: 19px; }
.about .text-link { margin-top: 16px; }
.programs { padding-block: 5px 70px; }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 29px; }
.section-heading h2 { margin-top: 12px; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program { padding: 27px; border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; transition: background .18s, border-color .18s; }
.program:hover { background: var(--tint); border-color: #86aaa1; }
.program-number { color: var(--muted); font-size: .75rem; letter-spacing: .1em; }
h3 { font: 1.45rem/1.3 Georgia, serif; margin-block: 19px 11px; }
.program p { font-size: .875rem; color: var(--muted); }
.program-link { display: flex; justify-content: space-between; gap: 12px; color: var(--teal); font-size: .875rem; font-weight: 600; margin-top: auto; padding-top: 26px; }
.visit { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 36px 42px; background: var(--tint); border-radius: 9px; }
.visit h2 { margin-block: 9px; }
address { font-style: normal; font-size: .9375rem; color: var(--muted); }
.visit-actions { display: grid; justify-items: center; gap: 6px; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 31px; color: var(--muted); font-size: .75rem; }
.footer > span { font-family: Georgia, serif; font-size: .9375rem; color: var(--ink); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; background: white; padding: 12px; z-index: 10; }
@media (max-width: 1000px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { gap: 35px; grid-template-columns: 1.1fr 1fr; }
  .wrap { width: calc(100% - 48px); }
  .about { gap: 36px; }
  nav { gap: 20px; }
  .program { padding: 22px; }
}
@media (max-width: 740px) {
  .news { padding-top: 42px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-count { display: inline-block; margin-top: 10px; }
  .flyer img { height: 330px; }
  .topline-inner { justify-content: center; }
  .topline-inner > span { display: none; }
  .header { flex-wrap: wrap; gap: 12px; padding-block: 15px; }
  .brand { font-size: 1.2rem; }
  .brand img { width: 45px; height: 45px; }
  .button-small { margin-left: auto; gap: 14px; }
  nav { order: 3; justify-content: space-between; width: 100%; margin: 0; border-top: 1px solid var(--line); padding-top: 5px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 38px; }
  h1 { font-size: clamp(2.65rem, 8vw, 3.7rem); }
  .intro { max-width: 100%; }
  .actions { gap: 14px 20px; }
  .prayer-card { padding: 24px; }
  .about { grid-template-columns: 1fr; padding-block: 46px; gap: 28px; }
  .about img { height: auto; aspect-ratio: 1.6; }
  .section-heading { display: block; }
  .section-heading > a { margin-top: 10px; }
  .program-grid { grid-template-columns: 1fr; gap: 16px; }
  .programs { padding-bottom: 42px; }
  .visit { flex-direction: column; align-items: start; padding: 28px; }
  .visit-actions { justify-items: start; }
  .footer { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Shared multi-page layout. Home is a news board with a prayer sidebar. */
.header > nav { gap: 21px; }
nav a[aria-current="page"] { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 7px; }
.page-heading { border-block: 1px solid var(--line); background: var(--tint); padding-block: 32px; }
.page-heading h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.18; margin-top: 9px; }
.page-heading .wrap > p:last-child { margin-top: 12px; color: var(--muted); max-width: 720px; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 34px; align-items: start; padding-block: 38px 60px; }
.home-layout > .prayer-card { grid-column: 2; grid-row: 1; position: sticky; top: 24px; padding: 23px; }
.home-layout > .news { grid-column: 1; grid-row: 1; padding: 0; }
.home-layout .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-layout .section-heading { display: block; }
.home-layout .section-heading h2 { font-size: 2rem; }
.home-layout .news-count { display: inline-block; margin-top: 9px; }
.home-layout .flyer img { height: 260px; }
.home-layout .news-copy { padding: 20px; }
.home-layout .jummah-heading { display: block; }
.home-layout .jummah-heading > span { display: inline-block; margin-top: 4px; }
.page-content { padding-block: 42px 65px; }
.about-page { padding: 0 0 42px; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 9px; min-width: 0; }
.content-card h2 { font-size: 1.7rem; margin-block: 12px 16px; }
.content-card h2 small { font: 1rem/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--muted); }
.content-card > p:not(.eyebrow) { color: var(--muted); }
.content-card > .text-link { margin-top: auto; padding-top: 20px; }
.content-card p a { text-decoration: underline; color: var(--teal); }
.reading-section { max-width: 800px; padding-block: 32px; }
.reading-section h2 { margin-bottom: 18px; font-size: 2rem; }
.reading-section .eyebrow { margin-bottom: 12px; }
.reading-section > p { margin-block: 12px; color: var(--muted); }
.schedule-list { margin: 20px 0; }
.schedule-list > div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.schedule-list dt { font-weight: 600; }
.schedule-list dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.resource-list { color: var(--muted); padding-left: 23px; }
.resource-list li { padding-block: 6px; }
.page-note { color: var(--muted); font-size: .875rem; margin-top: 28px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; margin-bottom: 42px; }
.contact-details h2 { font-size: 1.9rem; }
.contact-details .schedule-list > div { grid-template-columns: 78px minmax(0, 1fr); gap: 20px; }
.contact-details a:not(.button):hover { text-decoration: underline; }
.contact-photo { width: 100%; height: 350px; object-fit: cover; border-radius: 9px; }
.site-footer { background: #f7faf8; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 25px; padding-top: 30px; font-size: .875rem; color: var(--muted); }
.footer-grid strong { color: var(--ink); font: 1.15rem Georgia, serif; }
.footer-grid p { margin-top: 8px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: end; align-content: start; }
@media (max-width: 1100px) and (min-width: 741px) {
  .header { flex-wrap: wrap; gap: 8px 20px; padding-block: 16px 7px; }
  .header > nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 5px; }
  .home-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .home-layout .news-grid { grid-template-columns: 1fr; }
  .content-grid:not(.two-columns) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
  .header > nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
  .header > nav a { text-align: center; }
  .home-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 26px; }
  .home-layout > .prayer-card, .home-layout > .news { grid-column: 1; grid-row: auto; position: static; }
  .home-layout .news-grid { grid-template-columns: 1fr; }
  .home-layout .flyer img { height: 330px; }
  .content-grid, .two-columns, .contact-layout { grid-template-columns: 1fr; }
  .page-content { padding-block: 30px 45px; }
  .content-card { padding: 24px; }
  .schedule-list > div { grid-template-columns: 1fr; gap: 6px; }
  .contact-photo { height: auto; }
  .footer-grid { flex-direction: column; }
  .footer-grid nav { width: auto; order: initial; justify-content: start; margin: 0; padding-top: 12px; }
}

/* Full-site content library: the original content in the same quiet design. */
.utility-nav { display: flex; gap: 12px 26px; flex-wrap: wrap; justify-content: start; padding-block: 10px 16px; margin-left: auto; font-size: .8125rem; }
.utility-nav a { padding: 0; min-height: 30px; display: inline-flex; align-items: center; }
.section-nav { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: start; padding-block: 12px; border-top: 1px solid var(--line); margin-left: auto; font-size: .8125rem; }
.section-nav a { padding-block: 4px; }
.imported-content { overflow-wrap: anywhere; }
.imported-content > p, .imported-content > ul, .imported-content > ol, .imported-content > blockquote { max-width: 850px; margin-block: 17px; color: var(--muted); }
.imported-content > h2 { margin-block: 32px 18px; padding-top: 20px; font-size: 2rem; border-top: 1px solid var(--line); }
.imported-content > h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.imported-content h3 { margin-top: 24px; }
.imported-content p a, .imported-content li a { text-decoration: underline; text-underline-offset: 3px; color: var(--teal); }
.imported-content li { margin-block: 7px; }
.imported-content blockquote { border-left: 3px solid var(--teal); padding: 18px 24px; background: var(--tint); font-family: Georgia, serif; font-size: 1.2rem; }
.import-figure { margin-block: 24px; max-width: 650px; }
.import-figure img { max-height: 680px; width: auto; height: auto; max-width: 100%; object-fit: contain; border-radius: 8px; }
.import-figure a { display: inline-block; }
.import-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block: 25px; }
.import-gallery .import-figure { margin: 0; background: var(--tint); padding: 16px; border-radius: 8px; }
.import-gallery .import-figure img { width: 100%; height: 320px; object-fit: contain; }
.import-gallery .import-figure a { display: block; }
.document-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; max-width: 850px; margin-block: 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--teal); }
.document-link span { font-size: .8125rem; white-space: nowrap; }
.document-link:hover { background: var(--tint); }
.import-card { border: 1px solid var(--line); border-radius: 8px; padding: 25px; margin-block: 20px; max-width: 850px; }
.import-card h2, .import-card h3 { margin-top: 0; }
.import-card img { max-height: 180px; width: auto; margin-bottom: 20px; }
.import-action { margin-block: 14px; }
.live-service { padding: 28px; margin-block: 25px; border: 1px solid var(--line); background: var(--tint); border-radius: 9px; max-width: 850px; }
.live-service h2 { font-size: 1.7rem; margin-block: 10px 15px; }
.live-service p { color: var(--muted); margin-block: 12px; }
.live-service .button { margin-top: 15px; }
.live-service details { margin-block: 17px; color: var(--muted); }
.live-service summary { cursor: pointer; font-weight: 600; padding-block: 8px; color: var(--ink); }
.live-service summary:focus-visible { outline: 3px solid #a66c13; outline-offset: 4px; }
.live-service li { margin-block: 8px; }
.archive-notice { background: #fff9ed; border-left: 3px solid #b18738; padding: 16px 20px; color: #665332 !important; font-size: .875rem; }
.archive-period { font-weight: 700; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; margin-block: 22px; }
.table-scroll table { margin: 0; min-width: 760px; }
.table-scroll td, .table-scroll th { padding: 12px; text-align: left; white-space: nowrap; }
.table-scroll tbody tr:nth-child(even) { background: var(--tint); }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 35px; }
.person-card { text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.person-card .import-figure { margin: 0 auto 20px; }
.person-card .import-figure img { width: 155px; height: 155px; object-fit: cover; border-radius: 50%; }
.person-card h2 { font-size: 1.5rem; margin-bottom: 9px; }
.person-card p { color: var(--muted); }
.program-flyer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.program-flyer { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.program-flyer .import-figure { padding: 16px; margin: 0; background: #f2f5f3; }
.program-flyer .import-figure a { display: block; }
.program-flyer .import-figure img { width: 100%; height: 340px; object-fit: contain; }
.program-flyer > div { padding: 22px; }
.program-flyer h2 { font-size: 1.4rem; }
.program-flyer .text-link { margin-top: 12px; }
.audio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 22px; }
.audio-item { background: var(--tint); padding: 22px; border-radius: 8px; }
.audio-item h3 { margin-block: 0 16px; }
.audio-item audio { width: 100%; }
.audio-item > a { display: block; font-size: .8125rem; color: var(--teal); margin-top: 10px; }
.source-note { font-size: .75rem; color: var(--muted); padding-block: 18px 28px; }
.source-note a { text-decoration: underline; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 28px; color: var(--teal); font-size: .875rem; }
.social-links a { min-height: 35px; display: inline-flex; align-items: center; }
.home-extras { padding-bottom: 60px; }
.home-extras > section { padding-block: 28px; border-top: 1px solid var(--line); }
.home-extras h2 { font-size: 2rem; margin-bottom: 20px; }
.home-extras p { color: var(--muted); margin-block: 12px; }
.home-extra-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; padding-block: 30px; }
.home-extra-grid .live-service { margin: 0; }
.faith-statement { padding: 26px; background: var(--tint); border-radius: 8px; }
.faith-statement p[lang="ar"] { font-size: 1.9rem; color: var(--ink); line-height: 1.8; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.video-link { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; color: var(--teal); }
.video-link:hover { background: var(--tint); }
.video-link > span:last-child { margin-left: auto; }
.pillar-list { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px; }
.pillar-list span { padding: 12px 24px; background: var(--tint); border-radius: 5px; color: var(--teal); }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.directory-grid section { padding: 26px; border: 1px solid var(--line); border-radius: 8px; }
.directory-grid h2 { font-size: 1.55rem; }
.directory-grid ul { list-style: none; margin: 18px 0 0; padding: 0; }
.directory-grid a { display: inline-block; padding-block: 8px; color: var(--teal); }
.directory-grid a:hover { text-decoration: underline; }
@media (max-width: 1000px) {
 .import-gallery, .people-grid, .program-flyer-grid, .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
 .utility-nav, .section-nav { order: initial; border-top: 1px solid var(--line); justify-content: start; gap: 8px 20px; }
 .import-gallery, .people-grid, .program-flyer-grid, .audio-grid, .directory-grid, .home-extra-grid, .video-grid { grid-template-columns: 1fr; }
 .imported-content > h2 { font-size: 1.7rem; }
 .live-service { padding: 22px; }
 .document-link { padding: 16px; gap: 14px; }
 .home-extra-grid { gap: 24px; }
}
.legacy-material { border: 1px solid var(--line); border-radius: 9px; padding: 22px; margin-top: 35px; }
.legacy-material > summary { cursor: pointer; font-weight: 600; color: var(--teal); padding: 4px; }
.legacy-material h2 { font-size: 1.7rem; margin-block: 25px 16px; }
.legacy-material p { color: var(--muted); margin-block: 15px; }
.unavailable-resource { max-width: 850px; padding: 18px 22px; margin-block: 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); }
.table-scroll caption { text-align: left; padding: 16px; color: var(--ink); font-weight: 600; }
.form-preview { display: grid; gap: 1.1rem; margin: 1.3rem 0; }
.form-preview fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.form-preview legend, .form-preview label { display: block; color: var(--ink); font-weight: 600; margin-bottom: .35rem; }
.form-preview .wpforms-field, .form-preview .elementor-field-group { margin-bottom: 1rem; }
.form-preview .wpforms-field-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.form-preview .wpforms-field-row-block { flex: 1 1 190px; }
.form-preview .wpforms-field-sublabel { font-size: .8125rem; font-weight: 400; color: var(--muted); }
.form-preview input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
.form-preview select, .form-preview textarea { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #9ab3ab; border-radius: 5px; background: white; color: var(--ink); padding: .6rem .75rem; font: inherit; }
.form-preview textarea { min-height: 110px; resize: vertical; }
.form-preview input[type="checkbox"], .form-preview input[type="radio"] { accent-color: var(--teal); margin-right: .5rem; }
.form-preview input:focus-visible, .form-preview select:focus-visible, .form-preview textarea:focus-visible { outline: 3px solid #a66c13; outline-offset: 2px; }
.form-preview .wpforms-field-label-inline, .form-preview .elementor-field-option label { display: inline; font-weight: 400; }
.form-preview .wpforms-field-description { font-size: .875rem; color: var(--muted); }
.form-note { font-size: .875rem; }
.photo-dialog { position: fixed; width: min(1100px, calc(100vw - 24px)); max-width: none; height: min(900px, calc(100dvh - 24px)); max-height: none; border: 0; border-radius: 9px; padding: 44px 16px 16px; background: #fff; box-shadow: 0 18px 65px #081c1acc; }
.photo-dialog::backdrop { background: #071b19d9; }
.photo-dialog img { display: block; width: 100%; height: 100%; object-fit: contain; }
.photo-close { position: absolute; top: 6px; right: 12px; min-width: 38px; min-height: 38px; border: 0; border-radius: 4px; background: var(--tint); color: var(--ink); font-size: 1.7rem; cursor: pointer; }
body:has(.photo-dialog[open]) { overflow: hidden; }
.newsletter-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); column-gap: 48px; align-items: start; padding-block: 38px 30px; border-bottom: 1px solid var(--line); }
.newsletter-preview h2 { grid-column: 1; grid-row: 1 / span 3; line-height: 1.2; }
.newsletter-intro { display: block; margin-bottom: 10px; color: var(--teal); font: 650 .75rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.newsletter-title { display: block; max-width: 480px; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.newsletter-preview .form-preview { grid-column: 2; grid-row: 1; margin: 0; }
.newsletter-preview .form-preview .elementor-field-group { margin: 0; }
.newsletter-preview p { grid-column: 2; grid-row: 2; margin-top: 8px; color: var(--muted); font-size: .8125rem; }
.newsletter-preview .text-link { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 9px; color: var(--teal); font-size: .875rem; font-weight: 600; }
.newsletter-preview .text-link:hover { text-decoration: underline; }
@media (max-width: 740px) {
  .newsletter-preview { display: block; padding-block: 30px; }
  .newsletter-preview h2 { margin-bottom: 22px; }
  .newsletter-preview .text-link { display: inline-block; }
}
