/*
Theme Name:  InvestedSuccess
Theme URI:   https://investedsuccess.com
Description: Dark, bold financial blog theme. Personal finance, investing, FIRE, and passive income.
Version:     1.0.0
Author:      InvestedSuccess
Text Domain: investedsuccess
*/

/* ── TOKENS ── */
:root {
  --bg:        #0f1117;
  --bg2:       #13141f;
  --bg3:       #191a28;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.13);
  --text:      #f0f0f8;
  --text2:     #8888a8;
  --text3:     #50506a;
  --green:     #22c55e;
  --green2:    #16a34a;
  --green-dim: rgba(34,197,94,0.08);
  --green-mid: rgba(34,197,94,0.16);
  --red:       #ef4444;
  --font:      'Plus Jakarta Sans', system-ui, sans-serif;
  --r:         12px;
  --rl:        16px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: var(--font); cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── LAYOUT ── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 62px;
  display: flex; align-items: center;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.95rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text);
}
.nav-logo-icon { color: var(--green); font-size: 1.1rem; line-height: 1; }
.nav-logo span { color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 4px; }

/* WP nav menu overrides */
.nav-links,
.nav-links ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links li { position: relative; }
.nav-links a {
  padding: 6px 13px; border-radius: 7px;
  font-size: 0.825rem; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--text2);
  transition: color .15s, background .15s;
}
.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current-page-ancestor > a { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-links .menu-item-cta a,
.nav-links .start-here a {
  background: var(--green); color: #000; font-weight: 700;
  padding: 7px 16px; border-radius: 8px; margin-left: 6px;
}
.nav-links .menu-item-cta a:hover,
.nav-links .start-here a:hover { background: var(--green2); }

.nav-search {
  width: 34px; height: 34px; border-radius: 7px; background: transparent; border: none;
  color: var(--text2); display: flex; align-items: center; justify-content: center;
  transition: color .15s, background .15s; margin-left: 4px;
}
.nav-search:hover { color: var(--text); background: rgba(255,255,255,0.06); }

/* Hamburger (mobile) */
.nav-burger {
  display: none; width: 34px; height: 34px; border-radius: 7px;
  background: transparent; border: none; color: var(--text2);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: all .2s; }

/* Mobile nav drawer */
.nav-drawer {
  display: none; position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
  background: var(--bg2); z-index: 99; padding: 24px 24px; overflow-y: auto;
  border-top: 1px solid var(--border);
}
.nav-drawer.open { display: block; }
.nav-drawer .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; }
.nav-drawer .nav-links a { font-size: 1.1rem; padding: 10px 14px; width: 100%; }
.nav-drawer .menu-item-cta a,
.nav-drawer .start-here a { margin-left: 14px; margin-top: 8px; display: inline-block; }

/* ── TICKER ── */
.ticker {
  margin-top: 62px; background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 9px 0; overflow: hidden;
}
.ticker-scroll { display: flex; animation: tickerScroll 40s linear infinite; width: max-content; }
.ticker-scroll:hover { animation-play-state: paused; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 8px; padding: 0 28px;
  white-space: nowrap; font-size: 0.77rem; font-weight: 600;
  border-right: 1px solid var(--border);
}
.t-name  { color: var(--text3); letter-spacing: 0.06em; text-transform: uppercase; }
.t-price { color: var(--text); font-variant-numeric: tabular-nums; }
.t-chg   { font-size: 0.72rem; }
.t-chg.up { color: var(--green); }
.t-chg.dn { color: var(--red); }

/* ── HERO (homepage newsletter) ── */
.hero { padding: 80px 0 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -150px; left: -100px; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(34,197,94,0.045) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -100px; right: -50px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green);
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; background: var(--green); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.hero-h1 {
  font-size: clamp(3rem, 5vw, 4.8rem); font-weight: 800; letter-spacing: -0.05em;
  line-height: 1.03; margin-bottom: 20px; text-transform: uppercase;
}
.hero-h1 em { color: var(--green); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: var(--text2); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }

.hero-form { display: flex; gap: 10px; margin-bottom: 14px; }
.hero-input {
  flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border2);
  color: var(--text); font-family: var(--font); font-size: 1rem;
  padding: 14px 18px; border-radius: 10px; outline: none;
  transition: border-color .15s, background .15s;
}
.hero-input::placeholder { color: var(--text3); }
.hero-input:focus { border-color: var(--green); background: rgba(34,197,94,0.04); }
.hero-btn {
  background: var(--green); color: #000; font-weight: 800; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 10px; border: none; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
  transition: background .15s, transform .1s; flex-shrink: 0;
}
.hero-btn:hover { background: var(--green2); transform: translateY(-1px); }
.hero-btn svg { width: 14px; height: 14px; }
.hero-opt { font-size: 0.77rem; color: var(--text3); margin-bottom: 28px; }
.hero-opt a { color: var(--text2); text-decoration: underline; text-decoration-color: var(--border2); }

