/* ==========================================================================
   Shortcode: [4m_location_map]  —  location-map-shortcode.css
   4-column layout: Location | Main Line | Opening Hours | Map
   Typography from Figma specs
   ========================================================================== */

.fm-locmap {
	background: #f9f5f0;
	padding: 64px 40px;
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	max-width: 100vw;
	box-sizing: border-box;
}

/* ── Header ────────────────────────────────────────────────────────────── */
.fm-locmap__header {
	text-align: center;
	max-width: 780px;
	margin: 0 auto 48px;
}

/* "VISIT OUR {LOCATION} OFFICE" eyebrow */
.fm-locmap__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 28.6px;
	letter-spacing: 10px;
	text-align: center;
	text-transform: uppercase;
	color: rgba(230, 144, 86, 1);
	margin-bottom: 16px;
}

.fm-locmap__eyebrow-line {
	display: block;
	width: 54px;
	height: 1px;
	background: currentColor;
	flex-shrink: 0;
}

/* "4M Dental Implant Center - {Location}" */
.fm-locmap__title {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 52px;
	line-height: 57.2px;
	letter-spacing: -2px;
	text-align: center;
	color: rgba(0, 0, 0, 1);
	margin: 0 0 16px;
}

/* "Our {Location} office is designed for..." */
.fm-locmap__subtitle {
	font-family: 'Brockmann', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 25.2px;
	letter-spacing: -0.5px;
	text-align: center;
	color: rgba(6, 12, 23, 1);
	margin: 0;
}

/* ── Grid ──────────────────────────────────────────────────────────────── */
.fm-locmap__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr) 1.5fr;
	gap: 20px;
	max-width: 1280px;
	margin: 0 auto;
	align-items: stretch;
}

@media (max-width: 1024px) {
	.fm-locmap__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.fm-locmap__map {
		grid-column: 1 / -1;
		min-height: 320px;
	}
}

@media (max-width: 600px) {
	.fm-locmap__grid {
		grid-template-columns: 1fr;
	}
	.fm-locmap__title {
		font-size: 32px;
		line-height: 38px;
		letter-spacing: -1px;
	}
	.fm-locmap__eyebrow {
		font-size: 14px;
		letter-spacing: 6px;
	}
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
.fm-locmap__card {
	background: #fff;
	border-radius: 18px;
	padding: 36px 26px 26px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 2px 16px rgba(0,0,0,.07);
}

/* Icon circle */
.fm-locmap__icon {
	width: 70px;
	height: 70px;
	background: #1a2340;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	flex-shrink: 0;
}

.fm-locmap__icon svg {
	width: 30px;
	height: 30px;
	fill: #fff;
}

/* Card titles: Location, Main Line, Opening Hours */
.fm-locmap__card-title {
	font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
	font-weight: 400;
	font-size: 35px;
	line-height: 28.8px;
	letter-spacing: 0px;
	text-align: center;
	color: rgba(0, 0, 0, 1);
	margin: 0 0 20px;
}

.fm-locmap__card-body {
	flex: 1;
	width: 100%;
}

/* ── Col 1 – Location ──────────────────────────────────────────────────── */

/* "4M DENTAL IMPLANT CENTER" */
.fm-locmap__clinic-name {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 100%;
	letter-spacing: 0px;
	text-align: center;
	text-transform: uppercase;
	color: rgba(6, 12, 23, 1);
	margin: 0 0 8px;
}

.fm-locmap__address {
	font-family: 'Brockmann', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(118, 118, 118, 1);
	margin: 0;
}

.fm-locmap__card-footer {
	width: 100%;
	border-top: 1px solid #eee;
	margin-top: 20px;
	padding-top: 18px;
}

/* "Get Directions" */
.fm-locmap__dir-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Brockmann', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: -0.02em;
	color: rgba(5, 7, 11, 1);
	text-decoration: none;
	transition: color .2s;
}

.fm-locmap__dir-link:hover {
	color: rgba(230, 144, 86, 1);
}

.fm-locmap__dir-link svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

/* ── Col 2 – Main Line ─────────────────────────────────────────────────── */
.fm-locmap__phone {
	margin: 0 0 10px;
}

.fm-locmap__phone a {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 100%;
	color: rgba(6, 12, 23, 1);
	text-decoration: none;
	transition: color .2s;
}

.fm-locmap__phone a:hover {
	color: rgba(230, 144, 86, 1);
}

.fm-locmap__phone-label {
	font-family: 'Brockmann', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 25.2px;
	letter-spacing: -0.5px;
	color: rgba(118, 118, 118, 1);
	margin: 0;
}

.fm-locmap__call-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px 20px;
	background: rgba(6, 12, 23, 1);
	color: #fff;
	border-radius: 50px;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 16px;
	text-decoration: none;
	transition: background .2s;
}

.fm-locmap__call-btn:hover {
	background: rgba(230, 144, 86, 1);
	color: #fff;
}

.fm-locmap__call-btn svg {
	width: 16px;
	height: 16px;
	fill: #fff;
}

/* ── Col 3 – Opening Hours ─────────────────────────────────────────────── */
.fm-locmap__hours {
	text-align: left;
}

.fm-locmap__hours-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	padding: 12px 0;
	border-bottom: 2px solid rgba(99, 136, 180, 1);
}

.fm-locmap__hours-row:last-child {
	border-bottom: none;
}

/* "Monday - Friday" */
.fm-locmap__hours-day {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 100%;
	letter-spacing: 0px;
	text-transform: capitalize;
	color: rgba(6, 12, 23, 1);
	text-align: center;
}

/* "7:00 AM - 7:00 PM" */
.fm-locmap__hours-time {
	font-family: 'Brockmann', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 25.2px;
	letter-spacing: -0.5px;
	color: rgba(118, 118, 118, 1);
	text-align: center;
}

.fm-locmap__hours-time--closed {
	color: rgba(180, 180, 180, 1);
	font-style: italic;
}

/* ── Col 4 – Map ───────────────────────────────────────────────────────── */
.fm-locmap__map {
	border-radius: 24px;
	overflow: hidden;
	border: 5px solid #fff;
	box-shadow: 0 2px 16px rgba(0,0,0,.07);
	min-height: 380px;
	box-sizing: border-box;
}

.fm-locmap__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 380px;
	border: none;
}