/* ================================================
   FINANCE FLOW &mdash; Global Stylesheet
   Colors: #506C65 #38C698 #FAFAF7 #3B4646 #F1EDE6
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Nunito+Sans:wght@300;400;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

script {
  display: none;
}

:root {
  --forest: #0A291A;
  --mint: #38C698;
  --snow: #FAFAF7;
  --charcoal: #3B4646;
  --cream: #F1EDE6;
  --forest-lt: rgba(10, 41, 26, 0.1);
  --mint-lt: rgba(56, 198, 152, 0.1);
  --mint-md: rgba(56, 198, 152, 0.28);
  --border: #ddd8d0;
  --border2: #c5bfb6;
  --muted: #6e8882;
  --muted2: #9aada9;
  --red: #d95f6e;
  --amber: #c8861a;
  --blue: #2a7fc0;
  --fh: 'Montserrat', sans-serif;
  --fd: 'Montserrat', sans-serif;
  --fb: 'Nunito Sans', sans-serif;
  --rad: 10px;
  --rad-lg: 14px;
  --trans: 0.18s ease;
}

body {
  background: var(--cream);
  font-family: var(--fb);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

html,
body {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

em {
  font-style: italic;
  color: var(--mint);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar-track {
  display: none;
}

::-webkit-scrollbar-thumb {
  display: none;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
  /* Firefox */
}

body {
  margin: 0;
  padding: 0;
  scrollbar-width: none;
  /* Firefox */
}

/* ════════════════════════════
   TYPOGRAPHY
════════════════════════════ */
h1,
h2,
h3 {
  font-family: var(--fd);
  line-height: 1.12;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

h3 {
  font-size: 1rem;
  font-family: var(--fh);
  font-weight: 700;
}

.slbl {
  font-family: var(--fh);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint);
  display: block;
  margin-bottom: 6px;
}

/* ════════════════════════════
   BUTTONS
════════════════════════════ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--mint);
  color: var(--forest);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 18px 24px;
  border-radius: 8px;
  position: relative;
  top: 0px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0px 0px 0px -60px;
  overflow-x: hidden;
}

.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mint);
  color: var(--snow);
  font-family: var(--fh);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: var(--rad);
  border: none;
  cursor: pointer;
  transition: all var(--trans);
  letter-spacing: .01em;
}

.btn-fill:hover {
  background: #2eab82;
  transform: translateY(-1px);
}

.btn-out {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--charcoal);
  font-family: var(--fh);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--border2);
  padding: 13px 24px;
  border-radius: var(--rad);
  background: var(--snow);
  cursor: pointer;
  transition: all var(--trans);
}

.btn-out:hover {
  border-color: var(--mint);
  color: var(--forest);
}

.btn-ghost {
  font-family: var(--fh);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--forest);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--trans);
}

.btn-ghost:hover {
  color: var(--mint);
}

/* ════════════════════════════
   TAGS
════════════════════════════ */
.tag {
  font-family: var(--fh);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  letter-spacing: .04em;
}

.tg {
  background: var(--mint-lt);
  color: #1a7a54;
}

.tf {
  background: var(--forest-lt);
  color: var(--forest);
}

.tt {
  background: rgba(42, 127, 192, .1);
  color: var(--blue);
}

.tr {
  background: rgba(217, 95, 110, .1);
  color: var(--red);
}

.ty {
  background: rgba(200, 134, 26, .1);
  color: var(--amber);
}

/* ════════════════════════════
   NAVBAR
════════════════════════════ */
.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 80px;
  height: 72px;
  background: var(--forest);
  border-bottom: 1px solid rgba(250, 250, 247, .1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--snow);
  letter-spacing: -.02em;
  flex-shrink: 0;
  margin-right: 16px;
}

.nav-logo span {
  color: var(--mint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--fh);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: .01em;
  color: rgba(250, 250, 247, .6);
  margin-left: auto;
}

.nav-links a {
  color: var(--snow);
  transition: color var(--trans);
}

.nav-links a:hover {
  color: var(--mint);
}

.nav-links a.active {
  color: var(--mint);
  font-weight: 700;
}

.nav-cta {
  font-family: var(--fh);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--mint);
  color: var(--snow);
  padding: 10px 20px;
  border-radius: var(--rad);
  border: none;
  margin-left: 20px;
  cursor: pointer;
  transition: background var(--trans);
  letter-spacing: .01em;
}

.nav-cta:hover {
  background: #2eab82;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--snow);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ════════════════════════════
   HERO — HOME
════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  background: var(--snow);
  flex: 1;
}

.hero-main {
  background: var(--snow);
  padding: 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow-x: hidden;
}

.earnings.html .hero-main {
  background: #F6F7F3;
  overflow-x: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fh);
  font-size: calc(1.2rem + 5px);
  font-weight: 700;
  color: #1a7a54;
  background: var(--mint-lt);
  border-top: 1px solid var(--mint);
  border-bottom: 1px solid var(--mint);
  padding: 25px calc(50vw - 50% + 12px) 25px 12px;
  border-radius: 0;
  margin: -1px calc(-50vw + 50%) 70px calc(-50vw + 50%);
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 1px 4px rgba(56, 198, 152, 0.15);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  width: 100vw;
  box-sizing: border-box;
}

/* Large desktop and laptop view adjustments */
@media (min-width: 1200px) {
  .hero-badge {
    position: relative;
    top: -40px;
  }
}

