body, .lang[data-en] {
  margin: 0;
  font-family: 'Merriweather', serif;
  background: #fffbe9;
  color: #222;
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 1s ease 0s 1 forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

header {
  background: #fffbe9;
  box-shadow: 0 2px 8px rgba(255, 183, 77, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1700px;
  margin: 0 auto;
  padding: 1rem 3.5rem;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 72px;
  width: 72px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff3cd;
  border: 2px solid #ffd59e;
  box-shadow: 0 2px 8px rgba(255, 183, 77, 0.08);
}

.logo {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #ffb74d;
}
.logo .zh {
  font-size: 1.25rem;
  color: #ff9800;
  display: block;
}

.nav-links-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links a {
  text-decoration: none;
  color: #ff9800;
  font-weight: 500;
  transition: color 0.2s;
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
}

.nav-links a:hover {
  background: #fff3cd;
  color: #e65100;
}

#lang-switch {
  background: #ffb74d;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 1rem;
}
#lang-switch:hover {
  background: #ff9800;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  z-index: 200;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #ff9800;
  border-radius: 2px;
  transition: all 0.3s;
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  flex: 1 0 auto;
}

.hero {
  position: relative;
  text-align: center;
  width: 100%;
  height: 65vh;
  min-height: 350px;
  max-height: 700px;
  padding: 0;
  background: url('images/about/hero-bg.jpg') center center/cover no-repeat;
  border-radius: 12px;
  margin-bottom: 2rem;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero h1, .hero p {
  color: #ffffff !important;
  background: none !important;
  background-color: transparent !important;
  font-weight: 900;
  text-shadow: 0 8px 32px rgba(0,0,0,1), 0 2px 8px rgba(0,0,0,0.85);
}
.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
}
.hero p {
  font-size: 2.3rem;
  display: block;
}

section {
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ff9800;
}

ul {
  padding-left: 1.2rem;
}

footer {
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  color: #ff9800;
  font-size: 0.95rem;
  background: #fff3cd;
  margin-top: 2rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .navbar {
    padding: 1rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .card, .activity-card {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .activity-img {
    width: 140px;
    height: 140px;
    margin-right: 1rem;
  }
  .dropdown-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    margin-top: 0;
    background: #fffbe9;
    left: 0;
    width: 100%;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .about-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  .has-dropdown.open > .about-dropdown-toggle .dropdown-caret {
    transform: rotate(-90deg);
    transition: transform 0.2s;
  }
}

@media (max-width: 700px) {
  body {
    padding: 0;
  }
  .navbar {
    max-width: 100vw;
    width: 100vw;
    padding: 1rem 0.5rem;
    box-sizing: border-box;
  }
  .nav-links-container {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fffbe9;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1.5rem 1rem 1rem 1rem;
    box-shadow: 0 4px 16px rgba(255, 183, 77, 0.08);
    display: none;
    text-align: center;
  }
  .nav-links-container.active {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .nav-links a {
    width: auto;
    padding: 0.7rem 0;
    margin: 0 auto;
    display: block;
  }
  #lang-switch {
    margin: 1.2rem auto 0 auto;
    display: block;
  }
  .hamburger {
    display: flex;
  }
  .card {
    margin-left: auto;
    margin-right: auto;
    width: 98vw;
    max-width: 98vw;
    box-sizing: border-box;
  }
  main {
    padding-left: 0;
    padding-right: 0;
  }
  .hero {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    height: auto;
    min-height: 220px;
    padding: 1.5rem 0.2rem 1.5rem 0.2rem;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .hero h1 {
    font-size: 1.3rem;
    line-height: 1.2;
    word-break: break-word;
  }
  .hero p {
    font-size: 1rem;
    margin-top: 0.7rem;
  }
  .circle-news-events span {
    width: 90vw;
    min-width: 0;
    font-size: 1.1rem;
    border-radius: 40px;
    padding: 0 0.5rem;
  }
  footer {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    text-align: center;
  }
  .activity-card {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
  }
  .activity-info {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .activity-img {
    margin-left: 20px;
    margin-right: 0;
    width: 95%;
    max-width: 320px;
    display: block;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  .logo-img {
    height: 44px;
    width: 44px;
  }
  .logo {
    font-size: 0.95rem;
  }
  .logo .zh {
    font-size: 0.78rem;
  }
}

.card, .activity-card {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: #fffdf6;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(255, 183, 77, 0.13), 0 1.5px 8px rgba(0,0,0,0.04);
  padding: 2.2rem 2rem 1.5rem 2rem;
  margin-bottom: 2.5rem;
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
  border: 2px solid #fffbe9;
  position: relative;
  z-index: 2;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(255, 183, 77, 0.22), 0 4px 24px rgba(0,0,0,0.10);
  transform: translateY(-8px) scale(1.025);
  border: 2px solid #ffb74d;
}

.card section,
.card h2,
.card p,
.card ul,
.card li {
  background: none !important;
}

.activity-card {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  background: #fffbe9;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(255, 183, 77, 0.10);
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1.5px solid #ffecd2;
}
.activity-card:hover, .activity-card:focus-within {
  box-shadow: 0 8px 32px rgba(255, 183, 77, 0.18), 0 4px 24px rgba(0,0,0,0.10);
  transform: translateY(-4px) scale(1.015);
  border: 1.5px solid #ffb74d;
}
.activity-img {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 2.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  background: #fff;
  flex-shrink: 0;
}
.card #activities > h2 {
  text-align: center;
  width: 100%;
  margin-bottom: 2.2rem;
}
@media (max-width: 1100px) {
  .activity-img {
    width: 280px;
    height: 280px;
    margin-right: 1.2rem;
  }
}
.activity-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
.activity-info h3,
.activity-info .activity-meta,
.activity-info p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.activity-info h3 {
  margin: 0 0 0.2rem 0;
  font-size: 1.3rem;
  color: #ff9800;
}
.activity-meta {
  font-size: 1rem;
  color: #b48b4a;
  margin-bottom: 0.2rem;
}

.hero .zh, .card .zh, .zh {
  font-family: 'Noto Sans TC', sans-serif;
}

.card #contact {
  text-align: center;
}
.card #contact h2,
.card #contact p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#about, #activities, #contact {
  scroll-margin-top: 200px;
}

.card #about {
  text-align: center;
}
.card #about h2,
.card #about p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about-submenu {
  display: flex;
  justify-content: center;
  margin: 1.2rem 0 1.8rem 0;
}
.about-submenu ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.submenu-item {
  font-size: 1.1rem;
  color: #b48b4a;
  padding: 0.4rem 1.2rem;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.submenu-item:hover, .submenu-item.active {
  background: #fffbe9;
  color: #ff9800;
}

.has-dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: #fffbe9;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 0.3rem 0;
  z-index: 999;
  margin-top: 0.5rem;
  list-style: none;
}
.dropdown-menu li {
  width: 100%;
  list-style: none;
}

