/* ============================================
   AIワークラボ - スタイルシート
   カラー: 白×薄グレー + 淡ピンク・淡ブルーアクセント
   ============================================ */

/* --- リセット & ベース --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:        #f2a8b8;
  --pink-light:  #fdf0f3;
  --pink-mid:    #f7d0da;
  --blue:        #a8c8e8;
  --blue-light:  #eef5fb;
  --blue-mid:    #c8def2;
  --gray-100:    #f8f8f8;
  --gray-200:    #f0f0f0;
  --gray-300:    #e0e0e0;
  --gray-400:    #c0c0c0;
  --gray-600:    #888888;
  --gray-800:    #444444;
  --text:        #3a3a3a;
  --text-light:  #888888;
  --bg:          #ffffff;
  --max-width:   1100px;
  --radius:      6px;
  --font:        'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-en:     'Cormorant Garamond', 'Georgia', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: opacity .25s; }
a:hover { opacity: .65; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* ============================================
   ヘッダー — 白・細い・エレガント
   ============================================ */
.site-header {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-300);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo a {
  font-family: var(--font-en);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  font-family: var(--font);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
  padding: 2px 8px;
  border-radius: 2px;
}

.site-nav { display: flex; gap: 32px; }
.site-nav a {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--gray-600);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: all .2s;
}
.site-nav a:hover { color: var(--text); border-color: var(--pink); opacity: 1; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--gray-800); margin: 6px 0; }

/* ============================================
   ヒーロー — フルワイドスライドショー
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.38);
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.hero-label {
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--gray-600);
  font-weight: 400;
}

.hero h1 {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: .12em;
  color: var(--text);
  line-height: 1.3;
}

.hero-sub {
  font-size: .82rem;
  color: var(--gray-600);
  letter-spacing: .06em;
  line-height: 1.8;
}

/* スライドインジケーター */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-400);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background .3s;
}
.hero-dot.active { background: var(--pink); }

/* ============================================
   セクションタイトル — エレガント
   ============================================ */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-en {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--text);
  display: block;
}
.section-ja {
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--gray-600);
  margin-top: 4px;
  display: block;
}
.section-line {
  width: 32px;
  height: 1px;
  background: var(--pink);
  margin: 10px auto 0;
}

/* ============================================
   メインレイアウト
   ============================================ */
.main-content { padding: 72px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 300px; gap: 56px; }

/* ============================================
   記事カード — 枠なし・余白重視
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 28px;
  margin-bottom: 48px;
}

.article-card { background: none; border: none; }
.article-card:hover .card-thumb-img { transform: scale(1.03); }

.card-thumb-wrap {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 14px;
  background: var(--gray-200);
  aspect-ratio: 4/3;
}
.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card-thumb-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--pink-light), var(--blue-light));
}

.card-category {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--pink);
  margin-bottom: 6px;
  font-weight: 500;
}

.card-title {
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: .72rem;
  color: var(--gray-400);
  display: flex;
  gap: 10px;
}

.card-excerpt {
  font-size: .8rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-more {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 11px 40px;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  font-size: .78rem;
  letter-spacing: .14em;
  border-radius: 2px;
  transition: all .25s;
  background: none;
}
.btn-more:hover { border-color: var(--pink); color: var(--pink); opacity: 1; background: var(--pink-light); }

/* ============================================
   サイドバー
   ============================================ */
.sidebar { display: flex; flex-direction: column; gap: 40px; }

.sidebar-widget {}

.widget-title {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .16em;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-300);
  margin-bottom: 18px;
}

.profile-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-mid), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 12px;
  overflow: hidden;
}
.profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-name { text-align: center; font-size: .85rem; font-weight: 500; margin-bottom: 6px; }
.profile-bio { font-size: .78rem; color: var(--text-light); line-height: 1.7; text-align: center; }

.category-list { list-style: none; }
.category-list li { border-bottom: 1px solid var(--gray-200); }
.category-list li:last-child { border: none; }
.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: .82rem;
  color: var(--gray-600);
  letter-spacing: .04em;
}
.category-list a:hover { color: var(--text); opacity: 1; }
.category-count {
  font-size: .7rem;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 1px 8px;
  border-radius: 10px;
}

.ad-slot {
  display: none;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  min-height: 200px;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .75rem;
  letter-spacing: .08em;
}

/* ============================================
   記事ページ
   ============================================ */
.article-layout { padding: 52px 0; }

.article-header { margin-bottom: 36px; }

.article-category {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--pink);
  font-weight: 500;
  margin-bottom: 12px;
}

.article-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 16px;
}

