/* Shared site polish for Glimmer Grove Academy / 拾光中文学校. */
body {
  color: #22332b;
  letter-spacing: 0;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.language-switcher .lang-sep {
  display: inline-block;
  line-height: 1;
  padding: 0 .2rem;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  padding: 0 .4rem;
  height: 100%;
}

.brand .title {
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .3);
}

.brand .description {
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .32);
}

.cover-btns .btn,
.sunny-primary {
  background: #f6b940;
  color: #17251f;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(69, 54, 23, .22);
}

.sunny-secondary {
  background: #1f8f71;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
}

.sunny-home {
  background: transparent;
}

.sunny-section {
  padding: 72px 0;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(1px);
}

.sunny-intro {
  margin-top: -12px;
}

.sunny-kicker,
.sunny-section-head p {
  color: #1f8f71;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.sunny-intro h1,
.sunny-section h2 {
  color: #182a22;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 18px;
}

.sunny-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.sunny-lead,
.sunny-section p {
  color: #4f645b;
  font-size: 1.06rem;
  line-height: 1.75;
}

.sunny-lead {
  max-width: 820px;
}

.sunny-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.sunny-grid {
  display: grid;
  gap: 22px;
}

.sunny-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sunny-grid article,
.sunny-note-card,
.sunny-timeline {
  background: rgba(255, 255, 255, .94);
  border: 1px solid #dce9e1;
  border-radius: 8px;
  box-shadow: 0 16px 35px rgba(31, 78, 63, .08);
  padding: 28px;
}

.sunny-grid i,
.sunny-note-card i {
  align-items: center;
  background: #e7f5ee;
  border-radius: 50%;
  color: #1f8f71;
  display: inline-flex;
  font-size: 1.5rem;
  height: 52px;
  justify-content: center;
  margin-bottom: 16px;
  width: 52px;
}

.sunny-grid h3,
.sunny-note-card h3 {
  color: #1c3027;
  font-size: 1.28rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.sunny-program-preview {
  background: rgba(238, 248, 241, .82);
}

.sunny-section-head {
  margin-bottom: 30px;
  max-width: 760px;
}

.sunny-split {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
}

.sunny-split.reverse {
  grid-template-columns: minmax(320px, .86fr) minmax(0, 1fr);
}

.sunny-schedule {
  background: rgba(255, 247, 231, .82);
}

.sunny-timeline div {
  border-left: 4px solid #f6b940;
  padding: 6px 0 18px 18px;
}

.sunny-timeline div:last-child {
  padding-bottom: 6px;
}

.sunny-timeline strong,
.sunny-timeline span {
  display: block;
}

.sunny-timeline strong {
  color: #1c3027;
  font-size: 1.05rem;
}

.sunny-timeline span {
  color: #587068;
}

.sunny-teachers-preview {
  background: rgba(255, 255, 255, .84);
}

.sunny-text-link {
  color: #1f8f71;
  display: inline-block;
  font-weight: 800;
  margin-top: 12px;
}

.sunny-cta {
  background: rgba(24, 67, 55, .92);
  color: #fff;
  text-align: center;
}

.sunny-cta h2,
.sunny-cta p {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

.sunny-page .card-content {
  color: #344a41;
  font-size: 1.04rem;
  line-height: 1.75;
}

.sunny-page h2,
.sunny-page h3 {
  color: #18352b;
  font-weight: 800;
}

.sunny-page table {
  background: #fff;
  border: 1px solid #dce9e1;
  border-radius: 8px;
  display: block;
  overflow-x: auto;
}

.sunny-page th {
  background: #e7f5ee;
  color: #17352b;
}

.sunny-page th,
.sunny-page td {
  padding: 14px 16px;
}

/* Personnel placeholder profiles. */
.personnel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0 36px;
}

.personnel-card {
  overflow: hidden;
  border: 1px solid rgba(36, 58, 47, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(35, 48, 40, 0.08);
}

.personnel-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef4df 0%, #d8e3c6 50%, #f7e6b2 100%);
  color: #5f6d45;
  font-weight: 700;
  letter-spacing: 0;
}

.personnel-body {
  padding: 20px;
}

.personnel-role {
  margin: 0 0 8px;
  color: #9c7929;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.personnel-body h3 {
  margin: 0 0 10px;
  color: #22332b;
  font-size: 1.25rem;
}

.personnel-body p {
  margin: 0;
  color: #53665d;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .sunny-grid.three,
  .sunny-split,
  .sunny-split.reverse,
  .personnel-grid {
    grid-template-columns: 1fr;
  }

  .sunny-section {
    padding: 48px 0;
  }
}

@media (max-width: 600px) {
  .sunny-intro h1,
  .sunny-section h2 {
    font-size: 2rem;
  }

  .sunny-grid article,
  .sunny-note-card,
  .sunny-timeline {
    padding: 22px;
  }
}

/* Keep academy homepage readable even when the legacy theme DarkMode is active. */
body.DarkMode .sunny-home,
body.DarkMode .sunny-section,
body.DarkMode .sunny-grid article,
body.DarkMode .sunny-note-card,
body.DarkMode .sunny-timeline,
body.DarkMode .personnel-card {
  background-color: rgba(255, 255, 255, .88) !important;
  color: #22332b !important;
}

body.DarkMode .sunny-program-preview {
  background-color: rgba(238, 248, 241, .84) !important;
}

body.DarkMode .sunny-schedule {
  background-color: rgba(255, 247, 231, .84) !important;
}

body.DarkMode .sunny-cta {
  background-color: rgba(24, 67, 55, .92) !important;
}

body.DarkMode .sunny-intro h1,
body.DarkMode .sunny-section h2,
body.DarkMode .sunny-grid h3,
body.DarkMode .sunny-note-card h3,
body.DarkMode .sunny-timeline strong,
body.DarkMode .personnel-body h3 {
  color: #182a22 !important;
}

body.DarkMode .sunny-lead,
body.DarkMode .sunny-section p,
body.DarkMode .sunny-timeline span,
body.DarkMode .personnel-body p,
body.DarkMode .sunny-page .card-content,
body.DarkMode .sunny-page li,
body.DarkMode .sunny-page td {
  color: #4f645b !important;
}

body.DarkMode .sunny-kicker,
body.DarkMode .sunny-section-head p,
body.DarkMode .sunny-text-link {
  color: #1f8f71 !important;
}

body.DarkMode .sunny-cta h2,
body.DarkMode .sunny-cta p,
body.DarkMode .sunny-secondary {
  color: #fff !important;
}

body.DarkMode .sunny-primary {
  color: #17251f !important;
}

/* Contact inquiry form. */
.inquiry-panel {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid #dce9e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 35px rgba(31, 78, 63, .08);
}

.inquiry-panel h3 {
  margin-top: 0;
  color: #18352b;
  font-weight: 800;
}

.inquiry-panel p {
  text-align: left;
  color: #4f645b;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: 22px;
}

.inquiry-form label {
  display: block;
  color: #22332b;
  font-weight: 700;
}

.inquiry-form label span {
  display: block;
  margin-bottom: 7px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbdcd2;
  border-radius: 6px;
  background: #fff;
  color: #22332b;
  font: inherit;
  padding: 10px 12px;
}

.tour-panel .inquiry-form select {
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #9b6a09;
  background-color: #f6b940;
  background-image:
    linear-gradient(45deg, transparent 50%, #18352b 50%),
    linear-gradient(135deg, #18352b 50%, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, .55), rgba(255, 255, 255, .55));
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 15px) 50%,
    calc(100% - 46px) 50%;
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px, 1px 28px;
  color: #000 !important;
  font-size: 1.03rem;
  font-weight: 900;
  cursor: pointer;
  min-height: 52px;
  padding: 12px 58px 12px 14px;
  box-shadow: 0 10px 22px rgba(104, 71, 7, .18);
}

.tour-panel .inquiry-form select:invalid {
  color: #000 !important;
}

.tour-panel .inquiry-form select option {
  background: #fffdf2;
  color: #000 !important;
  font-weight: 800;
}

.inquiry-form textarea {
  min-height: 140px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: #1f8f71;
  box-shadow: 0 0 0 3px rgba(31, 143, 113, .14);
  outline: none;
}

.tour-panel .inquiry-form select:focus {
  border-color: #18352b;
  background-color: #ffd66a;
  box-shadow: 0 0 0 4px rgba(246, 185, 64, .32), 0 12px 24px rgba(104, 71, 7, .18);
}

.inquiry-form .inquiry-full,
.inquiry-form button {
  grid-column: 1 / -1;
}

.inquiry-form button {
  justify-self: start;
  min-width: 150px;
}

.inquiry-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: -4px 0 0;
  color: #4f645b;
  font-weight: 700;
}

.inquiry-status.success {
  color: #1f7a5d;
}

.inquiry-status.error {
  color: #b43b2f;
}

.tour-panel {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.tour-window-note {
  padding: 12px 14px;
  border: 1px solid rgba(246, 185, 64, .45);
  border-radius: 8px;
  background: rgba(255, 248, 226, .82);
  color: #2a3d34 !important;
  font-weight: 800;
}

.inquiry-form button:disabled {
  cursor: wait;
  opacity: .72;
}

body.DarkMode .inquiry-panel,
body.DarkMode .inquiry-form input,
body.DarkMode .inquiry-form select,
body.DarkMode .inquiry-form textarea {
  background: rgba(255, 255, 255, .96) !important;
  color: #22332b !important;
}

body.DarkMode .tour-panel .inquiry-form select,
body.DarkMode .tour-panel .inquiry-form select option {
  color: #000 !important;
}

body.DarkMode .inquiry-form label,
body.DarkMode .inquiry-panel h3 {
  color: #18352b !important;
}

body.DarkMode .inquiry-panel p {
  color: #4f645b !important;
}

@media (max-width: 700px) {
  .inquiry-panel {
    padding: 22px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }
}

/* Personnel real profile photos. */
.personnel-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Body logo block for Join and Contact pages. */
.content-logo-block {
  display: flex;
  justify-content: center;
  margin: 8px 0 26px;
}

.content-logo-block img {
  width: min(180px, 46vw);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(35, 48, 40, .12);
}

body.DarkMode .content-logo-block img {
  background: rgba(255, 250, 240, .92);
}

/* Collapsible teacher bios and enrollment links. */
.personnel-details summary {
  cursor: pointer;
  color: #22332b;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  list-style-position: outside;
}

.personnel-details[open] summary {
  margin-bottom: 12px;
}

.personnel-details p + p {
  margin-top: 12px;
}

.enrollment-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 28px;
}

.enrollment-links .btn {
  height: auto;
  min-height: 42px;
  line-height: 1.35;
  padding: 11px 18px;
  text-transform: none;
  white-space: normal;
}

/* Homepage calligraphy showcase. */
.sunny-calligraphy {
  background: #fffaf0;
  padding-top: 56px;
  padding-bottom: 56px;
}

.calligraphy-showcase {
  margin: 0;
}

.calligraphy-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border: 10px solid rgba(236, 220, 188, .85);
  border-radius: 8px;
  background: #f8f3e8;
  box-shadow: 0 18px 44px rgba(36, 45, 35, .16);
}

.calligraphy-showcase figcaption {
  margin-top: 14px;
  color: #596b60;
  font-size: .96rem;
  text-align: center;
}

body.DarkMode .sunny-calligraphy {
  background: #fffaf0 !important;
}

body.DarkMode .calligraphy-showcase figcaption {
  color: #40564b !important;
}

.sunny-announcement {
  background: #f7f2e8;
}

.sunny-announcement-card {
  background: #fffdf7;
  border: 1px solid rgba(142, 121, 72, 0.22);
  border-left: 5px solid #d7a72f;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(42, 55, 35, 0.1);
  padding: clamp(24px, 4vw, 42px);
}

.sunny-announcement-card h2 {
  margin-top: 8px;
}
.sunny-announcement-card + .sunny-announcement-card {
  margin-top: 22px;
}

.sunny-daycamp-card {
  border-left-color: #1f8f71;
}


.sunny-announcement-card .enrollment-links {
  margin-top: 24px;
}

body.DarkMode .sunny-announcement {
  background: #23261f;
}

body.DarkMode .sunny-announcement-card {
  background: #2d3028;
  border-color: rgba(231, 193, 91, 0.35);
}

.enrollment-link-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 34px;
}

