@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cinzel+Decorative:wght@400;700&family=Fleur+De+Leah&family=Merienda:wght@400;600&family=Noto+Sans+Hebrew:wght@400;600&family=Noto+Serif+Hebrew:wght@400;600&family=Quicksand:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap');
:root{--navy:#021632;--blue:#033267;--antique:#9B6309;--gold:#C47B08;--parchment:#EDE0C6;--stone:#E9E1D3;--bronze:#8B5512;--walnut:#402105}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--parchment);color:var(--navy);font:500 1.05rem/1.65 Quicksand,Arial,sans-serif}a{color:var(--blue)}a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}h1,h2{font-family:'Source Serif 4',Georgia,serif;line-height:1.17;margin:.2em 0 .5em}h1{font-size:clamp(2.25rem,5vw,4.1rem)}h2{font-size:clamp(1.7rem,3vw,2.6rem)}h3{font-size:1.3rem;line-height:1.3}p{max-width:67ch}.eyebrow,.chapter{font-family:Cinzel,Georgia,serif;font-weight:600;letter-spacing:.09em;text-transform:uppercase;font-size:.77rem;color:var(--bronze)}.ceremonial{font-family:'Cinzel Decorative',Georgia,serif}.skip{position:absolute;top:-100px;left:1rem;background:white;padding:1rem;z-index:20}.skip:focus{top:1rem}.site-header{background:var(--navy);color:var(--parchment);position:relative}.header-inner{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1.2rem;padding:1rem 1.3rem;flex-wrap:wrap}.brand{color:var(--parchment);text-decoration:none;display:flex;gap:.8rem;align-items:center;font-family:'Source Serif 4',Georgia,serif;font-size:1.35rem;font-weight:600}.brand-mark{display:grid;place-items:center;width:2.8rem;height:2.8rem;border:1px solid var(--gold);border-radius:50%;color:var(--gold);font-family:Cinzel,serif}nav{display:flex;gap:.9rem;flex-wrap:wrap}nav a{color:var(--parchment);text-decoration:none;font-size:.91rem;font-weight:700}nav a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px}.container{max-width:1120px;margin:auto;padding:0 1.3rem}.hero{padding:clamp(3rem,7vw,6rem) 0;background:linear-gradient(135deg,var(--parchment),var(--stone))}.hero-inner{display:grid;grid-template-columns:1.25fr .75fr;gap:3rem;align-items:center}.hero-art{min-height:280px;border:1px solid transparent;border-radius:6px;display:grid;place-items:center;background:transparent;padding:2rem;text-align:center}.hero-art span{font:600 2rem/1.3 'Source Serif 4',Georgia,serif}.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.6rem}.button{display:inline-block;padding:.75rem 1.25rem;border-radius:4px;text-decoration:none;font-weight:700;background:var(--navy);color:var(--parchment);border:2px solid var(--navy)}.button.secondary{background:transparent;color:var(--navy)}.button:hover{filter:brightness(1.15)}section.content{padding:3.3rem 0}section.alt{background:var(--stone)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:1.5rem;border:1px solid var(--bronze);background:var(--stone);border-radius:5px}.card h3{margin-top:.3rem}.muted{color:var(--blue)}.notice{padding:1rem 1.2rem;border-left:4px solid var(--antique);background:var(--stone)}.tag{font-family:Cinzel,serif;font-size:.72rem;color:var(--bronze);letter-spacing:.06em}.footer{background:var(--navy);color:var(--parchment);padding:2.5rem 0}.footer a{color:var(--parchment)}.footer p{font-size:.9rem}.small{font-size:.9rem}.study-panel{border-top:3px solid var(--antique);padding-top:1.3rem}.field{display:grid;gap:.3rem;margin:1rem 0}input,textarea{width:100%;font:inherit;padding:.75rem;background:var(--parchment);border:1px solid var(--bronze);border-radius:4px}textarea{min-height:130px}.form-button{cursor:pointer;font:700 1rem Quicksand,sans-serif}.breadcrumbs{font-size:.85rem;padding:1rem 0}.content-narrow{max-width:790px}.status{font-size:.84rem;color:var(--bronze)}.placeholder{background:var(--stone);padding:1rem;border-left:3px solid var(--antique)}[lang=he]{font-family:'Noto Serif Hebrew',serif;direction:rtl}@media(max-width:760px){.hero-inner,.grid,.grid.two{grid-template-columns:1fr}.hero-art{min-height:160px}.header-inner{align-items:flex-start}nav{gap:.65rem}nav a{font-size:.85rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* YTM brand presentation — one CSS owner per role. */
.hero-logo {
  width: min(13rem, 65%);
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}
.hero-logo {
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.font-script { font-family: 'Fleur De Leah', cursive; }
.font-expressive { font-family: Merienda, cursive; }
@media (max-width: 760px) {
}

/* Transparent wordless emblem from approved artwork: no image-level mask. */
.brand-emblem { width: 4rem; height: auto; max-height: 3.4rem; object-fit: contain; flex-shrink: 0; }
.footer-identity { display: flex; align-items: center; gap: .8rem; }
.footer-emblem { width: 4.875rem; height: auto; object-fit: contain; flex-shrink: 0; }

/* YTM beliefs accordion interactions v6 — START */
.ytm-beliefs { margin-block: 1.25rem; }
.ytm-belief { border: 0; }
.ytm-belief:first-child { border-top: 0; }
.ytm-belief > summary {
  display: flex; align-items: center; justify-content: flex-start; gap: 1rem;
  list-style: none; cursor: pointer !important; user-select: none;
  -webkit-user-select: none;
  padding: 1rem .85rem; border-radius: 4px;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}
/* On some themes, nested strong text inherits the text-selection cursor. Override that explicitly. */
.ytm-belief > summary, .ytm-belief > summary * { cursor: pointer !important; }
.ytm-belief > summary::-webkit-details-marker { display: none; }
.ytm-belief > summary::before {
  content: ''; flex: 0 0 .6rem; width: .6rem; height: .6rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-left: .35rem;
  transition: transform 180ms ease;
}
.ytm-belief > summary:hover {
  background-color: #d9c7a6;
  color: var(--blue);
  box-shadow: inset 3px 0 0 var(--gold);
}
.ytm-belief > summary:hover::after { transform: translateY(3px) rotate(45deg); }
.ytm-belief > summary:active { transform: scale(.992); background-color: #cfb891; }
.ytm-belief > summary:focus-visible { outline: 3px solid var(--antique); outline-offset: 2px; }
.ytm-belief[open] > summary { color: var(--blue); background-color: var(--stone); }
.ytm-belief[open] > summary:hover { background-color: #d9c7a6; }
.ytm-belief[open] > summary::before { transform: rotate(225deg); }
.ytm-belief[open] > summary:hover::after { transform: translateY(-3px) rotate(225deg); }
.ytm-belief-body { padding: .1rem .85rem 1rem; animation: ytm-belief-reveal 210ms ease-out; }
@keyframes ytm-belief-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ytm-belief > summary, .ytm-belief > summary::before { transition: none; }
  .ytm-belief-body { animation: none; }
}
/* YTM beliefs accordion interactions v6 — END */
/* YTM branding and About separation v7 — START */
/* The displayed ministry name only; not body mentions, headings, or the site navigation. */
.site-header a.brand > span:last-child,
.footer > .container > strong,
.hero-art .chapter {
  font-family: 'Cinzel Decorative', Cinzel, Georgia, serif;
  font-weight: 700;
}
/* Override the existing header's inline font on MINISTRIES, without altering text. */
.site-header a.brand > span:last-child > small {
  font-family: 'Cinzel Decorative', Cinzel, Georgia, serif !important;
  font-weight: 700;
  letter-spacing: .11em;
}
/* Four existing About sections, not four new content sections. */
.ytm-about-main {
  margin-block: 0 2rem;
  padding: .15rem 0 .25rem clamp(1rem, 2.8vw, 1.65rem);
  border: 0;
  border-left: 3px solid var(--antique);
  border-radius: 0;
  background: transparent;
}
.ytm-about-main-trigger > h2 { margin: 0; }
.ytm-about-main-body > :last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .site-header a.brand > span:last-child { font-size: 1.03rem; }
  .ytm-about-main { margin-bottom: 1.5rem; padding: .4rem 0 .4rem 1rem; }
}
/* YTM branding and About separation v7 — END */

/* YTM main accordion styles v11 START */
.ytm-about-main-group > .ytm-about-main {
  display: block;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: .3rem 0 .45rem clamp(1rem, 2.8vw, 1.65rem);
  border: 0;
  border-left: 3px solid var(--antique);
  border-radius: 0;
  background: transparent;
}
.ytm-about-main > summary {
  display: flex; align-items: center; gap: .85rem;
  list-style: none; cursor: pointer; user-select: none;
  border-radius: 3px; padding: .6rem .75rem .6rem .2rem;
  transition: background-color 180ms ease, color 180ms ease, transform 120ms ease;
}
.ytm-about-main > summary, .ytm-about-main > summary * { cursor: pointer; }
.ytm-about-main > summary::-webkit-details-marker { display: none; }
.ytm-about-main > summary::before {
  content: ''; display: block; flex: 0 0 .55rem; width: .55rem; height: .55rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 180ms ease;
}
.ytm-about-main > summary:hover { background-color: #d9c7a6; color: var(--blue); }
.ytm-about-main > summary:active { transform: scale(.994); }
.ytm-about-main > summary:focus-visible { outline: 3px solid var(--antique); outline-offset: 3px; }
.ytm-about-main[open] > summary::before { transform: rotate(225deg); }
.ytm-about-main > summary > h2 { margin: 0; }
.ytm-about-main-body { padding: .75rem .75rem .5rem 1.55rem; }
.ytm-about-main-body > :last-child { margin-bottom: 0; }
/* Belief subtitles keep their previously approved font and remain unboxed. */
.ytm-about-main .ytm-belief > summary::before { order: -1; }
@media (max-width: 760px) {
  .ytm-about-main-group > .ytm-about-main { margin-bottom: 1.5rem; padding-left: 1rem; }
  .ytm-about-main-body { padding-left: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ytm-about-main > summary, .ytm-about-main > summary::before { transition: none; }
}
/* YTM main accordion styles v11 END */

/* YTM SkillAdapt wordmark v14 START */
/* Text only: Skill Regular, Adapt SemiBold, close tracking, antique gold. */
.skilladapt-wordmark {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.037em;
  color: #9B6309;
  white-space: nowrap;
}
.skilladapt-wordmark__skill { font-weight: 400; }
.skilladapt-wordmark__adapt { font-weight: 600; }
/* YTM SkillAdapt wordmark v14 END */
