/*
Theme Name: TourAbuja
Theme URI: https://tourabuja.com
Author: TourAbuja
Description: A booking-first theme for guided tour operators. The homepage leads with your tours, backs them with your guide, your reviews and your writing, and turns every enquiry into a WhatsApp conversation. Works without photography and gets better once you add it.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tourabuja
Tags: blog, custom-menu, featured-images, translation-ready, two-columns, custom-logo
*/

/* ---------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------- */

:root {
	--ink: #14181b;
	--ink-2: #4a5459;
	--ink-3: #79868c;
	--page: #ffffff;
	--band: #f2f5f2;
	--card: #ffffff;

	--green: #14663c;
	--green-deep: #0e4a2b;
	--green-bright: #1f9257;
	--sun: #e8a021;
	--whatsapp: #25d366;
	--whatsapp-deep: #1da851;

	--line: rgba(20, 24, 27, 0.11);
	--line-2: rgba(20, 24, 27, 0.2);
	--on-dark: #e8efe9;
	--on-dark-soft: #a8bcae;

	/* Swap this one line to change every heading to a webfont later. */
	--font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--wrap: 1180px;
	--read: 42rem;
	--gap: 1.5rem;
	--r: 10px;
	--shadow: 0 1px 2px rgba(20, 24, 27, 0.05), 0 12px 28px -20px rgba(20, 24, 27, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-underline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

p, ul, ol, figure, blockquote, table { margin: 0 0 1.2em; }

blockquote {
	margin-inline: 0;
	border-left: 3px solid var(--green);
	padding-left: 1.2rem;
	color: var(--ink-2);
}

:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: var(--green); color: #fff; padding: 0.8rem 1.2rem; font-size: 0.9rem;
}

.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------
   2. Layout helpers
   --------------------------------------------------------------- */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.wrap-read { width: min(100% - 2.5rem, var(--read)); margin-inline: auto; }

.band { background: var(--band); }

.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }

.eyebrow {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--green);
	margin: 0 0 0.75rem;
}

.section-head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); max-width: 46rem; }

.section-title { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.5rem); margin: 0 0 0.5rem; }

.section-intro { color: var(--ink-2); margin: 0; font-size: 1.02rem; }

