/*
 * Pages (Proposal 01): home, about, news, events, calls, membership, archive, contact, 404, search.
 * Ported from the reviewed Next.js implementation (src/styles/public.css), every rule scoped to ".hdf-pg" (the main
 * element) and prefixed "html body" to win over Hello Elementor and the Elementor kit. Markup: inc/pages.php.
 */
html body .hdf-pg {
	--navy: #142940; --navy-deep: #0e1e30; --blue: #285d98; --red: #c6353b; --red-dark: #a82c31;
	--warm: #fbfaf7; --cool: #f5f8fb; --line: #dce6ee; --line-soft: #edf2f6; --text: #2a3b4f; --text-2: #3d4f63;
	--muted: #5a6b7d; --on-dark: #c9d6e3; --on-dark-2: #a9bcd0; --on-dark-3: #7f95ab; --rose: #fbf1f1;
	--rose-2: #fbedee; --rose-text: #5a3a3c; --status: #eef2f6; --border-dark: #2c4560; --input: #c9d6e3;
	--serif: 'Newsreader', Georgia, serif; --sans: 'Manrope', system-ui, sans-serif; --mono: 'IBM Plex Mono', monospace;
	--hdf-pg-gutter: clamp(20px, 4.5cqi, 64px);
	container-type: inline-size; display: block; width: 100%; max-width: none; margin: 0; padding: 0;
	background: #fff; color: var(--text); font-family: var(--sans); text-align: left;
}
html body .hdf-pg *, html body .hdf-pg *::before, html body .hdf-pg *::after { box-sizing: border-box; }
html body .hdf-pg h1, html body .hdf-pg h2, html body .hdf-pg h3, html body .hdf-pg h4, html body .hdf-pg p,
html body .hdf-pg figure, html body .hdf-pg dl, html body .hdf-pg dd, html body .hdf-pg ol, html body .hdf-pg ul { margin: 0; }
html body .hdf-pg a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; background: none; }
html body .hdf-pg a:hover { color: var(--navy); }
html body .hdf-pg img { max-width: 100%; }
html body .hdf-pg .elementor-widget, html body .hdf-pg .elementor-widget-container { margin: 0; --widgets-spacing: 0px; }
html body .hdf-pg.e-con, html body .hdf-pg .e-con { --gap: 0px; --widgets-spacing: 0px; gap: 0; padding: 0; }
html body .hdf-pg .wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--hdf-pg-gutter); padding-right: var(--hdf-pg-gutter); width: 100%; }
html body .hdf-pg .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html body .hdf-pg .serif { font-family: var(--serif); font-weight: 400; }
/* Gumbi i oznake */
html body .hdf-pg .btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border: 1px solid var(--navy); font: 600 15px/1 var(--sans); cursor: pointer; border-radius: 2px; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
html body .hdf-pg .btn-sm { height: 48px; padding: 0 22px; }
html body .hdf-pg .btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
html body .hdf-pg .btn-solid { background: var(--navy); color: #fff; }
html body .hdf-pg .btn-solid:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
html body .hdf-pg .btn-ghost { background: transparent; color: var(--navy); }
html body .hdf-pg .btn-ghost:hover { background: var(--navy); color: #fff; }
html body .hdf-pg .btn-line { color: var(--navy); border-color: var(--line); }
html body .hdf-pg .btn-line:hover { border-color: var(--navy); color: var(--navy); }
html body .hdf-pg .btn-red { background: var(--red); border-color: var(--red); color: #fff; }
html body .hdf-pg .btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
html body .hdf-pg .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
html body .hdf-pg .link-u { display: inline-block; border-bottom: 1px solid var(--blue); padding: 0 0 4px; font: 600 15px/1 var(--sans); color: var(--blue); text-decoration: none; }
html body .hdf-pg .link-u:hover { color: var(--navy); border-color: var(--navy); }
html body .hdf-pg .kicker { display: flex; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .kicker > span:first-child { color: var(--red); }
html body .hdf-pg .kicker-rule { border-top: 1px solid var(--navy); padding-top: 16px; }
html body .hdf-pg .label { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
html body .hdf-pg .label-rule { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--navy); padding-top: 16px; }
html body .hdf-pg .pill-open { font: 600 11.5px/1 var(--sans); color: var(--red-dark); background: var(--rose-2); padding: 5px 9px; border-radius: 999px; }
html body .hdf-pg .pill-done { font: 600 12px/1 var(--sans); color: var(--text-2); background: var(--status); padding: 6px 10px; border-radius: 999px; }
html body .hdf-pg .pill-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
html body .hdf-pg .chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
html body .hdf-pg .chips-label { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
html body .hdf-pg .chip { height: 36px; padding: 0 14px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 600 13px/1 var(--sans); border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: border-color .2s; }
html body .hdf-pg .chip:hover { border-color: var(--navy); color: var(--navy); }
html body .hdf-pg .chip[aria-pressed='true'], html body .hdf-pg .chip[aria-current='true'] { background: var(--navy); border-color: var(--navy); color: #fff; }
html body .hdf-pg .chip small { font: 400 11px/1 var(--mono); opacity: .7; }

/* Zaglavlje podstranice */
html body .hdf-pg .page-head { background: var(--warm); border-bottom: 1px solid var(--line); }
html body .hdf-pg .page-head-in { padding-top: clamp(40px, 6cqi, 88px); padding-bottom: clamp(40px, 6cqi, 88px); }
html body .hdf-pg .page-head-tight .page-head-in { padding-top: clamp(40px, 6cqi, 80px); padding-bottom: clamp(40px, 6cqi, 80px); }
html body .hdf-pg .crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12px/1 var(--mono); color: var(--muted); }
html body .hdf-pg .detail-head .crumbs, html body .hdf-pg .page-head-tight .crumbs { line-height: 1.4; }
html body .hdf-pg .crumbs a { color: var(--blue); text-decoration: none; }
html body .hdf-pg .page-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7cqi, 96px); line-height: 1; letter-spacing: -.02em; color: var(--navy); margin-top: 28px; text-wrap: balance; }
html body .hdf-pg .page-lead { font: 400 clamp(18px, 1.6cqi, 22px)/1.55 var(--sans); color: var(--text); max-width: 720px; margin-top: 24px; text-wrap: pretty; }

/* Naslovnica: hero */
html body .hdf-pg .hero { position: relative; overflow: hidden; background: var(--warm); border-bottom: 1px solid var(--line); }
html body .hdf-pg .hero-rings { position: absolute; right: -220px; top: -240px; width: 520px; height: 520px; pointer-events: none; }
html body .hdf-pg .hero-rings i { position: absolute; border: 1px solid rgba(40, 93, 152, .28); border-radius: 50%; display: block; }
html body .hdf-pg .hero-rings i:nth-child(1) { inset: 0; border-color: rgba(40, 93, 152, .16); }
html body .hdf-pg .hero-rings i:nth-child(2) { inset: 70px; border-color: rgba(40, 93, 152, .2); }
html body .hdf-pg .hero-rings i:nth-child(3) { left: 96px; top: 300px; width: 86px; height: 86px; }
html body .hdf-pg .hero-rings i:nth-child(4) { left: 168px; top: 360px; width: 40px; height: 40px; }
html body .hdf-pg .hero-rings i:nth-child(5) { left: 132px; top: 336px; width: 9px; height: 9px; background: var(--red); border: none; }
html body .hdf-pg .hero-in { position: relative; padding-top: clamp(28px, 4cqi, 56px); }
html body .hdf-pg .ribbon { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 7px 16px 7px 7px; border: 1px solid var(--line); background: #fff; border-radius: 999px; text-align: left; max-width: 100%; text-decoration: none; transition: border-color .2s; }
html body .hdf-pg .ribbon:hover { border-color: var(--blue); }
html body .hdf-pg .ribbon-tag { background: var(--red); color: #fff; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
html body .hdf-pg .ribbon-text { font: 500 14px/1.4 var(--sans); color: var(--navy); }
html body .hdf-pg .ribbon-dl { font: 500 12px/1.4 var(--mono); color: var(--red-dark); }
html body .hdf-pg .hero-grid { display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: flex-end; margin-top: clamp(40px, 6cqi, 88px); }
html body .hdf-pg .hero-left { flex: 1 1 560px; min-width: 0; }
html body .hdf-pg .hero-eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 24px; }
html body .hdf-pg .hero-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.8cqi, 104px); line-height: .95; letter-spacing: -.025em; color: var(--navy); text-wrap: balance; }
html body .hdf-pg .hero-h1 em { font-style: italic; color: var(--blue); }
html body .hdf-pg .hero-right { flex: 1 1 340px; max-width: 440px; padding-bottom: 10px; }
html body .hdf-pg .hero-lead { font: 400 clamp(17px, 1.45cqi, 20px)/1.6 var(--sans); color: var(--text); text-wrap: pretty; }
html body .hdf-pg .hero-right .btn-row { margin-top: 28px; }
html body .hdf-pg .hero-fig { margin-top: clamp(40px, 5cqi, 72px); }
html body .hdf-pg .hero-img { display: block; width: 100%; height: clamp(260px, 40cqi, 580px); object-fit: cover; object-position: 50% 40%; background: #e7edf3; }
html body .hdf-pg .hero-cap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0 18px; font: 400 12px/1.5 var(--mono); color: var(--muted); }
html body .hdf-pg .hero-spacer { height: clamp(48px, 6cqi, 96px); }

/* Naslovnica: blokovi */
html body .hdf-pg .split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
html body .hdf-pg .split-left { flex: 0 1 260px; border-top: 1px solid var(--navy); padding-top: 16px; align-self: flex-start; }
html body .hdf-pg .split-right { flex: 1 1 560px; min-width: 0; border-top: 1px solid var(--line); padding-top: 16px; }
html body .hdf-pg .sec-about { padding-top: clamp(64px, 9cqi, 128px); padding-bottom: clamp(64px, 9cqi, 128px); }
html body .hdf-pg .h2-lg { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4cqi, 46px); line-height: 1.18; letter-spacing: -.01em; color: var(--navy); text-wrap: pretty; max-width: 900px; }
html body .hdf-pg .about-row { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 32px; align-items: flex-end; }
html body .hdf-pg .about-row p { flex: 1 1 380px; font: 400 17px/1.7 var(--sans); color: var(--text-2); max-width: 620px; text-wrap: pretty; }
html body .hdf-pg .band-cool { background: var(--cool); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
html body .hdf-pg .sec-now { padding-top: clamp(64px, 9cqi, 120px); padding-bottom: clamp(64px, 9cqi, 120px); }
html body .hdf-pg .sec-now .kicker-rule { margin-bottom: 40px; }
html body .hdf-pg .award-card { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); }
html body .hdf-pg .award-dl { flex: 1 1 260px; max-width: 100%; background: var(--rose); padding: clamp(28px, 3cqi, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
html body .hdf-pg .dl-label { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-dark); }
html body .hdf-pg .dl-day { font-family: var(--serif); font-size: clamp(88px, 9cqi, 136px); line-height: .85; color: var(--red); letter-spacing: -.03em; }
html body .hdf-pg .dl-month { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--navy); margin-top: 10px; }
html body .hdf-pg .dl-note { font: 400 13px/1.5 var(--sans); color: var(--rose-text); }
html body .hdf-pg .award-main { flex: 3 1 480px; min-width: 0; padding: clamp(28px, 3.4cqi, 52px); }
html body .hdf-pg .h2-card { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2cqi, 44px); line-height: 1.1; color: var(--navy); margin-top: 16px; text-wrap: balance; }
html body .hdf-pg .award-sub { font: 500 16px/1.5 var(--sans); color: var(--text-2); margin-top: 8px; }
html body .hdf-pg .kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
html body .hdf-pg .kv-grid dt { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
html body .hdf-pg .kv-grid dd { font: 400 15px/1.6 var(--sans); color: var(--text); }
html body .hdf-pg .band-navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
html body .hdf-pg .navy-ring { position: absolute; left: -160px; bottom: -200px; width: 480px; height: 480px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; pointer-events: none; }
html body .hdf-pg .sec-recent { position: relative; padding-top: clamp(64px, 9cqi, 128px); padding-bottom: clamp(64px, 9cqi, 128px); }
html body .hdf-pg .kicker-dark { color: var(--on-dark-2); border-top: 1px solid rgba(255, 255, 255, .5); padding-top: 16px; margin-bottom: 48px; }
html body .hdf-pg .kicker-dark > span:first-child { color: #f08a8e; }
html body .hdf-pg .recent-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
html body .hdf-pg .recent-media { flex: 1 1 520px; min-width: 0; }
html body .hdf-pg .recent-banner { background: #fff; padding: 14px 16px; }
html body .hdf-pg .img-auto { display: block; width: 100%; height: auto; }
html body .hdf-pg .recent-img { display: block; width: 100%; height: clamp(220px, 30cqi, 420px); object-fit: cover; object-position: 30% 55%; background: #1d3550; }
html body .hdf-pg .recent-text { flex: 1 1 420px; min-width: 0; }
html body .hdf-pg .pill-light { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--sans); color: var(--navy); background: var(--line); padding: 6px 10px; border-radius: 999px; }
html body .hdf-pg .recent-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2cqi, 44px); line-height: 1.12; margin-top: 20px; text-wrap: balance; }
html body .hdf-pg .recent-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; font: 500 13px/1.4 var(--mono); color: var(--on-dark); }
html body .hdf-pg .recent-lead { font: 400 17px/1.7 var(--sans); color: #e3eaf1; margin-top: 24px; text-wrap: pretty; }
html body .hdf-pg .recent-body { font: 400 15px/1.7 var(--sans); color: var(--on-dark-2); margin-top: 12px; text-wrap: pretty; }
html body .hdf-pg .recent-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
html body .hdf-pg .doc-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; color: var(--navy); text-decoration: none; border-radius: 2px; transition: background .2s, border-color .2s; }
html body .hdf-pg .doc-card:hover { background: var(--cool); color: var(--navy); }
html body .hdf-pg .doc-card.bordered { padding: 18px; border: 1px solid var(--line); margin-top: 24px; border-radius: 0; }
html body .hdf-pg .doc-card.bordered:hover { background: #fff; border-color: var(--navy); }
html body .hdf-pg .doc-icon { flex: none; width: 44px; height: 52px; border: 1px solid var(--red); color: var(--red); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px; font: 500 10px/1 var(--mono); }
html body .hdf-pg .doc-text { flex: 1; min-width: 0; }
html body .hdf-pg .doc-title { display: block; font: 600 15px/1.35 var(--sans); }
html body .hdf-pg .doc-meta { display: block; font: 400 12px/1.4 var(--mono); color: var(--muted); margin-top: 4px; }
html body .hdf-pg .doc-arrow { font-size: 18px; }
html body .hdf-pg .link-white { align-self: flex-start; border-bottom: 1px solid #fff; padding: 6px 0 4px; font: 600 15px/1 var(--sans); color: #fff; text-decoration: none; }
html body .hdf-pg .link-white:hover { color: var(--on-dark); border-color: var(--on-dark); }
html body .hdf-pg .sec-wwd { padding-top: clamp(64px, 9cqi, 128px); padding-bottom: clamp(64px, 9cqi, 128px); }
html body .hdf-pg .sec-wwd .split { margin-bottom: 56px; }
html body .hdf-pg .h2-wwd { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4cqi, 46px); line-height: 1.15; color: var(--navy); max-width: 760px; text-wrap: balance; }
html body .hdf-pg .wwd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 40px 32px; }
html body .hdf-pg .wwd-item { border-top: 1px solid var(--line); padding-top: 24px; }
html body .hdf-pg .wwd-item .n { font: 500 12px/1 var(--mono); color: var(--red); }
html body .hdf-pg .wwd-item h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--navy); margin-top: 20px; }
html body .hdf-pg .wwd-item p:last-child { font: 400 15px/1.65 var(--sans); color: var(--text-2); margin-top: 12px; }
html body .hdf-pg .band-cool-top { background: var(--cool); border-top: 1px solid var(--line); }
html body .hdf-pg .sec-mem { padding-top: clamp(64px, 9cqi, 120px); padding-bottom: clamp(64px, 9cqi, 120px); }
html body .hdf-pg .mem-card { display: flex; flex-wrap: wrap; border: 1px solid var(--line); background: #fff; }
html body .hdf-pg .mem-main { flex: 3 1 480px; min-width: 0; padding: clamp(28px, 4cqi, 64px); }
html body .hdf-pg .mem-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8cqi, 54px); line-height: 1.08; color: var(--navy); margin-top: 28px; text-wrap: balance; }
html body .hdf-pg .mem-p { font: 400 17px/1.7 var(--sans); color: var(--text-2); margin-top: 20px; max-width: 600px; text-wrap: pretty; }
html body .hdf-pg .mem-fee { flex: 1 1 300px; background: var(--navy); color: #fff; padding: clamp(28px, 4cqi, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
html body .hdf-pg .mem-fee-label { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
html body .hdf-pg .mem-fee-amt { font-family: var(--serif); font-size: clamp(80px, 8cqi, 120px); line-height: .9; letter-spacing: -.03em; }
html body .hdf-pg .mem-fee-iban { font: 400 12.5px/1.8 var(--mono); color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 16px; }
html body .hdf-pg .sec-arch { padding-top: clamp(64px, 9cqi, 128px); padding-bottom: clamp(64px, 9cqi, 128px); }
html body .hdf-pg .arch-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--navy); padding-top: 16px; margin-bottom: 24px; }
html body .hdf-pg .arch-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8cqi, 54px); line-height: 1.1; color: var(--navy); margin-top: 24px; }
html body .hdf-pg .arch-row { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
html body .hdf-pg .arch-year { flex: 0 0 96px; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--blue); }
html body .hdf-pg .arch-main { flex: 1 1 380px; min-width: 0; }
html body .hdf-pg .arch-title { font: 600 16px/1.45 var(--sans); color: var(--navy); text-wrap: pretty; }
html body .hdf-pg .arch-meta { font: 400 12.5px/1.5 var(--mono); color: var(--muted); margin-top: 6px; }
html body .hdf-pg .type-pill { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: #f1f3f5; color: var(--text-2); }
html body .hdf-pg .type-pill.congress { background: #e8f0f8; color: #1f4c7e; }
html body .hdf-pg .arch-links { display: flex; gap: 16px; flex-wrap: wrap; }
html body .hdf-pg .arch-links a { font: 600 14px/1 var(--sans); color: var(--blue); text-decoration: none; }
html body .hdf-pg .arch-links a:hover { color: var(--navy); text-decoration: underline; }

/* O društvu */
html body .hdf-pg .about-sec { padding-top: clamp(56px, 8cqi, 112px); padding-bottom: clamp(56px, 8cqi, 112px); }
html body .hdf-pg .about-h { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .about-lead { font-family: var(--serif); font-size: clamp(24px, 2.4cqi, 32px); line-height: 1.35; color: var(--navy); text-wrap: pretty; }
html body .hdf-pg .about-body { font: 400 17px/1.75 var(--sans); color: var(--text-2); margin-top: 24px; text-wrap: pretty; }
html body .hdf-pg .about-right { max-width: 860px; }
html body .hdf-pg .activities { flex: 1 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; max-width: 860px; }
html body .hdf-pg .activities li { display: flex; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); font: 500 18px/1.5 var(--sans); color: var(--navy); }
html body .hdf-pg .activities li:last-child { border-bottom: 1px solid var(--line); }
html body .hdf-pg .activities li span { font: 500 12px/1.9 var(--mono); color: var(--red); }
html body .hdf-pg .struct-in { padding-top: clamp(48px, 6cqi, 80px); padding-bottom: clamp(48px, 6cqi, 80px); }
html body .hdf-pg .struct-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 32px; }
html body .hdf-pg .struct-grid > div { background: #fff; padding: 28px; }
html body .hdf-pg .struct-n { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--blue); }
html body .hdf-pg .struct-t { font: 600 17px/1.3 var(--sans); color: var(--navy); margin-top: 16px; }
html body .hdf-pg .struct-c { font: 400 12px/1 var(--mono); color: var(--muted); margin-top: 8px; }
html body .hdf-pg .h2-board { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4cqi, 56px); line-height: 1.05; color: var(--navy); }
html body .hdf-pg .president { display: flex; flex-wrap: wrap; gap: 32px 48px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--navy); }
html body .hdf-pg .president-img { width: 240px; max-width: 100%; height: 300px; object-fit: cover; object-position: 50% 20%; background: var(--cool); flex: none; }
html body .hdf-pg .president-ini { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-family: var(--serif); font-size: 64px; color: var(--blue); }
html body .hdf-pg .president-text { flex: 1 1 360px; min-width: 0; align-self: flex-end; }
html body .hdf-pg .role-tag { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
html body .hdf-pg .president-text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6cqi, 52px); line-height: 1.05; color: var(--navy); margin-top: 16px; }
html body .hdf-pg .president-deg { font: 500 15px/1.5 var(--sans); color: var(--text-2); margin-top: 10px; }
html body .hdf-pg .president-inst { font: 400 15px/1.6 var(--sans); color: var(--text); margin-top: 20px; }
html body .hdf-pg .president-mail { display: inline-block; margin-top: 12px; font: 500 15px/1.4 var(--sans); word-break: break-all; }
html body .hdf-pg .board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 40px; margin-top: 48px; }
html body .hdf-pg .officer { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
html body .hdf-pg .officer-img { width: 84px; height: 104px; object-fit: cover; object-position: 50% 20%; flex: none; background: var(--cool); }
html body .hdf-pg .officer-ini { width: 84px; height: 104px; flex: none; background: var(--cool); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 28px; color: var(--blue); }
html body .hdf-pg .officer-body { min-width: 0; }
html body .hdf-pg .officer-role { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
html body .hdf-pg .officer h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; color: var(--navy); margin-top: 10px; }
html body .hdf-pg .officer-deg { font: 500 13px/1.4 var(--sans); color: var(--muted); margin-top: 4px; }
html body .hdf-pg .officer-inst { font: 400 14px/1.5 var(--sans); color: var(--text); margin-top: 8px; }
html body .hdf-pg .officer-mail { display: inline-block; margin-top: 6px; font: 500 13.5px/1.4 var(--sans); word-break: break-all; }
html body .hdf-pg .bodies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 64px; margin-top: clamp(56px, 7cqi, 96px); }
html body .hdf-pg .bodies-grid h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--navy); padding-bottom: 16px; border-bottom: 1px solid var(--navy); }
html body .hdf-pg .body-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
html body .hdf-pg .body-ini { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font: 500 15px/1 var(--serif); color: var(--blue); }
html body .hdf-pg .body-row > div:last-child { min-width: 0; }
html body .hdf-pg .body-name { font: 600 16px/1.3 var(--sans); color: var(--navy); }
html body .hdf-pg .body-deg { font: 400 13px/1.5 var(--sans); color: var(--muted); margin-top: 2px; }
html body .hdf-pg .body-mail { font: 500 13px/1.6 var(--sans); word-break: break-all; }

