/*
Design reminder for 海角: 新杂志电影风校园叙事。
核心执行：不对称版式、电影封面质感、片场标签系统、克制的胶片色彩。
每一处样式都应强化“海角”品牌与“传媒”内容属性，而不是稀释它。
*/
:root {
  --bg: #f4efe8;
  --paper: #fbf8f3;
  --ink: #142535;
  --ink-soft: #4f6270;
  --line: rgba(20, 37, 53, 0.12);
  --accent: #b53b2d;
  --accent-soft: #d47c64;
  --deep: #22374a;
  --gold: #b48c58;
  --muted: #d9d0c4;
  --shadow: 0 18px 50px rgba(20, 37, 53, 0.12);
  --radius: 22px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(181, 59, 45, 0.08), transparent 26%),
    linear-gradient(180deg, #f7f3ed 0%, #efe6db 100%);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(20, 37, 53, 0.04) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.18;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.kicker,
.section-kicker,
.tag,
.meta-chip,
.stat-label,
.breadcrumb,
.video-meta,
.faq-label,
.timeline-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(251, 248, 243, 0.85);
  border-bottom: 1px solid rgba(20, 37, 53, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--ink) 0%, var(--accent) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  box-shadow: var(--shadow);
}

.logo-text strong,
.footer-brand strong {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

.logo-text span,
.header-note,
.muted,
.meta,
.footer-brand span,
.footer-copy,
.small-note {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.main-nav a,
.main-nav button {
  border: 1px solid rgba(20, 37, 53, 0.1);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.55);
  transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav button:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.search-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 18px 0 22px;
}

.search-wrap input {
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(20, 37, 53, 0.12);
  background: rgba(255, 255, 255, 0.8);
  padding: 0 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.search-wrap button,
.primary-btn,
.ghost-btn,
.share-btn,
.action-link {
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.25s ease;
}

.search-wrap button,
.primary-btn {
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 100%);
  color: #fff;
  padding: 0 22px;
  box-shadow: var(--shadow);
}

.search-wrap button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.1);
}

.hero {
  padding: 48px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.section-card,
.panel,
.media-card,
.expert-card,
.review-card,
.contact-card,
.faq-item,
.share-card,
.info-card,
.guide-card,
.stat-strip,
.gallery-card,
.content-card,
.video-card,
.article-card {
  background: rgba(251, 248, 243, 0.82);
  border: 1px solid rgba(20, 37, 53, 0.08);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kicker,
.section-kicker,
.breadcrumb {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-copy h1,
.page-hero h1 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.3rem, 4vw, 4.65rem);
  line-height: 1.08;
  margin: 18px 0 16px;
  letter-spacing: -0.02em;
}

.hero-copy h1 span,
.section-heading h2 span,
.page-hero h1 span,
.page-title span {
  color: var(--accent);
}

.hero-copy p,
.section-heading p,
.page-hero p,
.content-card p,
.contact-card p,
.article-card p,
.guide-card p,
.review-card p,
.expert-card p,
.faq-answer,
.info-card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 24px;
}

.primary-btn,
.ghost-btn,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 700;
}

.ghost-btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(20, 37, 53, 0.16);
}

.ghost-btn:hover,
.action-link:hover {
  background: rgba(20, 37, 53, 0.06);
  transform: translateY(-2px);
}

.hero-metrics,
.stats-grid,
.quick-stats,
.share-grid,
.footer-grid,
.cards-2,
.cards-3,
.cards-4,
.video-grid,
.info-grid,
.review-grid,
.faq-grid,
.expert-grid,
.logo-wall,
.tools-grid,
.article-grid,
.content-grid,
.gallery-grid {
  display: grid;
  gap: 16px;
}

.hero-metrics,
.cards-4,
.logo-wall,
.quick-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-3,
.expert-grid,
.tools-grid,
.article-grid,
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2,
.info-grid,
.review-grid,
.faq-grid,
.content-grid,
.video-grid,
.share-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-metric,
.stat-box,
.share-card,
.logo-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(20, 37, 53, 0.08);
}

