/* Meeting-first fellowship hub. Source detail pages retain their own styles. */
/* One meeting-ready announcement script, with nonmodal admin editing. */
.announcement-page { max-width: 860px; }
.announcement-page [hidden] { display: none !important; }
@media print { .announcement-fallback { display: none !important; } }
.announcement-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.announcement-copy { white-space: pre-wrap; }
.announcement-block { border-left: 4px solid var(--hub-teal); }
.announcement-block.has-grabber { position: relative; padding-left: 66px; }
.announcement-grabber { position: absolute; left: 8px; top: 18px; width: 44px; min-height: 48px; border: 1px solid #9bb7ab; border-radius: 8px; background: #eef5ed; color: #163c3a; font: 700 24px/1 system-ui, sans-serif; cursor: grab; touch-action: none; }
.announcement-grabber:active { cursor: grabbing; }
.announcement-block.is-dragging { opacity: .55; }
.announcement-block.drop-before { box-shadow: 0 -5px 0 #12665c; }
.announcement-block.drop-after { box-shadow: 0 5px 0 #12665c; }
.hub-wrap button.hub-button.hub-button-secondary { color: #163c3a !important; }
.announcement-block h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.announcement-image { display: block; max-width: 100%; height: auto; margin: 18px 0; }
.announcement-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.announcement-actions button:disabled { opacity: .5; cursor: default; }
.announcement-closing { margin-top: 30px !important; }
.announcement-expired { border-style: dashed; }
.announcement-dialog {
  position: fixed;
  inset: 20px 20px 20px auto;
  width: min(560px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 40px);
  height: fit-content;
  margin: 0;
  padding: 26px;
  box-sizing: border-box;
  overflow-y: auto;
  background: #fff;
  color: #163c3a;
  border: 2px solid #12665c;
  border-radius: 16px;
  box-shadow: 0 12px 50px #163c3a40;
  z-index: 1000;
}
.announcement-dialog:not([open]) { display: none; }
.announcement-editor { display: grid; gap: 16px; }
.announcement-editor textarea {
  width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
  resize: vertical; padding: 12px; border: 1px solid #a6bdb3;
  border-radius: 8px; background: #fbfcf9; color: #163c3a; font: inherit;
}
.announcement-editor input[type=file] { height: auto; }
.announcement-editor textarea:focus-visible { outline: 3px solid #a6660c; outline-offset: 3px; }
.announcement-editor [hidden] { display: none; }
@media print {
  .announcement-dialog, .announcement-admin, .announcement-actions,
  .announcement-source, .announcement-expired, [data-announcement-status] { display: none !important; }
  .announcement-page .hub-hero { padding: 0 0 10px; margin-bottom: 20px; }
  .announcement-list { display: block; }
  .announcement-block { margin-bottom: 18px; padding: 16px; }
}

:root {
  --hub-ink: #163c3a;
  --hub-teal: #12665c;
  --hub-soft: #e9f3eb;
  --hub-paper: #f8f8f1;
  --hub-line: #cddbd4;
  --hub-gold: #f4d97b;
  --nav-text: #163c3a;
  --nav-font: system-ui, sans-serif;
  --nav-size: 15px;
  --nav-weight: 650;
  --header-accent: #12665c;
  --menu-bg: #fff;
  --menu-text: #163c3a
}

body:has(.hub-wrap) {
  background: var(--hub-paper);
  color: var(--hub-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65
}

.hub-wrap {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 70px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--hub-ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere
}

.hub-wrap * {
  box-sizing: border-box
}

.hub-wrap h1,
.hub-wrap h2,
.hub-wrap h3 {
  font-family: inherit;
  color: var(--hub-ink);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.14;
  margin: 0 0 18px
}

.hub-wrap h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  max-width: 850px
}

.hub-wrap h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem)
}

.hub-wrap h3 {
  font-size: 1.28rem;
  letter-spacing: -.02em
}

.hub-wrap p {
  margin: 0 0 18px
}

.hub-wrap a {
  color: #105f55;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px
}

.hub-wrap a:hover {
  text-decoration-thickness: 2px
}

.hub-wrap a:focus-visible,
.hub-wrap button:focus-visible,
.hub-wrap input:focus-visible,
.hub-wrap select:focus-visible {
  outline: 3px solid #a6660c;
  outline-offset: 4px
}

.hub-hero {
  padding: 36px 0 32px;
  border-bottom: 1px solid var(--hub-line);
  margin-bottom: 34px
}

.hub-eyebrow {
  font-size: .76rem !important;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #366b62 !important;
  margin-bottom: 18px !important
}

.hub-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 740px
}

.hub-meta {
  font-size: .86rem;
  color: #48635e;
  line-height: 1.6
}

.hub-section {
  margin-top: 38px;
  margin-bottom: 32px
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px
}

.hub-grid>* {
  min-width: 0
}

.hub-card {
  background: #fff;
  border: 1px solid var(--hub-line);
  border-radius: 18px;
  padding: 27px;
  box-shadow: 0 3px 0 #163c3a05;
  min-width: 0
}

.hub-wrap a.hub-card {
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
  display: block
}

.hub-wrap a.hub-card:hover {
  border-color: var(--hub-teal);
  background: #edf4ec
}

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

.hub-card .hub-notice {
  padding: 13px;
  font-size: .88rem
}

.hub-button,
.hub-wrap button.hub-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 19px;
  background: var(--hub-teal);
  border: 1px solid var(--hub-teal);
  border-radius: 9px;
  color: #fff !important;
  font: 700 .94rem/1.4 system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  white-space: normal;
  max-width: 100%;
  text-align: center
}

.hub-button:hover {
  background: #0d4e47
}

.hub-button-secondary {
  background: transparent !important;
  color: var(--hub-ink) !important;
  border-color: #b0c5bd
}

.hub-wrap .hub-button-secondary {
  color: var(--hub-ink) !important
}

.hub-button-secondary:hover {
  background: var(--hub-soft) !important
}

.hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0;
  align-items: center
}

