/*
Theme Name: Velaris
Theme URI: 
Author: Velaris Media
Author URI: 
Description: Modern fintech WordPress theme with coral accent and dynamic SEO.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: velaris
Tags: fintech, trading, modern
*/

/* ============================================================
   0. Design Tokens
   ============================================================ */
:root {
  --vls-coral: #e85d4a;
  --vls-coral-hover: #d14b39;
  --vls-dark: #0f1724;
  --vls-dark-alt: #162032;
  --vls-green: #34d399;
  --vls-white: #ffffff;
  --vls-gray-50: #f8fafc;
  --vls-gray-100: #f1f5f9;
  --vls-gray-200: #e2e8f0;
  --vls-gray-400: #94a3b8;
  --vls-gray-600: #475569;
  --vls-gray-800: #1e293b;
  --vls-radius: 12px;
  --vls-radius-pill: 9999px;
  --vls-shadow: 0 4px 24px rgba(0,0,0,.08);
  --vls-shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --vls-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --vls-container: 1200px;
  --vls-transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   1. Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--vls-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--vls-gray-800);
  background: var(--vls-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.vls-nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--vls-transition); }
a:hover { color: var(--vls-coral); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; color: var(--vls-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1em; }

/* ============================================================
   2. Container
   ============================================================ */
.vls-container {
  max-width: var(--vls-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   3. Buttons
   ============================================================ */
.vls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--vls-radius-pill);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.4;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--vls-transition);
  white-space: nowrap;
}
.vls-btn--coral {
  background: var(--vls-coral);
  color: var(--vls-white);
  border-color: var(--vls-coral);
}
.vls-btn--coral:hover {
  background: var(--vls-coral-hover);
  border-color: var(--vls-coral-hover);
  color: var(--vls-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,93,74,.3);
}
.vls-btn--ghost {
  background: transparent;
  color: var(--vls-dark);
  border-color: var(--vls-gray-200);
}
.vls-btn--ghost:hover {
  border-color: var(--vls-coral);
  color: var(--vls-coral);
}
.vls-btn--white {
  background: var(--vls-white);
  color: var(--vls-dark);
  border-color: var(--vls-white);
}
.vls-btn--white:hover {
  background: var(--vls-gray-100);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,255,255,.2);
}
.vls-btn--sm {
  padding: 8px 18px;
  font-size: .8125rem;
}

/* ============================================================
   4. Announcement Bar
   ============================================================ */
.vls-announce-bar {
  background: var(--vls-dark);
  color: var(--vls-white);
  text-align: center;
  padding: 10px 48px;
  font-size: .8125rem;
  position: relative;
  z-index: 1001;
}
.vls-announce-bar a { color: var(--vls-green); font-weight: 600; }
.vls-announce-bar__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--vls-gray-400);
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1;
  padding: 4px;
  transition: color var(--vls-transition);
}
.vls-announce-bar__close:hover { color: var(--vls-white); }

/* ============================================================
   5. Header / Navigation
   ============================================================ */
.vls-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--vls-transition), box-shadow var(--vls-transition);
}
.vls-header.is-stuck {
  border-bottom-color: var(--vls-gray-200);
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.vls-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.vls-brand {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--vls-dark);
}
.vls-brand:hover { color: var(--vls-coral); }
.vls-nav { display: flex; align-items: center; }
.vls-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vls-nav__item { position: relative; }
.vls-navlink {
  display: block;
  padding: 8px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--vls-gray-600);
  border-radius: var(--vls-radius-pill);
  transition: all var(--vls-transition);
}
.vls-navlink:hover,
.vls-navlink.is-active {
  color: var(--vls-dark);
  background: var(--vls-gray-100);
}
.vls-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vls-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.vls-burger span {
  display: block;
  height: 2px;
  background: var(--vls-dark);
  border-radius: 2px;
  transition: all var(--vls-transition);
}

/* Mobile Navigation Drawer */
.vls-mobilenav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--vls-white);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--vls-transition);
  overflow-y: auto;
}
.vls-mobilenav.is-open { transform: translateX(0); }
.vls-mobilenav__close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--vls-gray-600);
  padding: 8px;
}
.vls-mobilenav .vls-nav__list {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 32px;
}
.vls-mobilenav .vls-navlink {
  font-size: 1.125rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--vls-gray-100);
  border-radius: 0;
}
.vls-mobilenav .vls-header-actions {
  margin-top: auto;
  padding-top: 24px;
  flex-direction: column;
}
.vls-mobilenav .vls-btn { width: 100%; }

