/*
 * Page photos hidden (Appearance > Customize > TechProfuse UI > "Show page photos" turns them back on).
 * The images stay in the page content and the Media Library; only their display is switched off.
 * Kept: logos, partner badges, product logos, maps, images inside articles, post featured images.
 */

/* ---------- Inner-page heroes: photo off, copy uses the width ---------- */
.tp-main .phero .ph { display: none !important; }
.tp-main .phero .g:has(> .ph) { grid-template-columns: minmax(0, 1fr); }
.tp-main .phero .g > :not(.ph) { max-width: 880px; }

/* ---------- Home hero: the photo and the labels laid over it go together (the labels repeat the badges,
   the booking button and the process section further down). The character field fills that side instead. ---------- */
.tp-main .hero .ph { display: none !important; }
.tp-main .hero .g:has(> .ph) { grid-template-columns: minmax(0, 1fr); }
.tp-main .hero .g > :not(.ph) { max-width: 860px; }

/* ---------- Sections whose side photo is hidden: text left, list right (as in the new design) ---------- */
.tp-main .split > .ph { display: none !important; }
.tp-main .split:has(> .ph) { grid-template-columns: minmax(0, 1fr); }
.tp-main .split:has(> .ph) > :not(.ph):has(> ul.ticks) {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px);
  grid-template-rows: auto auto auto auto 1fr; align-items: start;
}
.tp-main .split:has(> .ph) > :not(.ph):has(> ul.ticks) > * { grid-column: 1; }
.tp-main .split:has(> .ph) > :not(.ph):has(> ul.ticks) > ul.ticks { grid-column: 2; grid-row: 1 / 6; margin-top: 0; }
.tp-main .split:has(> .ph) > :not(.ph):has(> ul.ticks) > .faq { grid-column: 1 / -1; margin-top: 48px; }
.tp-main .split:has(> .ph) > :not(.ph):not(:has(> ul.ticks)) > :is(.eyebrow, h2, h3, .lead, p) { max-width: 760px; }
@media (max-width: 960px) {
  .tp-main .split:has(> .ph) > :not(.ph):has(> ul.ticks) { display: block; }
  .tp-main .split:has(> .ph) > :not(.ph):has(> ul.ticks) > ul.ticks { margin-top: 20px; }
}

/* Any other photo panel beside text (.g grids outside heroes). */
.tp-main .g > .ph:not(:has(.uicard, .chip)) { display: none !important; }
.tp-main .g:has(> .ph:not(:has(.uicard, .chip))) { grid-template-columns: minmax(0, 1fr); }

/* ---------- Call-to-action bands: solid ink with the blue glow instead of a photo ---------- */
.tp-main .band > img { display: none !important; }
.tp-main .band { min-height: 0; }
.tp-main .band::after { background: radial-gradient(ellipse 60% 120% at 100% 100%, rgba(43, 99, 242, .24), transparent 70%); }

/* ---------- Product cards: photo strip removed, logo and text remain ---------- */
.tp-main .pcard .im { display: none !important; }