.article-meta {
  font-size: .75rem;
  color: var(--gray-400);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 目次 */
.toc {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--pink-mid);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 36px 0;
}
.toc-title { font-size: .82rem; font-weight: 500; letter-spacing: .1em; color: var(--text); margin-bottom: 12px; }
.toc ol {
  padding-left: 18px;
  max-height: 132px;
  overflow: hidden;
  transition: max-height .25s ease;
}
.toc.toc-expanded ol { max-height: 2000px; }
.toc li { margin: 6px 0; font-size: .82rem; }
.toc a { color: var(--gray-600); }
.toc a:hover { color: var(--pink); }
.toc-toggle {
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 3px;
  background: var(--bg);
  color: var(--gray-600);
  font-family: var(--font);
  font-size: .8rem;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.toc-toggle:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-light);
}
.toc-toggle-icon {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text);
}
.toc.toc-expanded .toc-toggle-icon {
  border-top: 0;
  border-bottom: 6px solid var(--text);
}

.sidebar-toc-widget {
  position: sticky;
  top: 88px;
  align-self: stretch;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.sidebar-toc-widget .widget-title {
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 0;
  border: none;
  margin-bottom: 12px;
  padding-bottom: 0;
}
.sidebar-toc {
  list-style: none;
  margin-left: 6px;
  padding-left: 15px;
  border-left: 2px solid var(--blue-mid);
}
.sidebar-toc li {
  position: relative;
  margin: 0;
  padding: 5px 0 5px 0;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.55;
}
.sidebar-toc li::before {
  content: '';
  position: absolute;
  left: -21px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-mid);
  border: 2px solid var(--bg);
}
.sidebar-toc li.active::before {
  left: -23px;
  top: 13px;
  width: 12px;
  height: 12px;
  background: #42a5ff;
}
.sidebar-toc a {
  color: var(--gray-600);
  display: block;
}
.sidebar-toc a:hover,
.sidebar-toc a.active {
  color: var(--text);
  opacity: 1;
}
/* 記事本文 */
.article-body { line-height: 1.95; font-size: .95rem; }

.article-body h2 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin: 52px 0 18px;
  padding: 14px 20px;
  background: linear-gradient(to right, var(--pink-light), var(--blue-light));
  border-left: 3px solid var(--pink);
  border-radius: 0 4px 4px 0;
}

.article-body h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 20px; }
.article-body li { margin: 8px 0; }

.article-body .note {
  background: #fffbf0;
  border-left: 3px solid #f0d080;
  padding: 14px 18px;
  border-radius: 0 4px 4px 0;
  margin: 24px 0;
  font-size: .88rem;
}

.article-body .point {
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  padding: 14px 18px;
  border-radius: 0 4px 4px 0;
  margin: 24px 0;
  font-size: .88rem;
}

.article-figure { margin: 0 0 8px; }
.article-figure figcaption { font-size: .75rem; color: var(--gray-600); margin-top: 6px; }
.bordered-image { width: 100%; border-radius: 6px; border: 1px solid var(--gray-300); }
.source-links {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 18px 14px 34px;
  margin: 18px 0 26px;
  font-size: .85rem;
}
.source-links a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

/* CTAブロック */
.cta-block {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--blue-light) 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  margin: 44px 0;
  text-align: center;
}
.cta-label { font-size: .68rem; letter-spacing: .14em; color: var(--gray-600); margin-bottom: 8px; }
.cta-title { font-size: 1.1rem; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.cta-desc { font-size: .85rem; color: var(--text-light); margin-bottom: 20px; }
.cta-btn {
  display: inline-block;
  background: var(--text);
  color: #fff;
  font-size: .82rem;
  letter-spacing: .1em;
  padding: 12px 36px;
  border-radius: 2px;
  transition: background .2s;
}
.cta-btn:hover { background: var(--pink); opacity: 1; color: #fff; }

/* 記事フッター */
.article-footer { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--gray-200); }

.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tag {
  font-size: .72rem;
  color: var(--gray-600);
  padding: 4px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 2px;
  letter-spacing: .06em;
}

.related-title { font-family: var(--font-en); font-size: .9rem; letter-spacing: .14em; color: var(--text); margin-bottom: 20px; font-weight: 400; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ============================================
   Aboutページ
   ============================================ */
.about-page { padding: 64px 0; max-width: 720px; margin: 0 auto; }
.about-profile { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 48px; }
.about-icon {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-mid), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; flex-shrink: 0;
  overflow: hidden;
}
.about-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.about-body h1 { font-size: 1.4rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.about-body p { font-size: .88rem; color: var(--text-light); }

.about-section { margin-bottom: 44px; }
.about-section h2 {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .16em;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 18px;
}
.about-section p, .about-section li { font-size: .9rem; line-height: 1.9; color: var(--text); }
.about-section ul { padding-left: 18px; }
.about-section li { margin: 8px 0; }

/* ============================================
   フッター
   ============================================ */
.site-footer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding: 52px 0 28px;
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand-name {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--text);
  margin-bottom: 10px;
}
.footer-brand p { font-size: .78rem; color: var(--text-light); line-height: 1.8; }

.footer-nav-title {
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 14px;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin: 8px 0; }
.footer-nav a { font-size: .78rem; color: var(--text-light); }
.footer-nav a:hover { color: var(--text); opacity: 1; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  color: var(--gray-400);
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--gray-400); }
.footer-bottom-simple { border-top: none; padding-top: 24px; }

