/* ============================================================
   安家社区 — 住宅租赁主题样式
   设计方向：暖白+木色+绿植+浅蓝 / 大留白 / 圆角 / 杂志感
   架构模式：第三方模板模式（{pboot:sitedomain}/skin/）
   ============================================================ */

/* === Google Fonts === */


/* === CSS 变量 === */
:root {
  --warm-bg: #FDF8F0;
  --wood: #D4A373;
  --wood-dark: #B8834A;
  --wood-light: #E8CDA8;
  --green: #7BA05B;
  --green-dark: #5C7A3E;
  --green-light: #A8C97E;
  --sky: #A8C5D6;
  --sky-light: #D4E4ED;
  --sky-dark: #7BA4B8;
  --text: #3D3226;
  --text-secondary: #6B5E4F;
  --text-muted: #9B8E7F;
  --white: #FFFFFF;
  --bg-cream: #FFF9F2;
  --bg-warm: #FEF6EC;
  --card-bg: #FFFFFF;
  --card-shadow: 0 2px 16px rgba(180, 150, 120, 0.10);
  --card-shadow-hover: 0 6px 28px rgba(180, 150, 120, 0.18);
  --border: #E8DCCF;
  --border-light: #F2E8DA;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, -apple-system, sans-serif;
  --font-heading: 'Noto Serif SC', 'PingFang SC', 'Microsoft YaHei', 'STSong', 'SimSun', serif;
  --font-num: 'Georgia', 'Times New Roman', serif;
  --shadow-xs: 0 1px 4px rgba(60, 50, 40, 0.04);
  --shadow-sm: 0 2px 8px rgba(60, 50, 40, 0.06);
  --shadow: 0 4px 16px rgba(60, 50, 40, 0.08);
  --shadow-lg: 0 8px 32px rgba(60, 50, 40, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { overflow-x: hidden;
  font-family: var(--font);
  font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--warm-bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); }

/* === 排版 === */
.section-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--wood); margin-bottom: var(--space-sm);
  padding: 4px 14px; background: rgba(212,163,115,0.10); border-radius: 100px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700;
  color: var(--text); line-height: 1.3; margin-bottom: var(--space-sm);
}
.section-subtitle { font-size: 1rem; color: var(--text-secondary); max-width: 560px; }

/* 区块标题容器 — 桌面大留白，移动端由 media query 收紧 */
.section-head { text-align: center; margin-bottom: var(--space-xl); }
.section-head .section-subtitle { margin: 0 auto; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--space); text-align: left; }
.section-head--split .section-subtitle { margin: 0; }
.section-more { text-align: center; margin-top: var(--space-lg); }
/* 图文段落 — 移动端需要单独限高，不能误伤同区块其它 p */
.about-text { color: var(--text-secondary); line-height: 1.9; }

/* === 按钮 === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  transition: all var(--transition); cursor: pointer; white-space: nowrap;
}
.btn--primary { background: var(--wood); color: #fff; border: 2px solid var(--wood); }
.btn--primary:hover { background: var(--wood-dark); border-color: var(--wood-dark); box-shadow: 0 4px 16px rgba(212,163,115,0.35); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--wood); border: 2px solid var(--wood); }
.btn--outline:hover { background: var(--wood); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn--ghost:hover { color: var(--wood); border-color: var(--wood); }
.btn--white { background: #fff; color: var(--wood); border: 2px solid #fff; }
.btn--white:hover { background: var(--warm-bg); border-color: var(--warm-bg); }
.btn--green { background: var(--green); color: #fff; border: 2px solid var(--green); }
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); box-shadow: 0 4px 16px rgba(123,160,91,0.35); transform: translateY(-1px); }
.btn--lg { padding: 15px 36px; font-size: 1rem; }

/* === 卡片 === */
.card {
  display: block; background: var(--card-bg); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light); transition: all var(--transition);
}
.card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }
.card__image { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-cream); }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.card:hover .card__image img { transform: scale(1.05); }
.card__body { padding: var(--space-md); }
.card__tag { display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--wood); background: rgba(212,163,115,0.10); padding: 3px 10px; border-radius: 100px; margin-bottom: var(--space-sm); }
.card__title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: var(--space-sm); line-height: 1.4; }
.card__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: var(--space-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: var(--text-muted); }
.card__meta i { color: var(--wood); margin-right: 4px; }
.card__price { font-family: var(--font-num); font-size: 1.35rem; font-weight: 700; color: var(--wood); margin-top: var(--space-sm); }
.card__price small { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }

