@charset "UTF-8";
.branch-page {
  --brand-green: #1a4d3a;
  --brand-green-dark: #0f3326;
  --brand-gold: #e3a72f;
  --brand-gold-light: #f6cd6b;
  --brand-cream: #faf7ee;
  --brand-cream-dark: #f1ecdb;
  --brand-text: #2b2b28;
  --brand-muted: #6b6b64;
  display: block;
  overflow-x: hidden;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--brand-text);
  background: #fff;
}
.branch-page .not-found-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100vh;
  height: 100dvh;
  text-align: center;
  padding: 24px;
}
.branch-page .loading-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 200px;
  text-align: center;
  padding: 40px 24px;
}
.branch-page .spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #e3e1d8;
  border-top-color: var(--brand-green);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.branch-page .intro-video-wrap {
  position: absolute;
  inset: 0;
  background: #000;
}
.branch-page .intro-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.branch-page .notice-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 24px 24px;
  overflow-y: auto;
  background: rgba(15, 51, 38, 0.65);
  animation: noticeOverlayFadeIn 0.25s ease;
}
@keyframes noticeOverlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.branch-page .notice-modal {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  animation: noticeModalPopIn 0.3s ease;
}
@keyframes noticeModalPopIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.branch-page .notice-modal-header {
  display: flex;
  justify-content: flex-end;
  padding: 10px 12px;
  border-bottom: 1px solid #ece9df;
  flex-shrink: 0;
}
.branch-page .notice-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--brand-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.branch-page .notice-modal-close:hover {
  background: var(--brand-cream-dark);
  color: var(--brand-text);
}
.branch-page .notice-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.branch-page .notice-modal-carousel {
  position: relative;
}
.branch-page .notice-modal-poster {
  display: none;
  border-radius: 8px;
  overflow: hidden;
}
.branch-page .notice-modal-poster.active {
  display: block;
  animation: noticePosterFadeIn 0.3s ease;
}
@keyframes noticePosterFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.branch-page .notice-modal-poster img {
  display: block;
  width: 100%;
}
.branch-page .notice-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #ece9df;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease;
}
.branch-page .notice-modal-nav:hover {
  background: #fff;
}
.branch-page .notice-modal-nav-prev {
  left: 10px;
}
.branch-page .notice-modal-nav-next {
  right: 10px;
}
.branch-page .notice-modal-placeholder {
  padding: 40px 40px 44px;
  text-align: center;
  background: linear-gradient(150deg, var(--brand-green-dark) 0%, var(--brand-green) 55%, var(--brand-gold) 140%);
  color: #fff;
}
.branch-page .notice-modal-poster-header {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  margin-bottom: 28px;
}
.branch-page .notice-modal-poster-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.branch-page .notice-modal-poster-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.branch-page .notice-modal-poster-logo i {
  font-size: 1.6rem;
  color: var(--brand-green);
}
.branch-page .notice-modal-poster-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.branch-page .notice-modal-poster-tagline {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.branch-page .notice-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-gold-light);
  margin-bottom: 12px;
}
.branch-page .notice-modal-headline {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.35;
}
.branch-page .notice-modal-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.branch-page .notice-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 600;
  font-size: 0.88rem;
}
.branch-page .notice-modal-badge i {
  color: var(--brand-gold-light);
  font-size: 1.05rem;
}
.branch-page .notice-modal-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
  font-size: 0.95rem;
}
.branch-page .notice-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 14px 18px;
  background: var(--brand-cream);
  border-top: 1px solid #ece9df;
  flex-shrink: 0;
}
.branch-page .notice-modal-dismiss {
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  background: #6b6b64;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.branch-page .notice-modal-dismiss:hover {
  background: #55554f;
}
.branch-page .site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.branch-page section {
  scroll-margin-top: 84px;
}
.branch-page a {
  text-decoration: none;
  color: inherit;
}
.branch-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
}
.branch-page .btn-primary {
  background: var(--brand-green);
  color: #fff;
}
.branch-page .btn-ghost {
  background: transparent;
  color: var(--brand-green-dark);
  border: 1.5px solid rgba(26, 77, 58, 0.3);
}
.branch-page .btn-ghost:hover {
  border-color: var(--brand-green);
  background: rgba(26, 77, 58, 0.06);
}
.branch-page .cms-welcome {
  padding: 56px 0;
  background: #fff;
}
.branch-page .cms-welcome .cms-rich {
  max-width: 900px;
  margin: 0 auto;
}
.branch-page .cms-rich {
  line-height: 1.75;
  color: var(--brand-text);
}
.branch-page .cms-rich p {
  margin: 0 0 0.9em;
}
.branch-page .cms-rich h2, .branch-page .cms-rich h3, .branch-page .cms-rich h4 {
  color: var(--brand-green-dark);
  margin: 1.2em 0 0.5em;
}
.branch-page .cms-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.branch-page .cms-rich a {
  color: var(--brand-green);
}
.branch-page .cms-rich ul, .branch-page .cms-rich ol {
  padding-left: 1.3em;
  text-align: left;
}
.branch-page .cms-rich blockquote {
  margin: 1em 0;
  padding: 10px 16px;
  border-left: 4px solid var(--brand-gold);
  background: var(--brand-cream);
}
.branch-page .about-cms {
  font-size: 1.08rem;
  max-height: 14em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, #000 75%, transparent);
}
.branch-page .banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.branch-page .notice-board-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: 14px auto;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(26, 77, 58, 0.25);
  color: var(--brand-green);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.branch-page .notice-board-all:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}
