/* OHM Programme — components. Colours and type come from CSS variables, so the
   OHM 2026 child theme (or Elementor custom CSS) can retune everything in one place. */

:root {
	--ohm-orange: #F36F21;
	--ohm-orange-dark: #F37020;
	--ohm-peach: #FCE9DE;
	--ohm-black: #141414;
	--ohm-white: #FFFFFF;
	--ohm-grey: #6B6B6B;
	--ohm-line: #E7E2DE;
	--ohm-radius: 0;
	--ohm-font: "Proxima Nova", "proxima-nova", "Helvetica Neue", Arial, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
	--ohm-font-zh: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

.ohm-app, .ohm-single, .ohm-grid, .ohm-stats, .ohm-events, .ohm-planlink, .ohm-lang { font-family: var(--ohm-font); color: var(--ohm-black); }
.ohm-app *, .ohm-single * { box-sizing: border-box; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- speech bubble: the OHM 2026 "dialogue" motif ---------- */
.ohm-bubble {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.4em; height: 2.2em; padding: 0 .65em; border-radius: 0;
	background: var(--ohm-orange); color: var(--ohm-white); font-weight: 700; line-height: 1; font-size: 1rem;
}
.ohm-bubble::after {
	content: ""; position: absolute; left: .55em; bottom: -.42em;
	border-left: .5em solid transparent; border-right: .25em solid transparent; border-top: .55em solid var(--ohm-orange);
	transform: skewX(-12deg);
}
.ohm-bubble--black { background: var(--ohm-black); }
.ohm-bubble--black::after { border-top-color: var(--ohm-black); }
.ohm-bubble--text { font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.ohm-bubble--sm { font-size: .78rem; min-width: 2.2em; height: 2.2em; flex: 0 0 auto; }
.ohm-bubble--xl { font-size: 1.6rem; flex: 0 0 auto; }

/* ---------- buttons, chips, links ---------- */
.ohm-btn {
	display: inline-flex; align-items: center; gap: .4em; padding: .7em 1.2em; border: 0; border-radius: 0;
	background: var(--ohm-orange); color: var(--ohm-white) !important; font: 600 .95rem/1 var(--ohm-font); text-decoration: none !important; cursor: pointer;
}
.ohm-btn:hover, .ohm-btn:focus-visible { background: var(--ohm-black); }
.ohm-btn--small { padding: .45em .9em; font-size: .8rem; }
.ohm-link { background: none; border: 0; padding: 0; color: var(--ohm-black); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.ohm-chip {
	display: inline-flex; align-items: center; gap: .3em; padding: .3em .7em; border-radius: 0;
	background: var(--ohm-peach); color: var(--ohm-black); font-size: .75rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.ohm-chip--free { background: #F2F2F2; }
.ohm-chip--guided { background: var(--ohm-peach); }
.ohm-chip--commented { background: var(--ohm-black); color: var(--ohm-white); }
.ohm-chip--reg { background: transparent; border: 1.5px solid var(--ohm-orange); color: var(--ohm-orange-dark); }
.ohm-chip--day { background: transparent; border: 1.5px solid var(--ohm-black); }
.ohm-chip--flag { background: var(--ohm-orange); color: var(--ohm-white); }
.ohm-chip--event { background: var(--ohm-black); color: var(--ohm-white); }
.ohm-chip--acc { background: #E4F0FF; color: #0B3D91; }
.ohm-filters__more .ohm-select select { background-color: var(--ohm-white); }
.ohm-chip--link { text-decoration: none; }
.ohm-chip--link:hover { background: var(--ohm-orange); color: var(--ohm-white); }
.ohm-chip--button { border: 1.5px solid var(--ohm-black); background: var(--ohm-white); cursor: pointer; font: 500 .85rem/1 var(--ohm-font); padding: .55em .9em; }
.ohm-chip--button[aria-expanded="true"] { background: var(--ohm-black); color: var(--ohm-white); }

/* ---------- heart / My Plan ---------- */
.ohm-heart {
	display: inline-flex; align-items: center; gap: .4em; padding: .55em 1em; border: 1.5px solid var(--ohm-black); border-radius: 0;
	background: var(--ohm-white); color: var(--ohm-black); font: 600 .85rem/1 var(--ohm-font); cursor: pointer;
}
.ohm-heart__icon { color: var(--ohm-grey); font-size: 1.05em; }
.ohm-heart.is-on { background: var(--ohm-orange); border-color: var(--ohm-orange); color: var(--ohm-white); }
.ohm-heart.is-on .ohm-heart__icon { color: var(--ohm-white); }
.ohm-heart--compact { padding: 0; width: 2.4rem; height: 2.4rem; justify-content: center; border-width: 1.5px; }
.ohm-heart--compact .ohm-heart__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ohm-planlink { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; color: inherit; }
.ohm-planlink > span:first-child { color: var(--ohm-orange); }
.ohm-planlink__count { display: inline-flex; min-width: 1.4em; height: 1.4em; padding: 0 .35em; border-radius: 0; background: var(--ohm-orange); color: #fff; font-size: .75em; align-items: center; justify-content: center; }
.ohm-planlink__count[hidden] { display: none; }

/* ---------- filters & toolbar ---------- */
.ohm-filters { margin: 0 0 1rem; }
.ohm-filters__row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ohm-select select, .ohm-search input {
	appearance: none; -webkit-appearance: none; height: 2.6rem; padding: 0 2.2rem 0 1rem; border: 1.5px solid var(--ohm-black); border-radius: 0;
	background: var(--ohm-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 1rem center;
	font: 500 .88rem/1 var(--ohm-font); color: var(--ohm-black); max-width: 100%;
}
.ohm-search { flex: 1 1 12rem; }
.ohm-search input { width: 100%; background-image: none; padding-right: 1rem; }
.ohm-filters__more { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .75rem; padding: .9rem 1rem; border-radius: var(--ohm-radius); background: var(--ohm-peach); }
.ohm-filters__more[hidden] { display: none; }
.ohm-check { display: inline-flex; align-items: center; gap: .4em; font-size: .88rem; cursor: pointer; }
.ohm-check input { accent-color: var(--ohm-orange); width: 1.1em; height: 1.1em; }
.ohm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 1rem; }
.ohm-count { font-weight: 700; margin-right: auto; }
.ohm-toggle { display: inline-flex; border: 1.5px solid var(--ohm-black); border-radius: 0; overflow: hidden; }
.ohm-toggle button { border: 0; background: var(--ohm-white); padding: .55em 1.1em; font: 600 .85rem/1 var(--ohm-font); cursor: pointer; color: var(--ohm-black); }
.ohm-toggle button[aria-pressed="true"] { background: var(--ohm-black); color: var(--ohm-white); }
.ohm-empty { padding: 2rem 0; color: var(--ohm-grey); }
.ohm-empty[hidden] { display: none; }

/* ---------- cards ---------- */
.ohm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.6rem 1.2rem; }
.ohm-grid[hidden] { display: none; }
.ohm-card { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: .6rem; align-content: start; }
.ohm-card__media { grid-column: 1 / -1; position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--ohm-radius); overflow: hidden; background: var(--ohm-peach); }
.ohm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.ohm-card:hover .ohm-card__media img { transform: scale(1.04); }
.ohm-card__noimg { position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, var(--ohm-peach) 0 14px, #F8DCCB 14px 28px); }
.ohm-card__num { position: absolute; left: .8rem; top: .8rem; }
.ohm-card__flag { position: absolute; right: .8rem; top: .8rem; padding: .3em .7em; border-radius: 0; background: var(--ohm-white); font-size: .7rem; font-weight: 700; }
.ohm-card__body { grid-column: 1; padding-top: .8rem; min-width: 0; }
.ohm-card > .ohm-heart { grid-column: 2; grid-row: 2; align-self: start; margin-top: .75rem; }
.ohm-card__title { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.ohm-card__title a { color: inherit; text-decoration: none; }
.ohm-card__title a:hover { color: var(--ohm-orange-dark); }
.ohm-card__alt { margin: .15rem 0 0; font-family: var(--ohm-font-zh); font-size: .92rem; color: var(--ohm-black); }
.ohm-card__meta { margin: .35rem 0 0; font-size: .8rem; color: var(--ohm-grey); }
.ohm-card__chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.ohm-more { margin-top: 1.5rem; text-align: center; }

/* ---------- map ---------- */
.ohm-mapwrap[hidden] { display: none; }
.ohm-map { width: 100%; border-radius: var(--ohm-radius); overflow: hidden; background: #EEE; z-index: 0; }
.ohm-map--grey .leaflet-tile-pane { filter: grayscale(1) contrast(.85) brightness(1.08); }
.ohm-pin-wrap { background: none; border: 0; }
.ohm-pin {
	position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px;
	border-radius: 0; background: var(--ohm-orange); color: #fff; font: 700 13px/1 var(--ohm-font); white-space: nowrap;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transform: translateY(0);
}
.ohm-pin::after { content: ""; position: absolute; left: 6px; bottom: -7px; border-left: 7px solid transparent; border-right: 3px solid transparent; border-top: 9px solid var(--ohm-orange); }
.ohm-pin--black { background: var(--ohm-black); }
.ohm-pin--black::after { border-top-color: var(--ohm-black); }
.ohm-pin--home { background: var(--ohm-black); color: var(--ohm-orange); font-size: 11px; letter-spacing: .05em; }
.ohm-pin--home::after { border-top-color: var(--ohm-black); }
.leaflet-marker-icon:hover .ohm-pin, .leaflet-marker-icon:focus .ohm-pin { background: var(--ohm-black); }
.leaflet-popup-content-wrapper { border-radius: var(--ohm-radius); padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: auto !important; }
.ohm-popup { font-family: var(--ohm-font); }
.ohm-popup img { display: block; width: 100%; height: 120px; object-fit: cover; }
.ohm-popup__body { display: flex; flex-direction: column; gap: .25rem; padding: .7rem .9rem .9rem; }
.ohm-popup__title { font-weight: 700; font-size: .95rem; color: var(--ohm-black) !important; text-decoration: none; }
.ohm-popup__alt { font-family: var(--ohm-font-zh); font-size: .85rem; }
.ohm-popup__sub { font-size: .75rem; color: var(--ohm-grey); }
.ohm-popup .ohm-heart { align-self: flex-end; margin-top: .3rem; }
.ohm-minimap { height: 220px; margin: 1rem 0 .6rem; }

/* ---------- schedule ---------- */
.ohm-schedule { border-top: 2px solid var(--ohm-black); }
.ohm-row { display: grid; grid-template-columns: 4.2rem 1fr; gap: .4rem .8rem; padding: .9rem 0; border-bottom: 1px solid var(--ohm-line); align-items: center; }
.ohm-row__time { font-weight: 700; font-size: 1rem; grid-row: span 3; align-self: start; }
.ohm-row__time small { display: block; font-weight: 400; color: var(--ohm-grey); font-size: .75rem; }
.ohm-row__what { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.ohm-row__what a { color: inherit; text-decoration: none; }
.ohm-row__type small { color: var(--ohm-grey); }
.ohm-row__book { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
@media (min-width: 900px) {
	.ohm-row { grid-template-columns: 5rem 2fr 1.4fr 1.2fr; }
	.ohm-row__time { grid-row: auto; align-self: center; }
	.ohm-row__book { justify-content: flex-end; }
}

/* ---------- plan & route ---------- */
.ohm-plan { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .ohm-plan { grid-template-columns: 1.1fr 1fr; align-items: start; } .ohm-plan__map { position: sticky; top: 1rem; } }
.ohm-planlist { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.ohm-planlist li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--ohm-line); }
.ohm-planlist__text { flex: 1; display: flex; flex-direction: column; }
.ohm-planlist__text a { font-weight: 600; color: inherit; text-decoration: none; }
.ohm-planlist__text small { color: var(--ohm-grey); font-size: .8rem; }
.ohm-step { font-weight: 700; color: var(--ohm-grey); width: 1.4rem; text-align: right; }
.ohm-share { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.ohm-share input { flex: 1 1 14rem; height: 2.6rem; padding: 0 1rem; border: 1.5px solid var(--ohm-line); border-radius: 0; font-size: .8rem; }
.ohm-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem 1.2rem; margin-bottom: 1.5rem; border-radius: var(--ohm-radius); background: var(--ohm-peach); }
.ohm-banner p { margin: 0; flex: 1 1 16rem; }

/* ---------- single pages ---------- */
.ohm-single { max-width: 1200px; margin: 0 auto; }
.ohm-back { display: inline-block; margin: 0 0 1.2rem; font-size: .85rem; color: var(--ohm-black); text-decoration: none; }
.ohm-back:hover { color: var(--ohm-orange-dark); }
.ohm-single__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.ohm-single__title { margin: 0; font-size: clamp(1.7rem, 4.5vw, 3rem); line-height: 1.08; font-weight: 700; }
.ohm-single__alt { margin: .35rem 0 0; font-family: var(--ohm-font-zh); font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 600; }
.ohm-single__pt { margin: .25rem 0 0; color: var(--ohm-grey); font-style: italic; }
.ohm-single__hero { margin: 0 0 1.8rem; }
.ohm-single__hero img { width: 100%; max-height: 72vh; object-fit: cover; border-radius: var(--ohm-radius); display: block; }
.ohm-single__hero figcaption { font-size: .75rem; color: var(--ohm-grey); margin-top: .4rem; }
.ohm-single__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .ohm-single__grid { grid-template-columns: 1.6fr 1fr; gap: 3rem; } .ohm-single__side { order: 2; } }
.ohm-single__side { order: -1; }
@media (min-width: 900px) { .ohm-single__side { order: 2; } }
.ohm-single__text { font-size: 1.02rem; line-height: 1.7; }
.ohm-lead { font-size: 1.2rem; line-height: 1.5; font-weight: 500; }
.ohm-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .8rem 1.2rem; margin: 0 0 1.2rem; padding: 0; }
.ohm-facts div { border-top: 2px solid var(--ohm-black); padding-top: .4rem; }
.ohm-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ohm-grey); }
.ohm-facts dd { margin: .15rem 0 0; font-weight: 600; }
.ohm-facts--stack { grid-template-columns: 1fr; }
.ohm-dialogue {
	position: relative; margin: 1.6rem 0; padding: 1.3rem 1.5rem; border: 0; border-radius: 0;
	background: var(--ohm-peach); font-size: 1.15rem; line-height: 1.5; font-weight: 500;
}
.ohm-dialogue::after { content: ""; position: absolute; left: 2rem; bottom: -14px; border-left: 16px solid transparent; border-right: 6px solid transparent; border-top: 16px solid var(--ohm-peach); }
.ohm-dialogue p { margin: 0; }
.ohm-dialogue cite { display: block; margin-top: .6rem; font-size: .8rem; font-style: normal; color: var(--ohm-grey); }
.ohm-actions { margin-bottom: 1rem; }
.ohm-h2 { font-size: 1.25rem; font-weight: 700; margin: 1.6rem 0 .8rem; }
.ohm-slots .ohm-h2 { margin-top: 0; }
.ohm-slots__dayname { font-size: .95rem; margin: 1rem 0 .4rem; padding-bottom: .3rem; border-bottom: 2px solid var(--ohm-black); }
.ohm-slots__list { list-style: none; margin: 0; padding: 0; }
.ohm-slot { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; padding: .55rem 0; border-bottom: 1px solid var(--ohm-line); font-size: .88rem; }
.ohm-slot__time { font-weight: 700; min-width: 6.5rem; }
.ohm-slot__langs, .ohm-slot__notes { color: var(--ohm-grey); font-size: .8rem; }
.ohm-slot__left { font-size: .78rem; color: var(--ohm-orange-dark); font-weight: 600; }
.ohm-slot__full { font-size: .78rem; font-weight: 700; color: var(--ohm-grey); text-transform: uppercase; }
.ohm-slot__reg { font-size: .78rem; color: var(--ohm-orange-dark); }
.ohm-directions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1.2rem; }
.ohm-directions__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ohm-grey); width: 100%; }
.ohm-directions a { padding: .4em .8em; border: 1.5px solid var(--ohm-black); border-radius: 0; font-size: .78rem; font-weight: 600; color: var(--ohm-black); text-decoration: none; }
.ohm-directions a:hover { background: var(--ohm-black); color: #fff; }
.ohm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; margin: 1.6rem 0; }
.ohm-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; display: block; }
.ohm-partner { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; border: 1.5px solid var(--ohm-line); border-radius: var(--ohm-radius); }
.ohm-partner span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ohm-grey); }
.ohm-partner img { max-height: 48px; width: auto; }
.ohm-section { margin-top: 2.5rem; }
.ohm-section[hidden] { display: none; }
.ohm-strand-title { margin-top: 2.2rem; }

