/*
Theme Name: 恋活ラボ
Theme URI: https://koikatsu-labo.com
Author: 恋活ラボ
Description: マッチングアプリアフィリエイトメディア専用テーマ。ワクワク感・信頼感・コンバージョンを両立。
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: koikatsu-labo
Tags: blog, affiliate, media, responsive
*/

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --color-primary:    #E8507A;
  --color-primary-dark: #C93C63;
  --color-secondary:  #FF8FAB;
  --color-accent:     #FFB800;
  --color-bg:         #FFF8F9;
  --color-surface:    #FFFFFF;
  --color-text:       #333333;
  --color-text-light: #777777;
  --color-border:     #F0D6DB;
  --color-gradient:   linear-gradient(135deg, #E8507A 0%, #FF8FAB 100%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(232,80,122,0.08);
  --shadow-md: 0 4px 20px rgba(232,80,122,0.15);
  --shadow-lg: 0 8px 40px rgba(232,80,122,0.2);
  --font-sans: 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  --font-serif: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --container: 1100px;
  --sidebar-w: 300px;
  --transition: 0.25s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
}

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

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

ul, ol { padding-left: 1.5em; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.site-main {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 40px;
  padding: 48px 0;
}

.full-width .site-main {
  grid-template-columns: 1fr;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.site-logo:hover { color: var(--color-primary-dark); }

/* Nav */
.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.site-nav a:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   Hero (Front Page)
   ============================================================ */
.hero {
  background: var(--color-gradient);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-white {
  background: white;
  color: var(--color-primary);
}
.btn-white:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: white;
  transform: translateY(-2px);
}

/* ============================================================
   Section Headings
   ============================================================ */
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: var(--color-gradient);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============================================================
   Post Cards (Archive / Home)
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #FFDDE6, #FFB3C6);
  position: relative;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-thumb img {
  transform: scale(1.05);
}

.post-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.post-card-body {
  padding: 20px;
}

.post-card-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cat-badge {
  display: inline-block;
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
}

.post-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-title a { color: var(--color-text); }
.post-card-title a:hover { color: var(--color-primary); }

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-light);
}

.post-card-meta .date::before { content: '📅 '; }

/* Featured Card (1カラム目) */
.posts-grid .post-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.posts-grid .post-card:first-child .post-card-thumb {
  aspect-ratio: auto;
}

.posts-grid .post-card:first-child .post-card-title {
  font-size: 20px;
  -webkit-line-clamp: 3;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ============================================================
   Single Post
   ============================================================ */
.post-header {
  margin-bottom: 32px;
}

.post-header .post-cats { margin-bottom: 12px; }

.post-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--color-text);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-light);
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.post-eyecatch {
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Table of Contents */
.toc {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
}

.toc-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
}

.toc li {
  margin-bottom: 6px;
  font-size: 14px;
}

.toc a { color: var(--color-primary); }

/* Post Content */
.post-content {
  font-size: 16px;
  line-height: 1.9;
}

.post-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 48px 0 16px;
  padding: 16px 20px;
  background: var(--color-bg);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.post-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}

.post-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--color-primary);
}

.post-content p { margin-bottom: 1.6em; }

.post-content ul, .post-content ol {
  margin-bottom: 1.6em;
}
.post-content li { margin-bottom: 0.4em; }

.post-content strong { color: var(--color-primary-dark); font-weight: 700; }

.post-content blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  background: var(--color-bg);
  border-left: 4px solid var(--color-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text-light);
  font-style: italic;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.6em;
  font-size: 14px;
}

.post-content table th {
  background: var(--color-primary);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}

.post-content table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

.post-content table tr:nth-child(even) td {
  background: var(--color-bg);
}

/* ============================================================
   Affiliate Components (Shortcode Blocks)
   ============================================================ */

/* CTA Box */
.cta-box {
  background: var(--color-gradient);
  color: white;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-align: center;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta-box .cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 8px;
}

.cta-box .cta-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-box .cta-sub {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 20px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--color-primary);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 800;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-cta:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* App Review Card */
.app-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
  transition: box-shadow var(--transition);
}

