/* ==========================================================================
   Alnwick Accommodation - Homepage
   ========================================================================== */

:root {
	--lime: #A8C900;
	--lime-dark: #8FAD00;
	--lime-ink: #2B3300;
	--green-deep: #1F3326;
	--green-mid: #2E4A36;
	--charcoal: #22261F;
	--cream: #F6F4EC;
	--cream-warm: #FBFAF5;
	--ink: #2A2E27;
	--ink-soft: #5E6459;
	--line: #E2E0D6;
	--white: #fff;
	--radius: 14px;
	--radius-lg: 20px;
	--shadow: 0 2px 14px rgba(31, 51, 38, .07);
	--shadow-lift: 0 10px 30px rgba(31, 51, 38, .14);
	--wrap: 1200px;
}

.home * { box-sizing: border-box; }

.home {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--ink);
	background: var(--white);
	margin: 0;
	padding: 0;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.home img { max-width: 100%; display: block; }
.home a { color: inherit; text-decoration: none; }

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}

/* --- Section furniture ------------------------------------------------ */

.sec { padding: 72px 0; }
.sec--cream { background: var(--cream); }
.sec--warm { background: var(--cream-warm); }

.secHead { text-align: center; max-width: 720px; margin: 0 auto 44px; }

.sec h2 {
	font-family: 'Rum Raisin', 'Roboto', sans-serif;
	font-size: 2.3rem;
	line-height: 1.2;
	color: var(--green-deep);
	margin: 0 0 14px;
	font-weight: 400;
}

.secHead p { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }

/* --- Buttons ---------------------------------------------------------- */

.btnLime,
.btnGhost,
.btnDark {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 999px;
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .01em;
	text-align: center;
	cursor: pointer;
	border: 2px solid transparent;
	transition: transform .15s ease, background .2s ease, color .2s ease;
}

.home a.btnLime { background: var(--lime); color: var(--lime-ink); }
.home a.btnLime:hover { background: var(--lime-dark); transform: translateY(-2px); }

.home a.btnGhost { border-color: var(--white); color: var(--white); }
.home a.btnGhost:hover { background: var(--white); color: var(--green-deep); }

.home a.btnDark { background: var(--green-deep); color: var(--white); }
.home a.btnDark:hover { background: var(--green-mid); color: var(--white); transform: translateY(-2px); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: center;
	background: var(--green-deep) url('/images/cottage-hero.jpg') center 40% / cover no-repeat;
	padding: 90px 0 150px;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(31,51,38,.72) 0%, rgba(31,51,38,.52) 45%, rgba(31,51,38,.80) 100%);
}

.heroInner { position: relative; z-index: 2; width: 100%; text-align: center; }

.heroLogo {
	width: 104px;
	height: 104px;
	margin: 0 auto 22px;
	background: rgba(255,255,255,.10);
	border: 1px solid rgba(255,255,255,.30);
	border-radius: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	backdrop-filter: blur(4px);
}

.heroLogo img { width: 100%; height: auto; }

.heroBrand {
	color: var(--lime);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	margin: 0 0 12px;
	text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

.hero h1 {
	font-family: 'Rum Raisin', 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 3.4rem;
	line-height: 1.12;
	color: var(--white);
	margin: 0 0 16px;
	text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.hero h1 em { font-style: normal; color: var(--lime); }

.heroSub {
	color: rgba(255,255,255,.92);
	font-size: 1.15rem;
	max-width: 620px;
	margin: 0 auto 30px;
	text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

.heroTrust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	justify-content: center;
	color: rgba(255,255,255,.88);
	font-size: .9rem;
	font-weight: 500;
	margin-bottom: 8px;
}

.heroTrust span i { color: var(--lime); margin-right: 7px; }

/* --- Search panel ----------------------------------------------------- */

.searchPanel {
	position: relative;
	z-index: 3;
	max-width: 1120px;
	margin: -78px auto 0;
	background: var(--green-deep);
	border-radius: var(--radius-lg);
	padding: 22px;
	box-shadow: var(--shadow-lift);
}

.searchGrid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
	gap: 12px;
	align-items: end;
}

.searchField label {
	display: block;
	color: rgba(255,255,255,.72);
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 7px;
}

.searchField select,
.searchField input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 10px;
	background: rgba(255,255,255,.96);
	color: var(--ink);
	font-size: .95rem;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	background-image: url('/images/down-arrow.png');
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.searchField input { background-image: none; }

.searchSubmit {
	height: 48px;
	padding: 0 34px;
	border: 0;
	border-radius: 10px;
	background: var(--lime);
	color: var(--lime-ink);
	font-weight: 700;
	font-size: .95rem;
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
	transition: background .2s ease;
}

.searchSubmit:hover { background: var(--lime-dark); }
.searchSubmit i { margin-right: 8px; }

/* ==========================================================================
   CATEGORY TILES
   ========================================================================== */

.catGrid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.catCard {
	position: relative;
	display: block;
	height: 190px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}

.catCard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.catCard img { width: 100%; height: 100%; object-fit: cover; }

.catCard::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(31,51,38,0) 35%, rgba(31,51,38,.85) 100%);
}