.branch-page .cms-news {
  padding: 64px 0;
  background: var(--brand-cream);
}
.branch-page .cms-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.branch-page .cms-news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  color: var(--brand-text);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.branch-page .cms-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
  color: var(--brand-text);
}
.branch-page .cms-news-image {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--brand-cream-dark);
}
.branch-page .cms-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.branch-page .cms-news-image.placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
}
.branch-page .cms-news-image.placeholder i {
  font-size: 44px;
  color: rgba(255, 255, 255, 0.75);
}
.branch-page .cms-news-type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.branch-page .cms-news-type.event {
  background: var(--brand-gold);
  color: var(--brand-green-dark);
}
.branch-page .cms-news-body {
  padding: 16px 18px 20px;
}
.branch-page .cms-news-body h3 {
  margin: 6px 0;
  font-size: 1.1rem;
  color: var(--brand-green-dark);
}
.branch-page .cms-news-body p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.branch-page .cms-news-date {
  font-size: 0.82rem;
  color: var(--brand-muted);
}
.branch-page .cms-section-cta {
  text-align: center;
  margin-top: 30px;
}
.branch-page .cms-reviews {
  padding: 64px 0;
  background: #fff;
}
.branch-page .cms-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.branch-page .cms-review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 24px;
  border-radius: 14px;
  background: var(--brand-cream);
  border: 1px solid var(--brand-cream-dark);
}
.branch-page .cms-review blockquote {
  flex: 1;
  margin: 12px 0 18px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--brand-text);
}
.branch-page .cms-review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.branch-page .cms-review figcaption img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.branch-page .cms-review figcaption strong {
  display: block;
  color: var(--brand-green-dark);
}
.branch-page .cms-review figcaption small {
  color: var(--brand-muted);
}
.branch-page .cms-review-stars {
  color: var(--brand-gold);
  font-size: 1.05rem;
}
.branch-page .cms-review-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.branch-page .cms-contact {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--brand-cream) 0%, #fff 100%);
}
.branch-page .cms-contact-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 860px) {
  .branch-page .cms-contact-row {
    grid-template-columns: 1fr;
  }
}
.branch-page .cms-contact-intro h2 {
  margin: 6px 0 10px;
  color: var(--brand-green-dark);
}
.branch-page .cms-contact-intro p {
  color: var(--brand-muted);
}
.branch-page .cms-contact-intro ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.branch-page .cms-contact-intro li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.branch-page .cms-contact-intro li i {
  color: var(--brand-green);
  font-size: 1.2rem;
}
.branch-page .cms-contact-form {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.branch-page .floating-whatsapp-btn {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 60;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.branch-page .floating-whatsapp-btn:hover {
  color: #fff;
  transform: scale(1.05);
}
.branch-page .about-read-more,
.branch-page .leadership-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--brand-green);
  font-weight: 600;
}
.branch-page .about-read-more:hover,
.branch-page .leadership-read-more:hover {
  color: var(--brand-green-dark);
}
.branch-page .floating-registration-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  border-radius: 10px 0 0 10px;
  background: var(--brand-gold);
  color: var(--brand-green-dark);
  border: 1.5px solid var(--brand-gold-light);
  border-right: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: -6px 6px 20px rgba(15, 51, 38, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.branch-page .floating-registration-btn i {
  font-size: 1.25rem;
}
.branch-page .floating-registration-btn span {
  writing-mode: vertical-rl;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.branch-page .floating-registration-btn:hover {
  background: var(--brand-gold-light);
  transform: translateY(-50%) translateX(-4px);
  box-shadow: -8px 8px 24px rgba(15, 51, 38, 0.34);
  color: var(--brand-green-dark);
}
@media (max-width: 640px) {
  .branch-page .floating-registration-btn {
    top: auto;
    bottom: 16px;
    right: 16px;
    transform: none;
    flex-direction: row;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    border-right: 1.5px solid var(--brand-gold-light);
    box-shadow: 0 8px 20px rgba(15, 51, 38, 0.35);
  }
  .branch-page .floating-registration-btn:hover {
    transform: translateY(-2px);
  }
  .branch-page .floating-registration-btn i {
    font-size: 1.15rem;
  }
  .branch-page .floating-registration-btn span {
    writing-mode: horizontal-tb;
    font-size: 0.85rem;
  }
}
.branch-page .banner {
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: flex;
  align-items: center;
  color: #fff;
  transition: height 0.4s ease;
}
.branch-page .banner-slides,
.branch-page .banner-slide {
  position: absolute;
  inset: 0;
  height: 100%;
}
.branch-page .banner-slide {
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.branch-page .banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.branch-page .banner-slide-photo {
  width: 100%;
  height: 100%;
  background-color: #123529;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.branch-page .banner-slide-illustration {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.branch-page .banner-slide-illustration i {
  font-size: 9rem;
  color: rgba(255, 255, 255, 0.18);
}
/* .branch-page .banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 51, 38, 0.35), rgba(15, 51, 38, 0.72));
} */
.branch-page .banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.branch-page .banner-nav:hover {
  background: rgba(255, 255, 255, 0.32);
}
.branch-page .banner-nav-prev {
  left: 20px;
}
.branch-page .banner-nav-next {
  right: 20px;
}
.branch-page .banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.branch-page .banner-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.branch-page .banner-dots button.active {
  background: var(--brand-gold);
  transform: scale(1.2);
}
.branch-page .banner-copy {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}
.branch-page .eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 10px;
}
.branch-page .banner-copy .eyebrow {
  color: var(--brand-gold-light);
}
.branch-page .banner-copy h1 {
  font-size: 2.6rem;
  margin: 0 0 10px;
}
.branch-page .banner-copy p {
  font-size: 1.05rem;
  margin: 0 0 8px;
  opacity: 0.9;
}
.branch-page .banner-location {
  display: flex;
  align-items: center;
  gap: 6px;
}
.branch-page .message-board {
  scroll-margin-top: 80px;
  padding: 64px 0;
  background: var(--brand-cream);
}
.branch-page .board-row {
  --board-height: 400px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.branch-page .board-row.single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  margin: 0 auto;
}
.branch-page .message-board-card {
  display: flex;
  flex-direction: column;
  height: var(--board-height);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 51, 38, 0.1);
}
.branch-page .message-board-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(120deg, var(--brand-green-dark), var(--brand-green));
  flex-shrink: 0;
}
.branch-page .message-board-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 16px 6px 13px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.branch-page .message-board-tab i {
  font-size: 1.35rem;
}
.branch-page .message-board-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.branch-page .message-board-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-bottom-color: var(--brand-gold);
}
.branch-page .message-board-panel {
  display: none;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 26px 30px;
}
.branch-page .message-board-panel.active {
  display: block;
  animation: messageBoardFadeIn 0.35s ease;
}
.branch-page .message-board-panel h3 {
  margin: 0 0 12px;
  color: var(--brand-green-dark);
  font-size: 1.15rem;
}
.branch-page .message-board-rich {
  font-size: 0.98rem;
  line-height: 1.75;
}
.branch-page .message-board-rich img {
  max-height: 180px;
  object-fit: cover;
}
.branch-page .message-board-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(26, 77, 58, 0.25);
  color: var(--brand-green);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.branch-page .message-board-more:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}
