/* ==========================================================================
   Alnwick Accommodation - Shared site theme
   Loaded on every page AFTER main.css so it overrides the old look.
   Palette and components match the homepage (home.css).
   ========================================================================== */

: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);
}

body {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--ink);
	background: var(--white);
}

/* ==========================================================================
   TOP NAV
   ========================================================================== */

.topNavContainer { background: var(--green-deep); }

.topNav a,
.destinationsLink,
.guidesLink { color: rgba(255,255,255,.92); font-weight: 500; }

.topNav a:hover { color: var(--lime); text-decoration: none; }

/* Mobile bar - the shared logo is dark artwork on white, so keep it light */
.mobileBar { background: var(--white); border-bottom: 2px solid var(--lime); padding: 0 14px; }
.mobileBar a, a.mobileHomeLink, a.mobileHomeLink:hover { color: var(--green-deep); font-weight: 600; }
.mobileBar .fa-bars, .mobileBar .fa-times { color: var(--green-deep); }

/* Cap the logo so it cannot overflow narrow screens */
.mobileLogo { flex: 0 1 auto; min-width: 0; }
.mobileBar img { width: auto; max-width: 150px; height: auto; max-height: 38px; }

/* ==========================================================================
   HERO / PAGE HEADER  (header.php)
   ========================================================================== */

.bigHeader,
.availabilityHeaderContainer {
	background: var(--green-deep);
	background-image: linear-gradient(rgba(31,51,38,.78), rgba(31,51,38,.86)), url('/images/cottage-hero.jpg');
	background-size: cover;
	background-position: center 45%;
}

.availabilityHeaderContainerInner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px;
	text-align: center;
}

.innerLogo { margin-bottom: 16px; }

.innerLogo img {
	max-width: 88px;
	height: auto;
	margin: 0 auto;
	display: block;
}

.heroText { color: var(--white); }

.heroTitle,
.heroSubtitle {
	font-family: 'Rum Raisin', 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 2.6rem;
	line-height: 1.1;
	display: inline-block;
	margin: 0 6px;
	text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.heroSubtitle { color: var(--lime); }

.heroDivider {
	width: 70px;
	height: 3px;
	background: var(--lime);
	margin: 16px auto;
	border-radius: 2px;
}

.heroTagline {
	color: rgba(255,255,255,.9);
	font-size: 1.02rem;
	max-width: 640px;
	margin: 0 auto;
}

/* ==========================================================================
   HEADINGS AND LINKS
   ========================================================================== */

h1, h2, h3 { color: var(--green-deep); }

h1.showLodgesHeader,
h2.showLodgesHeader {
	font-family: 'Rum Raisin', 'Roboto', sans-serif;
	font-weight: 400;
	color: var(--green-deep);
	/* showParks.css sets 50px, which is oversized for the banner */
	font-size: 2.1rem;
	line-height: 1.2;
}

@media only screen and (max-width: 860px) {
	h1.showLodgesHeader,
	h2.showLodgesHeader { font-size: 1.7rem; }
}

@media only screen and (max-width: 600px) {
	h1.showLodgesHeader,
	h2.showLodgesHeader { font-size: 1.35rem; }
}

a { color: var(--green-mid); }
a:hover { color: var(--lime-dark); }

/* ==========================================================================
   BUTTONS - repoint the old accent colours at the new palette
   ========================================================================== */

.btn,
button.button,
input[type=submit].button,
#mc_embed_signup .button {
	background: var(--lime);
	color: var(--lime-ink);
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	cursor: pointer;
}

.btn:hover,
button.button:hover,
input[type=submit].button:hover,
#mc_embed_signup .button:hover { background: var(--lime-dark); color: var(--lime-ink); }

/* ==========================================================================
   SIDEBAR PANELS  (destinations, collections, popular cottages)
   ========================================================================== */

.destinationsHeader {
	background: var(--green-deep);
	color: var(--white);
	font-weight: 700;
	padding: 13px 18px;
	border-radius: var(--radius) var(--radius) 0 0;
	margin-top: 22px;
}

.destinationsPanel {
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 0;
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow);
	margin-bottom: 8px;
}

.destinationsUL { list-style: none; margin: 0; padding: 6px 0; }

.destinationsUL li { border-bottom: 1px solid var(--line); }
.destinationsUL li:last-child { border-bottom: 0; }

.destinationsUL li a {
	display: block;
	padding: 10px 18px;
	color: var(--ink);
	font-size: .92rem;
}

.destinationsUL li a:hover { background: var(--cream); color: var(--green-deep); }
.destinationsUL li.activeDestination a { color: var(--lime-dark); font-weight: 700; }

/* ==========================================================================
   OVERRIDES FOR new.css  (the old lavender/purple theme)
   new.css loads on every page and uses !important on its buttons, so these
   rules repoint the same selectors at the new palette.
   ========================================================================== */

