/*
 * TabIS — Co TabIS umí (/o-tabisu), veřejný přehled modulů bez dat.
 * Každý modul má odstín --h (ModuleCatalog::MODULES['hue']).
 * Barvy přes --tb-* tokeny z layout.css + poloprůhledné hsla() → funguje i v tmavém režimu.
 */

.ab-page { padding-bottom: 2rem; }

/* ===== Hero ===== */
.ab-hero {
	position: relative; overflow: hidden;
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem 2rem;
	margin: .5rem 0 1rem; padding: 1.75rem 1.75rem; border-radius: 1.25rem;
	color: #fff;
	background:
		radial-gradient(circle at 10% 120%, rgba(95, 211, 156, .40), transparent 45%),
		radial-gradient(circle at 95% -20%, rgba(64, 160, 255, .35), transparent 50%),
		linear-gradient(135deg, #13201a 0%, #1b3328 55%, #12303a 100%);
	box-shadow: 0 10px 30px rgba(19, 32, 26, .25);
}
.ab-hero-text { flex: 1 1 22rem; min-width: 0; }
.ab-eyebrow { margin: 0 0 .2rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .65); }
.ab-title { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5rem; color: #fff; }
.ab-sub { margin: 0; max-width: 38rem; color: rgba(255, 255, 255, .8); }
.ab-ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.ab-ctas .btn-light { color: #13201a; font-weight: 700; }

.ab-hero-icons { display: grid; grid-template-columns: repeat(3, 3.4rem); gap: .6rem; }
.ab-hero-icon {
	display: flex; align-items: center; justify-content: center;
	width: 3.4rem; height: 3.4rem; border-radius: 1rem; font-size: 1.35rem;
	color: hsl(var(--h), 85%, 80%);
	background: hsla(var(--h), 70%, 55%, .18); border: 1px solid hsla(var(--h), 70%, 70%, .3);
}

.ab-note {
	margin: 0 0 1.25rem; padding: .65rem .9rem; border-radius: .75rem; font-size: .9rem;
	color: var(--tb-muted); background: var(--tb-surface); border: 1px solid var(--tb-border);
}

.ab-section-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--tb-muted); margin: 0 0 .6rem; }

/* ===== Dlaždice modulů ===== */
.ab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .9rem; }
.ab-tile {
	display: flex; flex-direction: column; padding: 1rem 1.1rem; border-radius: 1rem;
	color: var(--tb-text);
	background: linear-gradient(160deg, hsla(var(--h), 80%, 55%, .10), transparent 55%), var(--tb-surface);
	border: 1px solid hsla(var(--h), 50%, 50%, .25);
}
.ab-tile-head { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin-bottom: .55rem; }
.ab-tile-icon {
	display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 2.4rem; height: 2.4rem; border-radius: .75rem; font-size: 1.1rem;
	color: hsl(var(--h), 65%, 42%); background: hsla(var(--h), 75%, 55%, .16);
}
html[data-theme="dark"] .ab-tile-icon { color: hsl(var(--h), 75%, 72%); }
.ab-tile-title { flex: 1; min-width: 0; margin: 0; font-size: 1.05rem; font-weight: 700; }
.ab-where { font-size: .72rem; color: var(--tb-muted); white-space: nowrap; }
.ab-tile-lead { margin: 0 0 .55rem; font-size: .9rem; }
.ab-tile-features { list-style: none; margin: 0 0 .6rem; padding: 0; font-size: .82rem; color: var(--tb-muted); }
.ab-tile-features li { margin: .15rem 0; }
.ab-tile-features .fas { color: hsl(var(--h), 55%, 48%); font-size: .7rem; margin-right: .25rem; }
.ab-tile-links { display: flex; gap: 1rem; margin-top: auto; padding-top: .4rem; border-top: 1px solid var(--tb-border); }
.ab-link { font-size: .85rem; font-weight: 600; }

@media (max-width: 575.98px) {
	.ab-hero { padding: 1.25rem 1.1rem; }
	.ab-title { font-size: 1.7rem; }
	.ab-hero-icons { display: none; }
}