.branch-page .notice-board {
  display: flex;
  flex-direction: column;
  height: var(--board-height);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 51, 38, 0.1);
}
.branch-page .notice-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  background: linear-gradient(120deg, var(--brand-green-dark), var(--brand-green));
  color: #fff;
  flex-shrink: 0;
}
.branch-page .notice-board-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}
.branch-page .notice-board-header h3 i {
  color: var(--brand-gold-light);
  font-size: 1.3rem;
}
.branch-page .notice-board-count {
  min-width: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-gold);
  color: var(--brand-green-dark);
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
}
.branch-page .notice-board-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 6px 8px;
}
.branch-page .notice-board-list li + li {
  border-top: 1px solid #f1ecdb;
}
.branch-page .notice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 8px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--brand-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.branch-page .notice-item:hover,
.branch-page .notice-item:focus-visible {
  background: var(--brand-cream);
}
.branch-page .notice-date {
  flex-shrink: 0;
  width: 48px;
  padding: 6px 0;
  border-radius: 10px;
  background: var(--brand-cream-dark);
  border: 1px solid rgba(15, 51, 38, 0.08);
  text-align: center;
  line-height: 1.1;
}
.branch-page .notice-date strong {
  display: block;
  font-size: 1.15rem;
  color: var(--brand-green-dark);
}
.branch-page .notice-date span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-gold);
}
.branch-page .notice-text {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.branch-page .notice-new {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #d64545;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: 2px;
}
.branch-page .notice-arrow {
  flex-shrink: 0;
  color: var(--brand-muted);
  transition: transform 0.15s ease, color 0.15s ease;
}
.branch-page .notice-item:hover .notice-arrow {
  color: var(--brand-green);
  transform: translateX(3px);
}
@keyframes messageBoardFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.branch-page .message-board-panel p {
  color: var(--brand-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}
.branch-page .about {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--brand-cream) 0%, #fff 100%);
}
.branch-page .about-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.branch-page .about-quote-icon {
  display: block;
  font-size: 2.2rem;
  color: var(--brand-gold);
  opacity: 0.7;
  margin-bottom: 12px;
}
.branch-page .about p {
  color: var(--brand-text);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.75;
  margin: 0;
}
.branch-page .section-heading {
  text-align: center;
  margin-bottom: 40px;
}
.branch-page .section-heading h2 {
  font-size: 2rem;
  color: var(--brand-green-dark);
  margin: 8px 0 14px;
}
.branch-page .heading-underline {
  display: inline-block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--brand-gold);
}
.branch-page .text-accent {
  color: var(--brand-gold);
}
.branch-page .section-subtitle {
  max-width: 520px;
  margin: 0 auto;
  color: var(--brand-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.branch-page .events-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-gold);
}
.branch-page .leadership {
  padding: 72px 0;
  background: linear-gradient(135deg, #eef2ea 0%, var(--brand-cream-dark) 100%);
}
.branch-page .leadership-carousel {
  max-width: 900px;
  margin: 0 auto;
}
.branch-page .leadership-card {
  display: none;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 51, 38, 0.08);
  gap: 28px;
  align-items: stretch;
}
.branch-page .leadership-card.active {
  display: flex;
  animation: leadershipFadeIn 0.5s ease;
}
@keyframes leadershipFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.branch-page .leadership-photo-col {
  flex: 0 0 220px;
}
.branch-page .leadership-photo-frame {
  position: relative;
  height: 100%;
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--brand-cream-dark);
}
.branch-page .leadership-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.branch-page .leadership-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--brand-green);
}
.branch-page .leadership-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, var(--brand-green-dark), var(--brand-green));
  padding: 12px 14px;
  text-align: center;
}
.branch-page .leadership-content-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.branch-page .leadership-quote-icon {
  font-size: 1.6rem;
  color: var(--brand-gold);
  margin-bottom: 6px;
}
.branch-page .leadership-title {
  color: var(--brand-green-dark);
  font-size: 1.3rem;
  margin: 0 0 14px;
}
.branch-page .leadership-scroll {
  max-height: 220px;
  overflow-y: auto;
}
.branch-page .leadership-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brand-text);
  margin: 0;
}
.branch-page .leadership-name {
  font-weight: 700;
  color: #fff;
}
.branch-page .leadership-role {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.branch-page .toppers-birthdays {
  padding: 72px 0;
  background: linear-gradient(135deg, #fff8ec 0%, var(--brand-cream) 100%);
}
.branch-page .toppers-birthdays .site-container {
  max-width: 1320px;
}
.branch-page .tb-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}
.branch-page .tb-row.single {
  grid-template-columns: 1fr;
}
.branch-page .tb-col {
  scroll-margin-top: 84px;
}
.branch-page [id] {
  scroll-margin-top: 84px;
}
.branch-page .tb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  box-shadow: 0 4px 18px rgba(15, 51, 38, 0.08);
  box-sizing: border-box;
  overflow: hidden;
}
.branch-page .tb-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-gold));
}
.branch-page .tb-card .section-heading {
  margin-bottom: 20px;
}
.branch-page .tb-session-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-cream-dark);
  color: var(--brand-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(15, 51, 38, 0.1);
}
.branch-page .tb-session-badge i {
  color: var(--brand-gold);
}
.branch-page .topper-carousel {
  flex: 1;
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
}
.branch-page .topper-group-card {
  display: none;
}
.branch-page .topper-group-card.active {
  display: block;
  animation: topperFadeIn 0.5s ease;
}
@keyframes topperFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.branch-page .topper-group-title {
  display: table;
  margin: 0 auto 24px;
  color: var(--brand-green-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--brand-cream-dark);
  border: 1px solid rgba(15, 51, 38, 0.08);
}
.branch-page .topper-group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.branch-page .topper-profile {
  text-align: center;
  transition: transform 0.2s ease;
}
.branch-page .topper-profile:hover {
  transform: translateY(-4px);
}
.branch-page .topper-photo-ring {
  width: 116px;
  height: 116px;
  margin: 0 auto 16px;
  padding: 4px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));
  box-shadow: 0 6px 18px rgba(15, 51, 38, 0.15);
}
.branch-page .topper-photo-ring img,
.branch-page .topper-photo-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
}
.branch-page .topper-photo-ring img {
  object-fit: contain;
  object-position: center top;
  display: block;
}
.branch-page .topper-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--brand-green);
  background: var(--brand-cream-dark);
  box-sizing: border-box;
}
.branch-page .topper-profile-name {
  margin: 0 0 4px;
  color: var(--brand-green-dark);
  font-size: 1rem;
}
.branch-page .topper-profile-class {
  color: var(--brand-muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.branch-page .topper-profile-score {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}
.branch-page .birthday-grid {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 18px;
}
.branch-page .birthday-card {
  width: 190px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 22px 14px;
  box-shadow: 0 2px 8px rgba(15, 51, 38, 0.05);
  animation: birthdayFadeIn 0.5s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.branch-page .birthday-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(15, 51, 38, 0.12);
}
@keyframes birthdayFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.branch-page .birthday-photo-ring {
  width: 116px;
  height: 116px;
  margin: 0 auto 16px;
  padding: 4px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));
}
.branch-page .birthday-photo-ring img,
.branch-page .birthday-photo-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #fff;
  box-sizing: border-box;
}
.branch-page .birthday-photo-ring img {
  object-fit: contain;
  object-position: center top;
  display: block;
}
.branch-page .birthday-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--brand-gold);
  background: var(--brand-cream-dark);
}
.branch-page .birthday-name {
  font-weight: 700;
  color: var(--brand-green-dark);
}
.branch-page .birthday-class {
  font-size: 0.8rem;
  color: var(--brand-muted);
}
.branch-page .gallery {
  padding: 72px 0;
  background: linear-gradient(135deg, #eef2ea 0%, var(--brand-cream-dark) 100%);
}
.branch-page .gallery-carousel {
  position: relative;
}
.branch-page .gallery-grid {
  --gallery-cols: 4;
  --gallery-gap: 18px;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gallery-gap);
}
.branch-page .gallery-grid.active {
  display: flex;
  animation: galleryFadeIn 0.5s ease;
}
.branch-page .gallery-grid > .gallery-item {
  flex: 0 0 calc((100% - (var(--gallery-cols) - 1) * var(--gallery-gap)) / var(--gallery-cols));
  min-width: 0;
}
@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.branch-page .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--brand-green-dark);
  box-shadow: 0 2px 10px rgba(15, 51, 38, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.branch-page .gallery-nav:hover {
  background: var(--brand-cream-dark);
}
.branch-page .gallery-nav-prev {
  left: -20px;
}
.branch-page .gallery-nav-next {
  right: -20px;
}
.branch-page .gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.branch-page .gallery-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 51, 38, 0.18);
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.branch-page .gallery-dots button.active {
  background: var(--brand-gold);
  transform: scale(1.2);
}
.branch-page .gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
  background: #fff;
}
.branch-page .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.branch-page .gallery-item:hover img {
  transform: scale(1.06);
}
.branch-page .gallery-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(15, 51, 38, 0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.branch-page .gallery-item-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-cream-dark), #e4e9dc);
  font-size: 2.4rem;
  color: var(--brand-green);
  opacity: 0.6;
}
.branch-page .achievements {
  padding: 72px 0;
  background: linear-gradient(135deg, #eef2ea 0%, var(--brand-cream-dark) 100%);
}
.branch-page .achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}
.branch-page .achievement-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 51, 38, 0.05);
}
.branch-page .achievement-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
}
.branch-page .achievement-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-muted);
  margin-bottom: 6px;
}
.branch-page .achievement-title {
  font-weight: 600;
  color: var(--brand-green-dark);
  font-size: 0.95rem;
}
.branch-page .videos {
  padding: 72px 0;
  background: #fff;
}
.branch-page .video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.branch-page .video-card {
  width: 260px;
  cursor: pointer;
}
.branch-page .video-thumb {
  position: relative;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green));
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}
.branch-page .video-card:hover .video-thumb {
  transform: translateY(-4px);
}
.branch-page .video-thumb > i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.2);
}
.branch-page .video-play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.branch-page .video-play-button i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.branch-page .video-title {
  font-weight: 600;
  color: var(--brand-green-dark);
  text-align: center;
}
.branch-page .alumni {
  padding: 72px 0;
  background: #fff;
}
.branch-page .alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}
.branch-page .alumni-card {
  background: var(--brand-cream);
  border-radius: 14px;
  padding: 28px;
}
.branch-page .alumni-card i {
  font-size: 1.6rem;
  color: var(--brand-gold);
}
.branch-page .alumni-card p {
  font-style: italic;
  color: var(--brand-text);
  line-height: 1.6;
  margin: 12px 0 16px;
}
.branch-page .alumni-name {
  font-weight: 700;
  color: var(--brand-green-dark);
}
.branch-page .alumni-batch {
  font-size: 0.82rem;
  color: var(--brand-muted);
}
.branch-page .quick-links {
  padding: 32px 0;
  background: var(--brand-cream-dark);
}
.branch-page .quick-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}
.branch-page .quick-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--brand-green-dark);
  box-shadow: 0 2px 6px rgba(15, 51, 38, 0.06);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.branch-page .quick-link-card:hover {
  transform: translateY(-3px);
}
.branch-page .quick-link-card i {
  font-size: 1.4rem;
  color: var(--brand-gold);
}
.branch-page .events {
  padding: 72px 0;
  background: #fff;
}
.branch-page .event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px;
}
.branch-page .event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 51, 38, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.branch-page .event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(15, 51, 38, 0.14);
}
.branch-page .event-card-image {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.branch-page .event-card-image i {
  font-size: 3.4rem;
  color: rgba(255, 255, 255, 0.3);
}
.branch-page .event-card-location {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
}
.branch-page .event-card-location i {
  font-size: 0.85rem;
  color: var(--brand-gold);
}
.branch-page .event-card-body {
  padding: 20px 22px 24px;
}
.branch-page .event-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
  color: var(--brand-muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.branch-page .event-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.branch-page .event-card-meta i {
  color: var(--brand-gold);
}
.branch-page .event-card-body h3 {
  margin: 0 0 8px;
  color: var(--brand-green-dark);
  font-size: 1.1rem;
}
.branch-page .event-card-body p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
@media (max-width: 1300px) and (min-width: 601px) {
  .branch-page .banner-copy {
    padding-left: 84px;
    padding-right: 84px;
  }
}
@media (max-width: 1100px) {
  .branch-page .gallery-nav-prev {
    left: 4px;
  }
  .branch-page .gallery-nav-next {
    right: 4px;
  }
}
@media (max-width: 900px) {
  .branch-page .tb-row {
    grid-template-columns: 1fr;
  }
  .branch-page .board-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .branch-page .message-board-card {
    height: auto;
  }
  .branch-page .message-board-panel {
    max-height: 260px;
  }
  .branch-page .notice-board {
    height: 420px;
  }
  .branch-page .leadership-photo-col {
    flex-basis: 180px;
  }
  .branch-page .gallery-grid {
    --gallery-cols: 2;
  }
  .branch-page .gallery-item {
    height: 260px;
  }
  .branch-page .tb-session-badge {
    position: static;
    align-self: center;
    margin-bottom: 14px;
  }
  .branch-page .tb-card {
    padding: 24px 20px;
  }
}
@media (max-width: 600px) {
  .branch-page .site-container {
    padding: 0 16px;
  }
  .branch-page .banner-nav {
    display: none;
  }
  .branch-page .banner-copy {
    padding: 32px 0 48px;
  }
  .branch-page .banner-copy h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .branch-page .banner-copy p {
    font-size: 0.95rem;
  }
  .branch-page .banner-location {
    align-items: flex-start;
  }
  .branch-page .section-heading {
    margin-bottom: 28px;
  }
  .branch-page .section-heading h2 {
    font-size: 1.6rem;
  }
  .branch-page .message-board,
  .branch-page .leadership,
  .branch-page .toppers-birthdays,
  .branch-page .events,
  .branch-page .gallery,
  .branch-page .achievements,
  .branch-page .videos,
  .branch-page .alumni {
    padding: 48px 0;
  }
  .branch-page .about {
    padding: 40px 0;
  }
  .branch-page .about p {
    font-size: 1rem;
  }
  .branch-page .board-row {
    gap: 20px;
  }
  .branch-page .message-board-panel {
    padding: 20px;
  }
  .branch-page .notice-board {
    height: 380px;
  }
  .branch-page .notice-board-header {
    padding: 14px 16px;
  }
  .branch-page .notice-board-header h3 {
    font-size: 1rem;
  }
  .branch-page .notice-board-list {
    padding: 4px 6px;
  }
  .branch-page .notice-item {
    gap: 12px;
    padding: 12px 8px;
  }
  .branch-page .notice-date {
    width: 46px;
  }
  .branch-page .notice-date strong {
    font-size: 1.1rem;
  }
  .branch-page .notice-text {
    font-size: 0.9rem;
  }
  .branch-page .leadership-card {
    padding: 16px;
  }
  .branch-page .leadership-title {
    font-size: 1.1rem;
  }
  .branch-page .video-card {
    width: 100%;
    max-width: 360px;
  }
  .branch-page .quick-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .branch-page .quick-link-card {
    padding: 14px;
    font-size: 0.88rem;
  }
  .branch-page .notice-modal-overlay {
    padding: 24px 12px 12px;
  }
  .branch-page .notice-modal-placeholder {
    padding: 28px 20px 32px;
  }
  .branch-page .notice-modal-headline {
    font-size: 1.25rem;
  }
  .branch-page .leadership-card.active {
    flex-direction: column;
  }
  .branch-page .leadership-photo-col {
    flex: 0 0 auto;
    width: 100%;
  }
  .branch-page .leadership-photo-frame {
    min-height: 200px;
  }
  .branch-page .gallery-grid {
    --gallery-cols: 2;
    --gallery-gap: 10px;
  }
  .branch-page .gallery-item {
    height: 170px;
  }
  .branch-page .gallery-carousel {
    text-align: center;
  }
  .branch-page .gallery-nav {
    position: static;
    display: inline-flex;
    margin: 16px 8px 0;
  }
  .branch-page .topper-group-grid {
    gap: 8px;
  }
  .branch-page .topper-photo-ring {
    width: 78px;
    height: 78px;
    margin-bottom: 10px;
  }
  .branch-page .topper-profile-name {
    font-size: 0.85rem;
  }
  .branch-page .topper-profile-class {
    font-size: 0.78rem;
    margin-bottom: 6px;
  }
  .branch-page .topper-profile-score {
    padding: 3px 10px;
    font-size: 0.78rem;
  }
  .branch-page .birthday-card {
    width: 150px;
    padding: 16px 10px;
  }
  .branch-page .birthday-photo-ring {
    width: 68px;
    height: 68px;
  }
  .branch-page .message-board-tab {
    padding: 12px 4px 10px;
    font-size: 0.72rem;
  }
  .branch-page .message-board-tab i {
    font-size: 1.2rem;
  }
}

/* ------------------------------------------------------------------
 * Hand-written additions (not compiled from the Angular SCSS above)
 * ------------------------------------------------------------------ */

/* Review stars: the icon font has no filled variant, so empty stars are dimmed instead */
.branch-page .cms-review-stars i.is-empty {
  opacity: .25;
}

/* Contact Us form (ported from PublicContactFormComponent) */
.branch-page .cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.branch-page .cf-wide {
  grid-column: 1 / -1;
}

.branch-page .cf-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}

.branch-page .cf-field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-text);
}

