/* One gentle hover for every card on the site (pages built by sluk-setup/17..23): 2px lift, slightly stronger soft shadow, no extra accent stripe (it clashed with the cards' own coloured borders and rounded corners, Owner 2026-11-20), ~150 ms.
   Add the class "sluk-card" to a container to get it. */
.elementor .sluk-card { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.elementor .sluk-card:hover, .elementor .sluk-card:focus-within {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(42, 32, 36, .14) !important;
}
@media (prefers-reduced-motion: reduce) {
	.elementor .sluk-card { transition: none; }
	.elementor .sluk-card:hover, .elementor .sluk-card:focus-within { transform: none; }
}

/* Plum button (home hero "O SLUK-u", Owner: "u drugoj boji"): beats the kit's site-wide green button rule (01-fonts-kit.php) */
.elementor-widget.sluk-btn-plum a.elementor-button:not([aria-disabled="true"]):not(.is-disabled),
.elementor-widget.sluk-btn-plum a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):visited { background-color: #B1586C !important; color: #fff !important; }
.elementor-widget.sluk-btn-plum a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):hover,
.elementor-widget.sluk-btn-plum a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):focus { background-color: #8E4456 !important; color: #fff !important; }
.elementor-widget.sluk-btn-plum a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):active { background-color: #6E2F3F !important; }

/* Button labels vertically centred everywhere (the kit sets a min-height, Elementor renders the link as inline-block, so the text sat high) */
.elementor-widget-button a.elementor-button { display: inline-flex; align-items: center; justify-content: center; }
.elementor-widget-button a.elementor-button .elementor-button-content-wrapper { align-items: center; }
.elementor-widget-button.elementor-align-justify a.elementor-button,
.elementor-widget-button[class*="-align-justify"] a.elementor-button { display: flex; }

/* Search box (404 page, search results): pill field with a plum pill button inside (Owner 2026-11-20 "uljepšajmo search bar") */
.sluk-search-box .elementor-search-form__container { position: relative; display: flex; align-items: center; min-height: 60px; padding: 6px; border: 2px solid #E7DCCB !important; border-radius: 999px !important; background: #fff !important; box-shadow: 0 8px 24px rgba(42,32,36,.08); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.sluk-search-box .elementor-search-form__container:focus-within { border-color: #8E3F52 !important; box-shadow: 0 0 0 4px rgba(142,63,82,.15), 0 8px 24px rgba(42,32,36,.08); }
.sluk-search-box input.elementor-search-form__input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 12px 0 52px !important; border: 0 !important; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%238E3F52' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") no-repeat 18px 50% !important; color: #2A2024; font: 400 17px/1.3 "Public Sans", sans-serif; box-shadow: none !important; outline: none; }
.sluk-search-box input.elementor-search-form__input::placeholder { color: #6B5F62; opacity: 1; }
.sluk-search-box button.elementor-search-form__submit { flex: 0 0 auto; height: 48px; min-width: 0 !important; margin: 0 !important; padding: 0 26px !important; border: 0 !important; border-radius: 999px !important; background: #8E3F52 !important; color: #fff !important; font: 700 16px/1 Rubik, sans-serif !important; letter-spacing: .3px; box-shadow: none !important; cursor: pointer; transition: background-color .15s; }
.sluk-search-box button.elementor-search-form__submit:hover, .sluk-search-box button.elementor-search-form__submit:focus-visible { background: #6E2F3F !important; }
.sluk-search-box button.elementor-search-form__submit:focus-visible { outline: 3px solid #2A2024; outline-offset: 2px; }
@media (max-width: 480px) { .sluk-search-box input.elementor-search-form__input { padding-left: 46px !important; background-position: 14px 50% !important; font-size: 16px; } .sluk-search-box button.elementor-search-form__submit { padding: 0 18px !important; } }
@media (prefers-reduced-motion: reduce) { .sluk-search-box .elementor-search-form__container, .sluk-search-box button.elementor-search-form__submit { transition: none; } }

/* Page titles on the artwork bands (Owner 2026-11-20: sticker variant C5 with a stitched seam): a plum sticker, slightly tilted, with a mint layer behind
   and a sewn seam drawn as SVG by sluk-site/header.js (thread + its shadow, rounded corners). Every band with class sluk-title-art (sluk_title_band(), 26-hd-title-images.php). */
.sluk-title-art .elementor-widget-heading, .sluk-title-art .sluk-art-h1-wrap { text-align: center; }
.sluk-title-art .elementor-heading-title, .sluk-title-art .sluk-art-h1 {
	position: relative; display: inline-block !important; margin: 0 !important; padding: 18px 46px 22px !important;
	text-transform: none !important; font-family: Rubik, sans-serif !important; font-weight: 800 !important; letter-spacing: -.01em !important;
	font-size: clamp(30px, 1.6rem + 2.6vw, 64px) !important; line-height: 1 !important; color: #fff !important; text-shadow: 0 2px 0 rgba(110, 47, 63, .35);
	background: #B1586C; border-radius: 22px; transform: rotate(-2deg); box-shadow: 10px 10px 0 #86C6AF, 10px 10px 0 2px rgba(83, 152, 128, .25);
}
.sluk-title-art .sluk-stitch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
@media (max-width: 767px) { .sluk-title-art .elementor-heading-title, .sluk-title-art .sluk-art-h1 { padding: 12px 28px 15px !important; border-radius: 16px; box-shadow: 6px 6px 0 #86C6AF; } }
@media (max-width: 480px) { .sluk-title-art .elementor-heading-title, .sluk-title-art .sluk-art-h1 { font-size: 26px !important; padding: 10px 22px 12px !important; } }

/* Outline button (sa_btn(..., 'outline'): /pravilnik/ "Preuzmi PDF", 404 "Novosti"/"Galerija"/"Sve novosti"): transparent, plum 2px border and text, filled plum on hover. Beats the kit's green rule. */
.elementor-widget.sluk-btn-outline a.elementor-button:not([aria-disabled="true"]):not(.is-disabled),
.elementor-widget.sluk-btn-outline a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):visited { background-color: transparent !important; color: #8E3F52 !important; border: 2px solid #8E3F52 !important; }
.elementor-widget.sluk-btn-outline a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):hover,
.elementor-widget.sluk-btn-outline a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):focus { background-color: #8E3F52 !important; color: #fff !important; border-color: #8E3F52 !important; }
.elementor-widget.sluk-btn-outline a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):active { background-color: #6E2F3F !important; border-color: #6E2F3F !important; }


/* D4: a focused element or an anchor target must not end up under the sticky header (and the sticky filter bar under it on /novosti/, category, search, /galerija/). --sluk-hdr is set by sluk-site/header.js. */
html:root { scroll-padding-top: calc(var(--sluk-hdr, 0px) + 24px) !important; }
html:root:has(.sluk-art-bar, .sluk-novosti-chips, .sluk-gal-filter-w) { scroll-padding-top: calc(var(--sluk-hdr, 0px) + 96px) !important; }

/* D5: the two fact cards on /sponzori/ (icon + two lines) are 132px wide at 320px and their text overflows the row: stack them below 421px. */
@media (max-width: 420px) { .e-con:has(> .elementor-widget-icon + .e-con) { flex: 1 1 100%; width: 100%; } }

/* D6: "Učitaj više" on /novosti/: new cards are added above the button; browser scroll anchoring then moved the page by ~55px. Keep the view where it is, and keep the button the same height while loading. */
.sluk-news-grid, .sluk-news-grid * { overflow-anchor: none; }
.sluk-news-grid.e-load-more-pagination-loading .elementor-button .elementor-button-text::after { line-height: 24px; }

/* D10: venue link in programme cards: underline (the kit's link reset removed it; colour alone is not enough) */
.sluk-pg__venue a { text-decoration: underline !important; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }

/* D10: card titles are at least 24px tall touch targets (WCAG 2.5.8) */
.elementor-post__title a, .sluk-news-title .elementor-heading-title a { display: block; min-height: 24px; }

/* "Pročitaj više »" on news cards is a text link built as a button: the kit's green button rule (also for :visited) turned it into a green block
   or white-on-white once the article had been read (Owner 2026-11-20). Keep it a plum text link in every state. */
html body .sluk-news-more a.elementor-button, html body .sluk-news-more a.elementor-button:visited,
html body .sluk-news-more a.elementor-button:not([aria-disabled="true"]):not(.is-disabled), html body .sluk-news-more a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):visited {
	background: transparent !important; color: #8E3F52 !important; border-color: transparent !important; box-shadow: none !important; min-height: 0 !important; padding: 0 !important; display: inline-block !important; }
html body .sluk-news-more a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):hover, html body .sluk-news-more a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):focus-visible,
html body .sluk-news-more a.elementor-button:not([aria-disabled="true"]):not(.is-disabled):active {
	background: transparent !important; color: #6E2F3F !important; text-decoration: underline !important; text-underline-offset: .2em; }
html body .sluk-news-more a.elementor-button .elementor-button-text { color: inherit !important; }

/* Phone (Owner 2026-11-20): footer legal links and the news category chips in ONE row; if a row is still wider than the screen it scrolls sideways (no scrollbar) instead of wrapping */
@media (max-width: 767px) {
	html body .sluk-legal-links { flex-wrap: nowrap !important; justify-content: safe center !important; gap: 0 12px !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 12px; }
	html body .sluk-legal-links::-webkit-scrollbar { display: none; }
	html body .sluk-legal-links li { flex: 0 0 auto; white-space: nowrap; }
	html body .sluk-legal-links li + li::before { display: none !important; }
	html body .sluk-legal-links a { font-size: 12.5px !important; padding: 8px 0 !important; }
	html body .sluk-archive-chips-wrap ul, html body .sluk-archive-chips, html body .sluk-archive-chips-wrap > .elementor-widget-container > div, html body .sluk-archive-chips-wrap p { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; gap: 8px !important; -webkit-overflow-scrolling: touch; }
	html body .sluk-archive-chips-wrap a { flex: 0 0 auto; white-space: nowrap; }
}

/* Header menu: the active item is orange text, no underline (Owner 2026-11-20) */
html body .elementor-location-header .elementor-nav-menu--main > ul > li > a.elementor-item.elementor-item-active,
html body .elementor-location-header .elementor-nav-menu--main > ul > li.current-menu-ancestor > a.elementor-item {
	color: var(--e-global-color-accent, #FA9C44) !important; text-decoration: none !important; }
