/* Travel Tips, its category pages and the article page.
   Everything here is filled in from WordPress Posts; see inc/articles.php. */

.pf-tips-page { margin-top: 0; padding-bottom: clamp(56px, 8vw, 112px); }
.pf-tips .pf-eyebrow, .pf-post .pf-eyebrow { font-family: var(--wp--preset--font-family--body); margin: 0; }

/* ---------- Landing: opening ---------- */
.pf-tips-page .pf-tips { margin-top: clamp(28px, 5vw, 64px); }
.pf-tips-open > * { margin: 0; }
.pf-tips-open .pf-eyebrow { display: flex; align-items: center; gap: 10px; }
.pf-tips-open .pf-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pf-tips-open h1 { margin-top: 14px; font-size: clamp(50px, 13vw, 128px); line-height: 0.88; letter-spacing: 0; }
.pf-tips-open__lead { margin-top: 20px !important; font-family: var(--wp--preset--font-family--serif); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.42; max-width: 600px; }

/* ---------- Featured article ---------- */
.pf-tips-feature { position: relative; margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr); background: var(--wp--preset--color--paperbark); }
.pf-tips-feature__media { display: block; overflow: hidden; background: #C9C1AE; }
.pf-tips-feature__media img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.5s ease; }
.pf-tips-feature:hover .pf-tips-feature__media img { transform: scale(1.02); }
.pf-tips-feature__body { box-sizing: border-box; padding: clamp(22px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.pf-tips-feature__body > * { margin: 0; }
.pf-tips-feature__title { margin-top: 12px !important; font-family: var(--wp--preset--font-family--serif); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; color: var(--wp--preset--color--charcoal); }
.pf-tips-feature__title a, .pf-tip-card__title a { color: inherit; text-decoration: none; }
.pf-tips-feature__title a::after, .pf-tip-card__title a::after { content: ""; position: absolute; inset: 0; }
.pf-tips-feature__lead { margin-top: 16px !important; font-family: var(--wp--preset--font-family--serif); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 480px; }
.pf-tips-feature .pf-tip-card__meta { margin-top: 16px !important; }
.pf-tips-feature__go { margin-top: 26px !important; }
.pf-tips-feature__go span { display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 25px; background: var(--wp--preset--color--gum-green); color: var(--wp--preset--color--paperbark); font: 600 16px var(--wp--preset--font-family--body); }
.pf-tips-feature:hover .pf-tips-feature__go span { background: var(--wp--preset--color--charcoal); }
@media (min-width: 900px) { .pf-tips-feature { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .pf-tips-feature__media { position: relative; min-height: 480px; } .pf-tips-feature__media img { position: absolute; inset: 0; aspect-ratio: auto; } }

/* ---------- Category filter ---------- */
.pf-tips-bar__label { margin: 0 0 10px; font-family: var(--wp--preset--font-family--body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--grey); }

/* ---------- Article cards ---------- */
.pf-tips-grid { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px 24px; }
@media (min-width: 640px) { .pf-tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pf-tips-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; } }
.pf-tip-card { position: relative; }
.pf-tip-card[hidden] { display: none; }
.pf-tip-card > * { margin: 0; }
.pf-tip-card__media { display: block; overflow: hidden; background: #C9C1AE; margin-bottom: 16px !important; }
.pf-tip-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.pf-tip-card:hover .pf-tip-card__media img { transform: scale(1.03); }
.pf-tip-card .pf-eyebrow { font-size: 12px; }
.pf-tip-card__title { margin-top: 8px !important; font-family: var(--wp--preset--font-family--serif); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: clamp(24px, 2.1vw, 28px); line-height: 1.16; color: var(--wp--preset--color--charcoal); }
.pf-tip-card:hover .pf-tip-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pf-tip-card__lead { margin-top: 10px !important; font-family: var(--wp--preset--font-family--serif); font-size: 17px; line-height: 1.5; color: var(--wp--preset--color--grey); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-tip-card__meta { margin-top: 12px !important; font-family: var(--wp--preset--font-family--body); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--grey); }

/* ---------- Newsletter band ---------- */
.pf-tips-news { margin-top: clamp(48px, 7vw, 104px); box-sizing: border-box; }
.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 { margin: 0; color: inherit; font-size: clamp(34px, 3.8vw, 48px); line-height: 0.95; }
.pf-news__lead { margin: 0; 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: 600 14px var(--wp--preset--font-family--body); }
.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-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: 600 15px var(--wp--preset--font-family--body); cursor: pointer; }

/* ================= Article ================= */
.pf-tips-page .pf-post { margin-top: clamp(20px, 3vw, 40px); }
.pf-post-head { max-width: 900px; }
.pf-post-head > * { margin: 0; }
.pf-post-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-family: var(--wp--preset--font-family--body); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.pf-post-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--wp--preset--color--red-earth); text-decoration: none; }
.pf-post-crumbs span { color: var(--wp--preset--color--grey); }
.pf-post-title { margin-top: 6px !important; font-family: var(--wp--preset--font-family--serif); font-weight: 400; text-transform: none; letter-spacing: -0.005em; font-size: clamp(36px, 5vw, 68px); line-height: 1.04; color: var(--wp--preset--color--charcoal); overflow-wrap: break-word; }
.pf-post-standfirst { margin-top: 20px !important; font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: clamp(20px, 2vw, 25px); line-height: 1.4; max-width: 760px; }
.pf-post-byline { margin-top: 24px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-family: var(--wp--preset--font-family--body); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--grey); }
.pf-post-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.pf-post-byline strong { color: var(--wp--preset--color--charcoal); }
.pf-post-byline span + span::before { content: "·"; margin-right: 14px; }
.pf-post-hero { margin: clamp(24px, 3.5vw, 44px) 0 0; }
.pf-post-hero img { display: block; width: 100%; height: clamp(300px, 46vw, 660px); object-fit: cover; object-position: 50% 32%; background: #C9C1AE; }

.pf-post-layout { margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 64px; }
@media (min-width: 1000px) { .pf-post-layout { grid-template-columns: 220px minmax(0, 720px); justify-content: start; } .pf-post-toc { position: sticky; top: 24px; align-self: start; } .pf-post-toc summary { pointer-events: none; } .pf-post-toc summary::after { display: none; } }
.pf-post-toc details { border-top: 1px solid var(--wp--preset--color--gum-green); border-bottom: 1px solid var(--wp--preset--color--line); }
.pf-post-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; list-style: none; font-family: var(--wp--preset--font-family--body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--grey); }
.pf-post-toc summary::-webkit-details-marker { display: none; }
.pf-post-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-right: 4px; }
.pf-post-toc details[open] summary::after { transform: rotate(-135deg); }
.pf-post-toc ol { list-style: none; margin: 0; padding: 0 0 10px; }
.pf-post-toc a { display: flex; align-items: center; min-height: 40px; font-family: var(--wp--preset--font-family--serif); font-size: 18px; color: var(--wp--preset--color--charcoal); text-decoration: none; }
.pf-post-toc a:hover { color: var(--wp--preset--color--red-earth); text-decoration: underline; text-underline-offset: 4px; }

