/* 91免费看片 | Design system & responsive layout
   Sections: Base / Header / Hero / Topics / Articles / Footer / Responsive
*/

:root {
  --ink: #17252d;
  --muted: #66777d;
  --paper: #f7f5ef;
  --line: #e5e6df;
  --teal: #176d70;
  --gold: #dbac6c;
  --night: #102830;
  --white: #fff;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  background: var(--paper);
  line-height: 1.8;
}

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

a:focus-visible,button:focus-visible,input:focus-visible {
  outline: 3px solid #dfb96c;
  outline-offset: 3px;
}

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

p {
  margin: 0 0 1.1em;
}

h1,h2,h3 {
  line-height: 1.35;
  margin: 0;
}

h1 {
  letter-spacing: -.04em;
}

h2 {
  letter-spacing: -.025em;
}

button,input {
  font: inherit;
}

.container {
  width: min(1180px,calc(100% - 48px));
  margin: auto;
}

.skip {
  position: absolute;
  top: -90px;
  left: 12px;
  background: #fff;
  padding: 8px;
  z-index: 30;
}

.skip:focus {
  top: 8px;
}

.topline {
  background: #15333a;
  color: #dae5e2;
  font-size: 12px;
  letter-spacing: .13em;
}

.topline .container {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
}

.mast {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mast .container {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.05em;
}

.logo-mark {
  width: 43px;
  height: 43px;
  background: var(--teal);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 23px;
}

.logo small {
  display: block;
  font-size: 10px;
  letter-spacing: .19em;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.2;
}

.nav {
  display: flex;
  gap: 23px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 650;
  font-size: 14px;
  color: #364b4e;
}

.nav a:hover,.nav a[aria-current="page"] {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 13px;
  color: var(--ink);
}

.searchline {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.searchline .container {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
}

.searchline span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.search {
  display: flex;
  max-width: 500px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 35px;
  overflow: hidden;
}

.search input {
  border: 0;
  min-width: 0;
  width: 100%;
  padding: 7px 17px;
  outline: 0;
}

.search button {
  border: 0;
  background: var(--teal);
  color: white;
  padding: 7px 18px;
  cursor: pointer;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero {
  background: var(--night);
  color: #fff;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 520px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 58px 70px 0;
  position: relative;
}

.hero-copy:before {
  content: "";
  position: absolute;
  width: 90px;
  height: 4px;
  top: 53px;
  background: var(--gold);
}

.hero .eyebrow {
  color: #b4d8d2;
}

.hero h1 {
  font-size: clamp(38px,4.2vw,60px);
  margin: 18px 0 24px;
}

.hero h1 em {
  font-style: normal;
  color: #efc98d;
}

.hero p {
  font-size: 15px;
  color: #cbdbda;
  max-width: 460px;
}

.hero-image {
  position: relative;
  min-height: 460px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  position: absolute;
}

.hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,var(--night),transparent 35%);
}

.btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: #172b31;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 800;
  margin-top: 23px;
  font-size: 14px;
}

.btn:hover {
  background: #f0cb91;
}

.hero-note {
  font-size: 12px;
  letter-spacing: .08em;
  color: #90acae;
  margin-top: 36px;
}

.intro-strip {
  background: #eaece5;
  border-bottom: 1px solid var(--line);
}

.intro-strip .container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 34px;
  padding: 28px 0;
}

.intro-strip strong {
  font-size: 17px;
}

.intro-strip p {
  font-size: 14px;
  color: #50666b;
  margin: 0;
}

.section {
  padding: 68px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 25px;
  gap: 20px;
}

.section-head h2 {
  font-size: clamp(24px,3vw,36px);
  margin-top: 8px;
}

.section-head p {
  max-width: 440px;
  color: var(--muted);
  font-size: 14px;
}

.more {
  font-size: 13px;
  color: var(--teal);
  font-weight: 800;
  white-space: nowrap;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.feature {
  min-height: 300px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background: #183a41;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
}

.feature:first-child {
  grid-row: span 2;
  min-height: 620px;
  padding: 38px;
}

.feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}

.feature:hover img {
  transform: scale(1.05);
}

.feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(6,25,32,.95),rgba(6,25,32,.05) 78%);
}

.feature>*:not(img) {
  position: relative;
  z-index: 1;
}

.feature h3 {
  font-size: 22px;
  margin-top: 7px;
}

.feature:first-child h3 {
  font-size: 35px;
}

.feature p {
  color: #d5e0df;
  font-size: 13px;
  max-width: 540px;
}

.feature .tag {
  color: #f3ce96;
  font-size: 12px;
  letter-spacing: .1em;
}

.dark-panel {
  background: #17343a;
  color: white;
}

.dark-panel .eyebrow {
  color: #9bcac8;
}

.topics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 17px;
}

.topic {
  border: 1px solid #466168;
  border-radius: 14px;
  padding: 30px;
  min-height: 180px;
  transition: background .2s;
}

.topic:hover {
  background: #214950;
}

.topic .num {
  font-family: Georgia,serif;
  font-size: 32px;
  color: #e5b875;
}

.topic h3 {
  font-size: 20px;
  margin: 10px 0;
}

.topic p {
  font-size: 13px;
  color: #c1d0cc;
}

.articles-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 280px;
  gap: 32px;
}

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

.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s,box-shadow .2s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #1d35321c;
}

.article-card img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.article-card .detail {
  padding: 21px;
}

.article-card h3 {
  font-size: 19px;
  margin: 9px 0;
}