/* ============================================
   パンくず
   ============================================ */
.breadcrumb {
  background: var(--bg);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: .72rem;
}
.breadcrumb ol { list-style: none; display: flex; max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.breadcrumb li::after { content: '/'; margin: 0 8px; color: var(--gray-300); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a, .breadcrumb li { color: var(--gray-400); }

/* ============================================
   静的ページ（プライバシー・お問い合わせ）
   ============================================ */
.static-page { padding: 64px 0; max-width: 720px; margin: 0 auto; }
.static-page h1 { font-size: 1.4rem; font-weight: 500; color: var(--text); margin-bottom: 36px; letter-spacing: .04em; }
.static-page h2 { font-size: .92rem; font-weight: 500; color: var(--text); margin: 32px 0 12px; letter-spacing: .06em; }
.static-page p { margin-bottom: 16px; font-size: .9rem; line-height: 1.9; color: var(--text); }
.static-page ul { padding-left: 20px; margin-bottom: 16px; }
.static-page li { margin: 6px 0; font-size: .9rem; }
.static-page a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.not-found-page { text-align: center; }
.not-found-code {
  font-family: var(--font-en);
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 1;
  color: var(--pink);
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.not-found-actions .btn-more { margin: 0; }

/* お問い合わせフォーム */
.contact-form { margin-top: 36px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: 8px; letter-spacing: .06em; }
.form-group input, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 3px;
  font-size: .88rem; font-family: var(--font);
  background: var(--bg); color: var(--text);
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--pink); }
.form-group textarea { height: 160px; resize: vertical; }
.form-submit {
  background: var(--text); color: #fff;
  border: none; padding: 12px 44px;
  border-radius: 2px; font-size: .82rem;
  letter-spacing: .1em; cursor: pointer;
  font-family: var(--font); transition: background .2s;
}
.form-submit:hover { background: var(--pink); }
.contact-notice {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0 28px;
}
.contact-methods {
  list-style: none;
  padding-left: 0;
  margin: 0 0 24px;
}
.contact-methods li {
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
}
.contact-methods li:last-child { border-bottom: none; }

/* 記事一覧ページ */
.archive-page { padding: 52px 0; }
.archive-header { margin-bottom: 36px; }
.archive-header h1 { font-size: 1.2rem; font-weight: 500; letter-spacing: .1em; color: var(--text); }
.archive-header p { font-size: .78rem; color: var(--text-light); margin-top: 4px; letter-spacing: .06em; }

/* ============================================
   比較テーブル（記事内）
   ============================================ */
.compare-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .85rem; }
.compare-table th { background: #f8f8f8; padding: 10px 14px; text-align: left; font-weight: 500; border: 1px solid #e0e0e0; }
.compare-table td { padding: 10px 14px; border: 1px solid #e0e0e0; vertical-align: top; line-height: 1.6; }
.compare-table tr:nth-child(even) td { background: var(--pink-light); }
.compare-table .good { color: #3a9e6a; font-weight: 500; }
.compare-table .bad  { color: #c0392b; }
.compare-table .mid  { color: #e67e22; }

/* PRバッジ（CTAブロック右下） */
.cta-block { position: relative; }
.cta-label {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--gray-400);
  background: none;
  margin: 0;
}

/* ライトボックス */
.zoomable { cursor: zoom-in; transition: opacity .2s; }
.zoomable:hover { opacity: .88; }

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  opacity: .8;
}
.lightbox-close:hover { opacity: 1; }

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .sidebar-toc-widget { display: none; }
  .articles-grid { grid-template-columns: 1fr; gap: 28px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--gray-200); padding: 20px 24px; gap: 18px; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { height: 380px; }
  .about-profile { flex-direction: column; align-items: center; text-align: center; }
  .footer-inner { padding: 0 20px; }
}
