.inner-header {
  position: relative;
  background: #080808;
}
.page-hero {
  padding: 190px 0 80px;
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
}
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("wise-brand-background.webp") right top/cover no-repeat;
  opacity: 0.11;
}
.page-hero .wrap {
  position: relative;
}
.page-hero h1 {
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  margin: 0;
  max-width: 900px;
}
.page-hero p:last-child {
  color: #aaa;
  max-width: 670px;
  font-size: 1.1rem;
  margin: 25px 0 0;
}
.subpage {
  padding: 100px 0;
}
.subpage.light {
  background: #f4f3f1;
  color: #101010;
}
.subpage.dark {
  background: #0b0b0b;
}
.page-title {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 45px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.profile {
  border: 1px solid #d2d2d2;
  background: #fff;
}
.portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #111, #292929);
  display: grid;
  place-items: center;
  color: #ff5a00;
  font-size: 4rem;
  font-weight: 900;
  position: relative;
  overflow: hidden;
}
.portrait:after {
  content: "WISE";
  position: absolute;
  bottom: 16px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #888;
}
.profile-info {
  padding: 24px;
}
.profile-info .role {
  color: #ff5a00;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.profile-info h2 {
  font-size: 1.25rem;
  margin: 8px 0;
}
.profile-info p {
  font-size: 0.86rem;
  color: #666;
  margin: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.gallery-card {
  grid-column: span 4;
  background: #151515;
  border: 1px solid #303030;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  margin: 0;
}
.gallery-card.wide {
  grid-column: span 8;
}
.gallery-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("wise-brand-background.webp") center/cover;
  opacity: 0.1;
}
.gallery-card .gallery-feature {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #ff5a00;
  font-size: clamp(1.2rem, 2.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-align: center;
}
.gallery-intro {
  margin-bottom: 30px;
}
.gallery-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}
.gallery-intro p {
  color: #999;
}
.gallery-card figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  right: 20px;
  color: #fff;
  font-weight: 800;
}
.events-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.event-section h2 {
  font-size: 2.2rem;
  border-bottom: 1px solid #333;
  padding-bottom: 18px;
}
.event-card {
  border: 1px solid #333;
  margin-top: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
}
.event-date {
  border-right: 1px solid #333;
  color: #ff5a00;
  font-weight: 900;
  line-height: 1.2;
}
.event-date span {
  display: block;
  color: #888;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.event-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.event-card p {
  color: #888;
  font-size: 0.87rem;
  margin: 0;
}
.empty-event {
  border: 1px dashed #555;
  padding: 34px;
  margin-top: 16px;
  color: #999;
}
.events-admin {
  margin-top: 60px;
  background: #f4f3f1;
  color: #111;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.events-admin ul {
  margin: 0;
  padding-left: 20px;
  color: #555;
}
.active {
  color: #ff5a00 !important;
}
@media (max-width: 1000px) {
  .navlinks {
    gap: 18px;
    font-size: 0.76rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .page-hero {
    padding-top: 160px;
  }
  .events-layout,
  .events-admin {
    grid-template-columns: 1fr;
  }
  .gallery-card,
  .gallery-card.wide {
    grid-column: span 6;
  }
}
@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card,
  .gallery-card.wide {
    grid-column: span 12;
  }
  .event-card {
    grid-template-columns: 65px 1fr;
  }
  .subpage {
    padding: 70px 0;
  }
}
