/* OIFO - DiscoverEU Inclusion : site design system */

:root {
	--color-navy: #0B1F3A;
	--color-blue: #1261A0;
	--color-green: #3A9D23;
	--color-orange: #F4A900;
	--color-white: #FFFFFF;
	--color-light: #F5F8FC;
	--font-heading: 'Poppins', 'Montserrat', sans-serif;
	--font-body: 'Inter', 'Open Sans', sans-serif;
	--radius-md: 14px;
	--radius-lg: 22px;
	--shadow-md: 0 10px 30px rgba(11, 31, 58, 0.10);
	--shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.16);
	--container-max: 1600px;
	--space-section: clamp(3rem, 6vw, 6rem);
}

.oifo-container {
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.oifo-section {
	padding-block: var(--space-section);
}

.oifo-section--light { background: var(--color-light); }
.oifo-section--navy { background: var(--color-navy); color: var(--color-white); }

.oifo-eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: .8rem;
	color: var(--color-blue);
	margin-bottom: .5rem;
}

.oifo-heading {
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--color-navy);
	line-height: 1.15;
	margin: 0 0 1rem;
	font-size: clamp(1.6rem, 3.2vw, 2.6rem);
}

.oifo-section--navy .oifo-heading { color: var(--color-white); }

.oifo-lede {
	font-family: var(--font-body);
	color: #4b5a70;
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	max-width: 65ch;
}

.oifo-section--navy .oifo-lede { color: #cdd8e8; }

/* ---------- Top bar ---------- */
.oifo-topbar {
	background: var(--color-navy);
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: .85rem;
}
.oifo-topbar .oifo-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: .5rem;
	flex-wrap: wrap;
}
.oifo-topbar__right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.oifo-topbar__social { display: flex; gap: .75rem; }
.oifo-topbar__social a {
	color: var(--color-white);
	opacity: .85;
	display: inline-flex;
	width: 30px; height: 30px;
	align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,.12);
	transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.oifo-topbar__social a:hover,
.oifo-topbar__social a:focus-visible { opacity: 1; transform: translateY(-2px); background: var(--color-orange); }

.oifo-topbar__lang { display: flex; align-items: center; min-height: 24px; }
.oifo-topbar__lang .gtranslate_wrapper { line-height: 1; }

/* ---------- Header ---------- */
.oifo-site-header {
	background: var(--color-white);
	position: sticky; top: 0; z-index: 400;
	transition: box-shadow .25s ease;
}
.oifo-site-header.is-scrolled { box-shadow: var(--shadow-md); }
.oifo-site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.oifo-site-header__brand { display: flex; align-items: center; gap: .65rem; flex: none; }
.oifo-site-header__brand img { height: 44px; width: auto; display: block; }
.oifo-site-header__title { font-family: var(--font-heading); font-weight: 700; font-size: .74rem; line-height: 1.3; color: var(--color-navy); text-decoration: none; display: block; }
.oifo-site-header__divider { width: 1px; height: 34px; background: #e2e8f2; flex: none; }
.oifo-site-header__secondary-logo { height: 38px; width: auto; display: block; }
@media (max-width: 560px) {
	.oifo-site-header__divider, .oifo-site-header__secondary-logo { display: none; }
}
/* Hamburger + close buttons. Hello Elementor styles every <button>
   (border, padding), hence the header-scoped selectors. */
.oifo-site-header button.oifo-menu-toggle,
.oifo-site-header button.oifo-menu-close {
	display: none; align-items: center; justify-content: center; flex: none;
	width: 48px; height: 48px; padding: 0; margin: 0; border: none; border-radius: 12px;
	background: var(--color-light); color: var(--color-navy); cursor: pointer; box-shadow: none;
}
.oifo-site-header button.oifo-menu-toggle:hover, .oifo-site-header button.oifo-menu-toggle:focus-visible,
.oifo-site-header button.oifo-menu-close:hover, .oifo-site-header button.oifo-menu-close:focus-visible { background: #e3ebf5; color: var(--color-navy); }
.oifo-menu-toggle svg, .oifo-menu-close svg { width: 28px; height: 28px; }
.oifo-main-nav__head { display: none; }
.oifo-main-nav { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.oifo-main-nav__list { display: flex; align-items: center; gap: 1.1rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.oifo-main-nav__list a {
	font-family: var(--font-body); font-weight: 600; font-size: .86rem; white-space: nowrap;
	color: var(--color-navy); text-decoration: none; padding: .4rem 0; position: relative;
}
.oifo-main-nav__list a:hover, .oifo-main-nav__list a:focus-visible { color: var(--color-blue); }
.oifo-main-nav__list li.current-menu-item > a { color: var(--color-blue); }
.oifo-main-nav__cta { flex: none; padding: .65rem 1.25rem; font-size: .86rem; }

@media (max-width: 1280px) {
	.oifo-site-header__brand { flex: 0 1 auto; min-width: 0; }
	.oifo-site-header button.oifo-menu-toggle, .oifo-site-header button.oifo-menu-close { display: inline-flex; }
	.oifo-main-nav {
		position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); z-index: 2; background: var(--color-white);
		flex-direction: column; align-items: stretch; justify-content: flex-start;
		padding: 0 1.5rem 2rem; gap: 1.25rem;
		transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s;
		box-shadow: var(--shadow-lg); overflow-y: auto;
	}
	.oifo-main-nav.is-open { transform: translateX(0); visibility: visible; transition: transform .3s ease; }
	.oifo-main-nav__head {
		display: flex; align-items: center; justify-content: space-between; gap: 1rem;
		position: sticky; top: 0; z-index: 1; background: var(--color-white);
		margin: 0 -1.5rem; padding: .75rem 1.5rem; border-bottom: 1px solid #e8eef5;
	}
	.oifo-main-nav__brand { display: flex; align-items: center; gap: .6rem; min-width: 0; text-decoration: none; }
	.oifo-main-nav__brand img { height: 44px; width: auto; flex: none; }
	.oifo-main-nav__brand span { font-family: var(--font-heading); font-weight: 700; font-size: .74rem; line-height: 1.3; color: var(--color-navy); }
	.oifo-main-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.oifo-main-nav__list li { border-bottom: 1px solid #eef2f7; }
	.oifo-main-nav__list a { display: block; white-space: normal; font-size: 1.02rem; padding: .95rem .25rem; }
	.oifo-main-nav__list li.current-menu-item > a { color: var(--color-blue); }
	.oifo-main-nav__cta { width: 100%; justify-content: center; padding-block: .95rem; font-size: 1rem; }
	/* dimmed page behind the drawer (clicking it closes the menu, see JS) */
	body.oifo-menu-locked::before {
		content: ""; position: fixed; inset: 0; z-index: 399; background: rgba(11, 31, 58, .55);
	}
}
@media (max-width: 400px) {
	.oifo-site-header__title { font-size: .66rem; }
	.oifo-site-header__brand img { height: 38px; }
}
body.oifo-menu-locked { overflow: hidden; }

.oifo-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.oifo-footer__list a { color: #cdd8e8; text-decoration: none; font-family: var(--font-body); font-size: .9rem; }
.oifo-footer__list a:hover { color: var(--color-orange); }

/* Link columns are <details>: always open on desktop, an accordion on
   phones (oifo-site.js closes them there). */
.oifo-footer__group > summary { list-style: none; }
.oifo-footer__group > summary::-webkit-details-marker { display: none; }
.oifo-footer__title { font-family: var(--font-heading); text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; margin: 0 0 1rem; }
@media (min-width: 561px) {
	.oifo-footer__group > summary { pointer-events: none; }
}
@media (max-width: 560px) {
	.oifo-footer__group { border-bottom: 1px solid rgba(255, 255, 255, .15); }
	.oifo-footer__group:first-of-type { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 1.5rem; }
	.oifo-footer__group > summary { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; cursor: pointer; }
	.oifo-footer__group > summary::after {
		content: ""; width: .55rem; height: .55rem; margin-right: .25rem;
		border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
	}
	.oifo-footer__group[open] > summary::after { transform: rotate(-135deg); }
	.oifo-footer__title { margin: 0; }
	.oifo-footer__group .oifo-footer__list { padding-bottom: 1.1rem; }
}

/* ---------- Hero ---------- */
.oifo-hero {
	background: linear-gradient(180deg, var(--color-light) 0%, #eaf1fb 100%);
	overflow: hidden;
}
.oifo-hero__grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: center;
}
@media (max-width: 900px) {
	.oifo-hero__grid { grid-template-columns: 1fr; }
}
.oifo-hero__title {
	font-family: var(--font-heading);
	font-weight: 800;
	color: var(--color-navy);
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.08;
	margin: 0 0 1rem;
}
.oifo-hero__title span { color: var(--color-blue); display: block; }
.oifo-hero__badge {
	display: inline-block;
	background: var(--color-navy);
	color: var(--color-white);
	font-weight: 600;
	font-size: .85rem;
	letter-spacing: .04em;
	padding: .5rem 1rem;
	border-radius: 999px;
	margin-bottom: 1.25rem;
}
.oifo-hero__text { font-family: var(--font-body); color: #45536a; font-size: 1.05rem; max-width: 52ch; margin-bottom: 1.75rem; }
.oifo-hero__meta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.5rem; }
.oifo-hero__chip {
	display: flex; align-items: center; gap: .5rem;
	background: var(--color-white);
	border: 1px solid #dfe7f3;
	border-radius: 999px;
	padding: .55rem 1.1rem;
	font-family: var(--font-body);
	font-size: .85rem;
	font-weight: 600;
	color: var(--color-navy);
	box-shadow: var(--shadow-md);
}
.oifo-hero__chip svg { width: 18px; height: 18px; flex: none; color: var(--color-orange); }
.oifo-hero__cities { font-family: var(--font-body); font-size: .85rem; color: var(--color-blue); font-weight: 600; }
/* ---------- Hero on an admin-uploaded photo: scrim + text safety ---------- */
.oifo-hero-photo { position: relative; isolation: isolate; }
.oifo-hero-photo::before {
	content: "";
	position: absolute; inset: 0;
	z-index: 0; pointer-events: none;
	background: linear-gradient(90deg,
		rgba(11, 31, 58, .88) 0%,
		rgba(11, 31, 58, .88) 45%,
		rgba(11, 31, 58, .18) 100%);
}
.oifo-hero-photo > .elementor-container { position: relative; z-index: 1; }
.oifo-hero-photo .elementor-heading-title {
	text-shadow: 0 2px 4px rgba(11, 31, 58, .45), 0 6px 24px rgba(11, 31, 58, .35);
}
.oifo-hero-photo .elementor-widget-text-editor {
	text-shadow: 0 1px 2px rgba(11, 31, 58, .55), 0 2px 10px rgba(11, 31, 58, .35);
}
.oifo-hero-photo .oifo-hero-meta .elementor-widget-container p {
	display: inline-block;
	background: rgba(255, 255, 255, .10);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	padding: .45rem 1.1rem;
	text-shadow: none;
}
.oifo-hero-photo .elementor-button {
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.oifo-hero-photo .elementor-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .30);
}
@media (max-width: 767px) {
	.oifo-hero-photo::before {
		background: linear-gradient(180deg, rgba(11, 31, 58, .90) 0%, rgba(11, 31, 58, .78) 100%);
	}
}

.oifo-hero__visual { position: relative; }

.oifo-hero-text { text-align: center; padding-block: var(--space-section); max-width: 780px; margin-inline: auto; }
.oifo-hero-btn { display: inline-block; margin: .5rem .75rem .5rem 0; }
.oifo-hero__title--center { text-align: center; }
.oifo-hero__text--center, .oifo-hero__cities--center { margin-inline: auto; text-align: center; }
.oifo-hero__meta--center { justify-content: center; }

/* ---------- Hero / content slider ---------- */
.oifo-slider {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	aspect-ratio: 16/11;
	background: #dde6f2;
}
.oifo-slider-full-wrap .oifo-slider {
	border-radius: 0;
	aspect-ratio: auto;
	height: clamp(320px, 56vw, 640px);
	box-shadow: none;
}
.oifo-slider__track { position: relative; width: 100%; height: 100%; }
.oifo-slider__slide {
	position: absolute; inset: 0;
	opacity: 0; visibility: hidden;
	transition: opacity .6s ease;
}
.oifo-slider__slide.is-active { opacity: 1; visibility: visible; }
.oifo-slider__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oifo-slider__empty {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	text-align: center; padding: 2rem; font-family: var(--font-body); color: #6b7a90;
	background: var(--color-light);
}
.oifo-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 40px; height: 40px; border-radius: 50%; border: none;
	background: rgba(11,31,58,.55); color: #fff; font-size: 1.1rem; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s ease;
}
.oifo-slider__arrow:hover, .oifo-slider__arrow:focus-visible { background: var(--color-orange); color: var(--color-navy); }
.oifo-slider__arrow--prev { left: .75rem; }
.oifo-slider__arrow--next { right: .75rem; }
.oifo-slider__dots { position: absolute; bottom: .9rem; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; }
.oifo-slider__dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.6); cursor: pointer; padding: 0; }
.oifo-slider__dot.is-active { background: var(--color-orange); width: 22px; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
	.oifo-slider__slide { transition: none; }
}

/* ---------- Buttons ---------- */
.oifo-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: .95rem;
	padding: .85rem 1.6rem;
	border-radius: 999px;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	cursor: pointer;
	border: none;
}
.oifo-btn--primary { background: var(--color-orange); color: var(--color-navy); box-shadow: var(--shadow-md); }
.oifo-btn--primary:hover, .oifo-btn--primary:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.oifo-btn--outline { background: transparent; color: var(--color-white); border: 2px solid rgba(255,255,255,.6); }
.oifo-btn--outline:hover, .oifo-btn--outline:focus-visible { background: var(--color-white); color: var(--color-navy); }
.oifo-btn--dark { background: var(--color-navy); color: var(--color-white); }
.oifo-btn--dark:hover, .oifo-btn--dark:focus-visible { background: var(--color-blue); transform: translateY(-2px); }