.pf-post-body { font-family: var(--wp--preset--font-family--serif); font-size: clamp(18px, 1.5vw, 20px); line-height: 1.62; color: var(--wp--preset--color--charcoal); }
.pf-post-body > * { margin: 0; }
.pf-post-body > * + * { margin-top: 1.05em; }
.pf-post-body a { color: var(--wp--preset--color--gum-green); text-underline-offset: 3px; }
.pf-post-body .pf-post-note { font-family: var(--wp--preset--font-family--body); font-size: 13px; line-height: 1.5; color: var(--wp--preset--color--grey); padding-bottom: 14px; border-bottom: 1px solid var(--wp--preset--color--line); }
.pf-post-body .pf-post-first { font-size: clamp(21px, 1.9vw, 24px); line-height: 1.5; }
.pf-post-body h2 { margin-top: clamp(44px, 5vw, 68px); padding-top: 18px; border-top: 1px solid var(--wp--preset--color--gum-green); font-size: clamp(32px, 3.4vw, 46px); line-height: 0.98; scroll-margin-top: 24px; }
.pf-post-body h3 { margin-top: 1.7em; font-family: var(--wp--preset--font-family--body); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; color: var(--wp--preset--color--red-earth); }
.pf-post-body h3 + * { margin-top: 0.6em; }
.pf-post-body ul, .pf-post-body ol { padding-left: 0; list-style: none; }
.pf-post-body li { position: relative; padding-left: 22px; }
.pf-post-body li + li { margin-top: 0.55em; }
.pf-post-body ul li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 7px; height: 7px; border-radius: 50%; background: var(--wp--preset--color--ochre); }
.pf-post-facts { background: var(--wp--preset--color--paperbark); padding: clamp(18px, 2.6vw, 30px); font-family: var(--wp--preset--font-family--body); font-size: 16.5px; line-height: 1.5; }
.pf-post-facts > p { margin: 0; }
p.pf-post-facts { margin: 0 0 16px; }
.pf-post-facts > p + p { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--wp--preset--color--line); }
.pf-post-facts strong:first-child { display: block; margin-bottom: 2px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--grey); }
.pf-post-body figure img { display: block; width: 100%; height: auto; background: #C9C1AE; }
.pf-post-body figcaption { margin-top: 8px; font-family: var(--wp--preset--font-family--body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--grey); }
.pf-post-body .pf-post-wide { margin-top: 1.6em; }
.pf-post-body .pf-post-pair { margin-top: 1.6em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pf-post-pair figure { margin: 0; }
.pf-post-pair img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 1000px) { .pf-post-body .pf-post-wide, .pf-post-body .pf-post-pair { margin-right: -120px; } }

.pf-post-trip { margin-top: 1.6em !important; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: center; padding: clamp(16px, 2.4vw, 26px); background: var(--wp--preset--color--gum-green); color: var(--wp--preset--color--paperbark); font-family: var(--wp--preset--font-family--body); }
.pf-post-trip p { margin: 0; }
.pf-post-trip .pf-eyebrow { color: var(--wp--preset--color--ochre); font-size: 12px; }
.pf-post-trip__name { margin-top: 4px !important; font-family: var(--wp--preset--font-family--heading); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 32px); line-height: 1; }
.pf-post-trip__meta { margin-top: 6px !important; font-size: 14px; opacity: 0.85; }
.pf-post-trip__route { width: 68px; height: 68px; border-radius: 50%; background: var(--wp--preset--color--shell); display: grid; place-items: center; }
.pf-post-trip__route svg { width: 46px; height: 46px; overflow: visible; }
.pf-post-trip__route path { fill: none; stroke: var(--wp--preset--color--gum-green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pf-post-trip__route circle { fill: var(--wp--preset--color--ochre); }
.pf-post-trip__route circle.is-end { fill: var(--wp--preset--color--gum-green); }
.pf-post-body a.pf-post-trip__go { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 25px; background: var(--wp--preset--color--paperbark); color: var(--wp--preset--color--gum-green); font-weight: 600; font-size: 16px; text-decoration: none; }
@media (min-width: 640px) { .pf-post-trip { grid-template-columns: auto minmax(0, 1fr) auto; } .pf-post-body a.pf-post-trip__go { grid-column: auto; } }

.pf-post-foot { margin-top: clamp(48px, 6vw, 88px); }
@media (min-width: 1000px) { .pf-post-foot { padding-left: 284px; max-width: 1004px; box-sizing: border-box; } }
.pf-post-author { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 24px; padding: clamp(20px, 3vw, 36px); background: var(--wp--preset--color--paperbark); }
.pf-post-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.pf-post-author p { margin: 0; }
.pf-post-author__name { margin-top: 4px !important; font-family: var(--wp--preset--font-family--heading); font-weight: 700; text-transform: uppercase; font-size: 32px; line-height: 1; color: var(--wp--preset--color--gum-green); }
.pf-post-author__links { margin-top: 10px !important; display: flex; flex-wrap: wrap; gap: 0 20px; font-family: var(--wp--preset--font-family--body); font-size: 15px; font-weight: 600; }
.pf-post-author__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--wp--preset--color--gum-green); text-underline-offset: 4px; }
@media (min-width: 640px) { .pf-post-author { grid-template-columns: auto minmax(0, 1fr); } }
.pf-post-more { margin-top: clamp(56px, 8vw, 112px); border-top: 1px solid var(--wp--preset--color--gum-green); padding-top: 20px; }
.pf-post-more__head > * { margin: 0; }
.pf-post-more__head h2 { margin-top: 10px; font-size: clamp(34px, 4vw, 56px); line-height: 0.95; }