.app-card:hover { box-shadow: var(--shadow-md); }

.app-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.app-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.app-card-icon img { width: 100%; height: 100%; object-fit: cover; }

.app-card-info .app-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.app-card-info .app-tag {
  display: inline-block;
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
}

/* Rating Stars */
.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}

.stars {
  display: flex;
  gap: 2px;
  font-size: 18px;
  color: #ddd;
}

.stars .filled { color: var(--color-accent); }

.rating-score {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent);
}

.rating-count {
  font-size: 12px;
  color: var(--color-text-light);
}

/* App Card Points */
.app-card-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
}

.point-item.good::before { content: '✅'; flex-shrink: 0; }
.point-item.bad::before { content: '⚠️'; flex-shrink: 0; }

.app-card-footer {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-app-primary {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-gradient);
  color: white;
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
  text-align: center;
}

.btn-app-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-app-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-bg);
  color: var(--color-text);
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.btn-app-secondary:hover {
  background: var(--color-border);
  color: var(--color-text);
}

/* Comparison Table */
.compare-table {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.compare-table table {
  min-width: 600px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.compare-table table th:first-child { width: 140px; }

/* Recommendation Box */
.recommend-box {
  background: linear-gradient(135deg, #FFF0F3, #FFE4EC);
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.recommend-box .box-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Note / Warning Boxes */
.note-box {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 14px;
}

.note-box.info {
  background: #EBF5FB;
  border-left: 4px solid #3498DB;
  color: #1A5276;
}

.note-box.warning {
  background: #FEF9E7;
  border-left: 4px solid var(--color-accent);
  color: #7D6608;
}

.note-box.success {
  background: #EAFAF1;
  border-left: 4px solid #2ECC71;
  color: #1D6A39;
}

/* ============================================================
   Sidebar
   ============================================================ */
.sidebar { min-width: 0; }

.widget {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ranking Widget */
.ranking-list { list-style: none; padding: 0; }

.ranking-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.ranking-item:last-child { border-bottom: none; }

.rank-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  color: white;
}

.rank-num.gold   { background: #FFB800; }
.rank-num.silver { background: #A0AEC0; }
.rank-num.bronze { background: #CD7F32; }
.rank-num.other  { background: var(--color-primary); }

.rank-info { flex: 1; min-width: 0; }
.rank-name { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.rank-reward { font-size: 11px; color: var(--color-text-light); }

.rank-btn {
  display: inline-block;
  background: var(--color-gradient);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
  transition: all var(--transition);
}

.rank-btn:hover { color: white; opacity: 0.85; transform: scale(1.02); }

/* Profile Widget */
.profile-widget { text-align: center; }

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--color-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  overflow: hidden;
}

.profile-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.profile-role { font-size: 12px; color: var(--color-text-light); margin-bottom: 12px; }
.profile-bio { font-size: 13px; text-align: left; }

/* Recent Posts Widget */
.recent-posts { list-style: none; padding: 0; }

.recent-post-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.recent-post-item:last-child { border-bottom: none; }

.recent-post-thumb {
  width: 64px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg);
}

.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.recent-post-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-title a { color: var(--color-text); }
.recent-post-title a:hover { color: var(--color-primary); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #1A1A2E;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .site-logo { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }

.footer-links h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--color-secondary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 12px;
}

.footer-disclaimer {
  background: rgba(255,255,255,0.05);
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  padding: 12px 0;
  margin-bottom: 8px;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  font-size: 12px;
  color: var(--color-text-light);
}

.breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .current { color: var(--color-text); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .site-main {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

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

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-nav.open { display: block; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--color-border); padding: 12px; box-shadow: var(--shadow-md); }
  .site-nav.open ul { flex-direction: column; }
  .nav-toggle { display: flex; }

  .posts-grid { grid-template-columns: 1fr; }
  .posts-grid .post-card:first-child { grid-template-columns: 1fr; }
  .posts-grid .post-card:first-child .post-card-thumb { aspect-ratio: 16/9; }

  .app-card-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero { padding: 48px 0; }
  .hero p { font-size: 15px; }
}
