/*
Theme Name: Vector Forecast
Theme URI: https://vectorforecast.com
Author: VectorForecast Team
Description: Clean, editorial block theme for the Vector Forecast tech & AI blog.
Version: 1.2.9
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: vectorforecast-theme
*/

/* ── Reset & base ── */
html body *, html body *::before, html body *::after { box-sizing: border-box; }
html body img { display: block; max-width: 100%; height: auto; }
html body a { text-underline-offset: 3px; }

/* ── Header ── */
html body .vf-header {
  border-bottom: 1px solid var(--wp--preset--color--border, #E5E7EB);
  padding: 0 40px;
  height: 56px;
  z-index: 100;
}
html body .vf-header-inner { height: 56px; max-width: 1180px; margin: 0 auto; }
html body .vf-logo a {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: 1.2rem !important;
  color: var(--wp--preset--color--text, #0D0D0D) !important;
  text-decoration: none !important;
  font-weight: 400 !important;
}
html body .vf-nav .wp-block-navigation-item__content {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--wp--preset--color--muted, #6B7280);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}
html body .vf-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--text, #0D0D0D); }
html body .vf-nav .current-menu-item > .wp-block-navigation-item__content,
html body .vf-nav .current-page-ancestor > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--text, #0D0D0D) !important;
  border-bottom: 2px solid var(--wp--preset--color--accent, #1D4ED8);
  padding-bottom: 2px;
}

/* ── Page wrapper ── */
html body .vf-page { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ── Section header ── */
html body .vf-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 24px 0 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--wp--preset--color--border, #E5E7EB);
}
html body .vf-section-title {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--wp--preset--color--text, #0D0D0D) !important;
  margin: 0 !important;
}
html body .vf-section-more {
  font-size: 0.8125rem;
  text-decoration: none;
  font-weight: 500;
}

html body .vf-section-more a {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--muted, #6B7280);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

html body .vf-section-more a:hover {
  color: var(--wp--preset--color--accent, #1D4ED8);
}

/* ── Hero query ── */
html body .vf-hero-query {
  margin-bottom: 56px;
  padding-bottom: 24px;
}

/* ── Category label ── */
html body .vf-cat-label,
html body .vf-cat-label.wp-block-post-terms {
  font-size: 0.6875rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

html body .vf-cat-label a,
html body .vf-cat-label.wp-block-post-terms a {
  color: var(--wp--preset--color--accent, #1D4ED8) !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  text-transform: inherit !important;
  letter-spacing: inherit !important;
}

html body .vf-cat-label a:hover {
  text-decoration: underline !important;
}

/* ── Hero ── */
html body .vf-hero { padding: 40px 0 8px; }
html body .vf-hero-title a,
html body .vf-hero .wp-block-post-title a {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: 2.75rem !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: var(--wp--preset--color--text, #0D0D0D) !important;
  text-decoration: none !important;
}
html body .vf-hero-title a:hover,
html body .vf-hero .wp-block-post-title a:hover {
  color: var(--wp--preset--color--accent, #1D4ED8) !important;
}
html body .vf-hero-excerpt .wp-block-post-excerpt__excerpt {
  font-size: 1.0625rem;
  color: var(--wp--preset--color--muted, #6B7280);
  line-height: 1.7;
  margin-bottom: 20px;
}
html body .vf-hero-excerpt .wp-block-post-excerpt__more-link { display: none; }
html body .vf-hero-meta { display: flex; align-items: center; flex-wrap: nowrap; gap: 16px !important; font-size: 0.8125rem; color: var(--wp--preset--color--muted, #6B7280); }
html body .vf-hero-meta .wp-block-post-author-name { font-weight: 500; color: var(--wp--preset--color--text, #0D0D0D); }
html body .vf-hero-img img,
html body .vf-hero .wp-block-post-featured-image img {
  border-radius: 8px;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* ── Article grid ── */
html body .vf-article-grid {
  margin-bottom: 64px;
}
html body .vf-article-grid .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
html body .vf-article-grid .wp-block-post-template > li { display: flex; flex-direction: column; }
html body .vf-card-img,
html body .vf-card-img.wp-block-post-featured-image,
html body .vf-article-grid .wp-block-post-featured-image {
  border-radius: 6px;
  overflow: hidden;
}

html body .vf-card-img img,
html body .vf-article-grid .wp-block-post-featured-image img {
  border-radius: 6px;
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}
html body .vf-card-title a,
html body .vf-article-grid .wp-block-post-title a {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: 1.1875rem !important;
  line-height: 1.3 !important;
  color: var(--wp--preset--color--text, #0D0D0D) !important;
  text-decoration: none !important;
}
html body .vf-card-title a:hover,
html body .vf-article-grid .wp-block-post-title a:hover { color: var(--wp--preset--color--accent, #1D4ED8) !important; }

/* Card image zoom on card hover */
html body .wp-block-post:hover .vf-card-img img,
html body .vf-article-grid .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.03);
}
html body .vf-card-excerpt .wp-block-post-excerpt__excerpt {
  font-size: 0.875rem;
  color: var(--wp--preset--color--muted, #6B7280);
  line-height: 1.6;
  margin-bottom: 12px;
}
html body .vf-card-excerpt .wp-block-post-excerpt__more-link { display: none; }
html body .vf-card-meta { display: flex; align-items: center; flex-wrap: nowrap; gap: 12px !important; font-size: 0.75rem; color: var(--wp--preset--color--muted, #6B7280); }
html body .vf-card-meta .wp-block-post-author-name { font-weight: 500; color: var(--wp--preset--color--text, #0D0D0D); }

/* ── Section divider (grid to next section header) ── */
html body .vf-article-grid + .wp-block-group.vf-section-header {
  margin-top: 64px;
}

/* ── Single article ── */
html body .vf-single { max-width: 740px; margin: 0 auto; padding: 60px 40px 100px; }
html body .vf-single-title.wp-block-post-title {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: 2.875rem !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  font-weight: 400 !important;
  margin-bottom: 20px;
  max-width: 720px;
}
html body .vf-single-deck .wp-block-post-excerpt__excerpt {
  font-size: 1.1875rem;
  color: var(--wp--preset--color--muted, #6B7280);
  line-height: 1.65;
  border-left: 3px solid var(--wp--preset--color--accent, #1D4ED8);
  padding-left: 20px;
  margin-bottom: 28px;
}
html body .vf-single-deck .wp-block-post-excerpt__more-link { display: none; }

/* ── Byline ── */
html body .vf-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--wp--preset--color--border, #E5E7EB);
  border-bottom: 1px solid var(--wp--preset--color--border, #E5E7EB);
  margin-bottom: 36px;
}
html body .vf-byline .wp-block-post-author-name { font-size: 0.875rem; font-weight: 600; }
html body .vf-byline .wp-block-post-date { font-size: 0.8125rem; color: var(--wp--preset--color--muted, #6B7280); }
html body .vf-reading-time {
  display: inline-flex !important;
  align-items: center;
  font-size: 0.8125rem !important;
  font-weight: 500;
  color: var(--wp--preset--color--muted, #6B7280) !important;
  background: var(--wp--preset--color--surface, #F8F9FA) !important;
  border: 1px solid var(--wp--preset--color--border, #E5E7EB);
  padding: 3px 10px !important;
  border-radius: 20px !important;
  line-height: 1.4;
  margin-left: auto;
}

/* ── Article hero image ── */
html body .vf-article-hero-img img,
html body .vf-single .wp-block-post-featured-image img {
  border-radius: 4px;
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 44px;
}

/* ── Article body ── */
html body .vf-article-body .wp-block-post-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--wp--preset--color--text-secondary, #1F2937);
  margin-bottom: 24px;
}
html body .vf-article-body .wp-block-post-content h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.625rem;
  line-height: 1.25;
  margin: 44px 0 16px;
  font-weight: 400;
}
html body .vf-article-body .wp-block-post-content h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 32px 0 12px;
  font-weight: 400;
}
html body .vf-article-body .wp-block-post-content blockquote {
  border-left: 3px solid var(--wp--preset--color--accent, #1D4ED8);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  color: var(--wp--preset--color--muted, #6B7280);
  font-size: 1.125rem;
  line-height: 1.7;
  font-style: italic;
}
html body .vf-article-body .wp-block-post-content a {
  color: var(--wp--preset--color--accent, #1D4ED8);
  text-decoration: underline;
  text-underline-offset: 3px;
}
html body .vf-article-body .wp-block-post-content sup a {
  text-decoration: none;
  font-size: 0.75em;
}

/* Lists */
html body .vf-article-body .wp-block-post-content ul,
html body .vf-article-body .wp-block-post-content ol {
  padding-left: 1.5em;
  margin-bottom: 24px;
}
html body .vf-article-body .wp-block-post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 1.0625rem;
  color: var(--wp--preset--color--text-secondary, #1F2937);
}

/* Tables */
html body .vf-article-body .wp-block-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.9375rem;
}
html body .vf-article-body .wp-block-post-content th {
  background: var(--wp--preset--color--surface, #F8F9FA);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--wp--preset--color--border, #E5E7EB);
}
html body .vf-article-body .wp-block-post-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--wp--preset--color--border, #E5E7EB);
  vertical-align: top;
  line-height: 1.5;
}
html body .vf-article-body .wp-block-post-content tr:last-child td {
  border-bottom: none;
}

/* Inline code */
html body .vf-article-body .wp-block-post-content code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.875rem;
  background: var(--wp--preset--color--surface, #F8F9FA);
  border: 1px solid var(--wp--preset--color--border, #E5E7EB);
  padding: 2px 6px;
  border-radius: 3px;
}

/* Code blocks */
html body .vf-article-body .wp-block-post-content pre {
  background: #0D0D0D;
  color: #E5E7EB;
  padding: 24px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 32px 0;
}
html body .vf-article-body .wp-block-post-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* ── Tags ── */
html body .vf-tags,
html body .vf-tags.wp-block-post-terms {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--wp--preset--color--border, #E5E7EB);
  font-size: 0 !important; /* remove separator spacing */
}

html body .vf-tags a,
html body .vf-tags.wp-block-post-terms a {
  display: inline-block !important;
  font-size: 0.8125rem !important; /* 13px */
  font-weight: 500;
  color: var(--wp--preset--color--text-secondary, #1F2937) !important;
  background: var(--wp--preset--color--surface, #F8F9FA) !important;
  border: 1px solid var(--wp--preset--color--border, #E5E7EB);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s;
}

html body .vf-tags a:hover {
  background: var(--wp--preset--color--border, #E5E7EB) !important;
  border-color: var(--wp--preset--color--muted, #6B7280);
}

html body .vf-tags .wp-block-post-terms__separator {
  display: none !important;
}

/* ── Archive ── */
html body .vf-archive { max-width: 1180px; margin: 0 auto; padding: 60px 40px 80px; }
html body .vf-archive-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--wp--preset--color--border, #E5E7EB);
  margin-bottom: 40px;
}
html body .vf-archive-title.wp-block-query-title {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: 2.75rem !important; /* 44px */
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  font-weight: 400 !important;
  color: var(--wp--preset--color--text, #0D0D0D) !important;
  margin-bottom: 8px !important;
}
html body .vf-archive-description.wp-block-term-description {
  font-size: 1rem !important;
  color: var(--wp--preset--color--muted, #6B7280) !important;
  line-height: 1.6;
  max-width: 600px;
}
html body .vf-pagination {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--wp--preset--color--border, #E5E7EB);
}
html body .vf-pagination .wp-block-query-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
html body .vf-pagination .wp-block-query-pagination-numbers a,
html body .vf-pagination .wp-block-query-pagination-previous,
html body .vf-pagination .wp-block-query-pagination-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--wp--preset--color--border, #E5E7EB);
  border-radius: 6px;
  font-size: 0.875rem !important;
  color: var(--wp--preset--color--text, #0D0D0D) !important;
  text-decoration: none !important;
  transition: border-color 0.15s, background 0.15s;
}
html body .vf-pagination .wp-block-query-pagination-numbers a:hover,
html body .vf-pagination .wp-block-query-pagination-previous:hover,
html body .vf-pagination .wp-block-query-pagination-next:hover {
  border-color: var(--wp--preset--color--accent, #1D4ED8);
  color: var(--wp--preset--color--accent, #1D4ED8) !important;
}

html body .vf-pagination .wp-block-query-pagination-numbers .current {
  background: var(--wp--preset--color--accent, #1D4ED8);
  color: #fff;
  border-color: transparent;
  border-radius: 6px;
  font-size: 0.875rem;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

/* ── Footer ── */
html body .vf-footer {
  border-top: 1px solid var(--wp--preset--color--border, #E5E7EB) !important;
  padding: 40px !important;
  margin-top: 80px;
}
html body .vf-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
html body .vf-footer-logo a {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: 1rem !important;
  color: var(--wp--preset--color--text, #0D0D0D) !important;
  text-decoration: none !important;
}
html body .vf-footer-nav .wp-block-navigation__container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body .vf-footer .wp-block-navigation-item__content {
  font-size: 0.8125rem !important;
  color: var(--wp--preset--color--muted, #6B7280) !important;
  text-decoration: none !important;
}
html body .vf-footer .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--text, #0D0D0D) !important;
}
html body .vf-copyright {
  font-size: 0.8125rem !important;
  color: var(--wp--preset--color--muted, #6B7280) !important;
}

/* ── 404 ── */
html body .vf-404 { max-width: 600px; margin: 120px auto; text-align: center; padding: 0 40px; }
html body .vf-404-title { font-family: 'DM Serif Display', Georgia, serif; font-size: 5rem; margin-bottom: 16px; font-weight: 400; }
html body .vf-404-text { color: var(--wp--preset--color--muted, #6B7280); font-size: 1.0625rem; margin-bottom: 32px; }
html body .vf-home-link {
  display: inline-block;
  padding: 10px 24px;
  background: var(--wp--preset--color--accent, #1D4ED8);
  color: #fff !important;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
}

/* ── Reading progress bar ── */
#vf-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--wp--preset--color--accent, #1D4ED8);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Back to top button ── */
#vf-back-top {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.1rem;
  z-index: 998;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}
#vf-back-top:hover { background: var(--wp--preset--color--accent, #1D4ED8); }

/* ── Social sharing ── */
.vf-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid var(--wp--preset--color--border, #E5E7EB);
  border-bottom: 1px solid var(--wp--preset--color--border, #E5E7EB);
}
.vf-share__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--text, #0D0D0D);
  margin-right: 8px;
  flex-shrink: 0;
}
.vf-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--wp--preset--color--border, #E5E7EB);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--wp--preset--color--text-secondary, #374151);
  text-decoration: none !important;
  background: var(--wp--preset--color--surface, #F8F9FA);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}
.vf-share__btn:hover { border-color: var(--wp--preset--color--accent, #1D4ED8); color: var(--wp--preset--color--accent, #1D4ED8) !important; }
.vf-share__copy-msg {
  font-size: 0.75rem;
  color: var(--wp--preset--color--accent, #1D4ED8);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}
.vf-share__copy-msg.vf-show { opacity: 1; }

/* ── Author bio box ── */
.vf-author-box {
  display: flex !important;
  align-items: flex-start;
  gap: 20px;
  background: var(--wp--preset--color--surface, #F9FAFB) !important;
  border: 1px solid var(--wp--preset--color--border, #E5E7EB) !important;
  border-radius: 8px !important;
  padding: 24px !important;
  margin-top: 48px !important;
}
.vf-author-box .wp-block-post-author__avatar { flex-shrink: 0; }
.vf-author-box .wp-block-post-author__avatar img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  object-fit: cover;
}
.vf-author-box .wp-block-post-author__content { flex: 1; min-width: 0; }
.vf-author-box .wp-block-post-author__name {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
  display: block;
}
.vf-author-box .wp-block-post-author__name a {
  color: var(--wp--preset--color--text, #0D0D0D) !important;
  text-decoration: none !important;
}
.vf-author-box .wp-block-post-author__bio {
  font-size: 0.875rem !important;
  color: var(--wp--preset--color--muted, #6B7280) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* ── Related posts ── */
.vf-related {
  margin-top: 56px;
  padding-top: 0;
  border-top: 1px solid var(--wp--preset--color--border, #E5E7EB);
}
.vf-related__heading {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text, #0D0D0D);
  margin: 0;
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--wp--preset--color--border, #E5E7EB);
}
.vf-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.vf-related__item {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  overflow: hidden;
}
.vf-related__item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}
.vf-related__item:hover img { transform: scale(1.03); }
.vf-related__item-cat {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--accent, #1D4ED8);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}
.vf-related__item-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--wp--preset--color--text, #0D0D0D);
  transition: color 0.15s;
}
.vf-related__item:hover .vf-related__item-title { color: var(--wp--preset--color--accent, #1D4ED8); }

/* ── Tablet ── */
@media (min-width: 769px) and (max-width: 1023px) {
  html body .vf-article-grid .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  html body .vf-header { padding: 0 20px; }
  html body .vf-nav { display: none; }
  html body .vf-page { padding: 0 20px; }
  html body .vf-single { padding: 40px 20px 80px; }
  html body .vf-archive { padding: 40px 20px 60px; }
  html body .vf-hero { padding: 32px 0; }
  html body .vf-hero-columns .wp-block-columns { flex-direction: column !important; }
  html body .vf-article-grid .wp-block-post-template { grid-template-columns: 1fr !important; }
  html body .vf-hero-title a,
  html body .vf-hero .wp-block-post-title a {
    font-size: 1.875rem !important;
    line-height: 1.2 !important;
  }
  html body .vf-single-title.wp-block-post-title {
    font-size: 2rem !important;
  }
  html body .vf-section-title {
    font-size: 0.6875rem !important;
  }
  .vf-related__grid { grid-template-columns: 1fr !important; gap: 20px; }
  .vf-author-box { flex-direction: column; gap: 14px; }
  #vf-back-top { bottom: 1.25rem; right: 1.25rem; }
}
