/* ==========================================================================
   MYS Footer — 1:1 parity with makingyousmile.nyc section-952-10
   ========================================================================== */

/* ── Shell ── */
.odx-footer {
	background-color: var(--color-charcoal);
	color: var(--color-white);
	text-align: center;
	width: 100%;
}

.odx-footer__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 50px var(--container-pad);
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* ── 3-col grid ── */
.odx-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(200px, 1fr));
	grid-column-gap: 0;
	grid-row-gap: 0;
	align-items: stretch;
	justify-items: stretch;
	width: 100%;
	margin-bottom: 75px;
	text-align: left;
}

/* Col 1: studio name + address */
.odx-footer__col--left {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.odx-footer__studio-name {
	font-weight: 400;
	font-size: 1.8em;
	line-height: 1.5;
	margin-bottom: 15px;
	margin-top: 0;
}

.odx-footer__address-link {
	color: var(--color-white);
}

.odx-footer__address-link:hover {
	color: var(--color-blue);
}

.odx-footer__address {
	margin: 0;
	line-height: 1.6;
}

/* Col 2: logo + hours */
.odx-footer__col--center {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
}

.odx-footer__logo-link {
	display: block;
	padding-bottom: 25px;
}

.odx-footer__logo {
	width: 250px;
	height: auto;
	margin-bottom: 25px;
	display: block;
}

.odx-footer__hours-wrap {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 0;
	text-align: center;
}

.odx-footer__hours-trigger {
	display: inline-block;
	color: var(--color-navy);
	background-color: var(--color-blue-light);
	padding: 10px 20px;
	border-radius: var(--radius-pill);
	font-family: var(--font-serif);
	font-size: 1em;
	font-weight: 400;
	margin-top: 10px;
	cursor: pointer;
	border: none;
	transition: color var(--transition-base);
}

.odx-footer__hours-trigger:hover {
	color: var(--color-white);
}

/* Col 3: contact */
.odx-footer__col--right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	text-align: right;
	margin-right: 0;
}

.odx-footer__contact-heading {
	font-size: 1.8em;
	font-weight: 400;
	margin-bottom: 20px;
	margin-top: 0;
}

.odx-footer__contact-links {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
}

.odx-footer__phone {
	color: var(--color-white);
	margin-bottom: 0;
}

.odx-footer__phone:hover {
	color: var(--color-blue);
}

.odx-footer__email {
	color: var(--color-white);
	margin-top: 5px;
	margin-bottom: 5px;
}

.odx-footer__email:hover {
	color: var(--color-blue);
}

.odx-footer__book {
	color: var(--color-white);
	font-size: 1em;
	text-decoration: underline;
	text-decoration-color: var(--color-blue);
	margin-bottom: 5px;
}

.odx-footer__book:hover {
	color: var(--color-blue);
	text-decoration-color: var(--color-white);
}

/* Social icons */
.odx-footer__socials {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-right: 10px;
	margin-top: 10px;
}

.odx-footer__social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background-color: var(--color-blue);
	color: var(--color-white);
	margin-right: 10px;
	margin-bottom: 10px;
	transition: background-color var(--transition-base), color var(--transition-base);
	flex-shrink: 0;
}

.odx-footer__social-icon svg {
	width: 17px;
	height: 17px;
}

.odx-footer__social-icon:hover {
	background-color: var(--color-white);
	color: var(--color-blue);
}

.odx-footer__social-icon--yelp {
	border: 1px solid var(--color-blue);
	margin-left: 0;
	border-radius: 0;
	width: auto;
	height: auto;
	padding: 7px;
}

.odx-footer__social-icon--yelp svg {
	width: 20px;
	height: 20px;
}

.odx-footer__social-icon--yelp:hover {
	background-color: var(--color-white);
	color: var(--color-blue);
	border-color: var(--color-white);
}