/* ---------- stats ---------- */
.ohm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 1.5rem 1.5rem; align-items: start; }
.ohm-stat { display: flex; flex-direction: column; }
.ohm-stat__n { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 600; color: var(--ohm-orange); line-height: .95; letter-spacing: -.02em; }
.ohm-stat__l { font-size: clamp(.95rem, 1.4vw, 1.3rem); font-weight: 500; margin-top: .35rem; line-height: 1.15; max-width: 9ch; }
.ohm-stat--free { padding-left: 12%; }
.ohm-stat--free .ohm-stat__l { max-width: none; }
@media (max-width: 767px) {
	.ohm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; }
	.ohm-stat--free { padding-left: 0; grid-column: 1 / -1; }
}

/* ---------- language switch ---------- */
.ohm-lang { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; }
.ohm-lang a { color: inherit; text-decoration: none; opacity: .55; }
.ohm-lang a[aria-current] { opacity: 1; }
.ohm-plainlist { columns: 2 16rem; }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
	.ohm-filters__row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; margin-right: -16px; padding-right: 16px; }
	.ohm-filters__row::-webkit-scrollbar { display: none; }
	.ohm-filters__row > * { flex: 0 0 auto; }
	.ohm-search { flex: 0 0 13rem; }
	.ohm-single__hero img { aspect-ratio: 4 / 3; max-height: none; }
	.ohm-single__head { gap: .7rem; }
	.ohm-bubble--xl { font-size: 1.25rem; }
	.ohm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .8rem; }
	.ohm-card__title { font-size: .95rem; }
	.ohm-card__chips .ohm-chip:nth-child(n+4) { display: none; }
}