.branch-page .cf-field em {
  color: #c0392b;
  font-style: normal;
}

.branch-page .cf-field input,
.branch-page .cf-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd8c7;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--brand-text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.branch-page .cf.compact .cf-field input,
.branch-page .cf.compact .cf-field textarea {
  padding: 9px 11px;
}

.branch-page .cf-field input:focus,
.branch-page .cf-field textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(26, 77, 58, .12);
}

.branch-page .cf-field input.invalid,
.branch-page .cf-field textarea.invalid {
  border-color: #d64545;
}

.branch-page .cf-field textarea {
  resize: vertical;
}

.branch-page .cf-field small {
  color: #d64545;
  font-size: 12px;
}

.branch-page .cf-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  font-size: 14px;
}

.branch-page .cf-alert.success {
  background: #e7f6ec;
  color: #1e7b45;
}

.branch-page .cf-alert.error {
  background: #fdecec;
  color: #b42318;
}

.branch-page .cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease;
}

.branch-page .cf-submit:hover {
  background: var(--brand-green-dark);
}

.branch-page .cf-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .branch-page .cf-grid {
    grid-template-columns: 1fr;
  }
}

/* School videos: a real YouTube thumbnail fills the card, with the play button on top */
.branch-page a.video-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.branch-page .video-thumb-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-page .video-card:hover .video-title {
  color: var(--brand-green);
}

