.orv-member-menu { position:relative; flex:none; }
.opa-public .orv-member-menu .orv-more { min-width:44px; min-height:44px; padding:0; font:700 1.65rem/1 system-ui; }
#orv-options { position:absolute; z-index:50; display:grid; gap:.25rem; inset-inline-end:0; top:calc(100% + .25rem); min-width:10.5rem; padding:.3rem; background:white; border:1px solid #ccd6dc; border-radius:.65rem; box-shadow:0 5px 18px #16354826; }
#orv-options[hidden], .orv-page[hidden] { display:none; }
#orv-options button { white-space:nowrap; text-align:start; }
html:has(.orv-member-dialog[open]) { overflow:hidden; }
dialog.orv-member-dialog[open] { display:flex; flex-direction:column; position:fixed; z-index:1000000; inset:0; width:100%; max-width:none; height:100%; height:100dvh; max-height:none; box-sizing:border-box; padding:0 0 env(safe-area-inset-bottom); margin:0; border:0; background:#fff; color:#17354a; overscroll-behavior:contain; font:1rem/1.5 system-ui,sans-serif; }
.orv-page-header, .orv-page-nav { display:flex; align-items:center; gap:.35rem; padding:.4rem .65rem; border-bottom:1px solid #ccd6dc; background:#f5f8f6; }
.orv-page-header { padding-top:max(.4rem,env(safe-area-inset-top)); gap:.75rem; }
.orv-page-header h2 { margin:0; padding:0; font:700 clamp(1.05rem,4vw,1.4rem)/1.25 system-ui; color:inherit; }
.orv-member-dialog button { min-height:44px; padding:.4rem .55rem; border:1px solid #ccd6dc; border-radius:.6rem; background:white; color:#17354a; font:600 .93rem/1.2 system-ui; text-transform:none; box-shadow:none; cursor:pointer; }
.orv-page-nav { overflow-x:auto; }
.orv-page-nav button { flex:1 0 auto; white-space:nowrap; }
.orv-page-nav button[aria-current="page"] { color:#fff; background:#216336; border-color:#216336; }
.orv-page { flex:1; min-height:0; overflow:auto; }
.orv-page-text { box-sizing:border-box; width:100%; max-width:54rem; margin:0 auto; padding:1rem; }
.orv-page-text h3 { margin:0 0 .65rem; font:700 1.25rem/1.25 system-ui; }
.orv-page-text a { color:#216336; text-decoration:underline; }
.orv-page-text li { margin-block:.45rem; }
.orv-page iframe { display:block; width:100%; height:100%; max-width:none; border:0; margin:0; }
.orv-courses-poster { display:block; width:100%; height:auto; border:1px solid #ccd6dc; border-radius:.5rem; }

/* Keep the in-app controls readable regardless of the WordPress theme. */
dialog.orv-member-dialog { --orv-ink:#18382a; --orv-green:#225b3d; --orv-line:#d8e5db; }
dialog.orv-member-dialog .orv-page-header {
  container-type:inline-size;
  flex-wrap:wrap;
  gap:.35rem .8rem;
  padding-inline:max(.8rem, env(safe-area-inset-left));
  background:#173e2d;
  color:white;
  border:0;
}
dialog.orv-member-dialog .orv-page-header h2 {
  color:white !important;
  font-size:clamp(1.15rem, 5.2cqi, 1.55rem);
}
dialog.orv-member-dialog .orv-back {
  background:#28553f !important;
  color:white !important;
  border:1px solid #638471;
  font-size:clamp(1rem, 4.5cqi, 1.3rem);
}
dialog.orv-member-dialog .orv-page-nav {
  display:grid;
  container-type:inline-size;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:stretch;
  gap:.25rem;
  padding:.45rem .55rem;
  overflow:visible;
  background:#edf4ee;
  border-color:var(--orv-line);
}
dialog.orv-member-dialog .orv-page-nav button {
  min-width:0;
  min-height:44px;
  height:auto;
  padding:.28rem .15rem;
  background:#fff !important;
  color:var(--orv-ink) !important;
  border:1px solid var(--orv-line);
  border-radius:.65rem;
  white-space:normal;
  font:650 .95rem/1.2 system-ui,sans-serif;
  font-size:clamp(.72rem, 3.3cqi, 1.15rem);
}
dialog.orv-member-dialog .orv-page-nav button[aria-current="page"] {
  background:var(--orv-green) !important;
  color:#fff !important;
  border-color:var(--orv-green);
}
.orv-member-dialog :is(button,a):focus-visible {
  outline:3px solid #a87c24;
  outline-offset:-2px;
}
.orv-member-dialog .orv-page-header,
.orv-member-dialog [data-page="hours"],
.orv-member-dialog [data-page="courses"] {
  touch-action:pan-y pinch-zoom;
}
.opa-public .orv-member-menu .orv-more,
.opa-public #orv-options button {
  background:#fff !important;
  color:#18382a !important;
}
.opa-public #orv-options button:hover,
.opa-public #orv-options button:focus-visible { background:#e8f2eb !important; }
#orv-options:not([hidden]) { animation:orv-menu-open 160ms ease-out; }
@keyframes orv-menu-open {
  from { opacity:0; transform:translateY(-4px); }
  to { opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion:reduce) {
  #orv-options:not([hidden]) { animation:none; }
}
.orv-member-dialog .orv-hours-page {
  max-width:42rem;
  padding:clamp(.8rem,4vw,1.5rem);
  color:var(--orv-ink);
}
.orv-hours-heading {
  padding:clamp(1.2rem,6vw,2.4rem);
  border-radius:1.2rem;
  background:linear-gradient(135deg,#173e2d,#2c6949);
  color:white;
}
.orv-member-dialog .orv-hours-heading h3 {
  margin:0 0 .4rem;
  color:white !important;
  font:750 clamp(1.7825rem,6.9vw,2.7025rem)/1.12 system-ui,sans-serif;
}
.orv-hours-heading address { margin:0; color:#f3faf4; font-style:normal; }
.orv-hours-card {
  margin-top:1rem;
  padding:clamp(.8rem,4vw,1.35rem);
  border:1px solid var(--orv-line);
  border-radius:1rem;
  background:#f7faf7;
}
.orv-member-dialog .orv-hours-card h4 { margin:0 0 .5rem; color:var(--orv-ink); font:700 1.518rem/1.25 system-ui,sans-serif; }
.orv-hours { margin:0; padding:0; list-style:none; }
.orv-hours-card .orv-hours li {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:.25rem .7rem;
  margin:0;
  padding:.65rem 0;
  border-top:1px solid var(--orv-line);
}
.orv-hours li strong { color:var(--orv-green); white-space:nowrap; }
.orv-hours-links { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1rem; }
.orv-hours-links a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:.25rem .75rem;
  border:1px solid var(--orv-line);
  border-radius:.65rem;
  background:#edf4ee;
  font-weight:650;
  text-decoration:none;
}

.orv-member-dialog .orv-page-text {
  font-size:clamp(1rem, .96rem + .3vw, 1.125rem);
  line-height:1.55;
  scrollbar-gutter:stable;
}
.orv-member-dialog .orv-page-text h3 { font-size:clamp(1.25rem, 4.6vw, 1.65rem); }
.orv-member-dialog .orv-page-text.orv-hours-page { font-size:clamp(1.38rem, 1.3248rem + .414vw, 1.5525rem); }
.orv-member-dialog .orv-hours-heading h3 { font-size:clamp(1.7825rem,6.9vw,2.7025rem); }
.orv-member-dialog [data-page="courses"] { overflow-y:scroll; }
.orv-course-index {
  position:sticky;
  top:0;
  z-index:1;
  display:grid;
  gap:.25rem;
  padding:.55rem .7rem;
  margin:1rem 0 .75rem;
  background:#edf4ee;
  border:1px solid var(--orv-line);
  border-radius:.75rem;
}
.orv-member-dialog :is(.orv-course-index,.orv-contact-form) label { color:#18382a; font-weight:650; }
.orv-course-card {
  scroll-margin-block-start:7.5rem;
  padding:.8rem 1rem;
  margin-block-end:.65rem;
  border:1px solid var(--orv-line);
  border-inline-start:4px solid #378052;
  border-radius:.8rem;
  background:#f8fbf8;
}
.orv-member-dialog .orv-course-card h4 {
  margin:0;
  font:700 1.15rem/1.25 system-ui,sans-serif;
  color:#225b3d;
}
.orv-course-card p { margin:.2rem 0 .45rem; color:#465a4c; }
.orv-course-card ul { padding-inline-start:1.15em; margin:0; }
.orv-course-card li { margin:.2rem 0; }
.orv-member-dialog .orv-contact-page { max-width:42rem; touch-action:pan-y pinch-zoom; }
.orv-contact-form { display:grid; gap:.8rem; }
.orv-member-dialog :is(.orv-course-index,.orv-contact-form) :is(input:not([type="checkbox"]),select,textarea) {
  display:block;
  width:100%;
  box-sizing:border-box;
  min-height:44px;
  padding:.5rem .65rem;
  border:1px solid #879f8d;
  border-radius:.55rem;
  background:#fff;
  color:#18382a;
  font:inherit;
}
.orv-contact-form label :is(input:not([type="checkbox"]),select,textarea) { margin-top:.22rem; }
.orv-contact-form textarea {
  resize:vertical;
  height:calc((5lh + 1rem + 2px) * .7);
}
.orv-contact-form .orv-contact-captcha-invisible { position:absolute; }
#orv-contact-language { margin-top:-.55rem; }
.orv-contact-form .orv-contact-consent { display:flex; gap:.5rem; align-items:flex-start; font-weight:500; }
.orv-contact-consent input { width:1.1rem; height:1.1rem; margin:.22rem 0 0; flex:none; accent-color:#225b3d; }
.orv-contact-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.orv-contact-form details { padding:.5rem .7rem; border-radius:.55rem; background:#edf4ee; }
.orv-contact-form details p { margin:.45rem 0 0; }
.orv-contact-form summary { cursor:pointer; font-weight:650; }
dialog.orv-member-dialog .orv-contact-send { background:#225b3d !important; color:white !important; }
.orv-contact-send:disabled { opacity:.6; }
.orv-contact-form [role="status"] { margin:0; }
.orv-contact-form [role="status"]:empty { display:none; }

.opa-public .orvap-reader-header.orv-main-header {
  width:100%;
  gap:.3rem;
}
.opa-public .orv-main-header .orvap-reader-logo {
  flex:0 0 clamp(2rem,10vw,3.25rem);
  min-width:0;
}
.opa-public .orv-main-header .orvap-reader-logo img { height:2.8rem !important; }
.opa-public .orvap-reader-header.orv-main-header nav {
  display:grid;
  container-type:inline-size;
  grid-auto-flow:column;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.22fr);
  gap:.2rem;
  padding:.18rem;
  background:#edf5ef;
  border-color:#d9e8de;
  border-radius:.7rem;
}
.opa-public .orvap-reader-header.orv-main-header nav button {
  min-width:0;
  min-height:44px;
  height:auto;
  padding:.25rem .1rem;
  font:700 1rem/1.1 system-ui,sans-serif;
  font-size:clamp(.9rem, 6.5cqi, 1.4rem);
  white-space:normal;
  overflow-wrap:anywhere;
  color:#173e2d !important;
  background:#fff !important;
}
.opa-public .orvap-reader-header.orv-main-header nav button[aria-pressed="true"] {
  background:#225b3d !important;
  color:white !important;
}
.opa-public .orv-main-header .orv-member-menu .orv-more {
  display:grid;
  place-items:center;
  width:2.85rem;
  min-height:44px;
  padding:0;
  border:2px solid #7da98a;
  border-radius:.6rem;
  background:#f4fbf5 !important;
  color:#225b3d !important;
  box-shadow:0 2px 4px #173e2d1c;
}
.orv-dots, .orv-dots::before, .orv-dots::after {
  display:block;
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
}
.orv-dots { position:relative; }
.orv-dots::before, .orv-dots::after { position:absolute; content:""; }
.orv-dots::before { left:-8px; }
.orv-dots::after { right:-8px; }
.opa-public #orv-options {
  width:min(16rem, 78vw);
  box-sizing:border-box;
  container-type:inline-size;
  gap:.35rem;
  padding:.45rem;
  background:#f7fbf8;
  border-color:#c7decf;
  border-radius:.85rem;
}
.opa-public #orv-options button {
  min-height:46px;
  padding:.45rem .8rem;
  border:1px solid #c9ded0;
  border-radius:.58rem;
  background:#e9f5eb !important;
  color:#173e2d !important;
  font:700 1.38rem/1.2 system-ui,sans-serif;
  font-size:clamp(1.38rem, 9.89cqi, 1.61rem);
}
.opa-public #orv-options button:nth-child(2n) { background:#dceee1 !important; }
.opa-public #orv-options button:hover,
.opa-public #orv-options button:focus-visible { background:#c9e6d2 !important; }

.orv-member-dialog .orv-course-index {
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:.65rem;
}
.orv-course-index select { margin-top:.15rem; }
dialog.orv-member-dialog .orv-open-poster {
  display:grid;
  place-items:center;
  width:5.2rem;
  padding:.18rem;
  border:1px solid #84a992;
  background:white;
  border-radius:.55rem;
}
.orv-courses-poster { border:0; border-radius:.35rem; }
.orv-member-dialog .orv-course-card {
  padding:1rem;
  margin-bottom:.8rem;
  border-color:#cee3d4;
  border-inline-start:5px solid #378052;
  background:linear-gradient(145deg,#f7fcf8,#eaf6ed);
  box-shadow:0 2px 6px #173e2d12;
  font-size:1.6767rem;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.orv-member-dialog .orv-course-card h4 { font-size:2.01825rem; color:#174d31; }
.orv-member-dialog .orv-course-card p { margin:.28rem 0 .55rem; font-weight:650; }
.orv-member-dialog .orv-course-card li { margin:.28rem 0; }
.orv-member-dialog .orv-course-card.orv-course-selected {
  border-color:#24673f;
  border-inline-start-color:#174d31;
  background:#d9efdf;
  box-shadow:inset 0 0 0 1px #24673f, 0 3px 10px #173e2d26;
}
.orv-member-dialog .orv-page-text.orv-contact-page {
  font-size:clamp(1.25rem, 1.2rem + .375vw, 1.40625rem);
  overflow-wrap:anywhere;
}
.orv-member-dialog .orv-contact-page h3 { font-size:clamp(1.5625rem, 5.75vw, 2.0625rem); }
.orv-contact-form details,
.orv-contact-form .orv-contact-consent {
  font-size:1.40625rem;
  line-height:1.55;
}
.orv-contact-form details a { text-decoration:underline; }
dialog.orv-member-dialog .orv-contact-send { font-size:1.1625rem; }
dialog.orv-poster-viewer[open] {
  display:flex;
  flex-direction:column;
  width:min(94vw, 72rem);
  height:min(87dvh, 54rem);
  max-width:none;
  max-height:none;
  padding:0;
  overflow:hidden;
  border:1px solid #adc5b5;
  border-radius:.9rem;
  background:#f5fbf6;
  box-sizing:border-box;
}
.orv-poster-viewer::backdrop { background:#10251fe0; }
.orv-viewer-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
  padding:.45rem .65rem;
  background:#173e2d;
  color:white;
  font:700 1.05rem/1.25 system-ui,sans-serif;
}
.orv-viewer-header button {
  min-height:44px;
  border:1px solid #638471;
  border-radius:.55rem;
  padding:.35rem .7rem;
  background:#28553f !important;
  color:white !important;
  font:650 1rem/1.2 system-ui,sans-serif;
  cursor:pointer;
}
.orv-viewer-scroll {
  flex:1;
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  touch-action:pan-x pan-y pinch-zoom;
}
.orv-viewer-scroll img {
  display:block;
  width:clamp(62rem,100vw,100rem);
  max-width:none !important;
  height:auto;
  user-select:none;
  cursor:zoom-out;
}

.orv-member-dialog .orv-contact-page [hidden] { display:none; }
.orv-contact-confirmation {
  display:grid;
  justify-items:center;
  gap:.8rem;
  max-width:34rem;
  margin:clamp(.75rem,5vh,2.4rem) auto 0;
  padding:clamp(1.35rem,6vw,2.7rem) clamp(.9rem,4vw,2rem);
  border:1px solid #b9d8c3;
  border-radius:1.2rem;
  background:linear-gradient(145deg,#f4fbf6,#d9efdf);
  box-shadow:0 8px 24px #173e2d1c;
  color:#173e2d;
  text-align:center;
}
.orv-contact-check {
  display:grid;
  place-items:center;
  width:3.25rem;
  height:3.25rem;
  border-radius:50%;
  background:#225b3d;
  color:white;
  font:700 1.7rem/1 system-ui,sans-serif;
}
.orv-member-dialog .orv-contact-confirmation h3 {
  margin:0;
  color:#173e2d;
  font:750 clamp(1.65rem,6.5vw,2.6rem)/1.15 system-ui,sans-serif;
}
.orv-contact-confirmation p { margin:0; font-size:clamp(1.2rem,4vw,1.5rem); }
dialog.orv-member-dialog .orv-contact-confirmation button {
  min-height:48px;
  margin-top:.4rem;
  padding:.65rem 1.15rem;
  border:1px solid #225b3d;
  border-radius:.65rem;
  background:#225b3d !important;
  color:#fff !important;
  font-size:1.2rem;
}

.orv-sections-page {
  color: #18382a;
  overflow-x: hidden;
}
.orv-sections-picker { margin-bottom:1rem; }
.orv-sections-picker-header { display:flex; justify-content:space-between; align-items:center; gap:.5rem; margin-bottom:.45rem; }
.orv-sections-picker-header h3 { margin:0; color:#225b3d; font-size:1.15rem; }
dialog.orv-member-dialog .orv-sections-all {
  padding:.3rem .65rem; color:#173e2d!important; background:#edf4ee!important;
  border-color:#aabfae; font-weight:700;
}
.orv-section-choices {
  position:relative; display:grid; grid-auto-flow:column;
  grid-auto-columns:clamp(68px, 23%, 90px); gap:.35rem; overflow-x:auto;
  padding:.2rem .2rem .55rem; scroll-snap-type:x proximity;
  overscroll-behavior-inline:contain;
}
.orv-section-choices.orv-section-grid {
  grid-auto-flow:row; grid-template-columns:repeat(auto-fill,minmax(68px,1fr)); overflow:visible;
}
dialog.orv-member-dialog .orv-section-choice {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.2rem;
  min-width:0; min-height:77px; padding:.25rem .15rem; scroll-snap-align:start;
  background:#f2f7f3!important; color:#173e2d!important; border:1px solid #aabfae; border-radius:.65rem;
  font:700 .8rem/1.15 system-ui,sans-serif; text-align:center; overflow-wrap:anywhere;
}
dialog.orv-member-dialog .orv-section-choice[aria-pressed="true"] {
  background:#225b3d!important; color:#fff!important; border-color:#225b3d;
}
dialog.orv-member-dialog .orv-section-choice .orv-section-choice-label { color:inherit!important; }
dialog.orv-member-dialog .orv-section-choice .orv-sections-mark {
  width:52px; border-radius:.45rem; font-size:1.85rem; color:#173e2d!important;
}
dialog.orv-member-dialog .orv-section-choice .orv-sections-mark svg { display:block; width:76%; height:76%; }
.orv-sections-mark img { width:96%; height:96%; }
.orv-sections-card, dialog.orv-sections-popup {
  overflow: hidden;
  border: 1px solid #d8e5db;
  border-radius: 1rem;
  background: #f8fbf8;
  box-shadow: 0 .3rem 1rem #173e2d1a;
}
.orv-sections-identity {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: clamp(.85rem, 4vw, 1.65rem);
  background: linear-gradient(135deg, #173e2d, #2c6949);
  color: #fff;
}
.orv-sections-identity > div { min-width: 0; }
.orv-sections-identity h3 {
  margin: 0;
  color: inherit;
  font: 750 clamp(1.22rem, 4.6vw, 1.75rem)/1.16 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.orv-sections-category { margin: 0 0 .3rem; color: #e2f1e5; font-size: .92rem; }
.orv-sections-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: clamp(3.4rem, 15vw, 5.5rem);
  aspect-ratio: 1;
  border-radius: .85rem;
  background: #fff;
  color: #225b3d;
  font: 750 1.85rem/1 system-ui, sans-serif;
}
.orv-sections-mark img { display: block; width: 85%; height: 85%; object-fit: contain; }
.orv-sections-body { padding: clamp(.85rem, 4vw, 1.6rem); font-size: clamp(1rem, 3.4vw, 1.15rem); }
.orv-sections-body p { margin: 0 0 .9rem; }
.orv-sections-place { color: #465a4c; font-size: .95em; }
.orv-sections-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.orv-sections-body .orv-sections-links li { margin: 0; }
.orv-sections-links a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: .38rem .65rem;
  border: 1px solid #c1d7c7;
  border-radius: .6rem;
  background: #edf4ee;
  color: #225b3d;
  font-weight: 650;
  text-decoration: underline;
}
.orv-member-dialog .orv-sections-more, .orv-sections-popup-bar button {
  min-height: 44px;
  padding: .45rem .85rem;
  border: 1px solid #225b3d;
  border-radius: .6rem;
  background: #225b3d;
  color: #fff;
  font: 700 1rem/1.2 system-ui, sans-serif;
  cursor: pointer;
}
.orv-member-dialog .orv-sections-more { margin-top: 1rem; }
dialog.orv-sections-popup {
  box-sizing: border-box;
  width: min(calc(100% - 1.5rem), 43rem);
  max-height: 88vh;
  max-height: 88dvh;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #18382a;
  font: 1rem/1.5 system-ui, sans-serif;
}
.orv-sections-popup::backdrop { background: #10291dc2; }
.orv-sections-popup-bar { position: sticky; top: 0; display: flex; justify-content: end; padding: .5rem; background: #edf4ee; }

.orv-section-posts { margin-block: 1.45rem; }
.orv-section-posts-list { display: grid; gap: .75rem; }
.orv-section-posts [role="status"]:empty { display: none; }
.orv-section-post {
  padding: .9rem 1rem;
  border: 1px solid var(--orv-post-border);
  border-inline-start: 4px solid var(--orv-post-accent);
  border-radius: .7rem;
  background: var(--orv-post-background);
}
.orv-section-news {
  --orv-post-border: #ccd9e9;
  --orv-post-background: #f0f5fb;
  --orv-post-accent: #244f7b;
}
.orv-section-activity {
  --orv-post-border: #c7ddce;
  --orv-post-background: #eef7ef;
  --orv-post-accent: #225b3d;
}
.orv-section-post-meta { display: flex; flex-wrap: wrap; gap: .6rem; color: var(--orv-post-accent); font-size: .9rem; }
.orv-section-post h4 { margin: .25rem 0; font: 700 1.12rem/1.25 system-ui, sans-serif; }
.orv-section-post h4 a { color: #18382a; }
.orv-section-post p { margin: .3rem 0 0; }
.orv-section-posts-archive { justify-self: start; padding-block: .45rem; }