.dropdown-menu a {
  box-sizing: border-box;
  width: 100%;
  white-space: normal;
  overflow: hidden;
  display: block;
  padding: 0.7rem 1.2rem;
  color: #ff9800;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  font-size: 1rem;
}
.dropdown-menu a:hover {
  background: #fffbe9;
  color: #b48b4a;
}
@media (max-width: 900px) {
  .dropdown-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    margin-top: 0;
    background: #fffbe9;
    left: 0;
    width: 100%;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .about-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.2rem;
}
.news-item {
  background: #fffbe9;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(255, 183, 77, 0.08);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.news-item .news-title {
  font-size: 1.35rem;
  font-weight: 700;
}
.news-item .news-date {
  font-size: 1.1rem;
  font-weight: 600;
}
.news-item .news-desc {
  font-size: 1.15rem;
  margin-top: 0.3rem;
}
.news-date {
  font-size: 0.98rem;
  color: #b48b4a;
  margin-bottom: 0.2rem;
}
.news-title {
  font-size: 1.15rem;
  font-weight: bold;
  color: #ff9800;
}
.news-desc {
  font-size: 1rem;
  color: #444;
}
@media (max-width: 700px) {
  .news-list {
    gap: 1rem;
  }
  .news-item {
    padding: 0.8rem 0.6rem;
  }
}

#news-events h2 {
  text-align: center;
  width: 100%;
}
#news-events .news-list {
  align-items: left;
}

.circle-news-events {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem auto 2.5rem auto;
}
.circle-news-events span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 80px;
  border-radius: 40px;
  background: linear-gradient(135deg, #ffe0a3 0%, #ffb74d 100%) !important;
  color: #444;
  font-size: 1.3rem;
  font-weight: bold;
  box-shadow: 0 2px 12px rgba(255, 183, 77, 0.13);
  border: 2px solid #ffd59e;
  letter-spacing: 0.5px;
  text-align: center;
  transition: box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

html, body {
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.dropdown-caret {
  display: none;
}
@media (max-width: 900px) {
  .dropdown-caret {
    display: inline-block;
  }
}

.about-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3em;
  cursor: pointer;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
  margin-top: 0.3em;
}
@media (max-width: 900px) {
  .about-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .about-dropdown-toggle a {
    flex: 1;
    pointer-events: none;
  }
}

.nav-home-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 1rem;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-home-link:focus, .nav-home-link:hover {
  text-decoration: underline;
  color: #ff9800;
  outline: none;
}

#lineage h2, #lineage p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
#lineage p {
  max-width: 34em;
  word-break: break-word;
  line-height: 1.8;
  margin-bottom: 2em;
}
#lineage p:last-child {
  margin-bottom: 0;
}