/* ---------- organiser strip (header) ---------- */
.ohm-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-family: var(--ohm-font); font-size: .75rem; border-bottom: 1px solid var(--ohm-line); }
.ohm-org { display: inline-flex; align-items: center; gap: .6rem; color: var(--ohm-black); text-decoration: none; }
.ohm-org__label { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ohm-grey); white-space: nowrap; }
.ohm-org__logo { height: 34px; width: auto; display: block; }
.ohm-org__name { font-weight: 700; font-size: .85rem; }
.ohm-org:hover .ohm-org__label { color: var(--ohm-black); }
.ohm-topbar__ohw { color: var(--ohm-grey); text-decoration: none; white-space: nowrap; }
.ohm-topbar__ohw:hover { color: var(--ohm-black); }
@media (max-width: 640px) { .ohm-topbar__ohw { display: none; } .ohm-org__logo { height: 28px; } }
.ohm-section-black .ohm-org, .ohm-section-black .ohm-org__label, .ohm-section-black .ohm-topbar__ohw { color: #fff; }

/* ---------- OHM 2026: square dialogue boxes (v1.3) ---------- */
.ohm-bubble::after { left: .45em; bottom: -.5em; border-left: .55em solid transparent; border-right: 0 solid transparent; border-top: .55em solid var(--ohm-orange); transform: none; }
.ohm-bubble--black::after { border-top-color: var(--ohm-black); }
.ohm-pin { border-radius: 0; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.ohm-pin::after { left: 4px; bottom: -8px; border-left: 9px solid transparent; border-right: 0 solid transparent; border-top: 9px solid var(--ohm-orange); }
.ohm-pin--black::after, .ohm-pin--home::after { border-top-color: var(--ohm-black); }
.ohm-dialogue { border: 2px solid var(--ohm-black); background: var(--ohm-white); }
.ohm-dialogue::after { left: 1.6rem; bottom: -14px; border-left: 14px solid transparent; border-right: 0 solid transparent; border-top: 14px solid var(--ohm-black); }
.ohm-heart, .ohm-btn, .ohm-chip, .ohm-toggle, .ohm-select select, .ohm-search input, .ohm-share input, .ohm-directions a, .ohm-planlink__count, .ohm-filters__more, .ohm-banner, .ohm-partner, .leaflet-popup-content-wrapper { border-radius: 0 !important; }
.ohm-card__media, .ohm-single__hero img, .ohm-gallery img, .ohm-map, .ohm-popup img { border-radius: 0 !important; }
.ohm-card__noimg { background: repeating-linear-gradient(-45deg, var(--ohm-peach) 0 14px, #F8DCCB 14px 28px); }

/* ---------- List ⇄ Map switch (v1.4) ---------- */
.ohm-toggle button { display: inline-flex; align-items: center; gap: .4em; padding: .65em 1.2em; font-size: .9rem; }
.ohm-toggle--float { display: none; }
@media (max-width: 640px) {
	.ohm-toggle--bar { display: none; }
	.ohm-toggle--float { display: flex; position: sticky; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 500; width: max-content; margin: 1rem auto 0; box-shadow: 0 4px 14px rgba(0,0,0,.25); background: var(--ohm-white); }
	.ohm-app.is-map .ohm-mapnode { height: 72vh !important; }
}

/* ---------- shared (v1.5) ---------- */
@keyframes ohmUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ohm-btn--white { background: var(--ohm-white); color: var(--ohm-black) !important; }
.ohm-btn--white:hover { background: var(--ohm-black); color: var(--ohm-white) !important; }
.ohm-btn--line { background: transparent; color: var(--ohm-black) !important; box-shadow: inset 0 0 0 2px var(--ohm-black); }
.ohm-btn--line:hover { background: var(--ohm-black); color: var(--ohm-white) !important; }

/* ---------- Section banners (v1.5) ---------- */
.ohm-banner { background: var(--ohm-orange); color: var(--ohm-black); overflow: hidden; display: block; padding: 0; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.ohm-hero, .ohm-banner, .ohm-hero *, .ohm-banner * { box-sizing: border-box; }
.ohm-hero__inner, .ohm-banner__inner { width: 100%; }
.ohm-banner__inner { max-width: 1272px; margin: 0 auto; padding-block: clamp(1.6rem, 3.5vw, 2.6rem); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(1.2rem, 4vw, 4rem); align-items: center; }
.ohm-banner__eyebrow { margin: 0 0 .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ohm-banner__title { margin: 0 0 .2em; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.02; font-weight: 800; }
.ohm-banner__box { position: relative; display: inline-block; background: var(--ohm-white); color: var(--ohm-black); padding: .12em .42em .18em; }
.ohm-banner__box::after { content: ""; position: absolute; left: .42em; bottom: -.36em; border-left: .38em solid transparent; border-top: .38em solid var(--ohm-white); }
.ohm-banner__lead { margin: 1.7rem 0 0; font-size: 1.05rem; max-width: 46ch; }
.ohm-banner__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ohm-tile { position: relative; aspect-ratio: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--ohm-black); color: var(--ohm-white); transition: opacity .35s ease, transform .35s ease; }
.ohm-banner.is-ready .ohm-tile { animation: ohmTile .5s ease both; animation-delay: var(--d, 0ms); }
@keyframes ohmTile { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.ohm-tile.is-out { opacity: 0; transform: translateY(8px); }
.ohm-tile.is-in { animation: ohmTile .45s ease both; }
.ohm-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ohm-tile__n { position: absolute; left: 6px; top: 6px; background: var(--ohm-orange); color: var(--ohm-black); font-weight: 800; font-size: .78rem; padding: .18em .45em; }
.ohm-tile__n::after { content: ""; position: absolute; left: 4px; bottom: -5px; border-left: 6px solid transparent; border-top: 6px solid var(--ohm-orange); }
.ohm-tile--num { background: var(--ohm-white); color: var(--ohm-black); }
.ohm-tile__big { font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 800; }
.ohm-tile--word { padding: .6rem; text-align: center; }
.ohm-tile__word { font-weight: 800; font-size: clamp(.8rem, 1.4vw, 1.05rem); line-height: 1.15; }
.ohm-tile--white { background: var(--ohm-white); color: var(--ohm-black); }
.ohm-tile--peach { background: var(--ohm-peach); color: var(--ohm-black); }
@media (min-width: 768px) and (max-width: 1024px) { .ohm-banner__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); } }
@media (max-width: 767px) {
	.ohm-banner__inner { grid-template-columns: 1fr; }
	.ohm-banner__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
	.ohm-banner__tiles .ohm-tile:nth-child(n+5) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ohm-banner.is-ready .ohm-tile, .ohm-tile.is-in { animation: none; }
	.ohm-tile { transition: none; }
}


/* ==========================================================================
   v1.7 — Home after the S2 home layout
   ========================================================================== */

/* ---------- Hero: logo, date box, two cut-out photo shapes ---------- */
.ohm-hero { background: var(--ohm-orange); color: var(--ohm-white); overflow: hidden; display: block; padding: 0; margin: 0; }
.ohm-hero, .ohm-hero * { box-sizing: border-box; }
.ohm-hero__stage { position: relative; width: 100%; max-width: 1680px; margin: 0 auto; aspect-ratio: 1400 / 622; max-height: 780px; }
.ohm-hero__shape { position: absolute; overflow: hidden; background: rgba(0,0,0,.08);
	-webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.ohm-hero__shape--a { left: 0; top: 26.5%; width: 35%; height: 66.7%;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 490 420' preserveAspectRatio='none'%3E%3Cpath d='M0 0H278V109A160 160 0 1 1 178 310H0Z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 490 420' preserveAspectRatio='none'%3E%3Cpath d='M0 0H278V109A160 160 0 1 1 178 310H0Z'/%3E%3C/svg%3E"); }
.ohm-hero__shape--b { left: 67%; top: 4.8%; width: 33%; height: 75.9%;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 462 472' preserveAspectRatio='none'%3E%3Cpath d='M0 0H287V195L462 90V472H167V410H0Z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 462 472' preserveAspectRatio='none'%3E%3Cpath d='M0 0H287V195L462 90V472H167V410H0Z'/%3E%3C/svg%3E"); }
.ohm-hero__shape img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease-out; }
.ohm-hero__shape img.is-on { opacity: 1; transform: scale(1); }
.ohm-hero__date { position: absolute; left: 42.7%; top: 11.7%; width: 13.9%; aspect-ratio: 200 / 150; margin: 0; color: var(--ohm-white); font-weight: 600; line-height: 1.05; font-size: clamp(.95rem, 2.2vw, 2.1rem); padding: .55em .6em 0 .7em; display: flex; flex-direction: column; animation: ohmUp .8s .2s cubic-bezier(.2,.7,.2,1) both; }
.ohm-hero__datebox { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ohm-white); overflow: visible; }
.ohm-hero__d1, .ohm-hero__d2 { position: relative; white-space: nowrap; }
.ohm-hero__logo { position: absolute; left: 40.7%; top: 44.2%; width: 18.6%; margin: 0; animation: ohmUp .9s cubic-bezier(.2,.7,.2,1) both; }
.ohm-hero__logo img { width: 100%; height: auto; display: block; }
.ohm-hero__wordmark { display: block; color: var(--ohm-white); font-weight: 800; font-size: clamp(1.2rem, 3vw, 3rem); line-height: .95; }
.ohm-hero__wordmark small { display: block; font-size: .62em; margin-top: .3em; font-family: var(--ohm-font-zh); }
@media (max-width: 767px) {
	.ohm-hero__stage { aspect-ratio: 390 / 600; max-height: none; }
	.ohm-hero__date { left: 50%; top: 5%; width: 42%; font-size: 1.15rem; }
	.ohm-hero__logo { left: 6%; top: 31%; width: 50%; }
	.ohm-hero__shape--b { left: 62%; top: 30%; width: 38%; height: 32%; }
	.ohm-hero__shape--a { left: 0; top: 63%; width: 70%; height: 35%; }
}
@media (prefers-reduced-motion: reduce) { .ohm-hero__shape img { transition: none; transform: none; } .ohm-hero__date, .ohm-hero__logo, .ohm-hero__bubble { animation: none; } }

/* ---------- Theme dialogue boxes ---------- */
.ohm-dialogues { position: relative; width: 330px; max-width: 100%; height: 270px; }
@media (max-width: 767px) { .ohm-dialogues { width: 260px; height: 213px; } }
.ohm-dialogues__en { position: absolute; left: 0; top: 0; width: 72%; height: 64%; color: var(--ohm-orange); }
.ohm-dialogues__en svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ohm-dialogues__en span { position: relative; display: block; padding: 11% 8% 0 9%; font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.7rem); line-height: 1.05; }
.ohm-dialogues__zh { position: absolute; right: 0; top: 24%; width: 50%; color: var(--ohm-black); }
.ohm-dialogues__zh svg { width: 100%; height: auto; display: block; }
.ohm-dialogues__zh span { position: absolute; left: 0; right: 0; top: 0; height: 88%; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ohm-white); font-family: var(--ohm-font-zh); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.75rem); line-height: 1.25; letter-spacing: .04em; }

/* ---------- Building highlights carousel ---------- */
.ohm-hl__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.ohm-hl__track::-webkit-scrollbar { display: none; }
.ohm-hl__card { scroll-snap-align: start; display: flex; flex-direction: column; color: var(--ohm-black); text-decoration: none; }
.ohm-hl__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ohm-peach); }
.ohm-hl__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ohm-hl__card:hover .ohm-hl__media img { transform: scale(1.04); }
.ohm-hl__media .ohm-card__num { position: absolute; left: 12px; top: 12px; }
.ohm-hl__name { margin: .9rem 0 .15rem; font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.ohm-hl__alt { margin: 0; font-size: .95rem; }
.ohm-hl__meta { margin: .35rem 0 0; font-size: .85rem; color: #555; }
.ohm-hl__go { margin-top: .6rem; font-weight: 700; font-size: .9rem; color: var(--ohm-orange); }
.ohm-hl__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.ohm-hl__all { font-weight: 700; color: var(--ohm-black); text-decoration: none; border-bottom: 2px solid var(--ohm-orange); }
.ohm-arrows { display: flex; gap: 1.6rem; }
.ohm-arrows button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 0; color: var(--ohm-black); border-radius: 0; }
.ohm-arrows button svg { width: 22px; height: 40px; }
.ohm-arrows button:disabled { opacity: .25; cursor: default; }
@media (max-width: 1024px) { .ohm-hl__track { grid-auto-columns: calc((100% - 2 * 20px) / 2.6); gap: 20px; } }
@media (max-width: 767px) { .ohm-hl__track { grid-auto-columns: 72%; gap: 14px; } .ohm-hl__name { font-size: 1.05rem; } }

/* ---------- OHM Plus highlights (icons) ---------- */
.ohm-plushl { color: var(--ohm-white); }
.ohm-plushl__title { margin: 0 0 2.2rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; color: var(--ohm-white); }
.ohm-plushl__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2.4rem; }
.ohm-plushl__card { display: flex; flex-direction: column; text-decoration: none; color: var(--ohm-white); }
.ohm-plushl__icon { display: flex; align-items: flex-end; height: 135px; margin-bottom: 1.4rem; }
.ohm-plushl__icon svg, .ohm-plushl__icon img { height: 100%; width: auto; max-width: 100%; display: block; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.ohm-plushl__card:hover .ohm-plushl__icon svg, .ohm-plushl__card:hover .ohm-plushl__icon img { transform: translateY(-6px); }
.ohm-plushl__name { font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.ohm-plushl__text { color: var(--ohm-black); font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 500; line-height: 1.3; max-width: 17ch; }
.ohm-plushl__card:hover .ohm-plushl__text { color: var(--ohm-white); }
.ohm-plushl__go { margin-top: .8rem; font-weight: 700; font-size: .92rem; }
.ohm-plushl__card:hover .ohm-plushl__go { color: var(--ohm-black); }
.ohm-plushl__more { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.4rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.55); }
.ohm-plushl__more-l { font-weight: 700; color: var(--ohm-black); }
.ohm-plushl__more-list { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; flex: 1; }
.ohm-plushl__more-list a, .ohm-plushl__all { color: var(--ohm-white); font-weight: 600; text-decoration: none; }
.ohm-plushl__more-list a:hover, .ohm-plushl__all:hover { color: var(--ohm-black); }
.ohm-plushl__all { font-weight: 700; }
@media (max-width: 1024px) { .ohm-plushl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.ohm-plushl__grid { gap: 2.2rem 1.2rem; }
	.ohm-plushl__icon { height: 90px; margin-bottom: 1rem; }
	.ohm-plushl__name { font-size: 1.1rem; }
	.ohm-plushl__text { font-size: .9rem; }
	.ohm-plushl__more { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .ohm-plushl__icon svg, .ohm-plushl__icon img, .ohm-hl__media img { transition: none; } }

/* ==========================================================================
   v1.8 — draft S2-layout-2
   ========================================================================== */
.ohm-hero__bubble { position: absolute; left: 29.9%; top: 14.5%; width: 11.7%; margin: 0; color: var(--ohm-black); animation: ohmUp .8s .1s cubic-bezier(.2,.7,.2,1) both; }
.ohm-hero__bubble svg { width: 100%; height: auto; display: block; }
.ohm-hero__bubble span { position: absolute; left: 0; right: 0; top: 0; height: 80%; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ohm-white); font-family: var(--ohm-font-zh); font-weight: 700; font-size: clamp(1rem, 2.2vw, 2rem); line-height: 1.25; letter-spacing: .04em; }

@media (max-width: 767px) {
	.ohm-hero__bubble { left: 6%; top: 4%; width: 30%; }
	.ohm-hero__bubble span { font-size: 1.05rem; }
}

/* dark sections (class ohm-dark on the section) */
.ohm-dark { background: var(--ohm-black); color: var(--ohm-white); }
.ohm-dark .ohm-stat__l { color: var(--ohm-white); }
.ohm-dialogues--dark .ohm-dialogues__zh { color: var(--ohm-white); }
.ohm-dialogues--dark .ohm-dialogues__zh span { color: var(--ohm-black); }
.ohm-btn-outline { display: inline-block; border: 2px solid currentColor; padding: .45em 1em .4em; font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ohm-black); border-radius: 0; line-height: 1.2; }
.ohm-btn-outline:hover { background: var(--ohm-black); color: var(--ohm-white); border-color: var(--ohm-black); }
.ohm-dark .ohm-btn-outline { color: var(--ohm-white); }
.ohm-dark .ohm-btn-outline:hover { background: var(--ohm-white); color: var(--ohm-black); border-color: var(--ohm-white); }

