/* Inherit the active WordPress theme font. Only OMC components are styled. */
.omc-page-shell,
.omc-directory {
  --omc-primary: #187D47;
  --omc-primary-dark: #116537;
  --omc-ink: #263238;
  --omc-muted: #61716b;
  --omc-surface: #FFFFFF;
  --omc-soft: #F8FAF9;
  --omc-border: #E4EBE6;
  --omc-radius: 16px;
  font-family: inherit;
  color: var(--omc-ink);
  direction: rtl;
  text-align: right;
}
.omc-page-shell *, .omc-directory * { box-sizing: border-box; }
.omc-page-shell { background: var(--omc-soft); min-height: 65vh; }
.omc-page-inner { width: min(1180px, calc(100% - 36px)); margin-inline: auto; padding: clamp(34px, 5vw, 80px) 0; }
.omc-directory { width: 100%; max-width: 1180px; margin-inline: auto; }
.omc-directory a { text-decoration: none; }
.omc-section-header { margin: 0 0 34px; }
.omc-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--omc-primary); background: #EBF6EF; border: 1px solid #D9EDE0; border-radius: 999px; padding: 6px 13px; font-size: 0.83rem; font-weight: 650; margin-bottom: 14px; }
.omc-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.omc-section-header h1, .omc-section-header h2 { font-family: inherit; color: var(--omc-ink); font-weight: 750; letter-spacing: 0; line-height: 1.5; margin: 0 0 8px; font-size: clamp(1.75rem, 2.7vw, 2.4rem); }
.omc-section-header p { margin: 0; color: var(--omc-muted); line-height: 1.9; font-size: 0.98rem; }
.omc-person-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.omc-person-card { min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; padding: 32px 23px 28px; text-align: center; background: var(--omc-surface); border: 1px solid var(--omc-border); border-radius: var(--omc-radius); box-shadow: 0 4px 18px rgba(20, 55, 34, 0.035); transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease; scroll-margin-top: 105px; overflow: hidden; }
.omc-person-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(20, 55, 34, 0.095); border-color: #C7DED1; }
.omc-person-photo-wrap { width: 110px; height: 110px; flex: 0 0 110px; border-radius: 50%; padding: 5px; margin-bottom: 18px; border: 1px solid #E5EEE7; background: #F3F8F4; }
.omc-person-photo, .omc-person-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 50%; object-fit: cover; object-position: center top; overflow: hidden; }
.omc-person-placeholder { background: linear-gradient(145deg, #E6F3E9 0%, #D6EBDD 100%); color: var(--omc-primary); font-size: 2rem; font-weight: 700; }
.omc-person-info { min-width: 0; }
.omc-person-name { font-family: inherit; color: var(--omc-ink); font-size: 1.14rem; line-height: 1.65; font-weight: 750; margin: 0 0 8px; }
.omc-person-role { color: var(--omc-primary); font-size: 0.92rem; line-height: 1.7; font-weight: 650; margin: 0; }
.omc-person-bio { margin: 12px 0 0; color: var(--omc-muted); font-size: 0.87rem; line-height: 1.95; }
.omc-person-card--featured { border-color: #BBDAC6; background: linear-gradient(180deg, #F5FBF7 0%, #FFFFFF 62%); }
.omc-person-card--featured::before { content: ''; position: absolute; top: 0; right: 14%; left: 14%; height: 3px; border-radius: 0 0 8px 8px; background: var(--omc-primary); }
.omc-person-card--featured .omc-person-photo-wrap { width: 118px; height: 118px; flex-basis: 118px; border-color: #B5D6C1; }
.omc-featured-ribbon { position: absolute; top: 15px; right: 15px; color: var(--omc-primary); border: 1px solid #D2E9DA; background: #EDF7F0; border-radius: 999px; font-size: 0.72rem; padding: 4px 9px; }
.omc-empty { padding: 30px; border: 1px dashed #CDDCD1; background: var(--omc-soft); border-radius: var(--omc-radius); color: var(--omc-muted); line-height: 1.9; }
.omc-tabs { background: var(--omc-surface); border-radius: 18px; border: 1px solid var(--omc-border); box-shadow: 0 5px 24px rgba(20,55,34,.035); overflow: hidden; }
.omc-tab-scroller { overflow-x: auto; scrollbar-width: thin; background: var(--omc-soft); border-bottom: 1px solid var(--omc-border); }
.omc-tab-list { display: flex; align-items: center; gap: 8px; width: max-content; min-width: 100%; padding: 13px 17px; }
.omc-tab { appearance: none; flex: 0 0 auto; border: 1px solid transparent; background: transparent; color: #586660; font: inherit; font-size: .94rem; font-weight: 600; white-space: nowrap; cursor: pointer; border-radius: 12px; padding: 12px 19px; transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.omc-tab:hover { color: var(--omc-primary); background: #EAF3ED; }
.omc-tab.is-active, .omc-tab[aria-selected="true"] { background: var(--omc-primary); color: #FFFFFF; border-color: var(--omc-primary); box-shadow: 0 4px 12px rgba(24, 125, 71, .17); }
.omc-tab:focus-visible, .omc-link-button:focus-visible, .omc-back-link:focus-visible { outline: 2px solid var(--omc-primary); outline-offset: 3px; }
.omc-tab-panel { padding: clamp(20px, 3.2vw, 38px); }
.omc-tab-panel[hidden] { display: none !important; }
.omc-committee-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 23px; margin-bottom: 25px; border-bottom: 1px solid var(--omc-border); }
.omc-committee-topline h3 { font-family: inherit; font-size: 1.36rem; font-weight: 720; color: var(--omc-ink); margin: 0 0 5px; line-height: 1.5; }
.omc-committee-topline span { color: var(--omc-muted); font-size: .86rem; }
.omc-link-button { color: #FFFFFF !important; background: var(--omc-primary); border: 1px solid var(--omc-primary); padding: 10px 17px; border-radius: 12px; font-size: .88rem; font-weight: 650; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; transition: background 240ms ease, transform 240ms ease, box-shadow 240ms ease; }
.omc-link-button:hover { background: var(--omc-primary-dark); color: #FFFFFF !important; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(24,125,71,.14); }
.omc-committee-description { color: var(--omc-muted); font-size: .95rem; line-height: 2; margin: 0 0 27px; }
.omc-committee-description > :first-child, .omc-single-description > :first-child { margin-top: 0; }
.omc-committee-description > :last-child, .omc-single-description > :last-child { margin-bottom: 0; }
.omc-single-description { padding: 22px 26px; border-radius: var(--omc-radius); border: 1px solid var(--omc-border); background: #FFFFFF; color: var(--omc-muted); line-height: 2; margin-bottom: 28px; }
.omc-back-link { display: inline-flex; color: var(--omc-primary); font-size: .9rem; margin-bottom: 32px; font-weight: 650; transition: color 220ms ease; }
.omc-back-link:hover { color: var(--omc-primary-dark); }
@media (max-width: 900px) { .omc-person-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .omc-page-inner { width: min(100% - 28px, 1180px); padding-block: 35px; }
  .omc-section-header { margin-bottom: 24px; }
  .omc-person-grid { grid-template-columns: 1fr; gap: 14px; }
  .omc-person-card { padding: 25px 18px; }
  .omc-person-photo-wrap { width: 100px; height: 100px; flex-basis: 100px; }
  .omc-tab-list { padding: 10px 12px; gap: 5px; }
  .omc-tab { padding: 10px 15px; }
  .omc-tab-panel { padding: 18px 15px; }
  .omc-committee-topline { flex-direction: column; align-items: flex-start; gap: 14px; }
  .omc-link-button { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .omc-directory .omc-person-card, .omc-directory .omc-tab, .omc-directory .omc-link-button { transition: none; transform: none !important; }
}