/* ---------- Sample drafts: the notice at the top and the "note for the real article" markers ---------- */
.pf-sample-flag { margin: 0 0 4px; padding: 12px 16px; border: 1px dashed var(--wp--preset--color--ochre); border-radius: 6px; background: rgba(200, 146, 58, 0.12); font-family: var(--wp--preset--font-family--body); font-size: 14px; line-height: 1.5; }
.pf-sample-flag p, .pf-sample-note p { margin: 0; }
.pf-sample-flag strong, .pf-sample-note strong { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8A5E17; }
.pf-sample-note { padding: 10px 14px; border-left: 3px dashed var(--wp--preset--color--ochre); background: rgba(200, 146, 58, 0.08); font-family: var(--wp--preset--font-family--body); font-size: 15px; line-height: 1.5; color: var(--wp--preset--color--grey); }

/* ---------- Landing: jump links, then one section per category ---------- */
.pf-tips-jump { margin-top: clamp(36px, 5vw, 72px); border-top: 1px solid var(--wp--preset--color--gum-green); padding-top: 18px; }
.pf-tips-jump__links { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tips-jump__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--wp--preset--color--gum-green); border-radius: 22px; color: var(--wp--preset--color--gum-green); font: 600 15px var(--wp--preset--font-family--body); text-decoration: none; white-space: nowrap; }
.pf-tips-jump__links a:hover { background: var(--wp--preset--color--gum-green); color: var(--wp--preset--color--paperbark); }
@media (max-width: 699px) { .pf-tips-jump__links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--wp--style--root--padding-right, 20px)) 0 calc(-1 * var(--wp--style--root--padding-left, 20px)); padding: 0 var(--wp--style--root--padding-left, 20px) 4px; } .pf-tips-jump__links::-webkit-scrollbar { display: none; } }
.pf-tips-cats { margin-top: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 88px) 56px; }
@media (min-width: 900px) { .pf-tips-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pf-tips-cat { display: flex; flex-direction: column; scroll-margin-top: 24px; }
.pf-tips-cat__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: baseline; border-top: 1px solid var(--wp--preset--color--gum-green); padding-top: 16px; }
.pf-tips-cat__head > * { margin: 0; }
.pf-tips-cat__n { font: 600 13px var(--wp--preset--font-family--body); letter-spacing: 0.14em; color: var(--wp--preset--color--red-earth); }
.pf-tips-cat__head h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 0.95; }
.pf-tips-cat__lead { grid-column: 2; font-family: var(--wp--preset--font-family--serif); font-size: 18px; line-height: 1.45; color: var(--wp--preset--color--grey); }
.pf-tips-cat__list { margin-top: 24px; display: grid; gap: 28px; }
.pf-tips-cat .pf-tip-card__media img { aspect-ratio: 3 / 2; }
.pf-tips-cat .pf-tip-card__title { font-size: clamp(26px, 2.4vw, 32px); }
.pf-tips-cat__all { margin: auto 0 0; padding-top: 20px; }
.pf-tips-cat__all a { display: inline-flex; align-items: center; min-height: 44px; font: 600 15px var(--wp--preset--font-family--body); color: var(--wp--preset--color--gum-green); text-underline-offset: 4px; }