/* ============================================================
   6. Hero Section
   ============================================================ */
.vls-hero {
  padding: 80px 0 64px;
  overflow: hidden;
}
.vls-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.vls-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vls-coral);
  margin-bottom: 16px;
}
.vls-hero__title {
  margin-bottom: 20px;
  letter-spacing: -.03em;
}
.vls-hero__sub {
  font-size: 1.0625rem;
  color: var(--vls-gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.vls-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.vls-hero__stats {
  display: flex;
  gap: 40px;
}
.vls-hero__stat {}
.vls-hero__stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vls-dark);
}
.vls-hero__stat-label {
  font-size: .8125rem;
  color: var(--vls-gray-400);
  margin-top: 2px;
}
.vls-hero__media {
  position: relative;
}
.vls-hero__media img {
  border-radius: var(--vls-radius);
  box-shadow: var(--vls-shadow-lg);
  width: 100%;
  object-fit: cover;
}

/* ============================================================
   7. Trust Bar
   ============================================================ */
.vls-trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--vls-gray-100);
  border-bottom: 1px solid var(--vls-gray-100);
}
.vls-trust-bar__title {
  text-align: center;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--vls-gray-400);
  font-weight: 500;
  margin-bottom: 24px;
}
.vls-trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.vls-trust-bar__logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--vls-gray-400);
  opacity: .7;
  transition: opacity var(--vls-transition);
}
.vls-trust-bar__logo:hover { opacity: 1; }

/* ============================================================
   8. Features Section
   ============================================================ */
.vls-features {
  padding: 80px 0;
}
.vls-features__header {
  text-align: center;
  margin-bottom: 56px;
}
.vls-features__eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vls-coral);
  margin-bottom: 12px;
}
.vls-features__title { margin-bottom: 0; }
.vls-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.vls-featcard {
  padding: 32px;
  border-radius: var(--vls-radius);
  border: 1px solid var(--vls-gray-200);
  transition: all var(--vls-transition);
}
.vls-featcard:hover {
  border-color: var(--vls-coral);
  box-shadow: var(--vls-shadow);
  transform: translateY(-4px);
}
.vls-featcard__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(232,93,74,.1), rgba(232,93,74,.05));
  color: var(--vls-coral);
  margin-bottom: 20px;
}
.vls-featcard__icon .vls-icon { width: 24px; height: 24px; }
.vls-featcard__title {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
.vls-featcard__desc {
  font-size: .9375rem;
  color: var(--vls-gray-600);
  line-height: 1.7;
}

/* ============================================================
   9. Pricing Section
   ============================================================ */
.vls-pricing {
  padding: 80px 0;
  background: var(--vls-dark);
  color: var(--vls-white);
}
.vls-pricing__header {
  text-align: center;
  margin-bottom: 56px;
}
.vls-pricing__eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vls-green);
  margin-bottom: 12px;
}
.vls-pricing__title {
  color: var(--vls-white);
}
.vls-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.vls-pricecard {
  background: var(--vls-dark-alt);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--vls-radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--vls-transition);
}
.vls-pricecard:hover {
  border-color: rgba(255,255,255,.2);
  transform: translateY(-4px);
}
.vls-pricecard--featured {
  border-color: var(--vls-coral);
  background: linear-gradient(180deg, rgba(232,93,74,.08) 0%, var(--vls-dark-alt) 100%);
}
.vls-pricecard__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vls-coral);
  color: var(--vls-white);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 14px;
  border-radius: var(--vls-radius-pill);
}
.vls-pricecard__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--vls-gray-400);
  margin-bottom: 12px;
}
.vls-pricecard__amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--vls-white);
  letter-spacing: -.02em;
}
.vls-pricecard__period {
  font-size: .8125rem;
  color: var(--vls-gray-400);
  margin-bottom: 24px;
}
.vls-pricecard__features {
  flex: 1;
  margin-bottom: 28px;
}
.vls-pricecard__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  padding: 8px 0;
}
.vls-pricecard__features li .vls-icon {
  width: 16px;
  height: 16px;
  color: var(--vls-green);
  flex-shrink: 0;
}
.vls-pricecard .vls-btn { width: 100%; }

/* ============================================================
   10. Insights Section
   ============================================================ */