/* Tablet view adjustments */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero-badge {
    position: relative;
    top: -40px;
  }

  .invest.html .hero-badge {
    font-size: 1.25rem !important;
    padding: 18px 24px !important;
    font-weight: 700 !important;
  }

  /* Invest page overflow protection for tablets */
  .invest.html .fund-section,
  .invest.html .fund-stats,
  .invest.html .terms-grid,
  .invest.html .performance-grid {
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .invest.html .fund-content,
  .invest.html .fund-mission,
  .invest.html .fund-terms {
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Medium tablets (820px - 1024px) - Centered */
@media (min-width: 820px) and (max-width: 1024px) {
  .hero-image-container {
    transform: translateX(0) !important;
  }

  /* Invest page overflow protection for medium tablets */
  .invest.html .fund-section,
  .invest.html .fund-stats,
  .invest.html .terms-grid,
  .invest.html .performance-grid {
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .invest.html .fund-content,
  .invest.html .fund-mission,
  .invest.html .fund-terms {
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Devices 820px - 854px - Banner Up */
@media (min-width: 820px) and (max-width: 854px) {
  .hero-badge {
    position: relative;
    top: -98px !important;
  }
}

/* iPad mini (758px x 1024px) - Centered */
@media (min-width: 758px) and (max-width: 1024px) {
  .hero-image-container {
    transform: translateX(0) !important;
  }
}

/* iPad mini 768px - Centered */
@media (min-width: 768px) and (max-width: 768px) {
  .hero-image-container {
    transform: translateX(0) !important;
  }
}

/* Mobile view adjustments */
@media (max-width: 767px) {
  .hero-badge {
    position: relative;
    top: -54px;
    font-size: calc(0.9rem);
    padding: 18px calc(50vw - 50% + 20px) 18px 20px;
    margin: 0px calc(-50vw + 50%) 35px calc(-50vw + 50%);
  }

  .invest.html .hero-badge {
    font-size: calc(0.9rem) !important;
    padding: 18px calc(50vw - 50% + 20px) 18px 20px !important;
    font-weight: 700 !important;
  }

  .invest.html .hero-main {
    padding: 32px 20px !important;
  }

  .hero-main {
    overflow-x: hidden;
  }

  .hero-image-container {
    transform: translateX(0);
  }

  /* Mobile announcement banner sizing to match home page */
  .announcement-banner .banner-text {
    font-size: calc(0.85rem) !important;
    font-weight: 700 !important;
    padding: 12px calc(50vw - 50% + 20px) 12px 20px !important;
  }

  /* Reduce space between invest buttons on mobile */
  .invest-actions {
    gap: 6px !important;
    margin-top: 20px !important;
  }

  /* Reduce space between fund points on mobile */
  .fund-points {
    gap: 20px !important;
  }

  /* Make fund stats numbers bigger on mobile */
  .fund-value {
    font-size: 1.93rem !important;
  }

  /* Make fund stats labels slightly larger on mobile */
  .fund-label {
    font-size: 0.745rem !important;
  }

  /* Move all content down on invest page mobile */
  .invest.html .page-hero {
    padding-top: 60px !important;
  }

  .invest.html .fund-section {
    margin-top: 8px !important;
  }
}

.hero-badge .announcement-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 6px 12px;
  font-family: var(--fh);
  font-size: calc(1rem + 5px);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  left: 100%;
  -webkit-animation: continuousScroll 30s linear infinite;
  -moz-animation: continuousScroll 30s linear infinite;
  -o-animation: continuousScroll 30s linear infinite;
  animation: continuousScroll 30s linear infinite;
}

.hero-badge .announcement-duplicate {
  -webkit-animation: continuousScroll 30s linear infinite 15s;
  -moz-animation: continuousScroll 30s linear infinite 15s;
  -o-animation: continuousScroll 30s linear infinite 15s;
  animation: continuousScroll 30s linear infinite 15s;
}


.hero-badge .announcement-bold {
  font-weight: 900;
  color: #1a7a54;
}

.hero-badge .announcement-regular {
  font-weight: 500;
  color: #1a7a54;
}

.hero-badge .announcement-regular a {
  text-decoration: underline;
  font-weight: 700;
  color: #1a7a54;
}

.hero-badge .announcement-regular a:hover {
  color: var(--mint);
}

.hero-badge .dot {
  visibility: hidden;
}

@-webkit-keyframes moveBanner {
  0%, 100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  25% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }
  75% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }
}

@-moz-keyframes moveBanner {
  0%, 100% {
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
  25% {
    -moz-transform: translateX(10px);
    transform: translateX(10px);
  }
  75% {
    -moz-transform: translateX(-10px);
    transform: translateX(-10px);
  }
}

@-o-keyframes moveBanner {
  0%, 100% {
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  25% {
    -o-transform: translateX(10px);
    transform: translateX(10px);
  }
  75% {
    -o-transform: translateX(-10px);
    transform: translateX(-10px);
  }
}

@keyframes moveBanner {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(10px);
  }
  75% {
    transform: translateX(-10px);
  }
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.hero-h1 {
  margin-bottom: 22px;
  font-weight: 750;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.hero-image-container {
  width: 110vw;
  height: 750px;
  overflow: hidden;
  margin: -72px -60px 40px -60px;
  transform: translateX(-60px);
}

/* Homepage specific smaller image height */
.homepage .hero-image-container {
  height: 640px;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

/* Mobile image adjustments */
@media (max-width: 768px) {
  .hero-image-container {
    height: 420px;
    margin: -56px -60px 32px -60px;
    width: 110vw;
    transform: translateX(41px);
  }

  /* Homepage specific smaller mobile height */
  .homepage .hero-image-container {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .hero-image-container {
    height: 320px;
    margin: -32px -60px 24px -60px;
    width: 110vw;
    transform: translateX(41px);
  }
  
  /* Homepage specific smaller mobile height */
  .homepage .hero-image-container {
    height: 323px;
  }
}
  
  .hero-bg-image {
    object-position: center 14%;
  }
}

@media (max-width: 400px) {
  .hero-image-container {
    height: 250px;
    margin: -28px -60px 20px -60px;
    width: 110vw;
    transform: translateX(-60px);
  }

  /* Homepage specific smaller mobile height */
  .homepage .hero-image-container {
    height: 273px;
  }

  .invest.html .hero-main {
    padding: 24px 16px !important;
  }

  .terms-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .fund-terms {
    background: var(--snow);
    padding: 32px 16px;
    border-radius: 12px;
    margin: 0 0 32px 0;
    border: 1px solid var(--border);
  }

  .fund-terms h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    text-align: center;
  }
}

/* iPhone 12 Pro specific (390px) */
@media (max-width: 390px) {
  .terms-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 16px !important;
    display: grid !important;
  }

  .fund-terms {
    background: var(--snow) !important;
    padding: 32px 16px !important;
    border-radius: 12px !important;
    margin: 0 0 32px 0 !important;
    border: 1px solid var(--border) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .fund-terms h3 {
    font-size: 1.4rem !important;
    margin-bottom: 24px !important;
    text-align: center !important;
  }

  .term-item {
    padding: 12px !important;
    background: var(--snow) !important;
    border-radius: 8px !important;
    border: 1px solid var(--border) !important;
  }
}

.hero-h1 span {
  color: var(--mint);
}

.hero-badge a {
  text-decoration: underline;
  font-weight: calc(700 + 4px);
  color: #1a7a54;
}

.hero-badge a:hover {
  color: var(--mint);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-content {
  margin-top: auto;
}

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1.5px solid var(--border);
  padding-top: 24px;
}

.hstat {
  flex: 1;
  padding-right: 20px;
}

.hstat+.hstat {
  padding-left: 20px;
  border-left: 1.5px solid var(--border);
}

.hstat-v {
  display: block;
  font-family: var(--fh);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1;
}

.hstat-l {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}

.aside-lbl {
  font-family: var(--fh);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted2);
}

.mini-card {
  background: var(--snow);
  border: 1.5px solid var(--border);
  border-radius: var(--rad);
  padding: 14px;
}

.mc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mc-ticker {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.mc-price {
  font-family: var(--fh);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-top: 4px;
}

.tick-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--fh);
  font-size: 0.78rem;
}

.tick-row:last-child {
  border-bottom: none;
}

.tick-name {
  color: var(--muted);
  font-weight: 600;
}

/* ── MARQUEE ── */
.mq {
  overflow: hidden;
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  padding: 9px 0;
  background: var(--forest);
}

.mq-track {
  display: flex;
  gap: 20px;
  animation: mq 26s linear infinite;
  width: max-content;
  font-family: var(--fh);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(250, 250, 247, .5);
}

.mq-track .up {
  color: var(--mint);
}

.mq-track .dn {
  color: #f0919b;
}

.mq-sep {
  color: rgba(250, 250, 247, .2);
}

@keyframes mq {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── WHAT WE DO ── */
.wwd {
  padding: 52px 80px;
  background: var(--snow);
  border-bottom: 1.5px solid var(--border);
}

.wwd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--rad-lg);
  overflow: hidden;
}

.wwd-cell {
  background: var(--snow);
  padding: 28px 24px;
  cursor: pointer;
  transition: background var(--trans);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.wwd-cell:hover {
  background: var(--cream);
}

.wwd-num {
  font-family: var(--fh);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: .1em;
}

.wwd-icon {
  font-size: 1.5rem;
  color: var(--mint);
}

.wwd-cell h3 {
  font-family: var(--fh);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.wwd-cell p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  flex: 1;
}

.wwd-link {
  font-family: var(--fh);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--forest);
}

/* ── HOME PICKS ── */
.home-picks {
  padding: 52px 80px;
}

.hp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.hp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pc {
  background: var(--snow);
  border: 1.5px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 18px;
  transition: all var(--trans);
}

.pc:hover {
  border-color: var(--mint-md);
  box-shadow: 0 4px 16px rgba(56, 198, 152, .1);
}

.pc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.pc-tick {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 1rem;
  color: var(--charcoal);
}

.pc-name {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.pc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 3px;
}

.pc-lbl {
  color: var(--muted);
}

.pc-val {
  font-family: var(--fh);
  font-weight: 700;
  color: var(--charcoal);
}

.pc-val.green {
  color: #1a7a54;
}

.pbar {
  height: 3px;
  background: var(--cream);
  border-radius: 2px;
  margin: 10px 0 4px;
  overflow: hidden;
}

.pfill {
  height: 100%;
  background: linear-gradient(90deg, var(--mint), #5dd9b0);
  border-radius: 2px;
}

.pconf {
  font-size: 0.65rem;
  color: var(--muted2);
  font-family: var(--fh);
}

/* ════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════ */
.page-hero {
  background: var(--snow);
  border-bottom: 1.5px solid var(--border);
  padding: 48px 80px 36px;
}

.page-hero h1 {
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 520px;
}

/* ════════════════════════════
   GLOBAL RESET
════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ════════════════════════════
   INVEST PAGE
════════════════════════════ */
.strat-section {
  padding: 40px 32px 52px;
}

.strat-intro {
  max-width: 560px;
  margin-bottom: 28px;
}

.strat-intro p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.72;
  font-weight: 300;
}

.strat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sc {
  background: var(--snow);
  border: 1.5px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--trans);
}

.sc:hover {
  border-color: var(--mint-md);
  box-shadow: 0 4px 18px rgba(56, 198, 152, .09);
}

.sc-feat {
  border-color: var(--mint);
  background: linear-gradient(145deg, rgba(56, 198, 152, .06), var(--snow));
}

.sc-icon {
  font-size: 1.3rem;
  color: var(--forest);
}

.sc h3 {
  color: var(--charcoal);
}

.sc p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  flex: 1;
}

