/* =========================================================
   ACTIVITIES LANDING — FULL-WIDTH CINEMATIC HERO
   ========================================================= */

.activities-hero {
	padding: 0 0 clamp(55px, 6vw, 90px);
}


/* =========================================================
   FULL-WIDTH CINEMATIC LANDSCAPE
   ========================================================= */

.activities-hero__visual {
	position: relative;
	width: 100%;
	height: clamp(460px, 48vw, 720px);
	overflow: hidden;
}


.activities-hero__visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}


/* Subtle atmospheric gradient */

.activities-hero__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.48) 0%,
		rgba(0, 0, 0, 0.10) 42%,
		rgba(0, 0, 0, 0) 70%
	);
	pointer-events: none;
}


/* Keeps narrative aligned with normal DexShell page content */

.activities-hero__narrative-wrap {
	position: absolute;
	z-index: 2;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding-bottom: clamp(35px, 4vw, 60px);
}


.activities-hero__narrative {
	max-width: 620px;
}


.activities-hero__narrative p {
	margin: 0;
	font-size: clamp(21px, 2vw, 30px);
	line-height: 1.35;
	color: #fff;
}


/* =========================================================
   EDITORIAL INTRO BELOW LANDSCAPE
   ========================================================= */

.activities-hero__content {
	margin-top: clamp(55px, 6vw, 85px);
}


.activities-hero__eyebrow {
	margin: 0 0 26px;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #555;
}


.activities-hero__heading {
	max-width: 850px;
	margin: 0 0 32px;
	font-size: clamp(44px, 4.5vw, 68px);
	line-height: 1.05;
	letter-spacing: -0.02em;
}


.activities-hero__text {
	max-width: 820px;
	margin: 0;
	font-size: 21px;
	line-height: 1.65;
	color: #444;
}


/* =========================================================
   MOBILE — HERO
   ========================================================= */

@media (max-width: 767px) {

	.activities-hero {
		padding-bottom: 70px;
	}

	.activities-hero__visual {
		height: clamp(520px, 72vh, 620px);
		height: clamp(520px, 72svh, 620px);
		min-height: 0;
	}

	.activities-hero__visual img {
		object-position: center center;
	}

	.activities-hero__narrative-wrap {
		padding-bottom: 30px;
	}

	.activities-hero__narrative {
		max-width: 90%;
	}

	.activities-hero__narrative p {
		font-size: 21px;
	}

	.activities-hero__content {
		margin-top: 45px;
	}

	.activities-hero__heading {
		font-size: clamp(40px, 11vw, 54px);
	}

	.activities-hero__text {
		font-size: 18px;
		line-height: 1.6;
	}

}


/* =========================================================
   ACTIVITIES CARDS
   ========================================================= */

.activities-grid {
	padding: 0 0 clamp(80px, 10vw, 120px);
}


.activities-grid__heading {
	margin: 0 0 clamp(36px, 4vw, 56px);
	font-size: clamp(40px, 4vw, 58px);
	line-height: 1.08;
	letter-spacing: -0.02em;
}


/* 2 × 2 desktop grid */

.activities-grid__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(50px, 5vw, 80px) clamp(28px, 3vw, 48px);
}


/* Individual card */

.activity-card {
	min-width: 0;
}


/* Image */

.activity-card__image {
	width: 100%;
	margin-bottom: 24px;
	overflow: hidden;
}


.activity-card__image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}


/* Card title */

.activity-card__title {
	margin: 0 0 12px;
	font-size: clamp(25px, 2.2vw, 34px);
	line-height: 1.15;
}


/* Card description */

.activity-card p,
.activity-card__text {
	max-width: 620px;
	margin: 0 0 18px;
	font-size: 17px;
	line-height: 1.6;
	color: #555;
}


/* Activity link */

.activity-card__link {
	display: inline-block;
	font-size: 16px;
	text-decoration: none;
}


/* =========================================================
   MOBILE — ACTIVITIES CARDS
   ========================================================= */

