.elog-branches-grid {
	--elog-branch-columns: 3;
	display: grid;
	grid-template-columns: repeat(var(--elog-branch-columns), minmax(0, 1fr));
	width: 100%;
	margin: 28px 0;
	gap: clamp(18px, 2vw, 28px);
}

.elog-branches-grid--single {
	max-width: 580px;
}

.elog-branch-card {
	position: relative;
	display: flex;
	overflow: hidden;
	min-width: 0;
	height: 100%;
	border: 1px solid #dce4ec;
	border-radius: 16px;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 12px 34px rgba(10, 43, 66, 0.08);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.28s ease;
}

.elog-branch-card:hover {
	border-color: rgba(237, 28, 36, 0.32);
	box-shadow: 0 20px 46px rgba(10, 43, 66, 0.14);
	transform: translateY(-5px);
}

.elog-branch-card--headquarters {
	border-top: 3px solid #ed1c24;
}

.elog-branch-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: linear-gradient(145deg, #edf3f7, #dfe9ef);
}

.elog-branch-card__media::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 38%;
	content: "";
	pointer-events: none;
	background: linear-gradient(to top, rgba(7, 32, 48, 0.32), transparent);
}

.elog-branch-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.elog-branch-card:hover .elog-branch-card__media img {
	transform: scale(1.045);
}

.elog-branch-card__placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	color: #12364b;
	background:
		radial-gradient(circle at 20% 15%, rgba(237, 28, 36, 0.12), transparent 28%),
		linear-gradient(145deg, #f5f8fa, #dce8ee);
}

.elog-branch-card__placeholder strong {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 850;
	letter-spacing: 0.08em;
}

.elog-branch-card__placeholder small {
	color: #ed1c24;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.elog-branch-card__badge {
	position: absolute;
	z-index: 1;
	top: 14px;
	left: 14px;
	display: inline-flex;
	padding: 6px 10px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 999px;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
	background: rgba(15, 47, 66, 0.86);
	box-shadow: 0 5px 14px rgba(8, 31, 45, 0.2);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.elog-branch-card--headquarters .elog-branch-card__badge {
	background: rgba(237, 28, 36, 0.92);
}

.elog-branch-card__badge--inline {
	position: static;
	align-self: flex-start;
	margin-bottom: 10px;
	border-color: transparent;
	background: #12364b;
	box-shadow: none;
}

.elog-branch-card--headquarters .elog-branch-card__badge--inline {
	background: #ed1c24;
}

.elog-branch-card__body {
	display: flex;
	padding: clamp(20px, 2.2vw, 28px);
	flex: 1;
	flex-direction: column;
}

.elog-branch-card__title {
	position: relative;
	margin: 0 0 20px;
	padding-bottom: 14px;
	color: #102f42;
	font-size: clamp(18px, 1.65vw, 23px);
	font-weight: 800;
	line-height: 1.3;
}

.elog-branch-card__title::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 38px;
	height: 3px;
	border-radius: 4px;
	content: "";
	background: #ed1c24;
}

.elog-branch-card__details {
	display: grid;
	margin-top: auto;
	gap: 14px;
}

.elog-branch-card__detail {
	display: grid;
	min-width: 0;
	grid-template-columns: 68px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
	color: #536779;
	font-size: 13px;
	line-height: 1.55;
}

.elog-branch-card__detail-label {
	padding-top: 2px;
	color: #8896a4;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.elog-branch-card__detail a {
	min-width: 0;
	overflow-wrap: anywhere;
	color: #123f5a;
	font-weight: 650;
	text-decoration: none;
	transition: color 0.2s ease;
}

.elog-branch-card__detail a:hover,
.elog-branch-card__detail a:focus-visible {
	color: #ed1c24;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.elog-branches-empty {
	margin: 24px 0;
	padding: 14px 16px;
	border: 1px dashed #d6dee7;
	border-radius: 10px;
	color: #708092;
	background: #f8fafc;
}

/* Flatsome page template: Section → Row → Col → element. */
.elog-branch-page-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 84% 18%, rgba(237, 28, 36, 0.11), transparent 25%),
		radial-gradient(circle at 10% 92%, rgba(20, 83, 116, 0.1), transparent 30%),
		linear-gradient(145deg, #f8fbfd 0%, #fff 48%, #fff5f5 100%);
}

