/**
 * Components CSS
 * UI Components extracted from React Application
 * Blue Olive Capital Theme
 */

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: var(--rounded-full);
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: var(--leading-6);
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(to right, var(--color-orange-light), var(--color-orange-primary));
  border-color: var(--color-orange-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  opacity: 0.9;
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.btn-outline-blue {
  background: transparent;
  border-color: var(--color-blue-primary);
  color: var(--color-blue-primary);
}

.btn-outline-blue:hover {
  background: var(--color-blue-primary);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-orange-primary);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-orange-primary);
}

/* Button Sizes */
.btn-sm {
  padding: 0.625rem 1rem;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
}
.mobile-only {
  display: block;
}
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}
/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--color-white);
  border-radius: var(--rounded-2xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-image {
  width: 100%;
  height: auto;
  display: block;
}

.card-content {
  padding: var(--spacing-6);
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: var(--leading-8);
  color: var(--color-blue-primary);
  margin-bottom: var(--spacing-2);
}

.card-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-5);
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: 0.25px;
}

/* Badge/Tag */
.badge {
  display: inline-flex;
  padding: 0.125rem 0.5rem;
  border-radius: var(--rounded-2xl);
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.125rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem;
  position: relative;
  min-height: 80px;
}

@media (min-width: 1024px) {
  .header-inner {
    padding: 1.5rem 7rem;
    min-height: 90px;
  }
}

/* Mobile: Center logo and make it larger */
@media (max-width: 1023px) {
  .header-inner {
    justify-content: center;
  }
  
  .site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .site-logo-img {
    height: 3.5rem; /* Make logo larger on mobile */
    width: auto;
  }
  
  .site-name {
    font-size: 1.5rem; /* Make text logo larger on mobile */
    font-weight: 700;
  }
  
  .mobile-menu-toggle {
    position: absolute;
    right: 1.5rem;
  }
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
}

.logo-text {
  width: 122px;
  height: 41px;
}

/* Navigation */
.main-nav {
  display: none;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

/* WordPress menu structure */
.main-nav > ul,
.main-nav > div > ul {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

/* Navigation links */
.main-nav a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-6);
  letter-spacing: 0.15px;
  color: var(--color-blue-primary);
  text-decoration: none;
  transition: color var(--transition-base);
  display: inline-block;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
  color: var(--color-orange-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  width: 25px;
  height: 20px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-blue-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 0;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 8px;
  width: 15px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

/* Transform hamburger to X when menu is open */
.mobile-menu-toggle.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}
/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  width: 100%;
  background: #F8F9FA;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--z-modal);
  padding: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  max-height: calc(100vh - 80px);
}

/* Move mobile menu down when admin bar is present */
.admin-bar .mobile-menu {
  top: 120px;
  max-height: calc(100vh - 120px);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: calc(var(--z-modal) - 1);
}

/* Move mobile menu overlay down when admin bar is present */
.admin-bar .mobile-menu-overlay {
  top: 120px;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}


.mobile-menu-nav {
  padding: 3rem 1.5rem 2rem;
}

/* Mobile menu WordPress structure */
.mobile-menu-nav > ul,
.mobile-menu-nav > div > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-nav li {
  margin: 0;
  padding: 0;
}

.mobile-menu-nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active,
.mobile-menu-nav .current-menu-item > a,
.mobile-menu-nav .current_page_item > a {
  color: var(--color-orange-primary);
}

/* ==========================================================================
   About Content Blocks
   ========================================================================== */

.about-content-block-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.about-content-text {
  flex: 1;
  text-align: left;
}

.about-content-image {
  flex: 1;
  text-align: center;
}

.about-content-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Reversed layout for second block */
.about-content-block-reversed {
  flex-direction: row-reverse;
}

/* Core Values Container */
.core-values-container {
  display: grid;
  gap: 1.5rem;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
}

/* Core Value Items */
.core-value-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--color-orange-bg);
}

/* Large items (Partnership & Impact) - span 1.5 columns and centered */
.core-value-large {
  justify-self: center;
  max-width: 24rem;
}

/* Center the second row items by adjusting grid positioning */
.core-value-item:nth-child(4) {
  justify-self: end;
}

.core-value-item:nth-child(5) {
  justify-self: start;
}