@media (max-width: 767px) {

	.activities-grid {
		padding-bottom: 80px;
	}

	.activities-grid__heading {
		margin-bottom: 30px;
		font-size: 40px;
		line-height: 1.08;
	}

	.activities-grid__items {
		grid-template-columns: 1fr;
		gap: 52px;
	}

	.activity-card__image {
		margin-bottom: 20px;
	}

	.activity-card__image img {
		width: 100%;
		height: auto;
		max-width: 100%;
		object-fit: initial;
	}

	.activity-card__title {
		font-size: 26px;
	}

	.activity-card p,
	.activity-card__text {
		font-size: 16px;
		line-height: 1.55;
	}

}


/* =========================================================
   ACTIVITIES — INTENT SECTION
   ========================================================= */

.activities-intent {
	padding: clamp(62px, 6.5vw, 95px) 0;
	background: #f3f5f5;
}


.activities-intent__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(42px, 6vw, 90px);
	align-items: start;
}


/* Heading */

.activities-intent__heading h2 {
	max-width: 500px;
	margin: 0;
	font-size: clamp(38px, 3.9vw, 58px);
	line-height: 1.06;
	letter-spacing: -0.02em;
}


/* Text */

.activities-intent__text {
	max-width: 680px;
	font-size: 19px;
	line-height: 1.62;
	color: #444;
}


.activities-intent__text p {
	margin: 0 0 20px;
}


.activities-intent__text p:last-child {
	margin-bottom: 0;
}


/* Reduce the gap before the next Explore Waterproof Gear section */

.activities-intent + .activities-categories {
	padding-top: clamp(70px, 7.5vw, 110px);
}


/* =========================================================
   MOBILE — INTENT SECTION
   ========================================================= */

@media (max-width: 767px) {

	.activities-intent {
		padding: 58px 0;
	}

	.activities-intent__grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.activities-intent__heading h2 {
		font-size: 36px;
		line-height: 1.08;
	}

	.activities-intent__text {
		font-size: 17px;
		line-height: 1.6;
	}

	.activities-intent__text p {
		margin-bottom: 18px;
	}

	.activities-intent + .activities-categories {
		padding-top: 62px;
	}

}


/* =========================================================
   ACTIVITIES — PRODUCT CATEGORIES
   ========================================================= */

.activities-categories {
	padding:
		clamp(90px, 10vw, 150px)
		0
		clamp(60px, 6vw, 90px);
}


.activities-categories__heading {
	margin: 0 0 clamp(40px, 5vw, 65px);
	font-size: clamp(42px, 4.3vw, 62px);
	line-height: 1.06;
	letter-spacing: -0.02em;
}


/* Three-column category grid */

.activities-categories__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 3vw, 48px);
}


/* Image */

.activities-category-card__image {
	width: 100%;
	margin-bottom: 25px;
	overflow: hidden;
}


.activities-category-card__image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}


/* Content */

.activities-category-card__title {
	margin: 0 0 12px;
	font-size: clamp(25px, 2.1vw, 32px);
	line-height: 1.15;
}


.activities-category-card__text {
	margin: 0 0 20px;
	font-size: 17px;
	line-height: 1.6;
	color: #555;
}


.activities-category-card__link {
	display: inline-block;
	font-size: 16px;
	text-decoration: none;
}


/* =========================================================
   TABLET — PRODUCT CATEGORIES
   ========================================================= */

@media (max-width: 991px) {

	.activities-categories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* =========================================================
   MOBILE — PRODUCT CATEGORIES
   ========================================================= */

@media (max-width: 767px) {

	.activities-categories {
		padding: 70px 0 60px;
	}

	.activities-categories__heading {
		margin-bottom: 32px;
		font-size: 40px;
	}

	.activities-categories__grid {
		grid-template-columns: 1fr;
		gap: 52px;
	}

	.activities-category-card__image {
		margin-bottom: 20px;
	}

	.activities-category-card__image img {
		width: 100%;
		height: auto;
	}

	.activities-category-card__title {
		font-size: 26px;
	}

	.activities-category-card__text {
		font-size: 16px;
	}

}


/* =========================================================
   ACTIVITIES — TECHNOLOGY BRIDGE
   ========================================================= */

.activities-technology {
	padding: clamp(68px, 6vw, 90px) 0;
	background: #111;
	color: #fff;
}


/* Default two-column layout — still works if image is used later */

.activities-technology__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
	gap: clamp(50px, 6vw, 90px);
	align-items: center;
}


