/**
 * Event Calendar CleanCode - Frontend
 * Kolorystyka inspirowana IGKKF (ciemny motyw, czerwony akcent)
 * https://igkkf.cleancodeas.pl/
 */

:root {
	--eccc-bg: #0f0f0f;
	--eccc-bg-card: #1a1a1a;
	--eccc-bg-card-hover: #222;
	--eccc-border: #2a2a2a;
	--eccc-accent: #c41e3a;
	--eccc-accent-hover: #e02545;
	--eccc-text: #f5f5f5;
	--eccc-text-muted: #a3a3a3;
	--eccc-radius: 8px;
	--eccc-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	--eccc-transition: 0.25s ease;
}

.eccc-events {
	--eccc-cols: 3;
	padding: 1.5rem 0;
}

.eccc-events__grid {
	display: grid;
	grid-template-columns: repeat(var(--eccc-cols), 1fr);
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.eccc-events--cols-1 .eccc-events__grid { --eccc-cols: 1; }
.eccc-events--cols-2 .eccc-events__grid { --eccc-cols: 2; }
.eccc-events--cols-3 .eccc-events__grid { --eccc-cols: 3; }
.eccc-events--cols-4 .eccc-events__grid { --eccc-cols: 4; }

@media (max-width: 1024px) {
	.eccc-events--cols-3 .eccc-events__grid,
	.eccc-events--cols-4 .eccc-events__grid {
		--eccc-cols: 2;
	}
}

@media (max-width: 640px) {
	.eccc-events__grid {
		--eccc-cols: 1 !important;
	}
}

/* Karta wydarzenia */
.eccc-event-card {
	background: var(--eccc-bg-card);
	border: 1px solid var(--eccc-border);
	border-radius: var(--eccc-radius);
	overflow: hidden;
	box-shadow: var(--eccc-shadow);
	transition: transform var(--eccc-transition), box-shadow var(--eccc-transition);
	display: flex;
	flex-direction: column;
}

.eccc-event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
	border-color: var(--eccc-accent);
}

.eccc-event-card__image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--eccc-bg);
}

.eccc-event-card__image a {
	display: block;
	height: 100%;
}

.eccc-event-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--eccc-transition);
}

.eccc-event-card:hover .eccc-event-card__image img {
	transform: scale(1.05);
}

.eccc-event-card__body {
	padding: 1.25rem 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.eccc-event-card__date {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--eccc-accent);
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.eccc-event-card__date .eccc-event-card__time {
	display: inline-block;
	margin-left: 0.35rem;
	color: var(--eccc-text-muted);
	font-weight: 500;
}

.eccc-event-card__category {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.4rem;
}

.eccc-event-card__category a {
	color: var(--eccc-text-muted);
	text-decoration: none;
}

.eccc-event-card__category a:hover {
	color: var(--eccc-accent);
}

.eccc-event-card__title {
	margin: 0 0 0.6rem;
	font-size: 1.2rem;
	line-height: 1.35;
	font-weight: 700;
}

.eccc-event-card__title a {
	color: var(--eccc-text);
	text-decoration: none;
	transition: color var(--eccc-transition);
}

.eccc-event-card__title a:hover {
	color: var(--eccc-accent);
}

.eccc-event-card__excerpt {
	font-size: 0.95rem;
	color: var(--eccc-text-muted);
	line-height: 1.5;
	margin-bottom: 1rem;
	flex: 1;
}

.eccc-event-card__link {
	display: inline-block;
	margin-top: auto;
	padding: 0.5rem 1.25rem;
	background: var(--eccc-accent);
	color: #fff !important;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
	transition: background var(--eccc-transition);
	align-self: flex-start;
}

.eccc-event-card__link:hover {
	background: var(--eccc-accent-hover);
	color: #fff !important;
}

/* Tytuł sekcji (nadchodzące) */
.eccc-section-title {
	margin: 0 0 1.25rem;
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--eccc-text);
	border-bottom: 3px solid var(--eccc-accent);
	padding-bottom: 0.5rem;
	display: inline-block;
}

.eccc-section-title--upcoming {
	margin-bottom: 1.5rem;
}

/* Brak wydarzeń */
.eccc-no-events {
	background: var(--eccc-bg-card);
	border: 1px dashed var(--eccc-border);
	border-radius: var(--eccc-radius);
	padding: 2rem;
	text-align: center;
	color: var(--eccc-text-muted);
	font-size: 1rem;
	margin: 0;
}

