/* SKD – radionice i materijali */
.skd-c-narancasta { --skd: #f39a3d; --skd-dark: #a8520f; --skd-soft: #fff0de; }
.skd-c-plava      { --skd: #4a90d9; --skd-dark: #24609f; --skd-soft: #e6f1fc; }
.skd-c-zelena     { --skd: #3fb56b; --skd-dark: #1f7a45; --skd-soft: #e3f6ea; }
.skd-c-ljubicasta { --skd: #8e6bd8; --skd-dark: #5e3fae; --skd-soft: #efe9fb; }
.skd-c-crvena     { --skd: #e8524a; --skd-dark: #b02a23; --skd-soft: #fde8e6; }

.skd-list { margin-block: 1rem 0; }
.skd-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.skd-filter button {
	font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
	padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid #e9dccb; background: #fff; color: #3b2f2a;
}
.skd-filter button:hover { border-color: #f39a3d; }
.skd-filter button.is-on { background: #3b2f2a; border-color: #3b2f2a; color: #fff; }
.skd-filter button:focus-visible, .skd-btn:focus-visible { outline: 3px solid #4a90d9; outline-offset: 2px; }

.skd-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.skd-grid--materijali { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.skd-card {
	--skd: #f39a3d; --skd-dark: #a8520f; --skd-soft: #fff0de;
	display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden;
	box-shadow: 0 6px 22px rgba(80, 50, 20, .10); border: 1px solid #f1e6d8;
	transition: transform .15s ease, box-shadow .15s ease;
}
.skd-card[hidden] { display: none; }
.skd-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(80, 50, 20, .16); }
.skd-card__media {
	position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--skd-soft);
	overflow: hidden; text-decoration: none;
}
.skd-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.skd-card__media--doc { aspect-ratio: 4 / 3; background: #f4ede3; padding: 14px 14px 0; align-items: end; }
.skd-card__media--doc img { object-fit: cover; object-position: top; border-radius: 6px 6px 0 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.skd-card__emoji { font-size: 4.5rem; line-height: 1; }
.skd-doc-type {
	position: absolute; top: 10px; left: 10px; background: #3b2f2a; color: #fff; font-weight: 800; font-size: .78rem;
	padding: .2rem .7rem; border-radius: 999px; letter-spacing: .02em;
}
.skd-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.25rem 1.3rem; flex: 1; }
.skd-card__title { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.skd-card__title a { color: inherit; text-decoration: none; }
.skd-card__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.skd-card__text { margin: 0; color: #5e5048; font-size: .98rem; line-height: 1.5; flex: 1; }
.skd-card__meta { margin: 0; font-size: .88rem; font-weight: 700; color: #7a6a60; }
.skd-card .skd-btn { align-self: flex-start; margin-top: .35rem; }
.skd-card--mat .skd-card__title { font-size: 1.15rem; }

.skd-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.skd-badge {
	display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .02em; text-decoration: none;
	padding: .18rem .65rem; border-radius: 999px; background: var(--skd-soft); color: var(--skd-dark);
}
.skd-badge:hover { background: var(--skd); color: #fff; }

.skd-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.skd-btn {
	display: inline-flex; align-items: center; gap: .35rem; font: inherit; font-weight: 800; font-size: .95rem; line-height: 1.2;
	padding: .62rem 1.15rem; border-radius: 999px; background: #24609f; color: #fff !important; text-decoration: none !important;
	border: 2px solid #24609f; cursor: pointer; transition: background .15s, transform .1s;
}
.skd-btn:hover { background: #1b4a7c; border-color: #1b4a7c; }
.skd-btn:active { transform: translateY(1px); }
.skd-btn--ghost { background: #fff; color: #24609f !important; }
.skd-btn--ghost:hover { background: #e6f1fc; color: #1b4a7c !important; }
.skd-btn--big { font-size: 1.1rem; padding: .85rem 1.6rem; }
.skd-card .skd-actions .skd-btn { margin-top: 0; padding: .5rem .95rem; font-size: .9rem; }

/* radionica */
.skd-player { display: flex; flex-direction: column; gap: 1rem; }
.skd-facts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.skd-facts > div { background: #fff; border: 1px solid #f1e6d8; border-radius: 16px; padding: .6rem 1rem; min-width: 150px; }
.skd-facts dt { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #7a6a60; }
.skd-facts dd { margin: .1rem 0 0; font-weight: 700; }
.skd-frame {
	position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 82vh; min-height: 420px;
	border-radius: 20px; overflow: hidden; background: #fff8ec; box-shadow: 0 10px 34px rgba(80, 50, 20, .18); border: 1px solid #f1e6d8;
}
.skd-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) {
	.skd-frame { aspect-ratio: auto; height: 78vh; min-height: 0; border-radius: 14px; }
}
.skd-hint { font-size: .92rem; color: #7a6a60; margin: 0; }
.skd-hint kbd { background: #fff; border: 1px solid #e0d3c2; border-bottom-width: 2px; border-radius: 5px; padding: 0 .35rem; font-family: inherit; font-weight: 700; }

/* materijal */
.skd-mat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.skd-mat__preview { background: #f4ede3; border-radius: 20px; padding: 1.25rem; text-align: center; }
.skd-mat__preview img { max-width: 100%; height: auto; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); border-radius: 4px; }
.skd-mat__info { display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 780px) { .skd-mat { grid-template-columns: 1fr; } }

.skd-related-title { margin-top: 3rem !important; }
.skd-empty { color: #7a6a60; font-style: italic; }

/* kontakti */
.skd-contacts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.skd-contact {
	display: flex; flex-direction: column; gap: .2rem; text-decoration: none !important; color: #3b2f2a !important;
	background: #fff; border-radius: 20px; padding: 1.1rem 1.3rem; border-top: 6px solid var(--skd); box-shadow: 0 6px 22px rgba(80, 50, 20, .10);
}
.skd-contact__num { font-family: var(--wp--preset--font-family--naslovi, inherit); font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--skd-dark); }
.skd-contact__name { font-weight: 800; font-size: 1.1rem; }
.skd-contact__txt { font-size: .92rem; color: #5e5048; line-height: 1.4; }
.skd-contacts--short .skd-contact { flex-direction: row; align-items: baseline; gap: .7rem; padding: .7rem 1rem; }
.skd-contacts--short .skd-contact__num { font-size: 1.6rem; }