/* Core Value Icon */
.core-value-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.9375rem;
  background: linear-gradient(to right, var(--color-orange-light), var(--color-orange-primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Core Value Content */
.core-value-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.core-value-title {
  color: var(--color-blue-dark);
  font-family: var(--font-body);
  font-size: 1.375rem;
  line-height: 1.75rem;
  font-weight: 300;
  margin: 0;
}

.core-value-description {
  color: var(--color-gray);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  line-height: var(--leading-4);
  letter-spacing: 0.4px;
  margin: 0;
}

/* Our Approach Container */
.approach-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
}

/* Show arrows on desktop */
.approach-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-item {
  background: white;
   border-radius: 1rem; 
   padding: 1.25rem; width: 195px; display: flex; flex-direction: column; gap: 1rem;
   max-width: 100%;
}

/* Newsletter input placeholder color */
input[name="newsletter_email"]::placeholder {
  color: white !important;
  opacity: 1;
}
/* Mobile adjustments for about content blocks */
@media (max-width: 1023px) {
  .about-content-block-wrapper {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  .about-content-block-reversed {
    flex-direction: column !important;
  }
  
  .about-content-text {
    text-align: center !important;
    order: 2;
  }
  
  .about-content-image {
    order: 1;
    text-align: center !important;
  }
  
  .about-content-image img {
    max-width: 100%;
    height: auto;
  }
  
  /* Remove horizontal padding on mobile for about section */
  .bg-white {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Core Values Mobile Layout - 2 columns with last item full width if odd */
  .core-values-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Make the last item full width if it's the 5th item (odd total) */
  .core-values-container > *:nth-child(5):last-child {
    grid-column: 1 / -1 !important;
  }
  
  /* Our Approach Section Mobile Layout */
  .approach-container {
    display: grid !important;
    grid-template-columns: 45% 10% 45% !important;
    row-gap: 2rem !important;
    column-gap: 0 !important;
    width: 100% !important;
  }
  
}
.leadership-section {
  background-color: #FCF3E3; 
  padding: 4rem 1.5rem;
}
.leadership-section-wrapper {
  display: flex; 
  flex-direction: column;
  gap: 2.75rem;
}

.market-insights-section {
  background-color: #FCF3E3; 
  padding: 4rem 1.5rem;
}
/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-blue-dark);
  padding: 3rem 1.5rem;
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 3rem 7rem 1.5rem;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 5rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-icon {
  width: 64px;
  height: 64px;
}

.footer-logo-text {
  width: 163px;
  height: 55px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-5);
  letter-spacing: 0.25px;
  color: var(--color-white);
  margin: 0;
  width: 60%;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--rounded-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  text-decoration: none;
  transition: background var(--transition-base);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Footer Section */
.footer-section-title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  line-height: var(--leading-4);
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 300;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-6);
  letter-spacing: 0.15px;
  color: var(--color-white);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-6);
  letter-spacing: 0.15px;
  color: var(--color-white);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* Footer Bottom */
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  line-height: var(--leading-4);
  letter-spacing: 0.5px;
  color: var(--color-white);
  margin: 0;
}

.footer-copyright a {
  color: var(--color-white);
  text-decoration: none;
}

.footer-copyright a:hover {
  color: var(--color-orange-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  height: 836px;
  overflow: hidden;
}

/* Mobile adjustments for hero section */
@media (max-width: 1023px) {
  .hero-section {
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
  }
  
  .hero-content {
    padding: 2rem 1.5rem !important;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
  }
  
  .hero-description {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
  }
  
  .hero-actions {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  .hero-actions .btn {
    width: 100% !important;
    max-width: 280px !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 43, 139, 0.7);
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 1.5rem 7rem;
  }
}

.hero-inner {
  max-width: 1052px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.25px;
  color: var(--color-white);
  text-align: center;
  margin: 0;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5.25rem;
    line-height: 7.5rem;
  }
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: var(--leading-7);
  color: var(--color-white);
  text-align: center;
  margin: 0;
}

@media (min-width: 1024px) {
  .hero-description {
    font-size: 1.75rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.25px;
  color: var(--color-blue-primary);
  margin: 0;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.5625rem;
    line-height: 4rem;
  }
}

.section-description {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: var(--leading-7);
  color: var(--color-blue-primary);
  margin: 0;
}

@media (min-width: 1024px) {
  .section-description {
    font-size: 1.375rem;
  }
}