.section-head-row {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 1.5rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.section-head-row .section-head { margin-bottom: 0; }

@media (max-width: 700px) {
	.section-head-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

.grid { display: grid; gap: var(--gap); }

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

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

@media (max-width: 950px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   3. Buttons
   --------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
	font-family: var(--font-display);
	font-size: 0.95rem; font-weight: 600; letter-spacing: -0.005em;
	padding: 0.85rem 1.5rem;
	border: 2px solid var(--green); background: var(--green); color: #fff;
	border-radius: 999px; text-decoration: none; cursor: pointer;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }

.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn-on-dark { background: #fff; border-color: #fff; color: var(--green-deep); }

.btn-on-dark:hover { background: var(--sun); border-color: var(--sun); color: #2b1c00; }

.btn-wa { background: var(--whatsapp); border-color: var(--whatsapp); color: #05321a; }

.btn-wa:hover { background: var(--whatsapp-deep); border-color: var(--whatsapp-deep); color: #05321a; }

.btn-sm { font-size: 0.85rem; padding: 0.6rem 1.1rem; }

.wa-icon { width: 18px; height: 18px; flex: none; }

.text-link {
	font-weight: 600; font-size: 0.92rem; text-decoration: none;
	border-bottom: 2px solid var(--line-2); padding-bottom: 2px; white-space: nowrap;
	transition: border-color 0.16s ease, color 0.16s ease;
}

.text-link:hover { color: var(--green); border-color: var(--green); }

.text-link::after { content: " \2192"; }

/* ---------------------------------------------------------------
   4. Header
   --------------------------------------------------------------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--page); position: relative; z-index: 50; }

.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: 0.9rem 0; }

.site-brand { margin-right: auto; min-width: 0; }

.site-title { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.03em; margin: 0; line-height: 1.2; }

.site-title a { text-decoration: none; }

.site-tagline { font-size: 0.75rem; color: var(--ink-3); margin: 0.1rem 0 0; }

.custom-logo { max-height: 46px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }

.main-nav a {
	font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
	padding: 0.3rem 0; border-bottom: 2px solid transparent;
}

.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--ink); border-bottom-color: var(--green); }

.main-nav li { position: relative; }

.main-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; min-width: 12rem;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	padding: 0.4rem 0; flex-direction: column; gap: 0; box-shadow: var(--shadow);
}

.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }

.main-nav .sub-menu a { display: block; padding: 0.5rem 1rem; }

.header-cta { flex: none; }

.nav-toggle {
	display: none; align-items: center; gap: 0.45rem;
	background: none; border: 1px solid var(--line-2); border-radius: 999px;
	padding: 0.5rem 0.9rem; font-family: var(--font-display);
	font-size: 0.8rem; font-weight: 600; color: var(--ink); cursor: pointer;
}

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.header-inner { flex-wrap: wrap; }
	.main-nav { display: none; width: 100%; border-top: 1px solid var(--line); padding: 0.5rem 0 0.75rem; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav a { display: block; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
	.main-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding-left: 1rem; }
	.header-cta { display: none; }
}

/* ---------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------- */

.hero { background: var(--green); color: var(--on-dark); position: relative; overflow: hidden; }

.hero::before {
	content: ""; position: absolute; inset: 0;
	background: repeating-radial-gradient(circle at 78% 28%, transparent 0 22px, rgba(255, 255, 255, 0.07) 22px 24px);
	pointer-events: none;
}

.hero-inner { position: relative; padding: clamp(3.25rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.hero-title {
	font-size: clamp(2.3rem, 1.4rem + 4vw, 4.1rem);
	line-height: 1.03; letter-spacing: -0.035em; color: #fff; margin: 0 0 1.1rem;
}

.hero-sub { font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.2rem); color: var(--on-dark); max-width: 34rem; margin: 0 0 1.9rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 0; padding: 0; list-style: none; }

.hero-facts li {
	display: flex; align-items: center; gap: 0.5rem;
	font-size: 0.88rem; font-weight: 500; color: var(--on-dark-soft);
}

.hero-facts li::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); flex: none;
}

.hero-figure { margin: 0; }

.hero-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-figure { display: none; }
}

/* ---------------------------------------------------------------
   6. Image placeholder (topographic panel)
   --------------------------------------------------------------- */

.thumb, .thumb-fallback {
	display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden;
	background: var(--band); position: relative;
}

.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }

.card:hover .thumb img { transform: scale(1.04); }

.thumb-fallback { display: flex; align-items: flex-end; padding: 1rem; }

.thumb-fallback::before {
	content: ""; position: absolute; inset: 0;
	background: repeating-radial-gradient(circle at 72% 78%, transparent 0 16px, rgba(255, 255, 255, 0.16) 16px 18px);
}

.thumb-fallback .thumb-word {
	position: relative;
	font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85);
}

.tint-0 { background: #14663c; }
.tint-1 { background: #1a5a63; }
.tint-2 { background: #7a5a1e; }
.tint-3 { background: #3f4a52; }

/* ---------------------------------------------------------------
   7. Cards
   --------------------------------------------------------------- */

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

.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }

.card-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }

.card-kicker {
	font-size: 0.7rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
	color: var(--green); margin: 0 0 0.55rem; text-decoration: none;
}

a.card-kicker:hover { color: var(--ink); }

.card-title { font-size: 1.2rem; margin: 0 0 0.55rem; line-height: 1.22; }

.card-title a { text-decoration: none; }

.card-title a:hover { color: var(--green); }

.card-text { font-size: 0.95rem; color: var(--ink-2); margin: 0 0 1.1rem; line-height: 1.55; }

.card-foot { margin-top: auto; }

.card-meta { font-size: 0.8rem; color: var(--ink-3); }

/* Tour specifics */

.tour-facts {
	list-style: none; margin: 0 0 1.1rem; padding: 0.85rem 0 0; border-top: 1px solid var(--line);
	display: grid; gap: 0.4rem;
}

.tour-facts li { display: flex; gap: 0.5rem; font-size: 0.86rem; color: var(--ink-2); }

.tour-facts .label { color: var(--ink-3); min-width: 5.2rem; flex: none; }

.tour-price {
	font-family: var(--font-display); font-size: 1.02rem; font-weight: 700;
	color: var(--ink); margin: 0 0 0.9rem;
}

.tour-price .from { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); display: block; }

.card-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------------------------------------------------------------
   8. Guide block
   --------------------------------------------------------------- */

.guide { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }

.guide-portrait { margin: 0; }

.guide-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }

.guide-portrait .thumb-fallback { aspect-ratio: 4 / 5; border-radius: var(--r); }

.guide-name { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 0 0 0.3rem; }

.guide-role { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--green); margin: 0 0 1.1rem; }

.guide-bio { font-size: 1.05rem; color: var(--ink-2); }

.guide-bio p:last-child { margin-bottom: 0; }

@media (max-width: 780px) {
	.guide { grid-template-columns: 1fr; }
	.guide-portrait { max-width: 260px; }
}

/* ---------------------------------------------------------------
   9. Reviews
   --------------------------------------------------------------- */

.review {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	padding: 1.5rem; display: flex; flex-direction: column;
}

.review-stars { color: var(--sun); font-size: 0.95rem; letter-spacing: 0.12em; margin-bottom: 0.75rem; }

.review-text { font-size: 1rem; line-height: 1.6; margin: 0 0 1.2rem; }

.review-who { margin-top: auto; display: flex; align-items: center; gap: 0.7rem; }

.review-initials {
	width: 38px; height: 38px; border-radius: 50%; flex: none;
	background: var(--band); color: var(--green); font-weight: 700; font-size: 0.85rem;
	display: flex; align-items: center; justify-content: center;
}

.review-name { font-weight: 600; font-size: 0.93rem; margin: 0; line-height: 1.3; }

.review-from { font-size: 0.8rem; color: var(--ink-3); margin: 0; }

/* ---------------------------------------------------------------
   10. Steps
   --------------------------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }

.steps li { counter-increment: step; }

.steps li::before {
	content: counter(step);
	display: flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--green); color: #fff;
	font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
	margin-bottom: 0.85rem;
}

.steps h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }

.steps p { font-size: 0.93rem; color: var(--ink-2); margin: 0; }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

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

/* ---------------------------------------------------------------
   11. Booking block
   --------------------------------------------------------------- */

.booking { background: var(--green); color: var(--on-dark); position: relative; overflow: hidden; }

.booking::before {
	content: ""; position: absolute; inset: 0;
	background: repeating-radial-gradient(circle at 12% 82%, transparent 0 26px, rgba(255, 255, 255, 0.06) 26px 28px);
}

.booking-inner { position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.booking h2 { color: #fff; font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem); }

.booking-lede { color: var(--on-dark); font-size: 1.05rem; margin-bottom: 1.5rem; }

.booking-direct { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.booking-note { font-size: 0.85rem; color: var(--on-dark-soft); margin: 1.25rem 0 0; }

.booking-form {
	background: #fff; border-radius: var(--r); padding: clamp(1.25rem, 3vw, 1.9rem);
	display: grid; gap: 0.9rem; color: var(--ink);
}

.field { display: grid; gap: 0.35rem; }

.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.booking-form input, .booking-form select, .booking-form textarea {
	width: 100%; font-family: inherit; font-size: 0.95rem;
	padding: 0.7rem 0.8rem; border: 1px solid var(--line-2); border-radius: 8px;
	background: #fff; color: var(--ink);
}

.booking-form textarea { resize: vertical; min-height: 4.5rem; }

.booking-form .btn { width: 100%; }

.form-error { font-size: 0.85rem; color: #a3241a; margin: 0; display: none; }

.form-error.is-shown { display: block; }

@media (max-width: 860px) {
	.booking-inner { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
	.field-row { grid-template-columns: 1fr; }
}

/* Floating WhatsApp button */

.wa-float {
	position: fixed; right: 1rem; bottom: 1rem; z-index: 100;
	width: 54px; height: 54px; border-radius: 50%;
	background: var(--whatsapp); color: #05321a;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 20px rgba(20, 24, 27, 0.28);
	text-decoration: none;
}

.wa-float:hover { background: var(--whatsapp-deep); color: #05321a; }

.wa-float svg { width: 27px; height: 27px; }

@media (min-width: 901px) { .wa-float { right: 1.5rem; bottom: 1.5rem; } }

/* ---------------------------------------------------------------
   12. Single and archive
   --------------------------------------------------------------- */

.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.25rem); }

.page-head .entry-title, .page-head .archive-title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); margin: 0 0 0.6rem; }

.page-head .lede { color: var(--ink-2); font-size: 1.08rem; max-width: 42rem; margin: 0; }

.entry-meta { font-size: 0.85rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 0.75rem; }

.featured { margin: 0 0 2.25rem; }

.featured img { width: 100%; border-radius: var(--r); }

.featured .thumb-fallback { aspect-ratio: 16 / 7; border-radius: var(--r); }

.entry-content { font-size: 1.08rem; }

.entry-content h2 { font-size: 1.55rem; margin-top: 2em; }

.entry-content h3 { font-size: 1.25rem; margin-top: 1.7em; }

.entry-content ul, .entry-content ol { padding-left: 1.3rem; }

.entry-content li { margin-bottom: 0.35em; }

.entry-content a { color: var(--green); }

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

.alignwide { width: min(100vw - 2.5rem, var(--wrap)); max-width: none; margin-inline: auto; }

.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }

.alignleft { float: left; margin: 0.3rem 1.5rem 1rem 0; }

.alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; }

.aligncenter { margin-inline: auto; }

.wp-element-caption, .wp-caption-text { font-size: 0.82rem; color: var(--ink-3); text-align: center; margin-top: 0.5rem; }

/* Tour detail sidebar */

.tour-layout { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

.tour-aside {
	background: var(--band); border-radius: var(--r); padding: 1.5rem;
	position: sticky; top: 1.5rem;
}

.tour-aside h2 { font-size: 1.15rem; margin: 0 0 1rem; }

.tour-aside .tour-facts { border-top: 0; padding-top: 0; margin-bottom: 1.25rem; }

.tour-aside .btn { width: 100%; margin-bottom: 0.6rem; }

.includes { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.45rem; }

.includes li { display: flex; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-2); }

.includes li::before { content: "\2713"; color: var(--green); font-weight: 700; flex: none; }

@media (max-width: 900px) {
	.tour-layout { grid-template-columns: 1fr; }
	.tour-aside { position: static; }
}

/* Post-to-tour bridge */

.tour-bridge {
	border: 2px solid var(--green); border-radius: var(--r);
	padding: 1.5rem; margin: 2.5rem 0 0;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
}

.tour-bridge .eyebrow { margin-bottom: 0.4rem; }

.tour-bridge h2 { font-size: 1.25rem; margin: 0; }

.tour-bridge p { margin: 0.35rem 0 0; color: var(--ink-2); font-size: 0.95rem; }

/* Post navigation and pagination */

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }

