:root {
  --primary-color: #a8784d;
  --primary-hover: #8f623a;
  --secondary-color: #377d76;
  --secondary-hover: #2d6862;
  --text-dark: #222222;
  --text-medium: #555555;
  --text-light: #888888;
  --bg-light: #f6f6f6;
  --bg-dark: #383838;
  --border-color: #e5e5e5;
  --container-width: 1600px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input {
  font-family: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.section-title {
  font-size: 35px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  color: #666666;
  transition: all 0.3s ease;
}

.more-link:hover {
  color: var(--primary-color);
}

.more-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.more-link:hover .more-icon {
  transform: translateX(3px);
}

.cave-art-card, .news-item, .teaching-item, .video-showcase-card, .gallery-showcase-card {
  opacity: 0.95;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cave-art-card.in-view, .news-item.in-view, .teaching-item.in-view, .video-showcase-card.in-view, .gallery-showcase-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
