﻿/* ==========================================================================
   Inner pages — page head, breadcrumbs, blog, single, 404
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page head — a rounded photo card floating inside the page
   -------------------------------------------------------------------------- */
.pagehead {
	padding-block: 1.5rem;
	background: #fff;
}

.pagehead__card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	padding: 1.5rem;
	border-radius: 20px;
	background: var(--navy-900);
	overflow: hidden;
	text-align: center;
	color: #fff;
}

.pagehead__bg {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}

/*
 * Brand colour rises from the bottom and fades out before the top, so the
 * photo still reads. A flat dark wash over the whole card kills it.
 */
.pagehead__card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 20px;
	background: linear-gradient(to top, var(--navy) 0%, rgb(11 61 145 / 0%) 100%);
}

.pagehead__inner {
	position: relative;
	z-index: 2;
	width: min(100%, 900px);
	padding-block: 2.5rem 0.5rem;
}

.pagehead__title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 1.15rem + 2.6vw, 2.8rem);
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
}

@media (max-width: 767px) {
	.pagehead__card {
		min-height: 220px;
	}

	.pagehead__inner {
		padding-block: 1.25rem 0;
	}
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
/* Inside the page-head card the trail sits below the title, centred. */
.pagehead .crumbs ol {
	justify-content: center;
	font-size: 1rem;
}

.pagehead .crumbs,
.pagehead .crumbs a,
.pagehead .crumbs [aria-current] {
	color: #fff;
	font-weight: 400;
}

/* The chevron sits on the li, so it needs the colour too — without this it
   inherits body grey and vanishes against the navy. */
.pagehead .crumbs li + li::before {
	color: #fff;
	opacity: 1;
	margin-inline: 0.15rem;
}

.pagehead .crumbs a:hover {
	text-decoration: underline;
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-xs);
}

.crumbs li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.crumbs li + li::before {
	content: "›";
	opacity: 0.55;
}

.crumbs a {
	color: rgb(255 255 255 / 78%);
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--orange);
}

.crumbs [aria-current] {
	color: var(--orange);
	font-weight: 600;
}

/* On light backgrounds */
.crumbs--dark a {
	color: var(--muted);
}

.crumbs--dark [aria-current] {
	color: var(--navy);
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 2.5rem;
	align-items: start;
}

.blog-layout:not(:has(.blog-layout__side)) {
	grid-template-columns: 1fr;
}

@media (max-width: 991px) {
	.blog-layout {
		grid-template-columns: 1fr;
	}
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-bottom: 0.6rem;
	font-size: var(--fs-xs);
	color: var(--muted);
}

.post-card__meta .badge {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */
.entry {
	max-width: 75ch;
}

.entry > * + * {
	margin-top: 1.1em;
}

.entry h2 {
	margin-top: 2em;
}

.entry h3 {
	margin-top: 1.6em;
}

.entry img {
	border-radius: var(--radius-lg);
}

.entry blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--orange);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--light);
	font-size: 1.0625rem;
	font-style: italic;
	color: var(--ink);
}

.entry ul li::marker,
.entry ol li::marker {
	color: var(--orange);
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination {
	margin-top: 2.5rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 0.7rem;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	font-weight: 700;
	color: var(--navy);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Empty / 404
   -------------------------------------------------------------------------- */
.empty-state {
	max-width: 560px;
	margin-inline: auto;
	padding-block: 3rem;
	text-align: center;
}

.error404-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 1rem;
	margin-top: 2.5rem;
	text-align: left;
}

/* --------------------------------------------------------------------------
   Page head facts row
   -------------------------------------------------------------------------- */
.pagehead__facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.15rem;
	font-size: var(--fs-xs);
	font-weight: 700;
}

.pagehead__card--left .pagehead__facts {
	justify-content: flex-start;
}

.pagehead__facts span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.85rem;
	border: 1px solid rgb(255 255 255 / 24%);
	border-radius: var(--radius-pill);
	background: rgb(255 255 255 / 10%);
	backdrop-filter: blur(4px);
	color: #fff;
}

