/* Visual layer for the existing WordPress templates and plugin adapters. */
body.sintez-space {
  --sp-bg: #fff;
  --sp-paper: #fff;
  --sp-head: #eaf4f8;
  --sp-ink: #071b35;
  --sp-ink2: #263d56;
  --sp-muted: #4b6076;
  --sp-gold: #ff4f16;
  --sp-gold2: #ff4f16;
  --sp-goldsoft: #fff4ea;
  --sp-line: #d6dee7;
  --sp-hover: #eaf4f8;
  --sp-accent-strong: #b93409;
  --sp-display: Inter, Arial, sans-serif;
  --sp-serif: Inter, Arial, sans-serif;
  --sp-sans: Inter, Arial, sans-serif;
  --sp-text: Inter, Arial, sans-serif;
  background: #fff;
  color: var(--sp-ink);
  font: 400 18px/1.6 var(--sp-text);
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body.sintez-space [hidden] { display: none !important; }
body.sintez-space :focus-visible { outline: 3px solid var(--sp-accent-strong); outline-offset: 4px; }
body.sintez-space :is(h1,h2,h3,h4,h5,h6) { font-family: var(--sp-text); letter-spacing: -.035em; font-weight: 650; }
body.sintez-space :is(button,input,textarea,select) { font-family: var(--sp-text); }
body.sintez-space a { color: var(--sp-ink); }
body.sintez-space a:hover { color: var(--sp-accent-strong); }
body.sintez-space .entry :is(.entry-content,.entry-summary,.entry-footer) a:not(:where(.button,.su-button,.wp-block-button__link,.mejs__container *,.mejs-container *)) { color: var(--sp-ink); text-decoration-color: #8397ac; text-decoration-thickness: 1px; text-underline-offset: .22em; }
body.sintez-space .entry :is(.entry-content,.entry-summary,.entry-footer) a:hover { color: var(--sp-accent-strong); text-decoration-color: var(--sp-gold); }
body.sintez-space li::marker { color: var(--sp-ink); }
body.sintez-space .skip-link:focus { top: 10px; left: 12px; z-index: 9999; padding: 12px; background: #fff; color: var(--sp-ink); }

/* Text-only masthead with all levels of the existing WordPress menu. */
body.sintez-space .space-header { position: sticky; top: var(--sp-admin); z-index: 120; border-bottom: 1px solid var(--sp-line); background: #fffffffa; backdrop-filter: blur(10px); }
body.sintez-space .space-header-inner { max-width: 1284px; min-height: 82px; padding: 12px 32px; margin: auto; display: flex; align-items: center; gap: 24px; }
body.sintez-space .space-brand { flex: 0 0 160px; display: flex; flex-direction: column; text-decoration: none; line-height: 1.25; }
body.sintez-space .space-brand strong { font-size: 22px; font-weight: 750; letter-spacing: -.045em; }
body.sintez-space .space-brand span { font-size: 12px; margin-top: 4px; color: var(--sp-muted); letter-spacing: .025em; }
body.sintez-space .sintez-navigation { position: static; width: auto; flex: 1; min-width: 0; border: 0; background: transparent; backdrop-filter: none; margin: 0; }
body.sintez-space .sintez-navigation .inside-navigation { max-width: none; padding: 0; }
body.sintez-space .sintez-navigation .main-nav > ul { flex-wrap: nowrap; justify-content: flex-end; gap: 2px; }
body.sintez-space .sintez-navigation .main-nav ul li > :is(a,.sintez-submenu-toggle) { --sp-menu-py: 12px; --sp-menu-px: 10px; background: transparent; border-radius: 0; border: 0; padding: 12px 10px; font: 550 14px/1.4 var(--sp-text); white-space: nowrap; transition: color .15s, background .15s; }
body.sintez-space .sintez-navigation .main-nav ul li > :is(a,.sintez-submenu-toggle):is(:hover,:focus-visible,:active),
body.sintez-space .sintez-navigation .main-nav ul li:is(.current-menu-item,.current_page_item,.current-menu-ancestor,.current_page_ancestor,.is-open) > :is(a,.sintez-submenu-toggle) { border: 0; padding: 12px 10px; background: var(--sp-head); color: var(--sp-ink); box-shadow: inset 0 -2px var(--sp-gold); }
body.sintez-space .sintez-navigation .main-nav ul ul { background: #fff; border: 1px solid var(--sp-line); border-top: 3px solid var(--sp-gold); border-radius: 0; box-shadow: 0 12px 30px #071b3514; padding: 8px; width: 320px; }
body.sintez-space .sintez-navigation .main-nav ul ul li > :is(a,.sintez-submenu-toggle) { width: 100%; border-radius: 0; padding: 9px 12px; font-size: 16px; font-weight: 400; white-space: normal; }
body.sintez-space .sintez-navigation .main-nav ul ul li > :is(a,.sintez-submenu-toggle):is(:hover,:focus-visible,:active),
body.sintez-space .sintez-navigation .main-nav ul ul li:is(.current-menu-item,.current_page_item,.current-menu-ancestor,.current_page_ancestor,.is-open) > :is(a,.sintez-submenu-toggle) { padding: 9px 12px; }
body.sintez-space .sintez-navigation .main-nav ul ul ul { position: static; box-shadow: none; border: 0; border-left: 1px solid var(--sp-line); margin: 4px 0 4px 10px; padding: 0 0 0 8px; width: calc(100% - 10px); }
body.sintez-space .sintez-navigation .main-nav ul li > .sintez-submenu-secondary { font-size: 12px; padding: 2px 10px; }
body.sintez-space .sintez-navigation .menu-toggle { display: none; width: auto; min-height: 44px; padding: 10px 12px; border: 1px solid var(--sp-line); border-radius: 0; gap: 10px; align-items: center; font-size: 16px; }
body.sintez-space .space-menu-icon { width: 17px; height: 12px; border-block: 1.5px solid currentColor; position: relative; display: inline-block; }
body.sintez-space .space-menu-icon::after { content: ''; width: 17px; border-top: 1.5px solid currentColor; position: absolute; top: 4px; left: 0; }

/* The front page starts with the site title only. */
body.sintez-space .space-hero { background: #fff; padding: 0 32px; }
body.sintez-space .space-hero-inner { max-width: 1220px; margin: auto; padding: 42px 0; }
body.sintez-space .space-hero h1 { display: block; margin: 0; font: 650 clamp(38px,4.1vw,58px)/1.1 var(--sp-text); letter-spacing: -.055em; max-width: 100%; overflow-wrap: normal; word-break: normal; hyphens: none; }

/* Existing documents, archives and plugins retain their markup. */
body.sintez-space .site.grid-container { max-width: 1284px; padding: 48px 32px 64px; margin: 0 auto; }
body.sintez-space.page-template-page-wide .site.grid-container { max-width: 1480px; }
body.sintez-space .site-main > article { border: 0; border-radius: 0; padding: 0; margin: 0 0 32px; background: #fff; }
body.sintez-space .site-main > article::before { display: none; }
body.sintez-space .entry .entry-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--sp-line); }
body.sintez-space .entry-header .si_title,
body.sintez-space .entry .entry-title { font: 650 clamp(32px,3.4vw,46px)/1.14 var(--sp-text); text-align: left; letter-spacing: -.045em; }
body.sintez-space .sintez-breadcrumbs { text-align: left; margin-top: 18px; color: var(--sp-muted); font-size: 14px; }
body.sintez-space .entry :is(h2,h3,h4,h5,h6) { font-family: var(--sp-text); font-weight: 650; letter-spacing: -.03em; }
body.sintez-space .entry h2 { font-size: clamp(26px,2.6vw,36px); line-height: 1.2; }
body.sintez-space .entry h3 { font-size: 24px; line-height: 1.25; }
body.sintez-space .entry :is(.entry-content,.entry-summary) { color: var(--sp-ink); line-height: 1.6; }
body.sintez-space .entry p { font-size: 18px; line-height: 1.6; }
body.sintez-space .entry blockquote { border-radius: 0; border-left: 3px solid var(--sp-gold); background: var(--sp-goldsoft); font: inherit; }
body.sintez-space :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea) { border-radius: 0; border-color: #a9b9c9; }
body.sintez-space :is(button,input[type=submit],.button,.wp-block-button__link):not(:where(.sintez-navigation *,.space-hero *,.mejs__container *,.mejs-container *,#wpadminbar *)) { border-radius: 0; }
body.sintez-space .entry-content .su-spoiler.su-spoiler-style-fancy { border-radius: 0; background: #fff; border-color: var(--sp-line); }
body.sintez-space .entry-content .su-spoiler-title { border-radius: 0; font-size: 17px !important; padding: 12px 16px 12px 38px !important; }
body.sintez-space .entry-content .su-spoiler-icon { top: 14px !important; }
body.sintez-space .entry-content .su-spoiler-content { padding: 12px 20px 20px; }
body.sintez-space .entry-content .su-tabs { background: var(--sp-head); border-radius: 0; }
body.sintez-space .entry-content .su-tabs .su-tabs-nav > span { border-radius: 0; border-bottom: 3px solid transparent; font: 500 17px/1.4 var(--sp-text); }
body.sintez-space .entry-content .su-tabs .su-tabs-nav > .su-tabs-current { border-bottom-color: var(--sp-gold); background: #fff; }
body.sintez-space .entry-content .su-tabs-pane { border-radius: 0; }
body.sintez-space .searchandfilter { background: var(--sp-head); border: 0; border-top: 3px solid var(--sp-gold); border-radius: 0; padding: 24px; }
body.sintez-space .searchandfilter .chosen-container .chosen-single { border-radius: 0; }
body.sintez-space :is(.wp-pagenavi,.pagination) :is(a,span) { border-radius: 0; }
body.sintez-space .sintez-table-scroll { border-radius: 0; }
body.sintez-space .sintez-table-scroll :is(th,thead td) { background: var(--sp-head); }
body.sintez-space .sintez-record-card { border-radius: 0; border-top: 3px solid var(--sp-gold); }
body.sintez-space .sintez-record-card::before { display: none; }
body.sintez-space .sintez-record-view[aria-pressed=true] { background: var(--sp-head); }
body.sintez-space .sintez-record-label { color: var(--sp-muted); font-size: 14px; }
body.sintez-space .sintez-record-toolbar-label,
body.sintez-space .sintez-record-date { color: var(--sp-muted); }
body.sintez-space .sintez-record-summary { color: var(--sp-accent-strong); }
body.sintez-space .entry-content .sintez-record-view { border-radius: 0; font-size: 16px; min-height: 44px; }
body.sintez-space .entry-content .sintez-record-view[aria-pressed=true] { background: var(--sp-head); border-color: var(--sp-ink); box-shadow: inset 0 0 0 1px var(--sp-ink); }
body.sintez-space .sintez-table-scroll tbody tr:nth-child(2n) > td { background: #f5f9fc; }
body.sintez-space .entry-content .su-button { border-radius: 0 !important; }
body.sintez-space .entry-content :is(.su-box,.su-box-content,.su-note) { border-radius: 0 !important; }

/* Group live home content without replacing or truncating publications. */
body.sintez-space.home { background: var(--sp-head); }
body.sintez-space.home .site.grid-container { padding-top: 40px; }
body.sintez-space.home .site-main > article { background: transparent; }
body.sintez-space.home.sintez-home-sections .entry-content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
body.sintez-space.home .entry-content > * { grid-column: 1 / -1; min-width: 0; }
body.sintez-space.home .entry-content > .sintez-home-card { margin: 0; border: 0; border-radius: 0; background: #fff; padding: 32px; }
body.sintez-space.home .sintez-home-card::before { display: none; }
body.sintez-space.home .entry-content > .sintez-home-card[data-space-kind=feature] { background: #fff4ea; border-left: 3px solid var(--sp-gold); }
body.sintez-space.home .entry-content > .sintez-home-card:is([data-space-kind=news],[data-space-kind=texts]) { grid-column: auto; border-top: 3px solid var(--sp-gold); }
body.sintez-space.home .entry-content > .sintez-home-card[data-space-kind=notices] { background: #fff4ea; }
body.sintez-space.home .sintez-home-section > h2 { margin-bottom: 20px; font-size: 30px; }
body.sintez-space.home .sintez-home-card .rpwe-block ul { padding-left: 20px !important; }
body.sintez-space.home .sintez-home-card .rpwe-block li { margin-bottom: 14px !important; font-size: 17px; line-height: 1.5; }
body.sintez-space.home .entry .entry-content > .sintez-home-card > p { font-size: 17px; }
body.sintez-space.home .entry-content > .sintez-home-meta { display: none; }

body.sintez-space .space-footer { margin-top: 0; border: 0; border-top: 4px solid var(--sp-gold); border-radius: 0; background: var(--sp-ink); color: #fff; padding: 0; }
body.sintez-space .space-footer-inner { max-width: 1284px; margin: auto; padding: 40px 32px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
body.sintez-space .space-footer-brand > a { font-size: 25px; font-weight: 700; color: #fff; text-decoration: none; }
body.sintez-space .space-footer-brand p { max-width: 370px; color: #c6d7e5; font-size: 15px; line-height: 1.55; margin: 10px 0 0; }
body.sintez-space .space-footer .inside-site-info { padding: 0; margin: 0; text-align: left; font: 400 14px/1.9 var(--sp-text); color: #c6d7e5; }
body.sintez-space .space-footer a { color: #fff; text-decoration-color: #8da3b9; }
body.sintez-space .space-footer a:hover { color: #ffb193; }
body.sintez-space .space-footer :focus-visible { outline-color: #ffb193; }
body.sintez-space .sintez-footer-menu { grid-column: 1 / -1; }
body.sintez-space #sc-banner { font-family: var(--sp-text); border-top-color: var(--sp-line); }
body.sintez-space #sc-banner :is(button,.sc-button) { border-radius: 0; }

@media (max-width: 1200px) and (min-width: 1101px) {
  body.sintez-space .space-header-inner { gap: 12px; padding-inline: 24px; }
  body.sintez-space .space-brand { flex-basis: 145px; }
  body.sintez-space .sintez-navigation .main-nav > ul > li > :is(a,.sintez-submenu-toggle) { padding-inline: 7px; }
}
@media (max-width: 1100px) {
  body.sintez-space .space-header-inner { min-height: 76px; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  body.sintez-space .space-brand { flex-basis: auto; }
  body.sintez-space .sintez-navigation { flex: 0 1 auto; margin-left: auto; }
  body.sintez-space .sintez-navigation .inside-navigation { display: flex; justify-content: flex-end; }
  body.sintez-space .sintez-navigation.sintez-menu-ready .menu-toggle { display: inline-flex; margin: 0; }
  body.sintez-space .sintez-navigation .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--sp-line); max-height: calc(85dvh - 76px); overflow-y: auto; padding: 12px 32px 20px; }
  body.sintez-space .sintez-navigation.sintez-menu-ready:not(.toggled) .main-nav { display: none; }
  body.sintez-space .sintez-navigation.toggled .main-nav,
  body.sintez-space .sintez-navigation:not(.sintez-menu-ready) .main-nav { display: block; }
  body.sintez-space .sintez-navigation:not(.sintez-menu-ready) { flex-basis: 100%; }
  body.sintez-space .sintez-navigation:not(.sintez-menu-ready) .main-nav { position: static; }
  body.sintez-space .sintez-navigation .main-nav > ul { display: block; }
  body.sintez-space .sintez-navigation .main-nav > ul > li { width: 100%; }
  body.sintez-space .sintez-navigation .main-nav ul li > :is(a,.sintez-submenu-toggle) { width: 100%; text-align: left; font-size: 16px; min-height: 44px; white-space: normal; }
  body.sintez-space .sintez-navigation .main-nav ul ul { position: static; width: 100%; max-width: 100%; max-height: none; margin: 0 0 8px; border: 0; border-left: 2px solid var(--sp-gold); box-shadow: none; }
  body.sintez-space .space-hero-inner { padding-block: 36px; }
  body.sintez-space .space-hero h1 { font-size: 46px; }
}
@media (max-width: 782px) { body.sintez-space.admin-bar { --sp-admin: 46px; } }
@media (max-width: 768px) {
  html { scroll-padding-top: 96px; }
  body.sintez-space .space-header-inner { padding-inline: 20px; }
  body.sintez-space .space-brand strong { font-size: 21px; }
  body.sintez-space .space-hero { padding-inline: 20px; }
  body.sintez-space .space-hero-inner { padding: 28px 0; }
  body.sintez-space .space-hero h1 { font-size: clamp(34px,8.9vw,48px); line-height: 1.08; }
  body.sintez-space .site.grid-container { padding: 32px 20px 40px; }
  body.sintez-space.home .site.grid-container { padding-top: 24px; }
  body.sintez-space.home.sintez-home-sections .entry-content { grid-template-columns: 1fr; gap: 20px; }
  body.sintez-space.home .entry-content > .sintez-home-card { padding: 26px 22px; }
  body.sintez-space.home .sintez-home-section > h2 { font-size: 27px; }
  body.sintez-space .space-footer-inner { padding: 32px 20px; grid-template-columns: 1fr; gap: 24px; }
  body.sintez-space .searchandfilter { padding: 20px 16px; }
  body.sintez-space .sintez-navigation .main-nav { padding-inline: 20px; }
}
@media (max-width: 360px) {
  body.sintez-space .space-hero h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body.sintez-space * { transition: none !important; } }
@media print {
  body.sintez-space { background: #fff; color: #000; }
  body.sintez-space .space-header { position: static; }
  body.sintez-space :is(.sintez-navigation,.space-hero,.space-footer) { display: none; }
  body.sintez-space .site.grid-container { padding: 0; max-width: none; }
  body.sintez-space.home .entry-content { display: block; }
  body.sintez-space .sintez-home-card { break-inside: avoid; }
}