.metric-number,
.stat-number {
  display: block;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  color: var(--ink);
}

.metric-label,
.stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero-visual {
  overflow: hidden;
  min-height: 640px;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(320px, calc(100% - 48px));
  padding: 20px;
  border-radius: 20px;
  background: rgba(20, 37, 53, 0.78);
  color: #f6f1ea;
  backdrop-filter: blur(16px);
}

.floating-card strong,
.section-heading h2,
.section-heading h3,
.expert-card h3,
.review-card h3,
.video-card h3,
.article-card h3,
.contact-card h3,
.panel h3,
.guide-card h3,
.share-card h3,
.info-card h3,
.page-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.floating-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

main section,
.page-main section {
  padding: 28px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.section-heading h2,
.section-heading h3,
.page-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.15;
}

.section-heading.with-side {
  grid-template-columns: 1.25fr 0.9fr;
  align-items: end;
}

.stat-strip {
  padding: 24px;
}

.stat-strip .stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel,
.section-card,
.content-card,
.info-card,
.contact-card,
.guide-card,
.share-card,
.review-card,
.faq-item,
.expert-card,
.article-card,
.video-card,
.gallery-card {
  padding: 22px;
}

.tag-list,
.meta-list,
.inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.meta-chip,
.inline-tags span,
.logo-item span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(181, 59, 45, 0.1);
  color: var(--accent);
  font-weight: 700;
}

.content-card ul,
.article-card ul,
.contact-card ul,
.expert-card ul,
.guide-card ul,
.page-main ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.media-card,
.video-card,
.gallery-card {
  overflow: hidden;
}

.media-thumb,
.gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 250px;
  margin-bottom: 16px;
  background: #dcd5ca;
}

.media-thumb img,
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media-card:hover .media-thumb img,
.video-card:hover .media-thumb img,
.gallery-card:hover .gallery-thumb img {
  transform: scale(1.06);
}

.video-demo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  background: #111;
}

.video-demo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 25, 0.1), rgba(15,20,25,0.65));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.play-button {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
  transform: scale(0.88);
  transition: 0.3s ease;
}

.play-button::before {
  content: "";
  border-left: 28px solid #fff;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 8px;
}

.video-demo:hover .play-button,
.video-card:hover .play-button {
  transform: scale(1);
  background: rgba(181, 59, 45, 0.78);
}

.video-demo:hover .video-overlay,
.video-card:hover .video-overlay {
  background: linear-gradient(180deg, rgba(15, 20, 25, 0.02), rgba(15,20,25,0.76));
}

.video-meta,
.meta,
.timeline-label {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.rating-row,
.action-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.expert-card .avatar {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--deep), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-family: "Noto Serif SC", serif;
  margin-bottom: 16px;
}

