/* Homepage, ported from the approved prototype (SiteHome). */
.pf-home { display: flex; flex-direction: column; gap: 56px; }
.pf-home > * { margin-block: 0; }
.pf-home a { color: inherit; text-decoration: none; }
.pf-home a:hover { color: var(--wp--preset--color--red-earth); }
.pf-home img { display: block; background: #C9C1AE; }
.pf-home h1, .pf-home h2, .pf-home h3, .pf-home p { margin: 0; }
.pf-serif { font-family: var(--wp--preset--font-family--serif); }
.pf-link { padding: 13px 0; font-size: 15px; font-weight: 600; text-decoration: underline !important; }
.pf-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--red-earth); }
.pf-section { display: flex; flex-direction: column; gap: 24px; }
.pf-section__head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; }
.pf-section__head h2 { font-size: 32px; letter-spacing: 0.03em; line-height: 1.1; }

/* Hero: full-width photograph, then the introduction */
.pf-hero-media { margin-block: 0; }
.pf-hero-media .pf-hero__img { display: block; width: 100%; height: clamp(320px, 48vw, 680px); object-fit: cover; object-position: 50% 58%; background: #C9C1AE; }
.home main.wp-block-group > .pf-home { margin-top: 28px; }
.pf-hero { display: flex; flex-direction: column; gap: 18px; }
.pf-hero__top { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; }
.pf-hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--red-earth); }
.pf-hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pf-hero__caption { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--grey); }
.pf-hero h1 { font-size: clamp(46px, 7vw, 96px); line-height: 0.9; }
@media (min-width: 600px) { .pf-hero__line { display: block; } }
.pf-point { color: var(--wp--preset--color--ochre); }
.pf-hero__body { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: flex-end; justify-content: space-between; margin-top: 10px; }
.pf-hero__lead { flex: 1 1 420px; max-width: 660px; font-family: var(--wp--preset--font-family--serif); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; }
.pf-hero__actions { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.pf-home .pf-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 26px; border-radius: 24px; border: 1px solid var(--wp--preset--color--gum-green); background: var(--wp--preset--color--gum-green); color: var(--wp--preset--color--paperbark); font-size: 15px; font-weight: 600; white-space: nowrap; }
.pf-home .pf-btn:hover { background: var(--wp--preset--color--charcoal); border-color: var(--wp--preset--color--charcoal); color: var(--wp--preset--color--paperbark); }
.pf-home .pf-btn--line { background: transparent; color: var(--wp--preset--color--gum-green); }
.pf-home .pf-btn--line:hover { background: var(--wp--preset--color--gum-green); border-color: var(--wp--preset--color--gum-green); color: var(--wp--preset--color--paperbark); }
@media (max-width: 599px) {
	.pf-hero__actions { width: 100%; }
	.pf-home .pf-hero__actions .pf-btn { flex: 1 1 100%; justify-content: center; height: 52px; font-size: 16px; }
}