.sc-list {
  display: flex;
  flex-direction: column;
}

.sc-li {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.sc-li:last-child {
  border-bottom: none;
}

.sc-li::before {
  content: '→';
  color: var(--mint);
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.sc-met {
  display: flex;
  gap: 16px;
  padding-top: 10px;
  border-top: 1.5px solid var(--border);
  margin-top: auto;
}

.sc-mv {
  display: block;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--forest);
}

.sc-ml {
  font-size: 0.6rem;
  color: var(--muted2);
}

.risk-strip {
  background: var(--forest);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.rs-text h2 {
  font-family: var(--fd);
  font-size: 1.5rem;
  color: var(--snow);
  margin-bottom: 8px;
}

.rs-text p {
  font-size: 0.82rem;
  color: rgba(250, 250, 247, .5);
  font-weight: 300;
  line-height: 1.7;
  max-width: 380px;
}

.rs-scale {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.rs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 90px;
}

.rs-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.rs-label {
  font-family: var(--fh);
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(250, 250, 247, .45);
  text-align: center;
}

.rs-line {
  flex: 1;
  height: 1px;
  background: rgba(250, 250, 247, .14);
  max-width: 40px;
}

/* ════════════════════════════
   STOCKS PAGE
════════════════════════════ */
.featured-pick {
  background: var(--snow);
  border-bottom: 1.5px solid var(--border);
  padding: 28px 80px;
}

.fp-eyebrow {
  font-family: var(--fh);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--mint);
  margin-bottom: 14px;
}

.fp-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}

.fp-ticker {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--charcoal);
}

.fp-name {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.fp-meta {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

.fp-tags {
  display: flex;
  gap: 6px;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}

.fp-thesis {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.78;
  margin-bottom: 16px;
}

.fp-levels {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--rad);
  overflow: hidden;
}

.fp-lvl {
  flex: 1;
  padding: 10px 14px;
  border-right: 1.5px solid var(--border);
}

.fp-lvl:last-child {
  border-right: none;
}

.fp-lvl span {
  display: block;
  font-size: 0.6rem;
  color: var(--muted);
  font-family: var(--fh);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 3px;
}

.fp-lvl strong {
  font-family: var(--fh);
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 700;
}

.fp-lvl strong.green {
  color: #1a7a54;
}

.fp-chart-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--rad);
  padding: 14px;
  margin-bottom: 10px;
  position: relative;
}

