/* Frontpage */

.pf .dst-body { padding-top: 0; }

/* Top */
.pf-hero { position: relative; overflow: hidden; margin-top: 16px; border-radius: 16px; color: #fff; background: var(--sk-ink); }
.pf-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.pf-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 38, .55) 0%, rgba(20, 28, 38, .25) 45%, rgba(20, 28, 38, .7) 100%); }
.pf-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 48px 36px; }
/* Hero heading */
.pf .pf-hero-h { color: #fff; margin: 0; }
.pf-hero-h span { display: block; font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.pf .pf-hero-lead { margin: 12px 0 26px; font-size: clamp(15px, 1.6vw, 19px); color: rgba(255, 255, 255, .92); }
.pf-hero .pf-doors { width: 100%; text-align: left; }
.pf-hero .travel-filters-form { width: 100%; text-align: left; }
.pf-hero .ts-searchbar-wrap.ts-entry { margin-bottom: 12px; border-radius: var(--sk-radius); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.pf-hero-meta { width: 100%; display: flex; justify-content: flex-start; }
.pf-hero-sub { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; font-size: 14px; }
.pf-hero-sub:hover { color: #fff; }
.pf-hero-sub .sk-ic { width: 15px; height: 15px; }
.pf-hero-from { width: 100%; margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pf-hero-from > span { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.pf-hero-ags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pf-hero-ag { display: flex; align-items: center; justify-content: center; width: 100px; height: 44px; padding: 6px 10px; background: #fff; border-radius: var(--sk-radius-sm); transition: transform .18s ease; }
.pf-hero-ag:hover { transform: translateY(-2px); }
.pf-hero-ag img { max-width: 100%; max-height: 30px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 760px) {
	.pf-hero { margin: 0 -15px; border-radius: 0; }
	.pf-hero-in { padding: 28px 15px 22px; }
	.pf .pf-hero-lead { margin-bottom: 16px; }
	.pf-hero-from { margin-top: 24px; }
	.pf-hero-ags { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; margin-inline: -15px; padding: 0 15px 2px; width: calc(100% + 30px); }
	.pf-hero-ags::-webkit-scrollbar { display: none; }
	.pf-hero-ag { flex: 0 0 96px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .pf-hero-ag, .pf-hero-ag:hover { transform: none; transition: none; } }

/* Mobile doors */
.pf-doors { display: none; }
@media (max-width: 760px) {
	.pf-doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 10px; }
	.pf-door { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; border: 1px solid var(--sk-line-strong); border-radius: var(--sk-radius); background: #fff; color: var(--sk-ink); }
	.pf-door:hover { text-decoration: none; color: var(--sk-ink); border-color: var(--sk-ink); }
	.pf-door b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
	.pf-door small { display: block; font-size: 12.5px; color: var(--sk-muted); line-height: 1.3; }
	.pf-door-ic { width: 36px; height: 36px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--sk-soft); color: var(--sk-accent); }
	.pf-door-ic .sk-ic { width: 19px; height: 19px; }
	.pf-door-on { border-color: var(--sk-accent); box-shadow: inset 0 0 0 1px var(--sk-accent); background: var(--sk-soft-2); }
	.pf-door-on .pf-door-ic { background: var(--sk-accent); color: #fff; }
}

/* Shop USPs */
.pf-usps { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--sk-muted); margin-top: 4px; }
.pf-usps li { display: inline-flex; align-items: center; gap: 6px; }
.pf-usps .sk-ic { width: 15px; height: 15px; color: var(--sk-green); stroke-width: 2.2; }

/* Shop band */
.pf-shop { background: var(--sk-soft); border-radius: var(--sk-radius); padding: 20px 22px 22px; }
.pf-shop .dst-sec-hd { align-items: center; }
.pf-cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.pf-cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 8px; background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); color: var(--sk-ink); font-size: 13.5px; font-weight: 500; text-align: center; line-height: 1.25; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pf-cat:hover { text-decoration: none; color: var(--sk-ink); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(43, 49, 64, .12); border-color: var(--sk-accent); }
.pf-cat-img { display: block; width: 48px; height: 48px; }
.pf-cat-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.pf-cat:hover .pf-cat-img img { transform: scale(1.08); }
/* Sale category */
.pf-cat-rate { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 48px; color: var(--sk-red); font-size: 22px; font-weight: 700; line-height: 1; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pf-cat-rate small { font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.pf-cat-sale { color: var(--sk-red); }
.pf-cat-sale:hover { color: var(--sk-red); border-color: var(--sk-red); }
@media (max-width: 1100px) { .pf-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.pf-shop { margin-inline: -15px; border-radius: 0; padding: 18px 15px; }
	.pf-cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 15px; scrollbar-width: none; margin-inline: -15px; padding: 2px 15px 6px; }
	.pf-cats::-webkit-scrollbar { display: none; }
	.pf-cat { flex: 0 0 108px; scroll-snap-align: start; min-height: 92px; }
}
@media (prefers-reduced-motion: reduce) { .pf-cat, .pf-cat:hover, .pf-cat-img img { transform: none; transition: none; } }

/* Articles */
.pf-tag { display: inline-block; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--sk-muted); }
.pf-tag-news { color: var(--sk-accent); }
.pf-tag-win { color: var(--sk-amber); }
.pf-acard .dst-card-n { font-size: 15.5px; }
.pf-acard .pf-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--sk-muted); }
.pf-art2 .dst-card { flex-basis: calc((100% - 28px) / 3.15); }
@media (max-width: 760px) { .pf-art2 .dst-card { flex-basis: 78%; } }

/* Favourite ski areas */
.pf-ltabs { margin-bottom: 16px; }
.pf-ltabs a img { width: 18px; height: 12px; border-radius: 2px; }
.pf-lpanel { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.pf-lpanel[hidden] { display: none; }
.pf-lintro { display: flex; flex-direction: column; gap: 8px; }
.pf .pf-lintro h3 { font-size: 20px; }
.pf-lintro h3 a { color: var(--sk-ink); }
.pf .pf-lintro p { font-size: 14px; color: var(--sk-muted); }
.pf-dgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pf-dc { display: flex; flex-direction: column; gap: 6px; color: var(--sk-ink); }
.pf-dc:hover { text-decoration: none; color: var(--sk-ink); }
.pf-dc-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--sk-radius); overflow: hidden; background: var(--sk-soft); }
.pf-dc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pf-dc:hover .pf-dc-img img { transform: scale(1.04); }
.pf-dc b { font-size: 15.5px; font-weight: 500; line-height: 1.25; }
.pf-dc:hover b { text-decoration: underline; }
.pf-dc small { font-size: 12.5px; color: var(--sk-muted); font-variant-numeric: tabular-nums; }
.pf-cgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-cchip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 20px; border: 1px solid var(--sk-line); background: var(--sk-soft-2); color: var(--sk-ink); font-size: 14px; }
.pf-cchip:hover { text-decoration: none; color: var(--sk-ink); border-color: var(--sk-line-strong); background: var(--sk-soft); }
.pf-cchip img { width: 18px; height: 12px; border-radius: 2px; }
@media (max-width: 1100px) { .pf-lpanel { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (max-width: 760px) {
	.pf-dgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -15px; padding: 0 15px 4px; scroll-padding-inline: 15px; gap: 10px; }
	.pf-dgrid::-webkit-scrollbar { display: none; }
	.pf-dc { flex: 0 0 42%; scroll-snap-align: start; }
}

/* Stories */
.pf-stories { display: flex; flex-direction: column; gap: 22px; }
.pf-stories { margin-top: 32px; }
@media (max-width: 760px) { .pf-stories { margin-top: 16px; } }
.pf-st { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; border-radius: var(--sk-radius); overflow: hidden; background: var(--sk-soft-2); border: 1px solid var(--sk-line); }
.pf-st-tx { padding: 30px 34px; display: flex; flex-direction: column; gap: 12px; }
.pf .pf-st-tx p { font-size: 15px; max-width: 60ch; }
.pf-st-img { align-self: stretch; display: flex; align-items: center; justify-content: center; }
.pf-st-trip .pf-st-img { order: -1; position: relative; min-height: 280px; }
.pf-st-trip .pf-st-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-st-btn { align-self: flex-start; }
.pf-st-btn .sk-ic { width: 18px; height: 18px; }
.pf-st-l { display: flex; flex-direction: column; gap: 8px; }
.pf-st-l > span { font-size: 13px; color: var(--sk-muted); }
.pf-st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-st-chips a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 10px; border-radius: 999px; border: 1px solid var(--sk-line-strong); background: #fff; color: var(--sk-ink); font-size: 13.5px; }
.pf-st-chips a:hover { text-decoration: none; border-color: var(--sk-accent); color: var(--sk-accent); }
.pf-st-chips .sk-ic { width: 17px; height: 17px; }
@media (max-width: 860px) {
	.pf-st { grid-template-columns: minmax(0, 1fr); }
	.pf-st-tx { padding: 20px; }
	.pf-st-trip .pf-st-img { aspect-ratio: 16 / 8; min-height: 0; }
}

/* SEO text */
.pf-seo { font-size: 14px; color: var(--sk-text); columns: 2 380px; column-gap: 40px; }
.pf .pf-seo h2 { margin: 18px 0 6px; break-after: avoid; }
.pf .pf-seo h2:first-child { margin-top: 0; }
.pf-seo p { margin-bottom: 8px; }