/* Nagłówek pojedynczego wydarzenia (data + godzina nad treścią) */
.single-eccc_event .eccc-event-header {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	background: var(--eccc-bg-card);
	border-radius: var(--eccc-radius);
	border: 1px solid var(--eccc-border);
}

.single-eccc_event .eccc-event-header__date {
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #c98932;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.single-eccc_event .eccc-event-header__time {
	font-size: 0.95rem;
	color: var(--eccc-text-muted);
}

.single-eccc_event .eccc-event-header__subtitle {
	margin-top: 0.25rem;
	font-size: 1rem;
	color: var(--eccc-text);
	font-weight: 600;
}

.eccc-event-card__subtitle {
	font-size: 0.95rem;
	color: var(--eccc-text-muted);
	margin-bottom: 0.4rem;
}

/* Dwukolumnowy layout pojedynczego wydarzenia: po lewej info, po prawej zdjęcie */
.single-eccc_event .eccc-event-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
	gap: 2rem;
	align-items: flex-start;
}

.single-eccc_event .eccc-event-layout__main {
	min-width: 0;
}

.single-eccc_event .eccc-event-layout__side {
	min-width: 0;
}

/* Featured image visible only in layout (hidden in .blog-image above) */
.single-eccc_event .eccc-event-layout__image,
.single-eccc_event .eccc-event-layout img.wp-post-image {
	display: block !important;
}

.single-eccc_event .eccc-event-layout__image {
	width: 100%;
	height: auto;
	border-radius: var(--eccc-radius);
	box-shadow: var(--eccc-shadow);
	object-fit: cover;
}

@media (max-width: 900px) {
	.single-eccc_event .eccc-event-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.single-eccc_event .eccc-event-layout__side {
		order: -1;
		margin-bottom: 1.5rem;
	}
}

/* Galeria na stronie pojedynczego wydarzenia */
.eccc-event-gallery {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--eccc-border);
}

.eccc-event-gallery__title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	color: var(--eccc-text);
	font-weight: 700;
}

.eccc-event-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
}

.eccc-event-gallery__item {
	display: block;
	aspect-ratio: 1;
	border-radius: var(--eccc-radius);
	overflow: hidden;
	background: var(--eccc-bg-card);
}

.eccc-event-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--eccc-transition);
}

.eccc-event-gallery__item:hover img {
	transform: scale(1.08);
}

/* Ukrycie nawigacji „poprzedni/następny post” na pojedynczym wydarzeniu i lokalizacji */
.single-eccc_event .entry-post-navigation.type1,
.single-eccc_location .entry-post-navigation.type1,
.single-cccc_location .entry-post-navigation.type1 {
	display: none !important;
}

/* Hide theme featured image (blog-image); image stays visible in layout */
.single-eccc_event .blog-image,
.single-eccc_location .blog-image,
.single-cccc_location .blog-image {
	display: none !important;
}

/* Location: two-column layout (same as event – content left, image right) */
.single-eccc_location .eccc-location-layout,
.single-cccc_location .eccc-location-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
	gap: 2rem;
	align-items: flex-start;
}

.single-eccc_location .eccc-location-layout__main,
.single-cccc_location .eccc-location-layout__main {
	min-width: 0;
}

