@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  /* 更接近 aa.org.sg 的米色与对比度 */
  --aas-beige: #efe8dd;
  --aas-white: #ffffff;
  --aas-text: #111111;
  --aas-muted: #3f3f3f;
  --aas-nav-active: #0d5fd9;
  --aas-nav: #111111;
  --aas-line: #111111;
  --aas-tab-bg: #efe8dd;
  --aas-tab-border: #cbbfb0;
  --header-h: 72px;
  --content-width: 980px;
  --poster-width: 269px;
  --font-serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  height: auto;
}

html, body {
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: var(--font-sans);
  background: var(--aas-beige);
  color: var(--aas-text);
  line-height: 1.65;
  font-weight: 300;
}

a { color: inherit; text-decoration: none; }

/* 顶栏导航 — 对齐 aa.org.sg */
.aas-header {
  background: var(--aas-white);
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.aas-nav {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  padding: 1.1rem 1rem;
}

.aas-nav a {
  font-size: 15px;
  color: var(--aas-nav);
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.aas-nav a:hover { color: var(--aas-nav-active); }

.aas-nav a.active {
  color: var(--aas-nav-active);
  font-weight: 500;
}

/* 主体 — 全宽米色底 */
.aas-page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 0 3rem;
  position: relative;
}

.aas-vote-top {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 0.5rem;
}

.aas-panel {
  background: var(--aas-beige);
  padding: 2.75rem 0 2.5rem;
}

/* 顶部居中标题区 */
.aas-hero {
  text-align: center;
  padding: 0 2.5rem 1.75rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.aas-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #111;
}

.aas-title-line {
  width: 80px;
  height: 2px;
  background: var(--aas-line);
  margin: 1rem auto 1.5rem;
}

.aas-intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 15px;
  line-height: 1.75;
  color: var(--aas-text);
}

.aas-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
}

/* 左文 + 右海报双栏 */
.aas-panel-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--poster-width);
  gap: 0 2.75rem;
  align-items: start;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2.5rem 0 3.5rem;
  position: relative;
  overflow: visible;
}

.aas-poster-wrap {
  position: static;
  width: var(--poster-width);
  justify-self: end;
  align-self: start;
  z-index: 2;
  height: max-content;
  will-change: transform;
}

.aas-poster {
  width: var(--poster-width);
  height: auto;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.aas-content {
  min-width: 0;
  padding-right: 0.5rem;
}

.aas-section-hidden {
  display: none !important;
}

.aas-mt { margin-top: 0.75rem; }

.aas-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #ff4040;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.aas-link-btn:hover { color: #c00; }

.aas-inline-link {
  color: #ff4040;
  text-decoration: underline;
}

.aas-inline-link:hover { color: #c00; }

.aas-payment-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0 1.5rem;
}

.aas-payment-images figure {
  margin: 0;
  text-align: center;
}

.aas-payment-images img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  border: 1px solid #d8d0c4;
  background: #fff;
}

.aas-payment-images figcaption {
  margin-top: 0.45rem;
  font-size: 13px;
  color: var(--aas-muted);
}

.vote-zone {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2rem 2.5rem 3rem;
  border-top: 2px solid #cbbfb0;
}

.vote-zone-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.vote-zone-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.vote-zone-desc {
  max-width: 720px;
  margin: 0 auto 1rem;
  color: var(--aas-muted);
  font-size: 15px;
}

.vote-zone-btn {
  margin-top: 0.25rem;
}

.aas-footer-brand {
  max-width: var(--content-width);
  margin: 1.5rem auto 0;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}

.aas-footer-brand img {
  width: 92px;
  height: auto;
  margin-bottom: 0.75rem;
}

.aas-disclaimer {
  font-size: 14px;
  margin: 1.5rem 0;
  line-height: 1.7;
}

.aas-criteria {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 1.5rem;
  list-style: none;
  margin-left: 0;
  counter-reset: criteria;
}

.aas-criteria li {
  counter-increment: criteria;
}

.aas-criteria li::before {
  content: counter(criteria) ". ";
}

.aas-schedule {
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
}

/* 右侧浮动标签 */
.aas-side-tabs {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aas-side-tab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--aas-tab-bg);
  border: 1px solid var(--aas-tab-border);
  border-right: none;
  padding: 1rem 0.65rem;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.05em;
}

.aas-side-tab:hover { background: #d4cbbd; }

.aas-side-tab + .aas-side-tab { border-top: none; }

.aas-theme {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--aas-line);
  display: inline-block;
  padding-bottom: 0.2rem;
}

.aas-theme-block {
  margin-bottom: 1.75rem;
}

.aas-theme-text {
  margin-top: 0.85rem;
  font-size: 15px;
  line-height: 1.8;
}