.vls-insights {
  padding: 80px 0;
}
.vls-insights__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.vls-insights__eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vls-coral);
  margin-bottom: 12px;
}
.vls-insights__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Post Card */
.vls-postcard {
  border-radius: var(--vls-radius);
  border: 1px solid var(--vls-gray-200);
  overflow: hidden;
  transition: all var(--vls-transition);
  background: var(--vls-white);
}
.vls-postcard:hover {
  box-shadow: var(--vls-shadow);
  transform: translateY(-3px);
  border-color: var(--vls-gray-400);
}
.vls-postcard__thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.vls-postcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--vls-transition);
}
.vls-postcard:hover .vls-postcard__thumb img { transform: scale(1.04); }
.vls-postcard__body { padding: 20px 24px 24px; }
.vls-postcard__topline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.vls-postcard__cat {
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--vls-coral);
  background: rgba(232,93,74,.08);
  padding: 3px 10px;
  border-radius: var(--vls-radius-pill);
}
.vls-postcard__title {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.vls-postcard__title a:hover { color: var(--vls-coral); }
.vls-postcard__excerpt {
  font-size: .875rem;
  color: var(--vls-gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vls-postcard__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  color: var(--vls-gray-400);
}
.vls-postcard__author {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--vls-dark);
  color: var(--vls-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .625rem;
  font-weight: 700;
}

/* ============================================================
   11. FAQ Section
   ============================================================ */
.vls-faq {
  padding: 80px 0;
  background: var(--vls-gray-50);
}
.vls-faq__header {
  text-align: center;
  margin-bottom: 48px;
}
.vls-faq__eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vls-coral);
  margin-bottom: 12px;
}
.vls-faq__list {
  max-width: 720px;
  margin: 0 auto;
}
.vls-faq__item {
  border-bottom: 1px solid var(--vls-gray-200);
}
.vls-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--vls-dark);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color var(--vls-transition);
}
.vls-faq__question:hover { color: var(--vls-coral); }
.vls-faq__question .vls-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--vls-transition);
}
.vls-faq__item.is-open .vls-faq__question .vls-icon { transform: rotate(180deg); }
.vls-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.vls-faq__item.is-open .vls-faq__answer {
  max-height: 400px;
  padding-bottom: 20px;
}
.vls-faq__answer p {
  font-size: .9375rem;
  color: var(--vls-gray-600);
  line-height: 1.7;
}

/* ============================================================
   12. CTA Section
   ============================================================ */
.vls-cta-section {
  padding: 80px 0;
  background: var(--vls-dark);
  text-align: center;
}
.vls-cta-section__inner {
  max-width: 600px;
  margin: 0 auto;
}
.vls-cta-section__title {
  color: var(--vls-white);
  margin-bottom: 16px;
}
.vls-cta-section__text {
  color: var(--vls-gray-400);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.vls-cta-section__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   13. Footer
   ============================================================ */
.vls-footer {
  background: var(--vls-dark-alt);
  padding: 64px 0 0;
  color: var(--vls-gray-400);
  font-size: .875rem;
}
.vls-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.vls-footer__brand {}
.vls-footer__brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vls-white);
  margin-bottom: 12px;
}
.vls-footer__brand-desc {
  line-height: 1.7;
  margin-bottom: 20px;
}
.vls-footer__social {
  display: flex;
  gap: 12px;
}
.vls-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--vls-transition);
}
.vls-footer__social a:hover {
  border-color: var(--vls-coral);
  color: var(--vls-coral);
}
.vls-footer__col {}
.vls-footer__col-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vls-white);
  margin-bottom: 16px;
}
.vls-footer__col ul li { margin-bottom: 10px; }
.vls-footer__col ul li a { transition: color var(--vls-transition); }
.vls-footer__col ul li a:hover { color: var(--vls-white); }
.vls-footer__risk {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .75rem;
  line-height: 1.7;
  color: var(--vls-gray-600);
}
.vls-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .75rem;
  flex-wrap: wrap;
  gap: 12px;
}
.vls-legal__links {
  display: flex;
  gap: 20px;
}
.vls-legal__links a:hover { color: var(--vls-white); }

/* ============================================================
   14. Page Header (Inner pages)
   ============================================================ */
.vls-pagehead {
  padding: 56px 0 40px;
  background: var(--vls-gray-50);
  border-bottom: 1px solid var(--vls-gray-200);
}
.vls-pagehead__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 8px;
}
.vls-pagehead__desc {
  color: var(--vls-gray-600);
  font-size: 1rem;
}