.hub-tag {
  display: inline-block;
  border: 1px solid #cadbd1;
  padding: 6px 13px;
  border-radius: 100px;
  font-size: .82rem;
  line-height: 1.55;
  background: #eef5ed;
  color: #24584f;
  font-weight: 600
}

.hub-wrap a.hub-tag {
  text-decoration: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center
}

.hub-tag[aria-current=true],
.hub-wrap a.hub-tag:hover {
  background: var(--hub-ink);
  color: white;
  border-color: var(--hub-ink)
}

.hub-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  padding: 24px;
  border: 1px solid var(--hub-line);
  border-radius: 16px;
  background: #fff;
  margin: 24px 0
}

.hub-form>.hub-field {
  flex: 1 1 180px
}

.hub-form>.hub-grid {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px
}

.hub-form>p {
  width: 100%;
  margin-bottom: 0
}

.hub-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.hub-field label {
  font-weight: 650;
  font-size: .84rem;
  line-height: 1.45
}

.hub-field input,
.hub-field select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 49px;
  padding: 10px 12px;
  border: 1px solid #a6bdb3;
  border-radius: 8px;
  background: #fbfcf9;
  color: #163c3a;
  font: inherit;
  font-size: .95rem
}

.hub-notice {
  padding: 18px 22px;
  background: #eff2e6;
  border: 1px solid #d7ddc4;
  border-left: 4px solid #6a8852;
  border-radius: 10px;
  font-size: .93rem;
  margin: 22px 0
}

.hub-notice p:last-child {
  margin-bottom: 0
}

.hub-results {
  scroll-margin-top: 24px
}

.hub-wrap ul {
  padding-left: 22px
}

.hub-wrap li {
  margin-bottom: 9px
}

.hub-wrap iframe {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--hub-line);
  border-radius: 12px
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(280px, 1fr);
  gap: 32px
}

.home-main,
.home-side {
  min-width: 0
}

