/**
 * ALEF Konference – hlavní styly.
 * Paleta vychází z webu školy (cichnovabrno.cz): tmavě modrá pro pozadí hlavičky/patičky,
 * jasně modrá pro odkazy a doplňkové informace, oranžová pro tlačítka a "conversion" prvky.
 * Barvy --alef-primary / --alef-accent / --alef-secondary přicházejí z Customizeru
 * (viz inc/customizer.php), hodnoty níže jsou jen výchozí/záložní.
 */

:root {
	--alef-primary: #003042;
	--alef-accent: #ed6b06;
	--alef-secondary: #00a0dd;
	--alef-bg: #ffffff;
	--alef-bg-alt: #f4f6f9;
	--alef-text: #1c1e21;
	--alef-muted: #5b6572;
	--alef-border: #e2e6eb;
	--alef-radius: 10px;
	--alef-maxw: 1140px;
	--alef-font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--alef-font);
	color: var(--alef-text);
	background: var(--alef-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--alef-secondary);
}

h1, h2, h3 {
	line-height: 1.2;
	color: var(--alef-primary);
	font-weight: 800;
}

.container {
	width: 100%;
	max-width: var(--alef-maxw);
	margin-inline: auto;
	padding-inline: 20px;
}

.screen-reader-text {
	position: absolute !important;
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link {
	position: absolute;
	left: -9999px;
}
.skip-link:focus {
	left: 12px;
	top: 12px;
	background: #fff;
	padding: 10px 16px;
	z-index: 1000;
}

/* --- Tlačítka --- */
.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: var(--alef-radius);
	font-weight: 600;
	text-decoration: none;
	transition: transform .15s ease, opacity .15s ease;
}
.btn:hover {
	transform: translateY(-1px);
}
.btn--accent {
	background: var(--alef-accent);
	color: #fff;
}
.btn--ghost {
	background: transparent;
	color: var(--alef-primary);
	border: 2px solid currentColor;
}

/* --- Hlavička --- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .95);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--alef-border);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 72px;
}
.site-title {
	font-weight: 800;
	font-size: 1.2rem;
	color: var(--alef-primary);
	text-decoration: none;
}
.main-navigation {
	display: flex;
	align-items: center;
	gap: 24px;
}
.main-navigation ul {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-navigation a {
	color: var(--alef-primary);
	text-decoration: none;
	font-weight: 500;
}
.main-navigation a:hover {
	color: var(--alef-secondary);
}
.menu-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	width: 40px;
	height: 40px;
}
.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--alef-primary);
	position: relative;
	margin: 0 auto;
	content: "";
}
.menu-toggle__bar::before { position: absolute; top: -7px; }
.menu-toggle__bar::after  { position: absolute; top: 7px; }

/* --- Hero --- */
.hero {
	background: linear-gradient(160deg, var(--alef-primary) 0%, #071a2e 100%);
	color: #fff;
	padding: 96px 0;
	text-align: center;
}
.hero__title {
	color: #fff;
	font-size: clamp(2rem, 5vw, 3.4rem);
	margin: 10px 0;
}
.hero__meta {
	font-size: 1.05rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: .85;
	margin: 0;
}
.hero__sep { margin: 0 10px; }
.hero__claim {
	font-size: 1.2rem;
	opacity: .9;
	max-width: 640px;
	margin: 0 auto 28px;
}
.hero__actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}
.hero .btn--ghost {
	color: #fff;
}
.hero--conference {
	position: relative;
	overflow: hidden;
}
.hero--conference.hero--has-media {
	padding: 140px 0 96px;
}
.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .35;
}
.hero--conference .hero__inner {
	position: relative;
	z-index: 1;
}

/* --- Sekce --- */
.section {
	padding: 72px 0;
}
.section:nth-of-type(even) {
	background: var(--alef-bg-alt);
}
.section__title {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	margin-bottom: 36px;
	text-align: center;
}
.section__more {
	text-align: center;
	margin-top: 32px;
}

/* --- Program --- */
.program-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 900px;
	margin-inline: auto;
}
.program-row {
	display: grid;
	grid-template-columns: 120px 1fr auto;
	gap: 20px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid var(--alef-border);
	border-radius: var(--alef-radius);
}
.section:nth-of-type(even) .program-row {
	background: var(--alef-bg-alt);
}
.program-row__time {
	font-weight: 700;
	color: var(--alef-secondary);
}
.program-row__title {
	font-size: 1.15rem;
	margin: 0 0 4px;
}
.program-row__speaker {
	color: var(--alef-muted);
	margin: 0 0 6px;
	font-weight: 500;
}
.program-row__desc {
	font-size: .95rem;
	color: var(--alef-muted);
}
.program-row__desc p:last-child,
.speaker-card__bio p:last-child {
	margin-bottom: 0;
}
.program-row__room {
	align-self: start;
	font-size: .85rem;
	background: var(--alef-primary);
	color: #fff;
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

/* --- Řečníci --- */
.speaker-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 240px));
	justify-content: center;
	gap: 28px;
}
.speaker-card {
	background: #fff;
	border: 1px solid var(--alef-border);
	border-radius: var(--alef-radius);
	text-align: center;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.speaker-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(10, 37, 64, .14);
	border-color: transparent;
}
.section:nth-of-type(even) .speaker-card {
	background: var(--alef-bg-alt);
}
.speaker-card__link {
	display: block;
	padding: 24px;
	color: inherit;
	text-decoration: none;
}
.speaker-card__photo img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 14px;
	transition: transform .18s ease;
}
.speaker-card:hover .speaker-card__photo img {
	transform: scale(1.05);
}
.speaker-card__initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: var(--alef-primary);
	color: #fff;
	font-size: 2.4rem;
	font-weight: 700;
	margin-bottom: 14px;
	transition: transform .18s ease;
}
.speaker-card:hover .speaker-card__initial {
	transform: scale(1.05);
}
.speaker-card__name {
	font-size: 1.1rem;
	margin: 0 0 4px;
	color: var(--alef-primary);
}
.speaker-card__meta {
	color: var(--alef-muted);
	font-size: .9rem;
	margin: 0 0 10px;
}
.speaker-card__cta {
	display: inline-block;
	font-size: .8rem;
	font-weight: 600;
	color: var(--alef-secondary);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .18s ease, transform .18s ease;
}
.speaker-card:hover .speaker-card__cta {
	opacity: 1;
	transform: translateY(0);
}