/* What's new */
.ohm-wn__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; }
.ohm-wn__h { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 400; line-height: 1.1; }
.ohm-wn__head .ohm-btn-outline { min-width: 120px; }
.ohm-wn__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; }
.ohm-wn__card { display: flex; flex-direction: column; text-decoration: none; color: var(--ohm-black); }
.ohm-wn__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ohm-peach); margin-bottom: 1.3rem; }
.ohm-wn__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ohm-wn__card:hover .ohm-wn__media img { transform: scale(1.04); }
.ohm-wn__label { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .55rem; }
.ohm-wn__title { font-size: 1.3rem; font-weight: 700; line-height: 1.2; margin-bottom: .55rem; }
.ohm-wn__sub { font-size: 1.3rem; font-weight: 400; }
.ohm-wn__text { font-size: .95rem; line-height: 1.55; }
.ohm-wn__more { margin-top: .9rem; font-weight: 700; font-size: .95rem; }
.ohm-wn__card:hover .ohm-wn__title, .ohm-wn__card:hover .ohm-wn__more { color: var(--ohm-orange); }
@media (max-width: 1024px) { .ohm-wn__grid { gap: 2rem 1.5rem; } }
@media (max-width: 767px) { .ohm-wn__grid { grid-template-columns: 1fr; } .ohm-wn__h { font-size: 1.8rem; } }
@media (prefers-reduced-motion: reduce) { .ohm-wn__media img { transition: none; } }

