/* Voyaren home.css v0.2.0 — front-page-only layout. Loaded only on
   is_front_page(); never touches other templates. */

/* Shared buttons */
.voyaren-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
}
.voyaren-btn--primary {
	background: #C1622D;
	color: #fff;
}
.voyaren-btn--primary:hover {
	background: #AD5325;
}
.voyaren-btn--quiet {
	background: transparent;
	color: #2F6F62;
	border: 2px solid #2F6F62;
	min-height: 44px;
	padding: calc(0.75rem - 2px) calc(1.5rem - 2px);
}
.voyaren-btn:focus-visible {
	outline: 3px solid #C1622D;
	outline-offset: 2px;
}

/* Hero */
.voyaren-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 3rem;
}
.voyaren-hero__heading {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2.25rem, 4vw, 3.75rem);
	line-height: 1.08;
	margin: 0 0 1rem;
	color: #1B2A2E;
}
.voyaren-hero__sub {
	font-size: 1.15rem;
	line-height: 1.5;
	color: #4a5a57;
	max-width: 46ch;
	margin: 0 0 1.75rem;
}
.voyaren-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.voyaren-hero__media img {
	width: 100%;
	height: 100%;
	max-height: 460px;
	object-fit: cover;
	border-radius: 14px;
	display: block;
}
@media (max-width: 900px) {
	.voyaren-hero {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}
	/* Text and the primary action stay first in the stack on mobile —
	   the photo follows rather than pushing the CTA down the page. */
	.voyaren-hero__media img {
		max-height: 280px;
	}
	.voyaren-hero__heading {
		font-size: clamp(2rem, 8vw, 2.5rem);
	}
	.voyaren-hero__sub {
		font-size: 1.05rem;
		max-width: none;
	}
}

/* Steps */
.voyaren-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}
@media (max-width: 781px) {
	.voyaren-steps {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}
.voyaren-step {
	display: block;
	text-decoration: none;
	color: inherit;
}
.voyaren-step__num {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	font-weight: 700;
	color: #C1622D;
	line-height: 1;
	margin-bottom: 0.5rem;
}
.voyaren-step h3 {
	margin: 0 0 0.4rem;
	font-size: 1.1rem;
}
.voyaren-step p {
	margin: 0;
	color: #4a5a57;
	font-size: 0.95rem;
	line-height: 1.5;
}
.voyaren-step:focus-visible {
	outline: 3px solid #C1622D;
	outline-offset: 4px;
	border-radius: 4px;
}

/* Destination intro — heading + one-line lead beside a compact map,
   instead of a tall, standalone map block with nothing next to it. */
.voyaren-dest-intro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 1rem;
}
.voyaren-dest-intro__copy {
	flex: 1 1 auto;
}
.voyaren-dest-intro__heading {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	margin: 0 0 0.4rem;
	color: #1B2A2E;
}
.voyaren-dest-intro__lead {
	margin: 0;
	color: #4a5a57;
	font-size: 1rem;
}
.voyaren-hero-map {
	flex: 0 0 auto;
	width: 150px;
}
.voyaren-hero-map svg {
	width: 100%;
	height: auto;
	display: block;
}
.voyaren-hero-map a:focus-visible circle {
	outline: 3px solid #14304f;
	outline-offset: 2px;
}
@media (max-width: 700px) {
	.voyaren-dest-intro {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1.25rem;
	}
	.voyaren-hero-map {
		width: 170px;
	}
}