/* Image */

.activities-technology__image {
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
}


.activities-technology__image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}


/* Content */

.activities-technology__content {
	max-width: 754px;
}


.activities-technology__heading {
	margin: 0 0 24px;
	font-size: clamp(38px, 3.6vw, 54px);
	line-height: 1.06;
	letter-spacing: -0.02em;
	color: #fff;
}


.activities-technology__text {
	font-size: 18px;
	line-height: 1.68;
	color: rgba(255,255,255,0.76);
}


.activities-technology__text p {
	margin: 0 0 20px;
}


.activities-technology__text p:last-child {
	margin-bottom: 0;
}


.activities-technology__link {
	display: inline-block;
	margin-top: 26px;
	font-size: 16px;
	color: #00a9ef;
	text-decoration: none;
}


.activities-technology__link:hover {
	color: #fff;
}


/* ---------------------------------------------------------
   Bridge mode — use when Technology Image is empty

   Best method:
   Add activities-technology--bridge to the section in PHP
   when activities_technology_image is empty.

   This turns the old two-column feature block into a compact
   one-column bridge.
   --------------------------------------------------------- */

.activities-technology--bridge {
	padding: clamp(58px, 5.5vw, 78px) 0;
}


.activities-technology--bridge .activities-technology__grid {
	display: block;
	max-width: 1180px;
	margin: 0 auto;
}


.activities-technology--bridge .activities-technology__image {
	display: none;
}


.activities-technology--bridge .activities-technology__content {
	max-width: 820px;
}


.activities-technology--bridge .activities-technology__heading {
	max-width: 780px;
	margin-bottom: 22px;
	font-size: clamp(34px, 3.3vw, 48px);
}


.activities-technology--bridge .activities-technology__text {
	max-width: 820px;
	font-size: 18px;
	line-height: 1.65;
}


.activities-technology--bridge .activities-technology__link {
	margin-top: 24px;
}


/* ---------------------------------------------------------
   CSS fallback for modern browsers:
   If no image exists inside the technology grid, behave like
   bridge mode even without the PHP modifier class.
   --------------------------------------------------------- */

@supports selector(.activities-technology__grid:has(.activities-technology__image)) {

	.activities-technology__grid:not(:has(.activities-technology__image img)) {
		display: block;
		max-width: 1180px;
		margin: 0 auto;
	}

	.activities-technology__grid:not(:has(.activities-technology__image img)) .activities-technology__image {
		display: none;
	}

	.activities-technology__grid:not(:has(.activities-technology__image img)) .activities-technology__content {
		max-width: 820px;
	}

	.activities-technology__grid:not(:has(.activities-technology__image img)) .activities-technology__heading {
		max-width: 780px;
		font-size: clamp(34px, 3.3vw, 48px);
	}

	.activities-technology__grid:not(:has(.activities-technology__image img)) .activities-technology__text {
		max-width: 820px;
	}

}


/* =========================================================
   MOBILE — TECHNOLOGY BRIDGE
   ========================================================= */