.catLabel {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 2;
	padding: 16px;
	color: var(--white);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.25;
}

.catLabel small {
	display: block;
	font-weight: 400;
	font-size: .78rem;
	color: rgba(255,255,255,.8);
	margin-top: 3px;
}

/* ==========================================================================
   WHY US  (two column: copy + feature cards)
   ========================================================================== */

.whyGrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.whyCopy h2 { text-align: left; }
.whyCopy > p { color: var(--ink-soft); margin: 0 0 22px; }

.whyList { list-style: none; margin: 0 0 28px; padding: 0; }

.whyList li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 13px;
	color: var(--ink);
}

.whyList li::before {
	content: '\f00c';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 1px;
	width: 21px;
	height: 21px;
	background: var(--lime);
	color: var(--lime-ink);
	border-radius: 50%;
	font-size: .62rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.featStack { display: grid; gap: 14px; }

.featCard {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 24px;
	box-shadow: var(--shadow);
}

.featCard h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	color: var(--green-deep);
	display: flex;
	align-items: center;
	gap: 11px;
}

.featCard h3 i {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	background: var(--lime);
	color: var(--lime-ink);
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .9rem;
}

.featCard p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

/* ==========================================================================
   PROPERTY CARDS
   ========================================================================== */

.propGrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.propCard {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}

.propCard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.propMedia { position: relative; aspect-ratio: 4 / 3; background: var(--cream); }
.propMedia img { width: 100%; height: 100%; object-fit: cover; }

.propBadge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--lime);
	color: var(--lime-ink);
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: 5px 11px;
	border-radius: 999px;
}

.propFav {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	color: var(--green-deep);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .85rem;
}

.propBody { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }

.propLoc {
	font-size: .8rem;
	color: var(--ink-soft);
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.propLoc i { color: var(--lime-dark); }

.propCard h3 {
	margin: 0 0 9px;
	font-size: 1.05rem;
	line-height: 1.3;
	color: var(--green-deep);
}

.propMeta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.propMeta span {
	background: var(--cream);
	border-radius: 6px;
	padding: 4px 9px;
	font-size: .76rem;
	color: var(--ink-soft);
}

.propMeta i { margin-right: 5px; color: var(--lime-dark); }

.propStars { color: var(--lime-dark); font-size: .78rem; margin-bottom: 12px; }
.propStars span { color: var(--ink-soft); margin-left: 6px; }

.propFoot {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.propPrice { line-height: 1.2; }
.propPrice strong { display: block; font-size: 1.25rem; color: var(--green-deep); }
.propPrice small { font-size: .72rem; color: var(--ink-soft); }

.propBtn {
	background: var(--green-deep);
	color: var(--white);
	border-radius: 999px;
	padding: 10px 18px;
	font-size: .82rem;
	font-weight: 700;
	white-space: nowrap;
	transition: background .2s ease;
}

.propCard:hover .propBtn { background: var(--lime); color: var(--lime-ink); }

.secFoot { text-align: center; margin-top: 40px; }

/* ==========================================================================
   SPLIT (things to do)
   ========================================================================== */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 52px;
	align-items: center;
}

.split h2 { text-align: left; }
.split p { color: var(--ink-soft); }
.splitMedia img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }

.placeList { list-style: none; padding: 0; margin: 22px 0 28px; }

.placeList li {
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: 12px;
	align-items: baseline;
}