/* === HEADER === */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-light); transition: all var(--transition); overflow-x: hidden; }
.header.scrolled { background: rgba(255,255,255,0.96); box-shadow: var(--shadow-sm); }
.header__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); display: flex; align-items: center; justify-content: space-between; height: 72px; overflow-x: hidden; position: relative; }
.header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 1; min-width: 0; }
.header__logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--wood), var(--wood-dark)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; flex-shrink: 0; }
.header__logo-text { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.header__logo-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--text); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header__logo-sub { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header__nav { display: flex; align-items: center; gap: 4px; }
.header__nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 16px; border-radius: 100px; font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); transition: all var(--transition); white-space: nowrap; }
.header__nav-link:hover, .header__nav-link.active { color: var(--wood); background: rgba(212,163,115,0.08); }
.header__nav-item { position: relative; }
.header__dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 180px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); box-shadow: 0 16px 48px rgba(60,50,40,0.12); padding: var(--space-sm); opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 110; }
.header__nav-item:hover .header__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.header__dropdown a { display: block; padding: 10px 16px; border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--text-secondary); transition: all var(--transition); }
.header__dropdown a:hover { background: var(--bg-cream); color: var(--wood); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; background: var(--wood); color: #fff; transition: all var(--transition); white-space: nowrap; }
.header__cta:hover { background: var(--wood-dark); box-shadow: 0 4px 14px rgba(212,163,115,0.35); transform: translateY(-1px); }

/* 汉堡 (13.4: 独立元素, 绝对定位防溢出) */
.hamburger { display: none; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; z-index: 120; padding: 4px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.92); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* 移动端菜单 */
.mobile-nav { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: #fff; z-index: 130; box-shadow: -4px 0 32px rgba(0,0,0,0.10); transition: right var(--transition-slow); overflow-y: auto; }
.mobile-nav.open { right: 0; }
.mobile-nav__inner { padding: var(--space-md); }
.mobile-nav__link { display: block; padding: 14px 16px; font-size: 1rem; font-weight: 500; color: var(--text); border-radius: var(--radius-sm); transition: background var(--transition); }
.mobile-nav__link:hover { background: var(--bg-cream); }
.mobile-nav__sub { padding-left: var(--space-md); display: none; }
.mobile-nav__sub.open { display: block; }
.mobile-nav__sub a { display: block; padding: 10px 16px; font-size: 0.9rem; color: var(--text-secondary); border-radius: var(--radius-sm); }
.mobile-nav__sub a:hover { color: var(--wood); }
.mobile-nav__overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 125; opacity: 0; visibility: hidden; transition: all var(--transition); }
.mobile-nav__overlay.open { opacity: 1; visibility: visible; }

/* === HERO === */
.hero { position: relative; width: 100%; height: 100vh; min-height: 600px; max-height: 850px; overflow: hidden; background: var(--bg-warm); }
.hero-swiper, .hero-swiper .swiper-wrapper, .hero-swiper .swiper-slide { width: 100%; height: 100%; }
.hero__slide { width: 100%; height: 100%; background-size: cover; background-position: center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,30,20,0.20) 0%, rgba(40,30,20,0.08) 40%, rgba(40,30,20,0.35) 100%); z-index: 2; }
.hero__content { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 5; text-align: center; width: 90%; max-width: 750px; }
.hero__title { font-family: var(--font-heading); font-size: clamp(2rem,5vw,3.5rem); font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: var(--space-md); text-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.hero__subtitle { font-size: clamp(1rem,2vw,1.25rem); color: rgba(255,255,255,0.90); margin-bottom: var(--space-lg); text-shadow: 0 1px 8px rgba(0,0,0,0.10); }
.hero__actions { display: flex; gap: var(--space); justify-content: center; flex-wrap: wrap; }
.hero__scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.4); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
.hero-pagination .swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255,255,255,0.5); opacity: 1; transition: all var(--transition); }
.hero-pagination .swiper-pagination-bullet-active { background: var(--wood); width: 28px; border-radius: 5px; }

