/*
 * Location pages (templates/location.php). Loaded only on pages that use that
 * template; see inc/location.php.
 *
 * Colours and type follow the site's own Elementor kit, read from the live site
 * on 2026-09-24: primary #1F3C32 (dark green), secondary #B8743F (copper),
 * accent #D7B49E (tan), cream #F4F2E6, Lato throughout, buttons 15px bold
 * uppercase with a 6px radius. The kit's CSS variables are used where the page
 * has them, with the same values as fallbacks.
 */

.agora-location {
	--agora-green: var(--e-global-color-primary, #1F3C32);
	--agora-copper: var(--e-global-color-secondary, #B8743F);
	--agora-tan: var(--e-global-color-accent, #D7B49E);
	--agora-cream: #F4F2E6;
	color: #000;
	font-family: "Lato", sans-serif;
}

.agora-location__wrap {
	box-sizing: border-box;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Opening panel */
.agora-location__hero {
	background: var(--agora-cream);
	padding: 48px 0 40px;
}

.agora-location__title {
	color: var(--agora-green);
	font-family: "Lato", sans-serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 16px;
}

.agora-location__intro {
	font-size: 18px;
	line-height: 1.6;
	margin: 0 0 24px;
	max-width: 760px;
}

.agora-location__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

/* Buttons, matching the site's */
.agora-location .agora-btn {
	background: var(--agora-green);
	border: 2px solid var(--agora-green);
	border-radius: 6px;
	color: #fff;
	display: inline-block;
	font-family: "Lato", sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 13px 24px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.agora-location .agora-btn:hover,
.agora-location .agora-btn:focus {
	background: var(--agora-copper);
	border-color: var(--agora-copper);
	color: #fff;
}

.agora-location .agora-btn--outline {
	background: transparent;
	color: var(--agora-green);
}

.agora-location .agora-btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--agora-green);
}

.agora-location .agora-btn--light-outline {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.agora-location .agora-btn:focus-visible {
	outline: 3px solid var(--agora-copper);
	outline-offset: 2px;
}

/* The page's own copy */
.agora-location__body {
	font-size: 18px;
	line-height: 1.65;
	padding-bottom: 48px;
	padding-top: 16px;
}

.agora-location__body h2 {
	color: var(--agora-green);
	font-family: "Lato", sans-serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
	margin: 40px 0 12px;
}

.agora-location__body h3 {
	color: var(--agora-green);
	font-family: "Lato", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	margin: 28px 0 8px;
}

.agora-location__body p,
.agora-location__body ul,
.agora-location__body ol {
	max-width: 760px;
}

.agora-location__body li {
	margin-bottom: 6px;
}

/* Links are underlined, so they never rely on colour alone. */
.agora-location__body a {
	color: var(--agora-green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.agora-location__body a:hover,
.agora-location__body a:focus {
	color: var(--agora-copper);
}

/* [agora_membership_prices] */
.agora-prices {
	border-collapse: collapse;
	margin: 8px 0 12px;
	max-width: 760px;
	width: 100%;
}

.agora-prices th,
.agora-prices td {
	border-bottom: 1px solid var(--agora-tan);
	padding: 12px 8px;
	vertical-align: top;
}

.agora-prices th {
	font-weight: 400;
	text-align: left;
}

.agora-prices td {
	color: var(--agora-green);
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

/* Closing panel */
.agora-location__cta {
	background: var(--agora-green);
	color: #fff;
	padding: 48px 0;
}

.agora-location__cta h2 {
	color: #fff;
	font-family: "Lato", sans-serif;
	font-size: 26px;
	font-weight: 600;
	margin: 0 0 8px;
}

.agora-location__cta p {
	font-size: 18px;
	margin: 0 0 20px;
}

.agora-location__address {
	line-height: 1.6;
	margin-top: 24px;
}

.agora-location .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

@media (min-width: 768px) {
	.agora-location__hero {
		padding: 72px 0 56px;
	}

	.agora-location__title {
		font-size: 40px;
	}

	.agora-location__intro {
		font-size: 20px;
	}

	.agora-location__body h2,
	.agora-location__cta h2 {
		font-size: 32px;
	}

	.agora-prices th,
	.agora-prices td {
		padding: 12px 14px;
	}
}