/* ==========================================================================
   v1.9 — flat menu: Sites page views, home gallery and “How it works”,
   OHM Plus gallery, Join cards
   ========================================================================== */
/* Sites: three views */
.ohm-toggle button[data-view="schedule"] { border-left: 0; }
.ohm-schedview .ohm-sched-day { margin: 1.4rem 0 .6rem; }
.ohm-schedview .ohm-sched-day:first-child { margin-top: .4rem; }
.ohm-filters__row .ohm-select select { min-width: 0; }

/* Home: horizontal scrolling gallery of highlights */
.ohm-gal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.ohm-gal__h { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 400; line-height: 1.1; }
.ohm-gal__track { margin-right: calc(50% - 50vw); padding-right: 16px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; cursor: grab; scroll-behavior: smooth; }
.ohm-gal__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.ohm-gal__track::-webkit-scrollbar { display: none; }
.ohm-gal__item { flex: 0 0 auto; width: clamp(240px, 26vw, 360px); scroll-snap-align: start; text-decoration: none; color: var(--ohm-black); display: flex; flex-direction: column; user-select: none; }
.ohm-gal__item.is-tall { width: clamp(200px, 20vw, 280px); }
.ohm-gal__media { display: block; height: clamp(260px, 30vw, 400px); overflow: hidden; background: var(--ohm-peach); }
.ohm-gal__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; pointer-events: none; }
.ohm-gal__item:hover .ohm-gal__media img { transform: scale(1.04); }
.ohm-gal__label { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ohm-gal__num { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 5px; background: var(--ohm-orange); color: var(--ohm-black); font-size: .8rem; letter-spacing: 0; }
.ohm-gal__num--black { background: var(--ohm-black); color: var(--ohm-white); }
.ohm-gal__num--white { background: var(--ohm-white); color: var(--ohm-black); box-shadow: inset 0 0 0 2px var(--ohm-black); }
.ohm-gal__name { margin-top: .35rem; font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.ohm-gal__item:hover .ohm-gal__name { color: var(--ohm-orange); }
.ohm-gal__foot { display: flex; justify-content: flex-end; margin-top: 1rem; }
body:has(.ohm-gal) { overflow-x: hidden; }

/* Home: How Open House Macau works (orange section) */
.ohm-how__h { margin: 0 0 2.4rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 400; color: var(--ohm-white); line-height: 1.1; }
.ohm-how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2.2rem; counter-reset: none; }
.ohm-how__step { position: relative; }
.ohm-how__g { display: block; height: 110px; margin-bottom: 1.2rem; }
.ohm-how__g svg { height: 100%; width: auto; display: block; }
.ohm-how__n { position: absolute; left: 0; top: 0; transform: translate(-30%, -40%); width: 30px; height: 30px; display: none; }
.ohm-how__t { margin: 0 0 .55rem; font-size: 1.25rem; font-weight: 700; color: var(--ohm-white); }
.ohm-how__t::before { content: counter(list-item) ". "; color: var(--ohm-black); }
.ohm-how__d { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--ohm-black); }
.ohm-how__types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.6); }
.ohm-how__type { display: flex; flex-direction: column; gap: .3rem; }
.ohm-how__type b { display: inline-block; width: max-content; padding: .2rem .55rem; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; position: relative; }
.ohm-how__type b::after { content: ""; position: absolute; left: 8px; bottom: -7px; border-left: 8px solid transparent; border-top: 8px solid currentColor; }
.ohm-how__type--open b { background: var(--ohm-white); color: var(--ohm-black); } .ohm-how__type--open b::after { border-top-color: var(--ohm-white); }
.ohm-how__type--reg b { background: var(--ohm-black); color: var(--ohm-white); } .ohm-how__type--reg b::after { border-top-color: var(--ohm-black); }
.ohm-how__type--spec b { box-shadow: inset 0 0 0 2px var(--ohm-white); color: var(--ohm-white); } .ohm-how__type--spec b::after { border-top-color: var(--ohm-white); }
.ohm-how__type span { margin-top: .5rem; font-size: .95rem; color: var(--ohm-black); }
@media (max-width: 1024px) { .ohm-how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ohm-how__steps, .ohm-how__types { grid-template-columns: 1fr; } .ohm-how__g { height: 80px; } }