.post-nav a { text-decoration: none; display: block; }

.post-nav .meta { display: block; font-size: 0.78rem; color: var(--ink-3); margin-bottom: 0.3rem; }

.post-nav .title { font-weight: 600; line-height: 1.3; }

.post-nav a:hover .title { color: var(--green); }

.post-nav .next { text-align: right; }

@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { text-align: left; } }

nav.pagination { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: 0.9rem; }

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

.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.4rem; height: 2.4rem; padding: 0 0.7rem;
	border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2);
}

.pagination .page-numbers:hover { border-color: var(--green); color: var(--green); }

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

/* Forms and comments */

input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="date"], input[type="number"], input[type="tel"], textarea, select {
	font-family: inherit; font-size: 0.95rem; padding: 0.7rem 0.8rem;
	border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); max-width: 100%;
}

input[type="submit"], button[type="submit"] {
	font-family: var(--font-display); font-size: 0.92rem; font-weight: 600;
	padding: 0.8rem 1.5rem; background: var(--green); color: #fff;
	border: 2px solid var(--green); border-radius: 999px; cursor: pointer;
}

.search-form { display: flex; gap: 0.5rem; max-width: 30rem; }

.search-form input[type="search"] { flex: 1; }

.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }

.comment-list { list-style: none; padding: 0; }