/* === SECTION === */
.section { padding: var(--space-2xl) 0; }
.section--warm { background: var(--bg-warm); }
.section--cream { background: var(--bg-cream); }
.section--wood { background: linear-gradient(135deg, var(--wood), var(--wood-dark)); color: #fff; }
.section--wood .section-title { color: #fff; }
.section--wood .section-tag { color: #fff; background: rgba(255,255,255,0.18); }
.section--wood .section-subtitle { color: rgba(255,255,255,0.85); }

/* === 内页 BANNER === */
.inner-banner { position: relative; height: 340px; overflow: hidden; margin-top: 72px; }
.inner-banner__bg { width: 100%; height: 100%; background-size: cover; background-position: center; }
.inner-banner__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,30,20,0.25), rgba(40,30,20,0.45)); z-index: 1; }
.inner-banner__content { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; text-align: center; }
.inner-banner__title { font-family: var(--font-heading); font-size: clamp(1.6rem,3.5vw,2.5rem); font-weight: 700; color: #fff; margin-bottom: var(--space-sm); }
.inner-banner__subtitle { font-size: 1rem; color: rgba(255,255,255,0.85); }
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--border-light); padding: 14px 0; }
.breadcrumb { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--wood); }
.breadcrumb i { font-size: 0.65rem; margin: 0 6px; }

/* === 统计数字 === */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-md); }
.stat-item { text-align: center; padding: var(--space-lg) var(--space); background: rgba(255,255,255,0.50); border-radius: var(--radius-lg); border: 1px solid var(--border-light); transition: all var(--transition); }
.stat-item:hover { background: rgba(255,255,255,0.85); box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.stat-item__number { font-family: var(--font-num); font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--wood); line-height: 1.1; margin-bottom: var(--space-sm); }
.stat-item__label { font-size: 0.9rem; color: var(--text-secondary); }

/* === 列表网格 === */
.list-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-md); }
.list-grid--4 { grid-template-columns: repeat(4,1fr); }
.list-grid--2 { grid-template-columns: repeat(2,1fr); }

/* === 配套图标 === */
.amenities-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-md); }
.amenity-card { text-align: center; padding: var(--space-lg) var(--space); background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-light); box-shadow: var(--card-shadow); transition: all var(--transition); }
.amenity-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.amenity-card__icon { width: 72px; height: 72px; margin: 0 auto var(--space); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.amenity-card__icon--green { background: rgba(123,160,91,0.12); color: var(--green); }
.amenity-card__icon--wood { background: rgba(212,163,115,0.12); color: var(--wood); }
.amenity-card__icon--sky { background: rgba(168,197,214,0.15); color: var(--sky-dark); }
.amenity-card__title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: var(--space-sm); }
.amenity-card__desc { font-size: 0.85rem; color: var(--text-muted); }

/* === ABOUT 图文混排 === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.about-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }

/* === 评价卡片 === */
.review-card { background: #fff; border-radius: var(--radius-lg); padding: var(--space-lg); border: 1px solid var(--border-light); box-shadow: var(--card-shadow); position: relative; }
.review-card::before { content: '"'; position: absolute; top: 12px; left: 20px; font-family: Georgia,serif; font-size: 4rem; color: rgba(212,163,115,0.15); line-height: 1; }
.review-card__text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--space); font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 12px; padding-top: var(--space); border-top: 1px solid var(--border-light); }
.review-card__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-cream); overflow: hidden; }
.review-card__name { font-weight: 600; color: var(--text); font-size: 0.9rem; }
.review-card__meta { font-size: 0.78rem; color: var(--text-muted); }