/* Events: shown even when there are none coming up */
.branch-page .events-empty {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 20px;
  text-align: center;
  border: 1px dashed var(--brand-cream-dark);
  border-radius: 14px;
  background: var(--brand-cream);
  color: var(--brand-muted);
}

.branch-page .events-empty i {
  font-size: 2rem;
  color: var(--brand-gold);
}

.branch-page .events-empty p {
  margin: 8px 0 0;
}

/* Uploaded CMS banners carry their own artwork and text: no dark tint over them */
.branch-page .banner-overlay {
  transition: opacity .6s ease;
}

.branch-page .banner.is-plain .banner-overlay {
  opacity: 0;
}

/* Phones & tablets: the notice board only takes the height its notices need (up to 420px) */
@media (max-width: 900px) {
  .branch-page .notice-board {
    height: auto;
    max-height: 420px;
  }
}

/* Birthday photos fill the circle (the compiled style used "contain", which left gaps for non-square photos) */
.branch-page .birthday-photo-ring img {
  object-fit: cover;
}

/*
 * Academic Toppers & Today's Birthdays: equal halves, each up to 3 cards in a row.
 * Fewer than 3 cards keep their size and sit centred; more than 3 page through every 5s (branch.js).
 */
/* Side by side as equal halves from 992px; below that they stack. */
@media (min-width: 992px) {
  .branch-page .tb-row:not(.single) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.branch-page .topper-group-grid,
.branch-page .birthday-grid {
  --cards-gap: 18px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--cards-gap);
}

.branch-page .topper-profile,
.branch-page .birthday-card {
  flex: 0 1 calc((100% - 2 * var(--cards-gap)) / 3);
  min-width: 0;
  max-width: 220px;
  width: auto;
}

.branch-page .topper-profile:not([hidden]) {
  animation: birthdayFadeIn .5s ease;
}

.branch-page .birthday-name,
.branch-page .topper-profile-name {
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .branch-page .topper-group-grid,
  .branch-page .birthday-grid {
    --cards-gap: 8px;
  }

  .branch-page .birthday-card {
    padding: 14px 6px;
  }

  .branch-page .birthday-photo-ring {
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
  }

  .branch-page .birthday-photo-fallback {
    font-size: 1.4rem;
  }

  .branch-page .birthday-name {
    font-size: .85rem;
  }

  .branch-page .birthday-class {
    font-size: .75rem;
  }
}

/* In the narrower side-by-side halves the corner "Session" badge crowds the heading: put it above instead */
@media (max-width: 1199px) {
  .branch-page .tb-session-badge {
    position: static;
    align-self: center;
    margin-bottom: 14px;
  }
}