.comment-list li { margin-bottom: 1.5rem; }

.comment-body { border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }

.empty-note {
	grid-column: 1 / -1; border: 1px dashed var(--line-2); border-radius: var(--r);
	padding: 1.5rem; color: var(--ink-2); font-size: 0.95rem;
}

.empty-note p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------- */

.site-footer { background: var(--ink); color: #b4bfb8; padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem; font-size: 0.92rem; }

.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }

.footer-brand { max-width: 24rem; }

.footer-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0 0 0.5rem; }

.site-footer p { margin: 0 0 0.5rem; line-height: 1.6; }

.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }

.site-footer a { color: #d3ddd6; text-decoration: none; }

.site-footer a:hover { color: var(--sun); }

.footer-bottom {
	margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.8rem; color: #8b968f; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
}

/* ---------------------------------------------------------------
   14. Motion and print
   --------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.card:hover { transform: none; }
	.card:hover .thumb img { transform: none; }
	.btn:hover { transform: none; }
}

@media print {
	.site-header, .site-footer, .wa-float, .booking, .post-nav, .comments-area { display: none; }
	body { font-size: 12pt; }
}

/* ---------------------------------------------------------------
   Sample day — the hero's answer to having no photography
   --------------------------------------------------------------- */

.dayplan {
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius);
	padding: 1.6rem 1.5rem 1.4rem;
}