/* --- Detail řečníka --- */
.speaker-detail {
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
}
.speaker-detail__photo img,
.speaker-detail__initial {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 20px;
}
.speaker-detail__initial {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--alef-primary);
	color: #fff;
	font-size: 3rem;
	font-weight: 700;
}
.speaker-detail__name {
	margin-bottom: 4px;
}
.speaker-detail__meta {
	color: var(--alef-muted);
	font-size: 1.05rem;
	margin-bottom: 18px;
}
.speaker-detail__web {
	margin-bottom: 28px;
}
.speaker-detail .entry-content {
	text-align: left;
	margin-bottom: 36px;
}
.speaker-detail__conferences {
	text-align: left;
	border-top: 1px solid var(--alef-border);
	padding-top: 24px;
}
.speaker-detail__conferences h2 {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 14px;
}
.speaker-detail__conferences ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.speaker-detail__conferences a {
	font-weight: 600;
}

/* --- Konference (přehled) --- */
.conference-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
	justify-content: center;
	gap: 28px;
}
.conference-grid__empty {
	text-align: center;
	color: var(--alef-muted);
}
.conference-card {
	background: #fff;
	border: 1px solid var(--alef-border);
	border-radius: var(--alef-radius);
	overflow: hidden;
	transition: transform .15s ease, box-shadow .15s ease;
}
.conference-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(10, 37, 64, .12);
}
.conference-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.conference-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--alef-bg-alt);
}
.conference-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.conference-card__media-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, var(--alef-primary), #071a2e);
}
.conference-card__badge {
	position: absolute;
	bottom: 14px;
	left: 14px;
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: 5px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--alef-primary);
}
.conference-card__badge--upcoming {
	background: var(--alef-accent);
	color: #fff;
}
.conference-card__badge--past {
	background: rgba(255, 255, 255, .9);
	color: var(--alef-muted);
}
.conference-card__body {
	padding: 22px 24px 26px;
}
.conference-card__title {
	font-size: 1.2rem;
	margin: 0 0 6px;
}
.conference-card__meta {
	color: var(--alef-secondary);
	font-weight: 600;
	font-size: .9rem;
	margin: 0 0 10px;
}
.conference-card__excerpt {
	color: var(--alef-muted);
	font-size: .95rem;
	margin: 0 0 14px;
}
.conference-card__cta {
	font-weight: 600;
	color: var(--alef-primary);
}
.conference-back {
	padding: 24px 0 56px;
	text-align: center;
}
.conference-back a {
	color: var(--alef-primary);
	font-weight: 600;
	text-decoration: none;
}

/* --- Obsah stránek --- */
.entry-content {
	max-width: 760px;
	margin-inline: auto;
}
.entry-content h2 { margin-top: 1.6em; }
.entry-title {
	text-align: center;
}
.entry-header {
	text-align: center;
	margin-bottom: 24px;
}
.entry-thumbnail {
	margin: 0 0 28px;
	border-radius: var(--alef-radius);
	overflow: hidden;
}

/* --- Patička --- */
.site-footer {
	background: var(--alef-primary);
	color: #cdd6e0;
}
.site-footer a { color: #fff; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	padding: 56px 20px;
}
.site-footer__event strong { color: #fff; }
.site-footer .widget {
	margin-bottom: 28px;
}
.site-footer .widget:last-child {
	margin-bottom: 0;
}
.site-footer .widget-title {
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.site-footer ul li {
	margin-bottom: 8px;
}
.site-footer a:hover {
	color: var(--alef-secondary);
}
.site-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 18px 0;
	font-size: .85rem;
}
.site-footer__bar p { margin: 0; }

/* --- Responzivita --- */
@media (max-width: 860px) {
	.menu-toggle { display: block; }
	.main-navigation {
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		flex-direction: column;
		background: #fff;
		border-bottom: 1px solid var(--alef-border);
		padding: 20px;
		gap: 16px;
		display: none;
	}
	.main-navigation.is-open { display: flex; }
	.main-navigation ul { flex-direction: column; gap: 14px; }
	.program-row { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
}
