/* =====================================================
   成人頻道 — Bento Box Grid 主題樣式
   字體：Noto Serif TC / Noto Sans TC
   配色：#ffffff / #f5f5f5 / #1f1f1f
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Serif+TC:wght@400;500;600;700&display=swap');

/* ── 重置與基礎 ────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  background: #f5f5f5;
  color: #1f1f1f;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

a:hover {
  text-decoration: underline;
}

ol, ul {
  list-style: none;
}

/* ── 佈局容器 ─────────────────────────────────── */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── 導航 ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 60px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-list.nav-right {
  justify-content: flex-end;
}

.nav-list li a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  color: #1f1f1f;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.nav-list li a:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.site-brand {
  flex-shrink: 0;
  margin: 0 24px;
  text-decoration: none;
}

.brand-text {
  font-family: 'Noto Serif TC', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1f1f1f;
  white-space: nowrap;
}

.brand-logo {
  height: 36px;
  width: auto;
}

/* ── Hero（首頁斜切橫幅）──────────────────────── */
.hero-section {
  position: relative;
  background: #1f1f1f;
  min-height: 480px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.hero-slash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    #1f1f1f 0%,
    #1f1f1f 48%,
    transparent 52%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin-left: max(24px, calc(50vw - 640px));
}

.hero-h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #1f1f1f;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  min-height: 48px;
  width: fit-content;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
}

/* ── Bento Grid ───────────────────────────────── */
.bento-section {
  padding: 64px 24px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.bento-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.bento-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.bento-card.bento-wide {
  grid-column: span 2;
}

.bento-card.bento-tall {
  grid-row: span 2;
}

.bento-card .card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

.bento-card-body {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: linear-gradient(to top, rgba(31,31,31,0.9) 0%, transparent 100%);
  margin-top: auto;
}

.bento-card-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.bento-card-title a {
  color: #ffffff;
  text-decoration: none;
}

.bento-card-title a:hover {
  text-decoration: underline;
}

.bento-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-card-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  padding: 6px 14px;
  min-height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  transition: background 0.2s;
}

.bento-card-link:hover {
  background: rgba(255,255,255,0.35);
  text-decoration: none;
}

/* ── Section 通用 ─────────────────────────────── */
.content-section {
  padding: 48px 24px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.section-eyebrow {
  margin-bottom: 24px;
}

.eyebrow-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  padding-bottom: 8px;
  border-bottom: 2px solid #1f1f1f;
}

/* ── 正文 prose ──────────────────────────────── */
.prose-section {
  background: #ffffff;
}

.prose-body {
  font-size: 17px;
  line-height: 1.8;
  color: #1f1f1f;
  max-width: 760px;
}

.prose-body h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: 22px;
  font-weight: 600;
  margin: 2em 0 0.8em;
  letter-spacing: -0.01em;
}

.prose-body h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 18px;
  font-weight: 600;
  margin: 1.6em 0 0.6em;
}

.prose-body p {
  margin-bottom: 1.2em;
}

.prose-body ul, .prose-body ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}

.prose-body ul {
  list-style: disc;
}

.prose-body ol {
  list-style: decimal;
}

.prose-body li {
  margin-bottom: 0.4em;
}

.prose-body a {
  color: #1f1f1f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 15px;
}

.prose-body th,
.prose-body td {
  padding: 10px 14px;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
}

.prose-body th {
  font-weight: 700;
  background: #f5f5f5;
}

/* ── 最新文章表格 ─────────────────────────────── */
.recent-section {
  background: #f5f5f5;
}

.article-aside {
  overflow-x: auto;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
}

.article-table tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.18s ease;
}

.article-table tr:hover {
  background: #ffffff;
}

.article-table td {
  padding: 14px 12px;
  font-size: 15px;
  vertical-align: middle;
}

.row-cat a {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  background: #1f1f1f;
  color: #ffffff;
  border-radius: 4px;
  white-space: nowrap;
}

.row-title a {
  color: #1f1f1f;
  font-weight: 500;
}

.row-title a:hover {
  text-decoration: underline;
}

