/*
 * Dark colophon — three footer widget columns.
 *
 * Replaces GP's stock footer-widgets template (suppressed via the
 * `generate_footer_widgets` filter) with the layout Morrison Hotel used.
 */

.teledom-colophon {
	background-color: #2b2b2b;
	color: #adadad;
	padding: 60px 0 40px;
	font-size: 16px;
	line-height: 1.65;
}

.teledom-colophon__inner {
	max-width: 1340px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	align-items: start;
}

/* Each column centers its content (mirrors the legacy <center>-aligned widget) */
.teledom-colophon__column {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.teledom-colophon__icon {
	display: block;
	width: 76px;
	height: 76px;
	margin: 0 auto 22px;
}

/* GDPR block — sits below the restaurant card in column 3, badge + caption
 * laid out side by side so the row stays compact and centered. */
.teledom-colophon__gdpr {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 28px auto 0;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	width: 100%;
	max-width: 320px;
	text-align: center;
}

.teledom-colophon__gdpr-img {
	display: block;
	text-decoration: none;
	flex-shrink: 0;
}

.teledom-colophon__gdpr-img img {
	display: block;
	width: 64px;
	height: 64px;
	filter: invert(1) brightness(1.1);
	opacity: 0.85;
}

.teledom-colophon__gdpr-text {
	color: inherit;
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease;
}

.teledom-colophon__gdpr-text:hover {
	border-bottom-color: currentColor;
}

@media (max-width: 900px) {
	.teledom-colophon__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

.teledom-colophon__column .widget {
	margin: 0 0 20px;
}

.teledom-colophon__column .widget:last-child {
	margin-bottom: 0;
}

.teledom-colophon__column .widget-title {
	color: #1c884c;
	margin: 0 0 12px;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-align: center;
}

/* Normalize text-color overrides inside the column so every element
 * inherits .teledom-colophon's #d8d8d8 base (legacy <font color="…">
 * attributes and the .textcolor utility were forcing different shades). */
.teledom-colophon__column h1,
.teledom-colophon__column h2,
.teledom-colophon__column h3:not(.widget-title),
.teledom-colophon__column h4,
.teledom-colophon__column h5,
.teledom-colophon__column h6,
.teledom-colophon__column p,
.teledom-colophon__column span,
.teledom-colophon__column font,
.teledom-colophon__column .textcolor {
	color: inherit;
}

.teledom-colophon__column a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.teledom-colophon__column a:hover {
	color: var(--teledom-color-primary, #12894a);
}

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

/* Bump up the contact-card text inside the colophon — columns are wider
 * now (3 instead of 4) so headings and lines can breathe more. */
.teledom-colophon .teledom-contact-card__title {
	font-size: 1.05rem;
	margin-bottom: 18px;
}

.teledom-colophon .teledom-contact-card__persons {
	gap: 20px;
}

.teledom-colophon .teledom-contact-card__person {
	font-size: 15px;
	line-height: 1.6;
}

.teledom-colophon .teledom-contact-card__name {
	font-size: 16px;
	margin-bottom: 4px;
	color: #1c884c;
}

.teledom-colophon .teledom-contact-card__role {
	font-size: 13px;
	margin-bottom: 8px;
}

/* Persons without a name (e.g. "Hotel Reception" — a department, not a
 * person) render the role at the same size + color as a person name so
 * it reads as the section heading for that block. */
.teledom-colophon .teledom-contact-card__person:not(:has(.teledom-contact-card__name)) .teledom-contact-card__role {
	font-size: 16px;
	color: #1c884c;
	opacity: 1;
	margin-bottom: 4px;
}

.teledom-colophon .teledom-contact-card__row {
	font-size: 14px;
	margin: 3px 0;
}
