/* =============================================
   SMART MONEY DAILY - Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Source+Serif+4:wght@400;600&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --primary: #1a7f5a;
  --primary-dark: #145f43;
  --primary-light: #e8f5f0;
  --accent: #e8423a;
  --accent-light: #fff0ef;
  --text-dark: #1a1a1a;
  --text-body: #333333;
  --text-muted: #666666;
  --text-light: #999999;
  --bg-white: #ffffff;
  --bg-light: #f7f7f5;
  --bg-gray: #eeeeec;
  --border: #e0e0dc;
  --border-light: #f0f0ee;
  --yellow: #f5c518;
  --yellow-bg: #fffbec;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);
  --radius: 6px;
  --radius-lg: 12px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-ui: 'DM Sans', sans-serif;
  --max-width: 1140px;
  --article-width: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

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

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

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--text-dark);
  color: #ccc;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  text-align: center;
}
.top-bar a { color: #aaa; }
.top-bar a:hover { color: #fff; text-decoration: none; }
.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--bg-white);
  border-bottom: 2px solid var(--text-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.site-logo span { color: var(--primary); }
.site-logo:hover { text-decoration: none; color: var(--text-dark); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover { background: var(--bg-light); color: var(--primary); text-decoration: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
}

/* =============================================
   ADVERTORIAL BADGE
   ============================================= */
.advertorial-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 5px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =============================================
   LAYOUT
   ============================================= */
.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* =============================================
   ARTICLE
   ============================================= */
.article-header { margin-bottom: 24px; }

.article-category {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.article-headline {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article-deck {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
  border-left: 3px solid var(--primary);
  padding-left: 14px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}
.meta-divider { color: var(--border); }

.share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 20px;
  flex-wrap: wrap;
}
.share-label { font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
  color: #fff;
  text-decoration: none;
}
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); text-decoration: none; color: #fff; }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.em { background: #555; }
.share-btn.li { background: #0077b5; }

/* =============================================
   HERO IMAGE
   ============================================= */
.hero-image-wrap {
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #ddd;
}
.hero-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.hero-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #2d8a63 0%, #1a5f43 50%, #0f3d2a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  gap: 8px;
}
.hero-placeholder svg { opacity: 0.5; }
.image-caption {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-light);
  padding: 6px 0;
  font-style: italic;
}

/* =============================================
   ARTICLE BODY
   ============================================= */
.article-body { font-size: 1.05rem; }

.article-body p {
  margin-bottom: 1.4em;
  color: var(--text-body);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 2em 0 0.6em;
  line-height: 1.25;
  letter-spacing: -0.01em;
  padding-top: 1.5em;
  border-top: 2px solid var(--border-light);
}
.article-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.5em 0 0.5em;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.4em 1.5em;
}
.article-body li { margin-bottom: 0.4em; }

.tip-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* =============================================
   TIP SECTIONS
   ============================================= */
.tip-section {
  margin: 32px 0;
  padding: 28px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.tip-section-number {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 6px;
}
.tip-section h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 14px;
  padding-top: 0;
  border-top: none;
}

/* =============================================
   IMAGE PLACEHOLDERS
   ============================================= */
.img-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 18px 0;
  background: var(--bg-gray);
  position: relative;
}
.img-placeholder-inner {
  width: 100%;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-family: var(--font-ui);
  font-size: 0.8rem;
}

/* =============================================
   HIGHLIGHT BOXES
   ============================================= */
.highlight-box {
  background: var(--yellow-bg);
  border: 1px solid #f0d060;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1.6;
}
.highlight-box strong { color: var(--text-dark); }

.info-box {
  background: var(--primary-light);
  border: 1px solid #b5ddd0;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1.6;
}
.info-box-title {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.warning-box {
  background: var(--accent-light);
  border: 1px solid #f5c0bc;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* =============================================
   QUOTE BLOCKS
   ============================================= */
blockquote {
  margin: 28px 0;
  padding: 24px 28px;
  background: var(--bg-white);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}
blockquote::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--primary-light);
  position: absolute;
  top: -10px;
  left: 14px;
  line-height: 1;
}
blockquote p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}
blockquote cite {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
}

/* =============================================
   CTA BUTTONS
   ============================================= */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(232,66,58,0.25);
}
.cta-btn:hover {
  background: #cc2e26;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,66,58,0.35);
  text-decoration: none;
  color: #fff;
}
.cta-btn.green {
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(26,127,90,0.25);
}
.cta-btn.green:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(26,127,90,0.35);
}
.cta-btn.large {
  padding: 17px 36px;
  font-size: 1.1rem;
}
.cta-btn-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 3px;
}

/* =============================================
   CTA BOXES
   ============================================= */