.img-caption, .img-caption .lang, .img-caption .zh {
  background: none !important;
  box-shadow: none !important;
}

.img-caption {
  text-align: center;
  font-size: 0.95em;
  color: #888;
  margin-top: -1em;
  margin-bottom: 2em;
  font-style: italic;
}

body.zh, html.zh {
  font-family: 'Noto Sans TC', sans-serif !important;
}

.teacher-photos-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 2rem;
}
.teacher-photo {
  flex: 1 1 300px;
  max-width: 320px;
  text-align: center;
}
.teacher-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.teacher-photo p {
  font-style: italic;
  color: #444;
  margin-top: 0.7em;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .teacher-photos-row {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .teacher-photo {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .teacher-photo img {
    height: 220px;
  }
}

#custom-message h2 {
  text-align: center;
}
#custom-message p {
  font-style: italic;
  font-size: 0.98rem;
  text-align: center;
  margin-top: 2.2em;
}

/* Dropdown Card Styles */
.dropdown-card {
  margin-top: 2rem;
  box-shadow: 0 2px 12px rgba(255, 183, 77, 0.10);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.70s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1);
}
.dropdown-card:hover, .dropdown-card:focus-within {
  transform: scale(1.025);
  box-shadow: 0 8px 32px rgba(255, 183, 77, 0.18);
  z-index: 2;
}
.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 1.2rem 2rem 1.2rem 1.5rem;
  background: #fff3cd;
  border-bottom: 1px solid #ffe0b2;
  user-select: none;
}
.dropdown-header:focus {
  outline: 2px solid #ffb74d;
}
.dropdown-header h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #ff9800;
}
.dropdown-caret {
  font-size: 1.5rem;
  color: #ff9800;
  transition: transform 0.3s;
}
.dropdown-card.open .dropdown-caret {
  transform: rotate(180deg);
}
.dropdown-content {
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  background: #fffbe9;
  animation: fadeIn 0.5s;
}

/* Activity Row Styles */
.activity-row {
  display: flex;
  align-items: center;
  margin-bottom: 2.2rem;
  gap: 2.5rem;
}
.activity-row:last-child {
  margin-bottom: 0;
}
.activity-photo {
  width: 340px;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 183, 77, 0.10);
  flex-shrink: 0;
  transition: transform 0.70s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1);
}
.activity-photo:hover, .activity-photo:focus {
  transform: scale(1.045);
  box-shadow: 0 8px 24px rgba(255, 183, 77, 0.18);
  z-index: 2;
}
.activity-desc {
  font-size: 1.08rem;
  font-style: italic;
  color: #6d4c1b;
  background: #fff8e1;
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 1px 4px rgba(255, 183, 77, 0.07);
  max-width: 600px;
}
.activity-desc.left {
  order: 1;
  text-align: right;
}
.activity-desc.right {
  order: 2;
  text-align: left;
}
.activity-photo.left {
  order: 1;
}
.activity-photo.right {
  order: 2;
}

@media (max-width: 900px) {
  .activity-row {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }
  .activity-photo, .activity-photo.left, .activity-photo.right {
    width: 100%;
    max-width: 500px;
    height: 220px;
    margin: 0 auto;
    display: block;
  }
  .activity-desc {
    max-width: 100%;
    text-align: left !important;
    padding: 1rem 0.7rem;
  }
}

.about-photos-section.card {
  background: #fff8e1;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(255, 193, 7, 0.08);
  padding: 2rem 1rem;
  margin: 2rem auto;
  max-width: 700px;
  text-align: center;
}

.about-photos-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.about-photo {
  width: 500px;
  height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 1px 6px rgba(255, 193, 7, 0.12);
  background: #fffde7;
}

.about-description {
  font-size: 1.1rem;
  color: #b47b00;
  margin-top: 0.5rem;
}

.about-description em {
  font-style: italic;
  font-size: 0.98em;
}

.about-description .zh {
  display: block;
  margin-top: 1.5em;
  font-style: italic;
}

.about-centre-final {
  display: block;
  margin-top: 0.5em;
}

.rinpoche-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.rinpoche-photo {
  width: 400px;
  height: 600px;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(255, 193, 7, 0.12);
  background: #fffde7;
}

.rinpoche-description {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
  color: #b47b00;
  max-width: 500px;
}

.rinpoche-description em {
  font-style: italic;
  font-size: 0.98em;
}

.rinpoche-description .zh {
  display: block;
  margin-top: 1.5em;
}