/* ==========================================================================
   Stats Cards
   ========================================================================== */
/* Strategies Section Background Pattern - Components override */
.strategies-section::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  max-width: 600px;
  background-image: url('../images/3rd-section-pattern.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background-color: transparent;
}
.stats-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--rounded-3xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile adjustments for stats section */
@media (max-width: 1023px) {
  .bg-gradient-orange {
    padding: 3rem 0 !important;
    min-height: 100vh;
    max-height: 120vh;
  }
  
  .stats-section .container {
    padding: 0 1.5rem !important;
  }
  
  .stats-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
  }
  
  .stats-description {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    padding: 0 1rem;
    text-align: center !important;
  }
  
  .stats-card {
    padding: 1.5rem 1rem !important;
    margin-bottom: 1rem !important;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
  
  .stats-number {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    color: white !important;
  }
  
  .stats-label {
    font-size: 0.875rem !important;
    text-align: center !important;
    line-height: 1.4 !important;
    color: white !important;
  }
  
  .stats-section .btn {
    margin-top: 1rem !important;
    padding: 0.875rem 2rem !important;
    font-size: 0.875rem !important;
    border: 2px solid white !important;
    background: transparent !important;
    color: white !important;
  }
  
  .stats-section .btn:hover {
    background: white !important;
    color: var(--color-orange-primary) !important;
  }
}

.stats-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 2.75rem;
  color: var(--color-white);
  text-align: center;
}

.stats-label {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-6);
  letter-spacing: 0.5px;
  color: var(--color-white);
  text-align: center;
}

/* ==========================================================================
   Numbered Icon Cards
   ========================================================================== */

.numbered-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--rounded-2xl);
  background: var(--color-white);
}

.numbered-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--rounded-full);
  background: linear-gradient(to right, var(--color-orange-light), var(--color-orange-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.numbered-icon span {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 2.5rem;
  color: var(--color-white);
}

.numbered-card-title {
  font-family: var(--font-body);
  font-size: 1.375rem;
  line-height: var(--leading-7);
  color: var(--color-blue-primary);
  text-align: center;
  font-weight: 300;
}

.numbered-card-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-5);
  letter-spacing: 0.25px;
  color: var(--color-blue-dark);
  text-align: center;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-blue-dark);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: var(--rounded-full);
  border: 1px solid var(--color-white);
  background: transparent;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--leading-6);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 28rem;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  width: 100%;
}

/* ==========================================================================
   Video/Play Button
   ========================================================================== */

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: var(--rounded-full);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.play-button:hover {
  background: var(--color-white);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  width: 24px;
  height: 24px;
  fill: var(--color-blue-primary);
  margin-left: 2px;
}

/* ============================================
   Market Insights Styles
   ============================================ */

.market-insights-section {
  position: relative;
}

.market-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.market-insight-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.market-insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.market-insight-thumbnail {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #f0f0f0;
}

.market-insight-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-insight-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.market-insight-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.market-insight-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.market-insight-title {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.market-insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #666;
  margin-top: auto;
}

.market-insight-source {
  font-weight: 600;
  text-transform: uppercase;
}

.market-insight-date {
  color: #999;
}

/* See More Button */
.btn-see-more {
  background: transparent;
  border: 2px solid var(--color-blue-primary);
  color: var(--color-blue-primary);
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-see-more:hover {
  background: var(--color-blue-primary);
  color: white;
}

.btn-see-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Market Insight Modal */
.market-insight-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  overflow-y: auto;
  padding: 1rem;
}

.market-insight-modal[style*="display: flex"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.market-insight-modal-content {
  position: relative;
  background: white;
  max-width: 900px;
  width: 100%;
  margin: 2rem auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.market-insight-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}

.market-insight-modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.market-insight-modal-video {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.market-insight-modal-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.market-insight-modal-body {
  padding: 2rem;
}

#modal-insight-title {
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-blue-primary);
  margin-bottom: 1rem;
}

#modal-insight-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #666;
}

#modal-insight-content {
  color: #333;
  line-height: 1.6;
}

#modal-insight-content p {
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .market-insights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .market-insight-modal-content {
    margin: 1rem;
  }
  
  .market-insight-modal-body {
    padding: 1.5rem;
  }
  
  #modal-insight-title {
    font-size: 1.5rem;
  }
}