.enrollment-link-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  min-height: 116px;
  padding: 20px;
  border: 1px solid rgba(142, 121, 72, 0.22);
  border-radius: 8px;
  background: #fffdf7;
  color: #25362d;
  box-shadow: 0 12px 28px rgba(42, 55, 35, 0.08);
}

.enrollment-link-card:hover {
  color: #25362d;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(42, 55, 35, 0.13);
}

.enrollment-link-card i {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0d78b;
  color: #31412f;
  font-size: 1.15rem;
}

.enrollment-link-card span {
  font-weight: 800;
  line-height: 1.3;
}

.enrollment-link-card small {
  color: #667368;
  line-height: 1.45;
}

body.DarkMode .enrollment-link-card {
  background: #2d3028;
  border-color: rgba(231, 193, 91, 0.35);
  color: #f6f1e6;
}

body.DarkMode .enrollment-link-card:hover {
  color: #f6f1e6;
}

body.DarkMode .enrollment-link-card small {
  color: #d2c8b5;
}

@media only screen and (max-width: 900px) {
  .enrollment-link-cards {
    grid-template-columns: 1fr;
  }
}

/* Keep the longer English brand readable without overlapping the desktop nav. */
header .brand-logo .brand-title-two-line {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1.02;
  white-space: normal;
  vertical-align: middle;
  font-size: 1.06rem;
  font-weight: 800;
}