.hero-proof { display: flex; align-items: center; gap: 14px; }
.proof-avatars { display: flex; }
.proof-avatar {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg);
  margin-right: -8px; background: var(--bg3); overflow: hidden; flex-shrink: 0;
}
.proof-avatar:last-child { margin-right: 0; }
.proof-avatar svg { width: 100%; height: 100%; }
.proof-text { line-height: 1.3; }
.proof-stars { color: #fbbf24; font-size: 0.75rem; letter-spacing: 1px; margin-bottom: 2px; }
.proof-label { font-size: 0.78rem; color: var(--text2); }
.proof-label strong { color: var(--text); font-weight: 600; }

/* ── PHONE MOCKUP ── */
.phone-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative; padding: 32px 24px;
}
.phone-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(34,197,94,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.phone {
  width: 264px; height: 540px; background: #1c1c24; border-radius: 46px;
  border: 7px solid #252530;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.09), inset 0 0 0 1px rgba(255,255,255,0.04),
              0 50px 120px rgba(0,0,0,0.75), 0 20px 50px rgba(0,0,0,0.5),
              0 0 60px rgba(34,197,94,0.06);
  transform: rotate(6deg); position: relative; overflow: hidden; flex-shrink: 0;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px; background: #1c1c24;
  border-radius: 0 0 18px 18px; z-index: 10;
}
.phone-screen { position: absolute; inset: 0; background: #0a0b10; overflow: hidden; }
.ps-bar { height: 44px; display: flex; align-items: flex-end; padding: 0 16px 8px; }
.ps-time { font-size: 10px; font-weight: 700; color: #f0f0f8; }
.ps-logo-row {
  padding: 6px 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 4px;
}
.ps-logo-icon { color: var(--green); font-size: 9px; }
.ps-logo-text { font-size: 8px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #f0f0f8; }
.ps-hero-img { height: 100px; background: linear-gradient(135deg, #071b0f, #0a2010); position: relative; overflow: hidden; margin: 0; }
.ps-hero-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ps-hero-txt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 10px; }
.ps-hero-tag {
  display: inline-block; background: var(--green-dim); color: var(--green);
  font-size: 6px; font-weight: 700; padding: 2px 5px; border-radius: 3px;
  margin-bottom: 3px; letter-spacing: 0.06em; text-transform: uppercase; width: fit-content;
}
.ps-hero-h { font-size: 9px; font-weight: 800; color: #f0f0f8; line-height: 1.3; }
.ps-section-title { font-size: 8px; font-weight: 700; color: #8888a8; padding: 8px 12px 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.ps-article { display: flex; gap: 7px; padding: 5px 12px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.ps-art-thumb { width: 36px; height: 28px; border-radius: 4px; flex-shrink: 0; background: var(--bg3); }
.ps-art-body { flex: 1; }
.ps-art-tag { font-size: 5.5px; font-weight: 700; color: var(--green); margin-bottom: 2px; text-transform: uppercase; }
.ps-art-title { font-size: 7px; font-weight: 700; color: #e0e0ec; line-height: 1.3; }
.ps-nl {
  margin: 8px 10px 0; background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.15); border-radius: 7px; padding: 8px 10px;
}
.ps-nl-h { font-size: 7.5px; font-weight: 800; color: #f0f0f8; margin-bottom: 6px; }
.ps-nl-row { display: flex; gap: 4px; }
.ps-nl-input {
  flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; height: 18px; font-size: 6.5px; color: #8888a8;
  padding: 0 6px; display: flex; align-items: center;
}
.ps-nl-btn {
  background: var(--green); border-radius: 4px; height: 18px; padding: 0 7px;
  font-size: 6.5px; font-weight: 700; color: #000; display: flex; align-items: center;
}

/* ── TESTIMONIALS ── */
.testimonials { padding: 72px 0; border-top: 1px solid var(--border); }
.testi-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.testi-hl { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.testi-stars-avg { display: flex; align-items: center; gap: 6px; }
.testi-stars-avg span { font-size: 0.9rem; color: #fbbf24; letter-spacing: 2px; }
.testi-stars-avg small { font-size: 0.78rem; color: var(--text2); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 24px;
}
.testi-stars { color: #fbbf24; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 12px; }
.testi-quote { font-size: 0.92rem; color: var(--text2); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-av {
  width: 36px; height: 36px; border-radius: 50%; background: var(--bg3);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--green);
}
.testi-name  { font-size: 0.85rem; font-weight: 700; }
.testi-handle { font-size: 0.75rem; color: var(--text3); }

/* ── SECTION ── */
.section { padding: 64px 0; border-top: 1px solid var(--border); }
.section-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.section-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.see-all {
  font-size: 0.82rem; font-weight: 600; color: var(--green);
  display: flex; align-items: center; gap: 4px; transition: gap .15s;
}
.see-all:hover { gap: 8px; }

/* ── CARD BASE ── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--border2); transform: translateY(-3px); }
.card-body { padding: 18px; }
.card-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.35; margin-bottom: 7px; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--green); }
.card-excerpt {
  font-size: 0.83rem; color: var(--text2); line-height: 1.6; margin-bottom: 13px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { font-size: 0.73rem; color: var(--text3); display: flex; align-items: center; gap: 10px; }
.dot { width: 2px; height: 2px; border-radius: 50%; background: var(--text3); flex-shrink: 0; }

/* ── TAGS ── */
.tag {
  display: inline-block; background: var(--green-dim); color: var(--green);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 5px;
}
.tag.blue   { background: rgba(59,130,246,0.1);  color: #60a5fa; }
.tag.purple { background: rgba(167,139,250,0.1); color: #a78bfa; }
.tag.amber  { background: rgba(245,158,11,0.1);  color: #fbbf24; }

/* ── THUMBNAILS ── */
.thumb { overflow: hidden; background: var(--bg3); }
.thumb-gfx { width: 100%; height: 100%; }
.thumb-gfx svg { width: 100%; height: 100%; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── ARTICLE GRIDS ── */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat-main .card-title { font-size: 1.25rem; margin-bottom: 12px; }
.feat-main .card-body { padding: 22px; }
.feat-sub { display: flex; flex-direction: column; gap: 20px; }

/* ── NEWSLETTER BOX ── */
.nl-box {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.nl-h { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.nl-sub { font-size: 0.9rem; color: var(--text2); }
.nl-form { display: flex; gap: 10px; flex-shrink: 0; }
.nl-input {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border2);
  color: var(--text); font-family: var(--font); font-size: 0.95rem;
  padding: 12px 18px; border-radius: 9px; outline: none; width: 240px;
  transition: border-color .15s;
}
.nl-input::placeholder { color: var(--text3); }
.nl-input:focus { border-color: var(--green); }
.btn-g {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green); color: #000; font-weight: 700; font-size: 0.9rem;
  padding: 12px 24px; border-radius: 9px; border: none;
  transition: background .15s, transform .1s; cursor: pointer;
}
.btn-g:hover { background: var(--green2); transform: translateY(-1px); }

/* ── ARTICLES PAGE ── */
.page-hero { padding: 56px 0 44px; }
.page-hero-title { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.045em; margin-bottom: 10px; }
.page-hero-sub { font-size: 1rem; color: var(--text2); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.fil {
  padding: 6px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  background: transparent; border: 1px solid var(--border); color: var(--text2);
  transition: all .15s; text-decoration: none; display: inline-block;
}
.fil:hover,
.fil.active,
.fil.current-cat { background: var(--green-dim); border-color: rgba(34,197,94,0.3); color: var(--green); }
.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 64px; }
.list-card { display: flex; cursor: pointer; }
.list-card .thumb { width: 150px; min-height: 140px; flex-shrink: 0; }
.list-card .card-body { display: flex; flex-direction: column; justify-content: space-between; padding: 16px; }
.list-card .card-title { font-size: 0.95rem; margin-bottom: 5px; }
.list-card .card-excerpt { -webkit-line-clamp: 2; margin-bottom: 0; }
.list-card .card-meta { margin-top: 10px; }

/* ── ABOUT PAGE ── */
.about-hero { padding: 72px 0 64px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.about-photo {
  aspect-ratio: 3/4; background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { text-align: center; color: var(--text3); }
.photo-placeholder-circle {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--green-dim); border: 2px solid var(--green-mid);
  margin: 0 auto 14px;
}
.photo-placeholder p { font-size: 0.78rem; }
.about-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-dim); border: 1px solid var(--green-mid); color: var(--green);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; margin-bottom: 18px;
}
.about-h { font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; margin-bottom: 18px; }
.about-h em { color: var(--green); font-style: normal; }
.about-body p { font-size: 1rem; color: var(--text2); line-height: 1.78; }
.about-body p + p { margin-top: 14px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.stat { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px; }
.stat-n { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--green); line-height: 1; margin-bottom: 4px; }
.stat-l { font-size: 0.77rem; color: var(--text2); font-weight: 500; }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.topic-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; }
.topic-ico {
  width: 40px; height: 40px; border-radius: 9px; background: var(--green-dim);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.topic-ico svg { width: 20px; height: 20px; }
.topic-t { font-size: 0.95rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 5px; }
.topic-d { font-size: 0.8rem; color: var(--text2); line-height: 1.55; }

/* ── SINGLE POST ── */
.post-header { padding: 60px 0 48px; border-bottom: 1px solid var(--border); }
.post-header .wrap { max-width: 820px; }
.post-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.post-title {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.12; margin-bottom: 20px;
}
.post-meta { display: flex; align-items: center; gap: 16px; font-size: 0.82rem; color: var(--text3); }
.post-meta strong { color: var(--text2); }
.post-feat-img { margin: 0 0 48px; border-radius: var(--rl); overflow: hidden; max-height: 480px; }
.post-feat-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { max-width: 720px; margin: 0 auto; padding: 48px 0 72px; }
.post-body p { font-size: 1.05rem; color: var(--text2); line-height: 1.82; margin-bottom: 24px; }
.post-body h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin: 40px 0 16px; }
.post-body h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 32px 0 12px; }
.post-body ul, .post-body ol { margin: 0 0 24px 24px; }
.post-body li { font-size: 1.05rem; color: var(--text2); line-height: 1.75; margin-bottom: 8px; }
.post-body a { color: var(--green); text-decoration: underline; text-decoration-color: var(--green-mid); }
.post-body a:hover { color: var(--text); }
.post-body blockquote {
  border-left: 3px solid var(--green); padding: 14px 20px; margin: 28px 0;
  background: var(--green-dim); border-radius: 0 var(--r) var(--r) 0;
  font-style: italic; color: var(--text2);
}
.post-body img { border-radius: var(--r); margin: 28px 0; }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: auto; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-copy { font-size: 0.8rem; color: var(--text3); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 0.8rem; color: var(--text3); transition: color .15s; }
.footer-links a:hover { color: var(--text2); }

/* ── PAGINATION ── */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 32px 0 64px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--border); color: var(--text2); transition: all .15s;
}
.pagination a:hover { border-color: var(--border2); color: var(--text); background: rgba(255,255,255,0.04); }
.pagination .current { background: var(--green-dim); border-color: rgba(34,197,94,0.3); color: var(--green); }

/* ── SEARCH OVERLAY ── */
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(15,17,23,0.92); backdrop-filter: blur(12px);
  align-items: flex-start; justify-content: center; padding-top: 120px;
}
.search-overlay.active { display: flex; }
.search-box { width: 100%; max-width: 640px; padding: 0 24px; }
.search-box form { display: flex; gap: 10px; }
.search-box input[type="search"] {
  flex: 1; background: var(--bg2); border: 1px solid var(--border2);
  color: var(--text); font-family: var(--font); font-size: 1.1rem;
  padding: 16px 20px; border-radius: 12px; outline: none;
}
.search-box input[type="search"]:focus { border-color: var(--green); }
.search-box button { background: var(--green); color: #000; font-weight: 700; padding: 16px 24px; border-radius: 12px; border: none; }
.search-close { position: absolute; top: 24px; right: 28px; background: transparent; border: none; color: var(--text2); font-size: 1.5rem; cursor: pointer; }

/* ── UTILITIES ── */
.pb-64 { padding-bottom: 64px; }
body { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* ── WORDPRESS ALIGNMENTS ── */
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin: 0 auto 16px; display: block; }
.alignwide  { max-width: 100%; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-wrap { display: none; }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { aspect-ratio: auto; min-height: 280px; max-height: 320px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .nl-box { flex-direction: column; align-items: flex-start; }
  .nl-form { width: 100%; }
  .nl-input { flex: 1; width: auto; }
  .feat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-search { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-h1 { font-size: 2.8rem; }
  .art-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .topics-grid { grid-template-columns: 1fr; }
  .nl-box { padding: 28px 24px; }
  .footer-in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-form { flex-direction: column; }
  .hero-btn { justify-content: center; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero-h1 { font-size: 2.2rem; }
  .stats-row { grid-template-columns: 1fr; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-scroll { animation: none; }
  .hero-eyebrow-dot { animation: none; }
  * { transition: none !important; }
}
