/* דפי נחיתה לפי מקצוע (calculators/profession-pages.mjs), 22.11.2026: Coral, like every product home. The page uses the
   product homes' own CSS (product-homes-coral.mjs, CSS2, ph-theme.css, ph-coral.css); this file only adds the few blocks
   that the product homes don't have (a normal day before/after, the tools grid with prices, two-column sections, the sites),
   in Coral's own tokens (--ink, --soft-ink, --cotton, --line, --cast, --acc, --a2, --a3). Loaded after ph-coral.css. */
.ph.pf .pf-center { text-align: center; }
.ph.pf h2.pf-center { margin: 56px 0 6px; }
.ph.pf .lead { color: var(--soft-ink); }
.ph.pf .hero .chip span[aria-hidden] { font-size: 16px; }
.ph.pf .hero video.hv { width: min(300px, 100%); height: auto; max-height: none; object-fit: cover; }
.ph.pf .hero video.hv.pf-wide { width: min(560px, 100%); }

/* a normal day: before (struck, soft) and after (ink, on the accent) */
.ph .pf-day { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ph .pf-day .step::before { display: none; }
.ph .pf-tm { display: inline-block; font-weight: 700; font-size: 15px; color: var(--cotton); background: var(--ink); border-radius: 999px; padding: 3px 12px; }
.ph .pf-day .step b { margin-top: 12px; }
.ph .pf-day p { margin: 10px 0 0; line-height: 1.5; }
.ph .pf-day small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .02em; margin-bottom: 2px; }
.ph .pf-b { color: var(--soft-ink); } .ph .pf-b small { color: var(--soft-ink); }
.ph .pf-a { color: var(--ink); background: var(--paper-2); border-inline-start: 3px solid var(--a2); border-radius: 10px; padding: 8px 10px; }
.ph .pf-a small { color: var(--a2-ink); }

/* the videos: real files, the same height, captions with a link to the tool */
.ph .pf-vids { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-items: start; }
.ph .pf-vids figure { margin: 0; }
.ph .pf-vids video { height: auto; object-fit: cover; background: oklch(20% .012 40); cursor: pointer; }
.ph .pf-vids figcaption { color: var(--soft-ink); text-align: start; line-height: 1.45; }
.ph .pf-vids figcaption a, .ph .pf-two a:not(.cta) { color: var(--acc-ink); font-weight: 600; }

/* every tool of the field */
.ph .pf-tools .feat { display: flex; flex-direction: column; }
.ph .pf-logo { width: 48px; height: 48px; object-fit: contain; }
.ph .pf-t { color: var(--soft-ink); font-size: 14px; margin-top: -2px; }
.ph .pf-tools p { margin: 8px 0 0; color: var(--soft-ink); line-height: 1.5; }
.ph .pf-pr { font-weight: 700; color: var(--ink) !important; margin-top: auto !important; padding-top: 12px; }
.ph .pf-tools .go2, .ph .pf-hub .go2 { color: var(--acc-ink); font-weight: 600; text-decoration: none; padding-top: 8px; }
.ph .pf-tools .go2::after, .ph .pf-hub .go2::after { content: " ←"; } [dir=ltr] .ph .pf-tools .go2::after, [dir=ltr] .ph .pf-hub .go2::after { content: " →"; }

/* two columns: the booking calendar, the business card */
.ph .pf-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.ph .pf-two .tick { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.ph .pf-two .tick li::before { content: "✓"; color: var(--a2-ink); font-weight: 800; margin-inline-end: 8px; }
.ph .pf-media { margin: 0; display: flex; justify-content: center; }
.ph .pf-media video, .ph .pf-cardpics video { width: min(300px, 100%); height: auto; object-fit: cover; border: 10px solid oklch(20% .01 40); border-radius: 22px; background: oklch(20% .012 40); box-shadow: 0 40px 70px -30px oklch(30% .05 40 / .55); cursor: pointer; }
.ph .pf-cardpics { display: flex; gap: 16px; justify-content: center; align-items: flex-end; }
.ph .pf-cardpics img { width: min(220px, 45%); height: auto; border-radius: 18px; box-shadow: var(--cast); }
.ph .pf-cardpics video { width: min(220px, 50%); }

/* the ready sites */
.ph .pf-sites { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ph .pf-site { display: block; text-decoration: none; color: var(--ink); background: var(--cotton); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--cast); overflow: hidden; transition: transform .25s ease; }
.ph .pf-site:hover { transform: translateY(-5px); }
.ph .pf-site img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.ph .pf-site b { display: block; padding: 10px 12px 0; font-weight: 600; }
.ph .pf-site small { display: block; padding: 2px 12px 12px; color: var(--soft-ink); }

/* other professions */
.ph .pf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ph .pf-chips a { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--cotton); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; box-shadow: var(--cast); }
.ph .pf-chips a:hover { border-color: var(--acc); }

/* the hub: one card per profession */
.ph .pf-hub .pf-prof { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); padding: 0 0 18px; overflow: hidden; }
.ph .pf-cover { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: 50% 25%; }
.ph .pf-prof > :not(.pf-cover) { margin-inline: 20px; }
.ph .pf-prof p { color: var(--soft-ink); line-height: 1.5; margin-top: 0; }
.ph .pf-logos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto !important; }
.ph .pf-logos img { width: 28px; height: 28px; object-fit: contain; }
.ph .pf-prof small { color: var(--soft-ink); margin-top: 8px; }

