/* ECHIVO /oradea/monumente — monuments.css · hub + monument pages (tools/build_monuments.py).
   Phone first. Static: no JS needed to read the page, no animation library. Loaded after base.css + core.css.
   Colour discipline: black base, gold as the only accent, one gold button per page (the signup); a faint violet
   night glow only inside drawn headers. Everything is prefixed om-. */

.om-page { background: #030408; }
.om { --om-max: 1180px; --om-read: 720px; --om-violet: 157, 123, 255; }
.om .container { max-width: var(--om-max); }
.om-narrow { max-width: calc(var(--om-read) + 2 * var(--gutter)) !important; }
.om-sec { padding: clamp(36px, 6vh, 72px) 0; border-top: 1px solid var(--hairline); }
.om .ox-h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); margin-bottom: 16px; }
.om-h3 { font-size: 1.12rem; line-height: 1.25; margin: 28px 0 8px; font-weight: 750; letter-spacing: -.005em; }
.om-note { font-size: .82rem; line-height: 1.5; color: var(--text-3); margin: 12px 0 0; }

/* ---------- hero ---------- */
.om-hero { position: relative; isolation: isolate; }
.om-hero__media { position: relative; height: min(52svh, 440px); min-height: 300px; overflow: hidden; background: #0a0c14; }
.om-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.om-hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,4,8,.55) 0%, rgba(3,4,8,0) 26%, rgba(3,4,8,0) 48%, rgba(3,4,8,.82) 84%, #030408 100%); }
.om-hero__in { position: relative; z-index: 1; margin-top: -92px; padding-bottom: 20px; }
.om-crumbs { margin-bottom: 10px; font-size: .78rem; gap: 6px; }
.om-crumbs [aria-current] { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }
.om-eyebrow { margin: 0 0 8px; color: var(--gold); font-size: .68rem; letter-spacing: .2em; }
.om-h1 { margin: 0; font-size: clamp(2rem, 9.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
.om-hook { margin: 12px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.35; color: var(--text-2); max-width: 34ch; text-wrap: balance; }

/* drawn header (no photo): constellation of the 10 monuments + year + glyph */
.om-art { background:
  radial-gradient(120% 90% at 78% 18%, rgba(var(--om-violet), .22), transparent 60%),
  radial-gradient(90% 70% at 10% 90%, rgba(245,200,130,.10), transparent 62%), #05060c; }
.om-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.om-sky__line { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1; stroke-dasharray: 2 5; }
.om-sky__dot { fill: rgba(255,255,255,.7); }
.om-sky__cur { fill: var(--gold); }
.om-sky__halo { fill: rgba(245,200,130,.16); stroke: rgba(245,200,130,.5); stroke-width: 1; }
.om-art__mark { position: absolute; left: var(--gutter); top: 96px; font-size: clamp(5.4rem, 30vw, 11rem); font-weight: 900; line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(245,200,130,.36); user-select: none; }
.om-glyph { position: absolute; right: calc(var(--gutter) - 6px); bottom: 84px; width: min(40vw, 190px); height: auto; color: var(--gold); opacity: .9; }
.om-art--hub .om-sky__dot { fill: var(--gold); r: 3.4px; }
.om-art--hub .om-sky__line { stroke: rgba(245,200,130,.4); }

/* ---------- key facts ---------- */
.om-keyfacts { padding: 4px 0 28px; }
.om-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; }
.om-fact { background: #07090f; padding: 12px 14px; min-width: 0; }
.om-fact:first-child { grid-column: 1 / -1; }
.om-fact dt { font-size: .64rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.om-fact dd { margin: 0; font-size: .95rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.om-fact small { display: block; font-size: .7rem; font-weight: 500; color: var(--text-3); }

/* ---------- story ---------- */
.om-story { border-top: 0; padding-top: 12px; }
.om-lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--text); margin: 0; }
.om-story p { margin: 0; }
.om-story p:not(.om-lead) { color: var(--text-2); font-size: 1.04rem; line-height: 1.65; }
.om-fig { margin: 24px 0 4px; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: #0a0c14; }
.om-fig__img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- did you know ---------- */
.om-dyk__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.om-dyk__i { display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 4px; padding: 16px 16px 16px 12px; border: 1px solid var(--hairline); border-radius: 18px; background: #07090f; }
.om-dyk__n { font-size: 1.9rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); text-align: center; }
.om-dyk__i p { margin: 0; font-size: 1rem; line-height: 1.5; }

/* ---------- practical ---------- */
.om-prac__dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--hairline); }
.om-prac__dl dt { padding-top: 14px; font-size: .64rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.om-prac__dl dd { margin: 0; padding: 4px 0 14px; border-bottom: 1px solid var(--hairline); line-height: 1.5; }
.om-prac__dl a, .om-src a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.om-prac__links, .om-next__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.om .btn-glass { padding: 12px 18px; font-size: .9rem; min-height: 44px; }

/* ---------- maps (schematic, inline SVG) ---------- */
.om-rmap { margin: 0; border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; background: #06080e; }
.om-rmap figcaption { padding: 12px 16px 0; font-size: .68rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.om-rmap__svg { display: block; width: 100%; height: auto; }
.om-rmap__grid line { stroke: rgba(255,255,255,.045); stroke-width: 1; }
.om-rmap__line { fill: none; stroke: rgba(245,200,130,.45); stroke-width: 1.4; stroke-dasharray: 3 5; }
.om-rmap__n circle { fill: #0b0d14; stroke: var(--gold); stroke-width: 1.4; }
.om-rmap__n text { fill: var(--gold); font-weight: 800; font-family: var(--font); }
.om-rmap__v circle { fill: #0b0d14; stroke: rgba(255,255,255,.5); stroke-width: 1.2; }
.om-rmap__v text { fill: rgba(255,255,255,.85); font-weight: 700; font-family: var(--font); }
.om-rmap__here circle { fill: var(--gold); }
.om-rmap__here .om-rmap__halo { fill: rgba(245,200,130,.16); stroke: rgba(245,200,130,.5); stroke-width: 1; }
.om-rmap__scale line { stroke: var(--text-3); stroke-width: 1.5; }
.om-rmap__scale text { fill: var(--text-3); font-family: var(--font); }

/* ---------- nearby ---------- */
.om-nearby__lead { margin: -6px 0 18px; }
.om-nearby__grid { display: grid; gap: 8px 28px; }
.om-nearby__col .om-h3 { margin-top: 22px; }
.om-near__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.om-near { display: grid; grid-template-columns: 56px 1fr; grid-template-areas: "tile name" "tile d"; column-gap: 14px; align-items: center; position: relative;
  padding: 10px; border: 1px solid var(--hairline); border-radius: 18px; background: #07090f; min-height: 64px; transition: border-color .2s, background .2s; }
.om-near:hover { border-color: rgba(245,200,130,.5); background: #0a0d15; }
.om-tile { grid-area: tile; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #0c0f18; display: grid; place-items: center; }
.om-tile__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.om-tile__glyph { width: 36px; height: 36px; color: var(--gold); }
.om-near__n { position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 800;
  background: #0b0d14; color: var(--gold); border: 1px solid var(--gold); }
.om-near__name { grid-area: name; font-weight: 700; line-height: 1.25; align-self: end; }
.om-near__d { grid-area: d; font-size: .82rem; color: var(--text-3); align-self: start; }
.om-near--v { grid-template-columns: 34px 1fr; grid-template-areas: "n name" "n kind" "n d"; padding: 12px 14px 12px 10px; }
.om-near--v .om-near__n--v { position: static; grid-area: n; width: 28px; height: 28px; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.5); font-size: .74rem; align-self: center; }
.om-near__kind { grid-area: kind; font-size: .82rem; color: var(--text-2); }
.om-near__list--grid .om-near--v { grid-template-columns: 1fr; grid-template-areas: "name" "kind" "d"; padding: 14px 16px; }

/* ---------- audio guide signup ---------- */
.om-audio { border-top: 0; padding-top: 8px; }
.om-audio__card { position: relative; overflow: hidden; padding: 28px 20px 24px; border-radius: 28px; text-align: center; border: 1px solid rgba(245,200,130,.28);
  background: radial-gradient(120% 120% at 50% -10%, rgba(245,200,130,.14), transparent 55%), radial-gradient(90% 90% at 90% 110%, rgba(var(--om-violet), .14), transparent 60%), #07090f; }
.om-audio__waves { display: flex; align-items: center; justify-content: center; gap: 5px; height: 34px; margin-bottom: 14px; }
.om-audio__waves i { width: 4px; border-radius: 4px; background: var(--gold); opacity: .9; }
.om-audio__waves i:nth-child(1), .om-audio__waves i:nth-child(7) { height: 22%; opacity: .45; }
.om-audio__waves i:nth-child(2), .om-audio__waves i:nth-child(6) { height: 52%; opacity: .7; }
.om-audio__waves i:nth-child(3), .om-audio__waves i:nth-child(5) { height: 78%; }
.om-audio__waves i:nth-child(4) { height: 100%; }
.om-audio__eyebrow { margin: 0 0 8px; color: var(--gold); font-size: .68rem; letter-spacing: .2em; }
.om-audio__h { margin: 0; font-size: clamp(1.55rem, 3.4vw, 2.6rem); line-height: 1.02; text-wrap: balance; }
.om-audio__p { margin: 12px auto 0; max-width: 52ch; color: var(--text-2); line-height: 1.55; }
.om-wl { margin-top: 20px; }
.om-wl .ox-wl__form { background: rgba(255,255,255,.05); }
.om-wl .ox-wl__input { min-height: 44px; font-size: 16px; }   /* 16px: no zoom on focus in iOS Safari */
.om-wl .ox-wl__privacy { max-width: 46ch; }

/* ---------- FAQ / onward ---------- */
.om-faq .ox-q { border-bottom: 1px solid var(--hairline); padding: 14px 0; }
.om-faq .ox-q summary { cursor: pointer; font-weight: 700; line-height: 1.35; }
.om-faq .ox-q p { margin: 10px 0 0; color: var(--text-2); line-height: 1.6; }
.om-pn__row { display: grid; gap: 10px; }
.om-pn { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--hairline); border-radius: 20px; background: #07090f; min-height: 76px; justify-content: center; transition: border-color .2s; }
.om-pn:hover { border-color: rgba(245,200,130,.5); }
.om-pn--next { text-align: right; }
.om-pn__k { font-size: .66rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.om-pn__name { font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.om-src { margin-top: 26px; font-size: .84rem; color: var(--text-3); }
.om-src summary { cursor: pointer; font-weight: 700; color: var(--text-2); min-height: 44px; display: flex; align-items: center; }
.om-src p { margin: 4px 0 8px; }
.om-src ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.om-src a { overflow-wrap: anywhere; }

/* ---------- hub ---------- */
.om-hero--hub .om-hero__media { height: 250px; min-height: 0; }
.om-hero--hub .om-hero__in { margin-top: -34px; }
.om-hero--hub .om-sky { top: 76px; height: calc(100% - 96px); }
.om-hub__intro { margin: 16px 0 0; max-width: 62ch; color: var(--text-2); line-height: 1.6; }
.om-stats { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; max-width: 560px; }
.om-stats li { background: #07090f; padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.om-stats b { font-size: 1.5rem; font-weight: 900; line-height: 1; color: var(--gold); }
.om-stats span { font-size: .72rem; line-height: 1.3; color: var(--text-3); }
.om-route__grid { display: grid; gap: 12px; }
.om-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.om-card { position: relative; padding-bottom: 34px; }
.om-card:last-child { padding-bottom: 0; }
.om-card__a { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: stretch; padding: 10px; border: 1px solid var(--hairline); border-radius: 22px; background: #07090f; position: relative; transition: border-color .2s, background .2s; }
.om-card__a:hover { border-color: rgba(245,200,130,.5); background: #0a0d15; }
.om-card__tile { border-radius: 14px; overflow: hidden; background: radial-gradient(120% 100% at 80% 10%, rgba(var(--om-violet), .2), transparent 60%), #0b0e17; display: grid; place-items: center; min-height: 128px; }
.om-card__tile__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.om-card__tile__glyph { width: 62%; height: auto; color: var(--gold); }
.om-card__n { position: absolute; left: 18px; top: 16px; font-size: .78rem; font-weight: 900; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; background: rgba(3,4,8,.78); color: var(--gold); border: 1px solid rgba(245,200,130,.5); }
.om-card__body { display: flex; flex-direction: column; gap: 5px; padding: 6px 6px 6px 0; min-width: 0; }
.om-card__name { font-size: 1.12rem; line-height: 1.08; overflow-wrap: anywhere; }
.om-card__hook { font-size: .92rem; line-height: 1.35; color: var(--text-2); }
.om-card__meta { font-size: .76rem; line-height: 1.35; color: var(--text-3); }
.om-card__cta { margin-top: auto; padding-top: 4px; font-size: .8rem; font-weight: 750; color: var(--gold); }
.om-card__cta::after { content: " →"; }
.om-card__leg { position: absolute; left: 62px; bottom: 0; height: 34px; display: flex; align-items: center; padding-left: 16px; font-size: .74rem; color: var(--text-3); border-left: 1px dashed rgba(245,200,130,.45); }
.om-catrow { margin-top: 22px; }
.om-catrow a { min-height: 44px; display: inline-flex; align-items: center; }
.ox-nearby__more { margin: 18px 0 0; font-size: .92rem; }
.ox-nearby__more a, .ox-mon__link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- tablet / desktop ---------- */
@media (min-width: 620px) {
  .om-facts { grid-template-columns: repeat(3, 1fr); }
  .om-fact:first-child { grid-column: auto; }
  .om-dyk__list { grid-template-columns: repeat(3, 1fr); }
  .om-dyk__i { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .om-dyk__n { text-align: left; }
  .om-pn__row { grid-template-columns: 1fr 1fr; }
  .om-pn--next:first-child { grid-column: 2; }
  .om-route__grid { grid-template-columns: 1fr 1fr; }
  .om-near__list--grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .om-prac__dl { grid-template-columns: 170px 1fr; }
  .om-prac__dl dt { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
  .om-prac__dl dd { padding: 14px 0; }
  .om-audio__card { padding: 44px 32px 36px; }
}
@media (min-width: 900px) {
  .om-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0 48px; max-width: var(--om-max);
    margin: 0 auto; padding: 112px var(--gutter) 28px; }
  .om-hero__media { order: 2; height: min(64vh, 560px); min-height: 420px; border-radius: 32px; }
  .om-hero__media::after { background: linear-gradient(180deg, rgba(3,4,8,0) 60%, rgba(3,4,8,.35) 100%); }
  .om-hero__in { order: 1; margin: 0; padding: 0 0 12px; max-width: none; }
  .om-hero .container { padding-left: 0; padding-right: 0; }
  .om-h1 { font-size: clamp(3rem, 5.2vw, 4.9rem); }
  .om-h1 { hyphens: manual; overflow-wrap: normal; }
  .om-h1--long { font-size: clamp(2.2rem, 3.7vw, 3.5rem); }
  .om-art__mark { top: 34px; left: 34px; font-size: clamp(8rem, 13vw, 12rem); }
  .om-glyph { right: 34px; bottom: 34px; width: 210px; }
  .om-keyfacts { padding-top: 8px; }
  .om-facts { grid-template-columns: 1.3fr 1fr 1.3fr .9fr 1.2fr; }
  .om-fact { padding: 16px 18px; }
  .om-nearby__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .om-nearby__col .om-h3 { margin-top: 0; }
  .om-hero--hub { align-items: center; }
  .om-hero--hub .om-hero__media { height: 420px; }
  .om-hero--hub .om-sky { top: 20px; height: calc(100% - 40px); }
  .om-hero--hub .om-hero__in { margin: 0; }
  .om-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .om-card { padding-bottom: 0; display: flex; flex-direction: column; }
  .om-card__a { grid-template-columns: 150px 1fr; flex: 1; }
  .om-card__tile { min-height: 150px; }
  .om-card__leg { position: static; height: auto; border: 0; padding: 8px 12px 0; }
  .om-card__name { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .om * { transition: none !important; } }