/* Academic Toppers: up to 3 in one row (fewer sit centred), photo scaled to the card, rank badge */
.branch-page .topper-group-grid {
  --cards-gap: 14px;
}

.branch-page .topper-profile {
  flex: 0 1 calc((100% - 2 * var(--cards-gap)) / 3);
  max-width: 150px;
}

.branch-page .topper-photo-wrap {
  position: relative;
  width: min(96px, 100%);
  margin: 0 auto 14px;
}

.branch-page .topper-photo-wrap .topper-photo-ring {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
}

.branch-page .topper-photo-ring img {
  object-fit: cover;
}

.branch-page .topper-rank {
  position: absolute;
  right: -2px;
  bottom: -2px;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-green);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(15, 51, 38, .25);
}

.branch-page .topper-profile:nth-child(1) .topper-rank {
  background: var(--brand-gold);
  color: var(--brand-green-dark);
}

.branch-page .topper-profile-name {
  font-size: .92rem;
  line-height: 1.3;
}

.branch-page .topper-profile-class {
  font-size: .8rem;
}

/* Phones: the toppers stay in one row too (compact cards, see the shared-design block below) */
@media (max-width: 600px) {
  .branch-page .topper-group-grid {
    --cards-gap: 6px;
    flex-wrap: nowrap;
  }

  .branch-page .topper-photo-wrap {
    width: min(76px, 100%);
    margin-bottom: 10px;
  }

  .branch-page .topper-rank {
    min-width: 24px;
    height: 24px;
    font-size: .7rem;
  }
}

/* ==================================================================
 * Academic Toppers & Happy Birthday — one shared design
 * Same card, heading, title pill, progress bar, student cards and dots.
 * ================================================================== */
.branch-page .tb-row {
  align-items: stretch;
}

.branch-page .tb-card {
  padding: 30px 26px 24px;
}

.branch-page .tb-card .section-heading {
  margin-bottom: 18px;
}

.branch-page .tb-card .eyebrow i {
  margin-right: 4px;
  color: var(--brand-gold);
}

/* Title pill: the class (toppers) or today's date (birthdays) */
.branch-page .tb-card .topper-group-title {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin: 0 auto 10px;
}

.branch-page .tb-card .topper-group-title i {
  color: var(--brand-gold);
}

/* 5-second bar under the title pill, refilling each time the cards change */
.branch-page .tb-progress {
  display: block;
  width: 120px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--brand-cream-dark);
  overflow: hidden;
}

.branch-page .tb-progress::after {
  content: '';
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-green));
  transform: scaleX(0);
  transform-origin: left;
}

.branch-page .tb-progress.is-running::after {
  animation: tbProgress 5s linear forwards;
}

@keyframes tbProgress {
  to {
    transform: scaleX(1);
  }
}

.branch-page .tb-card .topper-group-title + .topper-group-grid,
.branch-page .tb-card .topper-group-title + .birthday-grid {
  margin-top: 18px;
}

.branch-page .topper-carousel,
.branch-page .birthday-grid {
  flex: 0 0 auto;
}

/* Student cards — identical for toppers and birthdays */
.branch-page .topper-group-grid,
.branch-page .birthday-grid {
  --cards-gap: 14px;
  align-items: stretch;
}

.branch-page .topper-profile,
.branch-page .birthday-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 150px;
  padding: 18px 10px 16px;
  border: 1px solid var(--brand-border, #ece9df);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 51, 38, .06);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.branch-page .topper-profile:hover,
.branch-page .birthday-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 167, 47, .5);
  box-shadow: 0 10px 22px rgba(15, 51, 38, .12);
}

.branch-page .topper-photo-wrap,
.branch-page .birthday-photo-ring {
  width: min(84px, 100%);
  margin: 0 auto 12px;
}

.branch-page .birthday-photo-ring {
  height: auto;
  aspect-ratio: 1;
}

.branch-page .topper-profile-name,
.branch-page .birthday-name {
  margin: 0 0 3px;
  color: var(--brand-green-dark);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
}

.branch-page .topper-profile-class,
.branch-page .birthday-class {
  margin-bottom: 10px;
  color: var(--brand-muted);
  font-size: .8rem;
}

/* Bottom pill: the percentage (toppers) or "Today" (birthdays) */
.branch-page .topper-profile-score,
.branch-page .birthday-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}

/* The class topper (#1): gold card and a crown */
.branch-page .topper-profile.is-first {
  border-color: var(--brand-gold);
  background: linear-gradient(180deg, #fff8e6 0%, #fff 60%);
}

.branch-page .topper-crown {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--brand-green-dark);
  font-size: .9rem;
  box-shadow: 0 3px 8px rgba(227, 167, 47, .45);
}

/* Dots: which class / which group of birthdays is showing */
.branch-page .tb-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}

.branch-page .tb-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-cream-dark);
  transition: width .25s ease, background-color .25s ease;
}

.branch-page .tb-dots span.active {
  width: 22px;
  background: var(--brand-gold);
}

/* Side by side on smaller laptops: slightly smaller cards so 3 + 3 still fit */
@media (min-width: 992px) and (max-width: 1199px) {
  .branch-page .tb-card {
    padding: 26px 18px 20px;
  }

  .branch-page .topper-group-grid,
  .branch-page .birthday-grid {
    --cards-gap: 10px;
  }

  .branch-page .topper-profile,
  .branch-page .birthday-card {
    padding: 16px 6px 14px;
  }

  .branch-page .topper-photo-wrap,
  .branch-page .birthday-photo-ring {
    width: min(64px, 100%);
  }

  .branch-page .topper-profile-name,
  .branch-page .birthday-name {
    font-size: .82rem;
  }
}