@media (max-width: 767px) {

	.activities-technology {
		padding: 58px 0;
	}

	.activities-technology__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.activities-technology__image {
		max-width: 100%;
	}

	.activities-technology__heading {
		font-size: 36px;
		line-height: 1.08;
		margin-bottom: 22px;
	}

	.activities-technology__text {
		font-size: 17px;
		line-height: 1.6;
	}

	.activities-technology__link {
		margin-top: 22px;
		font-size: 16px;
	}


	/* Bridge mode on mobile */

	.activities-technology--bridge {
		padding: 54px 0;
	}

	.activities-technology--bridge .activities-technology__content {
		max-width: 100%;
	}

	.activities-technology--bridge .activities-technology__heading {
		max-width: 360px;
		font-size: 36px;
		line-height: 1.08;
	}

	.activities-technology--bridge .activities-technology__text {
		max-width: 100%;
		font-size: 17px;
		line-height: 1.6;
	}


	/* Modern-browser fallback on mobile */

	@supports selector(.activities-technology__grid:has(.activities-technology__image)) {

		.activities-technology__grid:not(:has(.activities-technology__image img)) {
			display: block;
		}

		.activities-technology__grid:not(:has(.activities-technology__image img)) .activities-technology__content {
			max-width: 100%;
		}

		.activities-technology__grid:not(:has(.activities-technology__image img)) .activities-technology__heading {
			max-width: 360px;
			font-size: 36px;
			line-height: 1.08;
		}

		.activities-technology__grid:not(:has(.activities-technology__image img)) .activities-technology__text {
			max-width: 100%;
			font-size: 17px;
			line-height: 1.6;
		}

	}

}


/* =========================================================
   ACTIVITIES — CLOSING CTA
   ========================================================= */

.activities-closing {
	padding: clamp(70px, 8vw, 110px) 0;
	background: #fff;
}


.activities-closing__inner {
	text-align: center;
}


.activities-closing__content {
	max-width: 1100px;
	margin: 0 auto;
}


.activities-closing__heading {
	max-width: 1100px;
	margin: 0 auto 28px;
	font-size: clamp(44px, 4.6vw, 68px);
	line-height: 1.05;
	letter-spacing: -0.02em;
}


.activities-closing__text {
	max-width: 720px;
	margin: 0 auto;
	font-size: 20px;
	line-height: 1.65;
	color: #555;
}


.activities-closing__text p {
	margin: 0;
}


/* CTA */

.activities-closing__button {
	display: inline-block;
	margin-top: 36px;
	padding: 17px 32px;
	background: #009fe3;
	color: #fff;
	font-size: 16px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}


.activities-closing__button:hover {
	color: #fff;
	opacity: 0.85;
}


/* Optional image — only used if populated later */

.activities-closing__image {
	max-width: 1100px;
	margin: 0 auto 60px;
}


.activities-closing__image img {
	display: block;
	width: 100%;
	height: auto;
}


/* =========================================================
   MOBILE — CLOSING CTA
   ========================================================= */

@media (max-width: 767px) {

	.activities-closing {
		padding: 65px 0 75px;
	}


	.activities-closing__content {
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}


	.activities-closing__heading {
		max-width: 390px;
		margin: 0 auto 26px;
		font-size: 40px;
		line-height: 1.08;
		letter-spacing: -0.02em;
		text-wrap: balance;
	}


	.activities-closing__text {
		max-width: 430px;
		margin: 0 auto;
		font-size: 18px;
		line-height: 1.6;
	}


	.activities-closing__button {
		margin-top: 30px;
		padding: 16px 28px;
	}

}

/* =========================================================
   ACTIVITIES LANDING — HERO BREADCRUMB
   ========================================================= */

.activities-hero__visual {
	position: relative;
}

.activities-hero__breadcrumbs {
	position: absolute;
	top: 28px;
	left: 0;
	right: 0;
	z-index: 5;

	font-size: 15px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.82);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.activities-hero__breadcrumbs a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.activities-hero__breadcrumbs a:hover {
	color: #fff;
	text-decoration: underline;
}

.activities-hero__breadcrumbs .separator {
	margin: 0 6px;
	color: rgba(255, 255, 255, 0.62);
}

.activities-hero__breadcrumbs .current {
	color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 767px) {
	.activities-hero__breadcrumbs {
		top: 18px;
		font-size: 13px;
	}
}