/* === 新闻列表 === */
.news-item { display: flex; gap: var(--space-md); padding: var(--space-md); background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-light); box-shadow: var(--card-shadow); transition: all var(--transition); margin-bottom: var(--space); }
.news-item:hover { box-shadow: var(--card-shadow-hover); transform: translateX(4px); }
.news-item__thumb { width: 240px; aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.news-item:hover .news-item__thumb img { transform: scale(1.05); }
.news-item__info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-item__title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: var(--space-sm); }
.news-item__date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: var(--space-sm); }
.news-item__desc { font-size: 0.85rem; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* === CTA === */
.cta-section { padding: var(--space-2xl) 0; background: linear-gradient(135deg, var(--bg-warm), rgba(212,163,115,0.08)); text-align: center; }
.cta-section__title { font-family: var(--font-heading); font-size: clamp(1.8rem,4vw,2.5rem); font-weight: 700; color: var(--text); margin-bottom: var(--space); }
.cta-section__desc { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: var(--space-lg); }

/* === 搜索 === */
.search-section { padding-top: 100px; padding-bottom: var(--space-lg); background: #fff; border-bottom: 1px solid var(--border-light); }
.search-box { max-width: 700px; margin: 0 auto; }
.search-form-row { display: flex; gap: var(--space-sm); }
.search-input-wrap { flex: 1; position: relative; }
.search-input-wrap i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-input-wrap input { width: 100%; padding: 14px 16px 14px 42px; border: 2px solid var(--border); border-radius: 100px; font-size: 0.95rem; outline: none; transition: border-color var(--transition); background: #fff; }
.search-input-wrap input:focus { border-color: var(--wood); }
.search-result-item { display: flex; gap: var(--space); padding: var(--space); border-radius: var(--radius); transition: all var(--transition); margin-bottom: var(--space-sm); }
.search-result-item:hover { background: var(--bg-cream); }
.search-result-item__thumb { width: 160px; aspect-ratio: 3/2; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.search-result-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-item__info { flex: 1; }
.search-result-item__title { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.search-result-item__date { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }
.search-result-item__desc { font-size: 0.85rem; color: var(--text-secondary); }

/* === 详情页 === */
.detail { max-width: 860px; margin: 0 auto; }
.detail__header { margin-bottom: var(--space-lg); }
.detail__title { font-family: var(--font-heading); font-size: clamp(1.5rem,3vw,2rem); font-weight: 700; color: var(--text); margin-bottom: var(--space); }
.detail__meta-row { display: flex; flex-wrap: wrap; gap: var(--space); font-size: 0.85rem; color: var(--text-muted); }
.detail__meta-row i { color: var(--wood); margin-right: 4px; }
.detail__params { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-sm); margin-bottom: var(--space-lg); }
.detail__param { text-align: center; padding: var(--space); background: var(--bg-warm); border-radius: var(--radius); border: 1px solid var(--border-light); }
.detail__param-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }
.detail__param-value { font-family: var(--font-num); font-size: 1.15rem; font-weight: 700; color: var(--text); }
.detail__body { font-size: 1rem; color: var(--text-secondary); line-height: 1.9; }
.detail__body p { margin-bottom: var(--space); }
.detail__body img { border-radius: var(--radius); margin: var(--space-md) 0; }
.detail__pager { display: flex; justify-content: space-between; align-items: center; padding: var(--space-md) 0; margin-top: var(--space-xl); border-top: 1px solid var(--border-light); font-size: 0.85rem; color: var(--text-muted); }
.detail__pager a { color: var(--wood); }
.detail__pager a:hover { text-decoration: underline; }

/* === Tabs === */
.tabs { display: flex; gap: 0; margin-bottom: var(--space-md); border-bottom: 2px solid var(--border-light); }
.tab-btn { padding: 12px 24px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); cursor: pointer; }
.tab-btn.active, .tab-btn:hover { color: var(--wood); }
.tab-btn.active { border-bottom-color: var(--wood); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* === 联系页 === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.contact-info__item { display: flex; gap: var(--space); padding: var(--space); margin-bottom: var(--space-sm); border-radius: var(--radius); transition: background var(--transition); }
.contact-info__item:hover { background: var(--bg-cream); }
.contact-info__icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(212,163,115,0.10); display: flex; align-items: center; justify-content: center; color: var(--wood); font-size: 1.1rem; flex-shrink: 0; }
.contact-info__label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-info__value { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.contact-form-card { background: #fff; border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow); border: 1px solid var(--border-light); }
.form-group { margin-bottom: var(--space); }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; outline: none; background: #fff; transition: border-color var(--transition); }
.form-control:focus { border-color: var(--wood); }
.required { color: #e74c3c; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* === 分页 === */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: var(--space-xl); }
.pagination a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); border: 1px solid var(--border); transition: all var(--transition); }
.pagination a:hover, .pagination a.active { background: var(--wood); color: #fff; border-color: var(--wood); }

/* 空状态 */
.empty-state { text-align: center; padding: var(--space-2xl) var(--space); color: var(--text-muted); }
.empty-state i { font-size: 3rem; color: var(--border); margin-bottom: var(--space); display: block; }

/* 子栏目过滤栏 */
.filter-bar { display: flex; align-items: center; gap: 8px; padding: 14px 0; flex-wrap: wrap; }
.filter-bar a { padding: 8px 20px; border-radius: 100px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); background: rgba(255,255,255,0.5); border: 1px solid var(--border); transition: all var(--transition); }
.filter-bar a:hover, .filter-bar a.active { background: var(--wood); color: #fff; border-color: var(--wood); }

/* === FOOTER === */
.footer { background: linear-gradient(180deg, #3D3226 0%, #2C241C 100%); color: rgba(255,255,255,0.7); padding: var(--space-2xl) 0 0; }
.footer__top-line { height: 4px; background: linear-gradient(90deg, var(--wood), var(--green), var(--sky)); }
.footer__grid { max-width: var(--max-width); margin: 0 auto; padding: var(--space-xl) var(--space-md) var(--space-lg); display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr; gap: var(--space-xl); }
.footer__brand-desc { font-size: 0.85rem; line-height: 1.8; color: rgba(255,255,255,0.55); margin-bottom: var(--space); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: all var(--transition); color: rgba(255,255,255,0.6); }
.footer__social a:hover { background: var(--wood); color: #fff; }
.footer__col-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: var(--space); }
.footer__links a { display: block; padding: 6px 0; font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: all var(--transition); }
.footer__links a:hover { color: var(--wood-light); padding-left: 4px; }
.footer__contact-item { display: flex; gap: 10px; padding: 6px 0; font-size: 0.85rem; color: rgba(255,255,255,0.55); align-items: flex-start; }
.footer__contact-item i { color: var(--wood); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }
.footer__qrcode { width: 100px; height: 100px; background: #fff; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--text-muted); text-align: center; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: var(--space-md) 0; }
.footer__bottom-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); font-size: 0.78rem; color: rgba(255,255,255,0.40); }
.footer__bottom-inner a { color: rgba(255,255,255,0.40); }
.footer__bottom-inner a:hover { color: var(--wood-light); }
.friend-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: var(--space) 0; border-top: 1px solid rgba(255,255,255,0.06); max-width: var(--max-width); margin: 0 auto; }
.friend-links__label { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.45); margin-right: 4px; }
.friend-links a { font-size: 0.78rem; color: rgba(255,255,255,0.35); padding: 4px 12px; border-radius: 100px; background: rgba(255,255,255,0.04); transition: all var(--transition); }
.friend-links a:hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.10); }

/* === 返回顶部 === */
.back-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; border-radius: 50%; background: var(--wood); color: #fff; z-index: 90; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; opacity: 0; visibility: hidden; transform: translateY(16px); transition: all var(--transition); box-shadow: 0 4px 16px rgba(212,163,115,0.3); }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--wood-dark); transform: translateY(-2px); }

/* 在线客服 */
.kefu-btn { position: fixed; bottom: 96px; right: 32px; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; z-index: 90; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 4px 16px rgba(123,160,91,0.35); transition: all var(--transition); animation: kefuPulse 3s ease-in-out infinite; }
.kefu-btn:hover { background: var(--green-dark); transform: scale(1.08); }
@keyframes kefuPulse { 0%,100% { box-shadow: 0 4px 16px rgba(123,160,91,0.35); } 50% { box-shadow: 0 4px 28px rgba(123,160,91,0.55); } }

/* === 动画 === */
@keyframes pulseAnim { 0%,100% { box-shadow: 0 0 0 0 rgba(212,163,115,0.4); } 50% { box-shadow: 0 0 0 16px rgba(212,163,115,0); } }
.pulse { animation: pulseAnim 2.5s ease-in-out infinite; }
@keyframes floatAnim { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-element { animation: floatAnim 6s ease-in-out infinite; }

/* 列表头 */
.list-header { text-align: center; margin-bottom: var(--space-xl); }
.list-header h1 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--text); margin-bottom: var(--space-sm); }