.fp-chart-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--fh);
  font-size: 0.65rem;
  font-weight: 700;
  color: #1a7a54;
  background: var(--mint-lt);
  padding: 3px 8px;
  border-radius: 4px;
}

.fp-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fp-stat {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--rad);
  padding: 9px 11px;
}

.fp-stat span {
  display: block;
  font-size: 0.6rem;
  color: var(--muted);
  font-family: var(--fh);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.fp-stat strong {
  font-family: var(--fh);
  font-size: 0.88rem;
  color: var(--charcoal);
  font-weight: 700;
}

.filter-bar {
  padding: 12px 80px;
  background: var(--cream);
  border-bottom: 1.5px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-lbl {
  font-family: var(--fh);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted2);
  margin-right: 4px;
}

.fb {
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--snow);
  background: var(--snow);
  border: 1.5px solid var(--border);
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--trans);
}

.fb:hover {
  color: var(--mint);
  border-color: var(--border2);
}

.fb.active {
  color: var(--mint);
  border-color: var(--mint);
  background: var(--mint-lt);
}

.table-wrap {
  padding: 20px 80px 52px;
}

.table-title {
  font-family: var(--fh);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted2);
  margin-bottom: 10px;
}

table.pt {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

table.pt th {
  font-family: var(--fh);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted2);
  padding: 8px 12px;
  text-align: left;
  background: var(--cream);
  border-bottom: 1.5px solid var(--border);
}

table.pt td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
}

table.pt tr:last-child td {
  border-bottom: none;
}

table.pt tr:hover td {
  background: rgba(241, 237, 230, .5);
}

.pt-tk {
  font-family: var(--fh);
  font-weight: 800;
}

.pt-co {
  color: var(--muted);
}

.up-val {
  color: #1a7a54;
  font-family: var(--fh);
  font-weight: 700;
}

.cbar {
  height: 4px;
  background: var(--cream);
  border-radius: 2px;
  overflow: hidden;
  min-width: 64px;
}

.cbar div {
  height: 100%;
  background: linear-gradient(90deg, var(--mint), #5dd9b0);
  border-radius: 2px;
}

/* ════════════════════════════
   EARNINGS PAGE
════════════════════════════ */
.upcoming-bar {
  background: var(--forest);
  padding: 10px 80px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
}

.earnings-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.hero-content p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 20px;
  font-family: var(--fb);
}


.earnings-signature {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest);
  margin-top: 30px;
  font-family: var(--fh);
}

.ea-link {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.3s ease;
}

.ea-link:hover {
  color: var(--mint);
  text-decoration: underline;
}

.content-section {
  padding: 60px 0;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* Earnings page specific styling */
main.site-main section.hero div.hero-main h1.hero-h1 {
  color: var(--mint) !important;
}

/* Enhanced hero section with background */
.earnings.html .hero {
  background: #F6F7F3;
  position: relative;
}

.earnings.html .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(56, 198, 152, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.ea-review-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 80px 40px 80px;
  text-align: left;
}

.review-section {
  margin-bottom: 50px;
}

.review-section h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 25px;
  font-family: var(--fh);
  border-bottom: 3px solid var(--mint);
  padding-bottom: 10px;
}

.review-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 15px;
  font-family: var(--fh);
}

.review-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 20px;
  font-family: var(--fb);
}

.review-date {
  font-size: 2rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px;
  font-family: var(--fb);
}

.swot-section {
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 4px solid var(--mint-lt);
}

.financial-metrics {
  background: var(--cream);
  border-radius: var(--rad);
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--border);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 15px;
}

.metric-item:last-child {
  border-bottom: none;
}

.metric-label {
  font-weight: 600;
  color: var(--charcoal);
  font-family: var(--fd);
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
}

.metric-value {
  font-weight: 700;
  color: var(--forest);
  font-family: var(--fh);
  font-size: 0.95rem;
  min-width: 120px;
  text-align: right;
}

.metric-change {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--fb);
  min-width: 100px;
  text-align: right;
}

.ub-lbl {
  font-family: var(--fh);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--snow);
  white-space: nowrap;
  flex-shrink: 0;
}

.ub-items {
  display: flex;
  gap: 10px;
  font-family: var(--fh);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(250, 250, 247, .45);
  white-space: nowrap;
}

.ub-items span {
  color: rgba(250, 250, 247, .75);
}

.ub-sep {
  color: rgba(250, 250, 247, .2);
}

.feat-review {
  background: var(--snow);
  border-bottom: 1.5px solid var(--border);
  padding: 28px 80px;
}

.fr-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.fr-badge {
  font-family: var(--fh);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--mint);
}

.fr-date {
  font-size: 0.72rem;
  color: var(--muted2);
}

.fr-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
  align-items: start;
}

.fr-tkr-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.fr-ticker {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--charcoal);
}

.fr-company {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--charcoal);
}

.fr-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.fr-verdict {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.fv-lbl {
  font-family: var(--fh);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted2);
}

.fv-val {
  font-family: var(--fh);
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a7a54;
}

.fr-headline {
  font-family: var(--fd);
  font-size: 1.15rem;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 10px;
}

.fr-txt {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.78;
  margin-bottom: 8px;
}

.fr-tags {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.nums-lbl {
  font-family: var(--fh);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted2);
  margin-bottom: 10px;
}

.num-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.num-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--rad);
  padding: 10px 12px;
}

.num-card.beat {
  border-color: var(--mint-md);
}

.nc-lbl {
  font-size: 0.6rem;
  color: var(--muted2);
  font-family: var(--fh);
  text-transform: uppercase;
  letter-spacing: .07em;
  display: block;
  margin-bottom: 3px;
}

.nc-val {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--charcoal);
  display: block;
}

.nc-vs {
  font-size: 0.6rem;
  color: var(--muted2);
  display: block;
  margin-top: 1px;
}

.nc-badge {
  font-family: var(--fh);
  font-size: 0.6rem;
  font-weight: 700;
  color: #1a7a54;
  display: block;
  margin-top: 2px;
}

