/* ==========================================================
   91吃瓜在线 - 全站样式表
   餐饮目录风：暖色点缀、清晰分层、真实图片
   ========================================================== */

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #333333;
  background-color: #F5F0E6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #C1440E;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #a03a0b;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  color: #333333;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

p {
  margin-bottom: 1em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   Layout
   ========================================================== */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E8DCC8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  padding-top: 32px;
  padding-bottom: 64px;
}

.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid #E8DCC8;
  margin-top: 64px;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

/* ==========================================================
   Components
   ========================================================== */

/* --- Header / Brand --- */
.brand a {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #C1440E;
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 12px;
  color: #8a7a6a;
  letter-spacing: 1px;
}

/* --- Navigation --- */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #333333;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background-color: #F5F0E6;
  color: #C1440E;
}

.nav-list li a.is-current {
  background-color: #C1440E;
  color: #FFFFFF;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333333;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: #333333;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

/* --- Header guide link --- */
.header-guide-link {
  font-size: 14px;
  color: #C1440E;
  border: 1px solid #C1440E;
  border-radius: 6px;
  padding: 6px 16px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-guide-link:hover {
  background-color: #C1440E;
  color: #FFFFFF;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #8a7a6a;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #C1440E;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #8a7a6a;
}

.breadcrumb-current {
  color: #333333;
}

/* --- Page header --- */
.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #E8DCC8;
}

.page-title {
  font-size: 28px;
  color: #333333;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: #666666;
  max-width: 720px;
  margin-bottom: 0;
}

/* --- Buttons --- */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #C1440E;
  color: #FFFFFF;
  border: 1px solid #C1440E;
}

.btn-primary:hover {
  background-color: #a03a0b;
  color: #FFFFFF;
}

.btn-secondary {
  background-color: transparent;
  color: #C1440E;
  border: 1px solid #C1440E;
}

.btn-secondary:hover {
  background-color: #F5F0E6;
  color: #a03a0b;
}

/* --- Section header --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 22px;
  color: #333333;
}

.section-header a {
  font-size: 14px;
  color: #C1440E;
}

.section-header a:hover {
  text-decoration: underline;
}

/* --- Footer --- */
.footer-brand {
  margin-bottom: 32px;
}

.footer-slogan {
  font-size: 18px;
  font-weight: 700;
  color: #C1440E;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #666666;
  max-width: 520px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid #E8DCC8;
  border-bottom: 1px solid #E8DCC8;
}

.footer-col h4 {
  font-size: 15px;
  color: #333333;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #666666;
}

.footer-col ul li a:hover {
  color: #C1440E;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #8a7a6a;
  margin-bottom: 0;
}

/* ==========================================================
   Homepage
   ========================================================== */

/* --- Focus report / Hero --- */
.focus-report {
  padding: 48px 0 32px;
}

.focus-report-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  padding: 40px;
}

.focus-report-copy {
  flex: 1;
  min-width: 0;
}