.dayplan-head {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin: 0 0 1.2rem;
	opacity: 0.8;
}

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

.dayplan-list li {
	display: grid;
	grid-template-columns: 3.4rem 1fr;
	gap: 0.9rem;
	padding: 0 0 1.05rem;
	position: relative;
}

.dayplan-list li:last-child { padding-bottom: 0; }

.dayplan-list li::before {
	content: "";
	position: absolute;
	left: 3.4rem;
	top: 0.6rem;
	bottom: -0.15rem;
	width: 1px;
	background: currentColor;
	opacity: 0.2;
	transform: translateX(-0.45rem);
}

.dayplan-list li:last-child::before { display: none; }

.dayplan-list li::after {
	content: "";
	position: absolute;
	left: 3.4rem;
	top: 0.45rem;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.7;
	transform: translateX(-0.75rem);
}

.dayplan-time { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; opacity: 0.85; }

.dayplan-stop { font-size: 0.95rem; line-height: 1.45; }

.dayplan-foot {
	margin: 1.2rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.8rem;
	opacity: 0.7;
}


/* Blog cards with no photograph read better as type than as a wall of
   placeholder blocks. They become image-led the moment a photo is added. */

.card-text-led { border-top: 3px solid var(--green); }

.card-text-led .card-body { padding-top: 1.5rem; }

.card-text-led .card-title { font-size: 1.22rem; }