.reviews-section {
  padding: 28px 80px 52px;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rc {
  background: var(--snow);
  border: 1.5px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: all var(--trans);
}

.rc:hover {
  border-color: var(--mint-md);
  box-shadow: 0 4px 14px rgba(56, 198, 152, .08);
}

.rc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rc-tick {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 1rem;
  color: var(--charcoal);
}

.rc-name {
  font-size: 0.68rem;
  color: var(--muted2);
  font-family: var(--fh);
}

.rc-hl {
  font-size: 0.8rem;
  color: var(--charcoal);
  line-height: 1.5;
  flex: 1;
}

.rc-nums {
  display: flex;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.rc-nums div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rc-nums .nlbl {
  font-size: 0.58rem;
  color: var(--muted2);
  font-family: var(--fh);
  text-transform: uppercase;
}

.rc-nums .nval {
  font-family: var(--fh);
  font-size: 0.78rem;
  color: var(--charcoal);
  font-weight: 600;
}

.rc-v {
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 700;
}

.vbull {
  color: #1a7a54;
}

.vbear {
  color: var(--red);
}

.vneu {
  color: var(--blue);
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
.footer {
  background: var(--forest);
  padding: 40px 80px 20px;
}

.ft-top {
  display: flex;
  gap: 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(250, 250, 247, .1);
  margin-bottom: 14px;
}

.ft-brand .nav-logo {
  color: var(--snow);
}

.ft-brand p {
  font-size: 0.75rem;
  color: var(--snow);
  font-weight: 300;
  margin-top: 6px;
  max-width: 300px;
  line-height: 1.65;
}

.ft-links {
  margin-left: auto;
  display: flex;
  gap: 32px;
}

.ft-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ft-col h4 {
  font-family: var(--fh);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--snow);
  margin-bottom: 4px;
}

.ft-col a {
  font-size: 0.75rem;
  color: var(--snow);
  font-weight: 300;
  text-decoration: none;
  transition: color var(--trans);
}

.ft-col a:hover {
  color: var(--mint);
}

.ft-bot {
  display: flex;
  justify-content: center;
  font-size: 0.68rem;
  color: rgba(250, 250, 247, 0.75);
}

/* ================================================
   FUND PAGE STYLES
   ================================================ */

.fund-section {
  padding: 60px 80px;
  margin: 0 auto;
}

.fund-intro {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 40px;
}

.fund-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--charcoal);
}

.fund-intro h2 span {
  color: var(--mint);
}

.fund-intro p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}

.fund-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  text-align: center;
}

.fund-stat {
  text-align: center;
  padding: 30px;
  background: var(--snow);
  border-radius: var(--rad-lg);
  border: 1px solid var(--border);
}

.fund-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 10px;
}

.fund-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fund-content {
  max-width: 900px;
  margin: 0 auto;
}

.fund-block {
  margin-bottom: 60px;
}

.fund-block h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--charcoal);
}

.fund-block h3 span {
  color: var(--mint);
}

.fund-points {
  display: grid;
  gap: 30px;
}

.fund-point h4 {
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 15px;
}

.fund-point p {
  color: var(--muted);
  line-height: 1.7;
}

.fund-terms {
  background: var(--snow);
  padding: 40px 80px;
  border-radius: var(--rad-lg);
  border: 1px solid var(--border);
  margin: 0 -80px 60px -80px;
}

.fund-terms h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--charcoal);
}

.fund-terms h3 span {
  color: var(--mint);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.term-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.term-item:last-child {
  border-bottom: none;
}

.term-label {
  font-weight: 600;
  color: var(--charcoal);
}

.term-value {
  color: var(--muted);
  text-align: right;
}

.fund-performance {
  background: var(--forest-lt);
  padding: 40px 80px;
  border-radius: var(--rad-lg);
  margin: 0 -80px 60px -80px;
}

.fund-performance h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--charcoal);
}

.fund-performance h3 span {
  color: var(--mint);
}

.performance-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.perf-item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 15px 0;
  gap: 20px;
}

.perf-label {
  font-weight: 600;
  color: var(--charcoal);
}

.perf-value {
  color: var(--forest);
  font-weight: 700;
  text-align: right;
}

.fund-cta {
  text-align: center;
  padding: 60px 0;
}

.fund-cta h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--charcoal);
}

.fund-title {
  color: var(--mint) !important;
}

.fund-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.6;
}

.fund-subtitle strong {
  font-weight: 900;
}

.fund-mission {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
  margin: 40px 0 60px 0;
  line-height: 1.6;
}

.fund-cta p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.fund-note {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.6;
  text-align: center;
}

.announcement-banner {
  width: 100%;
  background-color: var(--mint-lt);
  border-top: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.banner-content {
  display: flex;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
}

.banner-text {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--forest);
  padding: 15px 25px;
  display: inline-block;
  white-space: nowrap;
}

.fund-subtitle strong {
  color: var(--charcoal);
}

.fund-subtitle {
  font-size: 1.25rem;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Additional continuous scroll animation for homepage */
@keyframes continuousScroll {
  0% {
    transform: translateX(0) translateY(-50%);
  }
  100% {
    transform: translateX(-200%) translateY(-50%);
  }
}

.fund-note a {
  color: var(--mint);
  text-decoration: underline;
}

.invest-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.invest-actions a {
  font-size: 0.9rem;
  padding: 12px 24px;
}

/* ================================================
   RESPONSIVE - Mobile First Design
   ================================================ */

/* Large desktops and 16-inch MacBook Pro */
@media (max-width: 1440px) {
  .hero-main {
    padding: 48px 40px;
  }

  }

/* Desktops and large tablets */
@media (max-width: 1200px) {
  .hero-main {
    padding: 44px 36px;
  }

  .hero-sub {
    font-size: 0.88rem;
  }
}

/* Tablets and small desktops */
@media (max-width: 1024px) {
  .hero-main {
    padding: 40px 32px;
  }

  }

/* Large tablets and small laptops */
@media (max-width: 768px) {
  .navbar {
    padding: 0 24px;
  }

  /* Tablet navigation adjustments */
  .nav-links {
    gap: 16px;
    font-size: 0.4rem;
  }

  /* Tablet hero adjustments */
  .hero-main {
    padding: 40px 32px;
  }

  .hero-h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }

  .hero-sub {
    font-size: 0.95rem;
    max-width: 90%;
  }

  /* Tablet grid adjustments */
  .wwd-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  .hp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .strat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .fund-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Tablet table adjustments */
  table.pt {
    font-size: 0.75rem;
  }

  table.pt th,
  table.pt td {
    padding: 8px 10px;
  }

  /* Tablet cards */
  .pc {
    padding: 16px;
  }

  .sc {
    padding: 20px;
  }

  /* Tablet featured pick */
  .fp-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fp-chart-card {
    max-width: 100%;
  }
}

