.ifrt-photo-hero,
.ifrt-photo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  background: #101713;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26);
}

.ifrt-photo-hero { min-height: 460px; }
.ifrt-photo-hero img,
.ifrt-photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ifrt-photo-hero img { position: absolute; inset: 0; }
.ifrt-photo-hero::after,
.ifrt-photo-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(5, 11, 8, .88)); pointer-events: none; }
.ifrt-photo-hero figcaption,
.ifrt-photo-card figcaption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: grid; gap: 7px; padding: 30px; color: #fff; }
.ifrt-photo-hero figcaption span,
.ifrt-photo-card figcaption span { color: #9ee5ba; font-size: .73rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.ifrt-photo-hero figcaption strong,
.ifrt-photo-card figcaption strong { max-width: 31rem; font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.16; }
.ifrt-photo-hero figcaption small,
.ifrt-photo-card figcaption small { color: rgba(255, 255, 255, .72); font-size: .75rem; }

.ifrt-section--photos { background: #0c1511; color: #fff; }
.ifrt-section--photos h2 { color: #fff; }
.ifrt-photo-intro { max-width: 52rem; color: rgba(255, 255, 255, .7); }
.ifrt-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.ifrt-photo-card { min-height: 390px; border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.ifrt-photo-card--wide { grid-column: span 2; min-height: 480px; }
.ifrt-photo-card--wide img { object-position: center 45%; }
.ifrt-photo-card:last-child img { object-position: center 48%; }

.ifrt-independence { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.4fr); gap: 28px; align-items: start; margin-top: 28px; padding: 30px; border-radius: 24px; background: #101713; color: #fff; }
.ifrt-independence strong { color: #9ee5ba; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.25; }
.ifrt-independence p { margin: 0; color: rgba(255, 255, 255, .76); }
.ifrt-level-note { margin-top: 26px; padding: clamp(24px, 4vw, 42px); border-left: 5px solid #79c596; border-radius: 0 24px 24px 0; background: #101713; color: #fff; }
.ifrt-level-note h3 { margin: 0 0 18px; color: #fff; font-size: clamp(1.2rem, 2vw, 1.65rem); }
.ifrt-level-note ul { margin: 0; padding-left: 1.25rem; color: rgba(255, 255, 255, .78); }
.ifrt-level-note li + li { margin-top: 12px; }
.ifrt-section--legacy { background: linear-gradient(135deg, #16221c 0%, #0c1511 100%); color: #fff; }
.ifrt-section--legacy h2,
.ifrt-section--legacy h3 { color: #fff; }
.ifrt-section--legacy .ifrt-parts article { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); }
.ifrt-section--legacy .ifrt-parts p { color: rgba(255, 255, 255, .7); }
.ifrt-section--sustainability { background: #dff0e5; }
.ifrt-section--sustainability .ifrt-parts article { border-color: rgba(31, 122, 92, .2); background: rgba(255, 255, 255, .7); }
.ifrt-sustainability__close { max-width: 58rem; margin: 30px 0 0; padding: 24px 28px; border-left: 5px solid #1f7a5c; border-radius: 0 18px 18px 0; background: #fff; color: #26352c; font-weight: 720; }
.ifrt-credits { margin-top: 18px; font-size: .8rem; }
.ifrt-credits summary { cursor: pointer; font-weight: 800; }
.ifrt-credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 760px) {
  .ifrt-photo-hero { min-height: 420px; }
  .ifrt-photo-grid { grid-template-columns: 1fr; }
  .ifrt-photo-card,
  .ifrt-photo-card--wide { grid-column: auto; min-height: 390px; }
  .ifrt-photo-card:last-child { min-height: 480px; }
  .ifrt-independence { grid-template-columns: 1fr; }
}

/* v2.1: escape the theme's 620px constrained block while retaining the 1180px inner wrap. */
body.intentforce-robot-team-page .wp-block-post-content > .ifrt-page,
body.intentforce-robot-team-page .ifrt-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