/* ============================================================
   15. Breadcrumb
   ============================================================ */
.vls-crumb-bar {
  padding: 14px 0;
  border-bottom: 1px solid var(--vls-gray-100);
  font-size: .8125rem;
}
.vls-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vls-crumb a { color: var(--vls-gray-600); }
.vls-crumb a:hover { color: var(--vls-coral); }
.vls-crumb__sep { color: var(--vls-gray-400); }
.vls-crumb__current { color: var(--vls-dark); font-weight: 500; }

/* ============================================================
   16. Single Post / Entry
   ============================================================ */
.vls-single {
  padding: 48px 0 80px;
}
.vls-single__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.vls-single__byline {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .875rem;
  color: var(--vls-gray-400);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--vls-gray-200);
}
.vls-single__byline strong { color: var(--vls-dark); font-weight: 600; }
.vls-entry {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--vls-gray-800);
}
.vls-entry h2 {
  font-size: 1.5rem;
  margin: 48px 0 16px;
  padding-top: 24px;
}
.vls-entry h3 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
}
.vls-entry p { margin-bottom: 1.25em; }
.vls-entry ul, .vls-entry ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}
.vls-entry ul { list-style: disc; }
.vls-entry ol { list-style: decimal; }
.vls-entry li { margin-bottom: .5em; }
.vls-entry blockquote {
  border-left: 4px solid var(--vls-coral);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--vls-gray-50);
  border-radius: 0 var(--vls-radius) var(--vls-radius) 0;
  font-style: italic;
  color: var(--vls-gray-600);
}
.vls-entry img { border-radius: var(--vls-radius); margin: 24px 0; }
.vls-entry a { color: var(--vls-coral); text-decoration: underline; text-underline-offset: 3px; }
.vls-entry a:hover { color: var(--vls-coral-hover); }
.vls-entry code {
  background: var(--vls-gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .875em;
}
.vls-entry pre {
  background: var(--vls-dark);
  color: var(--vls-gray-100);
  padding: 20px 24px;
  border-radius: var(--vls-radius);
  overflow-x: auto;
  margin: 24px 0;
  font-size: .875rem;
  line-height: 1.6;
}
.vls-entry pre code { background: none; padding: 0; }
.vls-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--vls-gray-200);
}
.vls-tagchip {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--vls-radius-pill);
  font-size: .75rem;
  font-weight: 500;
  background: var(--vls-gray-100);
  color: var(--vls-gray-600);
  transition: all var(--vls-transition);
}
.vls-tagchip:hover {
  background: var(--vls-coral);
  color: var(--vls-white);
}
.vls-single__footnav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--vls-gray-200);
}
.vls-single__footnav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--vls-gray-600);
  display: flex;
  align-items: center;
  gap: 6px;
}
.vls-single__footnav a:hover { color: var(--vls-coral); }
.vls-related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--vls-gray-200);
}
.vls-related__title {
  font-size: 1.25rem;
  margin-bottom: 24px;
}
.vls-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ============================================================
   17. Sidebar / TOC
   ============================================================ */
.vls-sidebar {
  width: 280px;
  flex-shrink: 0;
}
.vls-single__layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.vls-single__main { flex: 1; min-width: 0; }
.vls-sidebar__widget {
  margin-bottom: 32px;
  padding: 20px;
  border-radius: var(--vls-radius);
  border: 1px solid var(--vls-gray-200);
  background: var(--vls-white);
}
.vls-sidebar__widget-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--vls-gray-400);
  margin-bottom: 14px;
}
.vls-toc { position: sticky; top: 88px; }
.vls-toc__link {
  display: block;
  padding: 6px 0;
  font-size: .8125rem;
  color: var(--vls-gray-600);
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: all var(--vls-transition);
}
.vls-toc__link:hover { color: var(--vls-coral); border-left-color: var(--vls-gray-200); }
.vls-toc__link.is-active { color: var(--vls-coral); border-left-color: var(--vls-coral); font-weight: 600; }
.vls-toc__link--h3 { padding-left: 24px; }

/* ============================================================
   18. Archive Grid / Pagination
   ============================================================ */
