/* Photo samples (2026-12-02): the three new photos of Evyatar on the home, real estate, contact and about pages.
   Loaded after light.css. Each sample page sets one class on <body> (ph-home-1, ph-re-2, ...). */

.pf { position: relative; margin: 0; }
.pf img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-badge {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #0f1d33; color: #f2d98f; border: 2px solid #d5b05a; border-radius: 14px;
  padding: 10px 16px; font-weight: 700; line-height: 1.15; text-align: center; box-shadow: 0 12px 26px rgba(15, 29, 51, .28);
}
.pf-badge b { font-size: 30px; font-weight: 800; color: #fff; }
.pf-badge small { font-size: 13px; font-weight: 500; }

/* ---------- Home ---------- */
/* 1: portrait in a gold offset frame, "20 years" badge */
.ph-home-1 .hero-photo { max-width: 430px; justify-self: center; }
.ph-home-1 .pf { aspect-ratio: 4 / 5; }
.ph-home-1 .pf::before {
  content: ""; position: absolute; inset: 0; transform: translate(-22px, 22px);
  border: 3px solid #c99b3c; border-radius: 18px; z-index: 0;
}
.ph-home-1 .pf img { position: relative; z-index: 1; border-radius: 18px; object-position: 50% 30%; box-shadow: 0 22px 44px rgba(15, 29, 51, .22); }
.ph-home-1 .pf-badge { z-index: 2; inset-inline-end: -26px; bottom: 34px; }

/* 2: arched frame, name card overlapping the bottom */
.ph-home-2 .hero-photo { max-width: 420px; justify-self: center; }
.ph-home-2 .pf { aspect-ratio: 3 / 4; padding: 10px; border-radius: 230px 230px 22px 22px; background: linear-gradient(160deg, #e9cf86, #a67b26); box-shadow: 0 24px 48px rgba(15, 29, 51, .22); }
.ph-home-2 .pf img { border-radius: 220px 220px 14px 14px; object-position: 50% 35%; }
.ph-home-2 .pf-card {
  position: absolute; inset-inline: 30px; bottom: -26px; padding: 12px 16px; text-align: center;
  background: #fff; border-radius: 14px; box-shadow: 0 14px 30px rgba(15, 29, 51, .18);
}
.ph-home-2 .pf-card strong { display: block; color: #0f1d33; font-size: 19px; }
.ph-home-2 .pf-card span { color: #8a6420; font-size: 14px; font-weight: 500; }
.ph-home-2 .hero-grid { padding-bottom: 30px; }

/* 3: square crop on a soft gold blob, handwritten caption */
.ph-home-3 .hero-photo { max-width: 340px; justify-self: center; }
.ph-home-3 .pf { aspect-ratio: 4 / 5; }
.ph-home-3 .pf::before {
  content: ""; position: absolute; inset: -18px -18px 18px 18px; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 30% 30%, rgba(233, 207, 134, .75), rgba(201, 155, 60, .35));
}
.ph-home-3 .pf img { position: relative; border-radius: 26px; object-position: 50% 52%; box-shadow: 0 22px 44px rgba(15, 29, 51, .2); }
.ph-home-3 .pf-caption {
  position: absolute; inset-inline-start: -30px; bottom: -22px; max-width: 250px; padding: 12px 18px;
  background: #fffdf8; border-radius: 14px; box-shadow: 0 12px 26px rgba(15, 29, 51, .16);
  font-family: "Playpen Sans Hebrew", "Segoe Print", cursive; font-size: 16px; line-height: 1.5; color: #3c4a60;
}
.ph-home-3 .pf-caption b { color: #8a6420; font-weight: 600; }
.ph-home-3 .hero-grid { padding-bottom: 30px; }

/* ---------- Real estate topic page ---------- */
/* 1: heading beside a portrait */
.ph-re-1 .topic-head.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; max-width: none; text-align: start; }
.ph-re-1 .split .pf { aspect-ratio: 4 / 5; }
.ph-re-1 .split .pf img { border-radius: 18px; object-position: 50% 28%; box-shadow: 0 20px 40px rgba(15, 29, 51, .2); }
.ph-re-1 .split .pf::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 120px; height: 120px; border-inline-end: 4px solid #c99b3c; border-bottom: 4px solid #c99b3c; border-radius: 0 0 22px 0; }
[dir="rtl"] .ph-re-1 .split .pf::after { inset: auto auto -14px -14px; border-radius: 0 0 0 22px; }
.ph-re-1 .split .ph-icon { margin-inline: 0; }
.re-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding: 0; list-style: none; }
.re-points li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(180, 138, 53, .35); font-weight: 500; font-size: 15px; color: #1b2a42; }

/* 2: round portrait above the heading */
/* a tall arch (3:4) so the robe shows down to the waist, not just the face */
.ph-re-2 .pf.round { width: 260px; height: 347px; margin: 0 auto 18px; border-radius: 140px 140px 22px 22px; padding: 6px; background: linear-gradient(160deg, #e9cf86, #a67b26); box-shadow: 0 16px 34px rgba(15, 29, 51, .2); }
.ph-re-2 .pf.round img { border-radius: 134px 134px 16px 16px; object-position: 50% 95%; }
.ph-re-2 .topic-head .ph-icon { display: none; }
.ph-re-2 .re-sign { margin-top: 10px; font-family: "Playpen Sans Hebrew", "Segoe Print", cursive; font-size: 18px; color: #8a6420; }

/* 3: a personal card with the photo, between the heading and the tiles */
.re-card {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: center;
  margin: 0 auto 40px; max-width: 980px; padding: 22px; background: #fff; border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 29, 51, .08); border-top: 4px solid #c99b3c;
}
.re-card .pf { aspect-ratio: 1 / 1; }
.re-card .pf img { border-radius: 16px; object-position: 50% 30%; }
.re-card h2 { font-size: 26px; color: #0f1d33; margin-bottom: 8px; }
.re-card p { color: #3c4a60; margin: 0 0 16px; }
.re-card .hand { font-family: "Playpen Sans Hebrew", "Segoe Print", cursive; color: #8a6420; font-size: 18px; }

/* ---------- Contact page ---------- */
/* 1: photo beside the page heading */
.ph-ct-1 .page-hero .wrap.split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; }
.ph-ct-1 .split .pf { aspect-ratio: 4 / 5; }
.ph-ct-1 .split .pf img { border-radius: 18px; object-position: 50% 45%; box-shadow: 0 18px 38px rgba(15, 29, 51, .2); border: 6px solid #fff; }

/* 2: photo card on top of the contact side box */
.ct-photo { margin-bottom: 18px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(15, 29, 51, .1); }
.ct-photo .pf { aspect-ratio: 1 / 1; }
.ct-photo .pf img { object-position: 50% 55%; }
.ct-photo p { margin: 0; padding: 14px 18px 16px; font-family: "Playpen Sans Hebrew", "Segoe Print", cursive; font-size: 17px; line-height: 1.55; color: #3c4a60; }
.ct-photo p b { display: block; color: #8a6420; font-weight: 600; }

/* 3: split hero, half photo */
.ct-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 460px; background: #fffdf8; border-bottom: 1px solid rgba(15, 29, 51, .08); }
.ct-split .pf { height: 100%; min-height: 460px; }
.ct-split .pf img { position: absolute; inset: 0; object-position: 50% 52%; }
.ct-split .ct-text { display: flex; flex-direction: column; justify-content: center; padding: 40px max(24px, calc((100vw - 1200px) / 2)); padding-inline-end: 48px; }
.ct-split h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; color: #0f1d33; margin-bottom: 14px; }
.ct-split h1 .gold-text { display: block; font-size: .62em; margin-top: 6px; background: linear-gradient(180deg, #c99b3c 0%, #a67b26 100%); -webkit-background-clip: text; background-clip: text; }
.ct-quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- About page ---------- */
.about-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
.about-hero .pf { aspect-ratio: 4 / 5; }
.about-hero .pf::before { content: ""; position: absolute; inset: 0; transform: translate(-18px, 18px); border: 3px solid #c99b3c; border-radius: 18px; }
.about-hero .pf img { position: relative; border-radius: 18px; object-position: 50% 30%; box-shadow: 0 20px 40px rgba(15, 29, 51, .2); }
.about-hero .hero-note { margin-top: 20px; }
.about-body { padding-block: 56px 24px; }
.about-body .wrap > section + section { margin-top: 52px; }
.about-body h2 { font-size: clamp(25px, 2.6vw, 32px); font-weight: 800; color: #0f1d33; margin-bottom: 12px; }
.about-body h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 10px; background: var(--gold-grad); border-radius: 3px; }
.about-body p { max-width: 820px; color: #3c4a60; font-size: 18px; }
.about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.about-facts li { background: #fff; border-radius: 16px; padding: 20px; text-align: center; box-shadow: 0 4px 16px rgba(15, 29, 51, .06); border-top: 3px solid #c99b3c; }
.about-facts b { display: block; font-size: 26px; font-weight: 800; color: #8a6420; }
.about-facts span { color: #3c4a60; font-size: 15px; }
.about-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.about-areas a { display: block; height: 100%; padding: 20px 22px; background: #fff; border-radius: 16px; box-shadow: 0 4px 16px rgba(15, 29, 51, .05); color: inherit; }
.about-areas a:hover { background: #fffdf8; box-shadow: 0 10px 26px rgba(15, 29, 51, .1); }
.about-areas strong { display: block; color: #0f1d33; font-size: 19px; margin-bottom: 4px; }
.about-areas span { color: #5d6879; font-size: 15px; }
.about-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.about-ways li { background: #fff; border-radius: 16px; padding: 20px 22px; box-shadow: 0 4px 16px rgba(15, 29, 51, .05); }
.about-ways strong { display: block; color: #0f1d33; margin-bottom: 4px; }
.about-ways span { color: #5d6879; font-size: 15px; }

/* ---------- Real estate, more options (2026-12-02): 4-6 photo at the side, 7 a small byline photo ---------- */
.re-side .topic-head.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: center; max-width: none; text-align: start; }
.re-side .topic-head .ph-icon { display: none; }
.re-side .re-sign { margin-top: 12px; font-family: "Playpen Sans Hebrew", "Segoe Print", cursive; font-size: 18px; color: #8a6420; }
.re-side .split .pf { aspect-ratio: 4 / 5; }
.re-side .split .pf img { object-position: 50% 20%; }
/* 4: clean, no frame, just rounded corners and a soft shadow */
.ph-re-4 .split .pf img { border-radius: 22px; box-shadow: 0 24px 50px rgba(15, 29, 51, .18); }
/* 5: a navy block behind the photo, a gold name tag at the bottom */
.ph-re-5 .split .pf::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; background: #0f1d33; border-radius: 4px; }
.ph-re-5 .split .pf img { position: relative; border-radius: 4px; }
.ph-re-5 .pf-tag { position: absolute; inset-inline-start: -18px; bottom: 30px; padding: 10px 16px; background: linear-gradient(180deg, #e2c272, #b88a2e); color: #0f1d33; border-radius: 4px; font-weight: 800; font-size: 15px; line-height: 1.3; box-shadow: 0 10px 22px rgba(15, 29, 51, .25); }
.ph-re-5 .pf-tag small { display: block; font-weight: 500; font-size: 13px; }
/* 6: no frame at all, the photo fades into the page */
.ph-re-6 .split .pf img { -webkit-mask-image: radial-gradient(closest-side at 50% 45%, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 45%, #000 55%, transparent 100%); }
/* 7: centered heading, a small round photo as a signature line */
.ph-re-7 .topic-head .ph-icon { display: none; }
.re-byline { display: inline-flex; align-items: center; gap: 14px; margin-top: 16px; padding: 8px 20px 8px 8px; background: #fff; border-radius: 999px; box-shadow: 0 8px 24px rgba(15, 29, 51, .08); text-align: start; }
[dir="rtl"] .re-byline { padding: 8px 8px 8px 22px; }
.re-byline img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.re-byline strong { display: block; color: #0f1d33; font-size: 16px; }
.re-byline span { font-family: "Playpen Sans Hebrew", "Segoe Print", cursive; color: #8a6420; font-size: 15px; }

@media (max-width: 900px) {
  .re-side .topic-head.split { grid-template-columns: 1fr; gap: 32px; }
  .re-side .split .pf { max-width: 300px; order: -1; justify-self: center; width: 100%; }
  .ph-home-1 .hero-photo, .ph-home-2 .hero-photo, .ph-home-3 .hero-photo { max-width: 340px; margin-bottom: 30px; }
  .ph-home-1 .pf-badge { inset-inline-end: -8px; }
  .ph-home-3 .pf-caption { inset-inline-start: -6px; }
  .ph-re-1 .topic-head.split { grid-template-columns: 1fr; gap: 28px; }
  .ph-re-1 .split .pf { max-width: 320px; order: -1; justify-self: center; width: 100%; }
  .re-card { grid-template-columns: 1fr; }
  .re-card .pf { max-width: 320px; }
  .ph-ct-1 .page-hero .wrap.split { grid-template-columns: 1fr; }
  .ph-ct-1 .split .pf { max-width: 280px; order: -1; }
  .ct-split { grid-template-columns: 1fr; }
  .ct-split .pf { min-height: 0; aspect-ratio: 4 / 3; }
  .ct-split .ct-text { padding: 28px 16px 32px; }
  .about-hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .about-hero .pf { max-width: 320px; order: -1; justify-self: center; width: 100%; }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-areas, .about-ways { grid-template-columns: 1fr; }
}