.voyaren-dest-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
@media (max-width: 900px) {
	.voyaren-dest-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 560px) {
	.voyaren-dest-grid {
		grid-template-columns: 1fr;
	}
}
.voyaren-dest-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	background: #fff;
}
.voyaren-dest-card picture {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.voyaren-dest-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.voyaren-dest-card:focus-visible {
	outline: 3px solid #C1622D;
	outline-offset: 2px;
}
.voyaren-dest-card__body {
	padding: 1rem 1.1rem 1.2rem;
}
.voyaren-dest-card__body h3 {
	font-size: 1.1rem;
	margin: 0 0 0.35rem;
	line-height: 1.25;
}
.voyaren-dest-card__body p {
	margin: 0;
	font-size: 0.92rem;
	color: #4a5a57;
	line-height: 1.45;
}
.voyaren-dest-credits {
	font-size: 0.8rem;
	color: #6b6157;
	margin-top: 1.25rem;
}
.voyaren-dest-credits a {
	color: #6b6157;
	text-decoration: underline;
}

/* Featured tool cards (homepage only — the full /tools/ directory has
   its own grid, unaffected by this) */
.voyaren-featured-tools {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 2rem;
}
@media (max-width: 1024px) {
	.voyaren-featured-tools {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 560px) {
	.voyaren-featured-tools {
		grid-template-columns: 1fr;
	}
}
.voyaren-tool-card {
	display: block;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	padding: 1.4rem 1.25rem;
	text-decoration: none;
	color: inherit;
	background: #fff;
}
.voyaren-tool-card:hover {
	border-color: #C1622D;
}
.voyaren-tool-card:focus-visible {
	outline: 3px solid #C1622D;
	outline-offset: 2px;
}
.voyaren-tool-card h3 {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
}
.voyaren-tool-card p {
	margin: 0 0 0.75rem;
	color: #4a5a57;
	font-size: 0.93rem;
	line-height: 1.5;
}
.voyaren-tool-card__cta {
	font-size: 0.9rem;
	font-weight: 700;
	color: #C1622D;
}

.voyaren-section-link {
	text-align: center;
	margin-top: 2rem;
}
.voyaren-section-link a {
	font-weight: 700;
	color: #C1622D;
	text-decoration: none;
	font-size: 0.98rem;
}
.voyaren-section-link a:hover,
.voyaren-section-link a:focus-visible {
	text-decoration: underline;
}

/* Guide cards — text-only by design (see functions.php note): no
   guide page has a featured image yet, so this is a deliberate card
   style rather than an empty image slot. */
.voyaren-guides-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
@media (max-width: 900px) {
	.voyaren-guides-grid {
		grid-template-columns: 1fr;
	}
}
.voyaren-guide-card {
	position: relative;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	background: #fff;
	padding: 1.4rem 1.25rem;
}
.voyaren-guide-card:hover {
	border-color: #C1622D;
}
.voyaren-guide-card__kicker {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-size: 0.72rem;
	font-weight: 700;
	color: #2F6F62;
	margin-bottom: 0.6rem;
}
.voyaren-guide-card h3 {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}
.voyaren-guide-card__link {
	color: inherit;
	text-decoration: none;
}
/* Stretched-link: the title <a> is the real, accessible link; this
   extends its click/tap target over the whole card without wrapping
   the card's block content in <a> (see functions.php for why). */
.voyaren-guide-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}
.voyaren-guide-card__link:focus-visible::after {
	outline: 3px solid #C1622D;
	outline-offset: 2px;
	border-radius: 10px;
}
.voyaren-guide-card p {
	margin: 0 0 0.75rem;
	font-size: 0.93rem;
	color: #4a5a57;
	line-height: 1.5;
}
.voyaren-guide-card__cta {
	position: relative;
	font-size: 0.9rem;
	font-weight: 700;
	color: #C1622D;
}

/* Final CTA */
.voyaren-final-cta {
	text-align: center;
	max-width: 560px;
	margin: 0 auto 2.5rem;
}
.voyaren-final-cta h2 {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	margin: 0 0 0.75rem;
	color: #1B2A2E;
}
.voyaren-final-cta p {
	margin: 0 0 1.5rem;
	color: #4a5a57;
	font-size: 1.02rem;
	line-height: 1.5;
}

.voyaren-trust-band {
	text-align: center;
	font-size: 0.95rem;
	color: #6b6157;
	max-width: 640px;
	margin: 0 auto;
}