.placeList li i { color: var(--lime-dark); font-size: .8rem; }
.placeList strong { color: var(--green-deep); }
.placeList span { color: var(--ink-soft); font-size: .92rem; }

/* ==========================================================================
   STATS BAND
   ========================================================================== */

.statsBand { background: var(--charcoal); color: var(--white); padding: 58px 0; }

.statsGrid {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, 1fr);
	gap: 34px;
	align-items: center;
}

.statsPitch {
	background: var(--green-deep);
	border-radius: var(--radius);
	padding: 26px;
}

.statsPitch h3 { margin: 0 0 10px; font-size: 1.2rem; color: var(--lime); }
.statsPitch p { margin: 0 0 18px; font-size: .9rem; color: rgba(255,255,255,.78); }

.stat strong {
	display: block;
	font-family: 'Rum Raisin', 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 2.9rem;
	line-height: 1;
	color: var(--lime);
	margin-bottom: 8px;
}

.stat span { color: rgba(255,255,255,.8); font-size: .92rem; }

/* ==========================================================================
   DESTINATIONS
   ========================================================================== */

.destGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
}

.destCard {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 22px;
	box-shadow: var(--shadow);
	transition: transform .2s ease, border-color .2s ease;
}

.destCard:hover { transform: translateY(-3px); border-color: var(--lime); }
.destCard strong { display: block; color: var(--green-deep); font-size: 1.05rem; margin-bottom: 4px; }
.destCard span { color: var(--ink-soft); font-size: .85rem; }
.destCard i { color: var(--lime-dark); margin-left: 6px; font-size: .78rem; }

/* ==========================================================================
   ABOUT
   ========================================================================== */

.aboutGrid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.aboutMedia img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.aboutCopy h2 { text-align: left; }
.aboutCopy p { color: var(--ink-soft); }

/* ==========================================================================
   REVIEWS
   ========================================================================== */

.revGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.revCard {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
}

.revStars { color: var(--lime-dark); margin-bottom: 14px; font-size: .9rem; }
.revCard p { margin: 0 0 18px; color: var(--ink); font-size: .95rem; }
.revWho { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.revWho strong { display: block; color: var(--green-deep); font-size: .92rem; }
.revWho span { color: var(--ink-soft); font-size: .82rem; }

/* ==========================================================================
   OWNER CTA BAND
   ========================================================================== */

.ownerBand {
	position: relative;
	background: var(--green-deep) url('/images/Alnwick-Accommodation.jpg') center / cover no-repeat;
	padding: 86px 0;
	color: var(--white);
	text-align: center;
}

.ownerBand::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(31,51,38,.80);
}

.ownerInner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }

.ownerBand h2 {
	font-family: 'Rum Raisin', 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 2.3rem;
	color: var(--white);
	margin: 0 0 16px;
	line-height: 1.2;
}

.ownerBand h2 em { font-style: normal; color: var(--lime); }
.ownerBand p { color: rgba(255,255,255,.88); margin: 0 0 28px; }

.ownerBtns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faqList { max-width: 860px; margin: 0 auto; }

.faqItem {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 12px;
	overflow: hidden;
}