/* OHM Plus page: gallery of programmes */
.ohm-pg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem 2rem; }
.ohm-pg__card { display: flex; flex-direction: column; text-decoration: none; color: var(--ohm-black); }
.ohm-pg__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ohm-orange); margin-bottom: 1rem; }
.ohm-pg__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ohm-pg__noimg { display: flex; height: 100%; align-items: center; justify-content: center; }
.ohm-pg__noimg svg { height: 55%; width: auto; }
.ohm-pg__card:hover .ohm-pg__media img { transform: scale(1.04); }
.ohm-pg__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ohm-orange); }
.ohm-pg__name { font-size: 1.5rem; font-weight: 700; margin: .25rem 0 .5rem; line-height: 1.15; }
.ohm-pg__text { font-size: 1rem; line-height: 1.5; }
.ohm-pg__more { margin-top: .8rem; font-weight: 700; font-size: .95rem; }
.ohm-pg__card:hover .ohm-pg__name, .ohm-pg__card:hover .ohm-pg__more { color: var(--ohm-orange); }
@media (max-width: 1024px) { .ohm-pg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ohm-pg { grid-template-columns: 1fr; } }

/* Join page: three cards */
.ohm-join { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 2rem; }
.ohm-join__card { display: flex; flex-direction: column; align-items: flex-start; }
.ohm-join__g { display: block; width: 100%; margin-bottom: 1.4rem; }
.ohm-join__g svg { width: 100%; height: auto; display: block; }
.ohm-join__t { margin: 0 0 .6rem; font-size: 1.6rem; font-weight: 700; line-height: 1.15; }
.ohm-join__d { margin: 0 0 1.4rem; font-size: 1.02rem; line-height: 1.5; flex: 1; }
@media (max-width: 860px) { .ohm-join { grid-template-columns: 1fr; } .ohm-join__g { max-width: 420px; } }
@media (prefers-reduced-motion: reduce) { .ohm-gal__media img, .ohm-pg__media img { transition: none; } }

/* v1.10 — keep plugin images and arrows stable inside Elementor / Hello themes */
.ohm-gal__media img, .ohm-pg__media img, .ohm-wn__media img, .ohm-hl__media img, .ohm-hero__shape img, .ohm-tile img { height: 100% !important; max-width: none; }
.ohm-arrows button, .ohm-arrows button:hover, .ohm-arrows button:focus { background: transparent !important; border: 0 !important; color: var(--ohm-black) !important; box-shadow: none !important; padding: 0 !important; }
.ohm-arrows button:disabled { opacity: .25; }
/* v1.11 — keep wide plugin blocks inside Elementor containers on phones */
.elementor-widget-shortcode, .elementor-widget-shortcode .elementor-shortcode, .ohm-app, .ohm-filters, .ohm-filters__row { min-width: 0; max-width: 100%; }
@media (max-width: 767px) { .elementor-widget-shortcode { width: 100%; } }
.ohm-filters__row, .ohm-select, .ohm-search, .ohm-check { position: relative; }