.home-main .hub-hero {
  background: var(--hub-soft);
  border: 1px solid #d0dfd2;
  border-radius: 24px;
  padding: 38px 34px;
  margin-bottom: 24px
}

.home-main .hub-hero h1 {
  font-size: clamp(2.7rem, 4.5vw, 4.15rem);
  max-width: 650px
}

.home-main .hub-form {
  padding: 0;
  border: 0;
  background: transparent;
  gap: 12px
}

.home-main .hub-form>.hub-field:first-child {
  flex-basis: 100%
}

.home-main .hub-form>.hub-button {
  width: 100%
}

.home-main .hub-card.hub-section {
  background: var(--hub-gold);
  border-color: #e0c66c;
  margin-top: 0
}

.home-side {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.home-side .hub-card {
  padding: 26px
}

.home-side h2 {
  font-size: 1.35rem
}

.home-side .hub-card:first-child {
  border-top: 5px solid #12665c
}

.home-side .hub-card:nth-child(2) {
  border-top: 5px solid #b68030
}

.home-side .hub-card:nth-child(3) {
  background: #edf1e9
}

.home-side .hub-meta {
  font-size: .8rem
}

.home-side .hub-eyebrow {
  font-size: .68rem !important
}

.hub-next-title {
  font-weight: 750;
  font-size: 1.12rem;
  line-height: 1.4;
  margin-bottom: 10px !important
}

.hub-meeting-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px
}

.hub-meeting-preview .hub-card {
  padding: 23px
}

.hub-meeting-preview h3 {
  font-size: 1.18rem
}

/* Keep the imported header's structure, with the simplified site menu. */
body:has(.hub-wrap) #atIdViewHeader {
  position: relative;
  z-index: 30;
  background: #fff;
  color: #163c3a;
  border-bottom: 1px solid var(--hub-line);
  font-family: system-ui, sans-serif
}

body:has(.hub-wrap) #atIdViewHeader .vB4mjb {
  background: #163c3a !important;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 9px 24px;
  min-height: 42px;
  font-size: 12px;
  position: static;
  height: auto
}

body:has(.hub-wrap) #atIdViewHeader .vB4mjb p {
  margin: 0;
  color: #fff !important;
  font: 500 12px/1.6 system-ui, sans-serif
}

body:has(.hub-wrap) #atIdViewHeader .vB4mjb a,
body:has(.hub-wrap) #atIdViewHeader .vB4mjb span {
  color: #fff !important;
  font: 650 12px/1.6 system-ui, sans-serif
}

body:has(.hub-wrap) #atIdViewHeader .K5Zlne,
body:has(.hub-wrap) #atIdViewHeader .VLoccc,
body:has(.hub-wrap) #atIdViewHeader .Pvc6xe {
  position: static !important;
  height: auto;
  min-height: 0;
  background: #fff !important;
  transform: none;
  box-shadow: none;
  width: auto
}

body:has(.hub-wrap) #atIdViewHeader .Pvc6xe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  max-width: 1160px;
  min-width: 0;
  margin: auto;
  min-height: 92px
}

body:has(.hub-wrap) #atIdViewHeader .TlfmSc {
  position: static;
  flex: 0 1 240px;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
  animation: none
}

body:has(.hub-wrap) #atIdViewHeader .GAuSPc {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: auto;
  padding: 0;
  color: #163c3a;
  animation: none
}

body:has(.hub-wrap) #atIdViewHeader .lzy1Td {
  position: static;
  width: 210px;
  height: auto;
  max-height: 65px;
  object-fit: contain;
  object-position: left;
  animation: none
}

body:has(.hub-wrap) #atIdViewHeader .RBEWZc,
body:has(.hub-wrap) #atIdViewHeader .zDUgLc {
  display: none
}

body:has(.hub-wrap) #atIdViewHeader .site-nav {
  color: #163c3a;
  position: static;
  font: 650 14px/1.5 system-ui, sans-serif
}