/* Mobile phones */
@media (max-width: 600px) {
  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  * {
    box-sizing: border-box;
  }

  .navbar {
    padding: 0 8px;
    height: 40px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: var(--forest);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 1.045rem;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-logo {
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-main {
    padding: 32px 20px;
    text-align: left;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-badge {
    font-size: calc(0.9rem);
    padding: 18px calc(50vw - 50% + 20px) 18px 20px;
    margin: 0px calc(-50vw + 50%) 35px calc(-50vw + 50%);
    letter-spacing: 0.02em;
    gap: 4px;
    line-height: 1.2;
    white-space: normal;
    min-height: auto;
    width: 100vw;
    max-width: none;
    box-sizing: border-box;
  }

  .announcement-line1 {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: var(--forest);
  }

  .announcement-line2 {
    display: block;
    margin-top: -2px;
    font-weight: 500;
    color: var(--charcoal);
  }

  .announcement-line2 a {
    color: var(--mint);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--mint);
    text-underline-offset: 2px;
  }

  .announcement-line2 a:hover {
    color: var(--forest);
    text-decoration-color: var(--forest);
  }

  .hero-h1 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-sub {
    font-size: 0.8rem;
    max-width: 100%;
    margin-bottom: 24px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
  }

  .btn-fill,
  .btn-out {
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
    font-size: 0.8rem;
    border-radius: var(--rad);
    margin: 8px 0;
  }

  .btn-fill, .btn-out {
    justify-content: center;
  }

  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  
  .footer {
    padding: 24px 16px 12px;
  }

  .ft-top {
    flex-direction: column;
    gap: 24px;
  }

  .ft-links {
    margin-left: 0;
  }

  .ft-bot {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Large mobile phones (iPhone 14 Pro Max, etc.) */
@media (max-width: 450px) and (min-width: 401px) {
  .hero-sub {
    font-size: 1.05rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 20px;
  }

  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}

/* Small mobile phones */
@media (max-width: 400px) {
  /* Prevent overflow */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .navbar {
    padding: 0 12px;
  }

  .hero-main {
    padding: 24px 16px;
  }

  .hero-h1 {
    font-size: 1.5rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 1.05rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 20px;
  }

  .btn-fill,
  .btn-out {
    padding: 10px 18px;
    font-size: 0.8rem;
    width: 100%;
    max-width: 260px;
    margin: 6px 0;
  }

  /* Smaller announcement for small mobile */
  .hero-badge {
    font-size: calc(0.9rem);
    padding: 18px calc(50vw - 50% + 20px) 18px 20px;
    margin: 0px calc(-50vw + 50%) 35px calc(-50vw + 50%);
    letter-spacing: 0.01em;
    gap: 3px;
    line-height: 1.1;
    white-space: normal;
    min-height: auto;
    width: 100vw;
    max-width: none;
    box-sizing: border-box;
  }

  .announcement-line1 {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: var(--forest);
  }

  .announcement-line2 {
    display: block;
    width: 100%;
    margin-top: 2px;
    font-weight: 500;
    color: var(--charcoal);
  }

  .announcement-line2 a {
    color: var(--mint);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--mint);
    text-underline-offset: 2px;
  }

  .announcement-line2 a:hover {
    color: var(--forest);
    text-decoration-color: var(--forest);
  }

  /* Smaller text for fund sections */
  .fund-value {
    font-size: 0.8rem;
  }

  .fund-label {
    font-size: 0.5rem;
  }

  .fund-subtitle {
    font-size: 0.6rem;
  }

  .fund-title {
    font-size: 1.1rem;
  }

  /* Better spacing for fund sections */
  .fund-stat {
    padding: 12px;
    margin-bottom: 8px;
  }

  .term-item,
  .perf-item {
    padding: 12px;
    margin-bottom: 8px;
    background: var(--snow);
    border-radius: var(--rad);
    border: 1px solid var(--border);
  }

  /* Fund sections spacing */
  .fund-section {
    margin: 0 auto 32px auto;
    max-width: 100%;
    overflow: hidden;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .fund-content,
  .fund-mission {
    margin-bottom: 24px;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .fund-cta {
    margin-top: 32px;
    padding: 24px 20px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Ensure all fund elements stay within bounds */
  .fund-stats,
  .terms-grid,
  .performance-grid {
    width: 100%;
    max-width: 100%;
  }

  .fund-stat,
  .term-item,
  .perf-item {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Fund sections responsive */
  .fund-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: calc(100% - 40px);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto 24px auto;
    width: 100%;
  }

  .fund-stat {
    padding: 12px;
    min-width: 0;
    background: var(--snow);
    border-radius: var(--rad);
    border: 1px solid var(--border);
    box-sizing: border-box;
  }

  .fund-value {
    font-size: 0.9rem;
    word-wrap: break-word;
  }

  .fund-label {
    font-size: 0.55rem;
    word-wrap: break-word;
  }

  /* Fund subtitle text fix */
  .fund-subtitle {
    font-size: 0.7rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 16px;
  }

  /* Fund title text fix */
  .fund-title {
    font-size: 1.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  /* Fund content text */
  .fund-content p,
  .fund-mission p {
    font-size: 0.75rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 16px;
  }

  .terms-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 20px;
  }

  .fund-terms {
    background: var(--snow);
    padding: 32px 20px;
    border-radius: 12px;
    margin: 0 0 32px 0;
    border: 1px solid var(--border);
  }

  .fund-terms h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    text-align: center;
  }

  .term-item {
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .performance-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .perf-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* Tables responsive */
  .table-wrap {
    padding: 16px;
    overflow-x: auto;
    max-width: 100%;
  }

  table.pt {
    font-size: 0.7rem;
    min-width: 600px;
    width: 100%;
  }

  table.pt th,
  table.pt td {
    padding: 6px 8px;
    white-space: nowrap;
  }

  table.pt th:nth-child(n+3),
  table.pt td:nth-child(n+3) {
    display: none;
  }

  /* Container fixes */
  .container,
  .content,
  .section,
  .site-main,
  .hero,
  .fund-section,
  .page-hero {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  /* Ensure all main content respects viewport */
  .site-main {
    width: 100%;
  }

  /* Fix fund content width */
  .fund-content,
  .fund-mission {
    max-width: 100%;
    padding: 0;
    margin: 0 auto 24px auto;
  }

  /* Fix table wrapper */
  .table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Grid fixes */
  .fund-stats,
  .terms-grid,
  .performance-grid {
    max-width: 100%;
    overflow: hidden;
  }

  /* Stock picks responsive */
  .wwd-grid {
    grid-template-columns: 1fr;
  }

  .hp-grid {
    grid-template-columns: 1fr;
  }

  .sc {
    padding: 16px;
  }

  .sc-met {
    flex-direction: column;
    gap: 8px;
  }

  /* Filter bar responsive */
  .filter-bar {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .fb {
    font-size: 0.65rem;
    padding: 4px 8px;
  }

  /* Touch-friendly improvements */
  .btn-fill,
  .btn-out {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }

  .nav-links a {
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
  }

  /* Improve tap targets */
  .mini-card,
  .pc,
  .sc {
    cursor: pointer;
    touch-action: manipulation;
  }

  /* Better spacing for touch */
  .fund-stat,
  .term-item,
  .perf-item {
    padding: 12px;
  }

  /* Invest page mobile centering */
  .earnings.html .hero-main {
    text-align: center;
  }

  .invest.html .page-hero {
    text-align: center;
  }

  .invest.html .hero-badge {
    font-size: 1.25rem;
    padding: 18px 24px;
    font-weight: 700;
  }

  /* Invest page banner sizing for all devices */
  .invest.html .hero-badge {
    font-size: 1.25rem !important;
    padding: 18px 24px !important;
    font-weight: 700 !important;
  }

  .invest.html .fund-section {
    text-align: center;
  }

  .invest.html .invest-actions {
    justify-content: center;
  }

  .invest.html .fund-intro {
    text-align: center;
  }

  .invest.html .fund-stats {
    justify-content: center;
  }

  /* Aggressive overflow fix for invest page mobile */
  .invest.html * {
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Remove pseudo-elements that might cause empty box */
  .invest.html *::before,
  .invest.html *::after {
    display: none !important;
    content: none !important;
  }

  .invest.html .fund-mission {
    text-align: center;
  }

  .invest.html .fund-content {
    text-align: center;
  }

  .invest.html .fund-block {
    text-align: center;
  }

  .invest.html .fund-terms {
    text-align: center;
  }

  .invest.html .fund-performance {
    text-align: center;
  }

  .invest.html .fund-cta {
    text-align: center;
  }

  .invest.html .fund-note {
    text-align: center;
  }

  .invest.html .terms-grid {
    justify-content: center;
  }

  .invest.html .performance-grid {
    justify-content: center;
  }
}

/* ================================================
   STOCK PICKS PAGE ADDITIONS (merged from stock-picks-additions.css)
   ================================================ */

/* ================================================
   STOCK PICKS PAGE ADDITIONS
   Merge with your existing styles.css or link separately
   ================================================ */

/* ════════════════════════════
   NAVBAR DROPDOWNS
════════════════════════════ */
.nav-dropdown {
  position: relative;
}

.nav-drop-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.nav-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--forest);
  border: 1px solid rgba(250, 250, 247, 0.12);
  border-radius: var(--rad);
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 200;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--forest);
  border-left: 1px solid rgba(250, 250, 247, 0.12);
  border-top: 1px solid rgba(250, 250, 247, 0.12);
}

.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-family: var(--fh);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(250, 250, 247, 0.75);
  white-space: nowrap;
  transition: all 0.18s ease;
  border-left: 2px solid transparent;
}

.dropdown-menu a:hover {
  color: var(--mint);
  background: rgba(56, 198, 152, 0.08);
  border-left-color: var(--mint);
}

/* Search Icon in Navbar */
.nav-search {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(250, 250, 247, 0.6);
  cursor: pointer;
  padding: 8px;
  margin-left: 16px;
  transition: color 0.18s ease;
}

.nav-search:hover {
  color: var(--mint);
}

/* ════════════════════════════
   STOCK PICKS HERO
════════════════════════════ */
.stock-picks-hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stock-picks-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1);
}

.stock-picks-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 41, 26, 0.88) 0%,
    rgba(10, 41, 26, 0.72) 50%,
    rgba(10, 41, 26, 0.82) 100%
  );
  z-index: 1;
}