/* Explore by state */
.pf-explore { background: var(--wp--preset--color--paperbark); display: flex; flex-wrap: wrap; gap: 32px 56px; padding: clamp(20px, 4vw, 48px); }
.pf-explore__pick { flex: 1 1 300px; max-width: 460px; display: flex; flex-direction: column; gap: 18px; }
.pf-road { display: flex; align-items: center; gap: 8px; }
.pf-road span { width: 24px; height: 5px; background: var(--wp--preset--color--gum-green); }
.pf-road span:last-child { width: 11px; height: 11px; border-radius: 50%; background: var(--wp--preset--color--ochre); }
.pf-explore h2 { font-size: clamp(36px, 4.2vw, 54px); line-height: 0.95; }
.pf-explore__hint { font-family: var(--wp--preset--font-family--serif); font-size: 18px; line-height: 1.45; }
.pf-states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pf-state { min-height: 76px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-family: inherit; text-align: left; background: #fff; color: var(--wp--preset--color--gum-green); border: 1px solid var(--wp--preset--color--gum-green); }
.pf-state.is-empty { background: var(--wp--preset--color--paperbark); color: var(--wp--preset--color--grey); border-color: #CFC7B6; }
.pf-state[aria-pressed="true"] { background: var(--wp--preset--color--gum-green); color: var(--wp--preset--color--paperbark); border-color: var(--wp--preset--color--gum-green); }
.pf-state__code { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 28px; line-height: 1; }
.pf-state__count { font-size: 12px; font-weight: 500; }
.pf-explore__list { flex: 1.4 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pf-explore__count { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--red-earth); }
.pf-explore h3 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 52px); line-height: 0.95; letter-spacing: 0.01em; }
.pf-home a.pf-route { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--wp--preset--color--gum-green); color: var(--wp--preset--color--charcoal); }
.pf-route__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pf-route__name { font-family: var(--wp--preset--font-family--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.pf-route__meta { font-size: 15px; color: var(--wp--preset--color--grey); }
.pf-route__mark { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; }
.pf-route__mark span { width: 12px; height: 3px; background: var(--wp--preset--color--gum-green); }
.pf-route__mark span:last-child { width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--ochre); }
.pf-explore__none { padding: 16px 0; border-top: 1px solid var(--wp--preset--color--gum-green); font-family: var(--wp--preset--font-family--serif); font-size: 20px; line-height: 1.45; }

/* Featured road trips */
.pf-trips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 36px 32px; }
.pf-home a.pf-trip { display: flex; flex-direction: column; gap: 12px; color: var(--wp--preset--color--charcoal); }
.pf-trip img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pf-trip__name { font-family: var(--wp--preset--font-family--serif); font-weight: 500; font-size: 28px; line-height: 1.12; }
.pf-trip__route { font-size: 15px; color: var(--wp--preset--color--grey); }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--wp--preset--color--gum-green); }
.pf-chips span { padding: 6px 12px; border: 1px solid var(--wp--preset--color--gum-green); border-radius: 16px; }

/* Advertisement slot */
.pf-ad { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; }
.pf-ad__label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--grey); }
.pf-ad__box { width: 100%; max-width: 728px; height: 90px; box-sizing: border-box; border: 1px dashed var(--wp--preset--color--grey); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--wp--preset--color--grey); text-align: center; padding: 0 12px; }

/* Latest guides */
.pf-guides { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.pf-home a.pf-guide-lead { flex: 1.5 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; color: var(--wp--preset--color--charcoal); }
.pf-guide-lead img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.pf-guide-lead__name { font-family: var(--wp--preset--font-family--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; }
.pf-guide-lead__text { font-family: var(--wp--preset--font-family--serif); font-size: 19px; line-height: 1.45; }
.pf-guide-list { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; }
.pf-home a.pf-guide { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-top: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--charcoal); }
.pf-home a.pf-guide:first-child { border-top-color: var(--wp--preset--color--charcoal); }
.pf-guide__name { font-family: var(--wp--preset--font-family--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }

/* Newsletter */
.pf-news { background: var(--wp--preset--color--gum-green); color: var(--wp--preset--color--paperbark); display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; justify-content: space-between; padding: clamp(24px, 4vw, 48px); }
.pf-news__text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.pf-news h2 { color: inherit; font-size: clamp(34px, 3.8vw, 48px); line-height: 0.95; }
.pf-news__lead { font-family: var(--wp--preset--font-family--serif); font-size: 19px; line-height: 1.45; }
.pf-news form { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.pf-news label { font-size: 14px; font-weight: 600; }
.pf-news__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-news input { flex: 1 1 200px; min-width: 0; height: 50px; box-sizing: border-box; padding: 0 16px; border: 1px solid var(--wp--preset--color--paperbark); border-radius: 25px; background: transparent; color: var(--wp--preset--color--paperbark); font-family: inherit; font-size: 16px; }
.pf-news button { height: 50px; padding: 0 24px; border: 0; border-radius: 25px; background: var(--wp--preset--color--paperbark); color: var(--wp--preset--color--gum-green); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }

/* About */
.pf-about { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.pf-about img { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.pf-about__text { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pf-about__lead { font-family: var(--wp--preset--font-family--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.3; max-width: 720px; }
.pf-about__links { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* The header already ends in a rule; the hero sits one gap (56px) below it. */
.home main.wp-block-group { margin-top: 0; }