/* ---------- Article: tables and block photographs ---------- */
.pf-post-body .wp-block-table { margin-top: 1.6em; overflow-x: auto; }
.pf-post-body table { width: 100%; border-collapse: collapse; font-family: var(--wp--preset--font-family--body); font-size: 15.5px; line-height: 1.45; }
.pf-post-body th { text-align: left; padding: 0 14px 10px 0; border-bottom: 1px solid var(--wp--preset--color--gum-green); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--grey); }
.pf-post-body td { padding: 12px 14px 12px 0; border: 0; border-bottom: 1px solid var(--wp--preset--color--line); vertical-align: top; }
.pf-post-body td:first-child { font-weight: 600; color: var(--wp--preset--color--gum-green); white-space: nowrap; }
.pf-post-body .wp-block-image { margin-bottom: 0; }
/* A photograph on its own keeps its own shape, portrait or landscape. A tall one is held to the height of the screen so it never needs scrolling to see. */
.pf-post-body .wp-block-image:not(.wp-block-gallery .wp-block-image) img { width: auto; max-width: 100%; height: auto; max-height: min(82vh, 860px); }
/* In a gallery, WordPress lines the photographs up in rows of equal height; portrait and landscape can be mixed freely. */
.pf-post-body .wp-block-gallery.has-nested-images figure.wp-block-image img { background: #C9C1AE; }
/* A photograph left on its own in the last row of a gallery is trimmed to the height of the screen rather than towering over it. */
.pf-post-body .wp-block-gallery.has-nested-images figure.wp-block-image { max-height: min(82vh, 860px); }
.pf-post-body .wp-block-gallery figcaption { text-align: left; }
.pf-post-body .pf-post-facts strong:first-child { margin-bottom: 4px; }
@media (max-width: 599px) { .pf-post-body td:first-child { white-space: normal; } .pf-post-body table { font-size: 14.5px; } }

/* ---------- Cards: small rows for the second and third article in a section ---------- */
.pf-tip-card__body > * { margin: 0; }
.pf-tip-card--row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; padding-top: 20px; border-top: 1px solid var(--wp--preset--color--line); }
.pf-tip-card--row.has-no-photo { grid-template-columns: minmax(0, 1fr); }
.pf-tip-card--row .pf-tip-card__media { margin-bottom: 0 !important; }
.pf-tip-card--row .pf-tip-card__media img { aspect-ratio: 1 / 1; }
.pf-tips-cat .pf-tip-card--row .pf-tip-card__title, .pf-tip-card--row .pf-tip-card__title { margin-top: 0 !important; font-size: 21px; line-height: 1.2; }
.pf-tip-card--row .pf-tip-card__meta { margin-top: 8px !important; }
/* A section left on its own in the last row runs the full width: main article on the left, the others beside it. */
@media (min-width: 900px) {
	.pf-tips-cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.pf-tips-cat:last-child:nth-child(odd) .pf-tips-cat__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; align-items: start; }
	.pf-tips-cat:last-child:nth-child(odd) .pf-tip-card:first-child { grid-row: 1 / span 2; }
	.pf-tips-cat:last-child:nth-child(odd) .pf-tip-card--row:nth-child(2) { border-top: 0; padding-top: 0; }
	.pf-tips-cat:last-child:nth-child(odd) .pf-tip-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
	.pf-tips-cat:last-child:nth-child(odd) .pf-tip-card:only-child .pf-tip-card__media { margin-bottom: 0 !important; }
}
.pf-tips-feature.has-no-photo { grid-template-columns: minmax(0, 1fr); }