/* Phones: toppers stay in one row (up to 3 cards), birthdays stay 3 across; smaller photos */
@media (max-width: 600px) {
  .branch-page .tb-card {
    padding: 24px 12px 20px;
  }

  .branch-page .topper-group-grid,
  .branch-page .birthday-grid {
    --cards-gap: 8px;
  }

  .branch-page .topper-group-grid {
    --cards-gap: 6px;
    flex-wrap: nowrap;
  }

  .branch-page .topper-profile,
  .branch-page .birthday-card {
    padding: 14px 4px 12px;
  }

  .branch-page .topper-photo-wrap,
  .branch-page .birthday-photo-ring {
    width: min(64px, 100%);
    height: auto;
  }

  .branch-page .topper-profile-name,
  .branch-page .birthday-name {
    font-size: .8rem;
  }

  .branch-page .topper-profile-class,
  .branch-page .birthday-class {
    font-size: .72rem;
  }

  .branch-page .topper-profile-score,
  .branch-page .birthday-tag {
    padding: 3px 8px;
    font-size: .7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .branch-page .tb-progress {
    display: none;
  }
}

/* Both rows use the card's full width, so student cards come out the same size in both sections */
.branch-page .topper-carousel,
.branch-page .topper-group-card,
.branch-page .birthday-grid {
  align-self: stretch;
  width: 100%;
}

.branch-page .topper-profile,
.branch-page .birthday-card {
  max-width: 180px;
}

/* Phones: 3 toppers side by side in one row — compact card content so they fit */
@media (max-width: 600px) {
  .branch-page .topper-profile {
    flex: 0 1 calc((100% - 2 * var(--cards-gap)) / 3);
    padding: 12px 3px 10px;
    border-radius: 10px;
  }

  .branch-page .topper-photo-wrap {
    width: min(46px, 100%);
    margin-bottom: 8px;
  }

  .branch-page .topper-rank {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    right: -5px;
    bottom: -3px;
    border-width: 1.5px;
    font-size: .6rem;
  }

  .branch-page .topper-crown {
    top: -10px;
    width: 20px;
    height: 20px;
    font-size: .7rem;
  }

  .branch-page .topper-photo-fallback {
    font-size: 1.1rem;
  }

  .branch-page .topper-profile-name {
    font-size: .68rem;
  }

  .branch-page .topper-profile-class {
    margin-bottom: 6px;
    font-size: .6rem;
  }

  .branch-page .topper-profile-score {
    padding: 2px 5px;
    font-size: .6rem;
  }
}

/* Phones: toppers share the one row evenly — 3 per row, as wide as the screen allows */
@media (max-width: 600px) {
  .branch-page .topper-profile,
  .branch-page .birthday-card {
    flex: 1 1 0;
    max-width: 140px;
  }

  .branch-page .topper-photo-wrap {
    width: min(64px, 72%);
  }

  .branch-page .topper-profile-name {
    font-size: .72rem;
  }
}

/*
 * Student cards (toppers & birthdays): Poppins type, bigger photos and placeholder icons,
 * the class as a soft pill and the session as a small gold tag beneath it.
 */
.branch-page .topper-profile,
.branch-page .birthday-card {
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
}

.branch-page .topper-photo-wrap,
.branch-page .birthday-photo-ring {
  width: min(104px, 86%);
  margin-bottom: 14px;
}

.branch-page .topper-photo-fallback,
.branch-page .birthday-photo-fallback {
  background: radial-gradient(circle at 50% 35%, #fffaf0 0%, var(--brand-cream-dark) 75%);
  font-size: 2.8rem;
}

.branch-page .topper-profile-name,
.branch-page .birthday-name {
  margin-bottom: 8px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
}

.branch-page .topper-profile-class,
.branch-page .birthday-class {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(26, 77, 58, .08);
  color: var(--brand-green);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.4;
}

.branch-page .topper-profile-class:has(+ .topper-profile-session) {
  margin-bottom: 6px;
}

.branch-page .topper-profile-session {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  color: #a8740f;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .02em;
}

.branch-page .topper-profile-session i {
  font-size: .85rem;
}

.branch-page .topper-profile-score,
.branch-page .birthday-tag {
  font-weight: 600;
  letter-spacing: .02em;
}

/* Smaller laptops (cards side by side in narrower halves) */
@media (min-width: 992px) and (max-width: 1199px) {
  .branch-page .topper-photo-wrap,
  .branch-page .birthday-photo-ring {
    width: min(88px, 86%);
  }

  .branch-page .topper-photo-fallback,
  .branch-page .birthday-photo-fallback {
    font-size: 2.3rem;
  }
}

/* Phones: 3 across, so everything a step smaller */
@media (max-width: 600px) {
  .branch-page .topper-photo-wrap,
  .branch-page .birthday-photo-ring {
    width: min(76px, 86%);
    margin-bottom: 10px;
  }

  .branch-page .topper-photo-fallback,
  .branch-page .birthday-photo-fallback {
    font-size: 2rem;
  }

  .branch-page .topper-profile-name,
  .branch-page .birthday-name {
    margin-bottom: 6px;
    font-size: .74rem;
  }

  .branch-page .topper-profile-class,
  .branch-page .birthday-class {
    padding: 2px 7px;
    font-size: .64rem;
  }

  .branch-page .topper-profile-class:has(+ .topper-profile-session) {
    margin-bottom: 4px;
  }

  .branch-page .topper-profile-session {
    margin-bottom: 8px;
    font-size: .62rem;
  }

  .branch-page .topper-profile-session i {
    font-size: .72rem;
  }
}

/*
 * Message board + notice board: the message board takes the larger share of the row (about 62/38),
 * and a tab whose CMS page has a Featured Image shows it on the left, like the leadership cards.
 */
@media (min-width: 901px) {
  .branch-page .board-row:not(.single) {
    --board-height: 460px;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    align-items: start;
  }

  /* The notice board is only as tall as its notices (up to the message board's height), not stretched to match it */
  .branch-page .board-row:not(.single) .notice-board {
    height: auto;
    max-height: var(--board-height);
  }

  .branch-page .board-row.single {
    --board-height: 460px;
    max-width: 1000px;
  }
}

.branch-page .message-board-panel.has-image.active {
  display: grid;
  grid-template-columns: minmax(240px, 40%) minmax(0, 1fr);
  gap: 26px;
  padding: 22px 26px 22px 22px;
  overflow: hidden;
}

.branch-page .message-board-image {
  align-self: start;
  height: min(300px, 100%);
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--brand-cream-dark);
  box-shadow: 0 8px 20px rgba(15, 51, 38, .14);
}

.branch-page .message-board-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.branch-page .message-board-panel.has-image .message-board-body {
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}

@media (max-width: 900px) {
  .branch-page .message-board-panel.has-image.active {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    max-height: none;
    padding: 20px;
  }

  .branch-page .message-board-image {
    height: 260px;
  }

  .branch-page .message-board-panel.has-image .message-board-body {
    max-height: 260px;
  }
}

/* Message board + notice board use the wide screen (the rest of the page stays at 1200px) */
.branch-page .message-board .site-container {
  max-width: 1440px;
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
}

/*
 * Notice board: a professional notices panel — header with subtitle and count, calendar-style date tiles,
 * semi-bold titles with a small "View attachment" / "Read more" line, round arrow buttons, gold hover accent.
 */
.branch-page .notice-board {
  border: 1px solid #ebe5d3;
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
}

.branch-page .notice-board-header {
  padding: 18px 20px;
}

.branch-page .notice-board-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.branch-page .notice-board-header h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.branch-page .notice-board-subtitle {
  padding-left: 30px;
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  font-weight: 400;
}

.branch-page .notice-board-count {
  flex-shrink: 0;
  padding: 5px 12px;
  border: 1px solid rgba(246, 205, 107, .6);
  background: rgba(227, 167, 47, .18);
  color: var(--brand-gold-light);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
}

.branch-page .notice-board-list {
  padding: 10px 12px 12px;
}

.branch-page .notice-board-list li + li {
  border-top: 0;
  margin-top: 8px;
}

.branch-page .notice-item {
  position: relative;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  border: 1px solid #f0ebdc;
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.branch-page .notice-item::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-gold);
  opacity: 0;
  transition: opacity .15s ease;
}