@media (max-width: 900px) {
  .ph .pf-day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph .pf-two { grid-template-columns: minmax(0, 1fr); }
  .ph .pf-sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .ph .pf-day { grid-template-columns: minmax(0, 1fr); }
  .ph .pf-vids { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ph .pf-vids figcaption { font-size: 13px; }
  .ph .pf-sites { gap: 10px; }
  .ph .pf-site b { font-size: 14px; } .ph .pf-site small { font-size: 12px; }
}

/* round 2 (22.11.2026): the hero with real devices, the reel without a second copy, the screens, the comparison, the steps */
/* the hero: a real desktop screen of the field in the browser frame, and a phone that scrolls down a real home page */
.ph .pf-stage { display: block; position: relative; padding: 0 0 40px; min-height: 0; background: none; }
.ph .pf-stage .pf-brw { width: 92%; margin-inline-start: auto; }
.ph .pf-brw img { display: block; width: 100%; aspect-ratio: 960/600; object-fit: cover; object-position: top; background: #fff; }
.ph .pf-stage .pf-phone { position: absolute; inset-inline-start: 0; bottom: 0; width: 34%; max-width: 190px; z-index: 3; }
.ph .pf-phone { margin: 0; }
.ph .pf-phone-in { aspect-ratio: 390/780; overflow: hidden; border: 9px solid oklch(20% .01 40); border-radius: 30px; background: #fff; box-shadow: 0 30px 60px -28px oklch(30% .05 40 / .6); }
.ph .pf-phone-in img { display: block; width: 100%; height: auto; animation: pfscroll 22s ease-in-out infinite alternate; }
@keyframes pfscroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
.ph .pf-phone-in { container-type: size; }
@media (prefers-reduced-motion: reduce) { .ph .pf-phone-in img { animation: none; } }

/* the reel: every photo once, moving back and forth instead of looping a copy */
.ph .pf-reel .tr { animation: pfreel 46s ease-in-out infinite alternate; }
[dir=rtl] .ph .pf-reel .tr { animation-name: pfreelr; }
@keyframes pfreel { from { transform: translateX(0); } to { transform: translateX(calc(-100% + min(1100px, 100vw - 32px))); } }
@keyframes pfreelr { from { transform: translateX(0); } to { transform: translateX(calc(100% - min(1100px, 100vw - 32px))); } }
@media (prefers-reduced-motion: reduce) { .ph .pf-reel .tr { animation: none; } }

/* the screens, each in a browser frame */
.ph .pf-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ph .pf-screens figure { margin: 0; }
.ph .pf-screens a { display: block; text-decoration: none; }
.ph .pf-screens .brw { width: 100%; transition: transform .25s ease; }
.ph .pf-screens a:hover .brw { transform: translateY(-4px); }
.ph .pf-screens figcaption { text-align: start; color: var(--soft-ink); margin-top: 10px; }
.ph .pf-screens .brw-b span, .ph .pf-stage .brw-b span { direction: ltr; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* "how to start": the phone shows a real screen of the field */
.ph .pf-hwimg img { aspect-ratio: 390/600; object-fit: cover; object-position: top; }

/* the comparison table in Coral */
.ph .pf-cmp { margin-top: 18px; }
.ph .pf-cmp .rs-cmp { background: var(--cotton); border-color: var(--line); box-shadow: var(--cast); }
.ph .pf-cmp .rs-cmp thead th:nth-of-type(3) { background: var(--ink); color: var(--paper); }
.ph .pf-cmp .rs-cmp td:nth-of-type(2) { background: var(--paper-2); color: var(--ink); font-weight: 600; }
.ph .pf-cmp .rs-cmp td:nth-of-type(1) { color: var(--soft-ink); font-weight: 400; background: transparent; }

/* facts instead of a picture (a product whose picture belongs to another profession) */
.ph .pf-facts { display: grid; gap: 12px; }
.ph .pf-facts span { display: flex; gap: 10px; align-items: center; background: var(--cotton); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--cast); font-weight: 600; color: var(--ink); }
.ph .pf-facts svg { color: var(--a2-ink); flex: none; }

@media (max-width: 900px) {
  .ph .pf-stage { padding-bottom: 28px; }
  .ph .pf-screens { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .ph .pf-stage .pf-phone { width: 38%; }
  .ph .pf-stage .fl { display: none; }
}

/* the ticker as a dark band and the "what you get" heading, as on the product homes with their own logo
   (calculators/product-homes.mjs withLogo, the same rules) */
.ph.pf .marq { background: #14161f !important; border: 0 !important; padding: 9px 0 !important; margin: 44px calc(50% - 50vw) 0 !important; -webkit-mask-image: none !important; mask-image: none !important; }
.ph.pf .marq .tr { gap: 0; animation-duration: 40s; }
.ph.pf .marq span { background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important; padding: 0; color: #fff !important; font-size: clamp(14px, 1.4vw, 17px); font-weight: 800; letter-spacing: -.01em; }
.ph.pf .marq span svg { display: none; }
.ph.pf .marq span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c); margin: 0 22px; }
.ph.pf .sth { text-align: center; font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -.01em; margin: 64px 0 22px; }