.vls-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 48px 0;
}
.vls-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 0;
}
.vls-page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--vls-radius-pill);
  font-size: .875rem;
  font-weight: 500;
  color: var(--vls-gray-600);
  transition: all var(--vls-transition);
}
.vls-page-numbers:hover { background: var(--vls-gray-100); color: var(--vls-dark); }
.vls-page-numbers.current {
  background: var(--vls-coral);
  color: var(--vls-white);
}
.vls-page-numbers.next,
.vls-page-numbers.prev { width: auto; padding: 0 14px; }

/* ============================================================
   19. Search
   ============================================================ */
.vls-search-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
}
.vls-search-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--vls-radius-pill);
  border: 1px solid var(--vls-gray-200);
  font-size: .9375rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--vls-transition);
}
.vls-search-input:focus { border-color: var(--vls-coral); }
.vls-search-submit {
  padding: 12px 24px;
  border-radius: var(--vls-radius-pill);
  background: var(--vls-coral);
  color: var(--vls-white);
  border: none;
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: background var(--vls-transition);
}
.vls-search-submit:hover { background: var(--vls-coral-hover); }

/* ============================================================
   20. Language Switcher
   ============================================================ */
.vls-langswitch {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vls-langswitch--pills .vls-langbox {
  padding: 5px 12px;
  border-radius: var(--vls-radius-pill);
  font-size: .75rem;
  font-weight: 600;
  color: var(--vls-gray-600);
  border: 1px solid var(--vls-gray-200);
  transition: all var(--vls-transition);
}
.vls-langswitch--pills .vls-langbox:hover { border-color: var(--vls-coral); color: var(--vls-coral); }
.vls-langswitch--pills .vls-langbox.is-active {
  background: var(--vls-coral);
  border-color: var(--vls-coral);
  color: var(--vls-white);
}

/* ============================================================
   21. 404 Page
   ============================================================ */
.vls-404 {
  text-align: center;
  padding: 100px 0;
}
.vls-404__title {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--vls-gray-200);
  margin-bottom: 16px;
  font-weight: 900;
}
.vls-404__text {
  color: var(--vls-gray-600);
  margin-bottom: 32px;
  font-size: 1.0625rem;
}
.vls-404__search {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   22. SVG Icon Base
   ============================================================ */
.vls-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ============================================================
   23. Section eyebrow (shared)
   ============================================================ */
.vls-section-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vls-coral);
  margin-bottom: 12px;
}

/* ============================================================
   23b. Template class reconciliation
   (selectors used by the PHP templates but not defined above;
    templates are the source of truth — nothing here removes
    earlier rules, later cascade wins where they overlap)
   ============================================================ */

/* Body class hook (body_class('vls-body')) */
.vls-body {
  font-family: var(--vls-font);
  color: var(--vls-gray-800);
  background: var(--vls-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Main content wrapper */
.vls-main { padding: 48px 0 80px; }
.vls-main > .vls-pagehead:first-child { margin-top: -48px; }

/* Shared eyebrow / kicker */
.vls-kicker {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--vls-coral);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

/* Section header (replaces per-section __header blocks) */
.vls-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.vls-section-head h2 { margin-bottom: 0; }
.vls-section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  max-width: none;
  margin: 0 0 48px;
  gap: 24px;
}
.vls-pricing .vls-section-head h2,
.vls-cta-section .vls-section-head h2 { color: var(--vls-white); }
.vls-insights__all {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--vls-coral);
  white-space: nowrap;
  transition: color var(--vls-transition);
}
.vls-insights__all:hover { color: var(--vls-coral-hover); }

/* Hero left column */
.vls-hero__left { min-width: 0; }

/* Announcement bar inner layout */
.vls-announce-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px;
  position: relative;
}
.vls-announce-bar__text { font-size: .85rem; color: var(--vls-white); }
.vls-announce-bar__code {
  background: var(--vls-coral);
  color: var(--vls-white);
  padding: 2px 10px;
  border-radius: var(--vls-radius-pill);
  font-size: .8rem;
  font-weight: 600;
}

/* Brand (header + footer) */
.vls-brand__text { font-size: 1.25rem; font-weight: 700; }
.vls-footer .vls-brand__text { color: var(--vls-white); }
.vls-brand__img { height: 36px; width: auto; }

/* Mobile nav action buttons */
.vls-mobilenav__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px;
}

/* Desktop-only helpers */
.vls-desktop-only { display: inline-flex; }

