/* ==========================================================================
   Matt Shannon Wildlife Photography Workshop — page styles
   --------------------------------------------------------------------------
   Ported from the approved Claude Design mockup. EVERY rule is scoped under
   #ms-workshop so it cannot bleed into the rest of the Sea Wolf site, and so
   Astra's / Elementor's global CSS is less likely to restyle the page.
   Loaded only on template-matt-shannon-workshop.php (see inc/ms-workshop.php).
   ========================================================================== */

/* ---- Frame-breakers ------------------------------------------------------- *
 * The ONLY rules here that reach outside #ms-workshop. Astra's header.php
 * leaves the page inside #content > .ast-container, where .ast-container is a
 * flex column (display:flex; flex-direction:column-reverse). The custom
 * template drops <main id="ms-workshop"> straight into it — and the flex
 * column shrink-wraps the main to its content width (~1180px) and left-aligns
 * it, leaving empty space on the right at desktop widths. Force the container
 * full-width AND stretch the main, so the full-bleed bands fill the viewport
 * and each section's own .ms-wrap re-centers the content. All gated to
 * body.ms-workshop-page, so the rest of the site is untouched.               */
body.ms-workshop-page #content.site-content { padding-top: 0; padding-bottom: 0; }
body.ms-workshop-page #content .ast-container {
	max-width: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin: 0;
}
body.ms-workshop-page #ms-workshop {
	width: 100%;
	max-width: 100%;
	align-self: stretch;
}

/* ---- Scoped reset / base -------------------------------------------------- */
#ms-workshop,
#ms-workshop * { box-sizing: border-box; }

#ms-workshop {
	font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #21302a;
	background: #fcfaf6;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

#ms-workshop img { display: block; max-width: 100%; height: auto; }
#ms-workshop a { text-decoration: none; color: inherit; }
#ms-workshop ::selection { background: #cde3b4; }
#ms-workshop h1,
#ms-workshop h2,
#ms-workshop h3 { margin: 0; }

/* ---- Layout helpers ------------------------------------------------------- */
#ms-workshop .ms-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 clamp(18px, 5vw, 48px);
	width: 100%;
}
#ms-workshop .ms-wrap--narrow { max-width: 840px; }
#ms-workshop .ms-wrap--mid { max-width: 1100px; }

#ms-workshop .ms-section { padding: clamp(60px, 8vw, 104px) 0; background: #fcfaf6; }
#ms-workshop .ms-section--sand { background: #f0eadd; }

#ms-workshop .ms-head { margin-bottom: 54px; }
#ms-workshop .ms-head--center { text-align: center; }

#ms-workshop .ms-eyebrow {
	color: #b3851f;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .3em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
#ms-workshop .ms-eyebrow--gold { color: #f1c14e; }

#ms-workshop .ms-h2 {
	font-family: 'Lora', Georgia, serif;
	font-weight: 600;
	color: #21302a;
	font-size: clamp(30px, 4vw, 46px);
	letter-spacing: -.01em;
	line-height: 1.1;
	text-wrap: balance;
}
#ms-workshop .ms-h2--light { color: #fff; }
#ms-workshop .ms-h2--sm { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }

#ms-workshop .ms-body { color: #4d5751; font-size: 17px; margin: 0 0 22px; }
#ms-workshop .ms-body:last-child { margin-bottom: 0; }

#ms-workshop .ms-subnote { font-style: italic; color: #7a847c; font-size: 14.5px; }
#ms-workshop .ms-subnote--center { text-align: center; margin: 0 0 52px; }

#ms-workshop .ms-rule { width: 54px; height: 3px; background: #cf9b2a; margin: 0 auto 34px; }

/* ---- Buttons -------------------------------------------------------------- */
#ms-workshop .ms-btn {
	display: inline-block;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .03em;
	border-radius: 5px;
	padding: 15px 30px;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
	cursor: pointer;
}
#ms-workshop .ms-btn--primary { background: #5c8a38; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
#ms-workshop .ms-btn--primary:hover { background: #4a7329; }
#ms-workshop .ms-btn--ghost { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
#ms-workshop .ms-btn--ghost:hover { background: rgba(255,255,255,.2); }
#ms-workshop .ms-btn--white { background: #fff; color: #3f6126; box-shadow: 0 6px 20px rgba(0,0,0,.18); flex: none; }
#ms-workshop .ms-btn--white:hover { background: #f0eadd; }