header .brand-logo .brand-title-two-line span {
  display: block;
}

@media only screen and (min-width: 993px) and (max-width: 1280px) {
  header .brand-logo {
    max-width: 190px;
  }

  header .brand-logo .logo-img {
    width: 36px;
    height: 36px;
    margin-right: 6px;
  }

  header .brand-logo .brand-title-two-line {
    font-size: 0.98rem;
  }

  header .nav-menu > li > a {
    padding: 0 8px;
    font-size: 0.9rem;
  }

  header .nav-menu > li > a i {
    margin-right: 2px;
  }
}

@media only screen and (min-width: 1281px) {
  header .brand-logo .brand-title-two-line {
    font-size: 1.12rem;
  }
}

.enrollment-calligraphy-block {
  display: flex;
  justify-content: center;
  margin: 10px auto 30px;
}

.enrollment-calligraphy-block img {
  display: block;
  width: min(760px, 100%);
  height: auto;
  border: 8px solid rgba(236, 220, 188, .85);
  border-radius: 8px;
  background: #f8f3e8;
  box-shadow: 0 16px 36px rgba(36, 45, 35, .14);
}

body.DarkMode .enrollment-calligraphy-block img {
  border-color: rgba(231, 193, 91, .35);
  background: rgba(255, 250, 240, .92);
}