.issue-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #C1440E;
  background-color: #F5F0E6;
  border-radius: 4px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.focus-headline {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.focus-description {
  font-size: 16px;
  color: #666666;
  margin-bottom: 24px;
  max-width: 560px;
}

.focus-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.focus-media {
  flex: 0 0 400px;
  max-width: 400px;
}

.focus-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

/* --- Channel tags --- */
.channel-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.channel-tags a {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  color: #333333;
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 6px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.channel-tags a:hover {
  border-color: #C1440E;
  color: #C1440E;
  background-color: #F5F0E6;
}

/* --- Latest news --- */
.latest-news {
  padding: 48px 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.news-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.news-link {
  display: flex;
  gap: 20px;
  padding: 16px;
}

.news-thumb {
  flex: 0 0 160px;
  max-width: 160px;
}

.news-thumb img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-content h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-content h3 a {
  color: #333333;
}

.news-content h3 a:hover {
  color: #C1440E;
}

.news-excerpt {
  font-size: 14px;
  color: #666666;
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-meta {
  font-size: 13px;
  color: #8a7a6a;
}

/* --- Topics preview --- */
.topics-preview {
  padding: 48px 0;
  background-color: #FFFFFF;
  border-top: 1px solid #E8DCC8;
  border-bottom: 1px solid #E8DCC8;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  background-color: #FFFFFF;
}

.topic-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.topic-card a {
  display: block;
}

.topic-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.topic-card h3 {
  font-size: 18px;
  padding: 16px 20px 8px;
}

.topic-card h3 a {
  color: #333333;
}

.topic-card h3 a:hover {
  color: #C1440E;
}

.topic-card p {
  font-size: 14px;
  color: #666666;
  padding: 0 20px 20px;
  margin-bottom: 0;
}

/* --- Editors picks --- */
.editors-picks {
  padding: 48px 0;
}

.picks-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pick-item {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.pick-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pick-item a {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 20px;
}

.pick-rank {
  flex: 0 0 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #C1440E;
  background-color: #F5F0E6;
  border-radius: 6px;
}

.pick-content {
  flex: 1;
  min-width: 0;
}

.pick-content h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.pick-content h3 a {
  color: #333333;
}

.pick-content h3 a:hover {
  color: #C1440E;
}

.pick-content p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 0;
}

/* --- Channel nav block --- */
.channel-nav-block {
  padding: 48px 0;
  background-color: #FFFFFF;
  border-top: 1px solid #E8DCC8;
}

.channel-nav-intro {
  font-size: 15px;
  color: #666666;
  margin-bottom: 24px;
  max-width: 640px;
}

.channel-nav-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.channel-link {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  color: #333333;
  background-color: #F5F0E6;
  border: 1px solid #E8DCC8;
  border-radius: 6px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.channel-link:hover {
  border-color: #C1440E;
  color: #C1440E;
  background-color: #FFFFFF;
}

/* ==========================================================
   Inner pages - Channels
   ========================================================== */

.layout-shell.sidebar-left {
  display: flex;
  gap: 32px;
}

.layout-shell.sidebar-left .channel-sidebar {
  flex: 0 0 220px;
  max-width: 220px;
}

.layout-shell.sidebar-left .channel-content {
  flex: 1;
  min-width: 0;
}

.channel-sidebar {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  padding: 24px;
  align-self: flex-start;
}

.channel-sidebar h2 {
  font-size: 16px;
  color: #333333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E8DCC8;
}

.sidebar-channel-list li {
  margin-bottom: 4px;
}

.sidebar-channel-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #666666;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-channel-list li a:hover {
  background-color: #F5F0E6;
  color: #C1440E;
}

.channel-list-section {
  margin-bottom: 48px;
}

.channel-list-section h2 {
  margin-bottom: 24px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.channel-card {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.channel-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.channel-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.channel-card h3 {
  font-size: 17px;
  padding: 16px 20px 8px;
}

.channel-card p {
  font-size: 14px;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 12px;
}

.channel-card a {
  display: inline-block;
  font-size: 14px;
  color: #C1440E;
  padding: 0 20px 20px;
}

.channel-card a:hover {
  text-decoration: underline;
}

.latest-by-channel h2 {
  margin-bottom: 24px;
}

.channel-article-item {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.channel-article-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.channel-article-item h3 a {
  color: #333333;
}

.channel-article-item h3 a:hover {
  color: #C1440E;
}

.article-meta {
  font-size: 13px;
  color: #8a7a6a;
  margin-bottom: 8px;
}

.channel-article-item p:not(.article-meta) {
  font-size: 14px;
  color: #666666;
  margin-bottom: 12px;
}

.channel-article-item a {
  font-size: 14px;
  color: #C1440E;
}

.channel-article-item a:hover {
  text-decoration: underline;
}

/* ==========================================================
   Inner pages - Topics
   ========================================================== */

.topic-grid {
  margin-bottom: 48px;
}

.section-title {
  margin-bottom: 8px;
}

.section-intro {
  font-size: 15px;
  color: #666666;
  margin-bottom: 24px;
  max-width: 720px;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-cards .topic-card {
  display: flex;
  flex-direction: column;
}

.topic-cards .topic-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.topic-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topic-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.topic-title a {
  color: #333333;
}

.topic-title a:hover {
  color: #C1440E;
}

.topic-summary {
  font-size: 14px;
  color: #666666;
  flex: 1;
  margin-bottom: 16px;
}

.topic-content a {
  font-size: 14px;
  color: #C1440E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topic-content a:hover {
  text-decoration: underline;
}

.arrow {
  font-size: 16px;
  line-height: 1;
}

.topic-articles {
  margin-bottom: 48px;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-item {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-item a {
  font-size: 15px;
  color: #333333;
  flex: 1;
}

.article-item a:hover {
  color: #C1440E;
}

.article-date {
  font-size: 13px;
  color: #8a7a6a;
  white-space: nowrap;
}

.list-footnote {
  font-size: 13px;
  color: #8a7a6a;
  margin-top: 16px;
  margin-bottom: 0;
}

.related-links {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  padding: 24px;
  margin-top: 48px;
}

.related-title {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E8DCC8;
}

.related-list li {
  margin-bottom: 12px;
}

.related-list li:last-child {
  margin-bottom: 0;
}

.related-list li a {
  font-size: 15px;
  color: #666666;
}

.related-list li a:hover {
  color: #C1440E;
}

/* ==========================================================
   Inner pages - Guide
   ========================================================== */

.layout-shell:not(.sidebar-left):not(.sidebar-right) {
  display: flex;
  gap: 40px;
}

.layout-shell:not(.sidebar-left):not(.sidebar-right) .guide-content {
  flex: 1;
  min-width: 0;
}

.layout-shell:not(.sidebar-left):not(.sidebar-right) .related-box {
  flex: 0 0 260px;
  max-width: 260px;
}

.guide-article {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  padding: 40px;
}

.guide-hero {
  margin-bottom: 32px;
}

.guide-hero img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

.guide-article h2 {
  font-size: 22px;
  margin: 32px 0 16px;
  padding-top: 24px;
  border-top: 1px solid #E8DCC8;
}

.guide-article h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.guide-article p {
  font-size: 16px;
  color: #444444;
  margin-bottom: 16px;
  max-width: 680px;
}

.related-box {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  padding: 24px;
  align-self: flex-start;
}

.related-box h3 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E8DCC8;
}

.related-box ul li {
  margin-bottom: 12px;
}

.related-box ul li:last-child {
  margin-bottom: 0;
}

.related-box ul li a {
  font-size: 14px;
  color: #666666;
}

.related-box ul li a:hover {
  color: #C1440E;
}

/* ==========================================================
   Inner pages - Insight
   ========================================================== */

.layout-shell.sidebar-right {
  display: flex;
  gap: 32px;
}

.layout-shell.sidebar-right .article-body {
  flex: 1;
  min-width: 0;
}

.layout-shell.sidebar-right .related-side {
  flex: 0 0 260px;
  max-width: 260px;
}

.article-body {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  padding: 40px;
}

.article-head {
  margin-bottom: 32px;
}

.article-kicker {
  font-size: 13px;
  font-weight: 600;
  color: #C1440E;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.article-head h2 {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 13px;
  color: #8a7a6a;
}

.article-figure {
  margin-bottom: 24px;
}

.article-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

.article-figure figcaption {
  font-size: 13px;
  color: #8a7a6a;
  margin-top: 8px;
}

.article-body p {
  font-size: 16px;
  color: #444444;
  margin-bottom: 16px;
  max-width: 680px;
}

.article-body h3 {
  font-size: 18px;
  margin: 24px 0 12px;
}

.related-side {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  padding: 24px;
  align-self: flex-start;
}

.related-side h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E8DCC8;
}

.related-side .related-list li {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F5F0E6;
}

.related-side .related-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-side .related-list li a {
  display: block;
}

.related-title {
  display: block;
  font-size: 15px;
  color: #333333;
  margin-bottom: 4px;
}

.related-title:hover {
  color: #C1440E;
}

.related-date {
  font-size: 13px;
  color: #8a7a6a;
}

.back-home-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: #C1440E;
}

.back-home-link:hover {
  text-decoration: underline;
}

/* ==========================================================
   Error page 404
   ========================================================== */

.error-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.error-section {
  text-align: center;
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 8px;
  padding: 48px;
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: #C1440E;
  line-height: 1;
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 24px;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 16px;
  color: #666666;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.error-home-link,
.error-channel-link,
.error-topic-link {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.error-home-link {
  background-color: #C1440E;
  color: #FFFFFF;
  border: 1px solid #C1440E;
}

.error-home-link:hover {
  background-color: #a03a0b;
  color: #FFFFFF;
}

.error-channel-link,
.error-topic-link {
  background-color: transparent;
  color: #C1440E;
  border: 1px solid #C1440E;
}

.error-channel-link:hover,
.error-topic-link:hover {
  background-color: #F5F0E6;
}

.error-tip {
  font-size: 13px;
  color: #8a7a6a;
  margin-bottom: 0;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1024px) {
  .focus-report-inner {
    gap: 32px;
    padding: 32px;
  }

  .focus-media {
    flex: 0 0 320px;
    max-width: 320px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-shell.sidebar-left,
  .layout-shell.sidebar-right {
    gap: 24px;
  }

  .layout-shell.sidebar-left .channel-sidebar {
    flex-basis: 200px;
    max-width: 200px;
  }

  .layout-shell.sidebar-right .related-side {
    flex-basis: 220px;
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  .header-shell {
    padding: 0 16px;
    min-height: 64px;
    gap: 12px;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E8DCC8;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 16px;
  }

  .header-guide-link {
    display: none;
  }

  .site-main {
    padding: 0 16px;
  }

  .inner-main {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  /* Homepage mobile order: header, hero, channel-tags, latest-news, topics, picks, footer */
  .focus-report-inner {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .focus-report-copy {
    order: 1;
  }

  .focus-media {
    order: 2;
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .focus-media img {
    height: 200px;
  }

  .channel-tags {
    order: 3;
  }

  .latest-news {
    order: 4;
  }

  .topics-preview {
    order: 5;
  }

  .editors-picks {
    order: 6;
  }

  .news-link {
    flex-direction: column;
    padding: 12px;
  }

  .news-thumb {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .news-thumb img {
    width: 100%;
    height: 160px;
  }

  .topics-grid,
  .topic-cards {
    grid-template-columns: 1fr;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .layout-shell.sidebar-left,
  .layout-shell.sidebar-right,
  .layout-shell:not(.sidebar-left):not(.sidebar-right) {
    flex-direction: column;
  }

  .layout-shell.sidebar-left .channel-sidebar,
  .layout-shell.sidebar-right .related-side,
  .layout-shell:not(.sidebar-left):not(.sidebar-right) .related-box {
    flex: 0 0 auto;
    max-width: 100%;
    order: -1;
  }

  .layout-shell.sidebar-left .channel-content,
  .layout-shell.sidebar-right .article-body,
  .layout-shell:not(.sidebar-left):not(.sidebar-right) .guide-content {
    flex: 1;
    min-width: 0;
  }

  .article-body,
  .guide-article {
    padding: 24px;
  }

  .article-figure img,
  .guide-hero img {
    height: 200px;
  }

  .footer-shell {
    padding: 32px 16px 16px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .error-section {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .focus-headline {
    font-size: 22px;
  }

  .focus-description {
    font-size: 15px;
  }

  .focus-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
    width: 100%;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .article-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .article-date {
    white-space: normal;
  }

  .guide-article h2 {
    font-size: 20px;
  }

  .article-head h2 {
    font-size: 20px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-home-link,
  .error-channel-link,
  .error-topic-link {
    text-align: center;
    width: 100%;
  }
}
