:root {
  --ofi-ink: #171817;
  --ofi-muted: #5b5d59;
  --ofi-gold: #9d7a2e;
  --ofi-line: #dedfd9;
  --ofi-paper: #f5f5f1;
  --ofi-font: 'OFI Roboto', Arial, sans-serif;
}
body.ofi-site { margin: 0; background: #fff; color: var(--ofi-ink); font: 400 16px/1.65 var(--ofi-font); }
.ofi-site *, .ofi-site *::before, .ofi-site *::after { box-sizing: border-box; }
.ofi-site :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,a,button,input,select,textarea,label,blockquote,td,th,figcaption),
.ofi-site .ofi-header, .ofi-site .ofi-header span, .ofi-site .ofi-footer, .ofi-site .ofi-footer span,
.ofi-site .elementor :is(h1,h2,h3,h4,h5,h6,p,li,a,label,input,textarea,button),
.ofi-site :is(.elementor-button,.elementor-button-text,.elementor-heading-title,.elementskit-section-title,.ekit-accordion-title,.elementskit-post-title,.elementor-widget-text-editor,.entry-title,.entry-content [style*='font-family']) {
  font-family: var(--ofi-font) !important;
}
.ofi-site :is(h1,h2,h3,h4,h5,h6) { color: var(--ofi-ink); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; text-transform: none !important; }
.ofi-site h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.ofi-site h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.ofi-site h3 { font-size: 1.25rem; }
.ofi-site p { margin: 0 0 1em; }
.ofi-site a { color: inherit; text-decoration: none; transition: color .18s ease, background-color .18s ease; }
.ofi-site a:hover { color: var(--ofi-gold); }
.ofi-site a:focus-visible, .ofi-site button:focus-visible, .ofi-site input:focus-visible, .ofi-site textarea:focus-visible, .ofi-site summary:focus-visible { outline: 3px solid #b18a35; outline-offset: 4px; }
.ofi-site img { display: block; max-width: 100%; height: auto; }
.ofi-container { width: min(100% - 40px, 1160px); margin-inline: auto; }
.ofi-page { width: 100%; }
.ofi-content { outline: none; }
.ofi-skip { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 12px 18px; background: #fff; transform: translateY(-150%); }
.ofi-skip:focus { transform: none; }

/* Shared header: 76px on phones, with the original WordPress menu. */
.ofi-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--ofi-line); }
.admin-bar .ofi-header { top: 32px; }
.ofi-masthead { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 75px; }
.ofi-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ofi-brand img { width: 76px; height: auto; }
.ofi-brand-name { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.ofi-brand-name strong { font-size: 22px; letter-spacing: -.03em; }
.ofi-brand-name > span { font-size: 12px; }
.ofi-header-note { display: none; }
.ofi-header-actions { display: flex; align-items: center; gap: 4px; }
.ofi-call, .ofi-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; color: var(--ofi-ink); background: transparent; border: 0; border-radius: 0; cursor: pointer; }
.ofi-call > span { display: none; }
.ofi-menu-toggle:hover, .ofi-menu-toggle:focus { color: var(--ofi-ink); background: var(--ofi-paper); }
.ofi-menu-open .ofi-menu-toggle { background: var(--ofi-paper); }
.ofi-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--ofi-line); box-shadow: 0 10px 18px #0000000a; max-height: calc(100dvh - 76px); overflow-y: auto; }
.ofi-menu-open .ofi-navigation { display: block; }
.ofi-navigation ul { list-style: none; margin: 0; padding: 0; }
.ofi-menu { padding-block: 12px 20px !important; }
.ofi-menu li { position: relative; margin: 0; border-bottom: 1px solid #ededE8; }
.ofi-menu li:last-child { border-bottom: 0; }
.ofi-menu a { display: flex; align-items: center; min-height: 48px; padding: 10px 48px 10px 0; font-size: 15px; font-weight: 500; }
.ofi-menu .current-menu-item > a, .ofi-menu .current-menu-ancestor > a { color: #785a1b; }
.ofi-submenu-toggle { position: absolute; right: 0; top: 2px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; border-radius: 0; cursor: pointer; }
.ofi-submenu-toggle:hover, .ofi-submenu-toggle:focus { color: var(--ofi-ink); background: var(--ofi-paper); }
.ofi-submenu-toggle svg { transition: transform .18s ease; }
.ofi-submenu-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.ofi-menu .sub-menu { display: none; padding-left: 16px; padding-bottom: 8px; }
.ofi-menu .ofi-submenu-open > .sub-menu { display: block; }
.ofi-menu .sub-menu a { font-size: 14px; font-weight: 400; }

/* Elementor sections stay editable; composition and type live in one place. */
.ofi-site .ofi-section { padding: 48px 20px; }
.ofi-site .ofi-section > .elementor-container { max-width: 1160px; margin-inline: auto; }
.ofi-site .ofi-section > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0; align-content: start; }
.ofi-site .ofi-section .elementor-widget:not(:last-child) { margin-bottom: 18px; }
.ofi-site .ofi-section .elementor-heading-title { line-height: 1.2; color: var(--ofi-ink); }
.ofi-site .ofi-section .elementor-widget-text-editor { font-size: 16px; line-height: 1.7; color: var(--ofi-muted); }
.ofi-site .ofi-section .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.ofi-site .ofi-eyebrow .elementor-heading-title { color: var(--ofi-gold); font-size: 12px; font-weight: 700; letter-spacing: .13em; line-height: 1.5; }
.ofi-site .ofi-intro { max-width: 740px; }
.ofi-site .ofi-intro .elementor-widget-container { max-width: 740px; }
.ofi-site .ofi-intro-text { max-width: 650px; }
.ofi-site .ofi-grid { margin-top: 18px; margin-bottom: 28px; width: 100%; }
.ofi-site .ofi-grid > .elementor-container { gap: 24px; }
.ofi-site .ofi-grid > .elementor-container > .elementor-column { width: 100%; }
.ofi-site .ofi-grid > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0; align-content: start; }
.ofi-site .ofi-program { padding-top: 24px !important; border-top: 1px solid var(--ofi-line); }
.ofi-site .ofi-program .elementor-heading-title { font-size: 23px; }
.ofi-site .ofi-program .elementor-widget-text-editor { font-size: 15px; }
.ofi-site .ofi-paper { background: var(--ofi-paper); }
.ofi-site .ofi-section a:not(.elementor-button):not(.elementskit-btn):not(.elementskit-entry-thumb):not(.elementskit-post-image) { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ofi-site .ofi-text-link a, .ofi-site .ofi-section .elementor-widget-text-editor a { text-decoration: underline; }
.ofi-site .ofi-text-link { font-weight: 500; }
.ofi-site :is(.ofi-section,.ofi-hero) :is(.elementor-button,.elementskit-btn), .ofi-site div.wpforms-container-full .wpforms-form button[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; border: 1px solid var(--ofi-ink); border-radius: 2px; background: var(--ofi-ink); color: #fff; font: 500 15px/1.4 var(--ofi-font) !important; text-transform: none !important; letter-spacing: 0; box-shadow: none; transition: background-color .18s ease, transform .18s ease;
}
.ofi-site :is(.ofi-section,.ofi-hero) :is(.elementor-button,.elementskit-btn):hover, .ofi-site div.wpforms-container-full .wpforms-form button[type=submit]:hover { color: #fff; background: #393c35; border-color: #393c35; transform: translateY(-2px); }
.ofi-site .ofi-section div.wpforms-container-full .wpforms-form button[type=submit] { background: var(--ofi-ink) !important; color: #fff !important; border: 1px solid var(--ofi-ink) !important; border-radius: 2px !important; }
.ofi-site .ofi-section div.wpforms-container-full .wpforms-form button[type=submit]:hover { background: #393c35 !important; border-color: #393c35 !important; }
.ofi-site .ofi-section .elementor-button-text { white-space: normal; }
.ofi-site .ofi-gold-button .elementor-button { background: #d0ae61; border-color: #d0ae61; color: #171817; }
.ofi-site .ofi-gold-button .elementor-button:hover { background: #e1c483; border-color: #e1c483; color: #171817; }

/* A single full-width photograph, with a readable, stable opening message. */
.ofi-site .ofi-hero { position: relative; isolation: isolate; background: #171817; min-height: min(660px, calc(100svh - 76px)); }
.ofi-site .ofi-hero > .elementor-container { min-height: inherit; max-width: none; }
.ofi-site .ofi-hero > .elementor-container > .elementor-column > .elementor-widget-wrap { min-height: inherit; align-content: end; padding: 44px 20px 36px; }
.ofi-site .ofi-hero .elementor-widget { position: relative; z-index: 2; max-width: 650px; margin-bottom: 18px; }
.ofi-site .ofi-hero .ofi-hero-image { position: absolute !important; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; z-index: -2; }
.ofi-site .ofi-hero .ofi-hero-image .elementor-widget-container, .ofi-site .ofi-hero .ofi-hero-image a { height: 100%; }
.ofi-site .ofi-hero .ofi-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.ofi-site .ofi-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #080b0aee 0%, #080b0ab8 38%, #080b0a15 85%); pointer-events: none; }
.ofi-site .ofi-hero .ofi-eyebrow .elementor-heading-title { color: #efd99f; font-size: 11px; }
.ofi-site .ofi-hero h1.elementor-heading-title { color: #fff; font-size: clamp(36px, 6vw, 64px); font-weight: 700; line-height: 1.07; letter-spacing: -.035em; max-width: 700px; }
.ofi-site .ofi-hero .elementor-widget-text-editor { max-width: 540px; color: #f4f4ef; font-size: 16px; line-height: 1.55; }
.ofi-site .ofi-hero .elementor-widget-button { margin-bottom: 0; }
.ofi-site .ofi-hero .elementor-widget:not(.ofi-hero-image) { animation: ofi-arrive .5s ease both; }
.ofi-site .ofi-hero .elementor-widget:nth-child(3) { animation-delay: .07s; }
.ofi-site .ofi-hero .elementor-widget:nth-child(4) { animation-delay: .14s; }
.ofi-site .ofi-hero .elementor-widget:nth-child(5) { animation-delay: .21s; }
@keyframes ofi-arrive { from { opacity: .3; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ofi-enter { transition: transform .5s ease; transform: translateY(14px); }
.ofi-enter.ofi-entered { transform: none; }

.ofi-site .ofi-page-intro { padding-block: 40px 30px; border-bottom: 1px solid var(--ofi-line); }
.ofi-site .ofi-page-intro h1 { margin: 0; }
.ofi-site .ofi-section.ofi-split > .elementor-container { gap: 32px; }
.ofi-site .ofi-split > .elementor-container > .elementor-column { width: 100%; }
.ofi-site .ofi-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }
.ofi-site .ofi-photo .widget-image-caption { font-size: 13px; margin-top: 10px; color: var(--ofi-muted); text-align: left; }
.ofi-site .ofi-team-grid img { width: 100%; max-height: 360px; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 24%; }
.ofi-site .ofi-team-grid .elementor-heading-title { font-size: 22px; }
.ofi-site .ofi-section .ofi-news-feed .elementskit-post-image-card { background: transparent !important; border: 0; border-radius: 0; box-shadow: none; }
.ofi-site .ofi-news-feed .elementskit-post-body { padding: 20px 0 0; }
.ofi-site .ofi-news-feed .elementskit-post-image-card .elementskit-entry-thumb { border-radius: 2px; padding: 0; }
.ofi-site .ofi-news-feed .elementskit-entry-thumb img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.ofi-site .ofi-news-feed :is(.elementskit-post-title,.entry-title) { font-size: 21px !important; line-height: 1.35; margin-block: 0 12px; text-transform: none; }
.ofi-site .ofi-news-feed .elementskit-post-body > p { font-size: 15px; color: var(--ofi-muted); }
.ofi-site .ofi-news-feed .elementskit-post-image-card .elementskit-btn { padding: 8px 0; border: 0; background: transparent; color: var(--ofi-ink); text-align: left; text-decoration: underline; text-underline-offset: 5px; }
.ofi-site .ofi-news-feed .elementskit-post-image-card .elementskit-btn:hover { color: var(--ofi-gold); background: transparent; transform: none; }
.ofi-site .ofi-news-feed .row { row-gap: 28px; }
.ofi-site .ofi-cta { background: var(--ofi-ink); }
.ofi-site .ofi-cta h2.elementor-heading-title { color: #fff; }
.ofi-site .ofi-cta .elementor-widget-text-editor { color: #d8dad2; }
.ofi-site .ofi-cta .elementor-widget-text-editor a { color: #fff; }
.ofi-site .ofi-cta .ofi-eyebrow .elementor-heading-title { color: #d0ae61; }
.ofi-site .ofi-faq .elementskit-card { border: 0; border-bottom: 1px solid var(--ofi-line); border-radius: 0; }
.ofi-site .ofi-faq .ekit-accordion-title { font-size: 17px; font-weight: 500; }
.ofi-site .ofi-faq .elementskit-card-header > .elementskit-btn-link { padding: 18px 0; color: var(--ofi-ink); background: transparent; border: 0; }
.ofi-site .ofi-faq .elementskit-card-body { padding: 0 0 22px; font-size: 16px; line-height: 1.65; }

.ofi-schedule-grid { display: grid; gap: 24px 32px; grid-template-columns: 1fr; }
.ofi-schedule-day { border-top: 2px solid var(--ofi-ink); padding-top: 18px; }
.ofi-schedule-day h3 { margin: 0 0 16px; font-size: 21px; }
.ofi-schedule-day dl { margin: 0; }
.ofi-schedule-day dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--ofi-line); }
.ofi-schedule-day dt { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; }
.ofi-schedule-day dd { margin: 0; font-size: 14px; color: var(--ofi-muted); line-height: 1.5; }
.ofi-site .ofi-note, .ofi-site .ofi-note .elementor-widget-container { font-size: 14px; color: var(--ofi-muted); }
.ofi-site [id='programma'] { scroll-margin-top: 100px; }
.ofi-site .ofi-contact-layout .elementor-widget-wpforms .elementor-widget-container { background: var(--ofi-paper); padding: 24px; }
.ofi-site div.wpforms-container-full .wpforms-form :is(input[type=text],input[type=email],input[type=tel],textarea,select) { width: 100%; max-width: 100%; min-height: 46px; border: 1px solid #b7bab0; background: #fff; border-radius: 2px; font-size: 16px; box-shadow: none; }
.ofi-site div.wpforms-container-full .wpforms-form .wpforms-field-label { font-size: 15px; font-weight: 500; }
.ofi-site div.wpforms-container-full { margin: 0; }
.ofi-site .ofi-contact-layout .elementor-widget-wpforms { margin: 0; }
.ofi-site .ofi-contact-details a { display: inline-block; padding-block: 3px; }
.ofi-site .ofi-map { padding-top: 0; }
.ofi-site .ofi-map iframe { display: block; width: 100%; min-height: 300px; }

/* Existing articles, archives and galleries retain their content and sidebars. */
.ofi-content > .content-area, .ofi-content > .sidebar { padding-top: 40px; }
.ofi-content > #primary.content-area { padding-inline: 20px; }
.ofi-site .entry-title { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; }
.ofi-site .entry-content { font-size: 17px; line-height: 1.75; }
.ofi-site .entry-content a { text-decoration: underline; text-underline-offset: 4px; box-shadow: none; }
.ofi-site .entry-content img { max-width: 100%; }
.ofi-site .entry-content iframe { max-width: 100%; }
.ofi-site .entry-footer { font-family: var(--ofi-font); font-size: 13px; }
.ofi-site .widget-title { font-size: 17px; }
.ofi-site .sidebar { font-size: 14px; }
.ofi-site .pagination, .ofi-site .post-navigation { font-family: var(--ofi-font); }

.ofi-footer { margin-top: 0; padding-top: 48px; background: #161815; color: #e4e6df; font-size: 14px; }
.ofi-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.ofi-footer h2 { color: #fff; margin: 0 0 18px; font-size: 18px; letter-spacing: 0; }
.ofi-footer-brand img { width: 146px; max-height: 80px; object-fit: contain; object-position: left; margin-bottom: 24px; }
.ofi-footer-brand p { color: #b6baae; line-height: 1.65; }
.ofi-footer a:hover { color: #e1c483; }
.ofi-footer ul { list-style: none; padding: 0; margin: 0; }
.ofi-footer li { margin: 0; }
.ofi-footer li a { display: inline-flex; min-height: 38px; align-items: center; padding-block: 6px; }
.ofi-footer-contact > a { display: block; width: fit-content; min-height: 38px; padding-block: 6px; }
.ofi-footer-contact p { margin-bottom: 14px; }
.ofi-social { display: flex; gap: 24px; }
.ofi-social a { display: inline-flex; align-items: center; min-height: 44px; }
.ofi-footer-contact .ofi-footer-message { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; color: #e1c483; }
.ofi-footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 40px; padding-block: 22px; border-top: 1px solid #3a3e35; font-size: 12px; color: #b6baae; }

@media (min-width: 768px) {
  .ofi-site .ofi-section { padding: 72px 32px; }
  .ofi-site .ofi-page-intro { padding-block: 52px 40px; }
  .ofi-site .ofi-grid > .elementor-container > .elementor-column { flex: 1; width: 0; min-width: 0; }
  .ofi-site .ofi-split > .elementor-container > .elementor-column { flex: 1; width: 0; min-width: 0; }
  .ofi-site .ofi-split > .elementor-container { align-items: center; gap: 56px; }
  .ofi-site .ofi-contact-layout > .elementor-container { align-items: start; }
  .ofi-schedule-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ofi-footer-grid { grid-template-columns: 1fr 1fr 1.3fr; gap: 48px; }
  .ofi-site .ofi-map { padding-top: 0; }
}
@media (min-width: 960px) {
  .ofi-masthead { min-height: 88px; }
  .ofi-brand { gap: 18px; }
  .ofi-brand img { width: 104px; }
  .ofi-brand-name strong { font-size: 26px; }
  .ofi-brand-name > span { font-size: 14px; }
  .ofi-header-note { display: inline; margin-left: auto; margin-right: 24px; font-size: 11px; font-weight: 500; color: var(--ofi-muted); letter-spacing: .11em; }
  .ofi-call { gap: 10px; font-size: 14px; font-weight: 500; }
  .ofi-call > span { display: inline; }
  .ofi-menu-toggle { display: none; }
  .ofi-navigation { display: block; position: static; max-height: none; overflow: visible; background: #171817; color: #fff; border: 0; box-shadow: none; }
  .ofi-menu { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 !important; }
  .ofi-menu > li { border: 0; }
  .ofi-menu > li > a { padding: 13px 12px; font-size: 14px; min-height: 50px; }
  .ofi-menu > .menu-item-has-children > a { padding-right: 36px; }
  .ofi-menu .current-menu-item > a, .ofi-menu .current-menu-ancestor > a { color: #e1c483; }
  .ofi-menu > li > .ofi-submenu-toggle { top: 6px; right: 0; width: 30px; height: 38px; }
  .ofi-menu > li > .ofi-submenu-toggle:hover, .ofi-menu > li > .ofi-submenu-toggle:focus { color: #e1c483; background: #2c2e29; }
  .ofi-menu .sub-menu { position: absolute; z-index: 2; top: 100%; left: 0; width: 260px; padding: 10px 16px; background: #fff; color: var(--ofi-ink); border: 1px solid var(--ofi-line); box-shadow: 0 10px 22px #00000012; }
  .ofi-menu .sub-menu .sub-menu { top: -10px; left: 100%; }
  .ofi-menu li:hover > .sub-menu, .ofi-menu li:focus-within > .sub-menu { display: block; }
  .ofi-menu .sub-menu .current-menu-item > a { color: #785a1b; }
  .ofi-site .ofi-hero { min-height: min(640px, calc(100svh - 139px)); }
  .ofi-site .ofi-hero > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 64px max(32px, calc((100vw - 1160px)/2)); }
  .ofi-site .ofi-hero::after { background: linear-gradient(90deg, #080b0ad9 0%, #080b0a8a 40%, #080b0a15 85%), linear-gradient(0deg,#080b0a6b,transparent 70%); }
  .ofi-site .ofi-hero .elementor-widget-text-editor { font-size: 18px; }
  .ofi-site .ofi-hero .ofi-eyebrow .elementor-heading-title { font-size: 12px; }
  .ofi-schedule-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ofi-site [id='programma'] { scroll-margin-top: 160px; }
  .ofi-content:has(> #primary.content-area) { display: flow-root; max-width: 1200px; margin-inline: auto; padding-bottom: 50px; }
  .ofi-footer { padding-top: 64px; }
}
@media (max-width: 767px) {
  .ofi-site .ofi-section > .elementor-container, .ofi-site .ofi-grid > .elementor-container { flex-direction: column; }
  .ofi-site .ofi-grid > .elementor-container > .elementor-column { width: 100% !important; }
  .ofi-site .ofi-grid .elementor-column + .elementor-column { margin-top: 0; }
  .ofi-site .ofi-news-feed .row > div { width: 100%; }
  .ofi-site .ofi-team-grid img { max-height: none; aspect-ratio: 4/3; object-position: 50% 20%; }
}
@media (max-width: 360px) {
  .ofi-container { width: calc(100% - 28px); }
  .ofi-brand { gap: 8px; }
  .ofi-brand img { width: 60px; }
  .ofi-brand-name strong { font-size: 20px; }
  .ofi-brand-name > span { font-size: 11px; }
  .ofi-header-actions { gap: 0; }
  .ofi-site .ofi-hero h1.elementor-heading-title { font-size: 34px; }
  .ofi-site .ofi-hero .elementor-widget-text-editor { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .ofi-site *, .ofi-site *::before, .ofi-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ofi-enter { transform: none; }
}