.pagehead__facts .icon {
	width: 14px;
	height: 14px;
	fill: var(--orange);
	flex: none;
}

/* --------------------------------------------------------------------------
   Content + sticky sidebar
   -------------------------------------------------------------------------- */
.arealayout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: clamp(1.5rem, 1rem + 2.5vw, 3rem);
	align-items: start;
}

.arealayout__main {
	max-width: none;
}

.arealayout__side {
	position: sticky;
	top: calc(var(--header-h) + 20px);
}

@media (max-width: 991px) {
	.arealayout {
		grid-template-columns: 1fr;
	}

	.arealayout__side {
		position: static;
	}
}

/* --------------------------------------------------------------------------
   Contact layout
   -------------------------------------------------------------------------- */
.contactlayout {
	display: grid;
	grid-template-columns: 440px minmax(0, 1fr);
	gap: clamp(1.5rem, 1rem + 2.5vw, 3rem);
	align-items: start;
}

.contactlayout__info {
	display: grid;
	gap: 1.25rem;
}

.contactmap {
	overflow: hidden;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
}

@media (max-width: 991px) {
	.contactlayout {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Payment page
   -------------------------------------------------------------------------- */
.paylayout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
}

.paycard {
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
}

.paycard h2 {
	margin-bottom: 1rem;
	font-size: var(--fs-h3);
}

.paycard--qr {
	text-align: center;
}

.paycard__qr {
	width: 220px;
	height: 220px;
	margin: 0 auto 1rem;
	border-radius: var(--radius);
	object-fit: contain;
}

.paycard__qrplaceholder {
	display: grid;
	place-items: center;
	gap: 0.4rem;
	width: 220px;
	height: 220px;
	margin: 0 auto 1rem;
	border: 2px dashed var(--line);
	border-radius: var(--radius-lg);
	background: var(--light);
	color: var(--muted);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.paycard__qrplaceholder .icon {
	width: 40px;
	height: 40px;
	fill: var(--line);
}

.paycard__qrplaceholder small {
	font-size: var(--fs-xs);
	font-weight: 400;
	max-width: 22ch;
	line-height: 1.4;
}

.paycard h3 {
	margin-bottom: 1.1rem;
	font-size: 1.15rem;
	color: var(--navy);
}

.paycard__hint {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--muted);
}

.paylist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.payrow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--line);
}

.payrow:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.payrow:first-child {
	padding-top: 0;
}

.payrow__label {
	grid-column: 1 / -1;
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.payrow__value {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--ink);
	word-break: break-word;
}

.payrow__copy {
	padding: 0.35rem 0.9rem;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-pill);
	background: #fff;
	font: inherit;
	font-size: var(--fs-xs);
	font-weight: 700;
	color: var(--navy);
	cursor: pointer;
	transition: background var(--t), border-color var(--t), color var(--t);
}

.payrow__copy:hover {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.payrow__copy.is-copied {
	background: var(--green);
	border-color: var(--green);
	color: #fff;
}

.paynote {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.75rem 0 0;
	padding: 1rem 1.25rem;
	border-radius: var(--radius-lg);
	background: var(--green-100);
	font-size: var(--fs-sm);
	color: var(--green-600);
	text-align: center;
}

.paynote .icon {
	width: 18px;
	height: 18px;
	fill: var(--green-600);
	flex: none;
}

.paynote a {
	font-weight: 700;
	color: var(--green-600);
	text-decoration: underline;
}

@media (max-width: 767px) {
	.paylayout {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Reviews page
   -------------------------------------------------------------------------- */
.reviewstats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: 1.75rem;
	padding: 1.35rem 1.5rem;
	border-radius: var(--radius-lg);
	background: #fff;
	border: 1px solid var(--line);
}

.reviewstats__score {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.reviewstats__score strong {
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
	color: var(--navy);
}

.reviewstats__score span {
	font-size: var(--fs-sm);
	color: var(--muted);
}

.reviewstats__note {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	max-width: 46ch;
	font-size: var(--fs-sm);
	color: var(--muted);
}

.reviewstats__note .icon {
	width: 18px;
	height: 18px;
	fill: var(--green);
	flex: none;
}

.reviewfilter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.5rem;
}

.reviewfilter__btn {
	padding: 0.45rem 1rem;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-pill);
	background: #fff;
	font: inherit;
	font-size: var(--fs-xs);
	font-weight: 700;
	color: var(--body);
	cursor: pointer;
	transition: background var(--t), border-color var(--t), color var(--t);
}

.reviewfilter__btn:hover,
.reviewfilter__btn.is-active {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.reviewgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 1.25rem;
}

.reviewgrid .reviewcard.is-hidden {
	display: none;
}


/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallerygrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 1.15rem;
}

