.an-page-header {
  padding: calc(var(--nav-h, 80px) + 4rem) 0 4rem;
  text-align: left;
  background: linear-gradient(180deg, #fff1f3 22%, #ffb3b3 100%, #ffffff 0%);
}

.an-page-header-inner {
  width: min(var(--max-w, 1200px), 100% - 2.5rem);
  margin-inline: auto;
}

.an-page-header .an-section-label {
  color: var(--burgundy, #6e3a43);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.an-page-header h1 {
  font-family: var(--font-display, serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--burgundy, #6e3a43);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.an-page-header p {
  font-size: 1.1rem;
  color: var(--burgundy-mid, #8c4e58);
}

.an-container {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

.an-info-container {
  max-width: var(--max-w, 1200px);
  margin: 40px auto 100px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 55px;
  opacity: 0;
  transform: translateY(15px);
  animation: mainFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mainFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.an-chair-row-card,
.an-member-card,
.an-design-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease, 
              border-color 0.3s ease, 
              background-color 0.3s ease;
}

.an-scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

.an-committee-grid-2col .an-member-card:nth-child(1) { transition-delay: 0.05s; }
.an-committee-grid-2col .an-member-card:nth-child(2) { transition-delay: 0.15s; }
.an-committee-grid-4col .an-member-card:nth-child(1) { transition-delay: 0.00s; }
.an-committee-grid-4col .an-member-card:nth-child(2) { transition-delay: 0.08s; }
.an-committee-grid-4col .an-member-card:nth-child(3) { transition-delay: 0.16s; }
.an-committee-grid-4col .an-member-card:nth-child(4) { transition-delay: 0.24s; }
.an-committee-grid-4col .an-member-card:nth-child(5) { transition-delay: 0.08s; }
.an-committee-grid-4col .an-member-card:nth-child(6) { transition-delay: 0.16s; }

.an-design-card {
  background: #ffffff;
  padding: 50px 45px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(110, 58, 67, 0.04);
  border: 1px solid rgba(110, 58, 67, 0.08);
}

.an-design-title {
  font-family: var(--font-display, serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy, #6e3a43);
  margin-top: 45px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border-bottom: 2px solid var(--grey-1, #f5f0f1);
  padding-bottom: 12px;
  letter-spacing: 0.5px;
}

.an-design-title:first-of-type {
  margin-top: 0;
}

.an-design-title i {
  color: var(--rose-deep, #a24857);
  background: var(--rose-pale, #fdf0f0);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.an-chairperson-row-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 50px auto;
}

.an-chair-row-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f8 100%);
  border: 1.5px solid var(--rose-light, #f8c4c5);
  padding: 35px 30px;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(110, 58, 67, 0.06);
  box-sizing: border-box;
  margin: 0 auto;
}

.an-chair-row-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(110, 58, 67, 0.12);
  border-color: var(--rose-deep, #a24857);
}

.an-chair-row-left {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.an-chair-row-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.an-chair-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  background: var(--burgundy, #6e3a43);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.an-chair-row-card .an-member-name {
  font-size: 1.35rem;
  text-align: center;
  color: var(--burgundy, #6e3a43);
}

.an-chair-row-card .an-member-photo-box {
  width: 220px;
  height: 260px;
  margin-bottom: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.an-committee-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.an-committee-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.an-member-card {
  background: #ffffff;
  border: 1px solid var(--grey-1, #ebdada);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
  padding: 24px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.an-member-card:hover { 
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(110, 58, 67, 0.08);
  border-color: var(--rose-light, #f8c4c5);
}

.an-member-photo-box {
  width: 100%;
  max-width: 210px;
  height: 240px;
  background-color: #fcf9f9;
  border-radius: 10px;
  margin-bottom: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--grey-2, #e0d8d8);
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.an-member-card:hover .an-member-photo-box {
  transform: scale(1.02);
}

.an-member-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.an-member-photo-box.no-photo {
  background: linear-gradient(135deg, #fdf8f8 0%, #f3e9ea 100%);
  border: 1px dashed var(--rose-light, #f8c4c5);
}

.an-no-photo-avatar {
  font-size: 3rem;
  color: var(--rose-deep, #a24857);
  opacity: 0.35;
}

.an-member-name {
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--burgundy, #6e3a43);
  line-height: 1.4;
  margin-top: 5px;
  padding: 0 5px;
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
}

.an-member-card:hover .an-member-name {
  color: var(--rose-deep, #a24857);
}

.an-design-card.an-light div.an-chair-row-card,
.an-design-card.an-light div.an-member-card {
  position: relative;
  overflow: hidden;
}

.an-design-card.an-light div.an-chair-row-card::after,
.an-design-card.an-light div.an-member-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
}

.an-design-card.an-light div.an-chair-row-card:hover::after,
.an-design-card.an-light div.an-member-card:hover::after {
  animation: shine 1.2s ease-in-out;
}

@keyframes shine {
  100% {
    left: 150%;
  }
}

@media (max-width: 1024px) {
  .an-committee-grid-4col {
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .an-page-header { padding-top: calc(var(--nav-h, 80px) + 40px); }
  .an-design-card { padding: 30px 20px; }

  .an-committee-grid-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .an-committee-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .an-chairperson-row-wrapper {
    max-width: 100%;
  }

  .an-chair-row-card .an-member-photo-box {
    width: 100%;
    max-width: 200px;
    height: 240px;
  }

  .an-committee-grid-4col {
    grid-template-columns: 1fr; 
    gap: 15px;
  }
  
  .an-member-photo-box {
        width: 100%;
        max-width: 200px;
        height: 230px;
  }
}