/* Pasfoto service page (template_pasfoto.php) only. Uses the homepage design tokens. */
.ts-pasfoto {
    --ps-green:#009f62;
    --ps-green-dark:#007d4e;
    --ps-ink:#123e32;
    --ps-muted:#577064;
    --ps-line:#d9e7df;
    --ps-mint:#f2f8f5;
    color:var(--ps-ink);
    font-size:16px;
    line-height:1.6;
    padding:8px 0 24px
}
.ts-pasfoto * { box-sizing:border-box }
.ts-pasfoto .ps-wrap { width:min(1240px, calc(100% - 40px)); margin:0 auto }
.ts-pasfoto h1, .ts-pasfoto h2, .ts-pasfoto h3, .ts-pasfoto p, .ts-pasfoto ul, .ts-pasfoto ol, .ts-pasfoto dl { margin:0; padding:0 }
.ts-pasfoto h1 { font-size:clamp(30px, 4vw, 46px); line-height:1.12; font-weight:800; letter-spacing:-1px; color:inherit }
.ts-pasfoto h2 { font-size:clamp(24px, 2.6vw, 32px); line-height:1.2; font-weight:750; letter-spacing:-.6px; color:inherit }
.ts-pasfoto h3 { font-size:18px; line-height:1.35; font-weight:700; color:inherit }
.ts-pasfoto img { display:block; max-width:100%; height:auto }
.ts-pasfoto a:focus-visible { outline:3px solid #0b8657; outline-offset:3px }
.ts-pasfoto .ps-eyebrow { display:block; font-size:12px; font-weight:750; letter-spacing:1.6px; color:var(--ps-green); margin-bottom:10px }

.ts-pasfoto .ps-button {
    display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:11px 22px;
    border:1px solid var(--ps-green); border-radius:8px; background:var(--ps-green); color:#fff;
    font-weight:700; text-decoration:none; line-height:1.3
}
.ts-pasfoto .ps-button:hover { background:var(--ps-green-dark); border-color:var(--ps-green-dark); color:#fff; text-decoration:none }
.ts-pasfoto .ps-outline { background:#fff; color:var(--ps-green) }
.ts-pasfoto .ps-outline:hover { background:var(--ps-mint); color:var(--ps-green-dark) }
.ts-pasfoto .ps-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px }

/* Hero: admin slider in the large panel, two pasfoto cards beside it (homepage layout) */
.ts-pasfoto .ps-hero { display:grid; grid-template-columns:minmax(0, 1.75fr) minmax(0, 1fr); gap:22px; margin-top:20px }
.ts-pasfoto .ps-hero-main {
    position:relative; min-height:400px; border-radius:16px; overflow:hidden;
    background:#eaf6ee /* matches the slide artwork background */
}
.ts-pasfoto .ps-hero-main .page-component-hero { position:absolute; inset:0; margin:0; padding:0; background:transparent; max-width:none; height:auto }
.ts-pasfoto .ps-hero-main .slider-wrapper, .ts-pasfoto .ps-hero-main .slider { height:100% !important; margin:0; max-width:none }
/* The 1920x600 slides keep their content within the middle ~56% (measured); 167% width
   enlarges it while only trimming empty mint margins. Smaller screens show the whole slide. */
.ts-pasfoto .ps-hero-main .slider .slide { height:100% !important; background-size:167% auto !important; background-position:center !important; background-repeat:no-repeat !important; background-color:#eaf6ee }
.ts-pasfoto .ps-hero-side { display:grid; grid-template-rows:1fr 1fr; gap:22px }
.ts-pasfoto .ps-hero-card {
    display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:189px; padding:22px 18px 22px 30px;
    border-radius:16px; background:linear-gradient(125deg, #f7f7f8, #ececee); color:var(--ps-ink); text-decoration:none;
    transition:box-shadow .15s
}
.ts-pasfoto .ps-hero-card:hover { box-shadow:0 10px 24px #123e3218; color:var(--ps-ink); text-decoration:none }
.ts-pasfoto .ps-hero-card-text { display:flex; flex-direction:column; align-items:flex-start }
.ts-pasfoto .ps-hero-card .ps-eyebrow { color:var(--ps-ink) }
.ts-pasfoto .ps-hero-card strong { font-size:clamp(20px, 1.9vw, 27px); line-height:1.15; letter-spacing:-.6px; font-weight:800 }
.ts-pasfoto .nav-bar { margin-top:16px }
.ts-pasfoto .ps-pill { display:inline-flex; gap:6px; margin-top:16px; padding:9px 14px; border-radius:6px; background:#fff; font-weight:700; font-size:15px }
.ts-pasfoto .ps-hero-card img { width:42%; max-width:170px; flex:none }

/* Intro */
.ts-pasfoto .ps-intro {
    display:grid; grid-template-columns:minmax(0, 1.1fr) minmax(0, .9fr); gap:40px; align-items:center;
    background:linear-gradient(125deg, #f7fbf9, #e9f5ef); border:1px solid var(--ps-line); border-radius:16px;
    padding:44px 48px; margin-top:16px
}
.ts-pasfoto .ps-lead { margin-top:16px; font-size:18px; color:var(--ps-muted); max-width:620px }
.ts-pasfoto .ps-price {
    display:inline-flex; align-items:baseline; gap:12px; margin-top:22px; padding:10px 18px;
    background:#fff; border:1px solid var(--ps-line); border-radius:999px
}
.ts-pasfoto .ps-price-label { font-size:15px; color:var(--ps-muted) }
.ts-pasfoto .ps-price strong { font-size:26px; color:var(--ps-green); letter-spacing:-.5px }
.ts-pasfoto .ps-intro-art img { width:100%; max-width:480px; margin-left:auto }

/* Facts */
.ts-pasfoto .ps-facts { list-style:none; display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px; margin-top:20px }
.ts-pasfoto .ps-facts li {
    display:flex; flex-direction:column; gap:2px; padding:16px 18px 16px 52px; position:relative;
    border:1px solid var(--ps-line); border-radius:12px; background:#fff
}
.ts-pasfoto .ps-facts li::before {
    content:""; position:absolute; left:16px; top:18px; width:24px; height:24px; border-radius:50%;
    background:var(--ps-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat
}
.ts-pasfoto .ps-facts strong { font-size:16px }
.ts-pasfoto .ps-facts span { font-size:14px; color:var(--ps-muted) }

/* Sections */
.ts-pasfoto .ps-section { margin-top:64px }
.ts-pasfoto .ps-heading { max-width:720px; margin-bottom:26px }
.ts-pasfoto .ps-heading p { margin-top:12px; color:var(--ps-muted) }

.ts-pasfoto .ps-steps { list-style:none; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; counter-reset:none }
.ts-pasfoto .ps-steps li { position:relative; padding:20px 24px 26px; border:1px solid var(--ps-line); border-radius:14px; background:#fff }
.ts-pasfoto .ps-steps img { width:100%; max-width:240px; margin:0 auto 10px }
.ts-pasfoto .ps-step-number {
    position:absolute; top:18px; left:20px; width:34px; height:34px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; background:var(--ps-ink); color:#fff; font-weight:800
}
.ts-pasfoto .ps-steps p, .ts-pasfoto .ps-document p { margin-top:8px; color:var(--ps-muted); font-size:15px }

.ts-pasfoto .ps-documents { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:20px }
.ts-pasfoto .ps-document {
    display:flex; flex-direction:column; padding:18px 22px 22px; border:1px solid var(--ps-line); border-radius:14px;
    background:var(--ps-mint); transition:border-color .15s, box-shadow .15s
}
.ts-pasfoto .ps-document:hover { border-color:#a9d9c0; box-shadow:0 10px 24px #123e3214 }
.ts-pasfoto .ps-document img { width:100%; max-width:220px; margin:0 auto 8px }
.ts-pasfoto .ps-document a, .ts-pasfoto .ps-text-link { margin-top:auto; padding-top:14px; color:#00864f; font-weight:700; text-decoration:none }
.ts-pasfoto .ps-document a:hover, .ts-pasfoto .ps-text-link:hover { text-decoration:underline }

/* Requirements */
.ts-pasfoto .ps-requirements { display:grid; grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); gap:48px; align-items:center }
.ts-pasfoto .ps-requirements-art img { width:100%; max-width:380px; margin:0 auto }
.ts-pasfoto .ps-checklist { list-style:none; margin-top:18px; display:grid; gap:10px }
.ts-pasfoto .ps-checklist li { position:relative; padding-left:34px }
.ts-pasfoto .ps-checklist li::before {
    content:""; position:absolute; left:0; top:3px; width:22px; height:22px; border-radius:6px;
    background:#e2f4ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5L17.5 8.5' fill='none' stroke='%23009f62' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat
}
.ts-pasfoto .ps-note { margin-top:18px; padding:14px 18px; border-left:4px solid var(--ps-green); background:var(--ps-mint); border-radius:0 10px 10px 0; color:var(--ps-muted) }
.ts-pasfoto .ps-text-link { display:inline-block }

/* Visit */
.ts-pasfoto .ps-visit {
    display:grid; grid-template-columns:minmax(0, 1.3fr) minmax(0, .7fr); gap:32px; align-items:center;
    background:#103e30; color:#fff; border-radius:16px; padding:40px 48px
}
.ts-pasfoto .ps-visit .ps-eyebrow { color:#a3e6c5 }
.ts-pasfoto .ps-address { margin-top:10px; font-size:18px; color:#d7eee3 }
.ts-pasfoto .ps-hours { margin-top:18px; display:grid; gap:6px; max-width:420px }
.ts-pasfoto .ps-hours div { display:flex; justify-content:space-between; gap:20px; padding-bottom:6px; border-bottom:1px solid #ffffff22 }
.ts-pasfoto .ps-hours dt { font-weight:400; color:#d7eee3 }
.ts-pasfoto .ps-hours dd { margin:0; font-weight:700 }
.ts-pasfoto .ps-light { background:#fff; border-color:#fff; color:var(--ps-ink) }
.ts-pasfoto .ps-light:hover { background:#e9f5ef; border-color:#e9f5ef; color:var(--ps-ink) }
.ts-pasfoto .ps-ghost { background:transparent; border-color:#a4cdb9; color:#fff }
.ts-pasfoto .ps-ghost:hover { background:#ffffff14; border-color:#fff }
.ts-pasfoto .ps-visit-side img { width:100%; max-width:260px; margin:0 auto }
.ts-pasfoto .ps-visit-price { display:flex; flex-direction:column; align-items:center; margin-top:8px }
.ts-pasfoto .ps-visit-price span { color:#d7eee3 }
.ts-pasfoto .ps-visit-price strong { font-size:34px; letter-spacing:-.8px }

/* Towns and topics */
.ts-pasfoto .ps-towns p { margin-top:10px; color:var(--ps-muted); max-width:720px }
.ts-pasfoto .ps-chips { list-style:none; display:flex; flex-wrap:wrap; gap:10px; margin-top:18px }
.ts-pasfoto .ps-chips a {
    display:inline-flex; padding:9px 16px; border:1px solid var(--ps-line); border-radius:999px; background:#fff;
    color:var(--ps-ink); font-weight:600; text-decoration:none
}
.ts-pasfoto .ps-chips a:hover { border-color:var(--ps-green); color:var(--ps-green) }
.ts-pasfoto .ps-topic-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:22px; margin-top:20px }
.ts-pasfoto .ps-topic { padding:20px 22px; border:1px solid var(--ps-line); border-radius:12px }
.ts-pasfoto .ps-topic h3 { font-size:16px; margin-bottom:10px }
.ts-pasfoto .ps-topic ul { list-style:none; display:grid; gap:6px }
.ts-pasfoto .ps-topic a { color:var(--ps-muted); text-decoration:none; font-size:15px }
.ts-pasfoto .ps-topic a:hover { color:var(--ps-green); text-decoration:underline }

/* Tablet */
@media (max-width:1024px) {
    .ts-pasfoto .ps-hero { grid-template-columns:1fr }
    .ts-pasfoto .ps-hero-main { min-height:0; aspect-ratio:16 / 5 }
    .ts-pasfoto .ps-hero-main .slider .slide { background-size:contain !important }
    .ts-pasfoto .ps-hero-side { grid-template-columns:1fr 1fr; grid-template-rows:none }
    .ts-pasfoto .ps-intro { padding:36px; gap:28px }
    .ts-pasfoto .ps-facts { grid-template-columns:repeat(2, minmax(0, 1fr)) }
    .ts-pasfoto .ps-documents { grid-template-columns:repeat(2, minmax(0, 1fr)) }
}
/* Mobile */
@media (max-width:720px) {
    .ts-pasfoto { font-size:15px }
    .ts-pasfoto .ps-wrap { width:calc(100% - 28px) }
    .ts-pasfoto .ps-hero { gap:12px; margin-top:12px }
    /* 16:9 leaves room for the 167% slide (needs >= 52% of width as height). */
    .ts-pasfoto .ps-hero-main { border-radius:12px; aspect-ratio:16 / 9 }
    .ts-pasfoto .ps-hero-main .slider .slide { background-size:167% auto !important }
    .ts-pasfoto .ps-hero-side { grid-template-columns:1fr; gap:12px }
    .ts-pasfoto .ps-hero-card { min-height:0; padding:16px 12px 16px 20px; border-radius:12px }
    .ts-pasfoto .ps-hero-card img { width:34%; max-width:120px }
    .ts-pasfoto .ps-intro { grid-template-columns:1fr; padding:26px 20px; margin-top:8px }
    .ts-pasfoto .ps-intro-art { order:-1 }
    .ts-pasfoto .ps-intro-art img { max-width:220px; margin:0 auto }
    .ts-pasfoto .ps-lead { font-size:16px }
    .ts-pasfoto .ps-actions .ps-button { flex:1 1 100% }
    .ts-pasfoto .ps-facts { grid-template-columns:1fr }
    .ts-pasfoto .ps-section { margin-top:44px }
    .ts-pasfoto .ps-steps, .ts-pasfoto .ps-documents { grid-template-columns:1fr }
    .ts-pasfoto .ps-requirements { grid-template-columns:1fr; gap:20px }
    .ts-pasfoto .ps-requirements-art img { max-width:260px }
    .ts-pasfoto .ps-visit { grid-template-columns:1fr; padding:28px 22px }
    .ts-pasfoto .ps-visit-side { order:-1 }
    .ts-pasfoto .ps-visit-side img { max-width:200px }
}