/* Section header bars */
h1.showLodgesHeader,
h2.newHeader,
h4.newHeader,
.a3AccommName,
.attractionsTitle {
	background: var(--green-deep);
	color: var(--white);
	border-radius: var(--radius);
}

h2.foundNum { color: var(--green-deep); }

/* Breadcrumbs */
.breadcrumbsContainer { background: var(--cream); }

.breadcrumbs li a,
.breadcrumbs li div {
	background: var(--cream);
	color: var(--ink);
}

.breadcrumbs li a::after,
.breadcrumbs li div::after { border-left-color: var(--cream); }

.breadcrumbs li a:hover { background: var(--lime); color: var(--lime-ink); }
.breadcrumbs li a:hover::after { border-left-color: var(--lime) !important; }

/* Left-hand panel headers */
.refineHeader,
.destinationsHeader,
.listPropertyContainer,
.leftMenuHeader {
	background: var(--green-deep);
	color: var(--white);
}

/* Primary action buttons - new.css sets these with !important */
.viewButton,
.moreInfoButton,
.viewAccomsButtonDesktop,
.viewAccomsButtonMobile,
.newButton,
.carousel-view-button,
.mobAvailButt {
	background: var(--lime) !important;
	background-color: var(--lime) !important;
	color: var(--lime-ink) !important;
	border-radius: 999px;
	font-weight: 700;
	box-shadow: var(--shadow);
}

.viewButton:hover,
.moreInfoButton:hover,
.viewAccomsButtonDesktop:hover,
.viewAccomsButtonMobile:hover,
.newButton:hover,
.carousel-view-button:hover {
	background: var(--lime-dark) !important;
	background-color: var(--lime-dark) !important;
	color: var(--lime-ink) !important;
}

/* Rating badge */
.reevooScore { background: var(--green-deep); color: var(--white); border-radius: 8px; }

/* Info icons under the property title */
.infoText { color: var(--ink-soft); }
.infoText i,
.infoTextContainer i { color: var(--lime-dark) !important; }

/* new.css restyles the hero with its own font and gradient - undo that */
.availabilityHeaderContainer {
	background:
		linear-gradient(rgba(31,51,38,.78), rgba(31,51,38,.86)),
		url('/images/cottage-hero.jpg');
	background-size: cover;
	background-position: center 45%;
	padding-top: 0;
}

.heroTitle,
.heroSubtitle {
	font-family: 'Rum Raisin', 'Roboto', sans-serif !important;
	text-transform: none;
	animation: none;
	margin: 0 6px;
	letter-spacing: 0;
	font-weight: 400;
}

.heroTitle { font-size: 2.6rem; }
.heroSubtitle { font-size: 2.6rem; color: var(--lime) !important; }

.heroDivider { background: var(--lime); animation: none; }
.heroTagline { animation: none; }

.innerLogo img { max-width: 88px; }

/* ==========================================================================
   CONTENT PAGES  (about, site map, list your property, policies)
   about.css no longer exists, so these shared containers are styled here.
   ========================================================================== */

.fullWidthContainer {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.heroSection {
	background: var(--green-deep);
	background-image: linear-gradient(rgba(31,51,38,.82), rgba(31,51,38,.88)), url('/images/cottage-hero.jpg');
	background-size: cover;
	background-position: center 45%;
	color: var(--white) !important;
	padding: 56px 34px;
	text-align: center;
	margin: 28px 0 0;
	border-radius: var(--radius-lg);
	box-shadow: none;
}

.heroSection h1,
.heroSection p { color: var(--white) !important; text-shadow: none !important; }

.heroSection h1 {
	font-family: 'Rum Raisin', 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 2.4rem;
	margin: 0 0 12px;
	letter-spacing: 0;
}

.heroSection p { font-size: 1.05rem; margin: 0; opacity: .92; line-height: 1.6; }

.contentArea {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 36px 40px;
	margin: 24px 0 40px;
	box-shadow: var(--shadow);
	line-height: 1.7;
}

.contentArea h2 {
	font-family: 'Rum Raisin', 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 1.7rem;
	color: var(--green-deep);
	margin: 34px 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--lime);
}

.contentArea h2:first-child { margin-top: 0; }
.contentArea h3 { font-size: 1.12rem; color: var(--green-deep); margin: 0 0 8px; }
.contentArea p { color: var(--ink); margin: 0 0 15px; }

/* Icon feature blocks on the about page */

.valueSection {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin: 24px 0 10px;
}

.valueItem {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}

.valueItem i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--lime);
	color: var(--lime-ink);
	border-radius: 11px;
	font-size: 1.05rem;
	margin-bottom: 14px;
}

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

/* Site map grid */

.sitemapGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
	margin-top: 26px;
}

.sitemapSection {
	background: var(--cream);
	border: 1px solid var(--line);
	border-left: 4px solid var(--lime);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: none;
}