.aas-section-title {
  font-weight: 700;
  font-size: 16px;
  margin: 1.75rem 0 0.65rem;
  color: #111;
}

.aas-list {
  margin: 0.35rem 0 0.75rem 1.35rem;
}

.aas-list li {
  margin-bottom: 0.3rem;
  font-size: 15px;
  line-height: 1.65;
}

.aas-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 2rem;
  margin: 0.5rem 0 1rem;
  font-size: 15px;
}

.aas-group-item { margin-bottom: 0.45rem; }
.aas-group-item strong { font-weight: 600; }

.aas-awards li { margin-bottom: 0.3rem; }

.aas-note {
  font-size: 14px;
  margin-top: 0.5rem;
  color: var(--aas-muted);
}

.aas-pdpa {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 2rem 0 1.5rem;
  line-height: 1.55;
}

.aas-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}

.aas-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--aas-line);
  background: var(--aas-white);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.aas-btn.aas-btn-top {
  background: #111;
  color: #fff;
  border-color: #111;
}

.aas-btn.aas-btn-top:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.aas-btn:hover {
  background: var(--aas-text);
  color: var(--aas-white);
}

.aas-btn-vote {
  min-width: 140px;
  font-weight: 600;
}

.aas-contact {
  text-align: left;
  margin-top: 1.5rem;
  font-size: 15px;
  line-height: 1.7;
}

.aas-contact a {
  color: var(--aas-nav-active);
  margin-left: 0.25rem;
}

/* 页脚 */
.aas-footer {
  background: #ebe6de;
  border-top: 1px solid #d5cec2;
  padding: 2.5rem 1rem;
  margin-top: 0;
}

.aas-footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  font-size: 14px;
}

.aas-footer h4 {
  font-size: 15px;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.aas-footer ul { list-style: none; }
.aas-footer li { margin-bottom: 0.35rem; }
.aas-footer a:hover { color: var(--aas-nav-active); }

.aas-footer-copy {
  max-width: var(--content-width);
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 12px;
  color: #888;
}

/* 主推作品 — 全宽横卡（图左文右，对齐上一版） */
.feat-spotlight {
  max-width: var(--content-width);
  margin: 0 auto 1.5rem;
  padding: 0 2.5rem;
}

.feat-spotlight-inner {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  background: var(--aas-white);
  border: 1px solid #cfc6b8;
  padding: 1.75rem 2rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.feat-spotlight-tag {
  font-size: 13px;
  color: var(--aas-muted);
  margin-bottom: 0.35rem;
}

.feat-spotlight-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #111;
}

.feat-spotlight-id {
  font-size: 14px;
  color: #444;
  margin-bottom: 0.75rem;
}

.feat-spotlight-desc,
.feat-spotlight-hint {
  font-size: 14px;
  color: var(--aas-muted);
  line-height: 1.65;
}

.feat-spotlight-hint {
  margin-top: 0.5rem;
  font-weight: 500;
  color: #333;
}

.feat-spotlight-btn {
  margin-top: 1.1rem;
  padding: 0.7rem 1.6rem;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.feat-spotlight-btn:hover {
  background: #333;
}

.feat-spotlight-visual img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: #f5f3ef;
}

/* 响应式 */
@media (max-width: 900px) {
  .aas-hero {
    padding: 0 1.25rem 1.25rem;
  }

  .aas-panel-body {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
    gap: 1.5rem 0;
  }

  .aas-poster-wrap {
    position: static;
    width: auto;
    justify-self: center;
    order: -1;
    margin-bottom: 0.5rem;
  }

  .aas-poster {
    margin: 0 auto;
    max-width: 220px;
    width: 100%;
  }

  .aas-content {
    padding-right: 0;
  }

  .aas-criteria {
    grid-template-columns: 1fr;
  }

  .aas-groups {
    grid-template-columns: 1fr;
  }

  .aas-cta-row {
    justify-content: center;
  }

  .aas-contact {
    text-align: center;
  }

  .aas-side-tabs {
    position: fixed;
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #ddd;
    padding: 0.5rem;
  }

  .aas-side-tab {
    writing-mode: horizontal-tb;
    border: 1px solid var(--aas-tab-border);
    border-radius: 4px;
    padding: 0.6rem 1rem;
    flex: 1;
    text-align: center;
    max-width: 160px;
  }

  .feat-spotlight {
    padding: 0 1.25rem;
    margin-bottom: 1rem;
  }

  .feat-spotlight-inner {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1rem;
  }

  .feat-spotlight-visual {
    order: -1;
    max-width: 240px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .aas-nav { gap: 0.5rem 1rem; font-size: 13px; }
  .aas-panel { padding: 1.5rem 0; }
  .aas-cta-row { flex-direction: column; align-items: stretch; }
  .aas-btn { text-align: center; }
}