.daily-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.daily-gallery article,
.daily-video-placeholder {
  border: 1px solid rgba(142, 121, 72, 0.22);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 12px 28px rgba(42, 55, 35, 0.08);
}

.daily-gallery article {
  padding: 22px;
}

.daily-gallery i,
.daily-video-placeholder > i {
  color: #d7a72f;
  font-size: 1.8rem;
}

.daily-gallery h3,
.daily-video-placeholder h3 {
  color: #25362d;
  font-size: 1.25rem;
  margin: 14px 0 8px;
}

.daily-video-placeholder {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 24px 0 8px;
  padding: 24px;
}

body.DarkMode .daily-gallery article,
body.DarkMode .daily-video-placeholder {
  background: #2d3028;
  border-color: rgba(231, 193, 91, 0.35);
}

body.DarkMode .daily-gallery h3,
body.DarkMode .daily-video-placeholder h3 {
  color: #f6f1e6;
}

@media only screen and (max-width: 900px) {
  .daily-gallery {
    grid-template-columns: 1fr;
  }
}

.daily-video-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(280px, 1.4fr);
  align-items: center;
}

.daily-video {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 8px;
  background: #121512;
  box-shadow: 0 12px 28px rgba(42, 55, 35, 0.16);
}

@media only screen and (max-width: 900px) {
  .daily-video-card {
    grid-template-columns: 1fr;
  }
}



.contact-info-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 30px;
  align-items: stretch;
  margin: 8px 0 34px;
  text-align: left;
}

.contact-info-copy {
  padding: 28px 30px;
  border: 1px solid rgba(47, 74, 59, 0.14);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 12px 28px rgba(42, 55, 35, 0.08);
}

.contact-intro {
  margin: 0 0 22px;
  color: #31412f;
  font-size: 1.08rem;
  line-height: 1.75;
}

.contact-detail-block {
  padding: 16px 0;
  border-top: 1px solid rgba(142, 121, 72, 0.18);
}