/* Page head (bare h1 + lead + count) */
.vls-pagehead h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.vls-pagehead__lead {
  font-size: 1.1rem;
  color: var(--vls-gray-600);
  margin-top: 8px;
  max-width: 640px;
}
.vls-pagehead__count {
  font-size: .9rem;
  color: var(--vls-gray-400);
  margin-top: 8px;
}

/* Breadcrumb home link */
.vls-crumb__home { color: var(--vls-gray-600); font-weight: 500; }

/* Byline (single / page head) */
.vls-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: .875rem;
  color: var(--vls-gray-600);
  margin-top: 12px;
}
.vls-byline__author,
.vls-byline__date,
.vls-byline__time { font: inherit; color: inherit; }
.vls-byline__author { font-weight: 600; color: var(--vls-dark); }

/* Single + category two-column layouts (sidebar | content) */
.vls-single-layout,
.vls-category-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.vls-single__content { min-width: 0; }
.vls-single__thumb {
  margin: 0 0 32px;
  border-radius: var(--vls-radius);
  overflow: hidden;
}
.vls-single__thumb img { width: 100%; height: auto; }

/* archive-grid acts as the content column inside category-layout */
.vls-category-layout .vls-archive-grid { display: block; padding: 0; }

/* Posts grid (archive / search / index card grid) */
.vls-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Sidebar list widgets */
.vls-sidebar__list { list-style: none; margin: 0; padding: 0; }
.vls-sidebar__list li { margin-bottom: 2px; }
.vls-sidebar__list li a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: .875rem;
  color: var(--vls-gray-600);
  transition: all var(--vls-transition);
}
.vls-sidebar__list li a:hover { background: var(--vls-gray-100); color: var(--vls-coral); }
.vls-sidebar__item.is-active a {
  background: rgba(232,93,74,.1);
  color: var(--vls-coral);
  font-weight: 600;
}

/* TOC (title + JS-injected nav) */
.vls-toc__title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--vls-gray-400);
  margin-bottom: 14px;
}
.vls-toc__nav { display: block; }
.vls-toc__list { list-style: none; margin: 0; padding: 0; }

/* Post foot navigation (prev / next stacked) */
.vls-footnav__prev,
.vls-footnav__next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  max-width: 50%;
}
.vls-footnav__next { align-items: flex-end; text-align: right; margin-left: auto; }
.vls-footnav__label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--vls-gray-400);
}
.vls-footnav__title { font-size: .9375rem; font-weight: 600; color: var(--vls-dark); }
.vls-footnav__prev:hover .vls-footnav__title,
.vls-footnav__next:hover .vls-footnav__title { color: var(--vls-coral); }

/* Post card reading-time meta */
.vls-postcard__time::before {
  content: "\00b7";
  margin-right: 8px;
  color: var(--vls-gray-400);
}

/* FAQ chevron */
.vls-faq__chevron {
  display: inline-flex;
  flex-shrink: 0;
  transition: transform var(--vls-transition);
}
.vls-faq__item.is-open .vls-faq__chevron { transform: rotate(180deg); }

/* CTA section actions (alias of __btns) */
.vls-cta-section__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Static page content wrapper */
.vls-page-content { max-width: 800px; }

/* Search page */
.vls-search-bar { margin-bottom: 32px; }
.vls-search-results { margin-top: 32px; }
.vls-search-none { text-align: center; padding: 64px 0; color: var(--vls-gray-600); }
.vls-search-none .vls-search-form { margin: 24px auto 0; }
.vls-archive-empty {
  text-align: center;
  padding: 64px 0;
  color: var(--vls-gray-600);
  font-size: 1.1rem;
}

/* Pagination — WordPress paginate_links() + wp_link_pages() */
.vls-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vls-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--vls-radius-pill);
  font-size: .875rem;
  font-weight: 500;
  color: var(--vls-gray-600);
  transition: all var(--vls-transition);
}
.vls-pagination .page-numbers:hover { background: var(--vls-gray-100); color: var(--vls-dark); }
.vls-pagination .page-numbers.current { background: var(--vls-coral); color: var(--vls-white); }
.vls-pagination .page-numbers.dots { background: none; color: var(--vls-gray-400); }
.vls-pagination--entry {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.vls-pagination--entry a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--vls-radius-pill);
  background: var(--vls-gray-100);
  color: var(--vls-dark);
  font-weight: 500;
}
.vls-pagination--entry a:hover { background: var(--vls-coral); color: var(--vls-white); }