/* ---------- Coming soon ---------- */
.pf-tips-soon { margin-top: clamp(28px, 4vw, 56px); box-sizing: border-box; padding: clamp(28px, 5vw, 72px); background: var(--wp--preset--color--paperbark); }
.pf-tips-soon > * { margin: 0; }
.pf-tips-soon h2 { margin-top: 12px; font-size: clamp(38px, 4.8vw, 68px); line-height: 0.92; max-width: 760px; }
.pf-tips-soon > p:not(.pf-eyebrow) { margin-top: 18px; font-family: var(--wp--preset--font-family--serif); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; max-width: 620px; }
.pf-tips-soon .pf-tips-soon__go { margin-top: 26px; }
.pf-tips-soon__go a { display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 25px; background: var(--wp--preset--color--gum-green); color: var(--wp--preset--color--paperbark); font: 600 16px var(--wp--preset--font-family--body); text-decoration: none; }
.pf-tips-soon__go a:hover { background: var(--wp--preset--color--charcoal); }

/* ---------- Category page ---------- */
.pf-tips--category .pf-tips-open h1 { margin-top: 4px; font-size: clamp(44px, 9vw, 104px); }
.pf-tips-pages { margin-top: clamp(32px, 4vw, 56px); display: flex; justify-content: space-between; gap: 16px; }
.pf-tips-pages a { display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border: 1px solid var(--wp--preset--color--gum-green); border-radius: 25px; color: var(--wp--preset--color--gum-green); font: 600 16px var(--wp--preset--font-family--body); text-decoration: none; }

/* ---------- Article: details ---------- */
.pf-post-layout.has-no-toc { grid-template-columns: minmax(0, 720px); }
.pf-post-body .pf-guide-map { margin: 0; }
.pf-post-body > .wp-block-group, .pf-post-body > .wp-block-image, .pf-post-body > .wp-block-table { margin-bottom: 0; }
.pf-post-body .wp-block-image figcaption, .pf-post-body .wp-element-caption { text-align: left; }
.pf-post-author__bio { margin-top: 10px !important; font-family: var(--wp--preset--font-family--serif); font-size: 18px; line-height: 1.5; }
.pf-post-byline img { flex: 0 0 auto; }
@media (max-width: 999px) { .pf-post-foot { max-width: 720px; } }

/* ==========================================================================
   Travel guides: articles about a place. Everything here is either inside .pf-post--guide or belongs to one
   of the Point Footage blocks, so Travel Tips articles look exactly as they did.
   ========================================================================== */
.pf-post-hero figcaption { margin-top: 8px; font-family: var(--wp--preset--font-family--body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--grey); }