.contact-detail-block h3 {
  margin: 0 0 8px;
  color: #2f4a3b;
  font-size: 1rem;
  font-weight: 700;
}

.contact-detail-block p {
  margin: 0;
  color: #4f5f4b;
  line-height: 1.75;
}

.contact-detail-block a {
  color: #8f6716;
  font-weight: 700;
}

.parent-links-block {
  background: rgba(255, 248, 226, .7);
  border: 1px solid rgba(246, 185, 64, .35);
  border-radius: 8px;
  margin-top: 14px;
  padding: 16px;
}

.contact-detail-block .parent-quick-link {
  align-items: center;
  background: #f6b940;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(104, 71, 7, .16);
  color: #17251f;
  display: inline-flex;
  font-weight: 900;
  line-height: 1.2;
  padding: 10px 14px;
}

.contact-helper-text {
  color: #5b6d63 !important;
  font-size: .95rem;
  margin-top: 10px !important;
}

.contact-info-grid .contact-map {
  margin: 0;
  min-height: 100%;
}

.contact-info-grid .contact-map iframe {
  height: 100%;
  min-height: 430px;
}

body.DarkMode .contact-info-copy {
  border-color: rgba(255, 255, 255, 0.12);
  background: #2d3028;
}

body.DarkMode .contact-intro,
body.DarkMode .contact-detail-block p {
  color: #e9e2d4;
}

body.DarkMode .contact-detail-block {
  border-top-color: rgba(255, 255, 255, 0.12);
}

body.DarkMode .contact-detail-block h3 {
  color: #f6f1e6;
}

@media only screen and (max-width: 900px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-grid .contact-map iframe {
    min-height: 320px;
  }
}