/* Footer brand column extras */
.vls-footer__about {
  font-size: .875rem;
  color: var(--vls-gray-400);
  line-height: 1.6;
  margin: 12px 0 20px;
}
.vls-footer__cta { margin-bottom: 20px; }
.vls-social { display: flex; gap: 12px; }
.vls-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--vls-gray-400);
  transition: all var(--vls-transition);
}
.vls-social a:hover { border-color: var(--vls-coral); color: var(--vls-coral); }

/* Footer legal block (stacked: risk / links / bar) */
.vls-legal {
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: 16px;
}
.vls-legal__risk {
  font-size: .75rem;
  color: var(--vls-gray-400);
  line-height: 1.7;
  margin-bottom: 16px;
}
.vls-legal__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
  gap: 12px;
}
.vls-legal__copy { font-size: .8rem; color: var(--vls-gray-400); }

/* Language switcher — footer (dark) variant */
.vls-langswitch--footer .vls-langbox {
  padding: 5px 12px;
  border-radius: var(--vls-radius-pill);
  font-size: .75rem;
  font-weight: 600;
  color: var(--vls-gray-400);
  border: 1px solid rgba(255,255,255,.15);
  transition: all var(--vls-transition);
}
.vls-langswitch--footer .vls-langbox:hover { border-color: var(--vls-coral); color: var(--vls-white); }
.vls-langswitch--footer .vls-langbox.is-active {
  background: var(--vls-coral);
  border-color: var(--vls-coral);
  color: var(--vls-white);
}

/* 404 — big decorative code + sane heading */
.vls-404__code {
  font-size: clamp(4rem, 18vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--vls-gray-200);
  letter-spacing: -.04em;
  margin-bottom: 8px;
}
.vls-404__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--vls-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ============================================================
   24. Responsive — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .vls-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .vls-hero__media { order: -1; }
  .vls-features__grid { grid-template-columns: repeat(2, 1fr); }
  .vls-pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .vls-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .vls-single__layout { flex-direction: column; }
  .vls-single-layout,
  .vls-category-layout { grid-template-columns: 1fr; }
  .vls-sidebar { width: 100%; }
  .vls-toc { position: static; }
}

/* ============================================================
   25. Responsive — 768px
   ============================================================ */
@media (max-width: 768px) {
  .vls-nav { display: none; }
  .vls-header-actions .vls-btn { display: none; }
  .vls-header-actions .vls-langswitch { display: none; }
  .vls-burger { display: flex; }
  .vls-hero { padding: 48px 0 40px; }
  .vls-hero__stats { gap: 24px; flex-wrap: wrap; }
  .vls-features__grid { grid-template-columns: 1fr; }
  .vls-pricing__grid { grid-template-columns: 1fr; }
  .vls-insights__grid { grid-template-columns: 1fr; }
  .vls-insights__header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .vls-footer__grid { grid-template-columns: 1fr 1fr; }
  .vls-archive-grid { grid-template-columns: 1fr; }
  .vls-related__grid { grid-template-columns: 1fr; }
  .vls-legal { flex-direction: column; text-align: center; }
  .vls-single__footnav { flex-direction: column; }
  .vls-desktop-only { display: none; }
  .vls-single-layout,
  .vls-category-layout { grid-template-columns: 1fr; }
  .vls-sidebar { display: none; }
  .vls-posts-grid { grid-template-columns: 1fr; }
  .vls-footnav__prev,
  .vls-footnav__next { max-width: 100%; }
  .vls-section-head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   26. Responsive — 480px
   ============================================================ */
@media (max-width: 480px) {
  .vls-container { padding-left: 16px; padding-right: 16px; }
  .vls-hero__ctas { flex-direction: column; }
  .vls-hero__ctas .vls-btn { width: 100%; }
  .vls-hero__stats { flex-direction: column; gap: 16px; }
  .vls-footer__grid { grid-template-columns: 1fr; }
  .vls-cta-section__btns { flex-direction: column; align-items: center; }
  .vls-cta-section__actions { flex-direction: column; align-items: center; }
  .vls-search-form { flex-direction: column; }
  .vls-pricecard { padding: 28px 20px; }
  .vls-postcard__body { padding: 16px; }
}

/* QODER page banner strip */
.vls-page-banner{width:100%;margin:0 0 24px;overflow:hidden;border-radius:12px;}
.vls-page-banner img{display:block;width:100%;height:clamp(180px,30vw,360px);object-fit:cover;}