/* Novosti */
html body .hdf-pg .news-featured { padding-top: clamp(48px, 6cqi, 80px); }
html body .hdf-pg .news-featured .label-rule { margin-bottom: 24px; }
html body .hdf-pg .feat-card { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
html body .hdf-pg .feat-card:hover { border-color: var(--blue); box-shadow: 0 12px 32px -20px rgba(20, 41, 64, .4); color: inherit; }
html body .hdf-pg .feat-dl { flex: 0 1 220px; background: var(--rose); padding: 28px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
html body .hdf-pg .feat-dl .a { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red-dark); }
html body .hdf-pg .feat-dl .b { font-family: var(--serif); font-size: 72px; line-height: .9; color: var(--red); margin-top: 10px; }
html body .hdf-pg .feat-dl .c { font-family: var(--serif); font-size: 20px; color: var(--navy); }
html body .hdf-pg .feat-main { flex: 1 1 420px; min-width: 0; padding: clamp(24px, 3cqi, 40px); }
html body .hdf-pg .feat-main h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8cqi, 38px); line-height: 1.12; color: var(--navy); margin-top: 14px; }
html body .hdf-pg .feat-main p { font: 400 16px/1.6 var(--sans); color: var(--text-2); margin-top: 10px; }
html body .hdf-pg .feat-main .more { display: inline-block; margin-top: 20px; font: 600 15px/1 var(--sans); color: var(--blue); }
html body .hdf-pg .news-list { padding-top: clamp(48px, 6cqi, 80px); padding-bottom: clamp(64px, 8cqi, 112px); }
html body .hdf-pg .filters { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; padding: 20px 0; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); }
html body .hdf-pg .count { margin-left: auto; font: 400 12px/1 var(--mono); color: var(--muted); }
html body .hdf-pg .news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; margin-top: 32px; }
html body .hdf-pg .news-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
html body .hdf-pg .news-card:hover { border-color: var(--blue); transform: translateY(-2px); color: inherit; }
html body .hdf-pg .news-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
html body .hdf-pg .news-status { font: 600 11px/1 var(--sans); padding: 5px 9px; border-radius: 999px; background: var(--status); color: var(--text-2); white-space: nowrap; }
html body .hdf-pg .news-status.open { background: var(--rose-2); color: var(--red-dark); }
html body .hdf-pg .news-card h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.2; color: var(--navy); text-wrap: pretty; }
html body .hdf-pg .news-meta { font: 500 12.5px/1.4 var(--mono); color: var(--text); }
html body .hdf-pg .news-text { font: 400 15px/1.6 var(--sans); color: var(--text-2); flex: 1; }
html body .hdf-pg .news-cta { font: 600 14px/1 var(--sans); color: var(--blue); padding-top: 14px; border-top: 1px solid var(--line-soft); }
html body .hdf-pg .empty { padding: 48px 0; font: 400 16px/1.5 var(--sans); color: var(--muted); }