.galleryitem {
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	transition: transform var(--t), box-shadow var(--t);
}

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

.galleryitem img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.galleryitem figcaption {
	padding: 0.75rem 1rem;
	font-size: var(--fs-xs);
	color: var(--muted);
}

/* --------------------------------------------------------------------------
   Rate table
   -------------------------------------------------------------------------- */
.ratebox {
	padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
}

.ratebox__title {
	margin-bottom: 0.4rem;
	font-size: var(--fs-h3);
}

.ratebox__sub {
	margin-bottom: 1.5rem;
	font-size: var(--fs-sm);
	color: var(--muted);
}

.ratebox__head {
	margin: 1.75rem 0 0.75rem;
	font-size: 1.0625rem;
	color: var(--navy);
}

.ratebox__head:first-of-type {
	margin-top: 0;
}

.ratebox__notes {
	margin: 1.5rem 0 0;
	padding: 1.1rem 1.25rem;
	border-radius: var(--radius);
	background: var(--light);
	list-style: none;
}

.ratebox__notes li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin-bottom: 0.5rem;
	font-size: var(--fs-sm);
}

.ratebox__notes li:last-child {
	margin-bottom: 0;
}

.ratebox__notes .icon {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	fill: var(--green);
	flex: none;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faqlist {
	display: grid;
	gap: 0.75rem;
}

.faqitem {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
	overflow: hidden;
	transition: border-color var(--t), box-shadow var(--t);
}

.faqitem[open] {
	border-color: transparent;
	box-shadow: var(--shadow);
}

.faqitem summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.05rem 1.25rem;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}

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

.faqitem summary:hover {
	color: var(--navy);
}

.faqitem__chev {
	width: 20px;
	height: 20px;
	fill: var(--orange);
	flex: none;
	transition: transform var(--t);
}

.faqitem[open] .faqitem__chev {
	transform: rotate(180deg);
}

.faqitem__body {
	padding: 0 1.25rem 1.2rem;
	font-size: var(--fs-sm);
	color: var(--body);
}

.faqitem__body > :last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Contact cards
   -------------------------------------------------------------------------- */
.contactcards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 1rem;
}

.contactcard {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1.15rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
	color: var(--body);
	transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

a.contactcard:hover {
	border-color: transparent;
	box-shadow: var(--shadow);
	transform: translateY(-3px);
	color: var(--body);
}

.contactcard .icon-tile {
	width: 46px;
	height: 46px;
	margin: 0;
	border-radius: 12px;
	flex: none;
}

.contactcard .icon-tile svg {
	width: 22px;
	height: 22px;
}

.contactcard strong {
	display: block;
	font-size: 0.9375rem;
	line-height: 1.3;
}

.contactcard em {
	font-size: var(--fs-xs);
	font-style: normal;
	color: var(--muted);
}

/* --------------------------------------------------------------------------
   Widgets
   -------------------------------------------------------------------------- */
.widget {
	margin-bottom: 1.75rem;
	padding: 1.35rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.widget__title {
	margin-bottom: 0.9rem;
	font-size: 1.0625rem;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding-block: 0.35rem;
	border-bottom: 1px solid var(--line);
	font-size: var(--fs-sm);
}

.widget li:last-child {
	border-bottom: 0;
}