/* ---- Hero ----------------------------------------------------------------- */
#ms-workshop .ms-hero {
	position: relative;
	background-image:
		linear-gradient(180deg, rgba(15,22,16,.20) 0%, rgba(15,22,16,.30) 45%, rgba(13,20,14,.86) 100%),
		var(--ms-bg);
	background-size: cover;
	background-position: center 38%;
	min-height: 90vh;
	display: flex;
	align-items: flex-end;
}
#ms-workshop .ms-hero__inner {
	max-width: 1240px;
	margin: 0 auto;
	width: 100%;
	padding: 0 clamp(18px, 5vw, 48px) clamp(48px, 7vw, 88px);
}
#ms-workshop .ms-hero__eyebrow {
	color: #f1c14e;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .34em;
	text-transform: uppercase;
	margin-bottom: 22px;
}
#ms-workshop .ms-hero__title {
	font-family: 'Lora', Georgia, serif;
	font-weight: 600;
	color: #fff;
	font-size: clamp(38px, 5.6vw, 68px);
	line-height: 1.04;
	margin: 0 0 22px;
	letter-spacing: -.01em;
	text-wrap: balance;
	max-width: 760px;
}
#ms-workshop .ms-hero__title span { color: #f1c14e; font-style: italic; font-weight: 500; }
#ms-workshop .ms-hero__lead {
	color: rgba(255,255,255,.92);
	font-size: clamp(17px, 2vw, 21px);
	margin: 0 0 30px;
	max-width: 600px;
}
#ms-workshop .ms-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Chips ---------------------------------------------------------------- */
#ms-workshop .ms-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; max-width: 760px; }
#ms-workshop .ms-chip {
	background: rgba(255,255,255,.14);
	border: 1px solid rgba(255,255,255,.3);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 15px;
	border-radius: 999px;
	letter-spacing: .02em;
}

/* ---- Intro ---------------------------------------------------------------- */
#ms-workshop .ms-intro__note {
	font-style: italic;
	color: #7a847c;
	font-size: 15px;
	text-align: center;
	margin: 0 0 38px;
	line-height: 1.7;
}
#ms-workshop .ms-intro__note a { color: #5c8a38; border-bottom: 1px solid #a9c98e; font-weight: 600; }
#ms-workshop .ms-intro__note a:hover { color: #4a7329; }
#ms-workshop .ms-intro__hook {
	font-family: 'Lora', Georgia, serif;
	font-weight: 500;
	color: #21302a;
	font-size: clamp(22px, 2.9vw, 30px);
	line-height: 1.4;
	text-align: center;
	margin: 0 0 34px;
	text-wrap: balance;
}

/* ---- Generic responsive grid --------------------------------------------- */
#ms-workshop .ms-grid { display: grid; gap: 22px; }
#ms-workshop .ms-grid--cards { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
#ms-workshop .ms-grid--days { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* ---- Highlight cards ------------------------------------------------------ */
#ms-workshop .ms-card {
	background: #fff;
	border: 1px solid rgba(33,48,42,.1);
	border-radius: 8px;
	padding: 34px 30px;
	box-shadow: 0 1px 2px rgba(33,48,42,.04);
}
#ms-workshop .ms-card__num { font-family: 'Lora', Georgia, serif; font-size: 30px; font-weight: 600; color: #cf9b2a; margin-bottom: 14px; }
#ms-workshop .ms-card__title { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 21px; color: #21302a; margin: 0 0 10px; }
#ms-workshop .ms-card__text { color: #58635b; font-size: 15.5px; margin: 0; }

/* ---- Itinerary day cards -------------------------------------------------- */
#ms-workshop .ms-day {
	background: #fff;
	border: 1px solid rgba(33,48,42,.1);
	border-top: 3px solid #5c8a38;
	border-radius: 6px;
	padding: 30px;
}
#ms-workshop .ms-day__label { font-size: 12px; font-weight: 800; letter-spacing: .22em; color: #5c8a38; text-transform: uppercase; margin-bottom: 10px; }
#ms-workshop .ms-day__title { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 22px; color: #21302a; }