.stock-picks-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.stock-picks-hero-content h1 {
  font-family: var(--fh);
  font-size: clamp(4.5rem, 12vw, 8.5rem);
  font-weight: 900;
  color: var(--snow);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 10px;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.15),
    0 4px 16px rgba(0,0,0,0.25),
    0 0 60px rgba(56, 198, 152, 0.25);
  background: linear-gradient(180deg, #ffffff 0%, #e8f5ef 50%, #38C698 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stock-picks-hero-content .author {
  font-family: var(--fh);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(56, 198, 152, 0.35);
  margin-bottom: 28px;
}

/* Hero instructions */
.sp-instructions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 41, 26, 0.75);
  border: 1.5px solid rgba(56, 198, 152, 0.35);
  border-radius: var(--rad);
  padding: 12px 22px;
  backdrop-filter: blur(8px);
  max-width: 420px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.sp-instructions-icon {
  font-size: 1.6rem;
  color: var(--mint);
  line-height: 1;
  flex-shrink: 0;
  animation: bounceArrow 2s ease-in-out infinite;
}

.sp-instructions p {
  font-family: var(--fb);
  font-size: 0.85rem;
  color: rgba(250, 250, 247, 0.9);
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.sp-instructions p strong {
  color: var(--mint);
  font-weight: 700;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceArrow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-4px, -4px); }
}

/* ════════════════════════════
   ANNOUNCEMENT BANNER (Stock Picks variant)
════════════════════════════ */
.stock-picks-banner {
  border-top: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
}

.stock-picks-banner .banner-text a {
  color: var(--forest);
  text-decoration: underline;
  font-weight: 900;
}

.stock-picks-banner .banner-text a:hover {
  color: #0d4a2e;
}

/* ════════════════════════════
   STOCK PICKS CONTENT
════════════════════════════ */
.stock-picks-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 80px 80px;
  background: var(--snow);
}

.sp-announcement {
  font-size: 1.3rem;
  line-height: 1.75;
  margin-bottom: 40px;
  color: var(--charcoal);
  font-family: var(--fb);
}

.sp-announcement strong {
  font-weight: 700;
  color: var(--charcoal);
}

.sp-announcement a {
  color: var(--mint);
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.18s ease;
}

.sp-announcement a:hover {
  color: var(--forest);
}

.sp-contact {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 48px;
  line-height: 1.8;
  font-family: var(--fb);
}

.sp-contact a {
  color: var(--mint);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.18s ease;
}

.sp-contact a:hover {
  color: var(--forest);
}

.sp-welcome {
  margin-bottom: 48px;
}

.sp-welcome p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 20px;
  font-family: var(--fb);
  font-weight: 400;
}

