/* ------------- 基础 ------------- */

body {
  font-family: "Source Serif 4", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  background: #dfe5ec;      /* 外侧灰色边 */
  color: #1b2838;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  background: #f5f7fb;
}

/* 统一容器宽度 */

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 颜色 */

:root {
  --dark-blue: #3b4f65;
  --light-blue: #cfe3f6;
  --footer-blue: #324156;
  --text-light: #f4f7fb;
}

/* ------------- 顶部导航 ------------- */

.site-header {
  background: var(--dark-blue);
  color: #fff;
  font-size: 14px;
}

.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}

.brand span {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.main-nav ul {
  display: flex;
  gap: 20px;
}

.main-nav a {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  color: #ffffff;
  padding: 3px 0;
}

.main-nav a:hover {
  border-bottom: 2px solid #ffffff;
}

.main-nav a.current {
  border-bottom: 2px solid #ffffff;
}

/* 顶部右侧小字 tagline （部分页面用） */

.top-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: #ffffff;
  text-align: right;
  padding-right: 20px;
  padding-bottom: 6px;
}

/* ------------- 首页 HERO ------------- */

.hero {
  background: var(--dark-blue);
  color: #fff;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 20px 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.hero-title {
  font-size: 64px;
  line-height: 1.05;
}

.hero-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  margin-bottom: 6px;
}

/* hero 大图 */

.hero-image img {
  width: 100%;
  height: auto;
}

/* ------------- 通用按钮 ------------- */

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid #1b2838;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  background: transparent;
  color: #1b2838;
}

.btn-outline:hover {
  background: #1b2838;
  color: #ffffff;
}

/* 深色背景上的按钮 */

.btn-outline.light {
  border-color: #f4f7fb;
  color: #f4f7fb;
}

.btn-outline.light:hover {
  background: #f4f7fb;
  color: #1b2838;
}

/* ------------- About Our Club（首页） ------------- */

.section-light {
  background: #cfe3f6;
}

.section-dark {
  background: var(--dark-blue);
  color: var(--text-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr;
  gap: 40px;
  align-items: flex-start;
}

.section-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
}

.body-text {
  font-size: 14px;
  line-height: 1.5;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.about-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.caption {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  margin-top: 4px;
}

/* ------------- Club History（首页） ------------- */

.history-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.history-heading {
  font-size: 28px;
  margin-bottom: 20px;
}

.history-block {
  margin-bottom: 28px;
}

.history-block h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.history-block p {
  font-size: 13px;
  line-height: 1.5;
}

.history-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-images img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

/* ------------- Upcoming Events（首页） ------------- */

.section-upcoming {
  background: #cfe3f6;
}

.section-upcoming .section-inner {
  padding-top: 35px;
  padding-bottom: 60px;
}

.section-upcoming h2 {
  font-size: 28px;
  margin-bottom: 4px;
}

.section-upcoming p {
  font-size: 12px;
  margin-bottom: 24px;
}

.events-row {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.event-card {
  flex: 1 1 0;
  min-width: 220px;
  max-width: 330px;
  text-align: center;
  font-size: 12px;
}

.event-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 2px solid #1b2838;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.event-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}



.event-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

/* ------------- Community Gallery（首页 & 单独页） ------------- */

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

.gallery-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.gallery-item h4 {
  font-size: 13px;
  margin-top: 6px;
}

.gallery-item p {
  font-size: 11px;
  line-height: 1.4;
}

/* 单独 Community Gallery 页顶部大图 */

.gallery-hero-title {
  font-size: 52px;
  margin-bottom: 8px;
}

.gallery-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.gallery-hero-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
}

.gallery-hero-image img {
  width: 100%;
  height: auto;
}

.gallery-intro {
  text-align: center;
  max-width: 840px;
  margin: 30px auto 50px;
  font-size: 12px;
  line-height: 1.5;
}

/* ------------- Member stories（首页部分） ------------- */

.members-section .section-inner {
  padding-top: 40px;
  padding-bottom: 70px;
}

.members-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.member-row {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.member-name {
  font-size: 18px;
}

.member-meta {
  font-size: 12px;
  margin-top: 4px;
}

.member-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  margin-top: 4px;
  margin-bottom: 8px;
}

.member-text {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.member-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ------------- Member stories 独立页面 ------------- */

.member-hero {
  background: #cfe3f6;
}

.member-hero-top {
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 20px 10px;
}

.member-hero-title {
  font-size: 52px;
  margin-bottom: 10px;
}

.member-hero-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-align: right;
  padding-right: 20px;
}

.member-hero-image img {
  width: 100%;
  height: auto;
}

.member-hero-intro {
  max-width: 800px;
  margin: 25px auto 40px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

/* ------------- Contact（首页 & 独立页） ------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr;
  gap: 30px;
  align-items: center;
}

.contact-grid h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.contact-grid p {
  font-size: 12px;
  line-height: 1.6;
}

.contact-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Contact 页中的大图高度更高 */

.contact-page-hero img {
  height: 420px;
}

/* Social cards */

.social-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.social-card {
  background: var(--dark-blue);
  color: #f4f7fb;
  padding: 20px 18px 24px;
  border-radius: 6px;
}

.social-card h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.social-card p {
  font-size: 11px;
  margin-bottom: 14px;
}

.social-card .btn-outline {
  font-size: 11px;
}

/* ------------- Join Us（首页） ------------- */

.join-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr;
  gap: 30px;
  align-items: center;
}

.join-graphic img {
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.join-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.join-text p {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ------------- 底部 Footer ------------- */

.site-footer {
  background: var(--footer-blue);
  color: #f4f7fb;
  font-size: 11px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px 8px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand span {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
}

.footer-nav ul {
  display: flex;
  gap: 18px;
}

.footer-nav a {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  color: #f4f7fb;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-email a {
  color: #f4f7fb;
}

.footer-line {
  border-top: 1px solid #f4f7fb;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ------------- 响应式 ------------- */

@media (max-width: 900px) {

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-grid,
  .history-grid,
  .contact-grid,
  .join-grid {
    grid-template-columns: 1fr;
  }

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

  .members-section .section-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .member-row {
    grid-template-columns: 1fr;
  }

  .social-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-row {
    flex-direction: column;
    align-items: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

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

  .social-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 46px;
  }

  .gallery-hero-title,
  .member-hero-title {
    font-size: 40px;
  }
}

.social-card {
  text-align: center;
}

.social-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 12px;
  object-fit: contain;
  display: block;
}