/* ---------- Three themes (photo cards, native Elementor widgets) ---------- */
.oifo-theme-row > .elementor-container { column-gap: 1.75rem; row-gap: 1.75rem; }
.oifo-theme-card-col {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
	border-top: 5px solid var(--color-blue);
	transition: transform .25s ease, box-shadow .25s ease;
}
.oifo-theme-card-col:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.oifo-theme-card-col--green { border-top-color: var(--color-green); }
.oifo-theme-card-col--orange { border-top-color: var(--color-orange); }
.oifo-theme-card-col .elementor-widget-wrap { padding: 0 0 1.25rem; }
.oifo-theme-card-col .elementor-widget-icon,
.oifo-theme-card-col .elementor-widget-heading,
.oifo-theme-card-col .elementor-widget-text-editor,
.oifo-theme-card-col .elementor-widget-button { padding-inline: 1.5rem; }
.oifo-theme-card-col .elementor-widget-icon {
	margin-top: 1.25rem !important; margin-bottom: 0 !important;
	align-self: center !important;
	width: 100%;
	text-align: center;
}
.oifo-theme-card-col .elementor-widget-icon .elementor-icon { width: 44px; height: 44px; }
.oifo-theme-card-col .elementor-widget-icon .elementor-icon i,
.oifo-theme-card-col .elementor-widget-icon .elementor-icon svg { font-size: 18px; width: 18px; height: 18px; }
.oifo-theme-card-col .elementor-widget-heading .elementor-heading-title { font-size: 1.2rem !important; margin: 0; }
.oifo-theme-card-col .elementor-widget-text-editor p { font-size: .92rem !important; margin: 0; }
.oifo-theme-card-col .elementor-widget-button { margin-top: .4rem; }
.oifo-theme-photo { margin-top: .9rem; margin-bottom: .9rem; }
.oifo-theme-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }

/* ---------- Three themes (legacy icon-card markup, kept for reference) ---------- */
.oifo-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .oifo-themes { grid-template-columns: 1fr; } }
.oifo-theme-card {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow-md);
	transition: transform .25s ease, box-shadow .25s ease;
	border-top: 5px solid var(--color-blue);
	display: flex;
	flex-direction: column;
}
.oifo-theme-card:nth-child(2) { border-top-color: var(--color-green); }
.oifo-theme-card:nth-child(3) { border-top-color: var(--color-orange); }
.oifo-theme-card:hover, .oifo-theme-card:focus-within { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.oifo-theme-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.oifo-theme-card__icon {
	width: 60px; height: 60px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-blue); color: var(--color-white);
	transition: transform .3s ease;
	flex: none;
}
.oifo-theme-card:nth-child(2) .oifo-theme-card__icon { background: var(--color-green); }
.oifo-theme-card:nth-child(3) .oifo-theme-card__icon { background: var(--color-orange); }
.oifo-theme-card:hover .oifo-theme-card__icon { transform: scale(1.1) rotate(-4deg); }
.oifo-theme-card__icon svg { width: 28px; height: 28px; }
.oifo-theme-card__number {
	font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem;
	color: #dfe7f3;
}
.oifo-theme-card h3 { font-family: var(--font-heading); color: var(--color-navy); margin: 0 0 .6rem; font-size: 1.25rem; }
.oifo-theme-card p { font-family: var(--font-body); color: #56637a; margin: 0 0 1.5rem; flex: 1; }
.oifo-theme-card .oifo-btn { align-self: flex-start; }
.oifo-theme-card:nth-child(1) .oifo-btn { background: var(--color-blue); color: var(--color-white); }
.oifo-theme-card:nth-child(2) .oifo-btn { background: var(--color-green); color: var(--color-white); }
.oifo-theme-card:nth-child(3) .oifo-btn { background: var(--color-orange); color: var(--color-navy); }

/* ---------- Routes ---------- */
.oifo-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 900px) { .oifo-routes { grid-template-columns: 1fr; } }
.oifo-route-card {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	display: flex; flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
}
.oifo-route-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.oifo-route-card__media { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; }
.oifo-route-card__number {
	position: absolute; top: 1rem; left: 1rem;
	background: var(--color-navy); color: var(--color-white);
	font-family: var(--font-body); font-weight: 700; font-size: .75rem;
	padding: .35rem .8rem; border-radius: 999px; letter-spacing: .04em;
}
.oifo-route-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.oifo-route-card__body h3 { font-family: var(--font-heading); color: var(--color-navy); margin: 0; font-size: 1.2rem; }
.oifo-route-card__cities { font-family: var(--font-body); font-weight: 600; color: var(--color-blue); font-size: .9rem; }
.oifo-route-card__body p { font-family: var(--font-body); color: #56637a; font-size: .92rem; margin: 0; flex: 1; }
.oifo-route-card .oifo-btn { align-self: flex-start; margin-top: .5rem; }

/* ---------- Purpose ---------- */
.oifo-purpose { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .oifo-purpose { grid-template-columns: 1fr; } }
.oifo-purpose__map { width: 100%; height: auto; border-radius: var(--radius-lg); }

/* ---------- Stats ---------- */
.oifo-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 700px) { .oifo-stats { grid-template-columns: repeat(2, 1fr); } }
.oifo-stat__number {
	font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem);
	color: var(--color-orange); line-height: 1;
}
.oifo-stat__label { font-family: var(--font-body); color: #cdd8e8; margin-top: .5rem; }

/* ---------- Expected results ---------- */
.oifo-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
@media (max-width: 700px) { .oifo-results { grid-template-columns: 1fr; } }
.oifo-result-item {
	display: flex; align-items: flex-start; gap: .75rem;
	background: var(--color-white); border-radius: var(--radius-md);
	padding: 1rem 1.25rem; box-shadow: var(--shadow-md);
	font-family: var(--font-body); color: var(--color-navy); font-weight: 600;
}
.oifo-result-item svg { width: 22px; height: 22px; flex: none; color: var(--color-green); margin-top: 2px; }

/* ---------- Timeline ---------- */
.oifo-timeline { display: flex; justify-content: space-between; gap: 1rem; position: relative; margin-top: 2.5rem; }
.oifo-timeline::before {
	content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, var(--color-blue), var(--color-green), var(--color-orange));
}
@media (max-width: 780px) {
	.oifo-timeline { flex-direction: column; }
	.oifo-timeline::before { top: 0; bottom: 0; left: 22px; right: auto; width: 3px; height: auto; }
}
.oifo-timeline__item { position: relative; flex: 1; padding-top: 3.2rem; text-align: center; }
@media (max-width: 780px) { .oifo-timeline__item { padding-top: 0; padding-left: 3.2rem; text-align: left; margin-bottom: 2rem; } }
.oifo-timeline__dot {
	position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--color-white); border: 4px solid var(--color-blue);
}
@media (max-width: 780px) { .oifo-timeline__dot { left: 6px; top: 0; transform: none; } }
.oifo-timeline__date { font-family: var(--font-body); font-weight: 700; color: var(--color-blue); font-size: .85rem; }
.oifo-timeline__label { font-family: var(--font-body); color: var(--color-navy); font-weight: 600; margin-top: .25rem; }