/* ── Bottom: video + description ── */
.odx-footer__bottom-video {
	width: 70%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.odx-footer__video-wrap {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.odx-footer__video-ratio {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.odx-footer__video-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.odx-footer__location-text {
	font-size: 0.8em;
	color: var(--color-off-white);
	margin-top: 50px;
	text-align: center;
	line-height: 1.6;
}

.odx-footer__location-text a {
	color: inherit;
	text-decoration: underline;
}

.odx-footer__location-text a:hover {
	color: var(--color-blue);
}

.odx-footer__location-text blockquote {
	margin: 1em 0 0;
	padding: 0;
	font-style: italic;
}

/* ── Bottom: badge + attribution + copyright ── */
.odx-footer__bottom-meta {
	width: 60%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.odx-footer__expertise-badge {
	margin-top: 25px;
	padding: 15px 18px;
	background-color: var(--color-white);
	display: inline-block;
}

.odx-footer__expertise-badge img {
	/* The award is an SVG with no intrinsic ratio: height:auto resolves to 0
	   and the badge disappears. Live paints it 180×144. */
	display: block;
	width: 180px;
	height: 144px;
}

.odx-footer__seo-credit {
	margin-top: 25px;
	font-size: 0.7em;
	color: #adadad;
	margin-bottom: 0;
}

.odx-footer__seo-credit a {
	color: inherit;
}

.odx-footer__seo-credit a:hover {
	color: var(--color-white);
}

.odx-footer__copyright {
	margin-top: 12px;
	font-size: 0.7em;
	color: var(--color-divider);
	margin-bottom: 0;
}

/* ==========================================================================
   Hours Modal
   ========================================================================== */
.odx-hours-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: var(--z-megamenu);
	align-items: flex-start;
	justify-content: center;
	padding-top: 80px;
}

.odx-hours-backdrop.is-open {
	display: flex;
}

.odx-hours-modal {
	background-color: var(--color-white);
	color: var(--color-navy);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	z-index: calc(var(--z-megamenu) + 1);
	padding: 20px;
	border-radius: 10px;
	max-width: 410px;
	width: 90%;
	position: relative;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

.odx-hours-modal__heading {
	color: var(--color-navy);
	font-weight: 500;
	font-size: 1.3em;
	margin-top: 0;
	margin-bottom: 16px;
	text-align: center;
}

.odx-hours-modal__heading--extra {
	margin-top: 0;
}

.odx-hours-list {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.odx-hours-row {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-around;
	width: 100%;
	padding-bottom: 15px;
	text-align: left;
}

.odx-hours-row__icon {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	margin-right: 8px;
}

.odx-hours-row__day {
	flex: 1 1 auto;
	font-size: 0.9em;
	color: var(--color-navy);
}

.odx-hours-row__time {
	font-family: var(--font-serif);
	color: var(--color-navy);
	font-size: 1em;
	white-space: nowrap;
	text-align: right;
}

@media (max-width: 479px) {
	.odx-hours-row__time {
		font-size: 0.85em;
	}
}

.odx-hours-divider {
	width: 70px;
	height: 1px;
	background-color: var(--color-divider);
	margin: 20px auto;
}

.odx-hours-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 1.5em;
	cursor: pointer;
	color: var(--color-navy);
	line-height: 1;
	padding: 0;
}

.odx-hours-modal__close:hover {
	color: var(--color-blue);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
	.odx-footer__studio-name {
		font-size: 1.5em;
	}

	.odx-footer__contact-heading {
		font-size: 1.5em;
	}

	.odx-footer__logo {
		width: 200px;
	}

	.odx-footer__hours-wrap {
		padding-top: 14px;
	}
}

@media (max-width: 767px) {
	.odx-footer__grid {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.odx-footer__col--left {
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin-bottom: 30px;
	}

	.odx-footer__col--right {
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin-top: 30px;
	}

	.odx-footer__contact-links {
		align-items: center;
	}

	.odx-footer__logo {
		margin-top: 15px;
		width: 250px;
	}

	.odx-footer__hours-wrap {
		padding-top: 0;
	}

	.odx-footer__bottom-video {
		width: 100%;
	}
}

@media (max-width: 479px) {
	.odx-footer__logo-link {
		padding-bottom: 0;
	}

	.odx-footer__contact-heading {
		margin-bottom: 0;
	}

	.odx-footer__contact-links {
		margin-top: 20px;
		margin-bottom: 25px;
	}
}
