/* PHOTO FOCUS POINTS  (Mark, 7 Nov 2026: "make sure that whenever the screen
   is expanded or contracted the main focus of the picture is in frame... so we
   dont cut off heads").

   GENERATED, then checked by eye. Every page was loaded at phone (375), tablet
   (820) and desktop (1440) widths and every cropped photo slot measured. Faces
   and people were found in each photo with Apple's Vision framework, and one
   object-position per photo was chosen that keeps heads whole in every slot it
   appears in, at every width, staying as close to the old framing as it could.
   Each change was compared side by side with the old crop before it went in.

   !important on purpose: some of these photos carry an older hand-set position
   (inline style from PICKER_PHOTO / hero_pos, or a slot rule in site.css) that
   cut heads at a width nobody had looked at. This file is loaded last.

   Matching is by file name stem, so every size of a photo (-sm/-md/-lg, -1000/
   -2000) shares one focus point. A photo not listed here was already fine.
   To re-frame one photo by hand, edit its line; to add a new photo, add one. */
img[src*="staff25-8425-800x1000.webp"] { object-position: 50% 24% !important; }
img[src*="athletics-handbook-2025-11-tb-jp-2703-3a2816-"] { object-position: 96% 0% !important; }
img[src*="admissions-2024-01-d6b356-a017526c005d4d8fa1a359607a7aa07emv2-a78ecc-"] { object-position: 50% 1% !important; }
img[src*="careers-2024-01-d6b356-10717e4bc2264cee864b4bb4c843c22amv2-d3700d-"] { object-position: 81% 0% !important; }
img[src*="elementary-school-2026-05-ac-4544-cropped-1-eba550-"] { object-position: 50% 0% !important; }
img[src*="health-wellness-2024-01-d6b356-10717e4bc2264cee864b4bb4c843c22amv2-2bfda1-"] { object-position: 26% 0% !important; }
img[src*="high-school-2025-11-tb-jp-2703-1d2284-"] { object-position: 48% 34% !important; }
img[src*="middle-school-2026-05-ac-1068-cropped-f59a8b-"] { object-position: 0% 34% !important; }
img[src*="parent-portal-2024-01-d6b356-a017526c005d4d8fa1a359607a7aa07emv2-b1e361-"] { object-position: 37% 26% !important; }
img[src*="parents-2024-01-d6b356-a017526c005d4d8fa1a359607a7aa07emv2-fc3feb-"] { object-position: 31% 0% !important; }
img[src*="preschool-2025-12-tb-6536-f98a7a-"] { object-position: 100% 16% !important; }
img[src*="preschool-2026-05-ac-6621-b66a01-"] { object-position: 50% 40% !important; }
img[src*="preschool-2026-05-ac-6692-4e3839-"] { object-position: 50% 0% !important; }
img[src*="support-2025-11-tb-jp-2703-6dafa9-"] { object-position: 89% 0% !important; }
img[src*="academics-assets-photos-2025-12-tb-6536-800x900-ae15d8-"] { object-position: 51% 0% !important; }
img[src*="announcements-assets-photos-2025-11-tb-jp-2703-2000x900-4d086a-"] { object-position: 3% 35% !important; }
img[src*="athletics-forms-assets-photos-2024-01-d6b356-8f512ad4a4c342ca80e48f029-d9cc10-"] { object-position: 43% 32% !important; }
img[src*="athletics-index-assets-img-sports-home-hero-6dcf19-"] { object-position: 20% 32% !important; }
img[src*="athletics-roster-index-assets-img-sports-football-hero-b5e59b-"] { object-position: 43% 28% !important; }
img[src*="careers-2024-01-d6b356-c8de8ed474a448f9af10f2a334333218mv2-aeb5b8-"] { object-position: 33% 35% !important; }
img[src*="dress-code-assets-photos-2025-12-tb-6536-2000x900-344db2-"] { object-position: 43% 35% !important; }
img[src*="elementary-school-assets-photos-2024-01-d6b356-f46a18b46dc44d9bbc4d7bc-840167-"] { object-position: 20% 50% !important; }
img[src*="elementary-school-assets-photos-2025-12-tb-6536-1000x750-7beca2-"] { object-position: 0% 53% !important; }
img[src*="fine-arts-2025-12-zg-tb-8497-1-1ab59d-"] { object-position: 50% 44% !important; }
img[src*="fine-arts-2025-12-zg-tb-8605-921964-"] { object-position: 50% 27% !important; }
img[src*="fine-arts-2026-03-09e8e5e7-26bd-4ba7-87fb-4b48077c5e30-ac-jp-0522-d5a38f-"] { object-position: 50% 0% !important; }
img[src*="fine-arts-2026-03-2fae3c32-fe2c-441a-b8ef-5548f13294b3-ac-jp-9044-5c8a2a-"] { object-position: 27% 1% !important; }
img[src*="fine-arts-2026-03-5ddb6d01-7c5b-44e2-9317-e8c0b351819e-ac-jp-1040-8d712f-"] { object-position: 50% 4% !important; }
img[src*="home-school-extension-assets-photos-2024-01-d6b356-6a933d4bb13e4e2bbd9-bffaf4-"] { object-position: 56% 41% !important; }
img[src*="leadership-assets-photos-2024-01-d6b356-c8de8ed474a448f9af10f2a3343332-e729b8-"] { object-position: 100% 50% !important; }
img[src*="lower-school-assets-photos-2024-01-d6b356-10717e4bc2264cee864b4bb4c843-4a1539-"] { object-position: 39% 36% !important; }
img[src*="lower-school-assets-photos-2025-12-tb-6536-2000x900-ef3022-"] { object-position: 7% 0% !important; }
img[src*="next-excellence-assets-photos-2024-01-d6b356-c8de8ed474a448f9af10f2a33-573488-"] { object-position: 5% 0% !important; }
img[src*="preschool-assets-photos-2024-01-d6b356-10717e4bc2264cee864b4bb4c843c22-3b61e1-"] { object-position: 38% 50% !important; }
img[src*="schedule-a-tour-assets-photos-2025-12-tb-6536-2000x900-c4d332-"] { object-position: 36% 35% !important; }
img[src*="spiritual-formation-assets-photos-2025-11-tb-jp-2703-2000x900-594f6d-"] { object-position: 81% 43% !important; }
img[src*="student-life-assets-photos-2024-01-d6b356-c8de8ed474a448f9af10f2a33433-956852-"] { object-position: 50% 34% !important; }
img[src*="tuition-fees-assets-photos-2024-01-d6b356-df5854bf54a64ac0a0c1116f93ae-c78ddd-"] { object-position: 50% 22% !important; }
img[src*="upper-school-assets-photos-2025-11-tb-jp-2703-2000x900-3e888d-"] { object-position: 40% 1% !important; }
img[src*="upper-school-resources-assets-photos-2025-11-tb-jp-2703-2000x900-43368a-"] { object-position: 79% 35% !important; }
img[src*="welcome-assets-photos-2024-01-d6b356-f46a18b46dc44d9bbc4d7bc30ed97faem-42ca4c-"] { object-position: 4% 39% !important; }
img[src*="football-1800x620.webp"] { object-position: 6% 32% !important; }
img[src*="football-700x500.webp"] { object-position: 31% 50% !important; }
img[src*="football-900x310.webp"] { object-position: 35% 32% !important; }
img[src*="zg-tb-8497-1-800x600.webp"] { object-position: 50% 22% !important; }
img[src*="zg-tb-8588-1900x700.webp"] { object-position: 9% 0% !important; }
img[src*="zg-tb-8605-800x600.webp"] { object-position: 50% 20% !important; }
img[src*="/baseball/05-"] { object-position: 50% 35% !important; }
img[src*="/baseball/06-"] { object-position: 50% 38% !important; }
img[src*="/baseball/hero-"] { object-position: 73% 30% !important; }
img[src*="/basketball/05-"] { object-position: 50% 25% !important; }
img[src*="/basketball/06-"] { object-position: 50% 35% !important; }
img[src*="/basketball/hero-"] { object-position: 15% 31% !important; }
img[src*="/beach-volleyball/03-"] { object-position: 50% 18% !important; }
img[src*="/beach-volleyball/06-"] { object-position: 50% 18% !important; }
img[src*="/cheer/s26-hero-"] { object-position: 50% 13% !important; }
img[src*="/cross-country/04-"] { object-position: 53% 28% !important; }
img[src*="/cross-country/s26-01-"] { object-position: 35% 50% !important; }
img[src*="/cross-country/s26-03-"] { object-position: 100% 50% !important; }
img[src*="/cross-country/s26-04-"] { object-position: 25% 50% !important; }
img[src*="/cross-country/s26-05-"] { object-position: 85% 50% !important; }
img[src*="/cross-country/s26-hero-"] { object-position: 68% 34% !important; }
img[src*="/football/03-"] { object-position: 15% 17% !important; }
img[src*="/football/hero-"] { object-position: 77% 41% !important; }
img[src*="/galleries/basketball-boys-basketball-"] { object-position: 17% 28% !important; }
img[src*="/galleries/cheer-media-day-"] { object-position: 50% 30% !important; }
img[src*="/galleries/cross-country-media-day-"] { object-position: 50% 17% !important; }
img[src*="/galleries/football-vs-ecs-"] { object-position: 50% 18% !important; }
img[src*="/galleries/football-week-zero-"] { object-position: 50% 31% !important; }
img[src*="/galleries/golf-boys-golf-media-day-"] { object-position: 79% 28% !important; }
img[src*="/galleries/golf-boys-golf-valencia-"] { object-position: 52% 8% !important; }
img[src*="/galleries/golf-girls-golf-stoneybrook-"] { object-position: 30% 20% !important; }
img[src*="/galleries/golf-girls-golf-valencia-"] { object-position: 51% 25% !important; }
img[src*="/galleries/volleyball-vs-canterbury-"] { object-position: 0% 0% !important; }
img[src*="/galleries/volleyball-vs-lourdes-academy-"] { object-position: 11% 39% !important; }
img[src*="/golf/03-"] { object-position: 45% 28% !important; }
img[src*="/golf/04-"] { object-position: 50% 14% !important; }
img[src*="/golf/hero-"] { object-position: 50% 2% !important; }
img[src*="/golf/s26-boys-05-"] { object-position: 50% 10% !important; }
img[src*="/golf/s26-boys-hero-"] { object-position: 50% 23% !important; }
img[src*="/soccer/hero-"] { object-position: 16% 0% !important; }
img[src*="/soccer/s26-boys-02-"] { object-position: 50% 43% !important; }
img[src*="/soccer/s26-boys-05-"] { object-position: 50% 16% !important; }
img[src*="/soccer/s26-boys-06-"] { object-position: 50% 27% !important; }
img[src*="/soccer/s26-boys-hero-"] { object-position: 32% 26% !important; }
img[src*="/tennis/01-"] { object-position: 50% 16% !important; }
img[src*="/tennis/02-"] { object-position: 50% 15% !important; }
img[src*="/tennis/04-"] { object-position: 50% 30% !important; }
img[src*="/tennis/05-"] { object-position: 50% 36% !important; }
img[src*="/tennis/hero-"] { object-position: 58% 30% !important; }
img[src*="/tennis/s26-girls-06-"] { object-position: 100% 50% !important; }
img[src*="/track-and-field/01-"] { object-position: 73% 28% !important; }
img[src*="/track-and-field/s26-hero-"] { object-position: 50% 13% !important; }
img[src*="/volleyball/03-"] { object-position: 50% 38% !important; }
img[src*="/volleyball/04-"] { object-position: 32% 28% !important; }
img[src*="/volleyball/06-"] { object-position: 42% 35% !important; }
img[src*="/volleyball/s26-06-"] { object-position: 100% 50% !important; }
img[src*="/volleyball/s26-hero-"] { object-position: 61% 19% !important; }
img[src*="/weightlifting/hero-"] { object-position: 16% 0% !important; }

/* Overview page banner (Mark, 7 Nov 2026). The wide band needs the faces and
   the Lion's head, not the 32% 28% the gallery tiles use. */
.page-hero--photo .hero-photo[src*="/volleyball/04-"] { object-position: 50% 22% !important; }

/* Sport-picker photos (pick-*) have no rules here on purpose: Mark set
   their framing himself in PICKER_PHOTO (config.py). Mark, 8 Nov 2026:
   "revert back to all of the pictures in the index picker that i had
   chosen myself". */