.article-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.pill {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--teal);
  font-weight: 750;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 16px;
}

.side-box {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 18px;
}

.side-box h3 {
  font-size: 19px;
  margin-bottom: 16px;
}

.side-box li {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
}

.side-box ol,.side-box ul {
  margin: 0;
  padding-left: 20px;
}

.side-box p {
  font-size: 13px;
  color: var(--muted);
}

.banner {
  background: #e5eae2;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  padding: 40px;
}

.banner h2 {
  font-size: 31px;
  margin: 8px 0;
}

.banner p {
  color: var(--muted);
  font-size: 14px;
}

.banner .quote {
  font-family: Georgia,serif;
  font-size: 72px;
  line-height: 1;
  color: var(--teal);
}

.footer {
  background: #10262c;
  color: #c1d1d0;
  padding: 52px 0 25px;
  margin-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 17px;
}

.footer p,.footer a {
  font-size: 13px;
}

.footer ul {
  padding: 0;
  list-style: none;
  line-height: 2.4;
}

.footer a:hover {
  color: #edce93;
}

.copyright {
  border-top: 1px solid #385057;
  padding-top: 20px;
  margin-top: 40px;
  font-size: 12px;
  color: #9cb3b6;
}

.page-head {
  padding: 58px 0 47px;
  background: #e8eee7;
}

.page-head h1 {
  font-size: clamp(30px,3.8vw,49px);
  max-width: 820px;
  margin: 8px 0 17px;
}

.page-head p {
  max-width: 780px;
  color: #54676c;
  font-size: 15px;
}

.crumb {
  font-size: 12px;
  color: #697d7d;
  padding: 19px 0;
}

.crumb a {
  color: var(--teal);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.category-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 27px;
  border-radius: 16px;
}

.category-card h2 {
  font-size: 22px;
  margin: 10px 0;
}

.category-card p {
  font-size: 13px;
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0,790px) 270px;
  gap: 45px;
}

.story {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.story-cover {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border-radius: 10px;
  margin: 4px 0 25px;
}

.story .lead {
  font-size: 18px;
  color: #445a60;
  border-left: 4px solid var(--gold);
  padding-left: 19px;
  margin: 15px 0 31px;
}

.story h2 {
  font-size: 26px;
  margin: 40px 0 15px;
}

.story p {
  font-size: 16px;
  line-height: 2.05;
  color: #41555a;
}

.story .tip {
  padding: 20px 24px;
  background: #f0f4f1;
  border-left: 4px solid var(--teal);
  margin-top: 35px;
  font-size: 14px;
}

.related {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 15px;
  margin-top: 15px;
}

.related a {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

.related a:hover {
  border-color: var(--teal);
}

.search-status {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 17px;
}

.empty {
  display: none;
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.article-card[hidden] {
  display: none;
}

@media (max-width:1060px) {
  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 12px;
  }

  .logo {
    font-size: 19px;
  }

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

  .feature:first-child {
    grid-column: span 2;
    grid-row: auto;
    min-height: 440px;
  }

  .articles-layout,.article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
  }

  .side-box {
    margin-bottom: 0;
  }

}

@media (max-width:760px) {
  .container {
    width: min(100% - 32px,1180px);
  }

  .mast .container {
    min-height: 72px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    flex-basis: 100%;
    padding-bottom: 15px;
    flex-direction: column;
    align-items: start;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 15px;
    padding: 6px 0;
  }

  .searchline .container {
    flex-wrap: wrap;
  }

  .search {
    max-width: none;
    width: 100%;
    flex-basis: 100%;
  }

  .hero-layout {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-image {
    min-height: 260px;
  }

  .hero-image:after {
    background: linear-gradient(0deg,var(--night),transparent 70%);
  }

  .hero-copy {
    padding: 30px 0 48px;
  }

  .hero-copy:before {
    top: 10px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .intro-strip .container {
    display: block;
  }

  .intro-strip strong {
    display: block;
    margin-bottom: 8px;
  }

  .section {
    padding: 45px 0;
  }

  .section-head {
    align-items: start;
  }

  .featured-grid,.topics,.article-grid,.category-grid,.footer-grid,.banner,.related,.sidebar {
    grid-template-columns: 1fr;
  }

  .feature,.feature:first-child {
    grid-column: auto;
    min-height: 300px;
    padding: 23px;
  }

  .feature:first-child h3 {
    font-size: 27px;
  }

  .banner {
    padding: 28px;
  }

  .article-layout {
    gap: 18px;
  }

  .story {
    padding: 24px;
  }

  .story h2 {
    font-size: 22px;
  }

  .story p {
    font-size: 15px;
  }

  .footer {
    margin-top: 45px;
  }

  .topline .container span:last-child {
    display: none;
  }

}

@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

}

/* Prevent grid overflow and improve long Chinese titles on narrow screens. */
.hero-layout > *, .featured-grid > *, .articles-layout > *, .article-grid > * { min-width: 0; }
h1, h2, h3, p { overflow-wrap: anywhere; }
img { height: auto; }
.hero-image img, .feature img { height: 100%; }
@media (max-width: 480px) {
  .topline { letter-spacing: .03em; }
  .hero h1 { font-size: clamp(30px, 8vw, 38px); }
  .hero-note { line-height: 2; }
  .section-head { flex-wrap: wrap; }
  .featured-grid { gap: 14px; }
  .feature, .feature:first-child { min-height: 280px; }
  .article-card .detail { padding: 18px; }
  .story { padding: 18px; }
}