/* Headings inside a guide: a place name is a serif heading; a smaller label is the red capitals. */
.pf-post--guide .pf-post-body h3 { margin-top: 1.9em; font-family: var(--wp--preset--font-family--serif); font-size: clamp(25px, 2.5vw, 31px); font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.15; color: var(--wp--preset--color--charcoal); scroll-margin-top: 24px; }
.pf-post--guide .pf-post-body h3 + * { margin-top: 0.55em; }
.pf-post--guide .pf-post-body h4 { margin-top: 1.7em; font-family: var(--wp--preset--font-family--body); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; color: var(--wp--preset--color--red-earth); }
.pf-post--guide .pf-post-body h4 + * { margin-top: 0.5em; }
.pf-post--guide .pf-post-body > p:first-child { font-size: clamp(21px, 1.9vw, 24px); line-height: 1.5; }
.pf-post--guide .pf-post-body ol { counter-reset: pf-ol; }
.pf-post--guide .pf-post-body ol > li { counter-increment: pf-ol; padding-left: 40px; }
.pf-post--guide .pf-post-body ol > li::before { content: counter(pf-ol); position: absolute; left: 0; top: 0.12em; width: 26px; height: 26px; border-radius: 50%; background: var(--wp--preset--color--gum-green); color: var(--wp--preset--color--paperbark); display: inline-flex; align-items: center; justify-content: center; font: 600 13px var(--wp--preset--font-family--body); }

/* At a glance: a two-column table placed before the first heading. */
.pf-post-body .pf-post-glance { margin-top: 1.6em; padding: clamp(16px, 2.4vw, 28px) clamp(18px, 2.6vw, 30px); background: var(--wp--preset--color--paperbark); overflow: visible; }
.pf-post-body .pf-post-glance::before { content: "At a glance"; display: block; margin-bottom: 6px; font: 600 12px var(--wp--preset--font-family--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--red-earth); }
.pf-post-body .pf-post-glance table { font-size: 16px; }
.pf-post-body .pf-post-glance td { padding: 11px 16px 11px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.pf-post-body .pf-post-glance tr:last-child td { border-bottom: 0; padding-bottom: 2px; }
.pf-post-body .pf-post-glance td:first-child { width: 34%; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--grey); white-space: normal; padding-top: 14px; }
.pf-post-body .pf-post-glance td:last-child { font-weight: 500; color: var(--wp--preset--color--charcoal); }

/* Photographs in a guide: a wide one runs into the margin; two side by side make a pair. */
.pf-post--guide .pf-post-body .wp-block-image, .pf-post--guide .pf-post-body .wp-block-gallery { margin-top: 1.7em; }
.pf-post--guide .pf-post-body .wp-block-image + *, .pf-post--guide .pf-post-body .wp-block-gallery + * { margin-top: 1.5em; }
.pf-post--guide .pf-post-body .wp-block-image.alignwide img, .pf-post--guide .pf-post-body .wp-block-image.alignfull img { width: 100%; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; }
.pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; max-height: none; display: block; }
.pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images.is-portrait figure.wp-block-image img { aspect-ratio: 4 / 5; }
.pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images.is-landscape figure.wp-block-image img { aspect-ratio: 3 / 2; }
.pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: static; background: none; padding: 0; margin-top: 8px; max-height: none; overflow: visible; color: var(--wp--preset--color--grey); font-size: 12px; text-shadow: none; -webkit-mask-image: none; mask-image: none; backdrop-filter: none; }
.pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images figure.wp-block-image::before, .pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before { display: none; }
@media (min-width: 1000px) { .pf-post--guide .pf-post-body .wp-block-image.alignwide, .pf-post--guide .pf-post-body .wp-block-image.alignfull, .pf-post--guide .pf-post-body .wp-block-gallery { margin-right: -120px; max-width: none; width: auto; } }

/* A quotation: their own words, set large. */
.pf-post--guide .pf-post-body blockquote { margin: 1.7em 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--wp--preset--color--ochre); }
.pf-post--guide .pf-post-body blockquote p { margin: 0; font-style: italic; font-size: clamp(23px, 2.3vw, 29px); line-height: 1.32; color: var(--wp--preset--color--gum-green); }
.pf-post--guide .pf-post-body blockquote cite { display: block; margin-top: 10px; font: 600 12px var(--wp--preset--font-family--body); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--grey); }