.branch-page .notice-item:hover,
.branch-page .notice-item:focus-visible {
  border-color: rgba(227, 167, 47, .55);
  background: #fffdf7;
  box-shadow: 0 6px 16px rgba(15, 51, 38, .08);
}

.branch-page .notice-item:hover::before,
.branch-page .notice-item:focus-visible::before {
  opacity: 1;
}

/* Calendar tile: month in a green band, the day beneath */
.branch-page .notice-date {
  display: flex;
  flex-direction: column-reverse;
  width: 52px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e3dcc6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 51, 38, .06);
}

.branch-page .notice-date span {
  display: block;
  padding: 3px 0;
  background: var(--brand-green);
  color: #fff;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.branch-page .notice-date strong {
  padding: 6px 0 5px;
  color: var(--brand-green-dark);
  font-size: 1.2rem;
  font-weight: 700;
}

.branch-page .notice-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.branch-page .notice-title {
  color: #1d1d1a;
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.4;
}

.branch-page .notice-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-muted);
  font-size: .76rem;
  font-weight: 500;
}

.branch-page .notice-meta i {
  color: var(--brand-gold);
  font-size: .9rem;
}

.branch-page .notice-item:hover .notice-meta {
  color: var(--brand-green);
}

.branch-page .notice-new {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .64rem;
  font-weight: 600;
  vertical-align: 1px;
}

.branch-page .notice-pinned {
  background: var(--brand-gold);
  color: var(--brand-green-dark);
}

/* Round arrow button */
.branch-page .notice-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-cream);
  color: var(--brand-green);
  font-size: .85rem;
}

.branch-page .notice-item:hover .notice-arrow {
  background: var(--brand-green);
  color: #fff;
  transform: none;
}

@media (max-width: 600px) {
  .branch-page .notice-board-header {
    padding: 14px 16px;
  }

  .branch-page .notice-board-subtitle {
    display: none;
  }

  .branch-page .notice-item {
    gap: 12px;
    padding: 10px 12px 10px 10px;
  }

  .branch-page .notice-date {
    width: 46px;
  }

  .branch-page .notice-title {
    font-size: .88rem;
  }
}

/* Message board and notice board share one look: same font, card border/shadow, green header and text colours */
.branch-page .message-board-card,
.branch-page .notice-board {
  --board-heading: var(--brand-green-dark);
  --board-text: #4a4a44;
  border: 1px solid #ebe5d3;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 51, 38, .1);
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
}

.branch-page .message-board-tabs,
.branch-page .notice-board-header {
  background: linear-gradient(120deg, var(--brand-green-dark), var(--brand-green));
}

.branch-page .message-board-tab {
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
}

.branch-page .message-board-tab i,
.branch-page .notice-board-header h3 i {
  color: var(--brand-gold-light);
}

.branch-page .message-board-tab:not(.active) i {
  opacity: .8;
}

.branch-page .message-board-panel h3 {
  color: var(--board-heading);
  font-size: 1.08rem;
  font-weight: 600;
}

.branch-page .message-board-panel p,
.branch-page .message-board-rich {
  color: var(--board-text);
  font-size: .93rem;
  line-height: 1.75;
}

.branch-page .notice-title {
  color: var(--board-heading);
}

.branch-page .notice-meta {
  color: var(--board-text);
}

/* Photo gallery: uses the wide screen (like the message board) with taller photos, so they show properly */
.branch-page .gallery .site-container {
  max-width: 1680px;
}

.branch-page .gallery-grid {
  --gallery-gap: 20px;
}

.branch-page .gallery-item {
  height: clamp(300px, 24vw, 400px);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 51, 38, .12);
}

.branch-page .gallery-caption {
  left: 12px;
  bottom: 12px;
  padding: 5px 12px;
  font-size: .8rem;
}

@media (max-width: 900px) {
  .branch-page .gallery-item {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .branch-page .gallery-grid {
    --gallery-gap: 10px;
  }

  .branch-page .gallery-item {
    height: 210px;
  }
}

/* ── Homepage slider: overlay, video slides, text position, buttons (CMS > Sliders) ───────────── */

/* Dark overlay so slide text stays readable. Slides with "Show text" off (data-plain → .is-plain)
   fade it out, so their image / video shows untouched. */
.branch-page .banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 36, 26, 0.82) 0%, rgba(8, 36, 26, 0.55) 55%, rgba(8, 36, 26, 0.35) 100%);
}

.branch-page .banner-slide-video {
  width: 100%;
  height: 100%;
  /* Whole frame always visible (never cropped, so people's heads aren't cut); branch.js sizes the banner to the video's own shape. */
  object-fit: contain;
  display: block;
  background: #123529;
}

/* Text block fills the banner; the position classes place it. */
.branch-page .banner-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-top: 48px;
  padding-bottom: 56px;
}
.branch-page .banner-copy[hidden] {
  display: none;
}
.branch-page .banner-copy > * {
  max-width: 760px;
}

/* Vertical */
.branch-page .banner-pos-top-left,
.branch-page .banner-pos-top-center,
.branch-page .banner-pos-top-right { justify-content: flex-start; }
.branch-page .banner-pos-bottom-left,
.branch-page .banner-pos-bottom-center,
.branch-page .banner-pos-bottom-right { justify-content: flex-end; }
/* Horizontal */
.branch-page .banner-pos-top-center,
.branch-page .banner-pos-center,
.branch-page .banner-pos-bottom-center { align-items: center; text-align: center; }
.branch-page .banner-pos-top-right,
.branch-page .banner-pos-middle-right,
.branch-page .banner-pos-bottom-right { align-items: flex-end; text-align: right; }

.branch-page .banner-copy .eyebrow {
  letter-spacing: 0.12em;
}
.branch-page .banner-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.branch-page .banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.branch-page .banner-pos-top-center .banner-actions,
.branch-page .banner-pos-center .banner-actions,
.branch-page .banner-pos-bottom-center .banner-actions { justify-content: center; }
.branch-page .banner-pos-top-right .banner-actions,
.branch-page .banner-pos-middle-right .banner-actions,
.branch-page .banner-pos-bottom-right .banner-actions { justify-content: flex-end; }

.branch-page .banner-btn-primary {
  padding: 12px 24px;
  background: var(--brand-gold, #e0a526);
  color: #1d2b22;
  border: 1.5px solid var(--brand-gold, #e0a526);
  box-shadow: 0 6px 18px rgba(224, 165, 38, 0.35);
}
.branch-page .banner-btn-primary:hover {
  filter: brightness(1.06);
  color: #1d2b22;
}
.branch-page .banner-btn-secondary {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.branch-page .banner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@media (max-width: 600px) {
  .branch-page .banner-copy {
    padding: 28px 16px 44px;
  }
  .branch-page .banner-btn-primary,
  .branch-page .banner-btn-secondary {
    padding: 10px 18px;
  }
}
