/* Focus is intentionally visible on all interactive elements. */
#nks-main-content { scroll-margin-top:150px; }
.nks-visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
body .nks-document-links { margin-left:1.25em; }
body .nks-document-links li { margin-bottom:.7em; }
body .nks-document-links a { text-decoration:underline; text-underline-offset:.2em; color:#772047; overflow-wrap:anywhere; }
body .nks-a11y-footer .nks-document-links a { color:#fff; }
body .nks-a11y-footer .nks-document-links { margin-left:1em; }
body .nks-footer-heading { font-size:24px; line-height:1.4; }
body .nks-contact-heading { font-size:18px; line-height:1.5; }
body .nks-page-title { padding:0!important; margin:0 0 20px!important; font-size:clamp(28px,2.8vw,38px)!important; line-height:1.2!important; font-weight:600!important; }
body #search-results article.result .title > span { color:#555!important; opacity:1!important; }
body .nks-search-form label { display:block; margin-bottom:8px; font-weight:700; }
body .nks-search-form input { width:min(100%,420px); border:2px solid #595959!important; background:#fff!important; color:#222!important; }
body #ajax-content-wrap .nks-search-form button { margin:8px 0; padding:12px 18px; border:2px solid #772047; background:#772047!important; color:#fff!important; opacity:1!important; font:inherit; cursor:pointer; }
body :is(a,button,input,select,textarea,[tabindex]):focus-visible {
  outline: 3px solid #005fcc !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 2px #fff !important;
}
body :is(.skip-link,.nectar-skip-to-content):focus { position:fixed!important; top:10px!important; left:10px!important; z-index:100000!important; background:#fff!important; color:#111!important; padding:16px!important; }
#header-outer .current-menu-item > a { text-decoration:underline; text-underline-offset:.3em; }
body .tabbed .wpb_tabs_nav li a { color:#595959; white-space:normal; overflow-wrap:anywhere; }
body .tabbed .wpb_tabs_nav li a[aria-selected="true"] { text-decoration:underline; text-underline-offset:.25em; }
body .tabbed[data-style="material"] .wpb_tabs_nav li a[aria-selected="true"], body .tabbed[data-style="material"] .wpb_tabs_nav li a[aria-selected="true"] span { color:#fff!important; }
body.page-id-931 #ajax-content-wrap > .container-wrap .wpb_text_column :is(h2,h3,h4,h5,p,a) { color:#333; }
body .nectar-hor-list-item :is(h2,h4,h5,p) { color:#333; }
body .nectar-hor-list-item h2.nks-contact-heading { font-size:18px; }
body .meta-category a { color:#444!important; }
body .meta-category { color:#595959; }
body.archive .masonry-blog-item .post-header .title a, body.search .masonry-blog-item .post-header .title a { color:#fff!important; background:rgba(0,0,0,.8); padding:.1em .35em; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
body.archive .masonry-blog-item .meta-category, body.search .masonry-blog-item .meta-category { display:inline-block; padding:.15em .4em; background:rgba(0,0,0,.8); color:#fff; }
body.archive .masonry-blog-item .meta-category a, body.search .masonry-blog-item .meta-category a { color:#fff!important; background:none; }
body.page-id-926 .nectar-split-heading h1 { color:#8a5d00; }
body .nks-a11y-panel-hidden { display:none!important; }
body .toggle > .toggle-title a { padding-right:45px; }
body .toggle > div, body .wpb_tab { overflow-wrap:anywhere; }
#footer-outer :is(h3,p,a), .nks-a11y-footer :is(h3,p,a) { overflow-wrap:anywhere; }
body .nks-a11y-team-open { display:block; margin:12px 0; padding:12px 18px; border:2px solid #772047; border-radius:4px; background:#fff; color:#772047; font:inherit; cursor:pointer; }
body .nks-a11y-team-dialog { width:min(760px, calc(100% - 32px)); max-height:85vh; overflow:auto; padding:28px; border:2px solid #333; border-radius:8px; background:#fff; color:#222; }
body .nks-a11y-team-dialog::backdrop { background:rgba(0,0,0,.65); }
body .nks-a11y-team-dialog button { padding:10px 16px; background:#772047; color:white; border:0; cursor:pointer; font:inherit; }
body .nks-a11y-gallery-dialog { width:min(1000px,calc(100% - 24px)); max-height:90vh; box-sizing:border-box; overflow:auto; padding:20px; border:2px solid #333; background:#fff; color:#222; }
body .nks-a11y-gallery-dialog::backdrop { background:rgba(0,0,0,.8); }
body .nks-a11y-gallery-dialog > img { display:block; width:auto; max-width:100%; max-height:60vh; height:auto; margin:12px auto; object-fit:contain; }
body .nks-a11y-gallery-dialog button { padding:10px 14px; border:2px solid #772047; background:#772047; color:#fff; font:inherit; white-space:normal; cursor:pointer; }
body .nks-gallery-controls { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; }
body .nks-a11y-gallery-dialog p { overflow-wrap:anywhere; }
@media(max-width:690px) {
 #header-outer #logo img { max-width:46vw; height:auto; }
 body .tabbed .wpb_tabs_nav li { width:100%; max-width:100%; }
 body .tabbed .wpb_tabs_nav li a { height:auto!important; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto!important; }
 body .tabbed *, body .toggle *, body .nks-a11y-team-dialog { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}

/* MIRRI 1.4.3, 1.4.10, 1.4.11: GTranslate switcher and search fields. */
body .gt_selector { color:#222!important; background-color:#fff!important; border:2px solid #595959!important; }
body .gt_selector option { color:#222; background:#fff; }
body #slide-out-widget-area .gt_selector { color:#fff!important; background-color:#000!important; border-color:#fff!important; }
body #slide-out-widget-area .gt_selector option { color:#222; background:#fff; }
@media (max-width:600px) { body #header-outer #top .menu-item-gtranslate { display:none!important; } }
body .wp-block-search__input, body .widget_search input[name="s"], body #ajax-content-wrap input[type="search"] { border:2px solid #595959!important; background-color:#fff!important; color:#222!important; }

/* Homepage hero title stays out of the layout; footer info row matches the footer. */
body .nks-hidden-title { position:absolute!important; margin:0!important; }
body .nks-a11y-footer-meta { margin-top:-1px!important; margin-bottom:0!important; }
body .nks-a11y-footer-meta .nks-document-links { margin:0!important; padding:16px 0 24px; }
body .nks-a11y-footer-meta .nks-document-links li { list-style:none!important; margin:0 0 12px!important; }
body .nks-a11y-footer-meta nav { padding-left:clamp(6px,2vw,17px); }
/* Keep the overlapping homepage circles inside narrow screens (1.4.10). */
@media (max-width:389px) { body.home .center-wrapper-mobile { scale:.93; } }
@media (max-width:364px) { body.home .center-wrapper-mobile { scale:.84; } }
@media (max-width:329px) { body.home .center-wrapper-mobile { scale:.78; } }
body .nks-page-title.nks-page-title-spaced { padding-top:32px!important; }
/* 1.4.3 (0.4.0): modré nadpisy sekcií (#2b9dc1, 3,1:1) spĺňajú kontrast len ako veľký text. Na užších displejoch téma zmenšila písmo pod 24 px, preto ostáva najmenej 24 px. */
@media (max-width:999px) { body #ajax-content-wrap .nectar-responsive-text .nks-section-title { font-size:max(24px,1em)!important; line-height:1.25!important; } }