body:has(.hub-wrap) #atIdViewHeader .nav-link {
  padding: 12px 11px;
  color: #163c3a;
  letter-spacing: 0;
  font: 650 14px/1.5 system-ui, sans-serif;
  text-transform: none
}

body:has(.hub-wrap) #atIdViewHeader .nav-link[aria-current=page] {
  background: #edf4ec;
  border-radius: 8px;
  box-shadow: none
}

body:has(.hub-wrap) footer {
  background: #e9eee5;
  padding-top: 20px;
  border-top: 1px solid var(--hub-line)
}

.hub-footer-nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font: 600 14px/1.6 system-ui, sans-serif
}

.hub-footer-nav a {
  color: #164e45;
  text-underline-offset: 4px
}

@media(max-width:1208px) {
  body:has(.hub-wrap) #atIdViewHeader .Pvc6xe {
    margin: 0 24px
  }
}

@media(max-width:1000px) {
  .home-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
    gap: 20px
  }

  .home-main .hub-hero {
    padding: 28px 24px
  }

  .hub-form>.hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:900px) {
  body:has(.hub-wrap) #atIdViewHeader .site-nav.is-open {
    position: fixed;
    background: white;
    inset: 0 auto 0 0;
    width: min(320px, 85vw);
    padding: 30px 15px
  }

  body:has(.hub-wrap) #atIdViewHeader .Pvc6xe {
    min-height: 86px;
    padding: 12px 0
  }

  body:has(.hub-wrap) #atIdViewHeader .TlfmSc {
    flex-basis: 220px
  }

  body:has(.hub-wrap) #atIdViewHeader .nav-toggle {
    flex-shrink: 0
  }
}

@media(max-width:760px) {
  .hub-wrap {
    width: calc(100% - 32px);
    padding: 18px 0 40px
  }

  .home-grid {
    display: block
  }

  .home-side {
    margin-top: 22px
  }

  .hub-grid,
  .hub-meeting-preview {
    grid-template-columns: 1fr
  }

  .home-main .hub-hero {
    padding: 28px 23px
  }

  .hub-hero {
    padding: 26px 0 20px
  }

  .hub-wrap h1 {
    font-size: 2.55rem
  }

  .hub-lead {
    font-size: 1.08rem
  }

  .hub-card {
    padding: 23px
  }

  .hub-form {
    padding: 19px
  }

  .hub-form>.hub-field {
    flex-basis: 100%
  }

  .hub-form>.hub-grid {
    grid-template-columns: 1fr
  }

  .hub-form>.hub-button {
    width: 100%
  }

  .hub-section {
    margin-top: 28px
  }

  body:has(.hub-wrap) #atIdViewHeader .vB4mjb {
    gap: 6px 18px;
    flex-wrap: wrap;
    padding: 9px 16px
  }

  body:has(.hub-wrap) #atIdViewHeader .Pvc6xe {
    margin: 0 16px
  }

  body:has(.hub-wrap) #atIdViewHeader .lzy1Td {
    width: 200px
  }
}

@media print {

  #atIdViewHeader,
  footer,
  .hub-footer-nav,
  .hub-form,
  .hub-tags,
  [data-print] {
    display: none !important
  }

  .hub-wrap {
    width: 100%;
    padding: 0
  }

  .hub-card {
    break-inside: avoid;
    box-shadow: none
  }

  .hub-grid,
  .home-grid {
    display: block
  }

  .hub-button {
    background: none !important;
    color: #000 !important;
    border: 0
  }

  .hub-wrap {
    color: #000
  }

  .hub-wrap h1,
  .hub-wrap h2,
  .hub-wrap h3 {
    color: #000
  }
}

@media(prefers-reduced-motion:no-preference) {

  .hub-button,
  .hub-tag,
  .hub-wrap a.hub-card {
    transition: background-color .18s, border-color .18s, box-shadow .18s
  }

  .hub-wrap a.hub-card:hover {
    box-shadow: 0 5px 16px #163c3a0d
  }
}