@media (min-width: 600px) {
  .rinpoche-card-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  .rinpoche-description {
    text-align: left;
  }
  .rinpoche-card-content.rinpoche-card-reverse {
    flex-direction: row;
  }
}

.rinpoche-title {
  text-align: center;
  width: 100%;
  display: block;
}

.about-centre {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  color: #b47b00;
  font-size: 1.08rem;
}

.about-photos-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #b47b00;
  font-family: 'Merriweather', serif;
}

/* News Cards Layout */
.news-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-card {
  display: flex;
  align-items: center;
  background: #fffbe9;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(255, 183, 77, 0.10);
  padding: 1.5rem 1rem;
  gap: 2rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.news-card:hover {
  box-shadow: 0 8px 32px rgba(255, 183, 77, 0.18), 0 4px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px) scale(1.015);
}
.news-card-img {
  width: 360px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(255, 183, 77, 0.10);
  flex-shrink: 0;
  background: #fffdf6;
}
.news-card-desc {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.news-card-desc h3 {
  margin: 0 0 0.5rem 0;
  color: #ff9800;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}
.news-card-desc p {
  text-align: center;
  font-size: 1.15rem;
  font-style: normal;
}

@media (max-width: 700px) {
  .news-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0.5rem;
  }
  .news-card-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-bottom: 0.5rem;
  }
  .news-card-desc h3, .news-card-desc p {
    text-align: left;
  }
}

#news-section > h2 {
  text-align: center;
  width: 100%;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2rem;
}
.news-card-desc h3 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
}
.news-card-desc p {
  text-align: center;
  font-size: 1.15rem;
}

.news-item-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}
.news-item-link:hover .news-item, .news-item-link:focus .news-item {
  box-shadow: 0 4px 16px rgba(255, 183, 77, 0.13), 0 1.5px 8px rgba(0,0,0,0.08);
  background: #fffbe9;
  border-radius: 12px;
  transition: box-shadow 0.2s, background 0.2s;
}

#image-carousel {
  width: 100%;
  max-width: 1000px;
  margin: 2.5rem auto 1.5rem auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(255, 183, 77, 0.13), 0 1.5px 8px rgba(0,0,0,0.04);
  background: #fffbe9;
  min-height: 600px;
}
.carousel-img {
  width: 100%;
  max-width: 1400px;
  height: 800px;
  object-fit: cover;
  border-radius: 18px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 1s;
  z-index: 1;
}
.carousel-img.active {
  opacity: 1;
  z-index: 2;
}
@media (max-width: 1100px) {
  #image-carousel, .carousel-img {
    height: 60vw;
    min-height: 260px;
  }
}
@media (max-width: 700px) {
  #image-carousel, .carousel-img {
    max-width: 92vw;
    width: 92vw;
    height: 75vw;
    min-height: 120px;
    margin-left: auto;
    margin-right: auto;
  }
}

.gallery-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.gallery-img {
  width: 500px;
  height: 500px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(255, 183, 77, 0.10);
  background: #fffbe9;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(255, 183, 77, 0.18), 0 4px 24px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .gallery-row {
    gap: 0.7rem;
  }
  .gallery-img {
    width: 80vw;
    height: 200px;
  }
}
@media (max-width: 600px) {
  .gallery-row {
    flex-direction: column;
    gap: 1rem;
  }
  .gallery-img {
    width: 98vw;
    height: 48vw;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 850px) {
  .gallery-img,
  #fund-carousel .carousel-img,
  #image-carousel .carousel-img {
    width: 100%;
    max-width: 100%;
    height: 75vw;
    min-height: 180px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }
}

/* Splash Screen Styles */
#splash-screen {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbe9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s;
}
#splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}
.splash-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.splash-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(255, 183, 77, 0.15);
  background: #fff3cd;
  border: 2px solid #ffd59e;
  object-fit: contain;
}
.splash-title {
  font-family: 'Merriweather', 'Noto Sans TC', serif;
  font-weight: bold;
  font-size: 2.3rem;
  color: #ffb74d;
}
.splash-en {
  color: #ffb74d;
  font-size: 2rem;
  font-weight: bold;
}
.splash-zh {
  color: #ff9800;
  font-size: 1.4rem;
  font-weight: bold;
  display: block;
  margin-top: 0.5rem;
}

/* Remove background from committee-description text */
.committee-description, .committee-description .lang {
  background: none !important;
  background-color: transparent !important;
}

/* Clickable Banner Styles */
.clickable-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.banner-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-image:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .clickable-banner {
    margin: 1rem auto;
    padding: 0 0.5rem;
  }
  
  .banner-image {
    width: 100%;
    max-width: 100%;
  }
}
