/* ==========================================================================
   My City Dental - footer + embedded map
   ========================================================================== */

.mcd-footer {
	background: #2d394f;
	color: #fff;
}

.mcd-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 16px;
}

.mcd-footer__heading {
	margin: 0 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
}

.mcd-footer__heading--social {
	margin-top: 36px;
}

.mcd-footer__address {
	margin: 0;
	font-style: normal;
	font-size: 13px;
	line-height: 1.8;
	color: rgba(255, 255, 255, .9);
}

.mcd-footer__address p {
	margin: 0 0 6px;
}

.mcd-footer__address a {
	color: inherit;
	text-decoration: none;
}

.mcd-footer__address a:hover,
.mcd-footer__address a:focus-visible {
	color: #37b6bd;
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Opening hours
   -------------------------------------------------------------------------- */

.mcd-footer__hours {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, .9);
}

.mcd-footer__hours-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
}

.mcd-footer__hours dt {
	margin: 0;
	font-weight: 500;
}

.mcd-footer__hours dd {
	margin: 0;
	color: rgba(255, 255, 255, .78);
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   CDCP block
   -------------------------------------------------------------------------- */

.mcd-footer__cdcp {
	margin: 0;
	max-width: 380px;
	color: rgba(255, 255, 255, .95);
	font-size: 15px;
	line-height: 1.55;
}

.mcd-footer__cdcp-link {
	display: inline-flex;
	align-items: center;
	margin-top: 22px;
	padding: 13px 26px;
	border-radius: 2px;
	background: #14777e;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s ease;
}

.mcd-footer__cdcp-link:hover,
.mcd-footer__cdcp-link:focus-visible {
	background: #0f646b;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Social
   -------------------------------------------------------------------------- */

.mcd-footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mcd-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.mcd-footer-social a:hover,
.mcd-footer-social a:focus-visible {
	background: #14777e;
	color: #fff;
	transform: translateY(-2px);
}

.mcd-footer-social svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/* --------------------------------------------------------------------------
   Bottom bar
   -------------------------------------------------------------------------- */

.mcd-footer__bottom-wrap {
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.mcd-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 20px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px;
}

.mcd-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, .6);
	font-size: 12px;
}

.mcd-footer__credit a {
	color: rgba(255, 255, 255, .82);
	font-weight: 600;
	text-decoration: none;
}

.mcd-footer__credit a:hover,
.mcd-footer__credit a:focus-visible {
	color: #37b6bd;
	text-decoration: underline;
}

@media (max-width: 599px) {

	.mcd-footer__bottom {
		justify-content: center;
		text-align: center;
	}
}

/* --------------------------------------------------------------------------
   Map - shown immediately, lazily fetched as it scrolls into view
   -------------------------------------------------------------------------- */

.mcd-map {
	position: relative;
	margin-top: 22px;
	aspect-ratio: 16 / 10;
	border-radius: 6px;
	overflow: hidden;
	background: #24303f;
}

/* Older browsers without aspect-ratio still get a sized box, so the frame
   never changes the page height when it loads. */
@supports not (aspect-ratio: 16 / 10) {

	.mcd-map {
		height: 190px;
	}
}

.mcd-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --------------------------------------------------------------------------
   Desktop
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {

	.mcd-footer__inner {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 48px;
		padding: 56px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.mcd-footer-social a,
	.mcd-footer__cdcp-link {
		transition: none !important;
	}
}


/* v7.5 footer social visibility/accessibility guard. */
.mcd-footer-social{
	display:flex!important;
	align-items:center;
	gap:10px;
	padding:0;
	margin:12px 0 0;
	list-style:none;
}
.mcd-footer-social li{display:block}
.mcd-footer-social a{
	display:inline-flex!important;
	align-items:center;
	justify-content:center;
	min-width:44px;
	min-height:44px;
}
.mcd-footer-social svg{
	display:block;
	width:20px;
	height:20px;
}
