/* ========================= PAGE BANNER ========================= */
.about-banner {
  background-image: url('images/bg_tile.png');
  background-size: 300px;
  background-repeat: repeat;
  background-color: var(--tan);
  padding: 36px 48px;
}

.about-banner h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
  margin: 0;
}

/* ========================= SHARED CONTAINER ========================= */
.about-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

/* ========================= SHARED SECTION HEADING ========================= */
.about-section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.about-section-heading h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}

.about-section-heading p {
  font-size: 14px;
  color: #888;
}

/* ========================= ORIGAMI MASTERS SECTION ========================= */
.origami-masters-section {
  background: var(--white);
  padding: 70px 20px 80px;
}

/* 2-column centered grid */
.origami-masters-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

/* Individual origami master card */
.origami-master-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Sepia circle portrait */
.master-circle-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
}

.master-circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(40%) contrast(0.95);
}

.origami-master-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.origami-master-card p {
  font-size: 13px;
  color: #888;
}

/* ========================= SCHOOL MASTERS SECTION ========================= */
.school-masters-section {
  background: var(--paper);
  padding: 70px 20px 80px;
}

/* Side-by-side: big portrait left, 2x2 grid right */
.school-masters-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 250px;
}

/* ── Headmaster (left) ── */
.headmaster-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.headmaster-img-wrap {
  width: 350px;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

.headmaster-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.headmaster-block h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.headmaster-block p {
  font-size: 13px;
  color: #888;
}

/* ── 2x2 circle grid (right) ── */
.school-masters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 100px;
  align-self: center;
}

/* Individual school master card */
.school-master-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

/* Circle image with hover ring */
.school-master-circle {
  width: 110px;
  height: 110px;
  border-radius: 150%;
  overflow: hidden;
  margin-bottom: 12px;

  /* Default: transparent border placeholder so layout doesn't shift */
  outline: 5px solid transparent;
  outline-offset: 0px;

  transition: outline-color 0.2s ease;
}

/* Hover: pink ring appears */
.school-master-card:hover .school-master-circle {
  outline-color: var(--hot-pink);
}

.school-master-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.school-master-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.school-master-card p {
  font-size: 12px;
  color: #888;
}