.single-eccc_location .eccc-location-layout__side,
.single-cccc_location .eccc-location-layout__side {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.single-eccc_location .eccc-location-layout__side-contact .eccc-location-contact-block,
.single-cccc_location .eccc-location-layout__side-contact .eccc-location-contact-block {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.single-eccc_location .eccc-location-layout__image,
.single-eccc_location .eccc-location-layout img.wp-post-image,
.single-cccc_location .eccc-location-layout__image,
.single-cccc_location .eccc-location-layout img.wp-post-image {
	display: block !important;
	width: 100%;
	height: auto;
	border-radius: var(--eccc-radius);
	box-shadow: var(--eccc-shadow);
	object-fit: cover;
}

@media (max-width: 900px) {
	.single-eccc_location .eccc-location-layout,
	.single-cccc_location .eccc-location-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.single-eccc_location .eccc-location-layout__side,
	.single-cccc_location .eccc-location-layout__side {
		order: -1;
		margin-bottom: 1.5rem;
	}
}

/* Ukrycie daty dodania i obrazka wyróżniającego na podglądzie pojedynczego wydarzenia */
.single-eccc_event .entry-meta,
.single-eccc_event .post-thumbnail,
.single-eccc_event .entry-header .post-thumbnail,
.single-eccc_event .entry-header .wp-post-image,
.single-eccc_event figure.wp-block-post-featured-image,
.single-eccc_event figure.wp-block-post-featured-image img,
.single-eccc_event img.wp-post-image {
	display: none !important;
}

/* Hide theme featured image on location single; visible in .eccc-location-layout */
.single-eccc_location .entry-meta,
.single-eccc_location .post-thumbnail,
.single-eccc_location .entry-header .post-thumbnail,
.single-eccc_location .entry-header .wp-post-image,
.single-eccc_location figure.wp-block-post-featured-image,
.single-eccc_location figure.wp-block-post-featured-image img,
.single-eccc_location img.wp-post-image,
.single-cccc_location .entry-meta,
.single-cccc_location .post-thumbnail,
.single-cccc_location .entry-header .post-thumbnail,
.single-cccc_location .entry-header .wp-post-image,
.single-cccc_location figure.wp-block-post-featured-image,
.single-cccc_location figure.wp-block-post-featured-image img,
.single-cccc_location img.wp-post-image {
	display: none !important;
}

/* Ukrycie daty wpisu (single-entry-date) na wydarzeniach, lokalizacjach i stronach krajów / kategorii wydarzeń */
.single-eccc_event .single-entry-date,
.single-eccc_location .single-entry-date,
.single-cccc_location .single-entry-date,
.tax-eccc_country .single-entry-date,
.tax-eccc_event_category .single-entry-date,
.post-type-archive-eccc_event .single-entry-date {
	display: none !important;
}

/* ---- Kraje (flagi) ---- */
.eccc-countries {
	padding: 1.5rem 0;
}

.eccc-countries__grid {
	display: grid;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.eccc-countries--cols-2 .eccc-countries__grid { grid-template-columns: repeat(2, 1fr); }
.eccc-countries--cols-3 .eccc-countries__grid { grid-template-columns: repeat(3, 1fr); }
.eccc-countries--cols-4 .eccc-countries__grid { grid-template-columns: repeat(4, 1fr); }
.eccc-countries--cols-5 .eccc-countries__grid { grid-template-columns: repeat(5, 1fr); }
.eccc-countries--cols-6 .eccc-countries__grid { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
	.eccc-countries--cols-4 .eccc-countries__grid,
	.eccc-countries--cols-5 .eccc-countries__grid,
	.eccc-countries--cols-6 .eccc-countries__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.eccc-countries--cols-3 .eccc-countries__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.eccc-countries__grid {
		grid-template-columns: 1fr !important;
	}
}

.eccc-country-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.5rem 1rem;
	background: var(--eccc-bg-card);
	border: 1px solid var(--eccc-border);
	border-radius: var(--eccc-radius);
	text-decoration: none;
	color: var(--eccc-text);
	transition: border-color var(--eccc-transition), transform var(--eccc-transition);
}

.eccc-country-card:hover {
	border-color: var(--eccc-accent);
	transform: translateY(-2px);
	color: var(--eccc-text);
}

.eccc-country-card__flag {
	display: block;
	width: 80px;
	height: 56px;
	margin-bottom: 0.75rem;
	border-radius: 4px;
	overflow: hidden;
	background: var(--eccc-bg);
}

.eccc-country-card__flag img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eccc-country-card__name {
	font-weight: 600;
	font-size: 1rem;
}

/* ---- Pojedyncza lokalizacja (bloki pod treścią) ---- */
.eccc-location-details {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--eccc-border);
	display: grid;
	gap: 1.75rem;
}

.eccc-location-block__title {
	margin: 0 0 0.75rem;
	font-size: 1.2rem;
	color: var(--eccc-accent);
	font-weight: 700;
}

.eccc-location-block__content {
	color: var(--eccc-text-muted);
	line-height: 1.6;
}

.eccc-location-contact p {
	margin: 0 0 0.5rem;
}

.eccc-location-contact a {
	color: var(--eccc-text);
	text-decoration: none;
}

.eccc-location-contact a:hover {
	color: var(--eccc-accent);
}

.eccc-location-gallery .eccc-event-gallery__title {
	margin-top: 0;
	padding-top: 0;
	border: none;
}

/* Zakładki szkół (pojedyncza lokalizacja) */
.eccc-location-schools-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.eccc-location-schools-tabs__label {
	display: inline-block;
	padding: 0.5rem 1rem;
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid var(--eccc-border);
	border-radius: var(--eccc-radius);
	background: var(--eccc-bg-card);
	color: var(--eccc-text-muted);
	cursor: pointer;
	transition: border-color var(--eccc-transition), color var(--eccc-transition), background var(--eccc-transition);
}

.eccc-location-schools-tabs__label:hover {
	border-color: var(--eccc-accent);
	color: var(--eccc-text);
}

.eccc-location-schools-tabs__label.is-active {
	border-color: var(--eccc-accent);
	color: var(--eccc-accent);
	background: var(--eccc-bg);
}

.eccc-location-schools-tabs__panel {
	display: none;
}

.eccc-location-schools-tabs__state:checked + .eccc-location-schools-tabs__panel {
	display: block;
}

.eccc-location-schools-tabs__content:empty::before {
	content: '—';
	color: var(--eccc-text-muted);
	opacity: 0.6;
}

/* Mapa Google (oEmbed lub iframe) */
.eccc-location-map {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	border-radius: var(--eccc-radius);
}

.eccc-location-map iframe,
.eccc-location-map .wp-block-embed__wrapper iframe {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 280px;
	height: min(50vh, 420px) !important;
	border: 0;
	border-radius: var(--eccc-radius);
}

.eccc-location-map .wp-block-embed {
	margin: 0;
}

.eccc-location-map--link {
	padding: 0.75rem 0;
}

.eccc-location-map__link {
	color: var(--eccc-accent);
	font-weight: 600;
	text-decoration: none;
}

.eccc-location-map__link:hover {
	text-decoration: underline;
}

/* Lista dojo (kluby) w zakładce szkoły */
.eccc-dojo-list {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.eccc-dojo-card {
	padding: 1.25rem;
	background: var(--eccc-bg-card);
	border: 1px solid var(--eccc-border);
	border-radius: var(--eccc-radius);
}

.eccc-dojo-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	color: var(--eccc-text);
	font-weight: 700;
}

.eccc-dojo-card__address {
	color: var(--eccc-text-muted);
	line-height: 1.55;
	margin-bottom: 0.75rem;
}

.eccc-dojo-card__map {
	margin-top: 0.5rem;
}

.eccc-dojo-card__map .eccc-location-map iframe {
	min-height: 220px;
	height: min(40vh, 360px) !important;
}

.eccc-school-notes {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--eccc-border);
	color: var(--eccc-text-muted);
	line-height: 1.6;
}