.mid-cta-box {
  background: linear-gradient(135deg, #1a7f5a 0%, #0f4d37 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 36px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mid-cta-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.mid-cta-box h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}
.mid-cta-box p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  opacity: 0.88;
  margin-bottom: 22px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.mid-cta-box .cta-btn { margin: 0 auto; background: var(--yellow); color: var(--text-dark); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.mid-cta-box .cta-btn:hover { background: #e0b800; }

.final-cta-box {
  background: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 40px 0;
  text-align: center;
  color: #fff;
}
.final-cta-box h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  border: none;
  padding: 0;
}
.final-cta-box p {
  font-family: var(--font-ui);
  font-size: 0.98rem;
  opacity: 0.8;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   COMPARISON TABLE
   ============================================= */
.comparison-table-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comparison-table thead { background: var(--text-dark); color: #fff; }
.comparison-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.comparison-table td { padding: 13px 16px; border-bottom: 1px solid var(--border-light); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--bg-light); }
.comparison-table .recommended { font-weight: 700; color: var(--primary); }
.table-check { color: var(--primary); font-weight: 700; }
.table-cross { color: var(--accent); }

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar { position: sticky; top: 80px; }

.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  overflow: hidden;
}
.widget-title {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}

/* Sidebar CTA */
.sidebar-cta-widget {
  background: linear-gradient(160deg, #1a7f5a, #0f4d37);
  color: #fff;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  text-align: center;
}
.sidebar-cta-widget h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #fff;
  line-height: 1.3;
}
.sidebar-cta-widget p {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  opacity: 0.85;
  margin-bottom: 16px;
  line-height: 1.5;
}
.sidebar-cta-widget .cta-btn {
  width: 100%;
  background: var(--yellow);
  color: var(--text-dark);
  font-size: 0.9rem;
  padding: 12px 20px;
}
.sidebar-cta-widget .cta-btn:hover { background: #e0b800; }

/* Related in sidebar */
.sidebar-article {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
  transition: background 0.15s;
}
.sidebar-article:last-child { border-bottom: none; }
.sidebar-article:hover { background: var(--bg-light); }
.sidebar-article-img {
  width: 80px;
  min-width: 80px;
  height: 64px;
  border-radius: 6px;
  background: var(--bg-gray);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.sidebar-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0; left: 0;
}
.sidebar-article h5 {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.sidebar-article span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Quick tips widget */
.quick-tip-list { list-style: none; padding: 0; }
.quick-tip-list li {
  padding: 11px 18px;
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.quick-tip-list li:last-child { border-bottom: none; }
.quick-tip-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =============================================
   RELATED ARTICLES
   ============================================= */
.related-articles-section {
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 2px solid var(--text-dark);
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--bg-white);
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.related-card-img {
  width: 100%;
  height: 160px;
  background: var(--bg-gray);
  overflow: hidden;
  position: relative;
  display: block;
}
.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0; left: 0;
}
.related-card-body { padding: 16px; }
.related-card-cat {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 6px;
}
.related-card h4 {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.related-card span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =============================================
   NEWSLETTER BOX (mid-article)
   ============================================= */
.newsletter-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin: 32px 0;
  text-align: center;
}
.newsletter-box h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.newsletter-box p {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.newsletter-form { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
}
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button {
  padding: 11px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--text-dark);
  color: #aaa;
  margin-top: 60px;
  padding: 48px 0 0;
  font-family: var(--font-ui);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .site-logo { color: #fff; font-size: 1.3rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.82rem; line-height: 1.65; color: #888; max-width: 280px; }
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #333;
  padding: 16px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: #666;
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: #666; font-size: 0.78rem; }
.footer-bottom-links a:hover { color: #aaa; text-decoration: none; }

.disclaimer-text {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 0;
  font-size: 0.75rem;
  color: #666;
  line-height: 1.65;
  border-top: 1px solid #333;
}

/* =============================================
   INNER PAGES
   ============================================= */
.inner-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.inner-page h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.inner-page .page-date {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.inner-page h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2em 0 0.6em;
}
.inner-page p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.2em;
  color: var(--text-body);
}
.inner-page ul, .inner-page ol {
  margin: 0 0 1.2em 1.5em;
  line-height: 1.75;
}
.inner-page li { margin-bottom: 0.4em; }
.inner-page a { color: var(--primary); }
.contact-form-wrap { max-width: 560px; margin-top: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-body);
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { height: 130px; resize: vertical; }
.form-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--primary-dark); }

/* =============================================
   READING PROGRESS BAR
   ============================================= */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 2000;
  width: 0%;
  transition: width 0.1s linear;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  box-shadow: var(--shadow-md);
  font-size: 1.1rem;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 2px solid var(--text-dark);
  padding: 16px 20px;
  z-index: 999;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 14px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mobile-menu a:hover { background: var(--bg-light); text-decoration: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .page-wrapper { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .article-headline { font-size: 1.7rem; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 56px; }
  .hero-placeholder, .hero-image-wrap img { height: 220px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .mid-cta-box, .final-cta-box { padding: 28px 20px; }
  .mid-cta-box h3, .final-cta-box h2 { font-size: 1.3rem; }
  .newsletter-form { flex-direction: column; }
  .tip-section { padding: 20px 18px; }
  .cta-group { flex-direction: column; align-items: center; }
  .top-bar-inner { justify-content: center; }
  .top-bar-inner span { display: none; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 0.8rem; }
}