/* Notes: a tip, good to know, from our trip, researched. */
.pf-post-callout { margin-top: 1.6em !important; padding: 16px 20px 18px; background: var(--wp--preset--color--paperbark); border-left: 3px solid var(--wp--preset--color--ochre); font-family: var(--wp--preset--font-family--body); font-size: 16.5px; line-height: 1.55; }
.pf-post-callout > * { margin: 0; }
.pf-post-callout > * + * { margin-top: 0.7em; }
.pf-post-callout__label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--red-earth); }
.pf-post-callout--trip { border-left-color: var(--wp--preset--color--gum-green); }
.pf-post-callout--trip .pf-post-callout__label { color: var(--wp--preset--color--gum-green); }
.pf-post-callout--research { background: transparent; border: 1px dashed #B9AE96; border-left: 1px dashed #B9AE96; }
.pf-post-callout--research .pf-post-callout__label { color: var(--wp--preset--color--grey); }
.pf-post-callout--disclosure { background: transparent; border-left-color: var(--wp--preset--color--line); padding: 2px 0 2px 16px; font-size: 14.5px; color: var(--wp--preset--color--grey); }
.pf-post-callout--disclosure .pf-post-callout__label { color: var(--wp--preset--color--grey); }
.pf-post-body .pf-post-callout li { padding-left: 20px; }
.pf-post-body .pf-post-callout li + li { margin-top: 0.45em; }

/* The road trip card, with or without its route sketch. */
.pf-post-trip.has-no-route { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pf-post-trip.has-no-route { grid-template-columns: minmax(0, 1fr) auto; } }
.pf-post-body a.pf-post-trip__go:hover { background: var(--wp--preset--color--shell); }

/* Places to stay inside an article. */
.pf-post-stays { margin-top: 1.7em !important; font-family: var(--wp--preset--font-family--body); }
.pf-post-stays .pf-cp-grid { margin-top: 0; grid-template-columns: minmax(0, 1fr); gap: 28px 20px; }
.pf-post-stays .pf-cp-card, .pf-post-stays .pf-cp-card:first-child { display: block; padding: 0; border: 0; }
.pf-post-stays .pf-cp-card__media { margin-bottom: 14px; aspect-ratio: 4 / 3; }
.pf-post-stays .pf-cp-card__media img { background: #C9C1AE; }
.pf-post-body .pf-post-stays .pf-cp-card__name { margin-top: 6px !important; font-family: var(--wp--preset--font-family--serif); font-size: 24px; line-height: 1.15; }
.pf-post-body .pf-post-stays a { text-decoration: none; }
.pf-post-body .pf-post-stays .pf-cp-card__go a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pf-post-body .pf-post-stays p { margin: 0; }
@media (min-width: 600px) { .pf-post-stays .pf-cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pf-post-stays { margin-right: -120px; } }

/* Questions and answers read as a list of questions. */
.pf-post--guide .pf-post-body h2[id*="faq"] ~ h3, .pf-post--guide .pf-post-body h2[id*="questions"] ~ h3 { margin-top: 1.2em; padding-top: 1.1em; border-top: 1px solid var(--wp--preset--color--line); font-size: clamp(21px, 2vw, 24px); }
.pf-post--guide .pf-post-body h2[id*="faq"] + h3, .pf-post--guide .pf-post-body h2[id*="questions"] + h3 { border-top: 0; padding-top: 0; }

/* Where a guide leads at its end: its destination page. */
.pf-post-place { margin-top: clamp(40px, 5vw, 64px) !important; padding-top: 22px; border-top: 1px solid var(--wp--preset--color--gum-green); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 28px; align-items: center; font-family: var(--wp--preset--font-family--body); }
.pf-post-place p { margin: 0; }
.pf-post-place__name { margin-top: 6px !important; font-family: var(--wp--preset--font-family--heading); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 42px); line-height: 0.98; color: var(--wp--preset--color--gum-green); }
.pf-post-place__text { margin-top: 8px !important; font-family: var(--wp--preset--font-family--serif); font-size: 18px; line-height: 1.45; }
.pf-post-body a.pf-post-place__go { display: inline-flex; align-items: center; justify-content: center; justify-self: start; height: 50px; padding: 0 26px; border-radius: 25px; background: var(--wp--preset--color--gum-green); color: var(--wp--preset--color--paperbark); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.pf-post-body a.pf-post-place__go:hover { background: var(--wp--preset--color--charcoal); }
@media (min-width: 640px) { .pf-post-place { grid-template-columns: minmax(0, 1fr) auto; } }

/* Details: stay cards keep their own labels; photographs side by side keep their captions clear of the text;
   a tall photograph on its own is kept to a sensible height. */
.pf-post-body .pf-post-stays ul { margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pf-post-body .pf-post-stays li { padding: 0 10px; margin: 0; }
.pf-post-body .pf-post-stays li + li { margin-top: 0; }
.pf-post-body .pf-post-stays ul li::before { content: none; }
.pf-post-body .pf-post-stays ul li.is-stayed::before { content: ""; position: static; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--wp--preset--color--ochre); }
.pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images { align-items: start; }
.pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images figure.wp-block-image { height: auto; flex: none; flex-direction: column; }
.pf-post--guide .pf-post-body .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { text-align: left; flex: none; }
.pf-post--guide .pf-post-body .wp-block-image:not(.alignwide):not(.alignfull):not(.wp-block-gallery .wp-block-image) img { max-height: min(72vh, 600px); }
.pf-post-body .pf-post-stays + * { margin-top: 1.6em; }

/* A place with its photograph beside it (the Media and Text block): photograph one side, words the other,
   and stacked on a phone with the photograph first. */
.pf-post--guide .pf-post-body .wp-block-media-text { margin-top: 2.2em; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 36px); align-items: center; }
.pf-post--guide .pf-post-body .wp-block-media-text + .wp-block-media-text { margin-top: 2.6em; }
.pf-post--guide .pf-post-body .wp-block-media-text + * { margin-top: 2.2em; }
.pf-post--guide .pf-post-body .wp-block-media-text__media { margin: 0; align-self: stretch; }
.pf-post--guide .pf-post-body .wp-block-media-text__media img { display: block; width: 100%; height: 100%; max-height: 520px; min-height: 260px; object-fit: cover; }
.pf-post--guide .pf-post-body .wp-block-media-text__content { padding: 0; }
.pf-post--guide .pf-post-body .wp-block-media-text__content > * { margin: 0; }
.pf-post--guide .pf-post-body .wp-block-media-text__content > * + * { margin-top: 0.7em; }
.pf-post--guide .pf-post-body .wp-block-media-text__content > h3 { margin-top: 0; font-size: clamp(27px, 2.7vw, 34px); }
.pf-post--guide .pf-post-body .wp-block-media-text__content > p:first-child:has(+ h3), .pf-post--guide .pf-post-body .wp-block-media-text__content > p:first-child:has(+ h4) { font: 600 12px var(--wp--preset--font-family--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--red-earth); }
.pf-post--guide .pf-post-body .wp-block-media-text__content > p:first-child:has(+ h3) + h3 { margin-top: 8px; }
@media (min-width: 1000px) { .pf-post--guide .pf-post-body .wp-block-media-text { margin-right: -120px; } }
@media (max-width: 699px) {
	.pf-post--guide .pf-post-body .wp-block-media-text, .pf-post--guide .pf-post-body .wp-block-media-text.has-media-on-the-right { grid-template-columns: minmax(0, 1fr); }
	.pf-post--guide .pf-post-body .wp-block-media-text__media { grid-row: 1; grid-column: 1; }
	.pf-post--guide .pf-post-body .wp-block-media-text__content { grid-row: 2; grid-column: 1; margin-top: 16px; }
	.pf-post--guide .pf-post-body .wp-block-media-text__media img { height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
}

/* The disclosure on an article that has an affiliate link: small, plain, near the top. */
.pf-post-body .pf-post-disclosure { margin: 0 0 4px; padding: 0 0 14px; border-bottom: 1px solid var(--wp--preset--color--line); font-family: var(--wp--preset--font-family--body); font-size: 13.5px; line-height: 1.5; color: var(--wp--preset--color--grey); }
.pf-post--guide .pf-post-body > .pf-post-disclosure:first-child { font-size: 13.5px; line-height: 1.5; }
.pf-post--guide .pf-post-body > .pf-post-disclosure + p { font-size: clamp(21px, 1.9vw, 24px); line-height: 1.5; }

/* Travel Guides directory (/blog): two plain links to the other ways of planning, and guide cards in a grid. */
.pf-guides-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: clamp(40px, 6vw, 72px) 0 0; }
.pf-guides-more a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; min-height: 44px; border: 1px solid var(--wp--preset--color--line); text-decoration: none; color: var(--wp--preset--color--charcoal); background: var(--wp--preset--color--shell, transparent); }
.pf-guides-more a strong { font: 400 clamp(20px, 2vw, 24px)/1.25 var(--wp--preset--font-family--serif, var(--wp--preset--font-family--heading)); }
.pf-guides-more a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.pf-guides .pf-guides-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 28px; }
@media (max-width: 640px) { .pf-guides-more { grid-template-columns: minmax(0, 1fr); } }