.sitemapSection h2 {
	color: var(--green-deep);
	font-size: 1.22rem;
	margin: 0 0 16px;
	border: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.sitemapList { list-style: none; padding: 0; margin: 0; }
.sitemapList li { margin-bottom: 10px; }
.sitemapList a { color: var(--ink); display: block; padding: 4px 0; }
.sitemapList a:hover { color: var(--lime-dark); padding-left: 5px; }

.sectionDescription { color: var(--ink-soft); font-size: .93rem; margin-bottom: 14px; }

.backToTop { background: var(--green-deep) !important; color: var(--white) !important; }

@media only screen and (max-width: 600px) {
	.contentArea { padding: 24px 20px; }
	.heroSection { padding: 38px 20px; border-radius: var(--radius); }
	.heroSection h1 { font-size: 1.75rem; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

/* Scope to div.footer: footer.php also uses <ul class='footer'> INSIDE this
   block, and an unscoped .footer rule gives that list its own dark panel. */
div.footer {
	background: var(--charcoal) !important;
	color: rgba(255,255,255,.78);
	padding: 56px 0 40px;
	margin-top: 0;
	font-size: .93rem;
}

div.footer .footerInner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	align-items: start;
	flex-direction: unset;
	justify-content: normal;
}

/* main.css sets width:25% and margin:20px on these - clear both for the grid */
div.footer .footerItem {
	width: auto !important;
	margin: 0 !important;
	min-width: 0;
	color: rgba(255,255,255,.78);
	line-height: 1.6;
}

div.footer .footerHeader {
	color: var(--white);
	font-weight: 700;
	font-size: 1.02rem;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--lime);
	display: block;
	width: fit-content;
}

/* The inner list must not inherit the dark panel, padding or borders */
ul.footer,
div.footer ul.footer,
div.footer ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	width: auto !important;
	font-size: inherit;
}

.footer li {
	margin-bottom: 9px;
	background: none;
	padding: 0;
	border: 0;
	list-style: none;
}

a.footerLink,
.footer a.footerLink {
	color: rgba(255,255,255,.78);
	font-size: .9rem;
	line-height: 1.5;
	text-decoration: none;
	border-bottom: 0;
}

a.footerLink:hover,
.footer a.footerLink:hover { color: var(--lime); text-decoration: none; }

.footer i { color: var(--lime); margin-right: 6px; }

.footerSocials { display: flex; gap: 14px; margin-top: 6px; }

.footerSocials a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
}

.footerSocials a:hover { background: var(--lime); color: var(--lime-ink); }
.footerSocials i { margin: 0; color: inherit; }

/* Newsletter signup inside the footer */

#mc_embed_signup { background: none; margin-top: 14px; }
#mc_embed_signup form { padding: 0; margin: 0; }

#mc_embed_signup label {
	display: block;
	color: rgba(255,255,255,.72);
	font-size: .8rem;
	margin-bottom: 8px;
	font-weight: 500;
}

#mc_embed_signup input.email {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 10px;
	background: rgba(255,255,255,.96);
	color: var(--ink);
	font-family: inherit;
	font-size: .93rem;
	margin: 0 0 10px;
}

#mc_embed_signup .button {
	width: 100%;
	height: 46px;
	border-radius: 999px;
	background: var(--lime);
	color: var(--lime-ink);
	font-weight: 700;
	font-size: .93rem;
	font-family: inherit;
	border: 0;
	margin: 0;
	cursor: pointer;
}

#mc_embed_signup .button:hover { background: var(--lime-dark); }
#mc_embed_signup .clear { clear: none; }

/* Copyright and address strip */

/* main.css sets a teal background and 40px vertical margins here */
.copyright {
	background: var(--green-deep) !important;
	color: rgba(255,255,255,.72);
	text-align: center;
	padding: 18px 24px 8px;
	font-size: .86rem;
	margin: 0 !important;
	width: 100%;
	box-sizing: border-box;
}

.copyright a { color: var(--lime); }
.copyright a:hover { color: var(--white); }

body > center {
	background: var(--green-deep);
	display: block;
	padding: 0 24px 20px;
	margin: 0;
}

body > center address {
	color: rgba(255,255,255,.6);
	font-size: .82rem;
	font-style: normal;
	font-weight: 400;
}

body > center address strong { font-weight: 400; }

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

@media only screen and (max-width: 900px) {

	.footerInner { grid-template-columns: 1fr 1fr; gap: 30px; }

	.heroTitle, .heroSubtitle { font-size: 2rem; }
	.availabilityHeaderContainerInner { padding: 34px 18px; }
}

@media only screen and (max-width: 600px) {

	.footer { padding: 40px 0 30px; }
	.footerInner { grid-template-columns: 1fr; gap: 28px; padding: 0 18px; }

	.innerLogo img { max-width: 82px; }
	.heroTitle, .heroSubtitle { font-size: 1.7rem; display: block; margin: 0; }
	.heroTagline { font-size: .95rem; }
}