.row-date-cell {
  text-align: right;
  white-space: nowrap;
  color: #888;
  font-size: 13px;
}

/* ── 頻道頁 Banner ───────────────────────────── */
.ch-banner {
  position: relative;
  background: #1f1f1f;
  min-height: 320px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.ch-banner-media {
  position: absolute;
  inset: 0;
}

.ch-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.ch-slash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    #1f1f1f 0%,
    #1f1f1f 45%,
    transparent 55%
  );
}

.ch-banner-copy {
  position: relative;
  z-index: 2;
  padding: 60px 40px;
  max-width: 560px;
  margin-left: max(24px, calc(50vw - 640px));
}

.ch-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.ch-h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 16px;
}

.ch-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* ── 頻道頁主體雙欄 ──────────────────────────── */
.ch-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  align-items: start;
}

.ch-main {
  min-width: 0;
}

.ch-main .prose-body {
  max-width: 100%;
}

.ch-children {
  margin-top: 48px;
}

.ch-children-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1f1f1f;
}

.child-table {
  width: 100%;
  border-collapse: collapse;
}

.child-row {
  border-bottom: 1px solid #e8e8e8;
  transition: background 0.18s;
}

.child-row:hover {
  background: #f5f5f5;
}

.child-thumb-cell {
  width: 80px;
  padding: 10px 10px 10px 0;
}

.child-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.child-info-cell {
  padding: 10px 12px;
}

.child-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f1f1f;
  display: block;
  margin-bottom: 4px;
}

.child-title:hover {
  text-decoration: underline;
}

.child-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.child-date-cell {
  padding: 10px;
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  text-align: right;
  vertical-align: top;
}

/* ── 側欄 ─────────────────────────────────────── */
.ch-sidebar,
.art-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #888;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
}

.sidebar-channels {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 28px;
}

.sidebar-channels li a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  min-height: 44px;
  font-size: 14px;
  border-radius: 4px;
  transition: background 0.18s;
}

.sidebar-channels li a:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.sidebar-card {
  background: #1f1f1f;
  color: #ffffff;
  border-radius: 16px;
  padding: 24px;
}

.sidebar-card-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.sidebar-card-text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sidebar-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #1f1f1f;
  padding: 10px 20px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.sidebar-card-link:hover {
  opacity: 0.85;
  text-decoration: none;
}

/* ── 文章頁 ──────────────────────────────────── */
.art-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  align-items: start;
}

.art-main {
  min-width: 0;
}

.art-hero {
  margin-bottom: 32px;
  border-radius: 16px;
  overflow: hidden;
}

.art-hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.art-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
}

.art-breadcrumb ol li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.art-breadcrumb ol li::after {
  content: '·';
}

.art-breadcrumb ol li:last-child::after {
  content: '';
}

.art-breadcrumb a {
  color: #888;
  text-decoration: underline;
}

.art-h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 13px;
  color: #888;
}

.art-date,
.art-date-mod {
  color: #888;
}

.art-channel-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  min-height: 28px;
  background: #1f1f1f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}

.art-channel-tag:hover {
  opacity: 0.8;
  text-decoration: none;
}

.art-prose {
  max-width: 700px;
}

.art-siblings {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}

.siblings-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.siblings-table {
  width: 100%;
  border-collapse: collapse;
}

.siblings-table tr {
  border-bottom: 1px solid #e8e8e8;
  transition: background 0.18s;
}

.siblings-table tr:hover {
  background: #f5f5f5;
}

.siblings-table td {
  padding: 12px 8px;
  font-size: 15px;
  vertical-align: middle;
}

