/* ===================== Sector Detail Page ===================== */

.sector-hero {
  background: linear-gradient(135deg, var(--ciawu-blue), var(--ciawu-red));
  color: #ffffff;
  padding: 4rem 0 3rem;
  text-align: center;
}

.sector-hero-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Use when there is NO icon in the hero (text only) */
.sector-hero-content.sector-hero-no-icon {
  grid-template-columns: 1fr;
  justify-content: center;   /* center horizontally */
  text-align: center;        /* center text (heading + button) */
}

.sector-hero-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

.sector-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
  border-left: none;
  padding-left: 0;
}

.sector-description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  opacity: 1;
}

/* Members section */
.sector-members {
  padding: 4rem 0;
  background: var(--bg-light);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.member-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.member-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.member-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.member-card h3 {
  color: var(--ciawu-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.sector-back {
  padding: 2rem 0;
  background: var(--ciawu-white);
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .sector-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sector-hero-content.sector-hero-no-icon {
    text-align: center;
    justify-content: center;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }
}
