/* =====================================================================
   AI SMERNICA — Stránka AI smernice školy
   Paleta: warm amber/hnedá (podľa predlohy ukazky/AI-smernica)
   Namespace: .zsmh-ai-
   ===================================================================== */

/* --- Farby --- */
.zsmh-ds-page--ai-smernica {
	--ai-accent: #5c3d1e;
	--ai-accent-light: #7a562f;
	--ai-amber: #d4870a;
	--ai-amber-hover: #b8730a;
	--ai-amber-light: #fdf3e0;
	--ai-amber-lighter: #fef8ec;
	--ai-surface: #faf9f6;
	--ai-surface-2: #f5f3ef;
	--ai-divider: #e5e1da;
	--ai-green: #2e7d32;
	--ai-green-bg: #e8f5e9;
	--ai-green-border: #c8e6c9;
	--ai-red: #c62828;
	--ai-red-bg: #ffebee;
	--ai-red-border: #ffcdd2;
	--ai-warning: #b8730a;
	--ai-warning-bg: #fff8e1;
	--ai-warning-border: #ffe082;
}

/* --- Global page background --- */
.zsmh-ds-page--ai-smernica {
	background: var(--ai-surface);
}

/* =====================================================================
   HERO — warm brown gradient (ako predloha)
   ===================================================================== */