.contact-map {
  width: 100%;
  margin: 18px 0 28px;
  overflow: hidden;
  border: 1px solid rgba(47, 74, 59, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(39, 54, 43, 0.12);
  background: #f6f1e6;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

body.DarkMode .contact-map {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

@media only screen and (max-width: 600px) {
  .contact-map iframe {
    height: 280px;
  }
}


.contact-page-card .card-content > h2,
.contact-page-card .card-content > p {
  text-align: center;
}

.contact-page-card .card-content > p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Day Camp and Updates pages. */
.sunny-update-list {
  display: grid;
  gap: 20px;
  margin: 28px 0 10px;
}

.sunny-update-item {
  padding: 24px 26px;
  border: 1px solid rgba(142, 121, 72, 0.24);
  border-left: 5px solid #d7a72f;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 12px 28px rgba(42, 55, 35, 0.08);
}

.sunny-update-item.sunny-featured-update {
  border-left-color: #1f8f71;
  background: linear-gradient(180deg, #fffdf7 0%, #f6fbf3 100%);
}

.sunny-update-date {
  margin: 0 0 8px !important;
  color: #8a6b18 !important;
  font-weight: 800;
  letter-spacing: .02em;
}

.sunny-update-item h3 {
  margin: 0 0 12px;
  color: #18352b;
  font-weight: 800;
}

.sunny-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 6px;
  background: #f6b940;
  color: #1f2f27 !important;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(124, 89, 14, .16);
}

.sunny-inline-button:hover {
  background: #e2a82f;
  color: #1f2f27 !important;
  transform: translateY(-1px);
}

body.DarkMode .sunny-update-item {
  background: #2d3028;
  border-color: rgba(231, 193, 91, 0.35);
}

body.DarkMode .sunny-update-item.sunny-featured-update {
  background: #2d3028;
}

body.DarkMode .sunny-update-item h3 {
  color: #f6f1e6;
}

body.DarkMode .sunny-update-date {
  color: #f0d78b !important;
}

/* Clearer desktop dropdown menus, especially for longer English labels. */
@media only screen and (min-width: 993px) {
  header .nav-menu li .sub-nav {
    z-index: 1005;
    min-width: 190px;
    margin-left: -34px;
    padding: 8px 0;
    border: 1px solid rgba(47, 74, 59, 0.14);
    border-radius: 8px;
    background: rgba(255, 253, 247, 0.98);
    box-shadow: 0 16px 34px rgba(30, 44, 34, 0.18);
  }

  header .nav-menu li .sub-nav li {
    width: 190px;
    height: 40px;
    line-height: 40px;
  }

  header .nav-menu li .sub-nav li a {
    width: 180px;
    height: 38px;
    line-height: 38px;
    padding: 0 10px;
    color: #26382f;
    font-weight: 700;
    white-space: nowrap;
  }

  header .nav-menu li .sub-nav li a:hover {
    background: rgba(215, 167, 47, 0.16);
    color: #1f3028;
  }

  header .nav-menu li .sub-nav li a i {
    margin-right: 6px;
  }
}

body.DarkMode header .nav-menu li .sub-nav {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(45, 48, 40, 0.98);
}

body.DarkMode header .nav-menu li .sub-nav li a {
  color: #f6f1e6;
}

.campus-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.campus-photo-grid article {
  padding: 24px;
  border: 1px solid rgba(142, 121, 72, 0.22);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 12px 28px rgba(42, 55, 35, 0.08);
}

.campus-photo-grid i {
  color: #d7a72f;
  font-size: 1.9rem;
}

.campus-photo-grid h3 {
  color: #25362d;
  font-size: 1.2rem;
  margin: 14px 0 8px;
}

@media only screen and (max-width: 900px) {
  .campus-photo-grid {
    grid-template-columns: 1fr;
  }
}

.enrollment-primary-action {
  display: flex;
  justify-content: center;
  margin: 30px 0 26px;
}

.enrollment-primary-button {
  align-items: center;
  background: linear-gradient(135deg, #f7bf44 0%, #d99a22 100%);
  border: 1px solid rgba(122, 82, 16, .22);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(100, 73, 28, .2);
  color: #182a22 !important;
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 800;
  gap: 10px;
  line-height: 1;
  padding: 16px 34px;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

.enrollment-primary-button:hover {
  box-shadow: 0 20px 36px rgba(100, 73, 28, .26);
  transform: translateY(-2px);
}

.enrollment-primary-button i {
  font-size: 1.2rem;
}

body.DarkMode .enrollment-primary-button {
  color: #182a22 !important;
}

.day-camp-poster {
  display: flex;
  justify-content: center;
  margin: 22px auto 26px;
}

.day-camp-poster img {
  border: 1px solid rgba(122, 82, 16, .16);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(72, 56, 25, .18);
  display: block;
  height: auto;
  max-width: min(100%, 620px);
}

body.DarkMode .day-camp-poster img {
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .32);
}

.campus-gallery {
  display: grid;
  gap: 20px;
  margin: 28px 0 42px;
}

.campus-gallery-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.campus-gallery-safety {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.campus-gallery-art {
  grid-template-columns: minmax(0, 1fr);
}

.campus-gallery-art img {
  aspect-ratio: 16 / 9;
}

.campus-gallery figure {
  background: rgba(255, 255, 255, .95);
  border: 1px solid #dce9e1;
  border-radius: 8px;
  box-shadow: 0 16px 35px rgba(31, 78, 63, .08);
  margin: 0;
  overflow: hidden;
}

.campus-gallery img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.campus-gallery figcaption {
  color: #263c31;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.45;
  padding: 14px 16px 16px;
}

body.DarkMode .campus-gallery figure {
  background: rgba(32, 38, 35, .94);
  border-color: rgba(255, 255, 255, .12);
}

body.DarkMode .campus-gallery figcaption {
  color: #edf5ef;
}

.enrichment-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 34px;
}

.enrichment-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(47, 74, 59, 0.14);
  border-radius: 8px;
  background: #fffdf5;
  box-shadow: 0 12px 28px rgba(47, 54, 35, 0.08);
}

.enrichment-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.enrichment-gallery figcaption {
  padding: 12px 14px 14px;
  color: #2a3d31;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

body.DarkMode .enrichment-gallery figure {
  background: rgba(32, 38, 35, .94);
  border-color: rgba(255, 255, 255, .12);
}

body.DarkMode .enrichment-gallery figcaption {
  color: #edf5ef;
}

@media (max-width: 900px) {
  .campus-gallery-featured,
  .campus-gallery-safety,
  .enrichment-gallery {
    grid-template-columns: 1fr;
  }
}

/* Tags are internal blog metadata and are not part of the academy website UI. */
#artDetail .tag-cate,
#artDetail .tag_share,
article .article-tags,
.post-meta__tag-list,
#tags,
#tag-wordcloud {
  display: none !important;
}