.siblings-table td:last-child {
  text-align: right;
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

.siblings-table a {
  color: #1f1f1f;
  font-weight: 500;
}

.siblings-table a:hover {
  text-decoration: underline;
}

/* ── 關於頁 ──────────────────────────────────── */
.about-main {
  flex: 1;
}

.about-hero {
  background: #1f1f1f;
  padding: 80px 24px;
}

.about-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.about-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.about-h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-lead {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 560px;
}

.about-content-section {
  background: #ffffff;
  padding: 56px 24px;
}

.about-content-section .section-eyebrow,
.about-content-section .prose-body {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.about-channels-section {
  padding: 56px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.about-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.about-channel-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.about-channel-card strong a {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 600;
  color: #1f1f1f;
  display: block;
  margin-bottom: 8px;
}

.about-channel-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.about-links-section {
  background: #f5f5f5;
  padding: 40px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.about-quicklinks,
.privacy-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.quicklink-item {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  min-height: 44px;
  background: #1f1f1f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.quicklink-item:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ── 隱私頁 ──────────────────────────────────── */
.privacy-main {
  flex: 1;
}

.privacy-header-section {
  background: #1f1f1f;
  padding: 64px 24px;
}

.privacy-header-inner {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.privacy-h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.privacy-date {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.privacy-body-section {
  background: #ffffff;
  padding: 56px 24px;
}

.privacy-body-section .section-eyebrow,
.privacy-prose {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-nav-section {
  padding: 40px 24px;
  max-width: 760px;
  margin: 0 auto;
}

/* ── sidebar block ───────────────────────────── */
.sidebar-block {
  margin-bottom: 28px;
}

/* ── 頁腳 ─────────────────────────────────────── */
.site-footer {
  background: #1f1f1f;
  color: #ffffff;
  margin-top: auto;
}

.footer-cta-block {
  background: #ffffff;
  color: #1f1f1f;
  padding: 56px 24px;
  text-align: center;
}

.footer-cta-text {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1f1f1f;
  color: #ffffff;
  padding: 16px 40px;
  min-height: 52px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.2s;
}

.footer-cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.footer-brand {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-nav li a {
  display: flex;
  align-items: center;
  padding: 8px 0;
  min-height: 40px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.footer-nav li a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.footer-links {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ── 動效 ─────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .bento-card {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .about-channel-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .bento-grid .bento-card:nth-child(1) { transition-delay: 0.05s; }
  .bento-grid .bento-card:nth-child(2) { transition-delay: 0.1s; }
  .bento-grid .bento-card:nth-child(3) { transition-delay: 0.15s; }
  .bento-grid .bento-card:nth-child(4) { transition-delay: 0.2s; }
  .bento-grid .bento-card:nth-child(5) { transition-delay: 0.25s; }
  .bento-grid .bento-card:nth-child(6) { transition-delay: 0.3s; }
}

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

/* ── 響應式 ──────────────────────────────────── */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ch-layout,
  .art-layout {
    grid-template-columns: 1fr 260px;
    gap: 28px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .site-nav {
    height: 56px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 2px;
  }

  .nav-list {
    gap: 2px;
  }

  .nav-list li a {
    font-size: 12px;
    padding: 10px 8px;
    min-height: 44px;
  }

  .site-brand {
    margin: 0 12px;
  }

  .hero-section {
    min-height: 380px;
  }

  .hero-copy {
    padding: 56px 24px;
    margin-left: 0;
    max-width: 100%;
  }

  .hero-slash {
    background: linear-gradient(
      to bottom,
      #1f1f1f 0%,
      rgba(31,31,31,0.85) 60%,
      transparent 100%
    );
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .bento-card.bento-wide,
  .bento-card.bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .ch-layout,
  .art-layout {
    grid-template-columns: 1fr;
  }

  .ch-sidebar,
  .art-sidebar {
    position: static;
  }

  .ch-banner-copy {
    padding: 48px 24px;
    margin-left: 0;
    max-width: 100%;
  }

  .ch-slash {
    background: linear-gradient(
      to bottom,
      #1f1f1f 0%,
      rgba(31,31,31,0.8) 65%,
      transparent 100%
    );
  }

  .about-channels-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 24px 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .art-hero-img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .content-section,
  .bento-section {
    padding: 36px 16px;
  }

  .ch-layout,
  .art-layout {
    padding: 32px 16px;
  }

  .hero-copy {
    padding: 48px 16px;
  }

  .footer-cta-block {
    padding: 40px 16px;
  }

  .footer-grid {
    padding: 36px 16px 24px;
  }
}