/* Hero variant: centered (text + meta údaje) */
.zsmh-ds-hero[data-variant="centered"] {
	position: relative;
	overflow: hidden;
	padding-top: clamp(64px, 10vw, 128px);
	padding-bottom: clamp(48px, 8vw, 96px);
}
/* Radial glow */
.zsmh-ds-hero[data-variant="centered"]::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 80%;
	height: 200%;
	background: radial-gradient(circle, rgba(212, 135, 10, 0.12) 0%, transparent 70%);
	pointer-events: none;
}
/* Badge — pill s rámčekom */
.zsmh-ds-hero[data-variant="centered"] .zsmh-ds-label {
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 24px;
	padding: 4px 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
/* centered bez obrázka: text na plnú šírku, centrovaný */
.zsmh-ds-hero[data-variant="centered"] .zsmh-ds-hero__content {
	grid-template-columns: 1fr;
	text-align: center;
}
.zsmh-ds-hero[data-variant="centered"] .zsmh-ds-hero__text {
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* centered S obrázkom: side-by-side, text vľavo */
.zsmh-ds-hero--has-image[data-variant="centered"] .zsmh-ds-hero__content {
	grid-template-columns: 1fr 1fr;
	text-align: left;
}
.zsmh-ds-hero--has-image[data-variant="centered"] .zsmh-ds-hero__text {
	align-items: flex-start;
}
/* Mobile: zrušiť dvojstĺpec a skryť obrázok (inak sa text láme do úzkej ľavej polovice) */
@media (max-width: 1024px) {
	.zsmh-ds-hero--has-image[data-variant="centered"] .zsmh-ds-hero__content {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.zsmh-ds-hero--has-image[data-variant="centered"] .zsmh-ds-hero__text {
		align-items: center;
	}
}
.zsmh-ds-hero[data-variant="centered"] .zsmh-ds-hero__title {
	max-width: 20ch;
}
@media (max-width: 768px) {
	.zsmh-ds-hero[data-variant="centered"] .zsmh-ds-hero__title {
		max-width: 100%;
	}
}
.zsmh-ds-hero[data-variant="centered"] .zsmh-ds-hero__subtitle {
	max-width: 60ch;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.7;
}
/* Meta údaje (štatistiky v centered variante) */
.zsmh-ds-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-8, 32px);
	margin-top: var(--space-6, 24px);
	padding-top: var(--space-6, 24px);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.zsmh-ds-hero__meta-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.zsmh-ds-hero__meta-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 600;
}
.zsmh-ds-hero__meta-value {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}
.zsmh-ds-hero__meta-value a {
	color: #f5a623;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.zsmh-ds-hero__meta-value a:hover {
	color: #ffc107;
}

/* =====================================================================
   CITÁT — intro popis pod citátom
   ===================================================================== */
.zsmh-ds-page--ai-smernica .zsmh-ds-quote-block {
	padding-top: clamp(32px, 4vw, 64px);
	padding-bottom: clamp(32px, 4vw, 64px);
}
.zsmh-ds-page--ai-smernica .zsmh-ds-quote-block__quote {
	color: var(--ai-accent);
}
.zsmh-ds-page--ai-smernica .zsmh-ds-quote-block .zsmh-ds-quote-block__program-desc {
	color: var(--gcid-muted-color, #6b6b6b);
	max-width: 55ch;
	margin: var(--space-4, 16px) auto 0;
	line-height: 1.7;
	text-align: center;
}

/* =====================================================================
   SEKCIE — väčší padding, section numbering
   ===================================================================== */
.zsmh-ds-page--ai-smernica .zsmh-ds-section {
	padding-top: clamp(48px, 6vw, 96px);
	padding-bottom: clamp(48px, 6vw, 96px);
}
/* Section label ako číslo */
.zsmh-ds-page--ai-smernica .zsmh-ds-section-header .zsmh-ds-label {
	background: transparent;
	border: none;
	color: var(--ai-amber);
	font-weight: 700;
	letter-spacing: 0.15em;
	padding: 0;
	font-size: 13px;
}
/* Section titles — display font */
.zsmh-ds-page--ai-smernica .zsmh-ds-section-header .zsmh-ds-display {
	font-family: var(--font-display, 'Libre Bodoni', Georgia, serif);
	font-weight: 600;
}
/* Krémové pozadie = predloha surface-2 */
.zsmh-ds-page--ai-smernica .zsmh-ds-section--cream {
	background: var(--ai-surface-2);
}
/* Svetlé pozadie */
.zsmh-ds-page--ai-smernica .zsmh-ds-section--light {
	background: var(--ai-surface);
}

/* =====================================================================
   KARTY (card_grid) — jemnejšie, väčší padding
   ===================================================================== */
.zsmh-ds-page--ai-smernica .zsmh-ds-card {
	padding: var(--space-8, 32px);
	border-radius: 16px;
	border-color: var(--ai-divider);
}
.zsmh-ds-page--ai-smernica .zsmh-ds-card:hover {
	box-shadow: 0 4px 12px rgba(26, 24, 20, 0.08);
}
.zsmh-ds-page--ai-smernica .zsmh-ds-card__icon-wrap {
	color: var(--ai-amber);
}
.zsmh-ds-page--ai-smernica .zsmh-ds-card__text {
	color: var(--gcid-muted-color, #6b6b6b);
	line-height: 1.6;
}

/* =====================================================================
   PRINCÍPY — zaoblený štvorec, svetlý bg, hover border
   ===================================================================== */
.zsmh-ai-principles {
	display: flex;
	flex-direction: column;
	gap: var(--space-6, 24px);
	max-width: 800px;
	margin: 0 auto;
}
.zsmh-ai-principles__item {
	display: flex;
	gap: var(--space-6, 24px);
	align-items: flex-start;
	padding: var(--space-6, 24px) var(--space-8, 32px);
	background: #fff;
	border-radius: 16px;
	border: 1px solid var(--ai-divider);
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.zsmh-ai-principles__item:hover {
	border-color: var(--ai-amber);
	box-shadow: 0 1px 3px rgba(26, 24, 20, 0.06);
}
.zsmh-ai-principles__number {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--ai-amber-light);
	color: var(--ai-amber);
	font-weight: 800;
	font-size: 18px;
}
.zsmh-ai-principles__content h3 {
	margin: 0 0 .3em;
	font-size: 16px;
	font-weight: 700;
}
.zsmh-ai-principles__content p {
	margin: 0;
	font-size: 14px;
	color: var(--gcid-muted-color, #6b6b6b);
	line-height: 1.7;
}

/* =====================================================================
   PRAVIDLÁ — Záložky
   ===================================================================== */
.zsmh-ai-rules {
	max-width: 800px;
	margin: 0 auto;
}
.zsmh-ai-rules__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border-bottom: 2px solid var(--ai-divider);
	margin-bottom: 32px;
	padding-bottom: 8px;
}
.zsmh-ai-rules__tab {
	padding: 12px 20px;
	border: none;
	background: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--gcid-muted-color, #6b6b6b);
	cursor: pointer;
	border-radius: 8px 8px 0 0;
	position: relative;
	transition: all 200ms ease;
}
.zsmh-ai-rules__tab:hover {
	color: var(--gcid-heading-color, #1a1a1a);
	background: #fff;
}
.zsmh-ai-rules__tab.active {
	color: var(--ai-amber);
	background: #fff;
}
.zsmh-ai-rules__tab.active::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--ai-amber);
}
.zsmh-ai-rules__panel {
	display: none;
}
.zsmh-ai-rules__panel.active {
	display: block;
}
.zsmh-ai-rules__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.zsmh-ai-rules__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px 24px;
	border-radius: 12px;
	background: #fff;
	border-left: 4px solid transparent;
}
.zsmh-ai-rules__item--green {
	border-left-color: var(--ai-green);
}
.zsmh-ai-rules__item--green .zsmh-ai-rules__icon { color: var(--ai-green); }
.zsmh-ai-rules__item--amber {
	border-left-color: var(--ai-warning);
}
.zsmh-ai-rules__item--amber .zsmh-ai-rules__icon { color: var(--ai-warning); }
.zsmh-ai-rules__item--red {
	border-left-color: var(--ai-red);
}
.zsmh-ai-rules__item--red .zsmh-ai-rules__icon { color: var(--ai-red); }
.zsmh-ai-rules__icon {
	flex-shrink: 0;
	margin-top: 2px;
}
.zsmh-ai-rules__text {
	line-height: 1.6;
	font-size: 14px;
}

/* =====================================================================
   AI NÁSTROJE — Tiery
   ===================================================================== */
.zsmh-ai-tools__tier {
	margin-bottom: var(--space-8, 32px);
}
.zsmh-ai-tools__tier-header {
	padding: 20px 24px;
	border-radius: 16px 16px 0 0;
	border: 1px solid;
	border-bottom: none;
}
.zsmh-ai-tools__tier-header--1 {
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	border-color: var(--ai-green-border);
}
.zsmh-ai-tools__tier-header--2 {
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border-color: #bfdbfe;
}
.zsmh-ai-tools__tier-header--3 {
	background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
	border-color: var(--ai-warning-border);
}
.zsmh-ai-tools__tier-header--4 {
	background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
	border-color: var(--ai-red-border);
}
.zsmh-ai-tools__tier-badge {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	margin-bottom: 8px;
	background: rgba(0,0,0,.07);
	color: var(--gcid-heading-color, #1a1a1a);
}
.zsmh-ai-tools__tier-header h3 {
	margin: 0 0 .3em;
	font-size: 18px;
}
.zsmh-ai-tools__tier-header p {
	margin: 0;
	font-size: 14px;
	color: var(--gcid-body-color, #3a3a3a);
}
.zsmh-ai-tools__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--ai-divider);
	border-radius: 0 0 16px 16px;
}
.zsmh-ai-tools__grid--sm {
	grid-template-columns: repeat(3, 1fr);
}
.zsmh-ai-tools__card {
	display: flex;
	flex-direction: column;
	padding: 16px;
	border: 1px solid var(--ai-divider);
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 200ms ease, transform 200ms ease;
}
a.zsmh-ai-tools__card:hover,
a.zsmh-ai-tools__card--sm:hover {
	box-shadow: 0 4px 12px rgba(26, 24, 20, 0.08);
	transform: translateY(-2px);
	text-decoration: none;
}
.zsmh-ai-tools__card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}
.zsmh-ai-tools__logo {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--ai-amber-light);
	font-weight: 800;
	font-size: 16px;
	color: var(--ai-amber);
}
.zsmh-ai-tools__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.zsmh-ai-tools__badge {
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}
.badge-eu { background: #dbeafe; color: #1d4ed8; }
.badge-free { background: #e8f5e9; color: #2e7d32; }
.badge-ministry { background: #fff8e1; color: #b8730a; }
.badge-caution { background: #fff3e0; color: #e65100; }
.badge-default { background: #f5f3ef; color: #5c3d1e; }
.zsmh-ai-tools__card h4 {
	margin: 0 0 .35em;
	font-size: 16px;
}
.zsmh-ai-tools__card p {
	margin: 0 0 auto;
	font-size: 14px;
	color: var(--gcid-muted-color, #6b6b6b);
	line-height: 1.6;
}
.zsmh-ai-tools__meta {
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px solid var(--ai-divider);
	font-size: 12px;
	color: var(--gcid-muted-color, #6b6b6b);
}

/* Neodporúčané (nolist) */
.zsmh-ai-tools__nolist {
	background: #fff;
	border: 1px solid var(--ai-divider);
	border-radius: 0 0 16px 16px;
	padding: 16px 24px;
}
.zsmh-ai-tools__no-item {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px solid rgba(0,0,0,.04);
	gap: 16px;
}
.zsmh-ai-tools__no-item:last-child { border-bottom: none; }
.zsmh-ai-tools__no-item strong { flex-shrink: 0; }
.zsmh-ai-tools__no-item span {
	color: var(--gcid-muted-color, #6b6b6b);
	font-size: 14px;
}

/* Zásady výberu */
.zsmh-ai-tools__principles {
	margin-top: 32px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--ai-divider);
	border-radius: 16px;
}
.zsmh-ai-tools__principles h3 {
	margin: 0 0 16px;
	font-size: 18px;
}
.zsmh-ai-tools__principles-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.zsmh-ai-tools__principle-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 14px;
}
.zsmh-ai-tools__principle-item svg {
	flex-shrink: 0;
	color: var(--ai-green);
	margin-top: 2px;
}

/* FAQ styles moved to layouts.css (.zsmh-ds-faq) */

/* =====================================================================
   PRE ŽIAKOV — Emoji pravidlá
   ===================================================================== */
.zsmh-ai-student-msg {
	max-width: 700px;
	margin: 0 auto 32px;
}
.zsmh-ai-student-msg__inner {
	padding: 28px 36px;
	background: linear-gradient(135deg, var(--ai-amber-lighter) 0%, var(--ai-amber-light) 100%);
	border-left: 4px solid var(--ai-amber);
	border-radius: 16px;
	text-align: center;
}
.zsmh-ai-student-msg__inner h3 {
	margin: 0 0 .3em;
	font-size: clamp(18px, 2vw, 22px);
	font-family: var(--font-display, 'Libre Bodoni', Georgia, serif);
}
.zsmh-ai-student-msg__inner p {
	margin: 0;
	color: var(--gcid-body-color, #3a3a3a);
	font-style: italic;
}

.zsmh-ai-student-rules {
	max-width: 700px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.zsmh-ai-student-rules__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 18px 24px;
	background: #fff;
	border: 1px solid var(--ai-divider);
	border-radius: 16px;
	transition: box-shadow 200ms ease;
}
.zsmh-ai-student-rules__item:hover {
	box-shadow: 0 2px 6px rgba(26, 24, 20, 0.06);
}
.zsmh-ai-student-rules__emoji {
	font-size: 28px;
	flex-shrink: 0;
	line-height: 1;
}
.zsmh-ai-student-rules__text {
	line-height: 1.7;
	font-size: 14px;
	color: var(--gcid-muted-color, #6b6b6b);
}
.zsmh-ai-student-rules__text strong {
	display: block;
	margin-bottom: .2em;
	color: var(--gcid-heading-color, #1a1a1a);
	font-size: 15px;
}

/* =====================================================================
   PRIPRAVENOSŤ — Stats + Checklist
   ===================================================================== */
.zsmh-ai-readiness__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 32px;
}
.zsmh-ai-readiness__stat {
	text-align: center;
	padding: 24px 16px;
	background: #fff;
	border: 1px solid var(--ai-divider);
	border-radius: 16px;
	transition: box-shadow 200ms ease;
}
.zsmh-ai-readiness__stat:hover {
	box-shadow: 0 2px 6px rgba(26, 24, 20, 0.06);
}
.zsmh-ai-readiness__number {
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 800;
	color: var(--ai-amber);
	line-height: 1.1;
}
.zsmh-ai-readiness__label {
	font-weight: 600;
	margin-top: 4px;
	font-size: 14px;
}
.zsmh-ai-readiness__detail {
	font-size: 12px;
	color: var(--gcid-muted-color, #6b6b6b);
	margin-top: 4px;
}
.zsmh-ai-readiness__list {
	max-width: 700px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.zsmh-ai-readiness__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 8px 0;
	font-size: 15px;
}
.zsmh-ai-readiness__item svg {
	flex-shrink: 0;
	color: var(--ai-green);
	margin-top: 2px;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 768px) {
	.zsmh-ai-tools__grid,
	.zsmh-ai-tools__grid--sm {
		grid-template-columns: 1fr;
	}
	.zsmh-ai-tools__principles-grid {
		grid-template-columns: 1fr;
	}
	.zsmh-ai-readiness__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.zsmh-ai-hero-meta {
		flex-direction: column;
		gap: 12px;
	}
	.zsmh-ai-rules__tab {
		padding: 10px 14px;
		font-size: 13px;
	}
	.zsmh-ai-principles__item {
		padding: 16px 20px;
		gap: 16px;
	}
}
@media (max-width: 480px) {
	.zsmh-ai-readiness__grid {
		grid-template-columns: 1fr 1fr;
	}
}