.elog-branch-page-hero::before,
.elog-branch-page-hero::after {
	position: absolute;
	border: 1px solid rgba(237, 28, 36, 0.12);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.elog-branch-page-hero::before {
	top: -220px;
	right: -150px;
	width: 520px;
	height: 520px;
}

.elog-branch-page-hero::after {
	top: -125px;
	right: -55px;
	width: 320px;
	height: 320px;
}

.elog-branch-page-hero .section-content {
	z-index: 2;
}

.elog-branch-page-eyebrow {
	margin-bottom: 18px;
}

.elog-branch-page-eyebrow p {
	display: inline-flex;
	margin: 0;
	padding: 7px 12px;
	border: 1px solid rgba(237, 28, 36, 0.24);
	border-radius: 999px;
	color: #ed1c24;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	background: rgba(255, 255, 255, 0.74);
	box-shadow: 0 8px 22px rgba(15, 47, 66, 0.06);
}

.elog-branch-page-hero-copy h1 {
	max-width: 850px;
	margin: 0 auto 20px;
	color: #0c2d45;
	font-size: clamp(42px, 6vw, 76px);
	font-weight: 850;
	letter-spacing: -0.045em;
	line-height: 1.02;
	text-transform: uppercase;
}

.elog-branch-page-hero-copy p {
	max-width: 720px;
	margin: 0 auto 28px;
	color: #617487;
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 1.7;
}

.elog-branch-page-button {
	min-height: 48px;
	padding-right: 26px;
	padding-left: 26px;
	box-shadow: 0 12px 28px rgba(237, 28, 36, 0.22);
}

.elog-branch-page-highlights {
	margin-top: 52px !important;
}

.elog-branch-page-highlight {
	height: 100%;
	padding: 20px 22px;
	border: 1px solid rgba(210, 223, 233, 0.82);
	border-radius: 13px;
	text-align: left;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 10px 28px rgba(15, 47, 66, 0.06);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.elog-branch-page-highlight strong,
.elog-branch-page-highlight span {
	display: block;
}

.elog-branch-page-highlight strong {
	margin-bottom: 6px;
	color: #12364b;
	font-size: 14px;
	font-weight: 800;
}

.elog-branch-page-highlight span {
	color: #6a7b8d;
	font-size: 12px;
	line-height: 1.55;
}

.elog-branch-page-headquarters {
	background: #fff;
}

.elog-branch-page-network {
	background:
		radial-gradient(circle at 8px 8px, rgba(91, 121, 143, 0.11) 1px, transparent 1.5px) 0 0 / 18px 18px,
		#f7fafc;
}

.elog-branch-page-section-heading {
	max-width: 720px;
	margin: 0 auto 32px;
	text-align: center;
}

.elog-branch-page-section-heading > span,
.elog-branch-page-cta-copy > span {
	display: inline-flex;
	margin-bottom: 10px;
	color: #ed1c24;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.elog-branch-page-section-heading h2 {
	margin: 0 0 12px;
	color: #102f42;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 840;
	letter-spacing: -0.03em;
	line-height: 1.12;
}

.elog-branch-page-section-heading p {
	margin: 0;
	color: #6a7b8d;
	font-size: 15px;
	line-height: 1.7;
}

.elog-branch-page-headquarters .elog-branches-grid {
	max-width: 850px;
	margin-right: auto;
	margin-left: auto;
}

.elog-branch-page-headquarters .elog-branch-card {
	display: grid;
	grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.elog-branch-page-headquarters .elog-branch-card__media {
	height: 100%;
	min-height: 360px;
	aspect-ratio: auto;
}

.elog-branch-page-cta {
	background: #fff;
}

.elog-branch-page-cta-row {
	overflow: hidden;
	padding: clamp(34px, 5vw, 58px) !important;
	border-radius: 22px;
	background:
		radial-gradient(circle at 92% 15%, rgba(237, 28, 36, 0.72), transparent 32%),
		linear-gradient(135deg, #0b2d43 0%, #123f5a 68%, #ed1c24 150%);
	box-shadow: 0 20px 48px rgba(10, 43, 66, 0.18);
}

.elog-branch-page-cta-row > .col {
	padding-bottom: 0;
}

.elog-branch-page-cta-copy > span {
	color: #ffb7ba;
}

.elog-branch-page-cta-copy h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(27px, 3.5vw, 43px);
	font-weight: 820;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.elog-branch-page-cta-copy p {
	max-width: 690px;
	margin: 0;
	color: rgba(255, 255, 255, 0.74);
	font-size: 14px;
	line-height: 1.7;
}

.elog-branch-page-cta-button {
	min-height: 48px;
	padding-right: 24px;
	padding-left: 24px;
	color: #12364b !important;
	box-shadow: 0 12px 28px rgba(3, 23, 35, 0.18);
}

@media (max-width: 849px) {
	.elog-branches-grid {
		grid-template-columns: repeat(min(2, var(--elog-branch-columns)), minmax(0, 1fr));
	}

	.elog-branch-page-headquarters .elog-branch-card {
		grid-template-columns: 1fr;
	}

	.elog-branch-page-headquarters .elog-branch-card__media {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.elog-branch-page-cta-row {
		text-align: center;
	}

	.elog-branch-page-cta-row .col {
		text-align: center !important;
	}

	.elog-branch-page-cta-button {
		margin-top: 22px;
	}
}

@media (max-width: 549px) {
	.elog-branches-grid {
		grid-template-columns: 1fr;
		margin: 20px 0;
		gap: 16px;
	}

	.elog-branch-card {
		border-radius: 13px;
	}

	.elog-branch-card__body {
		padding: 19px;
	}

	.elog-branch-card__detail {
		grid-template-columns: 62px minmax(0, 1fr);
	}

	.elog-branch-page-hero-copy h1 {
		font-size: clamp(36px, 12vw, 52px);
	}

	.elog-branch-page-highlights {
		margin-top: 36px !important;
	}

	.elog-branch-page-highlight {
		text-align: center;
	}

	.elog-branch-page-cta-row {
		border-radius: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elog-branch-card,
	.elog-branch-card__media img,
	.elog-branch-page-button,
	.elog-branch-page-cta-button {
		transition: none !important;
	}
}

/* Version 1.3: photographic hero and live directory filters. */
.elog-branch-page-hero > .section-content > .row,
.elog-branch-page-headquarters > .section-content > .row,
.elog-branch-page-network > .section-content > .row,
.elog-branch-page-cta > .section-content > .row {
	width: 100%;
	max-width: 1340px !important;
	margin-right: auto;
	margin-left: auto;
}

.elog-branch-page-hero {
	min-height: 610px;
	background: #eef5f8;
}

.elog-branch-page-hero::before,
.elog-branch-page-hero::after {
	display: none;
}

.elog-branch-page-hero .section-bg::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 35%, rgba(255, 255, 255, 0.42) 57%, rgba(255, 255, 255, 0.03) 78%);
}

.elog-branch-page-hero-copy {
	padding-top: 36px;
	text-align: left;
}

.elog-branch-page-hero-copy h1 {
	max-width: 720px;
	margin: 0 0 24px;
	color: #101820;
	font-size: clamp(42px, 5.1vw, 70px);
	font-style: italic;
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 1.04;
	text-transform: uppercase;
}

.elog-branch-page-hero-copy h1 span,
.elog-branch-page-hero-copy h1 strong {
	display: block;
}

.elog-branch-page-hero-copy h1 strong {
	margin-top: 10px;
	color: #d80d1d;
	font-size: 0.72em;
	font-style: normal;
	letter-spacing: -0.025em;
}

.elog-branch-page-hero-copy p {
	max-width: 610px;
	margin: 0;
	color: #3d4d5b;
	font-size: clamp(15px, 1.35vw, 18px);
	font-weight: 500;
	line-height: 1.75;
}

.elog-branch-page-stats {
	margin-top: 74px !important;
	padding: 24px 18px 8px !important;
	border: 1px solid rgba(222, 230, 236, 0.9);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 48px rgba(24, 53, 70, 0.13);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.elog-branch-page-stat {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	text-align: left;
}

.elog-branch-page-stat-icon {
	display: grid;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	color: #df1422;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: -0.02em;
	place-items: center;
	background: #fff0f1;
}

.elog-branch-page-stat-copy,
.elog-branch-page-stat-copy strong,
.elog-branch-page-stat-copy small {
	display: block;
}

.elog-branch-page-stat-copy strong {
	color: #d80d1d;
	font-size: clamp(22px, 2.2vw, 31px);
	font-weight: 850;
	line-height: 1.1;
}

.elog-branch-page-stat-copy small {
	margin-top: 5px;
	color: #657582;
	font-size: 11px;
	line-height: 1.35;
}

.elog-branch-page-network-heading {
	margin-bottom: 14px !important;
}

.elog-branch-page-section-heading--left {
	max-width: none;
	margin: 0;
	text-align: left;
}

.elog-branch-page-section-heading--left h2 {
	font-size: clamp(34px, 4vw, 52px);
}

.elog-branch-page-network-intro {
	padding-bottom: 3px;
}

.elog-branch-page-network-intro p {
	margin: 0;
	color: #667684;
	font-size: 14px;
	line-height: 1.75;
}

.elog-branch-directory {
	width: 100%;
}

.elog-branch-filter {
	display: grid;
	grid-template-columns: minmax(210px, 1.35fr) repeat(3, minmax(155px, 1fr)) auto;
	align-items: stretch;
	margin: 22px 0 12px;
	gap: 12px;
}

.elog-branch-filter__field {
	display: block;
	margin: 0;
}

.elog-branch-filter__field input,
.elog-branch-filter__field select {
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 17px;
	border: 1px solid #dce4ea;
	border-radius: 10px;
	outline: none;
	color: #243746;
	font: inherit;
	font-size: 13px;
	background-color: #fff;
	box-shadow: 0 5px 16px rgba(18, 54, 75, 0.035);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.elog-branch-filter__field input:focus,
.elog-branch-filter__field select:focus {
	border-color: #ed1c24;
	box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.1);
}

.elog-branch-filter__field input::placeholder {
	color: #8996a2;
}

.elog-branch-filter__actions {
	display: flex;
	gap: 8px;
}

.elog-branch-filter__submit,
.elog-branch-filter__reset {
	height: 54px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: 10px;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.elog-branch-filter__submit {
	color: #fff;
	background: #e31321;
	box-shadow: 0 10px 22px rgba(227, 19, 33, 0.2);
}

.elog-branch-filter__submit:hover,
.elog-branch-filter__submit:focus-visible {
	color: #fff;
	background: #c90d1a;
	box-shadow: 0 13px 26px rgba(227, 19, 33, 0.28);
	transform: translateY(-1px);
}

.elog-branch-filter__reset {
	padding: 0 15px;
	color: #536779;
	background: #eaf0f4;
}

.elog-branch-filter__reset:hover,
.elog-branch-filter__reset:focus-visible {
	color: #16384c;
	background: #dfe8ee;
}

.elog-branch-filter__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 28px;
	color: #71808d;
	font-size: 11px;
}

.elog-branch-filter__summary strong {
	color: #e31321;
	font-size: 13px;
}

.elog-branch-filter__hint {
	color: #96a2ac;
}

.elog-branch-directory .elog-branches-grid {
	margin-top: 14px;
}

.elog-branch-card[hidden],
.elog-branch-directory__empty[hidden],
.elog-branch-filter__reset[hidden] {
	display: none !important;
}

.elog-branch-directory__empty {
	display: flex;
	min-height: 180px;
	margin: 18px 0 0;
	border: 1px dashed #cfdbe3;
	border-radius: 14px;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	color: #728290;
	text-align: center;
	background: rgba(255, 255, 255, 0.74);
}

.elog-branch-directory__empty strong,
.elog-branch-directory__empty span {
	display: block;
}

.elog-branch-directory__empty strong {
	margin-bottom: 6px;
	color: #17384c;
	font-size: 17px;
}

.elog-branch-directory__empty span {
	font-size: 12px;
}

@media (max-width: 1099px) {
	.elog-branch-filter {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.elog-branch-filter__actions {
		grid-column: 1 / -1;
	}

	.elog-branch-filter__submit {
		min-width: 150px;
	}
}

@media (max-width: 849px) {
	.elog-branch-page-hero {
		min-height: 0;
	}

	.elog-branch-page-hero .section-bg {
		background-position: 72% 50% !important;
	}

	.elog-branch-page-hero .section-bg::after {
		background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 58%, rgba(255, 255, 255, 0.44) 100%);
	}

	.elog-branch-page-hero-copy {
		padding-top: 6px;
	}

	.elog-branch-page-hero-copy h1 {
		font-size: clamp(38px, 8vw, 56px);
	}

	.elog-branch-page-stats {
		margin-top: 50px !important;
	}

	.elog-branch-page-stat {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 10px;
	}

	.elog-branch-page-stat-icon {
		width: 46px;
		height: 46px;
	}
}

@media (max-width: 549px) {
	.elog-branch-page-hero > .section-content > .row,
	.elog-branch-page-headquarters > .section-content > .row,
	.elog-branch-page-network > .section-content > .row,
	.elog-branch-page-cta > .section-content > .row {
		width: calc(100% - 10px);
	}

	.elog-branch-page-hero .section-bg {
		background-position: 66% 50% !important;
	}

	.elog-branch-page-hero .section-bg::after {
		background: rgba(255, 255, 255, 0.88);
	}

	.elog-branch-page-hero-copy h1 {
		font-size: clamp(34px, 12vw, 48px);
	}

	.elog-branch-page-stats {
		padding: 18px 10px 4px !important;
		border-radius: 14px;
	}

	.elog-branch-page-stat {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.elog-branch-page-stat-copy strong {
		font-size: 21px;
	}

	.elog-branch-filter {
		grid-template-columns: 1fr;
	}

	.elog-branch-filter__actions {
		grid-column: auto;
	}

	.elog-branch-filter__submit {
		flex: 1;
	}

	.elog-branch-filter__summary {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
	}
}