.sp-disclaimer {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  padding-top: 36px;
  border-top: 1.5px solid var(--border);
  font-family: var(--fb);
}

.sp-disclaimer em {
  font-style: italic;
  color: var(--muted);
}

.sp-disclaimer a {
  color: var(--mint);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.18s ease;
}

.sp-disclaimer a:hover {
  color: var(--forest);
}

/* ════════════════════════════
   DROPDOWN FLYOUT MENUS
════════════════════════════ */
.dropdown-flyout {
  position: relative;
}

.flyout-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 18px;
  font-family: var(--fh);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(250, 250, 247, 0.75);
  white-space: nowrap;
  transition: all 0.18s ease;
  border-left: 2px solid transparent;
  cursor: pointer;
}

.flyout-trigger:hover {
  color: var(--mint);
  background: rgba(56, 198, 152, 0.08);
  border-left-color: var(--mint);
}

.flyout-arrow {
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.dropdown-flyout:hover .flyout-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* Flyout panel (desktop) */
.flyout-panel {
  position: absolute;
  top: 0;
  left: calc(100% + 6px);
  background: var(--forest);
  border: 1px solid rgba(250, 250, 247, 0.12);
  border-radius: var(--rad);
  padding: 8px 0;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: all 0.2s ease;
  z-index: 300;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Little arrow on the left of flyout panel */
.flyout-panel::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -5px;
  width: 10px;
  height: 10px;
  background: var(--forest);
  border-left: 1px solid rgba(250, 250, 247, 0.12);
  border-bottom: 1px solid rgba(250, 250, 247, 0.12);
  transform: rotate(45deg);
}

.dropdown-flyout:hover .flyout-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.flyout-panel a {
  display: block;
  padding: 7px 16px;
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(250, 250, 247, 0.7);
  white-space: nowrap;
  transition: all 0.15s ease;
  border-left: 2px solid transparent;
}

.flyout-panel a:hover {
  color: var(--mint);
  background: rgba(56, 198, 152, 0.08);
  border-left-color: var(--mint);
}

/* ════════════════════════════
   CONTENT HEADER
/* ════════════════════════════
   CONTENT HEADER
════════════════════════════ */
.sp-content-header {
  text-align: center;
  margin-bottom: 36px;
}

.sp-content-header h2 {
  font-family: var(--fh);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.sp-content-header-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--mint), #5dd9b0);
  border-radius: 2px;
  margin: 0 auto;
}

/* ════════════════════════════
   INSTRUCTIONS BOX
════════════════════════════ */
.sp-instructions-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, rgba(56, 198, 152, 0.08) 0%, rgba(56, 198, 152, 0.03) 100%);
  border: 2px solid var(--mint);
  border-radius: var(--rad-lg);
  padding: 22px 26px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(56, 198, 152, 0.1);
}

.sp-instructions-box-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--mint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
}

.sp-instructions-box-icon svg {
  width: 22px;
  height: 22px;
}

.sp-instructions-box p {
  font-family: var(--fb);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0;
}

.sp-instructions-box p strong {
  color: var(--forest);
  font-weight: 800;
}

.highlight-year {
  display: inline-block;
  background: var(--mint);
  color: var(--forest);
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 5px;
  font-size: 0.95em;
  letter-spacing: 0.02em;
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 768px) {
  .stock-picks-hero {
    height: 340px;
  }

  .stock-picks-content {
    padding: 48px 32px 64px;
  }

  .sp-announcement {
    font-size: 1.15rem;
  }

  .nav-search {
    margin-left: auto;
    margin-right: 12px;
  }
}

@media (max-width: 600px) {
  .sp-instructions {
    max-width: 90%;
    padding: 10px 16px;
  }
  .sp-instructions p {
    font-size: 0.78rem;
  }
  .sp-instructions-icon {
    font-size: 1.3rem;
  }
  .sp-instructions-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 20px;
  }
  .sp-instructions-box p {
    font-size: 0.95rem;
  }
  .sp-content-header h2 {
    font-size: 1.6rem;
  }

  /* Mobile flyouts */
  .dropdown-flyout {
    width: 100%;
  }
  .flyout-trigger {
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.9rem;
    border-left: none;
  }
  .flyout-arrow {
    transform: rotate(90deg);
  }
  .dropdown-flyout.active .flyout-arrow {
    transform: rotate(-90deg);
  }
  .flyout-panel {
    position: static;
    transform: none;
    opacity: 1;
    visibility: hidden;
    display: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(250, 250, 247, 0.08);
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    text-align: center;
    min-width: unset;
    border-radius: 0;
    padding: 4px 0;
    margin-left: 0;
  }
  .flyout-panel::before {
    display: none;
  }
  .dropdown-flyout.active .flyout-panel {
    visibility: visible;
    display: block;
    transform: none;
  }
  .flyout-panel a {
    padding: 8px 14px;
    font-size: 0.82rem;
    border-left: none;
  }
  .flyout-panel a:hover {
    border-left: none;
  }

  /* Mobile dropdowns inside hamburger menu */
  .nav-dropdown {
    width: 100%;
  }

  .nav-drop-trigger {
    justify-content: center;
    padding: 10px 0;
    font-size: 1rem;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: hidden;
    display: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(250, 250, 247, 0.08);
    background: rgba(0, 0, 0, 0.15);
    width: 100%;
    text-align: center;
    min-width: unset;
    border-radius: 0;
    padding: 4px 0;
  }

  .dropdown-menu::before {
    display: none;
  }

  .nav-dropdown.active .dropdown-menu {
    visibility: visible;
    display: block;
    transform: none;
  }

  .dropdown-menu a {
    padding: 10px 16px;
    font-size: 0.9rem;
    border-left: none;
  }

  .dropdown-menu a:hover {
    border-left: none;
  }

  .stock-picks-hero {
    height: 280px;
  }

  .stock-picks-hero-content h1 {
    font-size: 2.6rem;
  }

  .stock-picks-content {
    padding: 36px 20px 48px;
  }

  .sp-announcement {
    font-size: 1.05rem;
  }

  .sp-welcome p {
    font-size: 0.95rem;
  }

  .nav-search {
    display: none;
  }
}

@media (max-width: 400px) {
  .stock-picks-hero {
    height: 240px;
  }

  .stock-picks-hero-content h1 {
    font-size: 2.2rem;
  }

  .stock-picks-hero-content .author {
    font-size: 0.85rem;
  }

  .stock-picks-content {
    padding: 28px 16px 40px;
  }
}