.eccc-school-notes:only-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

/* Ukrycie dat w lokalizacjach (single + archiwum + kraje) */
.single-eccc_location .entry-meta,
.single-cccc_location .entry-meta,
.post-type-archive-eccc_location .entry-meta,
.tax-eccc_country .entry-meta {
	display: none !important;
}

/* ---- Instruktorzy (pojedynczy + widget) ---- */
.single-eccc_instructor .eccc-instructor-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1.35fr);
	gap: 2rem;
	align-items: flex-start;
}

.single-eccc_instructor .eccc-instructor-layout__main {
	min-width: 0;
}

.single-eccc_instructor .eccc-instructor-layout__side {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.single-eccc_instructor .eccc-instructor-layout__side-contact .eccc-instructor-contact-block,
.single-eccc_instructor .eccc-instructor-layout__side-contact .eccc-location-contact-block {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.single-eccc_instructor .eccc-instructor-layout__image,
.single-eccc_instructor .eccc-instructor-layout img.wp-post-image {
	display: block !important;
	width: 100%;
	height: auto;
	border-radius: var(--eccc-radius);
	box-shadow: var(--eccc-shadow);
	object-fit: cover;
}

.single-eccc_instructor .eccc-instructor-description {
	margin-top: 0;
	margin-bottom: 1.5rem;
	color: var(--eccc-text-muted);
	line-height: 1.65;
}

.single-eccc_instructor .eccc-instructor-facts {
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	background: var(--eccc-bg-card);
	border: 1px solid var(--eccc-border);
	border-radius: var(--eccc-radius);
	display: grid;
	gap: 0.65rem;
}

.single-eccc_instructor .eccc-instructor-facts__row {
	display: grid;
	grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
	gap: 0.75rem;
	align-items: baseline;
	margin: 0;
}

@media (max-width: 560px) {
	.single-eccc_instructor .eccc-instructor-facts__row {
		grid-template-columns: 1fr;
	}
}

.single-eccc_instructor .eccc-instructor-facts__label {
	margin: 0;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--eccc-accent);
}

.single-eccc_instructor .eccc-instructor-facts__value {
	margin: 0;
	color: var(--eccc-text-muted);
	line-height: 1.5;
}

.single-eccc_instructor .eccc-instructor-motto {
	margin: 0 0 1.75rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--eccc-accent);
	background: var(--eccc-bg-card);
	border-radius: 0 var(--eccc-radius) var(--eccc-radius) 0;
	font-style: italic;
	color: var(--eccc-text-muted);
}

