/*
Theme Name: TalentsForAI
Theme URI: https://talentsforai.com
Description: Custom theme for TalentsForAI - clean, fast, no bloat
Version: 1.1.0
Author: Levon G
Text Domain: talentsforai
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --black:       #0a0a0a;
  --white:       #ffffff;
  --off-white:   #f7f7f5;
  --gray-50:     #fafafa;
  --gray-100:    #f0f0ee;
  --gray-200:    #e4e4e0;
  --gray-300:    #c8c8c2;
  --gray-500:    #888880;
  --gray-700:    #444440;
  --accent:      #6E2ED7;
  --accent-dark: #5520b0;
  --accent-light:#f0e8ff;
  --green:       #16a34a;
  --green-light: #dcfce7;

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 999px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);

  --nav-height:  64px;
  --max-width:   1200px;
  --content-width: 860px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--black);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 400; }
h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); }
h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: 18px; font-weight: 600; }
h4 { font-size: 15px; font-weight: 600; }

p { color: var(--gray-700); }

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

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.site-nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--black);
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover {
  background: var(--gray-100);
  color: var(--black);
}

.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
}

.nav-cta:hover {
  background: var(--gray-700) !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(110,46,215,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto 20px;
  color: var(--black);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-500);
  letter-spacing: 0.15em;
  font-weight: 300;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.hero-partners {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  max-width: 600px;
  margin: 0 auto;
}

.hero-partners-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.partner-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  height: 52px;
}

.partner-chip img {
  height: 26px;
  width: auto;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}

.stats-bar .container {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 35px;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================================
   JOB BOARD SECTION
   ============================================================ */
.jobs-section {
  padding: 48px 0 80px;
}

.jobs-header {
  text-align: center;
  margin-bottom: 32px;
}

.jobs-header h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-family: var(--font-body);
}

/* ============================================================
   SEARCH & FILTERS
   ============================================================ */
.search-filter-bar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.search-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-300);
  pointer-events: none;
}

#job-search {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  background: var(--gray-50);
  color: var(--black);
  transition: border-color 0.15s, box-shadow 0.15s;
}

#job-search:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(110,46,215,0.1);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.filter-pill {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.filter-select {
  height: 34px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888880' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.15s;
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent);
}

.results-count {
  font-size: 13px;
  color: var(--gray-500);
  margin-left: auto;
}

/* ============================================================
   JOB GRID
   ============================================================ */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

/* ============================================================
   JOB CARD
   ============================================================ */
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.job-card-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
  padding: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
}

.job-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.job-card-industry {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.job-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.35;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.job-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gray-500);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.job-card-pay {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--font-display);
}

.job-card-pay span {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-500);
  font-family: var(--font-body);
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.job-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.job-card-cta svg {
  transition: transform 0.2s;
}

.job-card:hover .job-card-cta svg {
  transform: translateX(3px);
}

/* ============================================================
   NO RESULTS
   ============================================================ */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
}

.no-results h3 {
  margin-bottom: 8px;
  color: var(--gray-700);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 64px 0;
}

.section-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: var(--gray-200);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.step-body {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: 64px 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--gray-200);
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  user-select: none;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.faq-item.open .faq-icon {
  background: var(--black);
  border-color: var(--black);
  transform: rotate(45deg);
}

.faq-icon svg { color: var(--gray-500); }
.faq-item.open .faq-icon svg { color: var(--white); }

.faq-a {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
}

.faq-item.open .faq-a {
  max-height: 600px;
  padding-bottom: 18px;
}

.warning-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 13px;
  color: #92400e;
  line-height: 1.6;
}

.warning-box a { color: #b45309; text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

.footer-links a:hover { color: var(--white); }

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

/* ============================================================
   SINGLE JOB PAGE
   ============================================================ */
.job-single {
  padding: 48px 0 80px;
}

.job-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.job-breadcrumb a { color: var(--gray-500); }
.job-breadcrumb a:hover { color: var(--black); }

.job-single-header {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
}

.job-single-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.job-single-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--black);
  margin-bottom: 12px;
}

.job-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-single-pay {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--black);
  white-space: nowrap;
}

.job-single-pay small {
  font-size: 14px;
  color: var(--gray-500);
  font-family: var(--font-body);
  display: block;
  text-align: right;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}

.apply-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.apply-btn-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: #92400e;
  line-height: 1.6;
  margin-top: 16px;
}

.job-content-body {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
}

.job-content-body h2,
.job-content-body h3 {
  color: var(--black);
  margin-top: 28px;
  margin-bottom: 12px;
}

.job-content-body h2:first-child,
.job-content-body h3:first-child {
  margin-top: 0;
}

.job-content-body p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.8;
}

.job-content-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}

.job-content-body ul li {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ============================================================
   ROASTMYCV WIDGET WRAPPER
   ============================================================ */
.roast-widget-wrap {
  margin-top: 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 32px; }
  .stats-bar .container { gap: 24px; }
  .stat-num { font-size: 22px; }
  .jobs-grid { grid-template-columns: 1fr; }
  .search-row { flex-direction: column; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps-grid::before { display: none; }
  .step { flex-direction: row; text-align: left; gap: 16px; }
  .step-num { margin-bottom: 0; flex-shrink: 0; }
  .job-single-top { flex-direction: column; }
  .job-single-pay { font-size: 28px; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-badges { gap: 6px; }
  .filter-row { gap: 6px; }
}

/* ============================================================
   BLOG LISTING
   ============================================================ */
.blog-hero {
  padding: 80px 0 40px;
  text-align: center;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 8px 0;
}
.blog-listing {
  padding: 60px 0 100px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 24px;
}
.blog-card-meta {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.blog-cat {
  color: var(--accent);
  font-weight: 600;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 10px;
  line-height: 1.3;
}
.blog-card-title a {
  color: var(--black);
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.blog-read-more:hover { text-decoration: underline; }
.blog-pagination { margin-top: 60px; text-align: center; }
.blog-empty { text-align: center; padding: 80px 0; color: var(--gray-500); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post { padding: 60px 0 0; }
.single-post-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.single-post-header { margin-bottom: 40px; }
.single-post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin: 12px 0 24px;
}
.single-post-thumb img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-top: 8px;
}
.single-post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}
.single-post-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--black);
}
.single-post-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 32px 0 12px;
}
.single-post-content p { margin-bottom: 20px; }
.single-post-content ul, .single-post-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.single-post-content li { margin-bottom: 8px; }
.single-post-content a { color: var(--accent); }
.single-post-footer { margin-top: 60px; padding-top: 32px; padding-bottom: 48px; border-top: 1px solid var(--gray-200); }
.back-to-blog {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.back-to-blog:hover { text-decoration: underline; }

body.single,
body.blog {
  padding-top: 0 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.single article.single-post,
body.blog .blog-listing {
  flex: 1;
}