/* 相关推荐 */
.related-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--text); margin: var(--space-xl) 0 var(--space-md); }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-md); }

/* 环境画廊 */
.gallery-swiper { overflow: hidden; padding: 0 var(--space-md); }
.gallery-swiper .swiper-slide { width: 380px; }
.gallery-slide { display: block; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.gallery-slide img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-slide:hover img { transform: scale(1.05); }
.gallery-slide__info { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--space); background: linear-gradient(transparent,rgba(0,0,0,0.6)); color: #fff; }
.gallery-slide__title { font-size: 0.9rem; font-weight: 600; }
.gallery-slide__author { font-size: 0.75rem; opacity: 0.8; }

/* === 响应式 === */

/* --- 平板 (≤1024px)：网格降列，保持纵向排布 --- */
@media (max-width: 1024px) {
  .header__nav, .header__actions { display: none; }
  .hamburger { display: flex !important; position: absolute !important; right: 16px !important; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .amenities-grid, .list-grid--4 { grid-template-columns: repeat(2,1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2,1fr); }
  .detail__params { grid-template-columns: repeat(2,1fr); }
  .related-grid { grid-template-columns: repeat(2,1fr); }
  /* 新闻卡改为缩略图在左的紧凑横排（竖排在大屏下能接受，平板就太长了） */
  .news-item__thumb { width: 200px; }
  .inner-banner { height: 260px; }
  .hero { height: 80vh; min-height: 500px; }
  .section { padding: var(--space-xl) 0; }
}

/* --- 手机 (≤768px)：重新排版，而非压缩 PC 版 ---
   思路：纵向堆叠的三列网格 → 横向滑动卡片 / 紧凑双列 / 图文缩略行；
   段落间距从 96px 收到 46px；Hero 从 100vh 收到内容型 Banner。 */
@media (max-width: 768px) {

  /* --- 全局节奏 --- */
  :root {
    --space-md: 16px;
    --space-lg: 28px;
    --space-xl: 40px;
    --space-2xl: 46px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --max-width: 100%;
  }
  body { font-size: 15px; line-height: 1.7; }
  .container { padding: 0 16px; }

  /* 移动端关闭入场动画位移。
     main.js 里 AOS.init 的 disable 传的是函数，AOS 2.3.4 只认 true/'phone'/'tablet'
     等取值，函数会被忽略；结果手机端 [data-aos] 元素停在 translate(±100px)
     的初始位置，既造成横向溢出又让卡片互相压叠。这里从样式层兜底。 */
  [data-aos] { transform: none !important; opacity: 1 !important; transition: none !important; }

  /* --- 头部 --- */
  .header__inner { height: 58px; padding: 0 16px; }
  .header__logo-icon { width: 34px; height: 34px; font-size: 1rem; border-radius: 9px; }
  .header__logo-name { font-size: 0.98rem; }
  .header__logo-sub { font-size: 0.55rem; letter-spacing: 0.06em; }
  .hamburger { right: 12px !important; width: 34px; height: 34px; }
  .mobile-nav { width: 84%; right: -86%; }
  .mobile-nav.open { right: 0; }
  .mobile-nav__inner { padding: 20px; }
  .mobile-nav__link { padding: 12px 14px; font-size: 0.95rem; }

  /* --- 按钮 --- */
  .btn { padding: 10px 20px; font-size: 0.84rem; }

  /* --- Hero：满屏 → 内容型 Banner --- */
  .hero { height: 66vh; min-height: 430px; max-height: 560px; }
  .hero__content { width: 90%; }
  /* Banner 变矮后文字压在画面中段，加深遮罩与投影保证可读性 */
  .hero__overlay { background: linear-gradient(180deg, rgba(40,30,20,0.50) 0%, rgba(40,30,20,0.28) 45%, rgba(40,30,20,0.55) 100%); }
  .hero__title { font-size: clamp(1.5rem,7.4vw,2rem); line-height: 1.3; margin-bottom: 12px; text-shadow: 0 2px 16px rgba(0,0,0,0.40); }
  .hero__subtitle { font-size: 0.86rem; line-height: 1.65; margin-bottom: 24px; text-shadow: 0 1px 10px rgba(0,0,0,0.40); }
  .hero__actions { flex-direction: row; gap: 10px; }
  .hero__actions .btn { padding: 10px 20px; font-size: 0.82rem; }
  .hero__scroll-indicator { display: none; }
  .hero-pagination .swiper-pagination-bullet { width: 8px; height: 8px; }
  .hero-pagination .swiper-pagination-bullet-active { width: 22px; }

  /* --- 区块标题 --- */
  .section-head { margin-bottom: 22px; }
  /* 左标题+右按钮 → 居中竖排，与其余区块标题保持一致 */
  .section-head--split { flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-bottom: 22px; }
  .section-head--split .section-subtitle { margin: 0 auto; }
  .section-more { margin-top: 22px; }
  .section-tag { font-size: 0.66rem; padding: 3px 11px; margin-bottom: 8px; letter-spacing: 0.12em; }
  .section-title { font-size: 1.32rem; margin-bottom: 6px; }
  .section-subtitle { font-size: 0.85rem; line-height: 1.7; }

  /* --- 数字：4 列 → 2×2 --- */
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-item { padding: 18px 8px; border-radius: var(--radius); }
  .stat-item__number { font-size: 1.7rem; margin-bottom: 2px; }
  .stat-item__label { font-size: 0.76rem; }

  /* --- 横向滑动行（首页热租房源 / 租客评价 / 相关推荐）--- */
  .list-grid--row, .related-grid {
    display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px;
  }
  .list-grid--row::-webkit-scrollbar, .related-grid::-webkit-scrollbar { display: none; }
  .list-grid--row .card { flex: 0 0 74vw; max-width: 290px; scroll-snap-align: start; }
  .related-grid .card { flex: 0 0 62vw; max-width: 250px; scroll-snap-align: start; }
  .list-grid--reviews .review-card { flex: 0 0 82vw; max-width: 320px; scroll-snap-align: start; }

  /* --- 卡片 --- */
  .card__body { padding: 13px 14px; }
  .card__title { font-size: 0.95rem; margin-bottom: 6px; }
  .card__desc { font-size: 0.78rem; }
  .card__meta { font-size: 0.72rem; gap: 10px; }
  .card__price { font-size: 1.15rem; margin-top: 6px; }
  .card__tag { margin-bottom: 6px; }

  /* --- 房源列表页：卡片改为左图右文的紧凑横条 --- */
  .list-grid:not(.list-grid--row) { grid-template-columns: 1fr; gap: 12px; }
  .list-grid:not(.list-grid--row) .card { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: stretch; }
  .list-grid:not(.list-grid--row) .card__image { aspect-ratio: auto; height: 100%; min-height: 112px; }
  .list-grid:not(.list-grid--row) .card__desc { display: none; }

  /* --- 社区配套：4 列 → 2×2 --- */
  .amenities-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amenity-card { padding: 16px 8px; border-radius: var(--radius); }
  .amenity-card__icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 10px; }
  .amenity-card__title { font-size: 0.88rem; margin-bottom: 2px; }
  .amenity-card__desc { font-size: 0.7rem; line-height: 1.5; }

  /* --- 关于·社区 --- */
  .about-grid { gap: 20px; }
  .about-image { border-radius: var(--radius-lg); }
  .about-text { font-size: 0.87rem; line-height: 1.8; display: -webkit-box;
    -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }

  /* --- 实景画廊 --- */
  .gallery-swiper { padding: 0 16px; }
  .gallery-swiper .swiper-slide { width: 70vw !important; }
  .gallery-slide { border-radius: var(--radius); }
  .gallery-slide__info { padding: 12px; }
  .gallery-slide__title { font-size: 0.84rem; }

  /* --- 评价卡 --- */
  .review-card { padding: 18px 16px; border-radius: var(--radius); }
  .review-card::before { font-size: 3rem; top: 6px; left: 14px; }
  .review-card__text { font-size: 0.85rem; line-height: 1.75; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .review-card__author { padding-top: 12px; gap: 10px; }
  .review-card__avatar { width: 38px; height: 38px; }
  .review-card__name { font-size: 0.84rem; }
  .review-card__meta { font-size: 0.72rem; }

  /* --- 新闻：大图卡 → 缩略图横排 --- */
  .news-item { flex-direction: row; gap: 12px; padding: 12px; border-radius: var(--radius); margin-bottom: 10px; }
  .news-item__thumb { width: 100px; aspect-ratio: 1/1; }
  .news-item__title { font-size: 0.9rem; line-height: 1.45; margin-bottom: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .news-item__date { font-size: 0.7rem; margin-bottom: 4px; }
  .news-item__desc { font-size: 0.76rem; line-height: 1.6; -webkit-line-clamp: 1; }

  /* --- CTA --- */
  .cta-section { padding: 46px 0; }
  .cta-section__title { font-size: 1.3rem; margin-bottom: 10px; }
  .cta-section__desc { font-size: 0.88rem; margin-bottom: 22px; }

  /* --- 内页 Banner / 面包屑 --- */
  .inner-banner { height: 200px; margin-top: 58px; }
  .inner-banner__content { width: 90%; }
  .inner-banner__title { font-size: 1.35rem; margin-bottom: 4px; }
  .inner-banner__subtitle { font-size: 0.82rem; }
  .breadcrumb-bar { padding: 10px 0; }
  .breadcrumb { font-size: 0.76rem; padding: 0 16px; overflow-x: auto;
    white-space: nowrap; scrollbar-width: none; }
  .breadcrumb::-webkit-scrollbar { display: none; }

  /* --- 子栏目过滤栏：换行 → 横滑；吸顶位置跟随新头部高度 --- */
  .filter-bar-wrap { top: 58px !important; }
  .filter-bar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 8px;
    margin: 0 -16px; padding: 10px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar a { flex: 0 0 auto; padding: 7px 14px; font-size: 0.78rem; }

  /* --- 列表页标题 --- */
  .list-header { margin-bottom: 20px; }
  .list-header h1 { font-size: 1.3rem; }
  .list-header p { font-size: 0.84rem; }

  /* --- 详情页 --- */
  .detail__header { margin-bottom: 22px; }
  .detail__title { font-size: 1.3rem; margin-bottom: 10px; }
  .detail__meta-row { gap: 12px; font-size: 0.78rem; }
  .detail__params { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
  .detail__param { padding: 12px 8px; }
  .detail__param-label { font-size: 0.7rem; }
  .detail__param-value { font-size: 0.98rem; }
  .detail__body { font-size: 0.9rem; line-height: 1.85; }
  .detail__body p { margin-bottom: 12px; }
  .detail__body h2, .detail__body h3 { font-size: 1.1rem; margin-top: 20px; margin-bottom: 8px; }
  .detail__pager { flex-direction: column; align-items: flex-start; gap: 8px;
    margin-top: 30px; padding: 16px 0; font-size: 0.8rem; }
  .related-title { font-size: 1.1rem; margin: 30px 0 14px; }

  /* --- Tabs：换行 → 横滑 --- */
  .tabs { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex: 0 0 auto; padding: 11px 16px; font-size: 0.82rem; }

  /* --- 表单 / 联系 / 预约 --- */
  .contact-grid { gap: 22px; }
  .contact-info__item { padding: 12px; gap: 13px; margin-bottom: 6px; }
  .contact-info__icon { width: 40px; height: 40px; font-size: 0.95rem; }
  .contact-info__value { font-size: 0.88rem; }
  .contact-form-card { padding: 18px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-group { margin-bottom: 14px; }
  .form-group label { font-size: 0.8rem; }
  .form-control { padding: 12px 14px; font-size: 0.88rem; }

  /* --- 搜索 --- */
  .search-section { padding-top: 82px; padding-bottom: 22px; }
  .search-form-row { flex-direction: row; gap: 8px; }
  .search-input-wrap input { padding: 12px 14px 12px 38px; font-size: 0.88rem; }
  .search-form-row .btn { flex: 0 0 auto; padding: 0 18px; }
  .search-result-item { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 13px;
    padding: 12px; align-items: center; margin-bottom: 8px; }
  .search-result-item__thumb { width: 96px; aspect-ratio: 1/1; }
  .search-result-item__title { font-size: 0.9rem; line-height: 1.45; margin-bottom: 3px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .search-result-item__date { font-size: 0.7rem; }
  .search-result-item__desc { font-size: 0.76rem; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

  /* --- 分页 / 空状态 --- */
  .pagination { margin-top: 26px; gap: 4px; }
  .pagination a { width: 34px; height: 34px; font-size: 0.8rem; }
  .empty-state { padding: 40px 16px; }
  .empty-state i { font-size: 2.2rem; margin-bottom: 12px; }

  /* --- 页脚：4 列 → 两列（品牌/关注通栏）--- */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 30px 16px 20px; }
  .footer__grid > div:nth-child(1), .footer__grid > div:nth-child(4) { grid-column: 1 / -1; }
  .footer__brand-desc { font-size: 0.78rem; line-height: 1.7; margin-bottom: 14px; }
  .footer__social a { width: 34px; height: 34px; font-size: 0.85rem; }
  .footer__col-title { font-size: 0.92rem; margin-bottom: 12px; }
  .footer__links a { padding: 5px 0; font-size: 0.8rem; }
  .footer__contact-item { font-size: 0.78rem; gap: 8px; padding: 5px 0; overflow-wrap: anywhere; }
  .footer__contact-item span { min-width: 0; }
  .footer__qrcode { width: 88px; height: 88px; font-size: 0.66rem; }
  .footer__bottom { padding: 14px 0; }
  .footer__bottom-inner { flex-direction: column; text-align: center; font-size: 0.7rem; padding: 0 16px; }
  .friend-links { gap: 8px; padding: 12px 0; }
  .friend-links__label, .friend-links a { font-size: 0.72rem; }

  /* --- 悬浮按钮 --- */
  .back-top { right: 12px; bottom: 22px; width: 42px; height: 42px; font-size: 1rem; }
  .kefu-btn { right: 12px; bottom: 70px; width: 46px; height: 46px; font-size: 1.1rem; }
}

/* --- 小屏 (≤374px)：进一步收紧 --- */
@media (max-width: 374px) {
  .container { padding: 0 14px; }
  .list-grid--row, .related-grid { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
  .list-grid--row .card { flex-basis: 80vw; }
  .list-grid--reviews .review-card { flex-basis: 88vw; }
  .news-item__thumb { width: 88px; }
  .list-grid:not(.list-grid--row) .card { grid-template-columns: 100px minmax(0,1fr); }
  .search-result-item { grid-template-columns: 84px minmax(0,1fr); }
  .search-result-item__thumb { width: 84px; }
}