/* ---------- News ---------- */
.oifo-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) { .oifo-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .oifo-news-grid { grid-template-columns: 1fr; } }
.oifo-news-card { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); display: flex; flex-direction: column; transition: transform .2s ease; }
.oifo-news-card:hover { transform: translateY(-4px); }
.oifo-news-card__img { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: #dde6f2; }
.oifo-news-card__body { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.oifo-news-card__date { font-family: var(--font-body); font-size: .78rem; color: var(--color-blue); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.oifo-news-card__title { font-family: var(--font-heading); font-size: 1.02rem; color: var(--color-navy); margin: 0; }
.oifo-news-card__excerpt { font-family: var(--font-body); font-size: .88rem; color: #56637a; margin: 0; flex: 1; }
/* "Read More" as a pill button, pinned to the bottom of the card. */
.oifo-news-card a.oifo-news-card__link {
	align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: .4rem;
	padding: .55rem 1.15rem; border-radius: 999px; border: 2px solid var(--color-blue); background: #fff;
	font-family: var(--font-body); font-weight: 700; color: var(--color-blue); text-decoration: none; font-size: .86rem;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.oifo-news-card a.oifo-news-card__link:hover, .oifo-news-card a.oifo-news-card__link:focus-visible { background: var(--color-blue); color: #fff; transform: translateY(-1px); text-decoration: none; }
.oifo-news-card__excerpt { margin-bottom: .5rem; }

/* ---------- Gallery ---------- */
.oifo-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
@media (max-width: 900px) { .oifo-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.oifo-gallery-grid a { display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; }
.oifo-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.oifo-gallery-grid a:hover img { transform: scale(1.08); }
.oifo-lightbox { position: fixed; inset: 0; background: rgba(11,31,58,.92); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 2rem; }
.oifo-lightbox.is-open { display: flex; }
.oifo-lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-md); }
.oifo-lightbox__close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

/* ---------- CTA ---------- */
.oifo-cta { text-align: center; }
.oifo-cta p { white-space: pre-line; }

/* ---------- Team ---------- */
.oifo-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .oifo-team-grid { grid-template-columns: repeat(2, 1fr); } }
.oifo-team-card { background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; text-align: center; padding-bottom: 1.25rem; }
.oifo-team-card__photo { aspect-ratio: 1/1; background-size: cover; background-position: center; background-color: #dde6f2; }
.oifo-team-card h3 { font-family: var(--font-heading); color: var(--color-navy); margin: 1rem 0 0; font-size: 1.05rem; }
.oifo-team-card__role { font-family: var(--font-body); color: var(--color-blue); font-weight: 600; font-size: .85rem; margin: .2rem 0 .6rem; }
.oifo-team-card p.oifo-team-card__bio { font-family: var(--font-body); color: #56637a; font-size: .85rem; padding-inline: 1rem; margin: 0; }

/* ---------- Back to top ---------- */
.oifo-to-top {
	position: fixed; right: 1.5rem; bottom: 1.5rem;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--color-navy); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-lg); border: none; cursor: pointer;
	opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
	z-index: 500;
}
.oifo-to-top.is-visible { opacity: 1; pointer-events: auto; }
.oifo-to-top:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Student Corner ---------- */
.oifo-topbar__student { color: var(--color-orange); font-weight: 700; text-decoration: none; }
.oifo-topbar__student:hover, .oifo-topbar__student:focus-visible { color: var(--color-white); text-decoration: underline; }

.oifo-student { font-family: var(--font-body); color: #2c3a50; margin-top: 1.5rem; }
.oifo-student-card {
	background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
	padding: clamp(1.25rem, 3vw, 2.25rem); max-width: 900px;
}
.oifo-student-card--narrow { max-width: 480px; }
.oifo-student-card__title { font-family: var(--font-heading); color: var(--color-navy); font-size: 1.35rem; margin: 0 0 1.25rem; }
.oifo-student-empty { color: #6b7a90; }
.oifo-student-hint { color: #6b7a90; font-size: .85rem; margin: 1rem 0 0; }
.oifo-student-back { color: var(--color-blue); font-weight: 600; text-decoration: none; }

.oifo-student-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; border-bottom: 2px solid #e3eaf3; }
.oifo-student-tabs a {
	padding: .6rem 1rem; margin-bottom: -2px; font-weight: 700; color: #6b7a90; text-decoration: none;
	border-bottom: 3px solid transparent;
}
.oifo-student-tabs a.is-active { color: var(--color-navy); border-bottom-color: var(--color-orange); }

.oifo-student-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
	max-width: 900px; margin-bottom: 1.25rem;
}
.oifo-student-bar p { margin: 0; font-size: 1.05rem; }
.oifo-student-bar > div { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.oifo-student-logout { color: #6b7a90; font-weight: 600; }

.oifo-notice { max-width: 900px; padding: .85rem 1.1rem; border-radius: var(--radius-md); margin-bottom: 1.25rem; font-weight: 600; font-size: .95rem; }
.oifo-notice--success { background: #e7f5e3; color: #24661a; border-left: 4px solid var(--color-green); }
.oifo-notice--error { background: #fdecea; color: #9b2316; border-left: 4px solid #d93a26; }

.oifo-form p { margin: 0 0 1.1rem; }
.oifo-form label { display: block; font-weight: 700; color: var(--color-navy); margin-bottom: .35rem; font-size: .92rem; }
.oifo-form input[type="text"], .oifo-form input[type="email"], .oifo-form input[type="password"], .oifo-form select {
	width: 100%; padding: .75rem .9rem; border: 1.5px solid #cfd9e6; border-radius: 10px;
	font: inherit; font-size: 1rem; background: #fff; color: #1d2b40;
}
.oifo-form input:focus, .oifo-form select:focus { outline: none; border-color: var(--color-blue); box-shadow: 0 0 0 3px rgba(18, 97, 160, .15); }
.oifo-form input[type="file"] { display: block; font: inherit; font-size: .92rem; }
.oifo-form small { display: block; color: #6b7a90; font-size: .82rem; margin-top: .3rem; }
.oifo-form__inline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.oifo-form__inline label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; margin: 0; color: #2c3a50; }
.oifo-form__inline a { color: var(--color-blue); font-size: .9rem; }
.oifo-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oifo-form__editor { margin-bottom: 1.1rem; }
.oifo-form__editor .wp-editor-container { border: 1.5px solid #cfd9e6; border-radius: 10px; overflow: hidden; }
.oifo-form__thumb { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.oifo-form__thumb img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.oifo-form__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.oifo-btn--ghost { background: transparent; color: var(--color-navy); border: 2px solid #cfd9e6; }
.oifo-btn--ghost:hover, .oifo-btn--ghost:focus-visible { border-color: var(--color-navy); }

.oifo-student-list { list-style: none; margin: 0; padding: 0; }
.oifo-student-list li {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
	padding: 1rem 0; border-bottom: 1px solid #e8eef5;
}
.oifo-student-list li:last-child { border-bottom: none; }
.oifo-student-list__main { display: flex; flex-direction: column; gap: .25rem; align-items: flex-start; }
.oifo-student-list__main strong { color: var(--color-navy); font-size: 1rem; }
.oifo-student-list__main small { color: #6b7a90; font-size: .82rem; }
.oifo-student-list__actions { display: flex; align-items: center; gap: 1rem; }
.oifo-student-list__actions a { color: var(--color-blue); font-weight: 700; text-decoration: none; }
.oifo-student-list__actions form { margin: 0; }
.oifo-link-danger { background: none; border: none; padding: 0; color: #c0392b; font: inherit; font-weight: 700; cursor: pointer; }

.oifo-status { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .2rem .6rem; border-radius: 999px; }
.oifo-status--draft { background: #eef1f5; color: #56637a; }
.oifo-status--pending { background: #fff4d6; color: #8a6200; }
.oifo-status--publish, .oifo-status--future { background: #e7f5e3; color: #24661a; }

.oifo-student-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.oifo-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.oifo-chips a {
	font-family: var(--font-body); font-weight: 600; font-size: .88rem; text-decoration: none;
	padding: .45rem 1rem; border-radius: 999px; background: var(--color-light); color: var(--color-navy); border: 1.5px solid #dbe4ef;
}
.oifo-chips a.is-active, .oifo-chips a:hover { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }
.oifo-news-card__author { font-family: var(--font-body); font-size: .82rem; color: #6b7a90; }
.oifo-pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; font-family: var(--font-body); }
.oifo-pagination .page-numbers { padding: .45rem .85rem; border-radius: 8px; text-decoration: none; color: var(--color-navy); background: var(--color-light); }
.oifo-pagination .page-numbers.current { background: var(--color-navy); color: var(--color-white); }

/* Single post (news + student articles) */
.oifo-article-header { margin: 2rem 0 1.75rem; }
.oifo-article-header__meta { font-family: var(--font-body); color: #6b7a90; font-size: .92rem; margin: 0 0 1.25rem; }
.oifo-article-header__img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.oifo-article-body { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.75; color: #2c3a50; max-width: 75ch; }
.oifo-article-body h2, .oifo-article-body h3 { font-family: var(--font-heading); color: var(--color-navy); }
.oifo-article-body blockquote { border-left: 4px solid var(--color-orange); margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; color: #45536a; font-style: italic; }

/* ---------- Header CTA: Student Corner ---------- */
.oifo-main-nav__cta--student {
	background: var(--color-green); color: var(--color-white);
	box-shadow: 0 6px 16px rgba(58, 157, 35, .28);
}
.oifo-main-nav__cta--student::before {
	content: ""; width: 15px; height: 15px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.oifo-main-nav__cta--student:hover, .oifo-main-nav__cta--student:focus-visible {
	background: #2f8a1b; color: var(--color-white); transform: translateY(-2px);
}

/* ---------- Cards: clickable image + title ---------- */
a.oifo-news-card__img { display: block; }
.oifo-news-card__title a { color: inherit; text-decoration: none; }
.oifo-news-card__title a:hover { color: var(--color-blue); }

/* ---------- "From Our Students" (Home) ---------- */
.oifo-student-invite {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
	background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
	border-left: 6px solid var(--color-green); padding: 1.75rem 2rem;
}
.oifo-student-invite p { margin: 0; font-family: var(--font-body); font-size: 1.05rem; color: #2c3a50; max-width: 70ch; }

/* ---------- Blog ---------- */
.oifo-blog .oifo-chips { margin-top: 1.5rem; }
.oifo-blog-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.oifo-blog-cta__buttons { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Hello Elementor underlines every link inside .page-content - not wanted
   on buttons, chips, tabs and card links. */
.page-content a.oifo-btn,
.page-content .oifo-chips a,
.page-content .oifo-student-tabs a,
.page-content .oifo-student-list__actions a,
.page-content .oifo-student-back,
.page-content .oifo-news-card a { text-decoration: none; }
.page-content .oifo-student .oifo-student-card--narrow { margin-top: 2rem; }

/* ---------- Student Corner page (templates/student-corner.php) ---------- */
.oifo-sc { --sc-purple: #7B4FC9; }
.oifo-sc-hero {
	position: relative; overflow: hidden;
	background: linear-gradient(120deg, #eef5fc 0%, #f8fbff 45%, #fff6dd 100%);
	background-size: cover; background-position: center right;
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.oifo-sc-hero.has-bg { background-image: var(--oifo-sc-bg); }
/* White wash on the left so the text stays readable on any photo; the
   right/middle of the photo stays visible around the login card. */
.oifo-sc-hero.has-bg::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 30%, rgba(255,255,255,.45) 46%, rgba(255,255,255,0) 60%);
}
.oifo-sc-hero__grid {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr) 430px;
	gap: 2rem; align-items: center; min-height: 560px;
}
.oifo-sc-aside { grid-column: 3; }
.oifo-sc-hero.is-compact { padding-block: clamp(2.5rem, 5vw, 4rem); background-position: center 45%; }
.oifo-sc-hero.is-compact .oifo-sc-hero__grid { min-height: 0; }

.oifo-sc-eyebrow { position: relative; padding-bottom: .7rem; margin-bottom: 1.1rem; letter-spacing: .14em; }
.oifo-sc-eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--color-orange); }
.oifo-sc-title {
	font-family: var(--font-heading); font-weight: 800; color: var(--color-navy);
	font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.05; margin: 0 0 1.25rem;
}
.oifo-sc-title span { display: block; color: var(--color-green); }
.oifo-sc-hero.is-compact .oifo-sc-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.oifo-sc-hero.is-compact .oifo-sc-title span { display: inline; }
.oifo-sc-lede { font-family: var(--font-body); color: #3d4b61; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; margin: 0 0 2rem; max-width: 52ch; }

.oifo-sc-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.oifo-sc-features li { display: flex; flex-direction: column; gap: .35rem; font-family: var(--font-body); }
.oifo-sc-features strong { color: var(--color-navy); font-size: .86rem; line-height: 1.3; }
.oifo-sc-features li > span:last-child { color: #56637a; font-size: .8rem; line-height: 1.45; }
.oifo-sc-features__icon {
	width: 48px; height: 48px; border-radius: 50%; color: #fff; margin-bottom: .4rem;
	display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
}
.oifo-sc-features__icon svg { width: 22px; height: 22px; }
.oifo-sc-features__icon--green { background: var(--color-green); }
.oifo-sc-features__icon--blue { background: var(--color-blue); }
.oifo-sc-features__icon--orange { background: var(--color-orange); }
.oifo-sc-features__icon--purple { background: var(--sc-purple); }

/* Login / register card */
.oifo-auth-card {
	background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	padding: 1.75rem 2rem 2rem; font-family: var(--font-body);
}
.oifo-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px solid #e6ecf3; margin-bottom: 1.5rem; }
.oifo-auth-tabs a {
	text-align: center; padding: .75rem .5rem; margin-bottom: -2px; text-decoration: none;
	font-weight: 600; color: #56637a; border-bottom: 3px solid transparent;
}
.oifo-auth-tabs a.is-active { color: var(--color-navy); font-weight: 700; border-bottom-color: var(--color-green); }
.oifo-auth-card__title { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-navy); margin: 0 0 .3rem; }
.oifo-auth-card__sub { color: #56637a; font-size: .9rem; margin: 0 0 1.25rem; }
.oifo-auth-card .oifo-notice { font-size: .88rem; }

.oifo-field { margin-bottom: 1rem; }
.oifo-field label { display: block; font-weight: 700; color: var(--color-navy); font-size: .88rem; margin-bottom: .4rem; }
.oifo-field__control { position: relative; display: block; }
.oifo-field__control > svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #7d8aa0; pointer-events: none; }
.oifo-form .oifo-field__control input { padding-left: 2.8rem; padding-block: .8rem; }
.oifo-form .oifo-field__control input[type="password"],
.oifo-form .oifo-field__control input.is-revealed { padding-right: 2.8rem; }
.oifo-field__eye {
	position: absolute; right: .55rem; top: 50%; transform: translateY(-50%);
	background: none; border: none; padding: .35rem; cursor: pointer; color: #7d8aa0; line-height: 0;
}
.oifo-field__eye svg { width: 19px; height: 19px; }
.oifo-field__eye:hover, .oifo-field__eye[aria-pressed="true"] { color: var(--color-navy); background: none; }
.oifo-field small { display: block; color: #6b7a90; font-size: .8rem; margin-top: .3rem; }
.oifo-auth-form .oifo-form__inline { margin: .25rem 0 1.25rem; font-size: .88rem; }
.oifo-auth-form .oifo-form__inline input[type="checkbox"] { accent-color: var(--color-blue); width: 16px; height: 16px; }

.oifo-auth-btn {
	display: flex; width: 100%; align-items: center; justify-content: center; gap: .5rem;
	padding: .95rem 1.25rem; border-radius: 999px; border: 2px solid var(--color-green);
	background: var(--color-green); color: var(--color-white);
	font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
	box-shadow: 0 8px 20px rgba(58, 157, 35, .28); transition: transform .2s ease, background .2s ease;
}
.oifo-auth-btn svg { width: 18px; height: 18px; }
.oifo-auth-btn:hover, .oifo-auth-btn:focus-visible { background: #2f8a1b; border-color: #2f8a1b; color: #fff; transform: translateY(-1px); }
.oifo-auth-btn--outline { background: transparent; color: var(--color-blue); border-color: var(--color-blue); box-shadow: none; }
.oifo-auth-btn--outline:hover, .oifo-auth-btn--outline:focus-visible { background: var(--color-blue); border-color: var(--color-blue); color: #fff; }
.oifo-auth-divider { display: flex; align-items: center; gap: .75rem; margin: 1.4rem 0 1rem; color: #56637a; font-size: .86rem; }
.oifo-auth-divider::before, .oifo-auth-divider::after { content: ""; flex: 1; height: 1px; background: #e1e7ef; }

.oifo-sc-dashboard { background: var(--color-light); padding-block: 2.5rem 4rem; }
.oifo-sc-dashboard .oifo-student { margin-top: 0; }
/* Dashboard / writing form + right-hand info column */
.oifo-student-bar { max-width: none; }
.oifo-student-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.oifo-student-layout .oifo-student-card, .oifo-student-layout .oifo-notice { max-width: none; }
.oifo-student-side { display: flex; flex-direction: column; gap: 1.25rem; }
.oifo-student-side__card {
	background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
	padding: 1.5rem; border-top: 4px solid var(--color-blue);
}
.oifo-student-side__card--tips { border-top-color: var(--color-orange); background: #FFFBF0; }
.oifo-student-side__card h3 { font-family: var(--font-heading); color: var(--color-navy); font-size: 1.05rem; margin: 0 0 1rem; }
.oifo-student-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.oifo-student-stats li { border-radius: var(--radius-md); padding: .8rem .4rem; text-align: center; display: flex; flex-direction: column; gap: .15rem; }
.oifo-student-stats strong { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1; }
.oifo-student-stats span { font-size: .75rem; font-weight: 600; }
.oifo-student-stats--publish { background: #e7f5e3; color: #24661a; }
.oifo-student-stats--pending { background: #fff4d6; color: #8a6200; }
.oifo-student-stats--draft { background: #eef1f5; color: #56637a; }
.oifo-student-steps { list-style: none; margin: 0; padding: 0; counter-reset: oifo-step; }
.oifo-student-steps li { position: relative; padding: 0 0 1rem 2.6rem; counter-increment: oifo-step; font-size: .88rem; color: #56637a; }
.oifo-student-steps li:last-child { padding-bottom: 0; }
.oifo-student-steps li::before {
	content: counter(oifo-step); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%;
	display: grid; place-items: center; background: var(--color-blue); color: #fff; font-weight: 700; font-size: .85rem;
}
.oifo-student-steps li:not(:last-child)::after { content: ""; position: absolute; left: .85rem; top: 2rem; bottom: .2rem; width: 2px; background: #dbe4ef; }
.oifo-student-steps li:last-child::before { background: var(--color-green); }
.oifo-student-steps strong { display: block; color: var(--color-navy); font-size: .95rem; margin-bottom: .1rem; }
.oifo-student-tips { margin: 0; padding: 0; list-style: none; }
.oifo-student-tips li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; font-size: .88rem; color: #3d4a5e; }
.oifo-student-tips li:last-child { margin-bottom: 0; }
.oifo-student-tips li::before { content: "\2713"; position: absolute; left: 0; color: var(--color-green); font-weight: 700; }
.oifo-chips--small { gap: .4rem; margin-bottom: 1rem; }
.oifo-chips--small a { font-size: .8rem; padding: .35rem .8rem; }
.oifo-sc-dashboard .oifo-chips a, .oifo-sc-dashboard .oifo-student-side__link { text-decoration: none; }
.oifo-student-side__link { color: var(--color-blue); font-weight: 700; font-size: .9rem; }
@media (max-width: 1000px) {
	.oifo-student-layout { grid-template-columns: 1fr; }
}
.oifo-sc-dashboard a.oifo-btn, .oifo-sc-dashboard .oifo-student-list__actions a, .oifo-sc-dashboard .oifo-student-back { text-decoration: none; }
.oifo-sc-bottom { line-height: 0; }
.oifo-sc-bottom img { display: block; width: 100%; height: auto; }
/* Bottom strip with a transparent sky (PNG/WEBP). The template measures
   the image once (oifo_strip_metrics) and passes, in vw (the image is
   always 100vw wide, so its pixels scale with the viewport):
     --sc-strip-top     transparent band above the highest hill
     --sc-strip-valley  depth of the lowest valley (end of all sky)
     --sc-strip-bottom  transparent band under the artwork
     --sc-ridge         r,g,b of the hills' top edge
   The strip is pulled up by --sc-strip-valley so every bit of its sky lies
   over the hero photo (the photo shows between the hills = wavy edge
   instead of a straight cut). Opaque images get 0s = no overlap. */
.oifo-sc {
	--sc-strip-top: 0px; --sc-strip-valley: 0px; --sc-strip-bottom: 0px; --sc-ridge: 225, 242, 254;
	--sc-fade: 6vw;        /* photo fade just above the hilltops */
	--sc-shift: 50px;      /* extra photo height = strip sits this much lower */
	--sc-tuck: 10px;       /* artwork's last rows slide under the footer (hides its edge line) */
	background: #fff;
}
.oifo-sc-bottom {
	position: relative;
	margin-top: calc(var(--sc-strip-top) * -1);
	/* drop the PNG's empty bottom rows and tuck the artwork edge under the footer */
	margin-bottom: calc((var(--sc-strip-bottom) + var(--sc-tuck)) * -1);
}
/* The artwork melts into the navy footer instead of ending on a hard cut. */
.oifo-sc-bottom::after {
	content: ""; position: absolute; left: 0; right: 0; pointer-events: none;
	bottom: calc(var(--sc-strip-bottom) + var(--sc-tuck)); height: 4vw;
	background: linear-gradient(to bottom, rgba(11, 31, 58, 0) 0%, rgba(11, 31, 58, .55) 60%, #0B1F3A 100%);
}
.oifo-sc ~ .oifo-footer, body .oifo-footer { position: relative; z-index: 3; }
.oifo-sc-bottom.is-overlapping {
	z-index: 2; background: none; pointer-events: none;
	margin-top: calc(var(--sc-strip-valley) * -1);
}
/* Room under the login card for the hills; the photo fades over the same
   --sc-fade band just above the hilltops (the rest is under the hills). */
.oifo-sc-hero.has-bottom { padding-bottom: calc(clamp(2.5rem, 5vw, 4.5rem) + var(--sc-strip-valley) - var(--sc-strip-top) + var(--sc-shift)); }
/* Logged in: the hills rise over the dashboard's light background instead. */
.oifo-sc-dashboard.has-bottom { padding-bottom: calc(2.5rem + var(--sc-strip-valley) - var(--sc-strip-top)); }
.oifo-sc-hero.has-bottom::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none;
	height: calc(var(--sc-strip-valley) - var(--sc-strip-top) + var(--sc-fade));
	background: linear-gradient(to bottom,
		rgba(var(--sc-ridge), 0) 0,
		rgba(var(--sc-ridge), .85) var(--sc-fade),
		rgb(var(--sc-ridge)) 100%);
}

/* Tabs switch instantly in JS; fade the incoming panel in. */
.oifo-auth-panel[hidden] { display: none !important; }
.oifo-auth-panel.is-entering { animation: oifo-auth-in .28s ease both; }
@keyframes oifo-auth-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Hello Elementor styles every <button>/[type=submit] (pink border, square
   corners, pink hover). Out-rank it inside the auth card so the buttons
   look like the design: full-width green pill, white bold text + arrow. */
.oifo-auth-card button.oifo-auth-btn,
.oifo-auth-card a.oifo-auth-btn {
	display: flex; width: 100%; align-items: center; justify-content: center; gap: .55rem;
	padding: 1rem 1.25rem; border-radius: 999px; border: 2px solid var(--color-green);
	background: var(--color-green); color: #fff;
	font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
	text-decoration: none; text-transform: none; letter-spacing: 0; white-space: nowrap;
	box-shadow: 0 10px 22px rgba(58, 157, 35, .30);
}
.oifo-auth-card button.oifo-auth-btn:hover, .oifo-auth-card button.oifo-auth-btn:focus-visible,
.oifo-auth-card a.oifo-auth-btn:hover, .oifo-auth-card a.oifo-auth-btn:focus-visible {
	background: #2f8a1b; border-color: #2f8a1b; color: #fff; transform: translateY(-1px);
}
.oifo-auth-card a.oifo-auth-btn--outline { background: #fff; color: var(--color-blue); border-color: var(--color-blue); box-shadow: none; font-size: 1rem; }
.oifo-auth-card a.oifo-auth-btn--outline:hover, .oifo-auth-card a.oifo-auth-btn--outline:focus-visible { background: var(--color-blue); border-color: var(--color-blue); color: #fff; }
.oifo-auth-card button.oifo-field__eye,
.oifo-auth-card button.oifo-field__eye:hover,
.oifo-auth-card button.oifo-field__eye:focus { background: none; border: none; border-radius: 6px; padding: .35rem; color: #7d8aa0; box-shadow: none; }
.oifo-auth-card button.oifo-field__eye[aria-pressed="true"] { color: var(--color-navy); }
.oifo-auth-card .oifo-form__inline a { color: var(--color-blue); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1200px) {
	.oifo-sc-hero__grid { grid-template-columns: minmax(0, 1fr) 410px; }
	.oifo-sc-aside { grid-column: 2; }
	.oifo-sc-hero.has-bg::before { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 50%, rgba(255,255,255,.3) 75%, rgba(255,255,255,.1) 100%); }
	.oifo-sc-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.oifo-sc-hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.oifo-sc-aside { grid-column: 1; }
	.oifo-sc-hero.has-bg::before { background: rgba(255,255,255,.88); }
}
@media (max-width: 480px) {
	.oifo-auth-card { padding: 1.25rem 1.1rem 1.5rem; }
	.oifo-sc-features { gap: 1rem .75rem; }
}

/* ---------- Page header image (section 12 of the mu-plugin) ---------- */
.oifo-page-banner { position: relative; height: clamp(220px, 26vw, 440px); overflow: hidden; background: var(--color-light); }
.oifo-page-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.oifo-page-banner::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 35%; pointer-events: none;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

/* Student Corner, logged in: a low band, but the photo "zoomed out" -
   drawn at 62vw wide on the right (more of the scene visible), its left
   edge melting into the white behind the title. Phones keep cover. */
@media (min-width: 861px) {
	.oifo-sc-hero.is-compact.has-bg {
		padding-block: clamp(3rem, 6vw, 5.5rem); background-color: #fff;
		background-size: 62vw auto; background-position: right 45%; background-repeat: no-repeat;
	}
	.oifo-sc-hero.is-compact.has-bg::before {
		background: linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255, 255, 255, .6) 43%, rgba(255, 255, 255, 0) 54%);
	}
}

/* Red "Log out" pill next to "Write a new article" */
.oifo-student-bar a.oifo-student-logout {
	display: inline-flex; align-items: center; gap: .45rem;
	padding: .85rem 1.5rem; border-radius: 999px; background: #D93A26; color: #fff;
	font-family: var(--font-body); font-weight: 700; font-size: .95rem; text-decoration: none;
	box-shadow: 0 8px 20px rgba(217, 58, 38, .25); transition: background .2s ease, transform .2s ease;
}
.oifo-student-bar a.oifo-student-logout:hover, .oifo-student-bar a.oifo-student-logout:focus-visible { background: #B92F1E; color: #fff; transform: translateY(-1px); }
.oifo-student-bar a.oifo-student-logout svg { width: 17px; height: 17px; }

/* ---------- Student article form: description, cover, gallery ---------- */
.oifo-form textarea {
	width: 100%; padding: .75rem .9rem; border: 1.5px solid #cfd9e6; border-radius: 10px;
	font: inherit; font-size: 1rem; background: #fff; color: #1d2b40; resize: vertical; min-height: 4.5rem;
}
.oifo-form textarea:focus { outline: none; border-color: var(--color-blue); box-shadow: 0 0 0 3px rgba(18, 97, 160, .15); }
.oifo-form__media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem; margin: .5rem 0 1.5rem; }
.oifo-form__media .oifo-upload__note { grid-column: 1 / -1; margin-top: -.5rem; }
.oifo-upload { min-width: 0; }
.oifo-upload__label { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; font-weight: 700; color: var(--color-navy); margin-bottom: .5rem; font-size: .92rem; }
.oifo-form .oifo-upload__label small { display: inline; margin: 0; font-weight: 500; }
.oifo-upload__count { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--color-blue); background: #e8f1fa; padding: .15rem .6rem; border-radius: 999px; }
.oifo-upload__count:empty { display: none; }
.oifo-upload__count.is-full { color: #8a6200; background: #fff4d6; }
/* The real inputs stay in the form (and keyboard reachable) but hidden. */
.oifo-upload__input { position: absolute !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.oifo-form .oifo-upload__drop {
	position: relative; display: block; margin: 0; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; cursor: pointer;
	border: 2px dashed #b9cbe0; background: #f5f9fd; transition: border-color .2s ease, background .2s ease;
}
.oifo-form .oifo-upload__drop:hover { border-color: var(--color-blue); background: #eef5fc; }
.oifo-upload--cover:focus-within .oifo-upload__drop { border-color: var(--color-blue); box-shadow: 0 0 0 3px rgba(18, 97, 160, .15); }
.oifo-upload__preview, .oifo-upload__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oifo-upload__hint {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
	text-align: center; color: var(--color-blue); padding: 1rem;
}
.oifo-upload__hint svg { width: 34px; height: 34px; }
.oifo-upload__hint strong { font-size: .92rem; }
.oifo-form .oifo-upload__hint small { margin: 0; }
/* With a photo chosen, the hint becomes a small pill at the bottom. */
.oifo-upload__preview:not(:empty) + .oifo-upload__hint {
	inset: auto .6rem .6rem auto; flex-direction: row; gap: .4rem; padding: .4rem .8rem; border-radius: 999px;
	background: rgba(11, 31, 58, .75); color: #fff;
}
.oifo-upload__preview:not(:empty) + .oifo-upload__hint svg { width: 16px; height: 16px; }
.oifo-upload__preview:not(:empty) + .oifo-upload__hint small { display: none; }

.oifo-upload__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .6rem; }
.oifo-upload__thumb, .oifo-upload__add { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; margin: 0; }
.oifo-upload__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oifo-upload__thumb.is-new { animation: oifo-pop .25s ease; }
.oifo-upload__thumb.is-removed img { opacity: .25; filter: grayscale(1); }
.oifo-upload__add[hidden] { display: none; }
.oifo-form .oifo-upload__add label {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; height: 100%; margin: 0;
	border: 2px dashed #b9cbe0; border-radius: 12px; background: #f5f9fd; color: var(--color-blue);
	font-size: .78rem; font-weight: 700; cursor: pointer; text-align: center; transition: border-color .2s ease, background .2s ease;
}
.oifo-form .oifo-upload__add label:hover { border-color: var(--color-blue); background: #eef5fc; }
.oifo-upload--gallery:focus-within .oifo-upload__add label { border-color: var(--color-blue); }
.oifo-upload__add svg { width: 26px; height: 26px; }
.oifo-form .oifo-upload__remove,
.oifo-upload__thumb button.oifo-upload__remove {
	position: absolute; top: .3rem; right: .3rem; width: 26px; height: 26px; margin: 0; padding: 0;
	display: grid; place-items: center; border: none; border-radius: 50%; cursor: pointer;
	background: rgba(11, 31, 58, .75); color: #fff; font-size: 1.1rem; line-height: 1; font-weight: 700;
}
.oifo-form .oifo-upload__remove:hover, .oifo-upload__thumb button.oifo-upload__remove:hover { background: #D93A26; color: #fff; }
.oifo-upload__remove input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.oifo-upload__thumb.is-removed .oifo-upload__remove { background: #D93A26; }
@keyframes oifo-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }

/* Form buttons - Hello Elementor's global button style (pink outline) wins
   over plain classes, hence the scoped selectors. */
.oifo-student .oifo-form__actions button.oifo-btn {
	display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.7rem; border-radius: 999px;
	font-family: var(--font-body); font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.oifo-student .oifo-form__actions button.oifo-btn--primary { background: var(--color-green); border: 2px solid var(--color-green); color: #fff; box-shadow: 0 8px 20px rgba(58, 157, 35, .25); }
.oifo-student .oifo-form__actions button.oifo-btn--primary:hover, .oifo-student .oifo-form__actions button.oifo-btn--primary:focus-visible { background: #2f8a1b; border-color: #2f8a1b; color: #fff; transform: translateY(-1px); }
.oifo-student .oifo-form__actions button.oifo-btn--ghost { background: #fff; border: 2px solid #cfd9e6; color: var(--color-navy); }
.oifo-student .oifo-form__actions button.oifo-btn--ghost:hover, .oifo-student .oifo-form__actions button.oifo-btn--ghost:focus-visible { border-color: var(--color-navy); background: #fff; color: var(--color-navy); }
.oifo-student .oifo-form__actions button.oifo-btn:disabled { opacity: .55; cursor: progress; transform: none; }
.oifo-article-form.is-submitting .oifo-form__actions { pointer-events: none; opacity: .7; }
@media (max-width: 700px) {
	.oifo-form__media { grid-template-columns: 1fr; }
}

/* ---------- Article photo gallery (single post) ---------- */
.oifo-post-gallery { margin: 2.5rem 0 1rem; }
.oifo-post-gallery__title { font-family: var(--font-heading); color: var(--color-navy); font-size: 1.35rem; margin: 0 0 1rem; }
.oifo-gallery-grid--post { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.oifo-gallery-grid--post a { aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.oifo-gallery-grid--post img { display: block; }

/* Lightbox navigation */
.oifo-lightbox__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; padding: 0; border: none; border-radius: 50%;
	background: rgba(255, 255, 255, .14); color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.oifo-lightbox__nav:hover, .oifo-lightbox__nav:focus-visible { background: rgba(255, 255, 255, .28); color: #fff; }
.oifo-lightbox__nav--prev { left: 1rem; }
.oifo-lightbox__nav--next { right: 1rem; }
.oifo-lightbox__nav[hidden] { display: none; }
.oifo-lightbox__count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: #cdd8e8; font-family: var(--font-body); font-size: .9rem; }
.oifo-lightbox button.oifo-lightbox__close { padding: 0; border: none; background: none; color: #fff; }
@media (max-width: 600px) {
	.oifo-lightbox { padding: 1rem; }
	.oifo-lightbox__nav { width: 42px; height: 42px; font-size: 1.8rem; background: rgba(11, 31, 58, .55); }
	.oifo-lightbox__nav--prev { left: .4rem; }
	.oifo-lightbox__nav--next { right: .4rem; }
}

/* Drag & drop: the gallery is one big dashed drop area, the same height
   as the cover box; while empty, the "Add photos" tile fills it. */
.oifo-upload--gallery { display: flex; flex-direction: column; }
.oifo-upload--gallery .oifo-upload__grid {
	flex: 1; align-content: start; padding: .6rem; border: 2px dashed #b9cbe0; border-radius: 14px; background: #f5f9fd;
	transition: border-color .2s ease, background .2s ease;
}
.oifo-form .oifo-upload--gallery .oifo-upload__add label { border-color: #cfdcea; background: #fff; }
.oifo-upload__drag-text { display: none; }
.oifo-upload--gallery.is-empty .oifo-upload__grid { grid-template-columns: 1fr; align-content: stretch; }
.oifo-upload--gallery.is-empty .oifo-upload__add { aspect-ratio: auto; }
.oifo-form .oifo-upload--gallery.is-empty .oifo-upload__add label { border: none; background: transparent; font-size: .92rem; gap: .3rem; }
.oifo-upload--gallery.is-empty .oifo-upload__add svg { width: 34px; height: 34px; }
.oifo-form .oifo-upload--gallery.is-empty .oifo-upload__drag-text { display: block; margin: 0; font-weight: 600; color: #56637a; }
.oifo-upload--gallery.is-dragover .oifo-upload__grid,
.oifo-form .oifo-upload__drop.is-dragover { border-color: var(--color-green); border-style: solid; background: #eef8ea; }
.oifo-form .oifo-upload__drop.is-dragover .oifo-upload__hint { color: var(--color-green); }
@media (max-width: 700px) {
	.oifo-upload--gallery.is-empty .oifo-upload__grid { min-height: 180px; }
}

/* Dashboard: article titles are links */
.oifo-student-list__main a.oifo-student-list__title { color: var(--color-navy); font-weight: 700; font-size: 1rem; text-decoration: none; }
.oifo-student-list__main a.oifo-student-list__title:hover, .oifo-student-list__main a.oifo-student-list__title:focus-visible { color: var(--color-blue); text-decoration: underline; }

/* Dashboard row actions: View / Edit / Delete as small pill buttons
   (scoped so Hello Elementor's global button style does not win). */
.oifo-student-list__actions { gap: .5rem; }
.oifo-student-list__actions a.oifo-mini-btn,
.oifo-student-list__actions button.oifo-mini-btn {
	display: inline-flex; align-items: center; justify-content: center; min-width: 72px; margin: 0;
	padding: .45rem 1rem; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-body); font-weight: 700; font-size: .85rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.oifo-student-list__actions a.oifo-mini-btn--view { background: #fff; border-color: var(--color-blue); color: var(--color-blue); }
.oifo-student-list__actions a.oifo-mini-btn--view:hover, .oifo-student-list__actions a.oifo-mini-btn--view:focus-visible { background: var(--color-blue); color: #fff; }
.oifo-student-list__actions a.oifo-mini-btn--edit { background: var(--color-blue); border-color: var(--color-blue); color: #fff; }
.oifo-student-list__actions a.oifo-mini-btn--edit:hover, .oifo-student-list__actions a.oifo-mini-btn--edit:focus-visible { background: #0d4c7e; border-color: #0d4c7e; color: #fff; }
.oifo-student-list__actions button.oifo-mini-btn--delete { background: #D93A26; border-color: #D93A26; color: #fff; }
.oifo-student-list__actions button.oifo-mini-btn--delete:hover, .oifo-student-list__actions button.oifo-mini-btn--delete:focus-visible { background: #B92F1E; border-color: #B92F1E; color: #fff; }

/* ---------- Single article (templates/single.php) ---------- */
.oifo-single { background: var(--color-light); padding-bottom: 1px; }
.oifo-single-hero {
	position: relative; overflow: hidden; color: #fff;
	background: linear-gradient(125deg, #0B1F3A 0%, #12406e 55%, #1261A0 100%);
	padding: clamp(2.5rem, 5vw, 4rem) 0 calc(clamp(2.5rem, 5vw, 4rem) + 90px);
}
/* The cover photo, blurred and darkened, as the hero backdrop. */
.oifo-single-hero.has-cover::before {
	content: ""; position: absolute; inset: -30px; background: var(--oifo-cover) center / cover no-repeat;
	filter: blur(14px) saturate(1.1); transform: scale(1.05);
}
.oifo-single-hero.has-cover::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(11, 31, 58, .72) 0%, rgba(11, 31, 58, .82) 100%);
}
/* A soft orange glow, like the rest of the site's navy bands. */
.oifo-single-hero:not(.has-cover)::after {
	content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(244, 169, 0, .28), rgba(244, 169, 0, 0) 70%);
}
.oifo-single-hero__inner { position: relative; z-index: 1; max-width: 1100px; text-align: center; }
.oifo-single-crumbs { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; font-family: var(--font-body); font-size: .85rem; margin-bottom: 1.25rem; color: rgba(255, 255, 255, .6); }
.oifo-single-crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.oifo-single-crumbs a:hover { color: var(--color-orange); }
.oifo-single-hero__chip {
	display: inline-block; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	background: var(--color-orange); color: var(--color-navy); padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.oifo-single-hero__title { font-family: var(--font-heading); font-weight: 800; color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.12; margin: 0 0 1.25rem; }
.oifo-single-hero__meta { display: flex; justify-content: center; align-items: center; gap: .55rem; flex-wrap: wrap; font-family: var(--font-body); font-size: .95rem; color: rgba(255, 255, 255, .82); margin: 0; }
.oifo-single-hero__meta strong { color: #fff; }
.oifo-single-hero__avatar, .oifo-single-author__avatar {
	display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--color-green); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: .95rem;
}
.oifo-single-hero__dot { opacity: .5; }

.oifo-single-layout { position: relative; z-index: 2; max-width: 1100px; margin-top: -90px; }
.oifo-single-card {
	background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(11, 31, 58, .12);
	padding: clamp(1.25rem, 4vw, 3rem); border-top: 5px solid var(--color-orange);
	overflow: hidden; /* clip the full-bleed cover to the rounded corners */
}
.oifo-single-card__cover { margin: calc(clamp(1.25rem, 4vw, 3rem) * -1) calc(clamp(1.25rem, 4vw, 3rem) * -1) 2rem; }
.oifo-single-card__cover img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 0; }
.oifo-single-card__lede {
	font-family: var(--font-body); font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--color-navy); font-weight: 500;
	margin: 0 0 1.75rem; padding: 0 0 1.5rem; border-bottom: 1px solid #e8eef5;
}
.oifo-single-card__content { font-family: var(--font-body); font-size: 1.08rem; line-height: 1.8; color: #2c3a50; }
/* Older posts may carry fonts pasted from Word - keep the site's type. */
.oifo-single-card__content * { font-family: inherit !important; }
.oifo-single-card__content span, .oifo-single-card__content font { font-size: inherit !important; color: inherit !important; }
.oifo-single-card__content p { margin: 0 0 1.25rem; }
.oifo-single-card__content h2, .oifo-single-card__content h3, .oifo-single-card__content h4 {
	font-family: var(--font-heading) !important; color: var(--color-navy); line-height: 1.25; margin: 2.25rem 0 .9rem;
}
.oifo-single-card__content h2 { font-size: 1.6rem; }
.oifo-single-card__content h3 { font-size: 1.3rem; }
.oifo-single-card__content a { color: var(--color-blue); text-decoration: underline; text-underline-offset: 3px; }
.oifo-single-card__content ul, .oifo-single-card__content ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.oifo-single-card__content li { margin-bottom: .4rem; }
.oifo-single-card__content blockquote {
	margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 5px solid var(--color-orange); border-radius: 0 14px 14px 0;
	background: #FFF8E6; color: var(--color-navy); font-size: 1.15rem; font-style: italic;
}
.oifo-single-card__content blockquote p:last-child { margin-bottom: 0; }
.oifo-single-card__content img { max-width: 100%; height: auto; border-radius: 12px; }
.oifo-single-card .oifo-post-gallery { margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px solid #e8eef5; }

.oifo-single-card__footer {
	display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap;
	margin-top: 2.5rem; padding: 1.25rem 1.5rem; border-radius: 16px; background: var(--color-light);
}
.oifo-single-author { display: flex; align-items: center; gap: .85rem; font-family: var(--font-body); }
.oifo-single-author__avatar { width: 48px; height: 48px; font-size: 1.2rem; }
.oifo-single-author div { display: flex; flex-direction: column; line-height: 1.3; }
.oifo-single-author small { color: #6b7a90; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.oifo-single-author strong { color: var(--color-navy); font-size: 1.05rem; }
.oifo-single-author span { color: var(--color-green); font-size: .85rem; font-weight: 600; }
.oifo-single-share { display: flex; align-items: center; gap: .5rem; font-family: var(--font-body); font-weight: 700; color: var(--color-navy); font-size: .9rem; }
.oifo-single-share > span { margin-right: .25rem; }
.oifo-single .oifo-share, .oifo-single button.oifo-share {
	display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; margin: 0; border: none; border-radius: 50%;
	color: #fff; cursor: pointer; text-decoration: none; transition: transform .2s ease, opacity .2s ease;
}
.oifo-share svg { width: 19px; height: 19px; }
.oifo-single .oifo-share:hover, .oifo-single .oifo-share:focus-visible { transform: translateY(-2px); opacity: .9; color: #fff; }
.oifo-share--fb { background: #1877F2; }
.oifo-share--wa { background: #25D366; }
.oifo-share--x { background: #111; }
.oifo-single button.oifo-share--copy { background: var(--color-navy); }
.oifo-single button.oifo-share--copy.is-done { background: var(--color-green); }

.oifo-single-back { margin: 1.5rem 0 0; font-family: var(--font-body); font-weight: 700; }
.oifo-single-back a { color: var(--color-blue); text-decoration: none; }
.oifo-single-back a:hover { text-decoration: underline; }

.oifo-single-related { padding: clamp(3rem, 6vw, 4.5rem) 0; margin-top: clamp(2.5rem, 5vw, 4rem); background: #fff; border-top: 1px solid #e3eaf3; }
.oifo-single-related__title { font-family: var(--font-heading); color: var(--color-navy); font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0 0 1.75rem; }
.oifo-news-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .oifo-news-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.oifo-news-grid--3 { grid-template-columns: 1fr; }
	.oifo-single-card__footer { flex-direction: column; align-items: flex-start; }
	.oifo-single-hero__meta { font-size: .85rem; }
}

/* Hero with the Blog's header photo: sharp, under a navy wash for the text. */
.oifo-single-hero.has-photo { background: var(--oifo-cover) center / cover no-repeat; }
.oifo-single-hero.has-photo::after {
	content: ""; position: absolute; inset: 0; width: auto; height: auto; border-radius: 0;
	background: linear-gradient(180deg, rgba(11, 31, 58, .55) 0%, rgba(11, 31, 58, .72) 100%);
}

/* Blog home + category archives: same photo title band as the articles. */
.oifo-blog-hero { padding-bottom: clamp(2.75rem, 5vw, 4rem); }
.oifo-blog-hero__lede { font-family: var(--font-body); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.65; color: rgba(255, 255, 255, .88); max-width: 62ch; margin: 0 auto; }
.oifo-blog-hero .oifo-single-hero__title { margin-bottom: 1rem; }
.oifo-blog-list { background: var(--color-light); padding-top: clamp(2rem, 4vw, 3rem); }
.oifo-blog-list .oifo-chips { margin-top: 0; justify-content: center; }
.oifo-blog-list .oifo-chips a { background: #fff; }
.oifo-blog-list .oifo-chips a.is-active, .oifo-blog-list .oifo-chips a:hover { background: var(--color-navy); }

/* Blog filter: sliding active pill + grid swap animation (initBlogFilter). */
.oifo-chips.has-pill { position: relative; }
.oifo-chips__pill {
	position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--color-navy); pointer-events: none;
	box-shadow: 0 6px 16px rgba(11, 31, 58, .25);
	transition: transform .4s cubic-bezier(.4, 0, .2, 1), width .4s cubic-bezier(.4, 0, .2, 1), height .4s ease, opacity .2s ease;
}
.oifo-chips.has-pill a { position: relative; z-index: 1; transition: color .3s ease, background .25s ease, border-color .25s ease; }
.oifo-blog-list .oifo-chips.has-pill a.is-active { background: transparent; border-color: transparent; color: #fff; }
.oifo-blog-list .oifo-chips a:not(.is-active):hover { background: #e8f1fa; border-color: var(--color-blue); color: var(--color-navy); }
.oifo-blog-results { transition: opacity .22s ease, transform .22s ease; }
.oifo-blog-results.is-loading { opacity: .25; transform: translateY(8px); pointer-events: none; }
.oifo-news-card.is-entering { animation: oifo-card-in .45s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes oifo-card-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.oifo-chips__pill, .oifo-blog-results { transition: none; }
	.oifo-news-card.is-entering { animation: none; }
}

/* Regular pages (templates/page.php): the intro moved into the title band,
   so the first content section needs less top space. */
.oifo-page-main .page-content > .oifo-section:first-child,
.oifo-page-main .page-content > p:first-child + .oifo-section { padding-top: clamp(2rem, 4vw, 3rem); }

/* ---------- About page ([oifo_about]) ---------- */
/* Pages rendered by templates/page.php span the full width (Hello caps
   .site-main at ~1140px); each section centres itself with .oifo-container,
   so bands like the About ones can run edge to edge. */
/* html body ... outranks Hello's later-loaded body:not([class*=elementor-page-]) .site-main cap. */
html body .oifo-page-main.site-main { max-width: none; width: 100%; margin-inline: 0; padding-inline: 0; }
.oifo-about-band { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.oifo-about { --ab-green: #3A9D23; --ab-blue: #1261A0; --ab-orange: #F4A900; --ab-purple: #7B4FC9; --ab-navy: #0B1F3A; }
.oifo-about .oifo-heading { margin-bottom: 1rem; }
.oifo-about-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }

.oifo-about-mission { background: #fff; }
.oifo-about-mission__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.oifo-about-mission__text { font-family: var(--font-body); font-size: 1.12rem; line-height: 1.75; color: #3d4b61; margin: 0 0 1.75rem; }
.oifo-about-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.oifo-about-facts li { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem; border-radius: 14px; background: var(--color-light); border: 1px solid #e3eaf3; }
.oifo-about-facts__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: #fff; color: var(--color-blue); box-shadow: 0 4px 12px rgba(11, 31, 58, .08); }
.oifo-about-facts__icon svg { width: 22px; height: 22px; }
.oifo-about-facts li > span:last-child { display: flex; flex-direction: column; font-family: var(--font-body); line-height: 1.3; min-width: 0; }
.oifo-about-facts small { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #6b7a90; font-weight: 600; }
.oifo-about-facts strong { color: var(--color-navy); font-size: .98rem; overflow-wrap: anywhere; }

.oifo-about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.oifo-about-stat {
	position: relative; overflow: hidden; border-radius: 22px; padding: 1.75rem 1.5rem; color: #fff; min-height: 170px;
	display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; box-shadow: 0 14px 30px rgba(11, 31, 58, .14);
}
.oifo-about-stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.oifo-about-stat strong { font-family: var(--font-heading); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.oifo-about-stat span { font-family: var(--font-body); font-weight: 600; font-size: .95rem; opacity: .95; }
.oifo-about-stat--green { background: linear-gradient(140deg, #3A9D23, #2c7a1a); }
.oifo-about-stat--blue { background: linear-gradient(140deg, #1261A0, #0b4677); }
.oifo-about-stat--orange { background: linear-gradient(140deg, #F4A900, #e08a00); color: var(--color-navy); }
.oifo-about-stat--purple { background: linear-gradient(140deg, #7B4FC9, #5b35a0); }
.oifo-about-stats .oifo-about-stat:nth-child(2), .oifo-about-stats .oifo-about-stat:nth-child(4) { transform: translateY(1.5rem); }

.oifo-about-skills { background: var(--color-light); }
.oifo-about-skills__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
.oifo-about-skill {
	background: #fff; border-radius: 20px; padding: 1.75rem 1.4rem; box-shadow: var(--shadow-md); text-align: center;
	border-bottom: 4px solid var(--skill, var(--ab-blue)); transition: transform .25s ease, box-shadow .25s ease;
}
.oifo-about-skill:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(11, 31, 58, .14); }
.oifo-about-skill__icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--skill); color: #fff; margin-bottom: 1rem; }
.oifo-about-skill__icon svg { width: 30px; height: 30px; }
.oifo-about-skill h3 { font-family: var(--font-heading); color: var(--color-navy); font-size: 1.15rem; margin: 0 0 .5rem; }
.oifo-about-skill p { font-family: var(--font-body); color: #56637a; font-size: .9rem; line-height: 1.55; margin: 0; }
.oifo-about-skill--blue { --skill: var(--ab-blue); }
.oifo-about-skill--orange { --skill: var(--ab-orange); }
.oifo-about-skill--purple { --skill: var(--ab-purple); }
.oifo-about-skill--green { --skill: var(--ab-green); }
.oifo-about-skill--navy { --skill: var(--ab-navy); }

.oifo-about-results { background: #fff; }
.oifo-about-results__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.oifo-about-results__grid li {
	position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem 1.4rem; border-radius: 18px;
	background: linear-gradient(180deg, #f7fafd, #eef4fa); border: 1px solid #e1e9f3; transition: border-color .2s ease, transform .2s ease;
}
.oifo-about-results__grid li:hover { border-color: var(--color-green); transform: translateY(-3px); }
.oifo-about-results__num { position: absolute; right: 1.1rem; top: .9rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: rgba(11, 31, 58, .08); }
.oifo-about-results__check { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--color-green); color: #fff; box-shadow: 0 6px 14px rgba(58, 157, 35, .3); }
.oifo-about-results__check svg { width: 22px; height: 22px; }
.oifo-about-results__grid p { margin: 0; font-family: var(--font-body); font-weight: 700; color: var(--color-navy); font-size: 1rem; line-height: 1.4; }

.oifo-about-cta { background: linear-gradient(120deg, #0B1F3A 0%, #12406e 60%, #1261A0 100%); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); }
.oifo-about-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.oifo-about-cta h2 { font-family: var(--font-heading); color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .5rem; }
.oifo-about-cta p { font-family: var(--font-body); color: #cdd8e8; margin: 0; font-size: 1.05rem; }
.oifo-about-cta__buttons { display: flex; gap: .75rem; flex-wrap: wrap; }
.oifo-about-cta .oifo-btn svg { width: 18px; height: 18px; }
.page-content .oifo-about-cta a.oifo-btn { text-decoration: none; }
.oifo-about-cta a.oifo-about-cta__ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .5); }
.oifo-about-cta a.oifo-about-cta__ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

@media (max-width: 1100px) {
	.oifo-about-skills__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.oifo-about-results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.oifo-about-mission__grid { grid-template-columns: 1fr; }
	.oifo-about-stats .oifo-about-stat:nth-child(2), .oifo-about-stats .oifo-about-stat:nth-child(4) { transform: none; }
}
@media (max-width: 600px) {
	.oifo-about-skills__grid, .oifo-about-results__grid { grid-template-columns: 1fr; }
	.oifo-about-stat { min-height: 130px; padding: 1.25rem; }
}

/* ---------- Footer (all designs; see oifo_footer_style) ---------- */
.oifo-footer { position: relative; overflow: hidden; padding-top: 0; }
.oifo-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3rem 2rem; }
.oifo-footer__logo img { height: 56px; width: auto; display: block; }
.oifo-footer__logo { display: inline-block; margin-bottom: 1rem; }
.oifo-footer__name { font-family: var(--font-heading); margin: 0 0 .75rem; color: #fff; font-size: 1.3rem; line-height: 1.25; }
.oifo-footer__tagline { color: #cdd8e8; font-size: .9rem; line-height: 1.6; margin: 0; font-family: var(--font-body); }
.oifo-footer__bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .15); padding-block: 1.5rem 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; justify-content: space-between; }
.oifo-footer__logos { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.oifo-footer__funding { height: 40px; width: auto; background: #fff; padding: .4rem .6rem; border-radius: 8px; }
.oifo-footer__discover { height: 40px; width: auto; }
.oifo-footer__legal { color: #9fb0c8; font-size: .82rem; margin: 0; max-width: 520px; font-family: var(--font-body); }
@media (max-width: 900px) { .oifo-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
	.oifo-footer__grid { grid-template-columns: 1fr; gap: 0; }
}

/* Shared "fancy" bits (designs 1-3) */
.oifo-footer__social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.oifo-footer__social a {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); transition: transform .25s ease, background .25s ease;
}
.oifo-footer__social a:hover { background: var(--color-orange); color: var(--color-navy); transform: translateY(-3px) rotate(-6deg); }
.oifo-footer__social svg { width: 18px; height: 18px; }
.oifo-footer:not(.oifo-footer--classic) .oifo-footer__list a { position: relative; display: inline-flex; align-items: center; gap: .55rem; transition: color .2s ease, transform .2s ease; }
.oifo-footer:not(.oifo-footer--classic) .oifo-footer__list a:hover { color: var(--color-orange); transform: translateX(5px); }
.oifo-footer:not(.oifo-footer--classic) .oifo-footer__group:not(:last-child) .oifo-footer__list a::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-orange); opacity: .45; transition: opacity .2s ease, transform .2s ease;
}
.oifo-footer:not(.oifo-footer--classic) .oifo-footer__list a:hover::before { opacity: 1; transform: scale(1.4); }
.oifo-footer__list--icons li { display: flex; align-items: center; gap: .6rem; color: #cdd8e8; font-size: .9rem; }
.oifo-footer__list--icons svg { width: 18px; height: 18px; flex: none; color: var(--color-orange); }
.oifo-footer:not(.oifo-footer--classic) .oifo-footer__title { position: relative; padding-bottom: .6rem; color: #fff; }
.oifo-footer:not(.oifo-footer--classic) .oifo-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--color-orange); }
.oifo-footer__top {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none;
	background: var(--color-orange); color: var(--color-navy); box-shadow: 0 8px 20px rgba(244, 169, 0, .35); transition: transform .25s ease;
}
.oifo-footer__top:hover { transform: translateY(-4px); color: var(--color-navy); }
.oifo-footer__top svg { width: 20px; height: 20px; }
.oifo-footer__logo { background: #fff; padding: .35rem; border-radius: 14px; }
.oifo-footer--classic .oifo-footer__logo { background: none; padding: 0; border-radius: 0; }

/* Scroll-in reveal (initFooterReveal adds .is-in, staggered by --d). */
.oifo-footer.has-reveal [data-oifo-f-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); transition-delay: var(--d, 0s); }
.oifo-footer.has-reveal [data-oifo-f-reveal].is-in { opacity: 1; transform: none; }

/* ---- Design 1: Waves ---- */
.oifo-footer--1 { padding-top: 90px; }
.oifo-footer__waves { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; }
.oifo-footer__waves svg { position: absolute; top: 0; left: 0; width: 200%; height: 100%; animation: oifo-wave 18s linear infinite; }
.oifo-footer__waves svg + svg { animation-duration: 26s; animation-direction: reverse; opacity: .7; }
.oifo-footer__waves .w1 { fill: #12406e; }
.oifo-footer__waves .w2 { fill: #1261A0; opacity: .45; }
@keyframes oifo-wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.oifo-footer__cta {
	position: relative; z-index: 1; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1rem;
	padding: 1.4rem 1.6rem; border-radius: 22px; background: linear-gradient(120deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
	border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
}
.oifo-footer__cta > div { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: .2rem; font-family: var(--font-body); }
.oifo-footer__cta strong { color: #fff; font-family: var(--font-heading); font-size: 1.2rem; }
.oifo-footer__cta span { color: #cdd8e8; }
.oifo-footer__cta-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--color-green); color: #fff; flex: none; animation: oifo-bob 3.5s ease-in-out infinite; }
.oifo-footer__cta-icon svg { width: 26px; height: 26px; }
.oifo-footer .oifo-footer__cta-btn { background: var(--color-green); color: #fff; text-decoration: none; }
.oifo-footer .oifo-footer__cta-btn:hover { background: #2f8a1b; color: #fff; }
.oifo-footer__cta-btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.oifo-footer__cta-btn:hover svg { transform: translateX(4px); }
@keyframes oifo-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-5deg); } }

/* ---- Design 2: Journey ---- */
.oifo-footer--2 { background: radial-gradient(1200px 400px at 85% -10%, rgba(18, 97, 160, .55), transparent 60%), var(--color-navy); }
.oifo-footer__journey { padding-top: 3.25rem; }
.oifo-footer__route { position: relative; display: flex; justify-content: space-between; height: 64px; }
.oifo-footer__route-line { position: absolute; left: 0; right: 0; top: 14px; border-top: 2px dashed rgba(255, 255, 255, .28); }
.oifo-footer__route-dot {
	position: absolute; top: 7px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--color-orange);
	box-shadow: 0 0 0 6px rgba(244, 169, 0, .25), 0 0 22px rgba(244, 169, 0, .8); animation: oifo-travel 14s ease-in-out infinite alternate;
}
@keyframes oifo-travel { from { left: 0; } to { left: calc(100% - 16px); } }
.oifo-footer__stop { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.oifo-footer__stop i { width: 12px; height: 12px; margin-top: 9px; border-radius: 50%; background: var(--color-navy); border: 2px solid #8fb4dc; animation: oifo-ping 3.2s ease-out infinite; animation-delay: calc(var(--i) * .4s); }
.oifo-footer__stop b { font-family: var(--font-body); font-size: .78rem; font-weight: 600; color: #9fb7d4; letter-spacing: .04em; }
@keyframes oifo-ping { 0% { box-shadow: 0 0 0 0 rgba(143, 180, 220, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(143, 180, 220, 0); } }
.oifo-footer__lead { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; padding-block: 2.25rem 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.oifo-footer__lead h2 { font-family: var(--font-heading); color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.15; margin: 0; max-width: 640px; }
.oifo-footer__lead h2 span {
	background: linear-gradient(90deg, #F4A900, #ffd56b, #3A9D23, #F4A900); background-size: 300% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent; animation: oifo-shine 8s linear infinite;
}
@keyframes oifo-shine { to { background-position: 300% 0; } }
.oifo-footer__lead-buttons { display: flex; gap: .75rem; flex-wrap: wrap; }
.oifo-footer .oifo-footer__lead-buttons a { text-decoration: none; }
.oifo-footer a.oifo-footer__ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .45); }
.oifo-footer a.oifo-footer__ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.oifo-footer--2 .oifo-footer__group, .oifo-footer--2 .oifo-footer__brand {
	padding: 1.4rem; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s ease, border-color .3s ease;
}
.oifo-footer--2 .oifo-footer__group:hover { background: rgba(255, 255, 255, .07); border-color: rgba(244, 169, 0, .35); }
@media (max-width: 860px) {
	.oifo-footer__stop:nth-child(2n+4) { display: none; } /* fewer city names on small screens */
}

/* ---- Design 3: Aurora ---- */
.oifo-footer__aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(70px); opacity: .55; }
.oifo-footer__aurora i { position: absolute; width: 420px; height: 420px; border-radius: 50%; }
.oifo-footer__aurora i:nth-child(1) { background: #1261A0; left: -80px; top: -120px; animation: oifo-drift1 22s ease-in-out infinite alternate; }
.oifo-footer__aurora i:nth-child(2) { background: #F4A900; right: 10%; top: 20%; width: 300px; height: 300px; opacity: .55; animation: oifo-drift2 26s ease-in-out infinite alternate; }
.oifo-footer__aurora i:nth-child(3) { background: #3A9D23; left: 40%; bottom: -160px; opacity: .6; animation: oifo-drift3 30s ease-in-out infinite alternate; }
@keyframes oifo-drift1 { to { transform: translate(240px, 120px) scale(1.15); } }
@keyframes oifo-drift2 { to { transform: translate(-260px, 60px) scale(.85); } }
@keyframes oifo-drift3 { to { transform: translate(-200px, -90px) scale(1.2); } }
.oifo-footer--3 .oifo-footer__grid { grid-template-columns: 1fr 1fr 1fr; padding-top: 4rem; }
.oifo-footer--3 .oifo-footer__brand { grid-column: 1 / -1; text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: 1rem; }
.oifo-footer--3 .oifo-footer__name { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.oifo-footer--3 .oifo-footer__tagline { max-width: 560px; font-size: 1rem; }
.oifo-footer--3 .oifo-footer__group {
	padding: 1.6rem; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s ease, background .3s ease;
}
.oifo-footer--3 .oifo-footer__group:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.oifo-footer--3 .oifo-footer__bottom { justify-content: center; text-align: center; flex-direction: column; }
@media (max-width: 900px) { .oifo-footer--3 .oifo-footer__grid { grid-template-columns: 1fr 1fr; } }

/* Phones: every design collapses to the accordion. */
@media (max-width: 560px) {
	.oifo-footer--1 { padding-top: 60px; }
	.oifo-footer__waves { height: 60px; }
	.oifo-footer--2 .oifo-footer__group, .oifo-footer--3 .oifo-footer__group { padding: 0; border-radius: 0; background: none; border-width: 0 0 1px; border-color: rgba(255, 255, 255, .15); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.oifo-footer--2 .oifo-footer__brand { padding: 0; background: none; border: 0; }
	.oifo-footer--3 .oifo-footer__grid { grid-template-columns: 1fr; padding-top: 3rem; }
	.oifo-footer__stop:nth-child(n+3) b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.oifo-footer__waves svg, .oifo-footer__route-dot, .oifo-footer__stop i, .oifo-footer__aurora i, .oifo-footer__cta-icon, .oifo-footer__lead h2 span { animation: none; }
	.oifo-footer.has-reveal [data-oifo-f-reveal] { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 560px) {
	.oifo-footer:not(.oifo-footer--classic) .oifo-footer__title { padding-bottom: 0; }
	.oifo-footer:not(.oifo-footer--classic) .oifo-footer__title::after { display: none; }
}

/* Design 1 also carries the Journey route + tagline (under the waves). */
.oifo-footer--1 .oifo-footer__journey { padding-top: 1.25rem; }
.oifo-footer--1 .oifo-footer__cta { margin-top: 2.25rem; }

/* Credits strip under the footer's bottom bar */
.oifo-footer__credits { position: relative; z-index: 1; background: rgba(0, 0, 0, .22); border-top: 1px solid rgba(255, 255, 255, .08); }
.oifo-footer__credits-inner { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap; padding-block: .9rem; }
.oifo-footer__credits p { margin: 0; font-family: var(--font-body); font-size: .82rem; color: #9fb0c8; }
.oifo-footer__credits a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(244, 169, 0, .5); transition: color .2s ease, border-color .2s ease; }
.oifo-footer__credits a:hover { color: var(--color-orange); border-color: var(--color-orange); }
.oifo-footer__heart { display: inline-block; color: #ff4d5e; animation: oifo-heart 1.6s ease-in-out infinite; }
@keyframes oifo-heart { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
@media (max-width: 560px) { .oifo-footer__credits-inner { justify-content: center; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .oifo-footer__heart { animation: none; } }

/* Co-funding note on one line where it fits (wraps as a whole otherwise). */
.oifo-footer .oifo-footer__legal { max-width: none; }
@media (min-width: 1000px) { .oifo-footer .oifo-footer__legal { white-space: nowrap; } }

/* Design 1 without the wave layers: same corner glow as design 2. */
.oifo-footer--1 { padding-top: 0; background: radial-gradient(1200px 400px at 85% -10%, rgba(18, 97, 160, .5), transparent 60%), var(--color-navy); }
.oifo-footer--1 .oifo-footer__journey { padding-top: 3.25rem; }

/* Sticky header: sit below the WordPress admin bar for logged-in users
   (fixed at 32px, 46px on tablets; it scrolls away on phones), and get a
   little more compact once the page scrolls. */
body.admin-bar .oifo-site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .oifo-site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .oifo-site-header { top: 0; } }
/* No backdrop-filter here: it would make the header the containing block of
   the fixed mobile drawer and squeeze the menu into the header bar. */
.oifo-site-header.is-scrolled { box-shadow: 0 8px 24px rgba(11, 31, 58, .1); }
.oifo-site-header__inner { transition: padding .25s ease; }
.oifo-site-header.is-scrolled .oifo-site-header__inner { padding-block: .35rem; }
.oifo-site-header__brand img, .oifo-site-header__secondary-logo { transition: height .25s ease; }
.oifo-site-header.is-scrolled .oifo-site-header__brand img { height: 38px; }
.oifo-site-header.is-scrolled .oifo-site-header__secondary-logo { height: 32px; }

/* ---------- Contact page ([oifo_contact]) - built from the user's mockup ---------- */
.oifo-contact {
	--ct-blue: #1A5DC8; --ct-tint-blue: #E6F0FC; --ct-tint-green: #E5F4E0; --ct-tint-navy: #E3EAF5; --ct-tint-orange: #FFF2D6;
	position: relative; overflow: hidden; background: linear-gradient(180deg, #F3F7FC 0%, #EEF4FB 100%);
	padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(4rem, 9vw, 9rem);
}
.oifo-contact.has-illustration { padding-bottom: clamp(6rem, 15vw, 15rem); }
/* soft circles + dashed travel lines in the background */
.oifo-contact::before, .oifo-contact::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.oifo-contact::before { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(26, 93, 200, .08), rgba(26, 93, 200, 0) 70%); }
.oifo-contact::after { width: 420px; height: 420px; left: -180px; top: 30%; background: radial-gradient(circle, rgba(58, 157, 35, .07), rgba(58, 157, 35, 0) 70%); }
.oifo-contact__deco { position: absolute; pointer-events: none; border: 2px dashed rgba(26, 93, 200, .28); border-radius: 50%; }
.oifo-contact__deco--1 { width: 260px; height: 260px; left: -170px; top: 120px; border-color: rgba(26, 93, 200, .3) transparent transparent rgba(26, 93, 200, .3); transform: rotate(20deg); }
.oifo-contact__deco--2 { width: 340px; height: 340px; right: -200px; bottom: 22%; border-color: transparent rgba(26, 93, 200, .25) rgba(26, 93, 200, .25) transparent; animation: oifo-spin 60s linear infinite; }
@keyframes oifo-spin { to { transform: rotate(360deg); } }

.oifo-contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.oifo-contact__eyebrow { display: inline-flex; align-items: center; gap: .9rem; font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ct-blue); }
.oifo-contact__eyebrow::after { content: ""; width: 42px; height: 3px; border-radius: 3px; background: var(--color-green); }
.oifo-contact__title { font-family: var(--font-heading); font-weight: 800; color: var(--color-navy); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; margin: .6rem 0 1rem; }
.oifo-contact__intro { font-family: var(--font-body); color: #4a5870; font-size: 1.05rem; line-height: 1.7; margin: 0 0 1.75rem; max-width: 60ch; }

.oifo-contact__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.oifo-contact__cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.oifo-contact__card {
	display: flex; flex-direction: column; gap: .3rem; padding: 1.4rem 1.25rem; border-radius: 18px; background: #fff;
	box-shadow: 0 10px 30px rgba(11, 31, 58, .07); font-family: var(--font-body); transition: transform .25s ease, box-shadow .25s ease;
}
.oifo-contact__card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 31, 58, .12); }
.oifo-contact__card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: .9rem; background: var(--tint); color: var(--ink); }
.oifo-contact__card-icon svg { width: 26px; height: 26px; }
.oifo-contact__card strong { color: var(--color-navy); font-size: 1.05rem; }
.oifo-contact__card-text { color: #5d6b82; font-size: .86rem; line-height: 1.5; }
.oifo-contact__card a, .oifo-contact__card-value { margin-top: .5rem; color: var(--ct-blue); font-weight: 700; font-size: .92rem; text-decoration: none; overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: .35rem; }
.oifo-contact__card-value { color: #5d6b82; font-weight: 500; display: block; }
.oifo-contact__card a svg { width: 14px; height: 14px; flex: none; }
.oifo-contact__card a:hover { text-decoration: underline; }
.page-content .oifo-contact a { text-decoration: none; }
.oifo-contact__card--blue { --tint: var(--ct-tint-blue); --ink: var(--ct-blue); }
.oifo-contact__card--green { --tint: var(--ct-tint-green); --ink: var(--color-green); }
.oifo-contact__card--navy { --tint: var(--ct-tint-navy); --ink: var(--color-navy); }
.oifo-contact__card--orange { --tint: var(--ct-tint-orange); --ink: #c98a00; }

.oifo-contact__reply {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 1.5rem; border-radius: 18px;
	background: #fff; box-shadow: 0 10px 30px rgba(11, 31, 58, .07); font-family: var(--font-body); margin-bottom: 1.75rem;
}
.oifo-contact__reply-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--ct-tint-green); color: var(--color-green); }
.oifo-contact__reply-icon svg { width: 24px; height: 24px; }
.oifo-contact__reply > div { display: flex; flex-direction: column; gap: .2rem; padding-right: 7rem; }
.oifo-contact__reply strong { color: var(--color-navy); font-size: 1rem; }
.oifo-contact__reply span { color: #5d6b82; font-size: .88rem; line-height: 1.5; }
.oifo-contact__plane { position: absolute; right: 1rem; top: 50%; width: 110px; height: 64px; transform: translateY(-50%); }
.oifo-contact__plane .trail { fill: none; stroke: #8fb0dc; stroke-width: 2; stroke-dasharray: 5 6; animation: oifo-dash 3s linear infinite; }
.oifo-contact__plane .plane { fill: none; stroke: var(--ct-blue); stroke-width: 2.5; stroke-linejoin: round; animation: oifo-fly 4s ease-in-out infinite; transform-origin: 90px 20px; }
@keyframes oifo-dash { to { stroke-dashoffset: -22; } }
@keyframes oifo-fly { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(3px, -4px) rotate(-4deg); } }

.oifo-contact__extras { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; font-family: var(--font-body); }
.oifo-contact__extras > :only-child { grid-column: 1 / -1; }
.oifo-contact__follow { display: flex; flex-direction: column; gap: .3rem; padding-right: 1.5rem; border-right: 1px solid #d9e3ef; }
.oifo-contact__follow strong, .oifo-contact__student strong { color: var(--color-navy); font-size: .95rem; }
.oifo-contact__follow > span, .oifo-contact__student span { color: #5d6b82; font-size: .84rem; line-height: 1.5; }
.oifo-contact__social { display: flex; gap: .6rem; margin-top: .7rem; }
.oifo-contact__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--color-navy); box-shadow: 0 6px 16px rgba(11, 31, 58, .1); transition: transform .2s ease, background .2s ease, color .2s ease; }
.oifo-contact__social a:hover { background: var(--ct-blue); color: #fff; transform: translateY(-3px); }
.oifo-contact__social svg { width: 19px; height: 19px; }
.oifo-contact__student { display: flex; gap: .9rem; align-items: flex-start; }
.oifo-contact__student > div { display: flex; flex-direction: column; gap: .25rem; }
.oifo-contact__student-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--ct-tint-green); color: var(--color-green); }
.oifo-contact__student-icon svg { width: 22px; height: 22px; }
.oifo-contact__student a { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; color: var(--ct-blue); font-weight: 700; font-size: .88rem; }
.oifo-contact__student a svg { width: 15px; height: 15px; transition: transform .2s ease; }
.oifo-contact__student a:hover svg { transform: translateX(4px); }

/* Form card */
.oifo-contact__form { background: #fff; border-radius: 24px; padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: 0 24px 60px rgba(11, 31, 58, .12); }
.oifo-contact__form-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.75rem; }
.oifo-contact__form-icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--ct-tint-blue); color: var(--ct-blue); }
.oifo-contact__form-icon svg { width: 30px; height: 30px; }
.oifo-contact__form-head h2 { font-family: var(--font-heading); font-weight: 800; color: var(--color-navy); font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0 0 .25rem; }
.oifo-contact__form-head p { margin: 0; font-family: var(--font-body); color: #5d6b82; font-size: .9rem; }
.oifo-contact__form .wpcf7-form p { margin: 0 0 1.15rem; }
.oifo-contact__form .wpcf7-form label { display: block; font-family: var(--font-body); font-weight: 700; color: var(--color-navy); font-size: .9rem; }
.oifo-contact__form .wpcf7-form br { display: none; }
.oifo-contact__form .wpcf7-form-control-wrap { position: relative; display: block; margin-top: .45rem; }
.oifo-contact__form .wpcf7-form-control-wrap::before {
	content: ""; position: absolute; left: 1rem; top: 1.45rem; width: 19px; height: 19px; transform: translateY(-50%); z-index: 1; pointer-events: none;
	background: #6b7a90; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.oifo-contact__form [data-name="your-name"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4 4.5-6 8-6s7 2 8 6'/%3E%3C/svg%3E"); }
.oifo-contact__form [data-name="your-email"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.oifo-contact__form [data-name="your-subject"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.oifo-contact__form [data-name="your-message"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E"); }
.oifo-contact__form .wpcf7-form input.wpcf7-text, .oifo-contact__form .wpcf7-form input.wpcf7-email, .oifo-contact__form .wpcf7-form textarea {
	width: 100%; padding: .85rem 1rem .85rem 2.85rem; border: 1.5px solid #d6e0ec; border-radius: 12px; background: #fff;
	font: inherit; font-family: var(--font-body); font-size: .98rem; font-weight: 400; color: #1d2b40; transition: border-color .2s ease, box-shadow .2s ease;
}
.oifo-contact__form .wpcf7-form textarea { min-height: 120px; height: 120px; resize: vertical; }
.oifo-contact__form .wpcf7-form ::placeholder { color: #98a4b5; }
.oifo-contact__form .wpcf7-form input.wpcf7-text:focus, .oifo-contact__form .wpcf7-form input.wpcf7-email:focus, .oifo-contact__form .wpcf7-form textarea:focus {
	outline: none; border-color: var(--ct-blue); box-shadow: 0 0 0 4px rgba(26, 93, 200, .12);
}
.oifo-contact__form .wpcf7-form-control-wrap:focus-within::before { background: var(--ct-blue); }
.oifo-contact__form .wpcf7-form input.wpcf7-submit {
	display: block; width: 100%; padding: 1rem 1.5rem; border: none; border-radius: 12px; cursor: pointer;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat calc(50% + 4.6em) center / 20px, linear-gradient(90deg, #1A5DC8, #1046a6);
	color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; padding-right: 2.5rem;
	box-shadow: 0 12px 26px rgba(26, 93, 200, .32); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.oifo-contact__form .wpcf7-form input.wpcf7-submit:hover, .oifo-contact__form .wpcf7-form input.wpcf7-submit:focus-visible { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 30px rgba(26, 93, 200, .38); color: #fff; }
.oifo-contact__form .wpcf7-spinner { display: block; margin: .5rem auto 0; }
.oifo-contact__form .wpcf7-not-valid { border-color: #d93a26 !important; background: #fff8f7 !important; }
.oifo-contact__form .wpcf7-not-valid-tip { font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: #b92f1e; margin-top: .3rem; }
.oifo-contact__form .wpcf7 form .wpcf7-response-output { margin: 0 0 1rem; padding: .85rem 1.1rem; border-radius: 12px; font-family: var(--font-body); font-weight: 600; font-size: .92rem; }
.oifo-contact__form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--color-green); background: #e7f5e3; color: #24661a; }
.oifo-contact__form .wpcf7 form.invalid .wpcf7-response-output, .oifo-contact__form .wpcf7 form.failed .wpcf7-response-output { border-color: #d93a26; background: #fdecea; color: #9b2316; }
.oifo-contact__privacy { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .25rem 0 0; font-family: var(--font-body); font-size: .8rem; color: #6b7a90; text-align: center; }
.oifo-contact__privacy svg { width: 14px; height: 14px; flex: none; }

/* Bottom illustration (Customizer image), full width behind the lower part */
.oifo-contact__illustration { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; line-height: 0; }
.oifo-contact__illustration img { display: block; width: 100%; height: auto; }

@media (max-width: 1100px) {
	.oifo-contact__grid { grid-template-columns: 1fr; }
	.oifo-contact__form { max-width: 720px; }
}
@media (max-width: 700px) {
	.oifo-contact__cards, .oifo-contact__cards--2 { grid-template-columns: 1fr; }
	.oifo-contact__extras { grid-template-columns: 1fr; }
	.oifo-contact__follow { border-right: 0; padding-right: 0; padding-bottom: 1.25rem; border-bottom: 1px solid #d9e3ef; }
	.oifo-contact__reply > div { padding-right: 0; }
	.oifo-contact__plane { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.oifo-contact__deco--2, .oifo-contact__plane .trail, .oifo-contact__plane .plane { animation: none; }
}

/* Gallery grids: Elementor's ".elementor img { height: auto }" stopped the
   photos filling their squares - scoped higher. */
.oifo-gallery-grid a img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oifo-gallery-grid a { position: relative; box-shadow: var(--shadow-md); }
.oifo-gallery-empty { font-family: var(--font-body); color: #6b7a90; text-align: center; padding: 2rem 0; margin: 0; }
