/* Tertia privacy: consent banner + click-to-load map */
.tw-consent {
	position: fixed; z-index: 100000; left: 16px; right: 16px; bottom: 16px;
	max-width: 30rem; padding: 20px 22px; border-radius: 14px;
	background: #faf8f4; color: #13294b; font-size: 0.95rem; line-height: 1.5;
	border: 1px solid rgba(19, 41, 75, 0.18); box-shadow: 0 12px 32px rgba(10, 27, 51, 0.30);
	opacity: 0; transform: translateY(8px);
	transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 240ms cubic-bezier(0.23, 1, 0.32, 1);
}
.tw-consent.is-in { opacity: 1; transform: none; }
.tw-consent[hidden] { display: none; }
.tw-consent .tw-consent__text { margin: 0 0 14px; color: #13294b !important; font-size: 0.95rem; }
.tw-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.tw-consent__btn {
	flex: 1 1 8rem; min-height: 44px; padding: 0.6rem 1.2rem; border-radius: 999px; cursor: pointer;
	font: inherit; font-weight: 600; background: #13294b; color: #faf8f4; border: 2px solid #13294b;
	transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.tw-consent__btn:active { transform: scale(0.97); }
.tw-consent__btn:focus-visible, .tw-consent__link:focus-visible { outline: 2px solid #13294b; outline-offset: 3px; }
.tw-consent .tw-consent__link { flex-basis: 100%; color: #13294b !important; text-decoration: underline; text-underline-offset: 3px; font-size: 0.875rem; }
@media (min-width: 700px) { .tw-consent { left: 24px; bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .tw-consent { transition: none; transform: none; } }

.tw-map-gate {
	display: flex; align-items: center; justify-content: center; text-align: center;
	min-height: min(var(--tw-map-h, 450px), 60vh); padding: 32px 20px; border-radius: 12px;
	background: #eaf0f6; color: #13294b;
}
.tw-map-gate__inner { max-width: 32rem; }
.tw-map-gate p { margin: 0 0 16px; }
.tw-map-gate__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin: 0 !important; }
.tw-map-gate__show {
	min-height: 44px; padding: 0.7rem 1.5rem; border: 0; border-radius: 999px; cursor: pointer;
	font: inherit; font-weight: 600; background: #13294b; color: #faf8f4;
	transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.tw-map-gate__show:active { transform: scale(0.97); }
.tw-map-gate a { color: #13294b; text-underline-offset: 3px; }

/* Static map (OpenStreetMap, stored on the site) with the office pinned at the centre */
.tw-map-gate--static { display: block; min-height: 0; padding: 0; text-align: left; background: #13294b; overflow: hidden; }
.tw-map-gate__map { position: relative; aspect-ratio: 1200 / 640; background: #eef2f7; }
.tw-map-gate__map .tw-map-gate__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.tw-pin { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, calc(-100% + 11px)); pointer-events: none; }
.tw-pin__label { background: #13294b; color: #faf8f4; font-weight: 600; font-size: 0.9375rem; line-height: 1; padding: 9px 14px; border-radius: 999px; margin-bottom: 8px; white-space: nowrap; }
.tw-pin__dot { width: 14px; height: 14px; border-radius: 50%; background: #c9a227; border: 4px solid #13294b; }
.tw-map-gate__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px clamp(18px, 3vw, 32px); background: #13294b; color: #faf8f4; }
.tw-map-gate--static .tw-map-gate__addr { font-family: "Cardo", Georgia, serif; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.15; margin: 0 0 4px; color: #faf8f4; }
.tw-map-gate--static .tw-map-gate__note { margin: 0; font-size: 1rem; color: rgba(250, 248, 244, 0.82); max-width: 46ch; }
.tw-map-gate--static .tw-map-gate__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.tw-map-gate__dir, .tw-map-gate--static .tw-map-gate__show {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.7rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 200ms ease, border-color 200ms ease;
}
.tw-map-gate__dir { background: #c9a227; color: #13294b !important; }
.tw-map-gate--static .tw-map-gate__show { background: transparent; color: #faf8f4; border: 2px solid rgba(250, 248, 244, 0.55); }
.tw-map-gate__dir:active, .tw-map-gate--static .tw-map-gate__show:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .tw-map-gate__dir:hover { background: #e4c463; }
  .tw-map-gate--static .tw-map-gate__show:hover { border-color: #faf8f4; }
}
.tw-map-gate__dir:focus-visible, .tw-map-gate--static .tw-map-gate__show:focus-visible { outline: 2px solid #e4c463; outline-offset: 3px; }
.tw-map-gate__credit { margin: 0; padding: 0 clamp(18px, 3vw, 32px) 14px; background: #13294b; color: rgba(250, 248, 244, 0.7); font-size: 0.8125rem; }
.tw-map-gate__credit a { color: inherit; text-underline-offset: 2px; }
@media (max-width: 600px) { .tw-map-gate__map { aspect-ratio: 4 / 3; } .tw-pin__label { font-size: 0.875rem; } }
.tw-map-gate--static .tw-map-gate__actions { justify-content: flex-start; }