/* Detalj događanja i natječaja */
html body .hdf-pg .bg-warm { background: var(--warm); }
html body .hdf-pg .detail-head { padding-top: clamp(40px, 6cqi, 80px); }
html body .hdf-pg .page-head-tight .detail-pills .pill-open { font-size: 12px; padding: 6px 10px; }
html body .hdf-pg .detail-pills { display: flex; gap: 10px; align-items: center; margin-top: 32px; flex-wrap: wrap; }
html body .hdf-pg .detail-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5cqi, 72px); line-height: 1.04; letter-spacing: -.015em; color: var(--navy); margin-top: 20px; max-width: 1100px; text-wrap: balance; }
html body .hdf-pg .detail-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px 32px; margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--navy); }
html body .hdf-pg .detail-kv dt { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .detail-kv dd { font: 600 17px/1.4 var(--sans); color: var(--navy); margin-top: 10px; }
html body .hdf-pg .detail-img { display: block; width: 100%; height: auto; max-height: 720px; object-fit: cover; background: #e7edf3; }
html body .hdf-pg .detail-cap { font: 400 12px/1.5 var(--mono); color: var(--muted); padding: 12px 0 0; }
html body .hdf-pg .detail-cols { padding-top: clamp(48px, 6cqi, 88px); padding-bottom: clamp(48px, 6cqi, 88px); display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
html body .hdf-pg .detail-main { flex: 2 1 520px; min-width: 0; }
html body .hdf-pg .detail-lead { font-family: var(--serif); font-size: clamp(24px, 2.4cqi, 32px); line-height: 1.35; color: var(--navy); margin-top: 28px; text-wrap: pretty; }
html body .hdf-pg .detail-body { font: 400 17px/1.75 var(--sans); color: var(--text-2); margin-top: 20px; text-wrap: pretty; }
html body .hdf-pg .prose > * + * { margin-top: 1em; }
html body .hdf-pg .prose h2, html body .hdf-pg .prose h3, html body .hdf-pg .prose h4 { font-family: var(--serif); font-weight: 400; color: var(--navy); }
html body .hdf-pg .prose p, html body .hdf-pg .prose ul, html body .hdf-pg .prose ol, html body .hdf-pg .prose blockquote { margin-top: 1em; margin-bottom: 0; }
html body .hdf-pg .prose > :first-child { margin-top: 0; }
html body .hdf-pg .detail-banner { background: #fff; padding: 14px 16px; border: 1px solid var(--line); margin-top: 40px; }
html body .hdf-pg .media-card { display: block; margin-top: 40px; padding: 28px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; transition: border-color .2s; }
html body .hdf-pg .media-card:hover { border-color: var(--blue); color: inherit; }
html body .hdf-pg .media-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--navy); margin-top: 12px; }
html body .hdf-pg .media-card p { font: 400 15px/1.5 var(--sans); color: var(--text-2); margin-top: 6px; }
html body .hdf-pg .media-card .more { display: inline-block; margin-top: 16px; font: 600 14px/1 var(--sans); color: var(--blue); }
html body .hdf-pg .detail-aside { flex: 1 1 300px; min-width: 0; position: sticky; top: 140px; }
html body .hdf-pg .aside-links { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
html body .hdf-pg .aside-links a { align-self: flex-start; padding: 4px 0; font: 600 14px/1 var(--sans); color: var(--blue); text-decoration: none; }
html body .hdf-pg .aside-links a:hover { color: var(--navy); }
html body .hdf-pg .detail-more { padding-top: clamp(56px, 7cqi, 96px); padding-bottom: clamp(56px, 7cqi, 96px); }
html body .hdf-pg .h2-rule { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2cqi, 42px); color: var(--navy); padding-bottom: 20px; border-bottom: 1px solid var(--navy); }
html body .hdf-pg .h2-rule.spaced { margin-top: clamp(56px, 7cqi, 96px); }
html body .hdf-pg .org-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 40px; }
html body .hdf-pg .org-logo { flex: none; display: flex; align-items: center; justify-content: center; width: 96px; height: 48px; }
html body .hdf-pg .org-logo img { display: block; max-width: 100%; max-height: 48px; width: auto; height: auto; object-fit: contain; }
html body .hdf-pg .org-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font: 500 15px/1.45 var(--sans); color: var(--navy); }
html body .hdf-pg .comm { border-bottom: 1px solid var(--line); }
html body .hdf-pg .comm button { display: flex; width: 100%; align-items: center; gap: 16px; padding: 22px 8px; background: #fff; border: none; cursor: pointer; text-align: left; transition: background .2s; }
html body .hdf-pg .comm button:hover, html body .hdf-pg .comm button[aria-expanded='true'] { background: var(--cool); }
html body .hdf-pg .comm-title { flex: 1; font: 600 17px/1.35 var(--sans); color: var(--navy); }
html body .hdf-pg .comm-count { font: 400 12px/1 var(--mono); color: var(--muted); }
html body .hdf-pg .comm-sign { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 400 18px/1 var(--sans); color: var(--navy); background: #fff; flex: none; }
html body .hdf-pg .comm ul { list-style: none; margin: 0; padding: 4px 8px 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 0 40px; background: var(--cool); }
html body .hdf-pg .comm li { padding: 12px 0; border-top: 1px solid var(--line); }
html body .hdf-pg .comm li b { display: block; font: 600 15px/1.4 var(--sans); color: var(--navy); }
html body .hdf-pg .comm li span { display: block; font: 400 13px/1.5 var(--sans); color: var(--text-2); margin-top: 2px; }
html body .hdf-pg .sponsors { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { html body .hdf-pg .sponsors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { html body .hdf-pg .sponsors { grid-template-columns: repeat(3, 1fr); } }
html body .hdf-pg .sponsor { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); padding: 24px; }
html body .hdf-pg .sponsors img { display: block; width: 100%; height: auto; object-fit: contain; border: 0; }
html body .hdf-pg .award-h1 { max-width: 1000px; }
html body .hdf-pg .award-lead { font: 400 clamp(18px, 1.6cqi, 22px)/1.55 var(--sans); color: var(--text); max-width: 720px; margin-top: 20px; }
html body .hdf-pg .req-row { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
html body .hdf-pg .req-row dt { flex: 0 0 200px; font: 600 15px/1.5 var(--sans); color: var(--navy); }
html body .hdf-pg .req-row dd { flex: 1 1 300px; font: 400 17px/1.65 var(--sans); color: var(--text); }
html body .hdf-pg .award-aside { border: 1px solid var(--line); }
html body .hdf-pg .award-aside-dl { background: var(--rose); padding: 28px; }
html body .hdf-pg .award-aside-dl .label2 { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-dark); }
html body .hdf-pg .award-aside-dl .day { font-family: var(--serif); font-size: 88px; line-height: .9; color: var(--red); margin-top: 18px; }
html body .hdf-pg .award-aside-dl .mon { font-family: var(--serif); font-size: 24px; color: var(--navy); margin-top: 6px; }
html body .hdf-pg .award-aside-dl .note { font: 400 13px/1.5 var(--sans); color: var(--rose-text); margin-top: 12px; }
html body .hdf-pg .award-aside-act { padding: 24px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
html body .hdf-pg .award-aside-act .btn { justify-content: center; width: 100%; }
html body .hdf-pg .award-aside-act .btn-outline:hover { background: var(--cool); color: var(--navy); }
html body .hdf-pg .award-aside-act p { font: 400 12.5px/1.5 var(--mono); color: var(--muted); text-align: center; }

/* Članstvo */
html body .hdf-pg .mem-head { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; margin-top: 28px; }
html body .hdf-pg .mem-head > div { flex: 1 1 520px; min-width: 0; }
html body .hdf-pg .mem-head h1 { margin-top: 0; }
html body .hdf-pg .mem-head .page-lead { max-width: 640px; }
html body .hdf-pg .steps-sec { padding-top: clamp(48px, 6cqi, 88px); padding-bottom: clamp(48px, 6cqi, 88px); }
html body .hdf-pg .steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
html body .hdf-pg .steps li { border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
html body .hdf-pg .steps .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--red); }
html body .hdf-pg .steps h3 { font: 600 18px/1.3 var(--sans); color: var(--navy); }
html body .hdf-pg .steps p { font: 400 15px/1.6 var(--sans); color: var(--text-2); flex: 1; }
html body .hdf-pg .steps a { font: 600 14px/1 var(--sans); }
html body .hdf-pg .steps .amt { font: 500 13px/1 var(--mono); color: var(--navy); }
html body .hdf-pg .pay-box { display: flex; flex-wrap: wrap; margin-top: 32px; background: var(--navy); color: #fff; }
html body .hdf-pg .pay-left { flex: 1 1 260px; padding: clamp(28px, 3.4cqi, 48px); border-right: 1px solid rgba(255, 255, 255, .12); }
html body .hdf-pg .pay-left h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; }
html body .hdf-pg .pay-left p { font-family: var(--serif); font-size: 88px; line-height: 1; margin-top: 28px; letter-spacing: -.03em; }
html body .hdf-pg .pay-right { flex: 2 1 420px; min-width: 0; padding: clamp(28px, 3.4cqi, 48px); }
html body .hdf-pg .pay-row { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); align-items: baseline; }
html body .hdf-pg .pay-row:last-child { border-bottom: none; }
html body .hdf-pg .pay-row dt { flex: 0 0 170px; font: 500 11px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
html body .hdf-pg .pay-row dd { font: 500 16px/1.5 var(--sans); min-width: 0; }
html body .hdf-pg .pay-row.iban { align-items: center; }
html body .hdf-pg .pay-row.iban dd { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
html body .hdf-pg .pay-iban { font: 500 17px/1.5 var(--mono); letter-spacing: .04em; }
html body .hdf-pg .copy-btn { height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font: 600 12px/1 var(--sans); cursor: pointer; border-radius: 2px; }
html body .hdf-pg .copy-btn:hover { background: #fff; color: var(--navy); }
html body .hdf-pg .dir-in { padding-top: clamp(48px, 6cqi, 96px); padding-bottom: clamp(48px, 6cqi, 96px); }
html body .hdf-pg .dir-head { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; }
html body .hdf-pg .dir-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4cqi, 56px); line-height: 1.05; color: var(--navy); }
html body .hdf-pg .dir-head p.l { font: 400 16px/1.5 var(--sans); color: var(--text-2); margin-top: 10px; }
html body .hdf-pg .dir-count { font: 400 12.5px/1 var(--mono); color: var(--muted); }
html body .hdf-pg .dir-search { margin-top: 28px; position: relative; }
html body .hdf-pg .dir-search span { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border: 1.5px solid var(--muted); border-radius: 50%; }
html body .hdf-pg .dir-search input { width: 100%; height: 60px; padding: 0 20px 0 52px; border: 1px solid var(--input); background: #fff; font: 500 17px/1 var(--sans); color: var(--navy); border-radius: 2px; outline: none; }
html body .hdf-pg .dir-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40, 93, 152, .2); }
html body .hdf-pg .dir-chips { margin-top: 16px; }
html body .hdf-pg .dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 32px; margin-top: 32px; border-top: 1px solid var(--navy); }
html body .hdf-pg .dir-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
html body .hdf-pg .dir-name { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 600 16px/1.35 var(--sans); color: var(--navy); }
html body .hdf-pg .dir-ret { font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 3px 6px; border-radius: 999px; }
html body .hdf-pg .dir-line { font: 400 13.5px/1.5 var(--sans); color: var(--text-2); }
html body .hdf-pg .dir-empty { padding: 48px 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
html body .hdf-pg .dir-empty p { font: 400 16px/1.5 var(--sans); color: var(--muted); }
html body .hdf-pg .dir-empty button { background: none; border: none; border-bottom: 1px solid var(--blue); padding: 0 0 3px; font: 600 14px/1 var(--sans); color: var(--blue); cursor: pointer; }

/* Arhiva */
html body .hdf-pg .arch-sec { padding-top: clamp(40px, 5cqi, 72px); padding-bottom: clamp(64px, 8cqi, 112px); }
html body .hdf-pg .arch-chips { padding-bottom: 24px; }
html body .hdf-pg .arch-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
html body .hdf-pg .arch-item { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
html body .hdf-pg .arch-item-year { flex: 0 0 110px; font-family: var(--serif); font-size: clamp(34px, 3.4cqi, 48px); line-height: 1; color: var(--blue); }
html body .hdf-pg .arch-item-main { flex: 1 1 420px; min-width: 0; }
html body .hdf-pg .arch-item-main h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.9cqi, 26px); line-height: 1.25; color: var(--navy); margin-top: 12px; text-wrap: pretty; }
html body .hdf-pg .arch-item-main p { font: 400 13px/1.5 var(--mono); color: var(--muted); margin-top: 8px; }
html body .hdf-pg .arch-item-links { flex: 0 1 260px; display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
html body .hdf-pg .arch-item-links a { font: 600 14px/1.3 var(--sans); color: var(--blue); text-decoration: none; }
html body .hdf-pg .arch-item-links a:hover { color: var(--navy); text-decoration: underline; }
html body .hdf-pg .arch-item-links span { font: 400 13px/1.4 var(--sans); color: var(--muted); }

/* Kontakt */
html body .hdf-pg .contact-sec { padding-top: clamp(48px, 6cqi, 88px); padding-bottom: clamp(48px, 6cqi, 88px); }
html body .hdf-pg .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; }
html body .hdf-pg .contact-col { border-top: 1px solid var(--navy); padding-top: 20px; }
html body .hdf-pg .contact-col h2, html body .hdf-pg .contact-links h2 { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .contact-name { font: 600 18px/1.4 var(--sans); color: var(--navy); margin-top: 20px; }
html body .hdf-pg .contact-addr { font: 400 16px/1.7 var(--sans); color: var(--text); margin-top: 6px; }
html body .hdf-pg .ids { margin-top: 20px; font: 400 15px/1.5 var(--sans); }
html body .hdf-pg .ids > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
html body .hdf-pg .ids dt { color: var(--muted); }
html body .hdf-pg .ids dd { font: 500 15px/1.5 var(--mono); color: var(--navy); overflow-wrap: anywhere; }
html body .hdf-pg .ids dd a { font: 500 15px/1.5 var(--sans); }
html body .hdf-pg .acct { margin-top: 20px; font: 400 14px/1.5 var(--sans); }
html body .hdf-pg .acct > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
html body .hdf-pg .acct dt { color: var(--muted); font-size: 12.5px; }
html body .hdf-pg .acct dd { color: var(--navy); font-weight: 500; overflow-wrap: anywhere; }
html body .hdf-pg .acct dd.mono { font: 500 14px/1.6 var(--mono); }
html body .hdf-pg .contact-links { margin-top: 48px; border-top: 1px solid var(--navy); padding-top: 20px; }
html body .hdf-pg .contact-links .btn-row { margin-top: 20px; }

/* 404 i pregled */
html body .hdf-pg .nf { padding-top: clamp(64px, 9cqi, 128px); padding-bottom: clamp(64px, 9cqi, 128px); }
html body .hdf-pg .nf .btn { margin-top: 32px; }
html body .hdf-pg .preview-bar { position: sticky; top: 0; z-index: 40; background: var(--red-dark); color: #fff; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; padding: 8px 20px; text-align: center; }
html body .hdf-pg .news-article { padding-top: clamp(48px, 6cqi, 88px); padding-bottom: clamp(48px, 6cqi, 88px); max-width: 980px; }


/* ---- Additions for WordPress (not in the Next.js CSS) ---------------------------------------------------- */
html body .hdf-pg .copy-btn[hidden] { display: none; }
html body .hdf-pg .copy-btn { min-height: 32px; min-width: 44px; }
html body .hdf-pg .crumbs a { display: inline-block; min-height: 24px; }
html body .hdf-pg .crumbs li { display: contents; }
html body .hdf-pg .crumbs li + li::before { content: none; }
html body .hdf-pg .aside-links a, html body .hdf-pg .arch-links a, html body .hdf-pg .arch-item-links a { min-height: 24px; display: inline-block; }
html body .hdf-pg .arch-links a, html body .hdf-pg .arch-item-links a { text-decoration: none; }
html body .hdf-pg .steps a { display: inline-block; min-height: 24px; }
html body .hdf-pg .link-white { min-height: 24px; }
html body .hdf-pg .link-white, html body .hdf-pg .link-white:hover { text-decoration: none; }
html body .hdf-pg .chip, html body .hdf-pg .feat-card, html body .hdf-pg .news-card, html body .hdf-pg .ribbon, html body .hdf-pg .media-card, html body .hdf-pg .doc-card, html body .hdf-pg .btn, html body .hdf-pg .link-u { text-decoration: none; }
html body .hdf-pg .feat-main h2, html body .hdf-pg .feat-main h3 { font-family: var(--serif); font-weight: 400; }
html body .hdf-pg .recent-lead, html body .hdf-pg .recent-body { text-wrap: pretty; }
html body .hdf-pg .recent-body p + p { margin-top: 12px; }
html body .hdf-pg .recent-actions .doc-card { text-decoration: none; }
html body .hdf-pg .link-white:hover { color: var(--on-dark); }
/* Dark band: white focus ring */
html body .hdf-pg .band-navy :focus-visible, html body .hdf-pg .mem-fee :focus-visible, html body .hdf-pg .pay-box :focus-visible { outline-color: #fff; }
/* Light hero ring on the warm background keeps the navy outline from the global rule. */

/* Portraits: one fixed 4:5 box per context, whatever the source image (Owner's instruction). */
html body .hdf-pg .president-img { width: 240px; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
html body .hdf-pg .officer-img, html body .hdf-pg .officer-ini { width: 84px; height: auto; aspect-ratio: 4 / 5; flex: none; object-fit: cover; object-position: 50% 15%; }
html body .hdf-pg .president-ini { height: auto; }

/* Event: accordion (native details), programme, gallery */
html body .hdf-pg .comm summary { display: flex; width: 100%; align-items: center; gap: 16px; padding: 22px 8px; background: #fff; cursor: pointer; list-style: none; min-height: 44px; }
html body .hdf-pg .comm summary::-webkit-details-marker { display: none; }
html body .hdf-pg .comm summary:hover, html body .hdf-pg .comm[open] summary { background: var(--cool); }
html body .hdf-pg .comm-sign::before { content: '+'; }
html body .hdf-pg .comm[open] .comm-sign::before { content: '−'; }
html body .hdf-pg .prog-day { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--navy); margin-top: 32px; }
html body .hdf-pg .prog-list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--navy); }
html body .hdf-pg .prog-list li { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 16px 0; border-bottom: 1px solid var(--line); }
html body .hdf-pg .prog-time { flex: 0 0 120px; font: 500 13px/1.6 var(--mono); color: var(--red-dark); }
html body .hdf-pg .prog-list li > div { flex: 1 1 360px; min-width: 0; }
html body .hdf-pg .prog-list b { display: block; font: 600 16px/1.4 var(--sans); color: var(--navy); }
html body .hdf-pg .prog-list span:not(.prog-time) { display: block; font: 400 14px/1.6 var(--sans); color: var(--text-2); margin-top: 2px; }
html body .hdf-pg .gallery { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
html body .hdf-pg .gallery a { display: block; }
html body .hdf-pg .gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); }
html body .hdf-pg .detail-banner img, html body .hdf-pg .sponsors img { height: auto; }
html body .hdf-pg .detail-body p + p, html body .hdf-pg .detail-body ul, html body .hdf-pg .detail-body h4 { margin-top: 1em; }
html body .hdf-pg .detail-body h4 { font: 600 18px/1.4 var(--sans); color: var(--navy); }

/* Search form and pagination */
html body .hdf-pg .hdf-search { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
html body .hdf-pg .hdf-search label { font: 600 14px/1 var(--sans); color: var(--navy); flex: 0 0 100%; }
html body .hdf-pg .hdf-search input { flex: 1 1 280px; height: 56px; padding: 0 18px; border: 1px solid var(--input); border-radius: 2px; font: 500 16px/1 var(--sans); color: var(--navy); background: #fff; }
html body .hdf-pg .hdf-pagination { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
html body .hdf-pg .hdf-pagination a, html body .hdf-pg .hdf-pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); text-decoration: none; padding: 0 12px; font: 600 14px/1 var(--sans); }
html body .hdf-pg .hdf-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Without JavaScript or with reduced motion nothing moves */
@media (prefers-reduced-motion: reduce) { html body .hdf-pg .news-card:hover { transform: none; } }
@media (max-width: 1239px) { html body .hdf-pg .detail-aside { position: static; } }


/* ===================================================================================================
   Native Elementor widgets (Heading, Text Editor, Button, Image, Loop Grid) styled with the classes above.
   The class sits on the widget root; the inner Elementor element inherits its type from it.
   =================================================================================================== */
html body .hdf-pg .elementor-widget-heading .elementor-heading-title,
html body .hdf-pg .elementor-widget-text-editor,
html body .hdf-pg .elementor-widget-text-editor .elementor-widget-container { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; line-height: inherit; margin: 0; padding: 0; text-wrap: inherit; text-decoration: none; }
html body .hdf-pg .elementor-widget-heading .elementor-heading-title a { color: inherit; text-decoration: none; }
html body .hdf-pg .elementor-widget-heading .elementor-heading-title em { font-style: italic; color: var(--blue); }
html body .hdf-pg .elementor-widget-text-editor p { margin: 0; }
html body .hdf-pg .elementor-widget-text-editor .elementor-widget-container > * + * { margin-top: 1em; }
html body .hdf-pg .elementor-widget-text-editor a { color: var(--blue); }
html body .hdf-pg .elementor-widget { max-width: 100%; min-width: 0; }
html body .hdf-pg .e-con { min-width: 0; }
html body .hdf-pg .elementor-widget-image img { display: block; max-width: 100%; }
html body .hdf-pg .elementor-widget-shortcode .elementor-shortcode { display: block; }

/* Buttons (widget root carries .hdf-bw and a variant) */
html body .hdf-pg .hdf-bw .elementor-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 1px solid var(--navy); border-radius: 2px; font: 600 15px/1 var(--sans); letter-spacing: 0; text-transform: none; text-decoration: none; background: transparent; color: var(--navy); box-shadow: none; fill: currentColor; transition: background .2s, color .2s, border-color .2s; }
html body .hdf-pg .hdf-bw .elementor-button-text { text-decoration: none; }
html body .hdf-pg .hdf-bw-sm .elementor-button { height: 48px; padding: 0 22px; }
html body .hdf-pg .hdf-bw-lg .elementor-button { height: 56px; padding: 0 28px; font-size: 16px; }
html body .hdf-pg .hdf-bw-solid .elementor-button { background: var(--navy); color: #fff; }
html body .hdf-pg .hdf-bw-solid .elementor-button:hover, html body .hdf-pg .hdf-bw-solid .elementor-button:focus { background: var(--blue); border-color: var(--blue); color: #fff; }
html body .hdf-pg .hdf-bw-ghost .elementor-button:hover, html body .hdf-pg .hdf-bw-ghost .elementor-button:focus { background: var(--navy); color: #fff; }
html body .hdf-pg .hdf-bw-line .elementor-button { border-color: var(--line); }
html body .hdf-pg .hdf-bw-line .elementor-button:hover { border-color: var(--navy); color: var(--navy); }
html body .hdf-pg .hdf-bw-red .elementor-button { background: var(--red); border-color: var(--red); color: #fff; }
html body .hdf-pg .hdf-bw-red .elementor-button:hover, html body .hdf-pg .hdf-bw-red .elementor-button:focus { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
html body .hdf-pg .hdf-bw-link .elementor-button { height: auto; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--blue); border-radius: 0; color: var(--blue); background: none; }
html body .hdf-pg .hdf-bw-link .elementor-button:hover, html body .hdf-pg .hdf-bw-link .elementor-button:focus { color: var(--navy); border-color: var(--navy); background: none; }
html body .hdf-pg .hdf-arrow .elementor-button-text::after { content: '→' / ''; margin-left: 10px; }
html body .hdf-pg .hdf-down .elementor-button-text::before { content: '↓' / ''; margin-right: 10px; }
html body .hdf-pg .hdf-bw-link.hdf-arrow .elementor-button-text::after { margin-left: 6px; }
html body .hdf-pg .elementor-button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
html body .hdf-pg .band-navy .elementor-button:focus-visible, html body .hdf-pg .mem-fee .elementor-button:focus-visible { outline-color: #fff; }

/* Heading-based components */
html body .hdf-pg .kicker .elementor-heading-title, html body .hdf-pg .kicker-dark .elementor-heading-title { display: flex; gap: 12px; }
html body .hdf-pg .kicker .elementor-heading-title > span:first-child { color: var(--red); }
html body .hdf-pg .kicker-dark .elementor-heading-title > span:first-child { color: #f08a8e; }
html body .hdf-pg .hdf-kd { display: block; }
html body .hdf-pg .hdf-kd .elementor-widget-container { display: block; }
html body .hdf-pg .ribbon { position: relative; }
html body .hdf-pg .ribbon-text a::after, html body .hdf-pg .hdf-card .news-h3 a::after, html body .hdf-pg .arch-title a::after, html body .hdf-pg .arch-item-h2 a::after { content: ''; position: absolute; inset: 0; }
html body .hdf-pg .ribbon:focus-within, html body .hdf-pg .hdf-card:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }
html body .hdf-pg .ribbon-tag, html body .hdf-pg .ribbon-dl { display: block; }
html body .hdf-pg .ribbon-tag .elementor-heading-title { color: #fff; }
html body .hdf-pg .ribbon-dl:empty, html body .hdf-pg .ribbon-dl .elementor-heading-title:empty { display: none; }
html body .hdf-pg .hero { }
html body .hdf-pg .hero::before { content: ''; position: absolute; right: -220px; top: -240px; width: 520px; height: 520px; border: 1px solid rgba(40, 93, 152, .16); border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 0 70px rgba(255, 255, 255, 0), 0 0 0 0 transparent; }
html body .hdf-pg .hero::after { content: ''; position: absolute; right: -150px; top: -170px; width: 380px; height: 380px; border: 1px solid rgba(40, 93, 152, .2); border-radius: 50%; pointer-events: none; }
html body .hdf-pg .about-p { flex: 1 1 380px; font: 400 17px/1.7 var(--sans); color: var(--text-2); max-width: 620px; text-wrap: pretty; }
html body .hdf-pg .arch-h2 { font: 400 clamp(32px, 3.8cqi, 54px)/1.1 var(--serif); color: var(--navy); margin-top: 24px; }
html body .hdf-pg .wwd-h3 { font: 400 26px/1.2 var(--serif); color: var(--navy); margin-top: 20px; }
html body .hdf-pg .wwd-p { font: 400 15px/1.65 var(--sans); color: var(--text-2); margin-top: 12px; }
html body .hdf-pg .wwd-item .n { font: 500 12px/1 var(--mono); color: var(--red); }
html body .hdf-pg .wwd-item, html body .hdf-pg .step, html body .hdf-pg .pay-row, html body .hdf-pg .kv-row, html body .hdf-pg .kvc, html body .hdf-pg .contact-col, html body .hdf-pg .mem-fee-iban { align-items: stretch; }
html body .hdf-pg .hdf-pill, html body .hdf-pg .hdf-typewrap { display: inline-block; }
html body .hdf-pg .h2-lg, html body .hdf-pg .h2-card, html body .hdf-pg .recent-h2 { margin-bottom: 0; }
html body .hdf-pg .hero-img, html body .hdf-pg .recent-banner, html body .hdf-pg .recent-img { width: 100%; }
html body .hdf-pg .hero-img img { display: block; width: 100%; height: clamp(260px, 40cqi, 580px); object-fit: cover; object-position: 50% 40%; background: #e7edf3; }
html body .hdf-pg .recent-banner { background: #fff; padding: 14px 16px; }
html body .hdf-pg .recent-banner img { width: 100%; height: auto; }
html body .hdf-pg .recent-img img { width: 100%; height: clamp(220px, 30cqi, 420px); object-fit: cover; object-position: 30% 55%; background: #1d3550; }
html body .hdf-pg .hero-cap { padding: 14px 0 18px; }
html body .hdf-pg .recent-meta .elementor-heading-title, html body .hdf-pg .pill-light .elementor-heading-title { display: inline; }
html body .hdf-pg .recent-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
html body .hdf-pg .recent-body .elementor-widget-container > * + * { margin-top: 12px; }
html body .hdf-pg .kv-grid { margin-top: 32px; }
html body .hdf-pg .award-main > .elementor-widget + .elementor-widget { margin-top: 0; }
html body .hdf-pg .award-main .h2-card { margin-top: 16px; }
html body .hdf-pg .award-main .btn-row, html body .hdf-pg .award-main .elementor-widget-shortcode .btn-row { margin-top: 32px; }
html body .hdf-pg .award-dl:has(.hdf-none) { display: none; }
html body .hdf-pg .dl-day, html body .hdf-pg .dl-month { display: block; }
html body .hdf-pg .mem-fee-iban .elementor-widget { display: block; }
html body .hdf-pg .mem-main .kicker { margin-bottom: 0; }

/* page head, crumbs */
html body .hdf-pg .hdf-crumbs { font: 500 12px/1 var(--mono); color: var(--muted); }
html body .hdf-pg .hdf-crumbs .crumbs { display: flex; flex-wrap: wrap; gap: 8px; }
html body .hdf-pg .hdf-crumbs a { color: var(--blue); text-decoration: none; display: inline-block; min-height: 24px; }
html body .hdf-pg .detail-head .hdf-crumbs, html body .hdf-pg .page-head-tight .hdf-crumbs { line-height: 1.4; }
html body .hdf-pg .page-head-in > .elementor-widget + .elementor-widget { margin-top: 0; }
html body .hdf-pg .about-split2 { margin-top: clamp(56px, 7cqi, 96px); }
html body .hdf-pg .hdf-activities { flex: 1 1 560px; min-width: 0; max-width: 860px; }
html body .hdf-pg .hdf-activities .activities { flex: none; }
html body .hdf-pg .about-lead, html body .hdf-pg .about-body { display: block; }
html body .hdf-pg .h2-board { margin-bottom: 0; }

/* membership, contact */
html body .hdf-pg .steps .step { border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
html body .hdf-pg .step-h { font: 600 18px/1.3 var(--sans); color: var(--navy); }
html body .hdf-pg .step-p { font: 400 15px/1.6 var(--sans); color: var(--text-2); flex: 1; }
html body .hdf-pg .steps .amt { font: 500 13px/1 var(--mono); color: var(--navy); }
html body .hdf-pg .steps .n { font: 400 44px/1 var(--serif); color: var(--red); }
html body .hdf-pg .pay-h { font: 400 30px/1.15 var(--serif); }
html body .hdf-pg .pay-amt { font: 400 88px/1 var(--serif); margin-top: 28px; letter-spacing: -.03em; }
html body .hdf-pg .pay-right { display: block; }
html body .hdf-pg .pay-dt { flex: 0 0 170px; font: 500 11px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
html body .hdf-pg .pay-dd { font: 500 16px/1.5 var(--sans); min-width: 0; }
html body .hdf-pg .pay-iban { font: 500 17px/1.5 var(--mono); letter-spacing: .04em; }
html body .hdf-pg .pay-row.iban { gap: 12px 24px; }
html body .hdf-pg .hdf-copy { width: auto; }
html body .hdf-pg .contact-h { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .contact-col { display: block; }
html body .hdf-pg .contact-name { margin-top: 20px; }
html body .hdf-pg .contact-addr { margin-top: 6px; }
html body .hdf-pg .contact-addr.hdf-gap { margin-top: 16px; }
html body .hdf-pg .ids, html body .hdf-pg .acct { display: block; margin-top: 20px; }
html body .hdf-pg .kv-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
html body .hdf-pg .kv-dt { font: 400 14px/1.5 var(--sans); color: var(--muted); }
html body .hdf-pg .kv-dd { font: 500 15px/1.5 var(--sans); color: var(--navy); overflow-wrap: anywhere; }
html body .hdf-pg .kv-dd.mono { font-family: var(--mono); font-size: 14px; }
html body .hdf-pg .contact-links h2, html body .hdf-pg .contact-links .contact-h { display: block; }

/* event / call / post details */
html body .hdf-pg .detail-kv { display: grid; }
html body .hdf-pg .kvc { display: flex; flex-direction: column; }
html body .hdf-pg .detail-kv .kv-dt { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .kv-dd2 { font: 600 17px/1.4 var(--sans); color: var(--navy); margin-top: 10px; }
html body .hdf-pg .detail-img img { display: block; width: 100%; height: auto; max-height: 720px; object-fit: cover; background: #e7edf3; }
html body .hdf-pg .detail-main .prose.detail-body > .elementor-widget-container { display: block; }
html body .hdf-pg .detail-lead { display: block; }
html body .hdf-pg .detail-pills .elementor-widget { margin: 0; }
html body .hdf-pg .award-aside-act .elementor-shortcode { display: flex; flex-direction: column; gap: 12px; }
html body .hdf-pg .award-aside-dl .day, html body .hdf-pg .award-aside-dl .mon, html body .hdf-pg .award-aside-dl .note { display: block; }
html body .hdf-pg .detail-aside .elementor-widget + .elementor-widget { margin-top: 0; }
html body .hdf-pg .detail-banner img { width: 100%; height: auto; }
html body .hdf-pg .gallery-more { margin-top: 16px; }
html body .hdf-pg .gallery-more summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font: 600 15px/1 var(--sans); color: var(--blue); }
html body .hdf-pg .nf-code { max-width: 240px; display: block; }
html body .hdf-pg .nf .hdf-bw { margin-top: 32px; }
html body .hdf-pg .hdf-pagecontent { display: block; }

/* Loop grids */
html body .hdf-pg .elementor-loop-container.elementor-grid { gap: 24px; }
html body .hdf-pg .news-grid .elementor-loop-container.elementor-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); margin-top: 32px; }
html body .hdf-pg .news-grid { display: block; }
html body .hdf-pg .e-loop-item { display: flex; }
html body .hdf-pg .e-loop-item > .news-card { flex: 1; }
html body .hdf-pg .news-card { position: relative; }
html body .hdf-pg .news-h3 { font: 400 25px/1.2 var(--serif); color: var(--navy); text-wrap: pretty; }
html body .hdf-pg .news-cta { padding-top: 14px; border-top: 1px solid var(--line-soft); }
html body .hdf-pg .news-top .elementor-widget { margin: 0; }
html body .hdf-pg .hdf-rows .elementor-loop-container.elementor-grid { display: block; gap: 0; }
html body .hdf-pg .hdf-rows .e-loop-item { display: block; }
html body .hdf-pg .arch-list .elementor-loop-container.elementor-grid { border-top: 1px solid var(--navy); }
html body .hdf-pg .arch-row, html body .hdf-pg .arch-item { position: relative; }
html body .hdf-pg .arch-row .arch-links, html body .hdf-pg .arch-item .arch-item-links { position: relative; z-index: 1; }
html body .hdf-pg .arch-item-h2 { font: 400 clamp(21px, 1.9cqi, 26px)/1.25 var(--serif); color: var(--navy); margin-top: 12px; text-wrap: pretty; }
html body .hdf-pg .arch-item-meta { font: 400 13px/1.5 var(--mono); color: var(--muted); margin-top: 8px; }
html body .hdf-pg .arch-chips { margin-top: 0; }
html body .hdf-pg .elementor-pagination { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
html body .hdf-pg .elementor-pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); text-decoration: none; padding: 0 12px; font: 600 14px/1 var(--sans); }
html body .hdf-pg .elementor-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
html body .hdf-pg .hdf-searchform { margin-bottom: 24px; }
html body .hdf-pg .hdf-searchform input[type="search"] { height: 56px; padding: 0 18px; border: 1px solid var(--input); border-radius: 2px; font: 500 16px/1 var(--sans); color: var(--navy); background: #fff; }
html body .hdf-pg .pill-light, html body .hdf-pg .hdf-pill, html body .hdf-pg .hdf-typewrap, html body .hdf-pg .recent-text .elementor-widget-heading.pill-light { align-self: flex-start; }
html body .hdf-pg .hero-eyebrow { display: block; margin-bottom: 24px; }
html body .hdf-pg .hero-left .elementor-widget { margin-block-end: 0; }
html body .hdf-pg .hdf-copybtn .elementor-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; text-decoration: none; cursor: pointer; height: 32px; min-width: 44px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font: 600 12px/1 var(--sans); border-radius: 2px; }
html body .hdf-pg .hdf-copybtn .elementor-button:hover { background: #fff; color: var(--navy); }
html:not(.hdf-js) body .hdf-pg .hdf-copybtn { display: none; }
html body .hdf-pg .contact-addr { font-size: 16px; }
/* 24 px minimum targets for inline links in native widgets */
html body .hdf-pg .elementor-widget-heading .elementor-heading-title a { display: inline-block; min-height: 24px; }
html body .hdf-pg .hdf-bw-link .elementor-button { min-height: 24px; }
html body .hdf-pg .kv-dd a, html body .hdf-pg .steps a { display: inline-block; min-height: 24px; }
html body .hdf-pg .ribbon-text a { display: inline; min-height: 0; }

/* Home slots (Loop Grids with one item), lead paragraph of post content */
html body .hdf-pg .hdf-slot .elementor-loop-container.elementor-grid, html body .hdf-pg .hdf-ribbon-slot .elementor-loop-container.elementor-grid { display: block; gap: 0; }
html body .hdf-pg .hdf-slot .e-loop-item { display: block; }
html body .hdf-pg .hdf-ribbon-slot { display: block; }
html body .hdf-pg .hdf-ribbon-slot .elementor-widget-loop-grid { margin: 0; }
html body .hdf-pg .detail-leadfirst .elementor-widget-container > p:first-child { font: 400 clamp(24px, 2.4cqi, 32px)/1.35 var(--serif); color: var(--navy); margin-top: 28px; text-wrap: pretty; }
html body .hdf-pg .detail-leadfirst .elementor-widget-container > p:not(:first-child) { font: 400 17px/1.75 var(--sans); color: var(--text-2); margin-top: 20px; }
html body .hdf-pg .recent-lead .elementor-widget-container > p:first-child { font: 400 17px/1.7 var(--sans); color: #e3eaf1; margin-top: 24px; }
html body .hdf-pg .recent-lead .elementor-widget-container > p:not(:first-child) { font: 400 15px/1.7 var(--sans); color: var(--on-dark-2); margin-top: 12px; }
html body .hdf-pg .hdf-crumbs .elementor-widget { margin: 0; }
html body .hdf-pg .hdf-crumbs { align-items: center; }
html body .hdf-pg .news-top .label { display: inline; }

/* Portrait and initials boxes: one exact size in every card at every width (card text never stretches them) */
html body .hdf-pg .officer { align-items: flex-start; }
html body .hdf-pg .officer-img, html body .hdf-pg .officer-ini { width: 84px; height: 105px; aspect-ratio: auto; align-self: flex-start; flex: none; object-fit: cover; object-position: 50% 15%; }

/* QA round 2 fixes */
html body .hdf-pg .hero-left .hero-eyebrow { margin-bottom: 28px; }
html body .hdf-pg .award-aside-dl .elementor-widget.day { margin-top: 18px; }
html body .hdf-pg .award-aside-dl .elementor-widget.mon { margin-top: 6px; }
html body .hdf-pg .award-aside-dl .elementor-widget.note { margin-top: 12px; }
html body .hdf-pg .award-dl .elementor-widget.dl-month { margin-top: 10px; }
html body .hdf-pg .news-top .news-status-slot { margin-left: auto; }
html body .hdf-pg .news-grid .count { margin: 16px 0 0; text-align: right; }
html body .hdf-pg .page-h1 .elementor-heading-title::first-letter { text-transform: uppercase; }
html body .hdf-pg .news-top { justify-content: flex-start; gap: 0; flex-wrap: wrap; }
html body .hdf-pg .news-top > .elementor-widget { width: auto; flex: 0 0 auto; }
html body .hdf-pg .news-top > .elementor-widget:nth-child(2) { margin: 0 .6ch; }

/* Home blocks that are Toolset Views (plain markup in a Shortcode widget) */
html body .hdf-pg .recent-h2 { color: #fff; }
html body .hdf-pg .recent-text { display: block; }
html body .hdf-pg .recent-body > p:first-child { font: 400 17px/1.7 var(--sans); color: #e3eaf1; margin-top: 24px; }
html body .hdf-pg .recent-body > p:not(:first-child) { font: 400 15px/1.7 var(--sans); color: var(--on-dark-2); margin-top: 12px; }
html body .hdf-pg .award-sub.prose > p + p { margin-top: 8px; }
html body .hdf-pg .news-facts { display: block; }
html body .hdf-pg .news-facts .news-status { display: inline-block; margin-bottom: 8px; }
html body .hdf-pg .news-body > .elementor-widget-container > p { margin: 0; }
html body .hdf-pg .news-body > .elementor-widget-container > p + p { margin-top: 8px; }
html body .hdf-pg .news-body > .elementor-widget-container > p:first-child { font: 500 12.5px/1.4 var(--mono); color: var(--text); }
html body .hdf-pg .news-body { flex: 1; }

/* QA: 24 px targets for the title links of the archive Views; closed <details> contents take no layout (no phantom overlap) */
html body .hdf-pg .arch-title a, html body .hdf-pg .arch-item-h2 a { display: inline-block; min-height: 24px; }
html body .hdf-pg details:not([open]) > :not(summary) { display: none; }
/* Gallery cells have a fixed 3:2 box (independent of lazy image loading), so the page height is stable */
html body .hdf-pg .gallery li { aspect-ratio: 3 / 2; overflow: hidden; }
html body .hdf-pg .gallery a { display: block; height: 100%; }
html body .hdf-pg .gallery img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }

/* Event pages: the content column is a column flex container; without nowrap the gallery widget was shrunk to a fraction of its content
   (and drawn over the footer) at phone widths */
html body .hdf-pg .detail-more, html body .hdf-pg .detail-main, html body .hdf-pg .detail-aside { flex-wrap: nowrap; }
html body .hdf-pg .detail-more > .elementor-widget { flex-shrink: 0; }
html body .hdf-pg .prog-list li > div, html body .hdf-pg .prog-list b, html body .hdf-pg .prog-list span:not(.prog-time) { overflow-wrap: anywhere; min-width: 0; }

/* Breadcrumb on one baseline (design legal-pages v1): flex baseline row; link, separator and current item all IBM Plex Mono 500 12px / 16px,
   inline-block with 4px vertical padding (24px target) */
html body .hdf-pg .hdf-crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font: 500 12px/16px var(--mono); }
html body .hdf-pg .hdf-crumbs .elementor-widget { display: block; margin: 0; min-height: 0; }
html body .hdf-pg .hdf-crumbs .elementor-heading-title, html body .hdf-pg .hdf-crumbs .elementor-heading-title a { display: inline-block; padding: 4px 0; min-height: 0; margin: 0; font: 500 12px/16px var(--mono); letter-spacing: 0; }
html body .hdf-pg .hdf-crumbs .elementor-heading-title:has(> a) { padding: 0; }
html body .hdf-pg .hdf-crumbs .elementor-heading-title a { padding: 4px 0; }
/* Note under the event galleries (photo notice) */

html body .hdf-pg #galerija { scroll-margin-top: 96px; } /* the archive links to <event>#galerija; keep the heading below the sticky header */
html body .hdf-pg .hdf-copybtn .elementor-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html body .hdf-pg .hdf-copybtn .elementor-button-content-wrapper, html body .hdf-pg .hdf-copybtn .elementor-button-text { display: flex; align-items: center; justify-content: center; line-height: 1; text-decoration: none; }

/* Card kicker (type · year) and status pill on one centre line: every part is a 24px-high flex box with its text centred */
html body .hdf-pg .news-top { align-items: center; }
html body .hdf-pg .news-top .elementor-widget { display: flex; align-items: center; min-height: 24px; }
html body .hdf-pg .news-top .elementor-heading-title { display: flex; align-items: center; min-height: 24px; }
html body .hdf-pg .news-top .elementor-heading-title a { display: inline-flex; align-items: center; min-height: 24px; font: inherit; letter-spacing: inherit; line-height: inherit; }
/* Card focus: one ring around the card (outline, never a thicker border); the inner link adds none */
html body .hdf-pg .hdf-card a:focus-visible { outline: none; }
html body .hdf-pg .news-card { border-width: 1px; }

/* Label + value rows: first baselines aligned (the label and the value use different fonts and line heights) */
html body .hdf-pg .pay-row, html body .hdf-pg .kv-row, html body .hdf-pg .req-row, html body .hdf-pg .prog-list li { align-items: baseline; }
html body .hdf-pg .pay-row.iban { align-items: center; }
/* Event / call head: type label and status pill centred on one line (same method as the card kicker) */
html body .hdf-pg .detail-pills { align-items: center; }
html body .hdf-pg .detail-pills .elementor-widget { display: flex; align-items: center; }
html body .hdf-pg .detail-pills .label { min-height: 24px; }
html body .hdf-pg .detail-pills .elementor-heading-title { display: flex; align-items: center; }
html body .hdf-pg .detail-pills .label .elementor-heading-title { min-height: 24px; }
html body .hdf-pg .detail-pills .label .elementor-heading-title a { display: inline-flex; align-items: center; min-height: 24px; font: inherit; letter-spacing: inherit; line-height: 1; }


/* Contact page head e-mail (design kontakt-email v1): Heading widget (p) with a mailto link; one underline only */
html body .hdf-pg .page-head-in .elementor-widget.cm-label { margin-top: 32px; }
html body .hdf-pg .page-head-in .elementor-widget.cm-label p { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .page-head-in .elementor-widget.cm-label p::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='1.5' y='3' width='13' height='10' rx='1'/%3E%3Cpath d='M2 4l6 5 6-5'/%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 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='1.5' y='3' width='13' height='10' rx='1'/%3E%3Cpath d='M2 4l6 5 6-5'/%3E%3C/svg%3E") center / contain no-repeat; }
html body .hdf-pg .page-head-in .elementor-widget.contact-mail { margin: 8px 0 0; padding: 0; border: 0; }
html body .hdf-pg .page-head-in .elementor-widget.contact-mail .elementor-heading-title { margin: 0; font: 400 36px/1.2 var(--serif); letter-spacing: -.2px; overflow-wrap: anywhere; }
html body .hdf-pg .page-head-in .elementor-widget.contact-mail a { display: inline-block; padding: 2px 0; border: 0; color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; border-radius: 2px; }
html body .hdf-pg .page-head-in .elementor-widget.contact-mail a:hover { color: var(--navy); text-decoration-thickness: 2px; }
html body .hdf-pg .page-head-in .elementor-widget.contact-mail a:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
html body .hdf-pg .page-head-in .elementor-widget.contact-mail a:active { color: var(--navy); text-decoration-thickness: 2px; background: rgba(40, 93, 152, .08); }
@media (max-width: 1239px) { html body .hdf-pg .page-head-in .elementor-widget.contact-mail .elementor-heading-title { font-size: 32px; } }
@media (max-width: 1023px) { html body .hdf-pg .page-head-in .elementor-widget.contact-mail .elementor-heading-title { font-size: 30px; } }
@media (max-width: 767px) { html body .hdf-pg .page-head-in .elementor-widget.contact-mail .elementor-heading-title { font-size: 28px; } html body .hdf-pg .page-head-in .elementor-widget.cm-label { margin-top: 28px; } }
@media (max-width: 639px) { html body .hdf-pg .page-head-in .elementor-widget.contact-mail .elementor-heading-title { font-size: 26px; } html body .hdf-pg .page-head-in .elementor-widget.cm-label { margin-top: 24px; } }
/* Buttons used as text links: only the 1px border is the underline, never the browser underline on top of it */
html body .elementor-button, html body .elementor-button:hover, html body .elementor-button:focus, html body .elementor-button .elementor-button-text { text-decoration: none; }

/* Long titles always wrap inside their container, at every width and in every browser */
html body .hdf-pg .detail-h1, html body .hdf-pg .page-h1, html body .hdf-pg .detail-h1 .elementor-heading-title, html body .hdf-pg .page-h1 .elementor-heading-title { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
html body .hdf-pg .page-head-in, html body .hdf-pg .page-head-in > .e-con, html body .hdf-pg .detail-head { min-width: 0; }

/* Event page: pills keep the space after the check mark, empty sections show no heading, back/archive links are their own small row */
html body .hdf-pg .detail-pills .elementor-heading-title, html body .hdf-pg .news-top .elementor-heading-title { gap: .35em; }
html body .hdf-pg .detail-main:not(:has(.elementor-widget-theme-post-content, img, a)) > .elementor-widget-heading { display: none; }
html body .hdf-pg .detail-aside:not(:has(a)) > .elementor-widget-heading { display: none; }
html body .hdf-pg .event-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font: 600 14px/1.4 var(--sans); }
html body .hdf-pg .event-nav a { display: inline-flex; align-items: center; min-height: 24px; color: var(--blue); text-decoration: none; }
html body .hdf-pg .event-nav a:hover { color: var(--navy); text-decoration: underline; }
/* breadcrumb: the last item (the page title) is cut with an ellipsis when it is long */
html body .hdf-pg .hdf-crumbs > .elementor-widget:last-child { min-width: 0; flex: 0 1 auto; }
html body .hdf-pg .hdf-crumbs > .elementor-widget:last-child .elementor-heading-title { display: block; max-width: min(100%, 52ch); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Event header v1a (design event-header) */
html body .hdf-pg .eh-head { padding-top: clamp(32px, 4.5vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
html body .hdf-pg .eh-head .hdf-crumbs { margin-bottom: clamp(28px, 3.5vw, 44px); }
html body .hdf-pg .eh-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px 72px; align-items: start; }
html body .hdf-pg .eh-grid:not(:has(.eh-act)) { grid-template-columns: minmax(0, 1fr); }
html body .hdf-pg .eh-main { min-width: 0; display: block; }
html body .hdf-pg .eh-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 18px; }
html body .hdf-pg .eh-kind { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .eh-kind b { font-weight: 500; color: var(--red); }
html body .hdf-pg .st { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 8px; border-radius: 14px; font: 600 13px/1 var(--sans); }
html body .hdf-pg .st .i { width: 15px; height: 15px; }
html body .hdf-pg .st.done { background: var(--status); color: var(--text-2); border: 1px solid var(--line); }
html body .hdf-pg .st.soon { background: #e8f0f9; color: var(--blue); }
html body .hdf-pg .st.live { background: var(--rose-2); color: var(--red-dark); }
html body .hdf-pg .st .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
html body .hdf-pg .eh-h1, html body .hdf-pg .eh-h1 .elementor-heading-title { font: 400 clamp(34px, 4vw, 56px)/1.08 var(--serif); letter-spacing: -.6px; max-width: 24ch; text-wrap: balance; overflow-wrap: break-word; margin: 0; }
html body .hdf-pg .eh-main:has(.eh-official .elementor-heading-title) .eh-h1, html body .hdf-pg .eh-main:has(.eh-official .elementor-heading-title) .eh-h1 .elementor-heading-title { font: 400 clamp(40px, 5.4vw, 76px)/1.02 var(--serif); letter-spacing: -1px; max-width: 18ch; }
html body .hdf-pg .eh-official .elementor-heading-title { margin: 16px 0 0; max-width: 40ch; font: 400 clamp(19px, 1.8vw, 24px)/1.35 var(--serif); color: var(--text-2); text-wrap: pretty; }
html body .hdf-pg .eh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 16px 40px; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--navy); }
html body .hdf-pg .eh-facts > div { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px 10px; max-width: 340px; align-content: start; }
html body .hdf-pg .eh-facts .i { grid-row: 1 / 3; margin-top: 1px; color: var(--muted); }
html body .hdf-pg .eh-facts dt { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .eh-facts dd { margin: 0; font: 500 16px/1.45 var(--sans); color: var(--navy); }
html body .hdf-pg .eh-facts dd small { display: block; font: 400 14px/1.45 var(--sans); color: var(--text-2); }
html body .hdf-pg .eh-facts dd a { font: 600 14px/1.4 var(--sans); color: var(--blue); }
html body .hdf-pg .eh-act { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 18px 20px 8px; }
html body .hdf-pg .eh-act-h { margin: 0 0 6px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .eh-act ul { list-style: none; margin: 0; padding: 0; }
html body .hdf-pg .eh-act li + li { border-top: 1px solid var(--line-soft); }
html body .hdf-pg .eh-act a { display: flex; align-items: flex-start; gap: 12px; min-height: 56px; padding: 12px 0; color: var(--blue); text-decoration: none; }
html body .hdf-pg .eh-act a .i { flex: none; margin-top: 1px; }
html body .hdf-pg .eh-act a .t { display: block; font: 600 15px/1.3 var(--sans); }
html body .hdf-pg .eh-act a .m { display: block; margin-top: 3px; font: 500 11.5px/1.3 var(--mono); color: var(--muted); }
html body .hdf-pg .eh-act a:hover { color: var(--navy); }
html body .hdf-pg .eh-act a:hover .t { text-decoration: underline; text-underline-offset: 3px; }
html body .hdf-pg .eh-act a.pdf-a .i { color: var(--red); }
html body .hdf-pg .eh-act a.hdf-pdf-link::before { content: none; }
@media (max-width: 1239px) { html body .hdf-pg .eh-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px 48px; } html body .hdf-pg .eh-facts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1023px) { html body .hdf-pg .eh-grid { grid-template-columns: minmax(0, 1fr); } html body .hdf-pg .eh-act { max-width: 560px; } html body .hdf-pg .eh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { html body .hdf-pg .eh-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; } html body .hdf-pg .eh-h1 .elementor-heading-title { font-size: 30px; line-height: 1.12; letter-spacing: -.3px; } html body .hdf-pg .eh-official .elementor-heading-title { font-size: 18px; } }

/* icons of the event header as masks */
html body .hdf-pg .eh-head .i, html body .hdf-pg .eh-act .i { display: inline-block; flex: none; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
html body .hdf-pg .ico-date { --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='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='1'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
html body .hdf-pg .ico-place { --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='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11a6.5 6.5 0 0 1 13 0c0 4.8-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E"); }
html body .hdf-pg .ico-org { --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='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8.5' r='3'/%3E%3Cpath d='M3.5 19c.6-3.2 2.8-5 5.5-5s4.9 1.8 5.5 5'/%3E%3Ccircle cx='17' cy='9.5' r='2.4'/%3E%3Cpath d='M15.8 14.2c2.4.1 4.2 1.7 4.7 4.8'/%3E%3C/svg%3E"); }
html body .hdf-pg .ico-pdf { --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='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
html body .hdf-pg .ico-video { --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='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1.5'/%3E%3Cpath d='m10.5 9.5 4 2.5-4 2.5z'/%3E%3C/svg%3E"); }
html body .hdf-pg .ico-photo { --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='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1.5'/%3E%3Ccircle cx='9' cy='10.5' r='1.8'/%3E%3Cpath d='m4 18 5.5-5 4 3.5 3-2.5 3.5 3'/%3E%3C/svg%3E"); }
html body .hdf-pg .ico-down { --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='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v13M6.5 13l5.5 5.5 5.5-5.5'/%3E%3C/svg%3E"); }
html body .hdf-pg .elementor-widget.eh-tags { margin: 0 0 18px; }
html body .hdf-pg .elementor-widget.eh-tags .elementor-heading-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
html body .hdf-pg .elementor-widget.eh-h1 { margin: 0; }
html body .hdf-pg .elementor-widget.eh-facts-w { margin: 0; }
html body .hdf-pg .eh-facts .i { margin-top: 2px; }
html body .hdf-pg .ico-check { --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='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
html body .hdf-pg .elementor-widget-heading .eh-act ul li a { display: flex; align-items: flex-start; gap: 12px; min-height: 56px; padding: 12px 0; text-decoration: none; }

/* Event page: the Pregled/Dokumenti band is left out completely when it has nothing to show (no empty band with padding) */
html body section.bg-warm:has(.detail-cols):not(:has(.detail-cols .elementor-widget-theme-post-content, .detail-cols img, .detail-cols a)) { display: none; }
html body .hdf-pg .detail-more { padding-top: clamp(40px, 5vw, 72px); } /* event-header mockup: section gap below the hero */

/* Triggers: the real link gets a small document icon and a mono meta line */
html body a.hdf-pdf-link::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .4em; vertical-align: -.12em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M3.5 1.5h6l3 3v6M3.5 1.5v13h4'/%3E%3Ccircle cx='11' cy='12' r='2.2'/%3E%3Cpath d='M12.7 13.7l2 2'/%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 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M3.5 1.5h6l3 3v6M3.5 1.5v13h4'/%3E%3Ccircle cx='11' cy='12' r='2.2'/%3E%3Cpath d='M12.7 13.7l2 2'/%3E%3C/svg%3E") center / contain no-repeat; }
html body .pdf-meta { display: block; font: 500 11px/1.4 'IBM Plex Mono', monospace; color: #5a6b7d; }
@media (prefers-reduced-motion: reduce) { .hdf-pdfv .pv-progress span { transition: none; } }

/* the theme's generic button states must not paint the viewer's buttons */
html body dialog.hdf-pdfv .pv-btn, html body dialog.hdf-pdfv .pv-btn:focus { background: transparent; color: #142940; box-shadow: none; text-transform: none; letter-spacing: 0; }
html body dialog.hdf-pdfv .pv-btn:hover:not([disabled]) { background: #edf2f6; border-color: #dce6ee; color: #142940; }
html body dialog.hdf-pdfv .pv-btn[aria-pressed='true'] { background: #edf2f6; border-color: #dce6ee; }
html body dialog.hdf-pdfv #hdf-pdfv-close { border-color: #142940; }
html body dialog.hdf-pdfv #hdf-pdfv-close:hover { background: #142940; color: #fff; }
html body dialog.hdf-pdfv .pv-btn[disabled] { color: #a3b0bd; }
html body dialog.hdf-pdfv .pv-btn:focus-visible { outline: 3px solid #142940; outline-offset: 2px; }
/* poster card on the event page and the link variant */
html body .hdf-pg .hdf-video-card { display: block; max-width: 720px; margin-top: 28px; color: #142940; text-decoration: none; }
html body .hdf-pg .hdf-video-card .vc-frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0a1522; border-radius: 2px; }
html body .hdf-pg .hdf-video-card .vc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
html body .hdf-pg .hdf-video-card:hover .vc-frame img { transform: scale(1.02); }
html body .hdf-pg .hdf-video-card .vc-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: #c6353b; transition: background .2s; }
html body .hdf-pg .hdf-video-card:hover .vc-play { background: #a82c31; }
html body .hdf-pg .hdf-video-card .vc-play::after { content: ""; position: absolute; left: 31px; top: 25px; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
html body .hdf-pg .hdf-video-card .vc-dur { position: absolute; right: 12px; bottom: 12px; padding: 3px 8px; border-radius: 2px; background: rgba(10, 21, 34, .86); color: #fff; font: 500 12px/1.4 'IBM Plex Mono', monospace; }
html body .hdf-pg .hdf-video-card .vc-cap { display: block; margin-top: 14px; }
html body .hdf-pg .hdf-video-card .vc-t { display: block; font: 400 24px/1.2 'Newsreader', Georgia, serif; }
html body .hdf-pg .hdf-video-card:hover .vc-t { text-decoration: underline; text-underline-offset: 4px; }
html body .hdf-pg .hdf-video-card .vc-m { display: block; margin-top: 4px; font: 500 12px/1.4 'IBM Plex Mono', monospace; color: #5a6b7d; }
html body .hdf-pg .hdf-video-card:focus-visible { outline: 3px solid #142940; outline-offset: 4px; }
html body .hdf-pg .eh-act a.video-a .i { color: #c6353b; }
html body .hdf-vplayer .plyr .plyr__control--overlaid, html body .hdf-vplayer .plyr .plyr__control--overlaid:focus { background: #c6353b; color: #fff; border: 0; border-radius: 50%; box-shadow: none; }
html body .hdf-vplayer .plyr .plyr__control--overlaid:hover { background: #a82c31; }
html body .hdf-vplayer .plyr .plyr__controls button:hover, html body .hdf-vplayer .plyr .plyr__controls button:focus { background: rgba(255, 255, 255, .14); color: #fff; }
html body .hdf-vplayer .plyr .plyr__controls .plyr__control--overlaid { display: none; }

/* breadcrumb links in blue everywhere (design) */
html body .hdf-pg .hdf-crumbs .elementor-heading-title a { color: #285d98; text-decoration: none; }
html body .hdf-pg .hdf-crumbs .elementor-heading-title a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Archive rows (home block and /arhiva/): one fixed grid shared by every row, so pills and links line up whatever the title length; top-aligned to the first line */
html body .hdf-pg .arch-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 150px minmax(210px, 300px); gap: 8px 32px; align-items: start; }
html body .hdf-pg .arch-row .arch-main { grid-column: 2; min-width: 0; }
html body .hdf-pg .arch-row .hdf-typewrap { grid-column: 3; align-self: start; margin-top: 2px; }
html body .hdf-pg .arch-row .arch-links { grid-column: 4; align-self: start; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 2px; }
html body .hdf-pg .arch-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(220px, 300px); gap: 12px 40px; align-items: start; }
html body .hdf-pg .arch-item .arch-item-main { grid-column: 2; min-width: 0; }
html body .hdf-pg .arch-item .arch-item-links { grid-column: 3; align-self: start; padding-top: 2px; }
@media (max-width: 1023px) {
	html body .hdf-pg .arch-row { grid-template-columns: 80px minmax(0, 1fr); }
	html body .hdf-pg .arch-row .arch-year { grid-row: 1 / span 3; }
	html body .hdf-pg .arch-row .arch-main, html body .hdf-pg .arch-row .hdf-typewrap, html body .hdf-pg .arch-row .arch-links { grid-column: 2; }
	html body .hdf-pg .arch-row .arch-links { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
	html body .hdf-pg .arch-item { grid-template-columns: 80px minmax(0, 1fr); }
	html body .hdf-pg .arch-item .arch-item-year { grid-row: 1 / span 2; }
	html body .hdf-pg .arch-item .arch-item-main, html body .hdf-pg .arch-item .arch-item-links { grid-column: 2; }
}
@media (max-width: 639px) { html body .hdf-pg .arch-row, html body .hdf-pg .arch-item { grid-template-columns: minmax(0, 1fr); } html body .hdf-pg .arch-row .arch-year, html body .hdf-pg .arch-item .arch-item-year { grid-row: auto; } html body .hdf-pg .arch-row .arch-main, html body .hdf-pg .arch-row .hdf-typewrap, html body .hdf-pg .arch-row .arch-links, html body .hdf-pg .arch-item .arch-item-main, html body .hdf-pg .arch-item .arch-item-links { grid-column: 1; } }
html body .hdf-pg .recent-lead a, html body .hdf-pg .recent-body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; } /* links in the text on the navy band */

/* Person cards on /o-drustvu/: search results link to #osoba-<slug>; keep the card below the sticky header, then mark it briefly. */
html body .hdf-pg [id^="osoba-"] { scroll-margin-top: calc(var(--hdf-header-h, 118px) + 16px); }
html body .hdf-pg [id^="osoba-"]:target { animation: hdf-osoba-hl 2.4s ease-out 1; }
@keyframes hdf-osoba-hl { from { background-color: #fff3c4; } to { background-color: transparent; } }
@media (prefers-reduced-motion: reduce) { html body .hdf-pg [id^="osoba-"]:target { animation: none; outline: 2px solid var(--blue); outline-offset: 4px; } }

/* ---- Member directory (/clanstvo/clanovi/, design clanovi v1) ---- */
html body .hdf-pg .elementor-element.cl-body { padding-top: clamp(32px, 4cqi, 56px); padding-bottom: clamp(64px, 8cqi, 112px); }
html body .hdf-pg .cl-field { position: relative; max-width: 640px; }
html body .hdf-pg .cl-field label { display: block; margin-bottom: 8px; font: 600 14px/1.3 var(--sans); color: var(--navy); }
html body .hdf-pg .cl-field input { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--muted); border-radius: 2px; font: 500 17px/1 var(--sans); color: var(--navy); background: #fff; }
html body .hdf-pg .cl-field input:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }
html body .hdf-pg .chips2 { display: flex; flex-wrap: wrap; gap: 8px; }
html body .hdf-pg .chip2 { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font: 600 13.5px/1 var(--sans); color: var(--navy); cursor: pointer; }
html body .hdf-pg .chip2 small { font: 500 11px/1 var(--mono); color: var(--muted); }
html body .hdf-pg .chip2:hover { border-color: var(--navy); background: #fff; color: var(--navy); }
html body .hdf-pg .chip2[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
html body .hdf-pg .chip2[aria-pressed="true"] small { color: var(--on-dark); }
html body .hdf-pg .chip2:focus-visible, html body .hdf-pg .cl-empty button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
html body .hdf-pg .az a, html body .hdf-pg .az span { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 2px; font: 500 13px/1 var(--mono); }
html body .hdf-pg .az a { color: var(--blue); text-decoration: none; }
html body .hdf-pg .az a:hover { background: var(--navy); color: #fff; }
html body .hdf-pg .az span { color: #6b7b8c; opacity: .6; }
html body .hdf-pg .cl-status { margin: 14px 0 0; font: 500 12px/1.4 var(--mono); color: var(--muted); }
html body .hdf-pg .mlist { list-style: none; margin: 0; padding: 0; }
html body .hdf-pg .m { display: grid; grid-template-columns: 96px minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr); gap: 4px 24px; align-items: baseline; margin: 0; padding: 16px 0; border-top: 1px solid var(--line); }
html body .hdf-pg .m-l { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin: -4px 0 0; font: 400 40px/1 var(--serif); color: var(--red); scroll-margin-top: calc(var(--hdf-header-h, 118px) + 16px); }
html body .hdf-pg .m-n { grid-column: 2; font: 400 16px/1.4 var(--sans); color: var(--navy); }
html body .hdf-pg .m-n b { font-weight: 700; }
html body .hdf-pg .m-i { grid-column: 3; font: 400 14.5px/1.5 var(--sans); color: var(--text-2); }
html body .hdf-pg .m-c { grid-column: 4; font: 500 12.5px/1.5 var(--mono); color: var(--muted); }
html body .hdf-pg .ret { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--status); font: 600 11.5px/1.4 var(--sans); color: var(--text-2); vertical-align: 1px; white-space: nowrap; }
html body .hdf-pg .cl-empty { padding: 40px 0; border-top: 1px solid var(--navy); }
html body .hdf-pg .cl-empty[hidden] { display: none; }
html body .hdf-pg .cl-empty h2 { margin: 0; font: 400 28px/1.2 var(--serif); color: var(--navy); }
html body .hdf-pg .cl-empty p { margin: 10px 0 0; font: 400 16px/1.6 var(--sans); color: var(--text-2); }
html body .hdf-pg .cl-empty button { margin-top: 18px; height: 48px; padding: 0 20px; border: 1px solid var(--navy); border-radius: 2px; background: #fff; font: 600 15px/1 var(--sans); color: var(--navy); cursor: pointer; }
html body .hdf-pg .m[hidden] { display: none; }
html body .hdf-pg .m.first-l { border-top: 1px solid var(--navy); margin-top: 28px; }
html body .hdf-pg .mlist > .m:first-child { margin-top: 28px; }
@media (scripting: none) { html body .hdf-pg .cl-filter .cl-field, html body .hdf-pg .cl-filter .chips2, html body .hdf-pg .cl-status { display: none; } } /* the filter needs JavaScript; the list and the letter bar work without it */
@media (max-width: 1023px) {
	html body .hdf-pg .m { grid-template-columns: 56px minmax(0, 1fr) auto; }
	html body .hdf-pg .m-l { grid-row: 1 / span 2; font-size: 32px; }
	html body .hdf-pg .m-n { grid-column: 2; grid-row: 1; }
	html body .hdf-pg .m-c { grid-column: 3; grid-row: 1; text-align: right; }
	html body .hdf-pg .m-i { grid-column: 2 / -1; grid-row: 2; }
}
@media (max-width: 600px) {
	html body .hdf-pg .m { grid-template-columns: minmax(0, 1fr) auto; grid-auto-flow: row; }
	html body .hdf-pg .m-l { grid-column: 1 / -1; grid-row: 1; margin: 0 0 8px; font-size: 32px; }
	html body .hdf-pg .m-n { grid-column: 1; grid-row: 2; }
	html body .hdf-pg .m-c { grid-column: 2; grid-row: 2; }
	html body .hdf-pg .m-i { grid-column: 1 / -1; grid-row: 3; }
	html body .hdf-pg .chips2 { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	html body .hdf-pg .chip2 { flex: none; }
	html body .hdf-pg .az a, html body .hdf-pg .az span { width: 36px; height: 36px; }
}

/* ======================================================================================================================================
   ONE PAGE-HERO SPEC (legal template spec v1, page header). Every beige hero (pages, legal pages, search, 404, archives, news, calls, events)
   is a `.page-head` section holding a `.wrap.page-head-in` container: the spacing below is the only place these values live.
   padding top clamp(40, 6vw, 88), bottom clamp(36, 5vw, 72); breadcrumb -> next 28; H1 -> lead 28; lead -> meta or count line 36;
   H1 clamp(48, 7vw, 96) / 1. The event header (eh-head) and the detail H1s keep their own, smaller H1 scale (long titles).
   ====================================================================================================================================== */
html body .hdf-pg .page-head { --hero-pt: clamp(40px, 6vw, 88px); --hero-pb: clamp(36px, 5vw, 72px); }
html body .hdf-pg .page-head > .page-head-in, html body .hdf-pg .page-head-tight > .page-head-in, html body .hdf-pg .sr-header > .page-head-in,
html body .hdf-pg .bg-warm > .eh-head { padding-top: var(--hero-pt, clamp(40px, 6vw, 88px)); padding-bottom: var(--hero-pb, clamp(36px, 5vw, 72px)); }
html body .hdf-pg .bg-warm > .eh-head { --hero-pt: clamp(40px, 6vw, 88px); padding-bottom: clamp(36px, 5vw, 72px); }
html body .hdf-pg .page-head .page-head-in > .hdf-crumbs, html body .hdf-pg .eh-head > .hdf-crumbs, html body .hdf-pg .sr-header .page-head-in > .hdf-crumbs { margin: 0 0 28px; }
html body .hdf-pg .page-head .page-head-in > .elementor-widget.page-h1, html body .hdf-pg .page-head .page-head-in > .elementor-widget.detail-h1 { margin: 0; }
html body .hdf-pg .page-head .page-head-in > .elementor-widget.page-lead, html body .hdf-pg .page-head .page-head-in > .elementor-widget.hdf-legal-lead,
html body .hdf-pg .page-head .page-head-in > .elementor-widget.sr-count-w, html body .hdf-pg .page-head .page-head-in > .elementor-widget.award-lead,
html body .hdf-pg .page-head .page-head-in > .elementor-widget.detail-cap, html body .hdf-pg .page-head .page-head-in .mem-head .elementor-widget.page-lead { margin: 28px 0 0; }
html body .hdf-pg .page-head .page-head-in > .elementor-widget.hdf-legal-meta, html body .hdf-pg .page-head .page-head-in > .elementor-widget.cm-label { margin-top: 36px; }
html body .hdf-pg .page-head .page-head-in > .elementor-widget.hdf-legal-meta { padding-top: 16px; }
html body .hdf-pg .page-head .page-head-in > .elementor-widget.cm-label + .elementor-widget.contact-mail { margin-top: 8px; }
html body .hdf-pg .page-head-in .mem-head { margin-top: 0; }
html body .hdf-pg .page-head-in .detail-pills { margin: 28px 0 0; }
html body .hdf-pg .page-head-in .detail-pills + .elementor-widget.detail-h1 { margin-top: 18px; }
html body .hdf-pg .page-head .page-head-in > .hdf-crumbs + .detail-pills { margin-top: 0; }

/* ---- Member directory v2: count line, notice card, filter, sticky letter bar ---- */
html body .hdf-pg .page-head .page-head-in > .elementor-widget.cl-meta { margin: 20px 0 0; }
html body .hdf-pg .cl-meta-l { display: flex; flex-wrap: wrap; align-items: baseline; list-style: none; margin: 0; padding: 0; }
html body .hdf-pg .cl-meta-l li { margin: 0; padding: 0 20px; font: 500 12.5px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
html body .hdf-pg .cl-meta-l li:first-child { padding-left: 0; }
html body .hdf-pg .cl-meta-l li + li { border-left: 1px solid var(--line); }
html body .hdf-pg .cl-meta-l b { font: 400 22px/1 var(--serif); letter-spacing: 0; color: var(--navy); margin-right: 4px; }
html body .hdf-pg .elementor-element.cl-note-w { margin-top: clamp(40px, 5vw, 64px); display: block; max-width: 760px; }
html body .hdf-pg .elementor-element.notice { display: flex; flex-direction: row; align-items: flex-start; flex-wrap: nowrap; gap: 16px; background: var(--cool); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 2px; padding: 18px 24px 20px 20px; }
html body .hdf-pg .elementor-widget.nt-ico { flex: none; width: 24px; color: var(--blue); }
html body .hdf-pg .nt-ico .nt-svg { display: block; width: 24px; height: 24px; }
html body .hdf-pg .elementor-element.nt-body { flex: 1 1 0; min-width: 0; display: block; }
html body .hdf-pg .elementor-widget.nt-h { margin: 0; }
html body .hdf-pg .nt-h .elementor-heading-title { margin: 0; font: 700 15px/22px var(--sans); color: var(--navy); }
html body .hdf-pg .elementor-widget.nt-action { margin: 6px 0 0; }
html body .hdf-pg .elementor-widget.nt-action > p { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--text); }
html body .hdf-pg .elementor-widget.nt-legal { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
html body .hdf-pg .elementor-widget.nt-legal > p { margin: 0; font: 400 14.5px/1.65 var(--sans); color: var(--text-2); }
html body .hdf-pg .notice a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
html body .hdf-pg .notice a:hover { color: var(--navy); text-decoration-thickness: 2px; }
html body .hdf-pg .notice a[href^="mailto:"] { white-space: nowrap; }
@media (max-width: 639px) {
	html body .hdf-pg .elementor-element.cl-note-w { margin-top: 36px; }
	html body .hdf-pg .elementor-element.notice { gap: 12px; padding: 18px 18px 20px 16px; }
	html body .hdf-pg .elementor-widget.nt-ico, html body .hdf-pg .nt-ico .nt-svg { width: 22px; height: 22px; }
	html body .hdf-pg .elementor-widget.nt-action > p { font-size: 15.5px; }
	html body .hdf-pg .elementor-widget.nt-legal > p { font-size: 14px; }
}
html body .hdf-pg .cl-filter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
/* only the letter bar is sticky: under the sticky header (and the admin bar), solid background, a rule once it is stuck */
html body .hdf-pg .elementor-widget.cl-az-w { position: sticky; top: calc(var(--hdf-header-h, 80px) + var(--wp-admin--admin-bar--height, 0px)); z-index: 20; background: #fff; margin-top: 20px; box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
html body .hdf-pg .az-bar { display: flex; align-items: center; gap: 16px; padding: 6px 0; min-height: 44px; }
html body .hdf-pg .az-l { flex: none; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html body .hdf-pg .az { display: flex; flex-wrap: nowrap; gap: 2px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
html body .hdf-pg .az::-webkit-scrollbar { display: none; }
html body .hdf-pg .az li { flex: none; margin: 0; padding: 0; }
html body .hdf-pg .az a[aria-current="true"] { background: var(--navy); color: #fff; }
html body .hdf-pg .az span[aria-disabled] { opacity: .45; }
html body .hdf-pg .az a:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; }
html body .hdf-pg .m-l { scroll-margin-top: calc(var(--hdf-header-h, 80px) + var(--wp-admin--admin-bar--height, 0px) + var(--cl-az-h, 52px) + 16px); }
@media (max-width: 1023px) { html body .hdf-pg .az-l { display: none; } html body .hdf-pg .az-bar { min-height: 52px; } }

/* ---- /clanstvo/: hero buttons and payment panel on the page grid (4/12 + 8/12, 72 px gap, like the FAQ below) ---- */
html body .hdf-pg .mem-btns { margin-top: 0; flex: 0 0 auto; align-items: center; }
html body .hdf-pg .mem-btns .elementor-widget { margin: 0; }
html body .hdf-pg .pay-box { display: grid; grid-template-columns: calc((100% - 72px) / 3 + 36px) minmax(0, 1fr); }
html body .hdf-pg .pay-left { border-right: 1px solid rgba(255, 255, 255, .12); }
html body .hdf-pg .pay-right { padding-left: 36px; }
@media (max-width: 1023px) {
	html body .hdf-pg .pay-box { grid-template-columns: minmax(0, 1fr); }
	html body .hdf-pg .pay-left { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	html body .hdf-pg .pay-right { padding-left: clamp(28px, 3.4cqi, 48px); }
}
@media (max-width: 639px) {
	html body .hdf-pg .mem-btns { flex-direction: column; align-items: stretch; width: 100%; }
	html body .hdf-pg .mem-btns .elementor-widget, html body .hdf-pg .mem-btns .elementor-button-wrapper, html body .hdf-pg .mem-btns .elementor-button, html body .hdf-pg .mem-btns .btn { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; }
}
/* /clanstvo/: 88 px between sections (head | steps | payment panel | FAQ) */
html body .hdf-pg .elementor-element.steps-sec { padding-top: clamp(56px, 6vw, 88px); padding-bottom: 0; }
html body .hdf-pg .elementor-element.steps-sec + .elementor-element.faq-sec { padding-top: clamp(56px, 6vw, 88px); }
/* one language at a time: the notice card's display rule above must not beat the language switch (legal.css) */
html:not([lang='en']) body .hdf-pg .elementor-element.notice.legal-en, html[lang='en'] body .hdf-pg .elementor-element.notice.legal-hr { display: none; }
html body .hdf-pg .page-head .mem-head .elementor-widget.page-h1 { margin: 0; }

/* Filter rows: the "Prikazano N od M" count sits in the row itself, right-aligned and centred with the pills, above the rule; when the row wraps it ends the last line, on phones it has its own right-aligned line */
html body .hdf-pg .filters > .count { margin: 0 0 0 auto; text-align: right; align-self: center; }
@media (max-width: 639px) { html body .hdf-pg .filters > .count { flex: 0 0 100%; margin-left: 0; } }
html body .hdf-pg .cl-chiprow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
html body .hdf-pg .cl-chiprow .cl-status { margin: 0 0 0 auto; text-align: right; }
@media (max-width: 639px) { html body .hdf-pg .cl-chiprow .cl-status { flex: 0 0 100%; margin-left: 0; } }
/* event page sections reached from "Na ovoj stranici": the heading stays below the sticky header */
html body .hdf-pg #program, html body .hdf-pg #odbori, html body .hdf-pg #organizatori, html body .hdf-pg #sponzori, html body .hdf-pg #galerija, html body .hdf-pg #dokumenti, html body .hdf-pg #video { scroll-margin-top: calc(var(--hdf-header-h, 80px) + var(--wp-admin--admin-bar--height, 0px) + 16px); }
/* news posts with an English body: one language at a time */
html:not([lang='en']) body .news-en, html[lang='en'] body .news-hr { display: none; }

/* ---- Home "Aktualno" ribbon on phones (design home-ribbon v1): tag | text | arrow, hanging indent, deadline under the text; desktop pill unchanged ---- */
@media (max-width: 767px) {
	html body .hdf-pg .ribbon { display: grid; grid-template-columns: auto minmax(0, 1fr) 20px; grid-template-rows: auto auto; align-items: start; flex-wrap: nowrap; gap: 0 10px; width: 100%; box-sizing: border-box; min-height: 44px; padding: 9px 12px 9px 9px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
	html body .hdf-pg .ribbon:hover { border-color: var(--blue); }
	html body .hdf-pg .ribbon:hover .ribbon-text { text-decoration: underline; text-underline-offset: 3px; }
	html body .hdf-pg .ribbon-tag { grid-column: 1; grid-row: 1; margin-top: 1px; padding: 5px 7px 4px; font: 500 9.5px/1 var(--mono); letter-spacing: .08em; }
	html body .hdf-pg .ribbon-text { grid-column: 2; grid-row: 1; min-width: 0; font: 500 14.5px/1.45 var(--sans); text-wrap: pretty; }
	html body .hdf-pg .ribbon-dl { grid-column: 2; grid-row: 2; margin-top: 2px; font: 500 11.5px/1.4 var(--mono); }
	html body .hdf-pg .ribbon::after { content: ""; grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 20px; height: 20px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h12M11 5l5 5-5 5'/%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 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h12M11 5l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat; }
}
@media (max-width: 359px) {
	html body .hdf-pg .ribbon { gap: 0 8px; padding: 9px 10px 9px 8px; }
	html body .hdf-pg .ribbon-text { font-size: 14px; }
}

/* The two-column home hero never overflows: the H1 column may shrink, and HR and EN use the same size and clamp (Owner), sized for the longest English word ("Physiological") */
html body .hdf-pg .hero-left, html body .hdf-pg .hero-left .elementor-widget { min-width: 0; max-width: 100%; }
html body .hdf-pg .hero-h1 .elementor-heading-title { overflow-wrap: break-word; }

/* ---- Sticky filter bar (/novosti/, /arhiva/): under the sticky header (admin bar aware), solid background, a rule under it, the cards scroll beneath;
   on phones the pills stay in one scrolling row and the bar stays about 56 px ---- */
html body .hdf-pg .elementor-widget.sticky-filters { position: sticky; top: calc(var(--hdf-header-h, 80px) + var(--wp-admin--admin-bar--height, 0px)); z-index: 20; background: #fff; box-shadow: 0 1px 0 var(--line); }
html body .hdf-pg .sticky-filters .elementor-shortcode { background: #fff; }
html body .hdf-pg .sticky-filters .arch-chips { padding: 14px 0; margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
html body .hdf-pg .sticky-filters .arch-chips::-webkit-scrollbar, html body .hdf-pg .sticky-filters .filters::-webkit-scrollbar { display: none; }
html body .hdf-pg .sticky-filters .arch-chips > * { flex: none; }
@media (max-width: 1023px) {
	html body .hdf-pg .sticky-filters .arch-chips { padding: 10px 0; }
	html body .hdf-pg .sticky-filters .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px 0; gap: 12px 20px; }
	html body .hdf-pg .sticky-filters .filters > * { flex: none; }
	html body .hdf-pg .sticky-filters .filters > .count { flex: none; margin-left: auto; white-space: nowrap; padding-left: 12px; }
}

/* "Tijela Društva": always four tiles (3 bodies + the member list), 4 / 2 / 1 columns, never an empty cell */
@media (max-width: 1239px) { html body .hdf-pg .struct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 359px) { html body .hdf-pg .struct-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { html body .hdf-pg .struct-n { font-size: 44px; } }
html body .hdf-pg .struct-cta { display: flex; flex-direction: column; background: var(--navy); color: #fff; padding: 28px; text-decoration: none; min-height: 100%; box-sizing: border-box; }
html body .hdf-pg .struct-cta .struct-n { color: #fff; }
html body .hdf-pg .struct-cta .struct-t { color: #fff; }
html body .hdf-pg .struct-cta .struct-link { margin-top: auto; padding-top: 16px; font: 600 14px/1.4 var(--sans); color: #fff; }
html body .hdf-pg .struct-cta .struct-link > span:first-child { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .55); text-underline-offset: 3px; text-decoration-thickness: 1px; }
html body .hdf-pg .struct-cta .arr { display: inline-block; transition: transform .15s ease; }
html body .hdf-pg .struct-cta:hover { background: var(--blue); color: #fff; }
html body .hdf-pg .struct-cta:hover .struct-link > span:first-child { text-decoration-color: #fff; }
html body .hdf-pg .struct-cta:hover .arr { transform: translateX(4px); }
html body .hdf-pg .struct-cta:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html body .hdf-pg .struct-cta:hover .arr { transform: none; } html body .hdf-pg .struct-cta .arr { transition: none; } }

/* ---- Phone filters (design mobile-filters v1, below 768 px; desktop unchanged): native selects, a full letter grid, a floating "A-Z" pill, nothing sticky, no sideways scroll ---- */
@media (max-width: 767px) {
	html body .hdf-pg .elementor-widget.sticky-filters { position: static; box-shadow: none; }
	html body .hdf-pg .sticky-filters .arch-chips, html body .hdf-pg .sticky-filters .filters { overflow: visible; }
	html body .hdf-pg .filters > .count { margin: 10px 0 0; padding: 0; text-align: left; flex: none; }
	/* members */
	html body .hdf-pg .chips2 { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
	html body .hdf-pg .chip2 { flex: 0 1 auto; padding: 0 12px; }
	html body .hdf-pg .elementor-widget.cl-az-w { position: static; box-shadow: none; margin-top: 20px; }
	html body .hdf-pg .az-bar { display: block; padding: 0; min-height: 0; }
	html body .hdf-pg .az { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0; overflow: visible; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
	html body .hdf-pg .az a, html body .hdf-pg .az span { width: 100%; height: 36px; box-sizing: border-box; border-radius: 0; box-shadow: inset -1px -1px 0 var(--line); }
	html body .hdf-pg .az span[aria-disabled] { opacity: 1; color: #9aa7b4; background: var(--cool); }
	html body .hdf-pg .m-l { scroll-margin-top: calc(var(--hdf-header-h, 73px) + var(--wp-admin--admin-bar--height, 0px) + 16px); }
	html body .hdf-pg .az-fab { display: inline-flex; position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border: 0; border-radius: 22px; background: var(--navy); color: #fff; font: 500 13px/1 var(--mono); cursor: pointer; box-shadow: 0 4px 14px rgba(20, 41, 64, .3); }
	html body .hdf-pg .az-fab[hidden] { display: none; }
	html body .hdf-pg .az-fab .fab-l { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--navy); font: 600 14px/1 var(--sans); }
	html body .hdf-pg .az-fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy); }
}

/* ---- Phone dropdowns (design mobile-dropdown v1), below 768 px: custom listbox dropdown for the /novosti/ and /arhiva/ filters ---- */
@media (max-width: 767px) {
	html body .hdf-pg .filters.hdf-has-dd { display: block; padding: 16px 0 12px; }
	html body .hdf-pg .filters.hdf-has-dd > .chips, html body .hdf-pg .arch-chips.hdf-has-dd { display: none; }
	html body .hdf-pg .dd-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding-top: 0; }
	html body .hdf-pg .dd-row-one { grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--navy); padding: 16px 0 12px; }
	html body .hdf-pg .dd { min-width: 0; }
	html body .hdf-pg .dd-btn { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 20px; grid-template-rows: auto auto; column-gap: 8px; align-items: center; width: 100%; min-height: 52px; box-sizing: border-box; margin: 0; padding: 7px 12px 8px 14px; text-align: left; border: 1px solid var(--muted); border-radius: 2px; background: #fff; color: var(--navy); cursor: pointer; font: inherit; }
	html body .hdf-pg .dd-btn:hover { border-color: var(--navy); background: #fff; color: var(--navy); }
	html body .hdf-pg .dd-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
	html body .hdf-pg .dd-open .dd-btn { border-color: var(--navy); box-shadow: inset 0 -2px 0 var(--red); }
	html body .hdf-pg .dd-l { grid-column: 1; grid-row: 1; font: 500 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
	html body .hdf-pg .dd-v { grid-column: 1; grid-row: 2; display: flex; align-items: baseline; gap: 6px; min-width: 0; }
	html body .hdf-pg .dd-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15px/1.3 var(--sans); color: var(--navy); }
	html body .hdf-pg .dd-n { flex: none; font: 500 11.5px/1 var(--mono); color: var(--muted); }
	html body .hdf-pg .dd-chev { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center; transition: transform .15s ease; }
	html body .hdf-pg .dd-open .dd-chev { transform: rotate(180deg); }
	html body .hdf-pg .dd-list { position: absolute; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px 0; list-style: none; z-index: 30; background: #fff; border: 1px solid var(--navy); box-shadow: 0 14px 32px rgba(14, 30, 48, .22); max-height: 60vh; overflow-y: auto; outline: 0; }
	html body .hdf-pg .dd-list[hidden] { display: none; }
	html body .hdf-pg .dd-list li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 0 8px; min-height: 48px; box-sizing: border-box; margin: 0; padding: 0 16px 0 14px; border-top: 1px solid var(--line-soft); font: 500 15px/1.3 var(--sans); color: var(--navy); cursor: pointer; }
	html body .hdf-pg .dd-list li:first-child { border-top: 0; }
	html body .hdf-pg .dd-chk { color: var(--red); visibility: hidden; display: inline-flex; }
	html body .hdf-pg .dd-list li[aria-selected="true"] { font-weight: 700; }
	html body .hdf-pg .dd-list li[aria-selected="true"] .dd-chk { visibility: visible; }
	html body .hdf-pg .dd-cnt { font: 500 12px/1 var(--mono); color: var(--muted); text-align: right; }
	html body .hdf-pg .dd-list li.dd-hl { background: var(--cool); }
	html body .hdf-pg .dd-list li.dd-hl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--navy); }
	html body .hdf-pg .dd-list li[aria-disabled="true"] { color: #8896a5; cursor: default; }
	html body .hdf-pg .filters.hdf-has-dd > .count { margin: 12px 0 0; padding: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html body .hdf-pg .dd-chev { transition: none; } }

/* Members A–Ž pill: [hidden] must win over the theme's button styles (they showed it unstyled as "AA–Ž" on desktop) */
html body .hdf-pg .az-fab[hidden] { display: none !important; }
/* Desktop (Owner 2026-11-19: keep the pill on desktop too): same pill as on phones, shown once the list has scrolled past its first letter */
@media (min-width: 768px) {
	html body .hdf-pg .az-fab { display: inline-flex; position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border: 0; border-radius: 22px; background: var(--navy); color: #fff; font: 500 13px/1 var(--mono); cursor: pointer; box-shadow: 0 4px 14px rgba(20, 41, 64, .3); }
	html body .hdf-pg .az-fab .fab-l { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--navy); font: 600 14px/1 var(--sans); }
	html body .hdf-pg .az-fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy); }
	html body .hdf-pg .az-fab { right: 32px; bottom: 32px; }
}
/* Novosti/Arhiva phone dropdowns are phone-only: on wider screens the pills stay (theme button styles showed them unstyled on desktop) */
@media (min-width: 768px) { html body .hdf-pg .dd-row { display: none !important; } }
html body .hdf-pg .sec-now .next-meet { margin-top: 24px; }
/* "Sljedeći skup" card = the Obavijest card above it (label 7px down in a 14px line, h2 -0.5px, sub 8px below, solid small button 32px below) */
html body .hdf-pg .next-meet .award-main { flex: 1 1 100%; }
html body .hdf-pg .next-meet .award-main > .elementor-widget.label { margin: 0; padding-top: 7px; }
html body .hdf-pg .next-meet .award-main > .elementor-widget.label .elementor-heading-title { font: inherit; line-height: 14px; }
html body .hdf-pg .next-meet .award-main > .elementor-widget.h2-card { margin-top: 20.5px; }
html body .hdf-pg .next-meet .award-main > .elementor-widget.h2-card .elementor-heading-title { letter-spacing: -.5px; }
html body .hdf-pg .next-meet .award-main > .elementor-widget.award-sub { margin-top: 8px; }
html body .hdf-pg .next-meet .award-main > .elementor-widget.hdf-bw { margin-top: 32px; }

/* Lecture video link in a programme item (Plitvice 2022 recordings from the old site, opens the video viewer) */
html body .hdf-pg .prog-list a.prog-video { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; margin: 2px 0 0 8px; font: 600 14px/1.4 var(--sans); color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
html body .hdf-pg .prog-list a.prog-video::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
html body .hdf-pg .prog-list a.prog-video:hover, html body .hdf-pg .prog-list a.prog-video:focus-visible { color: var(--text); }
html body .hdf-pg .prog-list a.prog-video .hdf-sr { position: absolute !important; display: inline !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
