/* Full Width page template: people cards for Management / Production Team style pages.
   Works with the block markup (columns, image, heading) that comes from the existing site. */

.page-content-wrap--full{display:block;width:min(1180px,calc(100% - 48px));margin:45px auto 70px}
.page-full .entry-content{font-size:15px}
.page-full .entry-content>p:first-child{max-width:720px;font-size:17px;line-height:1.7;color:var(--muted);margin-top:0}

/* Small red section label (e.g. "People behind Joburgtv") */
.page-full .entry-content h4.wp-block-heading{margin:0 0 20px;font-size:12px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:var(--red)}

/* Rows of people: two cards per row on desktop, one on mobile */
.page-full .wp-block-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch!important;margin:0 0 24px}
.page-full .wp-block-columns>.wp-block-column{align-self:stretch!important;margin-top:0;margin-bottom:0}
.page-full .wp-block-columns:has(>.wp-block-column:only-child){grid-template-columns:minmax(0,1fr)}

/* Each column is a card. !important beats the white "has-background" colour baked into the content, so dark mode works. */
.page-full .wp-block-column{flex-basis:auto!important;min-width:0;padding:26px;background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.page-full .wp-block-column:only-child>*{max-width:860px}
.page-full .wp-block-column:empty{display:none}

/* Photos: consistent portrait crop, left aligned */
.page-full .wp-block-image{margin:0 0 16px}
.page-full .wp-block-image figure,.page-full .wp-block-image .aligncenter{display:block;margin:0}
.page-full .wp-block-image img{display:block;width:100%!important;max-width:260px;height:auto!important;aspect-ratio:3/4;object-fit:cover;border-radius:8px}

/* Names, roles, bios */
.page-full .wp-block-column h2,.page-full .wp-block-column h3{margin:4px 0 8px;font-size:22px;line-height:1.2;letter-spacing:-.4px;color:var(--text)}
.page-full .wp-block-column p{margin:0 0 12px;font-size:14px;line-height:1.75;color:var(--muted)}
.page-full .wp-block-column p.gb-text{font-size:13px;font-weight:800;letter-spacing:.4px;color:var(--red)}
.page-full .wp-block-column a{color:var(--red)}

/* Spacers between profiles inside a single card */
.page-full .wp-block-spacer{height:26px!important;border-bottom:1px solid var(--line);margin-bottom:26px}

@media(max-width:760px){
  .page-content-wrap--full{width:calc(100% - 32px);margin:30px auto 50px}
  .page-full .wp-block-columns{grid-template-columns:minmax(0,1fr);gap:18px}
  .page-full .wp-block-column{padding:20px}
}