/* ---- Interstitial quote --------------------------------------------------- */
#ms-workshop .ms-quote {
	position: relative;
	background-image:
		linear-gradient(90deg, rgba(13,20,14,.74) 0%, rgba(13,20,14,.30) 60%, rgba(13,20,14,.10) 100%),
		var(--ms-bg);
	background-size: cover;
	background-position: center 60%;
	min-height: clamp(360px, 52vh, 560px);
	display: flex;
	align-items: center;
}
#ms-workshop .ms-quote__text {
	margin: 0;
	max-width: 540px;
	font-family: 'Lora', Georgia, serif;
	font-style: italic;
	font-weight: 500;
	color: #fff;
	font-size: clamp(22px, 3vw, 32px);
	line-height: 1.4;
	text-wrap: balance;
}

/* ---- The Lodge (split) ---------------------------------------------------- */
#ms-workshop .ms-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
#ms-workshop .ms-split__text { flex: 1 1 320px; }
#ms-workshop .ms-split__media { flex: 1 1 360px; }
#ms-workshop .ms-split__text .ms-body { margin-bottom: 22px; }

#ms-workshop .ms-amenities {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 28px;
}
#ms-workshop .ms-amenities li {
	color: #39443d;
	font-size: 15px;
	font-weight: 600;
	padding-left: 20px;
	position: relative;
}
#ms-workshop .ms-amenities li::before { content: '\203A'; position: absolute; left: 0; color: #5c8a38; font-weight: 800; }

#ms-workshop .ms-lodge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#ms-workshop .ms-lodge-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; aspect-ratio: 4 / 3; }
#ms-workshop .ms-lodge-grid__wide { grid-column: 1 / span 2; aspect-ratio: 16 / 9; }

/* ---- About Matt ----------------------------------------------------------- */
#ms-workshop .ms-about { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 64px); align-items: center; }
#ms-workshop .ms-about__photo { flex: 1 1 300px; max-width: 420px; position: relative; }
#ms-workshop .ms-about__photo img { width: 100%; border-radius: 10px; box-shadow: 0 18px 44px rgba(33,48,42,.22); }
/* Mirrored bio (Mike Willie): text left / image right on desktop, and image
   first on mobile so it matches Matt's image-then-content order. wrap-reverse
   flips the wrapped (mobile) stack while keeping desktop in DOM order. */
#ms-workshop .ms-about--mirror { flex-wrap: wrap-reverse; }
#ms-workshop .ms-about--mirror .ms-about__photo img {
	aspect-ratio: 3770 / 4021;
	object-fit: cover;
	object-position: 38% 20%;
}
#ms-workshop .ms-about__badge {
	position: absolute;
	left: 18px;
	bottom: 18px;
	background: rgba(252,250,246,.95);
	padding: 9px 16px;
	border-radius: 6px;
	font-family: 'Lora', Georgia, serif;
	font-weight: 600;
	color: #21302a;
	font-size: 15px;
	box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
#ms-workshop .ms-about__text { flex: 1 1 340px; }
#ms-workshop .ms-about__text .ms-body { font-size: 16.5px; margin-bottom: 18px; }
#ms-workshop .ms-about__text .ms-body + .ms-body { margin-bottom: 26px; }
#ms-workshop .ms-about__label { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #7a847c; margin-bottom: 12px; }

#ms-workshop .ms-links { display: flex; flex-wrap: wrap; gap: 10px; }
#ms-workshop .ms-links a {
	border: 1px solid rgba(33,48,42,.2);
	color: #39443d;
	font-weight: 700;
	font-size: 14px;
	padding: 9px 16px;
	border-radius: 5px;
	transition: border-color .18s ease, color .18s ease;
}
#ms-workshop .ms-links a:hover { border-color: #5c8a38; color: #5c8a38; }

/* ---- Reserve (dark) ------------------------------------------------------- */
#ms-workshop .ms-reserve { background: #21302a; color: #fff; }
#ms-workshop .ms-reserve .ms-head { margin-bottom: 50px; }
#ms-workshop .ms-reserve__cols { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
#ms-workshop .ms-reserve__facts { flex: 1 1 460px; }
#ms-workshop .ms-reserve__booking { flex: 1 1 340px; max-width: 420px; }

#ms-workshop .ms-facts {
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.13);
	border-radius: 10px;
	padding: clamp(26px, 3vw, 38px);
}
#ms-workshop .ms-facts__title { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 22px; color: #fff; margin: 0 0 22px; }
#ms-workshop .ms-facts__list { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; font-size: 15px; }
#ms-workshop .ms-facts__list dt { font-weight: 800; color: #f1c14e; letter-spacing: .02em; }
#ms-workshop .ms-facts__list dd { margin: 0; color: rgba(255,255,255,.9); }