.logo-wall .logo-item {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.logo-item strong {
  font-size: 1.06rem;
}

.review-score {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "—";
}

.footer {
  margin-top: 34px;
  padding: 34px 0 60px;
  border-top: 1px solid rgba(20, 37, 53, 0.12);
}

.footer-grid {
  align-items: start;
}

.footer-qr-wrap {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.qr-box {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(20, 37, 53, 0.1);
}

.qr-code {
  width: 132px;
  height: 132px;
  border-radius: 12px;
  background: #fff;
  display: block;
}

.share-btn {
  min-height: 44px;
  padding: 0 16px;
  background: rgba(20, 37, 53, 0.06);
  border: 1px solid rgba(20, 37, 53, 0.12);
}

.share-btn:hover {
  background: var(--ink);
  color: #fff;
}

.notice-bar {
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(181,59,45,0.08);
  border: 1px solid rgba(181,59,45,0.12);
  color: var(--ink);
}

.page-hero {
  padding: 42px 0 10px;
}

.page-hero .page-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.page-side-card {
  padding: 24px;
  background: rgba(251,248,243,0.85);
  border-radius: 26px;
  border: 1px solid rgba(20,37,53,0.08);
  box-shadow: var(--shadow);
}

.page-list li + li,
.content-card li + li,
.article-card li + li,
.contact-card li + li,
.guide-card li + li,
.expert-card li + li {
  margin-top: 8px;
}

.update-line {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.mobile-only {
  display: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fz92away {
  opacity: 0;
  transform: translateY(16px);
}

.fz92away.is-visible {
  animation: riseIn 0.7s ease forwards;
}

@media (max-width: 1100px) {
  .hero-grid,
  .page-hero .page-layout,
  .section-heading.with-side,
  .cards-2,
  .cards-3,
  .cards-4,
  .content-grid,
  .expert-grid,
  .video-grid,
  .review-grid,
  .faq-grid,
  .logo-wall,
  .gallery-grid,
  .article-grid,
  .tools-grid,
  .share-grid,
  .footer-grid,
  .info-grid,
  .quick-stats,
  .stat-strip .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }
}

pre {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: #182938;
  color: #eff5f8;
  overflow: auto;
  font-size: 0.88rem;
  line-height: 1.7;
}

ol {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

ol li + li {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .header-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .search-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-copy,
  .panel,
  .section-card,
  .video-card,
  .article-card,
  .review-card,
  .faq-item,
  .contact-card,
  .guide-card,
  .share-card,
  .info-card,
  .expert-card {
    padding: 18px;
  }

  .floating-card {
    right: 14px;
    left: 14px;
    width: auto;
    bottom: 14px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.2rem;
  }

  .video-demo {
    min-height: 260px;
  }

  .qr-box {
    width: 100%;
  }

  .mobile-only {
    display: block;
  }
}

/* SEO 与 EEAT 扩展模块：海角内容标准、规范页、FAQ、品牌口碑 */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.page-grid {
  align-items: center;
}

.panel,
.info-card,
.article-card,
.review-card,
.expert-card,
.contact-card,
.video-card,
.content-card {
  padding: 24px;
}

.panel h2,
.info-card h3,
.article-card h3,
.review-card h3,
.expert-card h3,
.contact-card h2,
.video-card h3,
.content-card h3 {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  line-height: 1.3;
}

.panel p,
.panel li,
.content-card li,
.expert-card li,
.contact-card li,
.review-card p,
.article-card p,
.video-card p,
.info-card p {
  color: var(--ink-soft);
}

.panel ul,
.content-card ul,
.expert-card ul {
  margin: 0;
  padding-left: 18px;
}

.panel li,
.content-card li,
.expert-card li {
  margin-bottom: 8px;
}

.faq-stack {
  display: grid;
  gap: 14px;
}

.logo-wall span {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(20, 37, 53, 0.08);
  background: rgba(255,255,255,0.66);
  font-weight: 700;
  color: var(--deep);
}

.video-card .media-thumb,
.contact-card .media-thumb {
  margin-bottom: 14px;
}

.video-overlay {
  opacity: 0;
  transition: 0.25s ease;
}

.video-card:hover .video-overlay,
.video-card:focus-within .video-overlay,
.video-demo:hover .video-overlay {
  opacity: 1;
}

.video-meta {
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 700;
}

.action-link {
  margin-top: 10px;
  width: fit-content;
}

@media (max-width: 1100px) {
  .trust-grid,
  .hero-metrics,
  .cards-4,
  .logo-wall,
  .quick-stats,
  .expert-grid,
  .tools-grid,
  .article-grid,
  .gallery-grid,
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .trust-grid,
  .hero-grid,
  .cards-2,
  .content-grid,
  .video-grid,
  .review-grid,
  .share-grid,
  .footer-grid,
  .expert-grid,
  .article-grid,
  .logo-wall,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .panel,
  .info-card,
  .article-card,
  .review-card,
  .expert-card,
  .contact-card,
  .video-card,
  .content-card,
  .hero-copy {
    padding: 20px;
  }
}


.site-brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}