.single-eccc_instructor .eccc-instructor-motto p {
	margin: 0;
}

.single-eccc_instructor .eccc-instructor-section {
	margin-bottom: 2rem;
}

.single-eccc_instructor .eccc-instructor-section__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	color: var(--eccc-accent);
	font-weight: 700;
}

.single-eccc_instructor .eccc-instructor-section__body {
	color: var(--eccc-text-muted);
	line-height: 1.65;
}

.single-eccc_instructor .eccc-instructor-section__body p {
	margin: 0 0 0.85rem;
}

.single-eccc_instructor .eccc-instructor-section__body p:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.single-eccc_instructor .eccc-instructor-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.single-eccc_instructor .eccc-instructor-layout__side {
		order: -1;
		margin-bottom: 1rem;
	}
}

/* Ukrycie duplikatu obrazka wyróżniającego w motywie (jak lokalizacja) */
.single-eccc_instructor .blog-image,
.single-eccc_instructor .post-thumbnail,
.single-eccc_instructor .entry-header .post-thumbnail,
.single-eccc_instructor figure.wp-block-post-featured-image,
.single-eccc_instructor figure.wp-block-post-featured-image img,
.single-eccc_instructor img.wp-post-image:not(.eccc-instructor-layout__image) {
	display: none !important;
}

.single-eccc_instructor .single-entry-date {
	display: none !important;
}

/* Widget / siatka instruktorów */
.eccc-instructors__grid {
	display: grid;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.eccc-instructors--cols-2 .eccc-instructors__grid {
	grid-template-columns: repeat(2, 1fr);
}

.eccc-instructors--cols-3 .eccc-instructors__grid {
	grid-template-columns: repeat(3, 1fr);
}

.eccc-instructors--cols-4 .eccc-instructors__grid {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
	.eccc-instructors--cols-4 .eccc-instructors__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.eccc-instructors--cols-2 .eccc-instructors__grid,
	.eccc-instructors--cols-3 .eccc-instructors__grid,
	.eccc-instructors--cols-4 .eccc-instructors__grid {
		grid-template-columns: 1fr;
	}
}

.eccc-instructor-card {
	display: flex;
	flex-direction: column;
	background: var(--eccc-bg-card);
	border: 1px solid var(--eccc-border);
	border-radius: var(--eccc-radius);
	overflow: hidden;
	transition: border-color var(--eccc-transition), transform var(--eccc-transition);
}

.eccc-instructor-card:hover {
	border-color: var(--eccc-accent);
	transform: translateY(-2px);
}

.eccc-instructor-card__image-link {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--eccc-bg);
}

.eccc-instructor-card__image-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eccc-instructor-card__body {
	padding: 1.1rem 1.15rem 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.35rem;
}

.eccc-instructor-card__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.3;
}

.eccc-instructor-card__title a {
	color: var(--eccc-text);
	text-decoration: none;
}

.eccc-instructor-card__title a:hover {
	color: var(--eccc-accent);
}

.eccc-instructor-card__meta {
	margin: 0;
	font-size: 0.875rem;
	color: var(--eccc-text-muted);
	line-height: 1.4;
}

.eccc-instructor-card__excerpt {
	margin: 0.25rem 0 0;
	font-size: 0.9rem;
	color: var(--eccc-text-muted);
	line-height: 1.5;
}

.eccc-instructor-card__link {
	margin-top: auto;
	padding-top: 0.65rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--eccc-accent);
	text-decoration: none;
}

.eccc-instructor-card__link:hover {
	text-decoration: underline;
}

.eccc-instructors--empty .eccc-no-events {
	margin: 0;
	color: var(--eccc-text-muted);
}
