/* Don Kihot theme – components. Colours/fonts come from theme.json presets. */

:root {
	--dk-red: var(--wp--preset--color--udruga, #9D0B0E);
	--dk-red-dark: var(--wp--preset--color--udruga-dark, #6F0709);
	--dk-green: var(--wp--preset--color--zelenko, #3D7322);
	--dk-leaf: var(--wp--preset--color--zelenko-leaf, #4C8B2B);
	--dk-green-light: var(--wp--preset--color--zelenko-light, #EAF2E3);
	--dk-cream: var(--wp--preset--color--cream, #F5EFE3);
	--dk-sand: var(--wp--preset--color--sand, #E0D2B8);
	--dk-bark: var(--wp--preset--color--bark, #4A3B2A);
	--dk-ink: var(--wp--preset--color--charcoal, #241F1C);
	--dk-radius: 16px;
	--dk-arrow-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--dk-plus-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

body { -webkit-font-smoothing: antialiased; }
img { height: auto; max-width: 100%; }
:where(a) { text-underline-offset: 0.15em; }
:focus-visible { outline: 3px solid var(--dk-ink); outline-offset: 2px; border-radius: 4px; }

/* ---------- utilities ---------- */
@media (max-width: 781px) { .dk-hide-mobile { display: none !important; } }
@media (min-width: 782px) { .dk-hide-desktop { display: none !important; } }
.dk-muted { color: var(--dk-bark); }
.dk-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.dk-eyebrow::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.dk-eyebrow--udruga { color: var(--dk-red); }
.dk-eyebrow--zelenko { color: var(--dk-green); }
.dk-ph { display: flex; align-items: flex-end; justify-content: flex-start; padding: 0.6rem; box-sizing: border-box; background: var(--dk-sand); color: var(--dk-bark); font-size: 0.75rem; font-weight: 700; }

/* ---------- arrow in a circle ---------- */
.dk-arrow { --dk-a: var(--dk-red); --dk-a-fg: #fff; position: relative; display: inline-block; width: 32px; height: 32px; border-radius: 50%; background: var(--dk-a); flex-shrink: 0; vertical-align: middle; }
.dk-arrow::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; background: var(--dk-a-fg); -webkit-mask: var(--dk-arrow-svg) center / contain no-repeat; mask: var(--dk-arrow-svg) center / contain no-repeat; }
.dk-arrow--zelenko { --dk-a: var(--dk-green); }
.dk-arrow--dark { --dk-a: var(--dk-ink); }
.dk-arrow--light { --dk-a: #fff; --dk-a-fg: var(--dk-red); }
.dk-arrow-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; text-decoration: none; }
.dk-arrow-link .dk-arrow { width: 26px; height: 26px; }
.dk-arrow-link .dk-arrow::after { width: 14px; height: 14px; }

/* ---------- pill buttons (shortcode output) ---------- */
.dk-pill { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; box-sizing: border-box; padding: 0.7rem 1.25rem; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 0.95rem; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.dk-pill--dark { background: var(--dk-ink); color: #fff; }
.dk-pill--dark:hover { background: #000; color: #fff; }
.dk-pill--outline { background: transparent; border-color: var(--dk-ink); color: var(--dk-ink); }
.dk-pill--outline:hover { background: var(--dk-ink); color: #fff; }
.dk-pill--light { background: #fff; color: var(--dk-ink); }
.dk-pill--light:hover { background: var(--dk-cream); color: var(--dk-ink); }
.dk-pill--outline-light { background: transparent; border-color: #fff; color: #fff; }
.dk-pill--outline-light:hover { background: rgba(255,255,255,0.15); color: #fff; }
.dk-pill--wide { display: flex; width: 100%; }

/* ---------- block styles: buttons ---------- */
.wp-block-button.is-style-dk-zelenko .wp-block-button__link { background: var(--dk-green); color: #fff; }
.wp-block-button.is-style-dk-zelenko .wp-block-button__link:hover { background: #2C5419; }
.wp-block-button.is-style-dk-outline .wp-block-button__link { background: transparent; color: var(--dk-ink); border: 2px solid currentColor; padding-top: calc(0.85rem - 2px); padding-bottom: calc(0.85rem - 2px); }
.wp-block-button.is-style-dk-outline .wp-block-button__link:hover { background: var(--dk-ink); color: #fff; }
.wp-block-button.is-style-dk-light .wp-block-button__link { background: #fff; color: var(--dk-red); }
.wp-block-button.is-style-dk-light .wp-block-button__link:hover { background: var(--dk-cream); }
.wp-block-button.is-style-dk-dark .wp-block-button__link { background: var(--dk-ink); color: #fff; }
.wp-block-button.is-style-dk-arrow .wp-block-button__link { position: relative; display: inline-flex; align-items: center; min-height: 32px; background: transparent; color: var(--dk-ink); padding: 0.25rem 40px 0.25rem 0; }
.wp-block-button.is-style-dk-arrow .wp-block-button__link:hover { background: transparent; color: var(--dk-red); }
.wp-block-button.is-style-dk-arrow .wp-block-button__link::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--dk-red); }
.wp-block-button.is-style-dk-arrow .wp-block-button__link::before { content: ""; position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; background: #fff; z-index: 1; -webkit-mask: var(--dk-arrow-svg) center / contain no-repeat; mask: var(--dk-arrow-svg) center / contain no-repeat; }
.dk-zone-green .wp-block-button.is-style-dk-arrow .wp-block-button__link::after,
.wp-block-button.is-style-dk-arrow.dk-green .wp-block-button__link::after { background: var(--dk-green); }

/* ---------- block styles: groups ---------- */
.wp-block-group.is-style-dk-card { background: #fff; border-radius: var(--dk-radius); padding: 1rem 1.1rem; }
.wp-block-group.is-style-dk-card-cream { background: var(--dk-cream); border-radius: var(--dk-radius); padding: 1rem 1.1rem; }
.wp-block-group.is-style-dk-zone-udruga { border-top: 6px solid var(--dk-red); }
.wp-block-group.is-style-dk-zone-zelenko { border-top: 6px solid var(--dk-leaf); }

/* Clickable card with arrow. Put one link in the card's heading. Add class dk-green for the Zelenko variant. */
.wp-block-group.is-style-dk-link-card { --dk-a: var(--dk-red); position: relative; display: flex; align-items: center; gap: 0.9rem; background: #fff; border: 2px solid var(--dk-a); border-radius: 18px; padding: 0.9rem 3.4rem 0.9rem 0.9rem; }
.wp-block-group.is-style-dk-link-card.dk-green { --dk-a: var(--dk-green); }
.wp-block-group.is-style-dk-link-card.dk-plain { border-color: transparent; }
.wp-block-group.is-style-dk-link-card > * { margin: 0 !important; }
.wp-block-group.is-style-dk-link-card::after { content: ""; position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--dk-a); }
.wp-block-group.is-style-dk-link-card::before { content: ""; position: absolute; right: calc(0.9rem + 8px); top: 50%; transform: translateY(-50%); width: 18px; height: 18px; background: #fff; z-index: 1; -webkit-mask: var(--dk-arrow-svg) center / contain no-repeat; mask: var(--dk-arrow-svg) center / contain no-repeat; }
.wp-block-group.is-style-dk-link-card a { color: inherit; text-decoration: none; }
.wp-block-group.is-style-dk-link-card a::before { content: ""; position: absolute; inset: 0; border-radius: 18px; z-index: 2; }
.wp-block-group.is-style-dk-link-card:hover { box-shadow: 0 6px 18px rgba(36,31,28,0.12); }
.wp-block-group.is-style-dk-link-card h2, .wp-block-group.is-style-dk-link-card h3 { color: var(--dk-a); font-size: 1.2rem; }
.wp-block-group.is-style-dk-link-card .wp-block-image { flex-shrink: 0; }
.wp-block-group.is-style-dk-link-card .wp-block-image img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* Tile: whole tile clickable via its first link. */
.dk-tile { position: relative; }
.dk-tile a { color: inherit; text-decoration: none; }
.dk-tile a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.dk-tile:hover { box-shadow: 0 6px 18px rgba(36,31,28,0.12); }
.dk-tile .wp-block-image { margin: 0 0 0.6rem; }
.dk-tile .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.dk-tile p { margin: 0; }
.dk-tile .dk-tile__sub { font-size: 0.8rem; color: var(--dk-bark); }

/* ---------- images ---------- */
.wp-block-image.is-style-dk-rounded img { border-radius: var(--dk-radius); }
.wp-block-image.is-style-dk-circle img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.wp-block-image img:not([src]), .wp-block-image img[src=""] { display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--dk-sand); border-radius: var(--dk-radius); }
.dk-hero .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 782px) { .dk-hero .wp-block-image img { aspect-ratio: 1 / 1; border-radius: 24px; } }

/* ---------- FAQ / accordions ---------- */
.wp-block-details { border-bottom: 1px solid var(--dk-sand); padding: 0.25rem 0; }
.wp-block-details summary { position: relative; list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; font-weight: 700; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--dk-cream); }
.wp-block-details.is-style-dk-faq summary::after, .dk-docs .wp-block-details summary::after { background: var(--dk-cream); }
.wp-block-details summary::before { content: ""; position: absolute; right: 7px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); background: var(--dk-red); z-index: 1; -webkit-mask: var(--dk-plus-svg) center / contain no-repeat; mask: var(--dk-plus-svg) center / contain no-repeat; transition: transform 0.2s; }
.wp-block-details[open] summary::before { transform: translateY(-50%) rotate(45deg); }
.wp-block-details > :not(summary) { margin-top: 0.4rem; }
.dk-zone-green .wp-block-details summary::before { background: var(--dk-green); }
.wp-block-details.is-style-dk-faq { background: #fff; border: 0; border-radius: 14px; padding: 0.25rem 1rem; margin-bottom: 0.5rem; }
.dk-docs .wp-block-details { background: #fff; border: 0; border-radius: 14px; padding: 0.25rem 1rem; margin-top: 0.6rem; }
.dk-docs .wp-block-details ul { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.dk-docs .wp-block-details li { border-top: 1px solid #EEE7DA; padding: 0.65rem 0 0.65rem 1.9rem; position: relative; }
.dk-docs .wp-block-details li::before { content: ""; position: absolute; left: 0; top: 0.75rem; width: 20px; height: 20px; background: var(--dk-red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%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 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- header ---------- */
.dk-header { background: #fff; border-bottom: 1px solid var(--dk-sand); }
.dk-header--zelenko { border-bottom: 4px solid var(--dk-leaf); }
.dk-header--udruga { border-bottom: 4px solid var(--dk-red); }
.dk-header .wp-block-site-title, .dk-brand { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.3rem; line-height: 1.05; margin: 0; }
.dk-brand a { color: var(--dk-ink); text-decoration: none; }
.dk-brand--zelenko a { color: var(--dk-green); }
.dk-brand-sub { font-size: 0.72rem; font-weight: 600; color: var(--dk-bark); margin: 0; line-height: 1.2; }
.dk-header .wp-block-image { margin: 0; }
.dk-header .wp-block-image img { width: 42px; height: 42px; }
.dk-header .wp-block-navigation { font-weight: 700; font-size: 0.95rem; }
.dk-header .wp-block-navigation a { text-decoration: none; color: var(--dk-ink); }
.dk-header .wp-block-navigation-item.dk-nav-zelenko a { color: var(--dk-green); }
.dk-header .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; justify-content: center; }
.dk-header .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
.dk-header .wp-block-navigation__responsive-container.is-menu-open { background: #fff; padding: 1.25rem 1.25rem 2rem; }
.dk-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 0; padding-top: 3rem; }
.dk-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid #EEE7DA; }
.dk-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; padding: 0.85rem 0; font-size: 1.15rem; }
.dk-header .wp-block-buttons .wp-block-button__link { padding: 0.6rem 1.05rem; font-size: 0.9rem; }
@media (min-width: 782px) { .dk-header .wp-block-buttons { order: 2; } }

/* ---------- page sections ---------- */
.dk-section > :first-child { margin-top: 0; }
.dk-hero h1 { margin-top: 0; }
.dk-hero .dk-doors { margin-top: 1.25rem; }
@media (max-width: 781px) { .dk-hero .dk-hero__media { order: -1; } }
.dk-row-between { gap: 1rem; }
.dk-row-between > * { margin: 0 !important; }
.dk-card-icon { width: 40px; height: 40px; }
.dk-year { font-family: var(--wp--preset--font-family--heading); font-size: 2.6rem; line-height: 1; color: var(--dk-red); margin-bottom: 0.2rem !important; }
.dk-year + p { margin-top: 0; }

/* Text on coloured sections */
.has-text-color :where(h1, h2, h3, h4) { color: inherit; }
.has-udruga-background-color a:not(.wp-element-button):not(.dk-pill),
.has-zelenko-background-color a:not(.wp-element-button):not(.dk-pill) { color: #fff; }
.has-base-color .wp-block-button.is-style-dk-outline .wp-block-button__link,
.dk-on-dark .wp-block-button__link { color: #fff; border-color: #fff; }
.has-base-color .wp-block-button.is-style-dk-outline .wp-block-button__link:hover { background: rgba(255,255,255,0.15); }
.has-zelenko-background-color .wp-block-button.is-style-dk-light .wp-block-button__link { color: var(--dk-green); }
.dk-voucher { border-radius: 18px; padding-left: var(--wp--preset--spacing--40) !important; padding-right: var(--wp--preset--spacing--40) !important; }

/* Responsive grids: predictable columns in every WordPress version. */
.dk-grid { display: grid !important; }
.dk-grid--m2-d4, .dk-grid--m2-d3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.dk-grid--m1-d2, .dk-grid--m1-d3 { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 782px) {
	.dk-grid--m2-d4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.dk-grid--m2-d3, .dk-grid--m1-d3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.dk-grid--m1-d2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ---------- notice banner ---------- */
.dk-notice { display: flex; gap: 0.75rem; align-items: flex-start; background: var(--dk-ink); color: #fff; border-radius: 14px; padding: 0.9rem 1rem; }
.dk-notice--upozorenje { background: var(--wp--preset--color--warning, #B4530A); }
.dk-notice__icon { flex-shrink: 0; margin-top: 2px; }
.dk-notice__title { font-weight: 700; margin: 0; }
.dk-notice__text { margin: 0.15rem 0 0; font-size: 0.92rem; opacity: 0.95; }
.dk-notice .dk-pill { margin-top: 0.6rem; min-height: 38px; padding: 0.45rem 1rem; font-size: 0.85rem; }

/* ---------- featured card ---------- */
.dk-featured { background: var(--dk-green); color: #fff; border-radius: 18px; overflow: hidden; }
.dk-featured__media img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.dk-featured__body { padding: 1rem; }
.dk-featured__label { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
.dk-featured__title { color: #fff; margin: 0.15rem 0 0; font-size: 1.55rem; }
.dk-featured__meta { margin: 0.2rem 0 0; font-size: 0.92rem; }
.dk-featured__btns { display: flex; gap: 0.5rem; margin-top: 0.8rem; flex-wrap: wrap; }
.dk-featured__btns .dk-pill { flex: 1 1 140px; }
.dk-featured__btns .dk-pill--light { color: var(--dk-green); }
@media (min-width: 782px) {
	.dk-featured { display: flex; }
	.dk-featured__media { flex: 0 0 40%; }
	.dk-featured__media img { height: 100%; aspect-ratio: auto; }
	.dk-featured__body { padding: 1.4rem 1.6rem; }
	.dk-featured__btns .dk-pill { flex: 0 0 auto; }
}

/* ---------- projects ---------- */
.dk-projects__head { display: flex; align-items: center; gap: 0.6rem; }
.dk-projects__head h2 { margin: 0; }
.dk-count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; border-radius: 14px; background: var(--dk-red); color: #fff; font-weight: 700; font-size: 0.9rem; padding: 0 6px; box-sizing: border-box; }
.dk-projects__intro { color: var(--dk-bark); font-size: 0.92rem; margin: 0.3rem 0 0.8rem; }
.dk-projects__list { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.dk-project { display: flex; align-items: center; gap: 0.8rem; background: var(--dk-cream); border-radius: 14px; padding: 0.9rem 1rem; text-decoration: none; color: var(--dk-ink); height: 100%; box-sizing: border-box; }
.dk-project:hover { color: var(--dk-ink); box-shadow: 0 6px 18px rgba(36,31,28,0.1); }
.dk-project__text { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.dk-project__title { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.dk-project__line { font-size: 0.9rem; font-weight: 400; }
.dk-project__meta { font-size: 0.78rem; font-weight: 600; color: var(--dk-bark); }
@media (min-width: 782px) { .dk-projects__list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }

/* ---------- events ---------- */
.dk-events__title { margin: 0 0 0.7rem; }
.dk-events__list { display: grid; gap: 0.6rem; }
.dk-event { display: flex; align-items: center; gap: 0.8rem; background: #fff; border-radius: 14px; padding: 0.75rem; text-decoration: none; color: var(--dk-ink); max-width: 640px; }
a.dk-event:hover { color: var(--dk-ink); box-shadow: 0 6px 18px rgba(36,31,28,0.1); }
.dk-event__date { flex: 0 0 58px; text-align: center; background: var(--dk-ink); color: #fff; border-radius: 10px; padding: 0.4rem 0; line-height: 1.05; }
.dk-event--fallback .dk-event__date { background: var(--dk-green); }
.dk-event__day { display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.35rem; }
.dk-event--fallback .dk-event__day { font-size: 1.05rem; }
.dk-event__month { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.dk-event__text { flex: 1; display: flex; flex-direction: column; }
.dk-event__name { font-weight: 700; }
.dk-event__when { font-size: 0.85rem; color: var(--dk-bark); }

/* ---------- location ---------- */
.dk-location { display: grid; gap: 1rem; }
.dk-location__media img, .dk-location__media .dk-ph { display: flex; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--dk-radius); }
.dk-location__body h2 { margin: 0 0 0.6rem; }
.dk-location__body p { margin: 0 0 0.8rem; }
.dk-location__btns { display: flex; flex-direction: column; gap: 0.5rem; }
.dk-location__mail { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem !important; }
.dk-location--zelenko .dk-ph { background: #D6E6C8; color: #2C5419; }
@media (min-width: 782px) {
	.dk-location { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2.5rem; }
	.dk-location__btns { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- newsletter ---------- */
.dk-newsletter { display: grid; gap: 0.8rem; }
.dk-newsletter h2 { margin: 0; font-size: 1.35rem; }
.dk-newsletter p { margin: 0.2rem 0 0; color: var(--dk-bark); font-size: 0.92rem; }
.dk-newsletter__form input[type="email"], .dk-newsletter__form input[type="text"] { min-height: 46px; border: 1px solid #C9B796; border-radius: 23px; padding: 0 1rem; font: inherit; }
@media (min-width: 782px) { .dk-newsletter { grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; } }

/* ---------- legal footer ---------- */
.dk-footer { background: var(--dk-ink); color: #F5EFE3; font-size: 0.88rem; }
.dk-footer a { color: #F5EFE3; }
.dk-legal__cols { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.dk-legal__col p { margin: 0 0 0.5rem; }
.dk-legal__col::before { content: ""; display: block; width: 30px; height: 4px; margin-bottom: 0.6rem; background: var(--dk-sand); }
.dk-legal__col--udruga::before { background: #E8383C; }
.dk-legal__col--zelenko::before { background: #7BBF55; }
.dk-legal__note { opacity: 0.8; font-size: 0.8rem; }
.dk-legal__copy { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--dk-bark); opacity: 0.75; font-size: 0.8rem; }

/* ---------- animals ---------- */
.dk-animals-strip { display: flex; gap: 0.7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; margin-right: calc(-1 * var(--wp--style--root--padding-right, 16px)); padding-right: var(--wp--style--root--padding-right, 16px); }
.dk-animal-tile { flex: 0 0 140px; scroll-snap-align: start; text-decoration: none; color: var(--dk-ink); }
.dk-animal-tile:hover { color: var(--dk-ink); }
.dk-animal-tile__img { display: flex; width: 140px; height: 160px; object-fit: cover; border-radius: 14px; }
.dk-animal-tile__name { display: block; font-weight: 700; margin-top: 0.4rem; }
.dk-animal-tile__breed { display: block; font-size: 0.8rem; font-weight: 400; color: var(--dk-bark); }
@media (min-width: 782px) {
	.dk-animals-strip { overflow: visible; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-right: 0; padding-right: 0; }
	.dk-animals-strip .dk-animal-tile:nth-child(n+7) { display: none; }
	.dk-animal-tile { flex: none; }
	.dk-animal-tile__img { width: 100%; height: auto; aspect-ratio: 4 / 5; }
}
.dk-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 1rem; }
.dk-filter__btn { min-height: 42px; padding: 0 1rem; border-radius: 21px; border: 1px solid #C9B796; background: #fff; color: var(--dk-ink); font: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.dk-filter__btn[aria-pressed="true"] { background: var(--dk-ink); border-color: var(--dk-ink); color: #fff; }
.dk-animal-list { display: grid; gap: 0.8rem; }
.dk-animal { display: flex; background: #fff; border-radius: var(--dk-radius); overflow: hidden; }
.dk-animal[hidden] { display: none; }
.dk-animal__img { flex: 0 0 120px; width: 120px; min-height: 150px; object-fit: cover; display: flex; }
.dk-animal__body { padding: 0.75rem 0.9rem; min-width: 0; }
.dk-animal__breed { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dk-bark); }
.dk-animal__name { margin: 0; font-size: 1.35rem; }
.dk-animal__text { margin: 0.25rem 0 0.4rem; font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dk-animal .dk-arrow-link { font-size: 0.85rem; }
@media (min-width: 782px) {
	.dk-animal-list { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
	.dk-animal__img { flex-basis: 150px; width: 150px; }
}

/* ---------- people ---------- */
.dk-people--mreza { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 0.6rem; }
.dk-people--traka { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; }
.dk-person { text-align: center; text-decoration: none; color: var(--dk-ink); display: flex; flex-direction: column; align-items: center; }
.dk-person:hover { color: var(--dk-ink); }
.dk-people--traka .dk-person { flex: 0 0 110px; }
.dk-person__img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--heading); font-size: 1.6rem; padding: 0; }
.dk-people--traka .dk-person__img { width: 110px; height: 110px; border-radius: 14px; }
.dk-person__name { font-weight: 700; font-size: 0.85rem; margin-top: 0.4rem; line-height: 1.25; }
.dk-person__role { font-size: 0.75rem; font-weight: 400; color: var(--dk-bark); }
@media (min-width: 782px) { .dk-people--mreza { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } }

/* ---------- donation ---------- */
.dk-donate { display: grid; gap: 0.8rem; color: #fff; }
.dk-donate .dk-pill--light { color: var(--dk-red); font-size: 1rem; }
.dk-donate__bank { display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; background: rgba(255,255,255,0.12); border-radius: 14px; padding: 0.9rem; }
.dk-donate__code { width: 100%; max-width: 340px; height: auto; background: #fff; border-radius: 6px; padding: 8px; box-sizing: border-box; }
.dk-donate__text p { margin: 0; font-size: 0.88rem; }
.dk-donate__iban { font-weight: 700; font-size: 1rem !important; margin-top: 0.25rem !important; word-break: break-all; }
.dk-donate__bankname { opacity: 0.9; }
.dk-donate .dk-copy { margin-top: 0.6rem; min-height: 38px; padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.dk-donate__links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.dk-donate__links .dk-pill { flex: 1 1 150px; }
@media (min-width: 782px) { .dk-donate__bank { flex-direction: row; align-items: center; } .dk-donate__code { max-width: 320px; } }

/* ---------- posts ---------- */
.dk-post-meta { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.dk-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; color: var(--dk-red); background: #fff; border-radius: 12px; padding: 0.25rem 0.6rem; }
.dk-badge--soft { color: var(--dk-bark); }
.dk-news .wp-block-post { display: flex; gap: 0.8rem; align-items: flex-start; }
.dk-news .wp-block-post-featured-image { flex: 0 0 96px; margin: 0; }
.dk-news .wp-block-post-featured-image img { width: 96px; height: 78px; object-fit: cover; border-radius: 10px; }
.dk-news .wp-block-post-title { font-size: 1rem; line-height: 1.3; margin: 0; }
.dk-news .wp-block-post-title a { color: var(--dk-ink); text-decoration: none; }
.dk-news .wp-block-post-terms { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; margin: 0 0 0.15rem; }
.dk-news .wp-block-post-terms a { text-decoration: none; }
@media (min-width: 782px) {
	.dk-news .wp-block-post { display: block; }
	.dk-news .wp-block-post-featured-image { margin-bottom: 0.6rem; }
	.dk-news .wp-block-post-featured-image img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; }
	.dk-news .wp-block-post-title { font-size: 1.15rem; }
}
.dk-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.dk-chips .wp-block-button__link { background: #fff; color: var(--dk-ink); border: 1px solid var(--dk-sand); padding: 0.4rem 0.9rem; font-size: 0.82rem; }
.dk-chips .wp-block-button:first-child .wp-block-button__link { background: var(--dk-ink); color: #fff; border-color: var(--dk-ink); }

/* ---------- timeline ---------- */
.dk-timeline { list-style: none; margin: 0; padding: 0; }
.dk-timeline > li { position: relative; padding: 0 0 1.2rem 1.9rem; }
.dk-timeline > li::before { content: ""; position: absolute; left: 0; top: 0.35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--dk-red); }
.dk-timeline > li::after { content: ""; position: absolute; left: 7px; top: 1.4rem; bottom: 0; width: 2px; background: var(--dk-sand); }
.dk-timeline > li:last-child::after { display: none; }
.dk-timeline strong:first-child { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 1.25rem; color: var(--dk-red); line-height: 1.2; }

/* ---------- checklist (why us) ---------- */
.dk-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.dk-checks li { position: relative; padding-left: 2.8rem; min-height: 36px; }
.dk-checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--dk-green-light); }
.dk-checks li::after { content: ""; position: absolute; left: 9px; top: 9px; width: 18px; height: 18px; background: var(--dk-green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%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 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- birthday packages ---------- */
.dk-package { border: 2px solid #DDE8D3; }
.dk-package--featured { border-color: var(--dk-green); }
.dk-package .dk-price { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.6rem; margin: 0; }
.dk-package h3 { color: var(--dk-green); margin: 0; }
.dk-package p { margin: 0.2rem 0 0; }

/* ---------- step list ---------- */
.dk-steps { counter-reset: dk-step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.dk-steps li { counter-increment: dk-step; position: relative; background: var(--dk-cream); border-radius: 12px; padding: 0.8rem 0.9rem 0.8rem 3.2rem; }
.dk-steps li::before { content: counter(dk-step); position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--dk-red); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.dk-steps a { color: var(--dk-ink); text-decoration: none; }
.dk-steps a::before { content: ""; position: absolute; inset: 0; }
.dk-steps--green li::before { background: var(--dk-green); }

/* ---------- quote ---------- */
.wp-block-quote.dk-quote { background: var(--dk-cream); border: 0; border-radius: 14px; padding: 1rem 1.1rem; margin: 0; }
.wp-block-quote.dk-quote p { font-style: italic; margin: 0; }
.wp-block-quote.dk-quote cite { font-size: 0.8rem; color: var(--dk-bark); font-style: normal; }

/* ---------- logo walls ---------- */
.dk-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.dk-logos .wp-block-image { margin: 0; background: var(--dk-cream); border-radius: 10px; height: 64px; display: flex; align-items: center; justify-content: center; padding: 6px; box-sizing: border-box; }
.dk-logos .wp-block-image img { max-height: 52px; width: auto; object-fit: contain; }
@media (min-width: 782px) { .dk-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Extra space above a heading that starts a new sub-topic. */
.dk-mt-l { margin-top: var(--wp--preset--spacing--60, 3rem) !important; }
:where(.wp-block-details, .dk-steps, ul, ol, .wp-block-group) + h2.wp-block-heading { margin-top: var(--wp--preset--spacing--50, 2.5rem); }
.dk-voucher > * { margin-left: 0 !important; max-width: 720px; }