.faqItem summary {
	padding: 19px 24px;
	font-weight: 700;
	color: var(--green-deep);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.faqItem summary::-webkit-details-marker { display: none; }

.faqItem summary::after {
	content: '\f078';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: .75rem;
	color: var(--lime-dark);
	transition: transform .2s ease;
}

.faqItem[open] summary::after { transform: rotate(180deg); }
.faqItem p { margin: 0; padding: 0 24px 22px; color: var(--ink-soft); font-size: .95rem; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.finalCta { background: var(--lime); padding: 66px 0; text-align: center; }

.finalCta h2 {
	color: var(--lime-ink);
	margin: 0 0 12px;
	font-family: 'Rum Raisin', 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 2.3rem;
}

.finalCta p { color: rgba(43,51,0,.78); margin: 0 0 26px; font-size: 1.05rem; }

.finalCta a.btnDark { background: var(--green-deep); color: var(--white); }
.finalCta a.btnDark:hover { background: var(--charcoal); color: var(--white); }

/* ==========================================================================
   TOP NAV - recoloured to match the homepage palette
   ========================================================================== */

.home .topNavContainer { background: var(--green-deep); }
.home .topNav a { color: rgba(255,255,255,.92); font-weight: 500; }
.home .topNav a:hover { color: var(--lime); text-decoration: none; }
/* The shared mobile logo is dark artwork on white, so the bar stays light */
.home .mobileBar { background: var(--white); border-bottom: 2px solid var(--lime); padding: 0 14px; }
.home .mobileBar a { color: var(--green-deep); font-weight: 600; }
.home .mobileBar .fa-bars,
.home .mobileBar .fa-times { color: var(--green-deep); }

/* The shared logo is 448px wide - cap it so it cannot overflow small screens */
.home .mobileLogo { flex: 0 1 auto; min-width: 0; }
.home .mobileBar img { width: auto; max-width: 150px; height: auto; max-height: 38px; }

/* Nothing on the homepage may push the page wider than the viewport */
.home { overflow-x: hidden; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media only screen and (max-width: 1080px) {
	.catGrid { grid-template-columns: repeat(3, 1fr); }
	.propGrid { grid-template-columns: repeat(2, 1fr); }
	.statsGrid { grid-template-columns: 1fr 1fr; }
	.searchGrid { grid-template-columns: 1fr 1fr 1fr; }
	.searchSubmit { width: 100%; }
	.searchAction { grid-column: 1 / -1; }
}

@media only screen and (max-width: 860px) {
	.sec { padding: 54px 0; }
	.sec h2 { font-size: 1.85rem; }
	.hero { min-height: 520px; padding: 70px 0 130px; }
	.hero h1 { font-size: 2.4rem; }
	.whyGrid,
	.split,
	.aboutGrid { grid-template-columns: 1fr; gap: 34px; }
	.split .splitMedia { order: -1; }
	.revGrid { grid-template-columns: 1fr; }
	.ownerBand h2, .finalCta h2 { font-size: 1.85rem; }
}

@media only screen and (max-width: 640px) {
	.wrap { padding: 0 16px; }
	.hero { padding: 56px 0 120px; }
	.hero h1 { font-size: 2rem; }
	.heroBrand { font-size: .72rem; letter-spacing: .14em; margin-bottom: 10px; }
	.heroSub { font-size: 1rem; }
	.heroLogo { width: 84px; height: 84px; border-radius: 18px; }
	.heroTrust { gap: 8px 18px; font-size: .82rem; }

	.searchPanel { margin-top: -66px; padding: 16px; border-radius: 16px; }
	.searchGrid { grid-template-columns: 1fr; gap: 10px; }

	.catGrid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.catCard { height: 150px; }

	.propGrid { grid-template-columns: 1fr; }
	.statsGrid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
	.statsPitch { text-align: left; }
	.stat strong { font-size: 2.4rem; }

	.destGrid { grid-template-columns: 1fr 1fr; }
	.destCard { padding: 15px; }
	.destCard strong { font-size: .95rem; }

	.ownerBtns { flex-direction: column; }
	.ownerBtns a { width: 100%; }
}

@media only screen and (max-width: 420px) {
	.catGrid { grid-template-columns: 1fr; }
	.destGrid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Homepage "find by name" search (autocomplete)
   Its own section further down the page, separate from the hero filter panel.
   ========================================================================== */

.nameSearchSec { padding-top: 0; }

.nameSearchPanel {
	max-width: 780px;
	margin: 0 auto;
	padding: 40px;
	text-align: center;
	background: var(--cream-warm);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.nameSearchIntro { margin-bottom: 26px; }

.nameSearchIntro h2 {
	font-family: 'Rum Raisin', 'Roboto', sans-serif;
	font-size: 2rem;
	line-height: 1.2;
	color: var(--green-deep);
	margin: 0 0 10px;
	font-weight: 400;
}

.nameSearchIntro p {
	color: var(--ink-soft);
	margin: 0 auto;
	max-width: 520px;
	font-size: 1.02rem;
}

/* The field itself */

.nameSearch { text-align: left; }

.nameSearch label {
	display: block;
	color: var(--ink-soft);
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 7px;
}

.nameSearchBox { position: relative; }

.nameSearchIcon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ink-soft);
	font-size: .95rem;
	pointer-events: none;
}

.nameSearchBox input {
	width: 100%;
	height: 54px;
	padding: 0 44px 0 42px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	color: var(--ink);
	font-size: 1rem;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.nameSearchBox input:focus {
	outline: none;
	border-color: var(--lime);
	box-shadow: 0 0 0 3px rgba(168, 201, 0, .25);
}

.nameSearchClear {
	position: absolute;
	right: 9px;
	top: 50%;
	transform: translateY(-50%);
	display: none;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink-soft);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.nameSearchClear:hover { background: var(--line); }

.nameSearchBox.hasText .nameSearchClear { display: block; }

/* The dropdown */

.nameSearchList {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 40;
	display: none;
	max-height: 320px;
	overflow-y: auto;
	margin: 0;
	padding: 6px;
	list-style: none;
	text-align: left;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow-lift);
	-webkit-overflow-scrolling: touch;
}

.nameSearchList.isOpen { display: block; }

.nameSearchList li {
	padding: 11px 13px;
	border-radius: 8px;
	cursor: pointer;
	line-height: 1.3;
}

.nameSearchList li:hover,
.nameSearchList li.isActive { background: var(--cream); }

.nameSearchList li[aria-disabled="true"] {
	color: var(--ink-soft);
	cursor: default;
	background: none;
}

.nameSearchName { display: block; font-weight: 600; color: var(--ink); }
.nameSearchName mark { background: none; color: var(--lime-dark); font-weight: 700; }
.nameSearchDetail { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: 2px; }

@media only screen and (max-width: 640px) {
	.nameSearchPanel { padding: 26px 18px; border-radius: 16px; }
	.nameSearchIntro h2 { font-size: 1.6rem; }
	.nameSearchIntro p { font-size: .95rem; }
	.nameSearchList { max-height: 60vh; }
	.nameSearchList li { padding: 12px; }
}


/* ==========================================================================
   Latest travel journal articles
   Lead story spans two rows on desktop; the rest sit in a 2x2 grid beside it.
   ========================================================================== */

.journalGrid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	grid-auto-rows: minmax(260px, auto);
	gap: 22px;
}

.journalCard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}

.journalCard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.journalMedia { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }

.home .journalMedia img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.journalCard:hover .journalMedia img { transform: scale(1.06); }

.journalBody { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }

.journalBody time {
	font-size: .78rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 8px;
}

.journalBody h3 {
	font-size: 1.12rem;
	line-height: 1.35;
	color: var(--green-deep);
	margin: 0 0 10px;
	font-weight: 700;
}

.journalBody p {
	font-size: .93rem;
	color: var(--ink-soft);
	margin: 0 0 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.journalMore {
	margin-top: auto;
	font-weight: 700;
	font-size: .9rem;
	color: var(--green-mid);
}

.journalMore i { margin-left: 6px; transition: transform .2s ease; }
.journalCard:hover .journalMore i { transform: translateX(4px); }

/* Lead story: full-bleed image with the text over a gradient */
.journalCard--lead { grid-row: span 2; min-height: 540px; }
.journalCard--lead .journalMedia { position: absolute; inset: 0; aspect-ratio: auto; }
.journalCard--lead .journalMedia::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 30, 22, 0) 35%, rgba(20, 30, 22, .88) 100%);
}
.journalCard--lead .journalBody { position: relative; justify-content: flex-end; padding: 30px; color: var(--white); }
.journalCard--lead .journalBody time { color: var(--lime); }
.journalCard--lead .journalBody h3 { color: var(--white); font-size: 1.7rem; font-family: 'Rum Raisin', 'Roboto', sans-serif; font-weight: 400; }
.journalCard--lead .journalBody p { color: rgba(255, 255, 255, .85); -webkit-line-clamp: 3; }
.journalCard--lead .journalMore { margin-top: 0; color: var(--lime); }

.journalCta { text-align: center; margin-top: 40px; }

@media only screen and (max-width: 1080px) {
	.journalGrid { grid-template-columns: 1fr 1fr; }
	.journalCard--lead { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
}

@media only screen and (max-width: 640px) {
	.journalGrid { grid-template-columns: 1fr; gap: 18px; }
	.journalCard--lead { min-height: 380px; }
	.journalCard--lead .journalBody { padding: 22px; }
	.journalCard--lead .journalBody h3 { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
	.journalCard, .journalMedia img, .journalMore i { transition: none; }
}