#ms-workshop .ms-pricing__title { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 22px; color: #fff; margin: 34px 0 6px; }
#ms-workshop .ms-pricing__note { font-size: 13px; color: rgba(255,255,255,.7); margin: 0 0 18px; }
#ms-workshop .ms-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
#ms-workshop .ms-price { background: #fff; border-radius: 10px; padding: 26px 24px; color: #21302a; }
#ms-workshop .ms-price__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #5c8a38; margin-bottom: 10px; }
#ms-workshop .ms-price__amount { font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: 34px; color: #21302a; line-height: 1.1; }
#ms-workshop .ms-price__sub { font-size: 13px; color: #7a847c; margin-top: 8px; }

/* ---- Booking card + CheckFront placeholder -------------------------------- */
#ms-workshop .ms-booking { background: #fff; border-radius: 10px; padding: 26px; box-shadow: 0 18px 44px rgba(0,0,0,.28); }
#ms-workshop .ms-booking__title { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 21px; color: #21302a; margin: 0 0 6px; }
#ms-workshop .ms-booking__note { font-size: 13.5px; color: #7a847c; margin: 0 0 18px; }
#ms-workshop .ms-booking__placeholder {
	background: #16181a;
	border: 2px dashed #41474a;
	border-radius: 8px;
	min-height: 340px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 30px 22px;
}
#ms-workshop .ms-booking__icon {
	width: 42px; height: 42px; border-radius: 50%;
	border: 2px solid #5c8a38;
	display: flex; align-items: center; justify-content: center;
	color: #7fb24f; font-size: 20px; margin-bottom: 18px;
}
#ms-workshop .ms-booking__head { color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .04em; margin-bottom: 8px; }
#ms-workshop .ms-booking__desc { color: #9aa0a2; font-size: 13px; line-height: 1.5; max-width: 240px; }
#ms-workshop .ms-booking__cta { margin-top: 20px; color: #7fb24f; font-weight: 800; font-size: 13.5px; letter-spacing: .03em; }

/* ---- Includes / Excludes -------------------------------------------------- */
#ms-workshop .ms-incl { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); }
#ms-workshop .ms-incl__col { flex: 1 1 320px; }
#ms-workshop .ms-incl__col--no { flex: 1 1 260px; }

#ms-workshop .ms-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
#ms-workshop .ms-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; }
#ms-workshop .ms-list--yes li { color: #39443d; }
#ms-workshop .ms-list--no li { color: #6b746d; }
#ms-workshop .ms-list li::before {
	content: '';
	flex: none;
	width: 22px; height: 22px;
	border-radius: 50%;
	margin-top: 2px;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 800;
}
#ms-workshop .ms-list--yes li::before { content: '\2713'; background: #5c8a38; color: #fff; }
#ms-workshop .ms-list--no li::before { content: '\2715'; background: #d9cdb6; color: #8a7a55; }

/* ---- Final CTA band ------------------------------------------------------- */
#ms-workshop .ms-cta { background: #5c8a38; padding: clamp(48px, 6vw, 76px) 0; }
#ms-workshop .ms-cta__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
#ms-workshop .ms-cta__title { font-family: 'Lora', Georgia, serif; font-weight: 600; color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; }
#ms-workshop .ms-cta__text { color: rgba(255,255,255,.9); font-size: 16px; margin: 0; }

/* ---- Mobile tightening ---------------------------------------------------- */
@media (max-width: 600px) {
	/* Astra's transparent header (position:absolute, ~70px) overlays the hero
	   and was clipping the top of the H1. Top-align the hero content and pad it
	   clear of the header so it can never sit underneath, regardless of screen
	   height; let the hero grow to fit its (tall) content. */
	#ms-workshop .ms-hero {
		min-height: 100vh;
		min-height: 100svh;
		align-items: flex-start;
	}
	#ms-workshop .ms-hero__inner { padding-top: 100px; }
	/* Eyebrow: trim tracking so "Sea Wolf Adventures × Matt Shannon" wraps
	   cleanly instead of overflowing the narrow viewport. */
	#ms-workshop .ms-hero__eyebrow { letter-spacing: .2em; }
	#ms-workshop .ms-amenities { grid-template-columns: 1fr; }
	#ms-workshop .ms-btn { width: 100%; text-align: center; }
	#ms-workshop .ms-hero__cta .ms-btn { width: auto; flex: 1 1 auto; }
}
