/* 野生动物摄影 - 访谈风格样式 */
:root {
  --accent-color: #795548;
  --primary-color: #4a3728;
  --secondary-color: #8d6e63;
  --bg-color: #faf8f5;
  --card-bg: #ffffff;
  --text-color: #3e2723;
  --text-light: #6d4c41;
  --border-color: #d7ccc8;
  --shadow: 0 2px 8px rgba(121, 85, 72, 0.1);
  --shadow-hover: 0 4px 16px rgba(121, 85, 72, 0.15);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--primary-color);
}

/* Header */
.header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo span {
  color: var(--accent-color);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-color);
  border-radius: 24px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  width: 160px;
  font-size: 0.9rem;
}

.search-box button {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Section Title */
.section-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, var(--border-color), var(--bg-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Category Tags */
.category-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.category-tag {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 24px;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s;
}

.category-tag:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

/* Interview List */
.interview-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.interview-item {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: box-shadow 0.3s;
}

.interview-item:hover {
  box-shadow: var(--shadow-hover);
}

.interview-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--border-color), var(--bg-color));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.interview-info {
  flex: 1;
}

.interview-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.interview-info .guest {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.interview-info .meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Q&A Section */
.qa-section {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.qa-pair {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.qa-pair:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.question {
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.question::before {
  content: "Q: ";
  font-weight: 700;
}

.answer {
  color: var(--text-color);
  line-height: 1.8;
  padding-left: 1.5rem;
}

.answer::before {
  content: "A: ";
  font-weight: 600;
  color: var(--secondary-color);
}

/* Guest Profile */
.guest-profile {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.guest-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--border-color), var(--bg-color));
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.guest-profile h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.guest-profile .title {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.guest-profile .intro {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  line-height: 1.8;
}

/* Topic Tags */
.topic-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.topic-tag {
  background: var(--bg-color);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Breadcrumb */
.breadcrumb {
  background: var(--card-bg);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--accent-color);
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--border-color);
}

/* Sidebar */
.sidebar-section {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.sidebar-title {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-color);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  color: var(--text-color);
  display: block;
  transition: color 0.3s;
}

.sidebar-list a:hover {
  color: var(--accent-color);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.pagination a:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.pagination .current {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: 6rem 1.5rem;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--accent-color);
  opacity: 0.3;
  line-height: 1;
}

.error-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.error-desc {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--accent-color);
  color: white;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.3s;
}

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

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Three Column Layout */
.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

/* Timestamp */
.timestamp {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .three-col {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .interview-item {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .category-tags {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .search-box {
    display: none;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .container {
    padding: 1rem;
  }
}
