/*
Theme Name: xpoedge
Theme URI: https://www.xpoedge.com
Author: xpoedge
Author URI: https://www.xpoedge.com
Description: Custom WordPress theme with fully scoped page module CSS
Version: 1.1.0
License: MIT
License URI: http://opensource.org/licenses/MIT
Text Domain: xpoedge
Domain Path: /languages/
Tags: xpoedge
*/

/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=Open+Sans:wght@400;600;700;800&display=swap');*/

/* ==========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
  --blue: #0b4aaa;
  --blue-2: #1764c8;
  --blue-bright: #165ddb;
  --navy: #031b3c;
  --deep: #02132d;
  --ink: #071a36;
  --muted: #4b596c;
  --line: #dbe2eb;
  --mist: #f3f6fa;
  --pale: #f3f7fd;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 18px 45px rgba(5, 26, 57, .10);
  --bs-body-font-family: 'Open Sans', Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  margin: 0; 
  color: var(--ink); 
  background: #fff; 
  font-family: var(--bs-body-font-family); 
  font-size: 16px; 
  line-height: 1.45; 
}
a { text-decoration: none; color: inherit; }

/* Shared Layout Containers */
.container { max-width: 1320px; margin: 0 auto; }
.shell { max-width: 1200px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #2dd4ff;
  outline-offset: 3px;
}

/* Base Eyebrow Classes */
.eyebrow {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow.eyebrow-light, .eyebrow.light { color: rgba(255, 255, 255, .86); }
.eyebrow-dark { color: #172a45; }
.eyebrow-title-case { text-transform: none; letter-spacing: .08em; }

/* ==========================================================================
   2. GLOBAL HEADER & FOOTER
   ========================================================================== */
.site-header { background: #fff; border-bottom: 1px solid rgba(7, 26, 54, .06); }
.navbar { padding: 11px 0; min-height: 72px; }
.navbar-brand img { width: 164px; height: auto; display: block; }
.navbar-nav { gap: 7px; }
.navbar-nav .nav-link { color: #071a36; font-size: 14px; font-weight: 700; padding: 10px 12px !important; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--blue); }
.header-actions { gap: 22px; }
.login-link { color: #26374e; font-size: 14px; font-weight: 600; }
.btn-header { color: #fff; background: #073476; border: 1px solid #073476; border-radius: 6px; font-weight: 700; font-size: 14px; padding: 12px 18px; box-shadow: 0 7px 18px rgba(3, 27, 60, .18); }
.btn-header:hover { color: #fff; background: #062d66; border-color: #062d66; }
#sign-up { background-color: #fff; color: #073476; }

.site-footer { margin: 0; padding: 34px 0 16px; color: rgba(255,255,255,.76); background: #031735; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .55fr .6fr .55fr; gap: 70px; }
.footer-brand img { width: 132px; filter: brightness(0) invert(1); }
.footer-brand p { margin: 10px 0 6px; font-size: 13px; }
.footer-brand strong { display: block; margin-top: 10px; color: #fff; font-size: 13px; }
.subscribe-form, .subscribe { display: flex; width: 300px; margin-top: 12px; }
.subscribe-form input, .subscribe input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 5px 0 0 5px; outline: 0; }
.subscribe-form input::placeholder { color: rgba(255,255,255,.45); }
.subscribe-form button, .subscribe button { height: 38px; padding: 0 16px; color: #0a4fae; background: #fff; border: 0; border-radius: 0 5px 5px 0; font-size: 12px; font-weight: 800; cursor: pointer; }
.site-footer h3 { margin: 4px 0 13px; color: #fff; font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.site-footer a { display: block; margin: 8px 0; color: rgba(255,255,255,.76); font-size: 13px; }
.site-footer a:hover { color: #fff; }
.footer-bottom, .copyright { margin-top: 25px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.10); font-size: 11px; display: flex; justify-content: space-between; }

/* ==========================================================================
   3. PAGE 1 SPECIFIC STYLES (Home / Main Landing)
   ========================================================================== */
.hero-shell {
  width: 100%;
}

/* 2. Remove max-width and margin from the background container to allow edge-to-edge bleed */
.hero { 
  position: relative; 
  min-height: 500px;
  max-height: 600px;
  width: 100%; /* Forces full width */
  overflow: hidden; 
  background: url("/wp-content/uploads/2026/07/hero-expo-scaled.jpg") center 49% / cover no-repeat; 
  border-bottom: 6px solid var(--blue); 
}

.hero-overlay { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(90deg, rgba(4, 38, 92, .96) 0%, rgba(7, 55, 126, .88) 47%, rgba(13, 75, 165, .46) 100%); 
}

/* 3. Move the max-width and padding here so the text stays constrained and doesn't touch the screen edges */
.hero-content { 
  position: relative; 
  z-index: 1; 
  min-height: 600px; 
  display: flex; 
  align-items: center;
  max-width: 1320px; /* Constrains the text */
  margin: 0 auto; /* Centers the text block on the screen */
  padding: 0 16px; /* Protects text on mobile devices */
  width: 100%;
}

.hero-copy { 
  max-width: 720px; 
  padding: 40px 0; 
  color: #fff; 
}

.hero h1 { 
  margin: 0; 
  max-width: 690px; 
  color: #fff; 
  font-size: clamp(54px, 5vw, 80px); 
  line-height: .99; 
  font-weight: 820; 
  letter-spacing: -.045em; 
}

.hero-subhead { 
  margin: 28px 0 0; 
  color: rgba(255,255,255,.92); 
  font-size: 18px; 
  font-weight: 500; 
}

.hero-actions { 
  display: flex; 
  align-items: center; 
  gap: 26px; 
  margin-top: 31px; 
}

.btn-hero-light { 
  background: #ff6b57; 
  border: 1px solid #ff6b57; 
  color: var(--white); 
  border-radius: 6px; 
  padding: 14px 24px; 
  font-size: 16px; 
  font-weight: 800; 
}

.btn-hero-light:hover { 
  background: #edf3fb; 
  color: #073476; 
}

.hero-link { 
  color: #fff; 
  font-size: 15px; 
  font-weight: 750; 
  padding: 10px 0; 
  border-bottom: 1px solid rgba(255,255,255,.55); 
}

.hero-link:hover { 
  color: #fff; 
  border-color: #fff; 
}

.advantages-section { padding: 50px 0; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; }
.intro-grid h2, .busywork-copy h2, .modules-head h2, .pricing-heading h2, .cta-band h2 { margin: 0; color: var(--ink); font-weight: 820; letter-spacing: -.04em; }
.intro-grid h2 { font-size: clamp(39px, 3.5vw, 58px); line-height: 1.05; }
.intro-copy { margin: 0; color: #34445a; font-size: 18px; line-height: 1.68; }
.feature-row { margin-top: 20px; }
.feature-card { height: 100%; min-height: 247px; padding: 31px 29px 27px; background: #fff; border: 1px solid #dfe5ed; border-top: 3px solid #0d58c4; border-radius: 9px; box-shadow: 0 14px 32px rgba(3, 27, 60, .08); }
.icon-box { width: 47px; height: 47px; display: grid; place-items: center; color: #fff; background: #0b4eaf; border-radius: 6px; margin-bottom: 22px; }
.icon-box svg { width: 24px; height: 24px; }
.feature-card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.12; font-weight: 820; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: #455267; font-size: 15px; line-height: 1.58; }

.busywork-section { padding: 0 16px; }
.busywork-panel { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 0 70px; padding: 64px 58px; background: linear-gradient(90deg, #f3f6fa 0%, #f7f9fc 100%); }
.busywork-copy { max-width: 430px; }
.busywork-copy h2 { font-size: clamp(42px, 4vw, 61px); line-height: .99; }
.busywork-copy > p:last-child { margin: 28px 0 0; color: #34445a; font-size: 17px; line-height: 1.63; }
.busywork-image-wrap { width: 100%; }
.busywork-image-wrap img { display: block; width: 100%; aspect-ratio: 1.68 / 1; object-fit: cover; object-position: center; border-radius: 12px; border-left: 4px solid #0d59c4; box-shadow: 0 15px 35px rgba(3, 27, 60, .12); }

.modules-section { margin: 0 16px; padding: 60px 0 67px; color: #fff; background: linear-gradient(116deg, #051f48 0%, #0b4ca9 66%, #1e69d0 100%); }
.modules-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.modules-head h2 { color: #fff; font-size: clamp(39px, 3.7vw, 57px); line-height: 1; }
.modules-cta { color: #fff; background: #ff6b57; border: 1px solid #ff6b57; border-radius: 6px; font-size: 13px; font-weight: 800; padding: 13px 22px; }
.module-grid { margin-top: 32px; }
.module-item { min-height: 52px; display: flex; align-items: center; padding: 14px 18px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 7px; font-size: 14px; font-weight: 650; }

.pricing-section { padding: 70px 0 38px; }
.pricing-heading h2 { font-size: clamp(40px, 4vw, 58px); line-height: 1.05; }
.pricing-grid { max-width: 900px; margin: 42px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card { position: relative; padding: 30px 32px 24px; background: #fff; border: 1px solid #d8e0e9; border-radius: 10px; box-shadow: 0 10px 28px rgba(3, 27, 60, .07); }
.price-card-featured { border: 2px solid #0b5bca; }
.plan-name { margin: 0 0 9px; color: #0a55bd; font-size: 12px; line-height: 1; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.price-line { display: flex; align-items: flex-end; gap: 4px; }
.price { color: var(--ink); font-size: 50px; line-height: 1; font-weight: 850; letter-spacing: -.05em; }
.price-unit { color: #17273d; font-size: 13px; font-weight: 650; margin-bottom: 6px; }
.popular-badge { position: absolute; top: 13px; right: 13px; color: #fff; background: #0a55bd; border-radius: 4px; padding: 5px 8px; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.btn-price-outline, .btn-price { width: 100%; margin-top: 22px; border-radius: 5px; font-size: 14px; font-weight: 800; padding: 9px 16px; text-align: center; display: block; }
.btn-price-outline { color: #fff; background: #ff6b57; border: 1px solid #ff6b57; }
.btn-price-outline:hover { color: #fff; background: #0a4fae; }
.btn-price { color: #fff; background: #0a4fae; border: 1px solid #0a4fae; }
.btn-price:hover { color: #fff; background: #073b84; }

.cta-section { padding: 14px 16px 28px; }
.cta-section .container { max-width: 1320px; padding-left: 0; padding-right: 0; }
.cta-band { width: 100%; min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px 54px; position: relative; color: #fff; background-color: #071c53; background-image: linear-gradient(90deg, rgba(4, 15, 50, .22), rgba(4, 30, 80, .10)), url("/wp-content/uploads/2026/09/wave-graphic.png"); background-position: center; background-size: cover; background-repeat: no-repeat; border-radius: 13px; box-shadow: 0 12px 28px rgba(3, 27, 60, .10); }
.cta-band h2 { color: #fff; font-size: clamp(34px, 3vw, 48px); line-height: 1.05; }
.cta-band p { margin: 8px 0 0; color: rgba(255,255,255,.73); font-size: 14px; }
.cta-button { min-width: 142px; color: #fff; background: #ff6b57; border: 1px solid #ff6b57; border-radius: 7px; font-size: 14px; font-weight: 800; padding: 14px 22px; text-align: center; }

/* ==========================================================================
   4. PAGE 2 SPECIFIC STYLES (Pricing Page - Scoped)
   ========================================================================== */
.page-pricing h1, .page-pricing h2, .page-pricing h3 { font-family: "Space Grotesk", Inter, sans-serif; }

/* Scoped Inner Hero - Full Width Container */
.page-pricing .inner-hero {
  background: linear-gradient(110deg, #02122c 0%, #073373 60%, #115bc7 100%);
  color: #fff;
  padding: 80px 0 80px;
}

/* Scoped Inner Hero Content Layout */
.page-pricing .inner-hero-content {
  min-height: 530px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  padding: 70px;
}

.page-pricing .inner-hero h1 { font-size: 64px; line-height: 1.04; margin: 0 0 28px; }
.page-pricing .inner-hero .inner-hero-content > div > p:last-child { font-size: 20px; line-height: 1.55; max-width: 570px; margin: 0; color: var(--muted); }
.page-pricing .inner-hero img { width: 100%; max-height: 430px; object-fit: contain; }

.page-pricing .hero-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #dce7f8;
    margin: 0 0 32px;
}

/* Scoped Modules Section */
.page-pricing .pricing-modules { padding: 90px 62px 115px; }
.page-pricing .section-intro { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 80px; }
.page-pricing .section-intro h2 { font-size: 42px; line-height: 1.12; margin: 0; }
.page-pricing .section-intro > p { font-size: 20px; line-height: 1.4; margin: 0; }
.page-pricing .pricing-module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.page-pricing .pricing-module-grid article { min-height: 175px; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue-bright); border-radius: 10px; box-shadow: 0 18px 28px #061a4010; }
.page-pricing .pricing-module-grid article span { display: grid; place-items: center; width: 52px; height: 52px; color: #fff; background: var(--blue-bright); border-radius: 9px; font-size: 25px; }
.page-pricing .pricing-module-grid h3 { font-family: Inter, sans-serif; font-size: 16px; margin: 24px 0 0; }

/* Scoped Plans Section */
.page-pricing .pricing-plans-section { background: #f4f7fc; padding: 90px 0 120px; text-align: center; }
.page-pricing .pricing-plans-section > .shell { padding: 0 106px; }
.page-pricing .pricing-plans-section h2 { font-size: 42px; margin: 0 0 55px; }
.page-pricing .plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; text-align: left; }
.page-pricing .plan-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue-bright); border-radius: 14px; padding: 44px; }
.page-pricing .plan-card.featured { border-color: var(--blue-bright); }
.page-pricing .plan-card h3 { font-size: 28px; line-height: 1.2; margin: 0 0 55px; min-height: 68px; }
.page-pricing .plan-card .price { 
   color: var(--ink);
    font-size: 50px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.05em;
 }
.page-pricing .plan-card .price strong { font-family: "Space Grotesk", Inter, sans-serif; font-size: 58px; }
.page-pricing .plan-card .price b { font-size: 15px; font-weight: normal; margin-left: 4px; }
.page-pricing .plan-card .period { font-style: italic; color: #64738c; margin: 8px 0 42px; }
.page-pricing .plan-card > a { display: grid; place-items: center; height: 62px; border-radius: 8px; font-weight: 700; }
.page-pricing .secondary-plan { border: 2px solid var(--blue-bright); color: var(--blue-bright); }
.page-pricing .primary-plan { background: var(--blue-bright); color: #fff; }
.page-pricing .plan-description { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 32px; color: #65738b; }

/* Scoped CTA */
.page-pricing .pricing-cta { max-width: 1218px; margin: 0 auto 12px; padding: 40px 54px; border-radius: 16px; color: #fff; display: flex; justify-space-between; align-items: center; background: radial-gradient(ellipse at 70% 110%, transparent 0 30%, #118acb55 31% 33%, transparent 34% 43%, #0ebbe855 44% 45%, transparent 46%), linear-gradient(110deg, #35102d, #042150 55%, #08609c); }
.page-pricing .pricing-cta h2 { font-size: 40px; margin: 0 0 5px; color: #fff; }
.page-pricing .pricing-cta p { margin: 0; color: #e1e8f4; }
.page-pricing .pricing-cta a { background: #fff; color: var(--blue-bright); padding: 18px 40px; border-radius: 8px; font-weight: 700; }

/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero { min-height: 650px; }
  .hero-content { min-height: 644px; }
  .hero h1 { font-size: clamp(51px, 8vw, 72px); }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .busywork-panel { grid-template-columns: 1fr; gap: 34px; padding: 55px 42px; }
  .busywork-copy { max-width: 690px; }
  .modules-head { align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
  
  .page-pricing .inner-hero { grid-template-columns: 1fr 1fr; padding: 55px 42px; }
  .page-pricing .pricing-module-grid { grid-template-columns: repeat(2, 1fr); }
  .page-pricing .pricing-plans-section > .shell { padding: 0 50px; }
}

@media (max-width: 767.98px) {
  .hero-shell, .busywork-section { padding-left: 0; padding-right: 0; }
  .hero { min-height: 590px; background-position: 64% center; }
  .hero-content { min-height: 584px; }
  .hero-copy { padding: 55px 0; }
  .hero h1 { font-size: clamp(42px, 12vw, 59px); }
  .advantages-section { padding: 75px 0 55px; }
  .busywork-panel { border-radius: 0; padding: 52px 24px; }
  .modules-section { margin: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .cta-band { display: block; padding: 36px 28px; }
  .cta-button { margin-top: 24px; }
  .site-footer { margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  
  .page-pricing .inner-hero { grid-template-columns: 1fr; padding: 55px 24px; min-height: 0; }
  .page-pricing .inner-hero h1 { font-size: 44px; }
  .page-pricing .inner-hero img { margin-top: 30px; max-height: 300px; }
  .page-pricing .pricing-modules { padding: 70px 24px; }
  .page-pricing .section-intro { grid-template-columns: 1fr; gap: 28px; }
  .page-pricing .pricing-module-grid, .page-pricing .plan-grid { grid-template-columns: 1fr; }
  .page-pricing .pricing-plans-section > .shell { padding: 0 24px; }
  .page-pricing .pricing-cta { margin: 0 12px 12px; padding: 34px 26px; align-items: flex-start; gap: 26px; flex-direction: column; }
  .page-pricing .pricing-cta h2 { font-size: 32px; }
}

@media (max-width: 575.98px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
  .btn-hero-light { width: 100%; text-align: center; }
  .subscribe-form, .subscribe { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ==========================================================================
   Footer Mobile Responsive Styles
   ========================================================================== */

@media (max-width: 767.98px) {
  /* 1. Stack the main footer grid into a single column */
  .site-footer .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* 2. Ensure footer brand & form take full width */
  .site-footer .footer-brand {
    width: 100%;
    margin-bottom: 8px;
  }

  .site-footer .footer-brand img {
    display: block;
    margin-bottom: 12px;
  }

  .site-footer .footer-brand strong {
    display: block;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  /* 3. Stack menu sections and their links vertically */
  .site-footer .footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .site-footer .footer-grid h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
  }

  .site-footer .footer-grid a {
    display: inline-block;
    font-size: 14px;
    text-decoration: none;
	margin:0;
  }

  /* 4. Bottom copyright section styling */
  .site-footer .footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}
/* ==========================================================================
   6. PAGE 3 SPECIFIC STYLES (Company Page - Updated Design)
   ========================================================================== */
.page-company h1, .page-company h2, .page-company h3 { font-family: "Space Grotesk", Inter, sans-serif; }

/* 1. Hero Section (White Background) */
.page-company .inner-hero {
  background: #f4f7fc;
  color: var(--ink);
  padding: 80px 0 80px;
}

.page-company .inner-hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 150px;
}

.page-company .hero-text h1 {
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.05;
  margin: 0 0 24px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.page-company .hero-text p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 32px;
  color: var(--blue);
}

.page-company .btn-hero {
  display: inline-block;
  background: var(--blue-bright);
  color: #fff;
  padding: 16px 36px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
}

.page-company .btn-hero:hover {
  background: var(--blue);
}

.page-company .hero-graphic img {
  width: 100%;
  max-height: 380px;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(7, 26, 54, 0.15);
}

/* 2. Audience Section (Dark Background) */
.page-company .audience-section {
  background: #041d44; /* Dark blue background */
  background: linear-gradient(135deg, #02132d 0%, #062b66 100%);
  color: #fff;
  padding: 100px 0;
}

.page-company .audience-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
  margin-bottom: 30px;
}

.page-company .audience-intro h2 {
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.1;
  margin: 0;
  color: #fff;
}

.page-company .audience-copy p {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px;
}

/* Horizontal 3-Column Tags */
.page-company .audience-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-company .tag-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  justify-content: center;
}

.page-company .tag-icon {
  display: grid;
  place-items: center;
  color:#2dd4ff;
}

/* 3. News Section */
.page-company .news-banner {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.page-company .news-content {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 40px;
}

.page-company .news-col-main h2 {
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--ink);
}

.page-company .news-col-main p {
  margin: 0;
  color: var(--muted);
}

.page-company .btn-outline {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--blue-bright);
  color: var(--blue-bright);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* 4. FAQ Section (Stacked Layout) */
.page-company .faq-section {
  padding: 90px 0 120px;
}

.page-company .faq-header-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  margin-bottom: 70px;
  align-items: start;
}

.page-company .faq-header-left h2 {
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}

.page-company .faq-header-right p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

/* Stacked Rows */
.page-company .faq-category-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.page-company .faq-category-title h3 {
  font-size: 22px;
  margin: 0;
  color: var(--ink);
}

.page-company .faq-category-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-company .faq-item {
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s ease;
}

.page-company .faq-item[open] {
  border-color: var(--blue-bright);
  box-shadow: 0 8px 20px rgba(7, 26, 54, 0.05);
}

.page-company summary {
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-company summary::-webkit-details-marker {
  display: none;
}

.page-company summary::after {
  content: "+";
  font-size: 20px;
  color: var(--blue-bright);
  background: #f0f5ff;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}

.page-company details[open] summary::after {
  content: "−";
}

.page-company .faq-answer {
  padding: 0 28px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.page-company .faq-answer p {
  margin: 0;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
  .page-company .inner-hero-content,
  .page-company .audience-grid,
  .page-company .faq-header-grid,
  .page-company .faq-category-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .page-company .news-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-company .faq-category-row {
    padding: 30px 0;
  }
}

@media (max-width: 767.98px) {
  .page-company .audience-tags {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. PAGE 4 SPECIFIC STYLES (Contact Page)
   ========================================================================== */
.page-contact h1, 
.page-contact h2, 
.page-contact h3 { 
  font-family: "Space Grotesk", Inter, sans-serif; 
}

/* 1. Hero Section */
.page-contact .inner-hero {
  width: 100%;
  background: linear-gradient(110deg, #02122c 0%, #073373 60%, #115bc7 100%);
  color: #fff;
  overflow: hidden;
}

.page-contact .inner-hero-content {
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 80px 0;
}

.page-contact .hero-text h1 {
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.05;
  margin: 0 0 16px;
  color: #fff;
}

.page-contact .hero-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #dce7f8;
  margin: 0 0 32px;
}

.page-contact .hero-graphic img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

/* 2. Contact Grid Section */
.page-contact .contact-section {
  padding: 80px 0;
  width: 100%;
  display: block; 
}

.page-contact .contact-section .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
}

.page-contact .contact-card {
  border-radius: 16px;
  padding: 50px;
  width: 100%;
  box-sizing: border-box;
}

/* Form Card Styling */
.page-contact .form-card {
  background: #fff;
  box-shadow: 0 20px 50px rgba(5, 26, 57, 0.08);
  border: 1px solid var(--line);
}

.page-contact .form-card h2 {
  font-size: 36px;
  margin: 0 0 12px;
  color: var(--ink);
}

.page-contact .form-card .subtitle {
  color: var(--muted);
  margin: 0 0 32px;
  font-size: 16px;
}

.page-contact .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.page-contact .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.page-contact .form-row .form-group {
  margin-bottom: 0;
}

.page-contact .form-group label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.page-contact .form-group input,
.page-contact .form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  background: #fbfdff;
  transition: border-color 0.2s;
}

.page-contact .form-group input:focus,
.page-contact .form-group textarea:focus {
  border-color: var(--blue-bright);
  outline: none;
}

.page-contact .btn-submit {
  background: var(--blue-bright);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 10px;
  min-width: 160px;
}

.page-contact .btn-submit:hover {
  background: var(--blue);
}

/* Gravity Forms Overrides in Contact Card */
#gform_wrapper_2 input[type="text"],
#gform_wrapper_2 input[type="email"],
#gform_wrapper_2 input[type="tel"],
#gform_wrapper_2 textarea {
  background-color: #fbfdff;
}

.page-contact .contact-phone-alt {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
}

.page-contact .phone-icon {
  background: #eef4ff;
  color: var(--blue-bright);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
}

/* Social Card Styling */
.page-contact .social-card {
  background: #091e42;
  color: #fff;
}

.page-contact .social-card h2 {
  font-size: 36px;
  margin: 0 0 16px;
  color: #fff;
}

.page-contact .social-card p {
  color: #aebcd2;
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.6;
}

.page-contact .social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-contact .social-link-btn {
  display: flex !important;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.page-contact .social-link-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-contact .social-icon {
  background: #fff;
  color: #091e42;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 18px;
  font-family: Arial, sans-serif;
  flex-shrink: 0;
}

.page-contact .social-text {
  display: flex;
  flex-direction: column;
}

.page-contact .social-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: #7b95bf;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.page-contact .social-handle {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

/* ==========================================================================
   Newsletter Subscription Card & Gravity Form (#gform_wrapper_4)
   ========================================================================== */

/* 1. Outer Newsletter Section & Card */
.page-contact .newsletter-section {
  padding-bottom: 100px;
}

.page-contact .newsletter-card {
  background: #f4f7fa;
  border-radius: 16px;
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.page-contact .newsletter-content .eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-contact .newsletter-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #091e42;
  line-height: 1.2;
}

.page-contact .newsletter-content p {
  color: #64748b;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* 2. Gravity Form Wrapper Cleanups */
#gform_wrapper_4 {
  width: 100%;
}

#gform_wrapper_4 .gfield_label,
#gform_wrapper_4 .gfield_required,
#gform_wrapper_4 .gform_anchor {
  display: none !important;
}

#gform_wrapper_4 .gfield {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 3. Inline Input & Button Layout */
#gform_4 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
}

#gform_4 .gform_body {
  flex: 1;
  min-width: 220px;
}

#gform_fields_4 {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 !important;
  row-gap: 0 !important;
}

/* 4. Left Side: Email Field Box */
#gform_wrapper_4 #field_4_1 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 6px 16px;
  height: 52px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin: 0 !important;
  box-shadow: 0 4px 12px rgba(9, 30, 66, 0.03);
}

#gform_wrapper_4 #field_4_1 .ginput_container {
  width: 100%;
}

#gform_wrapper_4 #field_4_1 input[type="email"] {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 15px !important;
  color: #091e42 !important;
  outline: none !important;
  box-shadow: none !important;
}

#gform_wrapper_4 #field_4_1 input::placeholder {
  color: #64748b !important;
  opacity: 1;
}

/* 5. Right Side: Submit Button Box */
#gform_wrapper_4 .gform_footer {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: none;
  border-radius: 0 10px 10px 0;
  padding: 6px;
  height: 52px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin: 0 !important;
  box-shadow: 0 4px 12px rgba(9, 30, 66, 0.03);
}

#gform_wrapper_4 .gform_button {
  height: 100% !important;
  background-color: #155eef !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 7px !important;
  padding: 0 24px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background-color 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#gform_wrapper_4 .gform_button:hover {
  background-color: #0047ba !important;
}

/* 6. Privacy Consent Text (Tighter Spacing & Smaller Text) */
#gform_wrapper_4 #field_4_3 {
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  padding: 0 4px !important;
  font-size: 11px !important;
  color: #64748b !important;
  line-height: 1.3 !important;
  width: 100%;
}

#gform_wrapper_4 #field_4_3 a {
  color: #155eef !important;
  text-decoration: underline !important;
}

/* 7. Responsive Adjustments */
@media (max-width: 991.98px) {
  .page-contact .newsletter-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }
}

@media (max-width: 576px) {
  #gform_4 {
    flex-direction: column;
    gap: 12px;
  }

  #gform_4 .gform_body {
    width: 100%;
  }

  #gform_wrapper_4 #field_4_1 {
    border-radius: 8px !important;
    border-right: 1px solid #e2e8f0 !important;
    width: 100%;
  }

  #gform_wrapper_4 .gform_footer {
    border-radius: 8px !important;
    border-left: 1px solid #e2e8f0 !important;
    width: 100%;
  }

  #gform_wrapper_4 .gform_button {
    width: 100% !important;
  }
}

/* ==========================================================================
   Responsive Overrides
   ========================================================================== */
@media (max-width: 991.98px) {
  .page-contact .contact-section .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-contact .newsletter-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px;
  }
}

@media (max-width: 767.98px) {
  .page-contact .inner-hero-content {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    min-height: auto;
  }
  
  .page-contact .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .page-contact .contact-card {
    padding: 32px 20px;
  }
  
  .page-contact .newsletter-form {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    gap: 12px;
  }
  
  .page-contact .newsletter-form input {
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
  }
  
  .page-contact .newsletter-form button {
    width: 100%;
  }

  /* Ensures Gravity Form fields stack on small mobile screens */
  #gform_wrapper_2 .gform_fields {
    grid-template-columns: 1fr !important;
  }

  #gform_wrapper_2 .gfield--width-half {
    grid-column: span 1 !important;
  }
}

/* ==========================================================================
   8. PAGE 5 SPECIFIC STYLES (Blog / Home.php)
   ========================================================================== */
.page-blog h1, .page-blog h2, .page-blog h3 { font-family: "Space Grotesk", Inter, sans-serif; }
.section-label { font-size: 11px; font-weight: 750; letter-spacing: 0.1em; color: var(--blue-bright); text-transform: uppercase; margin-bottom: 20px; }

/* 1. Blog Hero */
.page-blog .blog-hero-wrapper {
  background-color: #f4f7fb; /* Light blue/grey background */
  width: 100%;
  margin-bottom: 80px;
}

.page-blog .blog-hero {
  padding: 80px 0;
  text-align: left; /* Aligns content to the left */
}

.page-blog .blog-hero-content {
  max-width: 650px; /* Constrains text width for readability */
}

.page-blog .blog-hero h1 {
  font-size: clamp(42px, 5vw, 56px);
  color: var(--ink);
  margin: 16px 0 24px;
}

.page-blog .blog-hero .subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
/* 2. Featured Post */
.page-blog .featured-post-section {
  padding-bottom: 80px;
}

.page-blog .featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 26, 54, 0.05);
}

.page-blog .featured-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-blog .featured-content h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 12px 0 20px;
}

.page-blog .featured-content h2 a {
  color: var(--ink);
  text-decoration: none;
}

.page-blog .featured-content .excerpt {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.page-blog .post-meta {
  font-size: 13px;
  color: #8fa0ba;
  font-weight: 600;
  margin-bottom: 24px;
}

.page-blog .read-more-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-bright);
  text-decoration: none;
}

/* Ensure the outer container stretches to the full height of the grid cell */
.page-blog .featured-image {
  height: 100%;
  width: 100%;
  display: block;
}

/* Ensure the link or placeholder div also takes up the full height */
.page-blog .featured-image a,
.page-blog .featured-image .image-placeholder {
  display: block;
  height: 100%;
  width: 100%;
}

/* Force the image to fill the space and crop beautifully */
.page-blog .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Stretches the image to boundaries without warping */
  object-position: center; /* Keeps the most important part of the image visible */
  display: block;
}

/* 3. Latest Articles Grid */
.page-blog .latest-articles-section {
  padding-bottom: 100px;
}

.page-blog .latest-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.page-blog .latest-header h2 {
  font-size: 32px;
  margin: 0;
}

.page-blog .article-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-blog .filter-tag {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  background: #fff;
}

.page-blog .filter-tag.active {
  background: var(--blue-bright);
  color: #fff;
  border-color: var(--blue-bright);
}

/*.page-blog button.filter-tag {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
  outline: none;
}*/

.page-blog .articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-blog .grid-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-blog .grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(7, 26, 54, 0.08);
}

.page-blog .card-top-accent {
  background: var(--blue-bright);
  height: 90px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.page-blog .card-number {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.page-blog .card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-blog .card-content h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 12px 0 16px;
}

.page-blog .card-content h3 a {
  color: var(--ink);
  text-decoration: none;
}

.page-blog .card-content .excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.page-blog .card-footer {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-bright);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* 4. Alternative Lighter Newsletter Card */
.page-blog .newsletter-inline-section {
  padding-bottom: 100px;
}

.page-blog .newsletter-light-card {
  background: #f4f7fa; /* Light grey/blue to contrast with the dark footer */
  border: 1px solid #e1e8f0;
  border-radius: 16px;
  padding: 50px 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

.page-blog .newsletter-text h2 {
  font-size: 32px;
  color: var(--ink);
  margin: 12px 0;
}

.page-blog .newsletter-text p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

/* ==========================================================================
   Insights Page Newsletter Subscription Form (#gform_wrapper_5)
   ========================================================================== */

/* 1. Reset Gravity Forms Field Defaults & Hide Labels */
#gform_wrapper_5 .gfield_label,
#gform_wrapper_5 .gfield_required,
#gform_wrapper_5 .gform_anchor {
  display: none !important;
}

#gform_wrapper_5 .gfield {
  margin: 0 !important;
  padding: 0 !important;
}

/* 2. Flex Container Layout */
#gform_5 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

/* Unwrap Gravity Forms markup containers */
#gform_5 .gform_body,
#gform_wrapper_5 #gform_fields_5 {
  display: contents !important;
}

/* 3. Left Side: Standalone Email Input Box */
#gform_wrapper_5 #field_5_1 {
  order: 1;
  flex: 1;
  min-width: 220px;
  margin: 0 !important;
}

#gform_wrapper_5 #field_5_1 .ginput_container {
  width: 100%;
}

#gform_wrapper_5 #input_5_1 {
  width: 100% !important;
  height: 48px !important;
  background: #ffffff !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  color: #101828 !important;
  outline: none !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
  box-sizing: border-box !important;
}

#gform_wrapper_5 #input_5_1::placeholder {
  color: #667085 !important;
  opacity: 1;
}

#gform_wrapper_5 #input_5_1:focus {
  border-color: #e5533d !important;
  box-shadow: 0 0 0 3px rgba(229, 83, 61, 0.15) !important;
}

/* 4. Right Side: Separate Coral Submit Button */
#gform_wrapper_5 .gform_footer {
  order: 2;
  margin: 0 !important;
  padding: 0 !important;
}

#gform_wrapper_5 #gform_submit_button_5 {
  height: 48px !important;
  background-color: #e5533d !important; /* Coral Accent Button */
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 24px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background-color 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
}

#gform_wrapper_5 #gform_submit_button_5:hover {
  background-color: #cd432e !important;
}

/* 5. Bottom: Privacy Consent Text */
#gform_wrapper_5 #field_5_3 {
  order: 3;
  width: 80% !important;
  margin-top: 2px !important; /* ~10px total gap below the field row */
  padding: 0 2px !important;
  font-size: 12px !important;
  color: #667085 !important;
  line-height: 1.4 !important;
}

#gform_wrapper_5 #field_5_3 a {
  color: #e5533d !important;
  text-decoration: underline !important;
}

#gform_wrapper_5 #field_5_3 a:hover {
  color: #cd432e !important;
}

/* 6. Mobile Responsiveness */
@media (max-width: 576px) {
  #gform_5 {
    flex-direction: column;
    gap: 12px;
  }

  #gform_wrapper_5 #field_5_1,
  #gform_wrapper_5 .gform_footer,
  #gform_wrapper_5 #gform_submit_button_5 {
    width: 100% !important;
  }
}
/* Responsive Overrides */
@media (max-width: 991.98px) {
  .page-blog .featured-card {
    grid-template-columns: 1fr;
  }
  .page-blog .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-blog .newsletter-light-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px;
  }
}

@media (max-width: 767.98px) {
  .page-blog .articles-grid {
    grid-template-columns: 1fr;
  }
  .page-blog .input-row {
    flex-direction: column;
  }
  .page-blog .btn-subscribe {
    padding: 14px 24px;
  }
}
/* ==========================================================================
   Footer Newsletter Subscription Form (#gform_wrapper_3)
   ========================================================================== */

/* 1. Reset Defaults & Unhide Necessary Elements */
#gform_wrapper_3 .gfield_label,
#gform_wrapper_3 .gfield_required,
#gform_wrapper_3 .gform_anchor {
  display: none !important;
}

#gform_wrapper_3 .gfield {
  margin: 0 !important;
  padding: 0 !important;
}

/* 2. Flex Layout Container */
#gform_3 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 85%;
  padding-top: 15px;
}

/* Flatten body & fields wrappers so children become direct flex items */
#gform_3 .gform_body,
#gform_wrapper_3 #gform_fields_3 {
  display: contents !important;
}

/* 3. Order 1: Email Field Container (Left Side) */
#gform_wrapper_3 #field_3_1 {
  order: 1;
  flex: 1;
  min-width: 200px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-right: none;
  border-radius: 6px 0 0 6px;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

#gform_wrapper_3 #field_3_1 .ginput_container {
  width: 100%;
}

#gform_wrapper_3 #input_3_1 {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 14px !important;
  padding: 0 0 0 10px !important;
  height: 100% !important;
}

#gform_wrapper_3 #input_3_1::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  opacity: 1;
}

/* 4. Order 2: Submit Button (Right Side) */
#gform_wrapper_3 .gform_footer {
  order: 2;
  margin: 0 !important;
  padding: 0 !important;
  height: 48px;
  box-sizing: border-box;
}

#gform_wrapper_3 #gform_submit_button_3 {
  height: 48px !important;
  background-color: #ffffff !important;
  color: #0d3880 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-left: none !important;
  border-radius: 0 6px 6px 0 !important;
  padding: 0 24px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#gform_wrapper_3 #gform_submit_button_3:hover {
  background-color: #f0f4ff !important;
  color: #002266 !important;
}

/* 5. Order 3: Privacy Consent Text (Below Bar) */
#gform_wrapper_3 #field_3_2 {
  order: 3;
  width: 80% !important;
  margin-top: 8px !important;
  padding: 0 2px !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.65) !important;
  line-height: 1.4 !important;
}

#gform_wrapper_3 #field_3_2 a {
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: underline !important;
  font-size: 11px !important;
  display: inline;
}

#gform_wrapper_3 #field_3_2 a:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* 6. Mobile Responsive Adjustments */
@media (max-width: 576px) {
  #gform_wrapper_3 #field_3_1 {
    width: 100%;
    border-radius: 6px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
  }

  #gform_wrapper_3 .gform_footer {
    width: 100%;
    margin-top: 8px !important;
  }

  #gform_wrapper_3 #gform_submit_button_3 {
    width: 100% !important;
    border-radius: 6px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
  }
}

/* ==========================================================================
   9. SINGLE POST STYLES (single.php)
   ========================================================================== */

/* 1. Post Hero */
.page-single-post .single-hero {
  background: linear-gradient(135deg, #091e42 0%, #003380 100%);
  color: #ffffff;
  padding: 100px 0 80px;
  margin-bottom: 60px;
}

.page-single-post .single-hero-content {
  max-width: 800px;
}

.page-single-post .single-hero h1 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
}

.page-single-post .single-excerpt p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.page-single-post .single-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  padding-top: 15px;
}

.page-single-post .single-meta span {
  color: #ffffff;
}

/* 2. Layout (Grid) */
.page-single-post .single-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
}

/* 3. Main Content Formatting */
.page-single-post .single-main-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.page-single-post .single-main-content h2,
.page-single-post .single-main-content h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  color: var(--ink);
  margin: 40px 0 20px;
}

.page-single-post .single-main-content h2 {
  font-size: 28px;
}

.page-single-post .single-main-content h3 {
  font-size: 22px;
}

.page-single-post .single-main-content p,
.page-single-post .single-main-content ul,
.page-single-post .single-main-content ol {
  margin-bottom: 24px;
}

.page-single-post .single-main-content ul {
  padding-left: 20px;
  list-style-type: disc;
}

.page-single-post .single-main-content li {
  margin-bottom: 10px;
}

.page-single-post .single-main-content a {
  color: var(--blue-bright);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* "In this article" / Highlight Box (Use this class in the WP Block Editor) */
.page-single-post .highlight-box {
  background-color: #f4f7fb;
  border-top: 4px solid #00d2ff; /* Cyan top border */
  padding: 40px;
  border-radius: 0 0 8px 8px;
  margin-bottom: 40px;
}

.page-single-post .highlight-box h3 {
  margin-top: 0;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
}

/* 4. Sidebar */
.page-single-post .single-sidebar .sidebar-inner {
  position: sticky;
  top: 100px; /* Keeps sidebar in view while scrolling */
}

.page-single-post .share-widget {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.page-single-post .share-icons {
  display: flex;
  gap: 12px;
}

.page-single-post .share-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f7fa;
  color: var(--ink);
  border-radius: 50%;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s;
}

.page-single-post .share-icons a:hover {
  background: var(--line);
}

.page-single-post .sidebar-cta {
  background: #091e42;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
}

.page-single-post .sidebar-cta h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 20px;
  margin: 0 0 12px 0;
  color: #fff;
}

.page-single-post .sidebar-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-single-post .btn-sidebar-cta {
  color: #00d2ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

/* 5. Related Posts */
.page-single-post .related-posts-section {
  border-top: 1px solid var(--line);
  padding: 80px 0;
}

.page-single-post .related-header {
  margin-bottom: 40px;
}

.page-single-post .related-header h2 {
  font-size: 32px;
  font-family: "Space Grotesk", Inter, sans-serif;
}

.page-single-post .minimal-card {
  border: none;
  border-top: 3px solid var(--line);
  border-radius: 0;
  padding-top: 20px;
  background: transparent;
}

.page-single-post .minimal-card:hover {
  transform: none;
  box-shadow: none;
  border-top-color: var(--blue-bright);
}

.page-single-post .minimal-card .card-content {
  padding: 0;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
  .page-single-post .single-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-single-post .single-sidebar .sidebar-inner {
    position: static;
  }
}
/* ==========================================================================
   Classic Editor Callout Boxes (Short Answer & Takeaways)
   ========================================================================== */

/* Shared Eyebrow Styling */
.page-single-post .post-callout .callout-eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: #0047ba; /* Bright blue */
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 12px;
}

/* 1. Short Answer Box (Light Blue with Cyan Top Border) */
.page-single-post .short-answer-box {
  background-color: #f4f7fb;
  border-top: 3px solid #00d2ff; /* Cyan top border */
  padding: 32px 40px;
  border-radius: 0 0 8px 8px;
  margin-bottom: 24px;
}

.page-single-post .short-answer-box p:last-child {
  margin-bottom: 0; /* Removes extra spacing at the bottom */
}
/* 2. Key Takeaways Box (Outlined with Left Border Accent) */
.page-single-post .takeaways-box {
  background-color: #ffffff;
  border: 1px solid #e1e8f0;
  border-left: 3px solid #0047ba; /* Navy/Blue left border */
  padding: 32px 40px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 40px;
}

.page-single-post .takeaways-box ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.page-single-post .takeaways-box li {
  margin-bottom: 12px;
  color: var(--ink, #091e42);
}

.page-single-post .takeaways-box li:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments for mobile */
@media (max-width: 767.98px) {
  .page-single-post .short-answer-box,
  .page-single-post .takeaways-box {
    padding: 24px;
  }
}
/* ==========================================================================
   Sign Up & Checkout Page Structure (#gform_wrapper_6)
   ========================================================================== */

/* 1. Outer Container Boundaries */
.shell {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.signup-page-wrapper {
  width: 100%;
  background-color: #f4f7fa;
  padding-bottom: 100px;
}

/* 2. Desktop 2-Column Grid Fix */
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px; /* minmax stops input overflow */
  gap: 32px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.checkout-main-col {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(9, 30, 66, 0.05);
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
  min-width: 0; /* Prevents grid column blowout */
}

/* Order Summary Sidebar Container */
.order-summary-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  border-top: 5px solid #155eef;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(9, 30, 66, 0.05);
  position: sticky;
  top: 30px;
  box-sizing: border-box;
}

/* 4. Mobile Breakpoint Fallback */
@media (max-width: 991px) {
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .gform-theme--framework#gform_wrapper_6 .gfield--width-half {
    grid-column: span 12 !important;
  }

  .gform-theme--framework#gform_wrapper_6 .gfield_radio {
    grid-template-columns: 1fr !important;
  }

  .gform-theme--framework#gform_wrapper_6 .ginput_complex .address_city,
  .gform-theme--framework#gform_wrapper_6 .ginput_complex .address_state,
  .gform-theme--framework#gform_wrapper_6 .ginput_complex .address_zip {
    grid-column: span 6 !important;
  }
}
/* ==========================================================================
   Custom SaaS Login Page Styling (Matches Pricing Page Aesthetic)
   ========================================================================== */

/* Main Container Background & Alignment */
.custom-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background-color: #f7f9fc; /* Soft gray background like your layout sections */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 40px 20px;
}

/* Central Login Card Component */
.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px; /* Aligns with the width proportions of your pricing cards */
    padding: 50px 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 71, 186, 0.05), 0 8px 10px -6px rgba(0, 71, 186, 0.05); /* Soft blue-tinted shadow */
    text-align: left;
}

/* Typography Overrides */
.login-card h2 {
    color: #0b1a30; /* Dark primary slate text */
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-subtitle {
    color: #4a5568;
    font-size: 15px;
    margin-bottom: 32px;
}

/* System Message Badges */
.login-error-msg {
    background-color: #fff5f5;
    border-left: 4px solid #e53e3e;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 24px;
}

.login-success-msg {
    background-color: #ebf8ff;
    border-left: 4px solid #3182ce;
    color: #2b6cb0;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 24px;
}

/* Form Layout Styling */
#saas-login-form {
    margin-bottom: 20px;
}

#saas-login-form p {
    margin-bottom: 20px;
}

#saas-login-form label {
    display: block;
    color: #2d3748;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Input Fields (Styled like standard professional form fields) */
#saas-login-form input[type="text"],
#saas-login-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1.5px solid #cbd5e0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1a202c;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

#saas-login-form input[type="text"]:focus,
#saas-login-form input[type="password"]:focus {
    outline: none;
    border-color: #0047ba; /* Using the bright accent blue from your top navbar button */
    box-shadow: 0 0 0 3px rgba(0, 71, 186, 0.15);
}

/* Remember Me Checkbox Options Alignment */
.login-remember {
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    margin-top: -4px;
}

#saas-login-form input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e0;
    cursor: pointer;
    margin: 0;
}

/* Form Action CTA Button (Matches your "Select Plan" primary buttons) */
#saas-login-form input[type="submit"] {
    width: 100%;
    background-color: #0047ba; /* Exact primary blue from pricing CTAs */
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    margin-top: 12px;
}

#saas-login-form input[type="submit"]:hover {
    background-color: #002d72; /* Dark deep blue hue on hover */
}

#saas-login-form input[type="submit"]:active {
    transform: scale(0.98);
}

/* Secondary Navigation Footer Anchor Links */
.login-footer-links {
    text-align: center;
    border-top: 1px solid #edf2f7;
    padding-top: 20px;
    margin-top: 24px;
}

.lost-password-link {
    color: #0047ba;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lost-password-link:hover {
    color: #002d72;
    text-decoration: underline;
}

/* Handle Layout Grid Integrity across Small Devices */
@media (max-width: 480px) {
    .login-card {
        padding: 35px 24px;
    }
}
/* Mirror Login inputs and button styling for the recovery form elements */
#saas-lostpassword-form p { margin-bottom: 20px; }
#saas-lostpassword-form label { display: block; color: #2d3748; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
#saas-lostpassword-form input[type="text"] {
    width: 100%; padding: 12px 16px; font-size: 16px; border: 1.5px solid #cbd5e0; border-radius: 8px; box-sizing: border-box; transition: all 0.2s;
}
#saas-lostpassword-form input[type="text"]:focus { outline: none; border-color: #0047ba; box-shadow: 0 0 0 3px rgba(0, 71, 186, 0.15); }
#saas-lostpassword-form input[type="submit"] {
    width: 100%; background-color: #0047ba; color: #ffffff; font-size: 16px; font-weight: 600; padding: 14px 24px; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; margin-top: 12px;
}
#saas-lostpassword-form input[type="submit"]:hover { background-color: #002d72; }

/* Mirror layout inputs and button sizing for the password creation elements */
#saas-resetpass-form p { margin-bottom: 20px; }
#saas-resetpass-form label { display: block; color: #2d3748; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
#saas-resetpass-form input[type="password"] {
    width: 100%; padding: 12px 16px; font-size: 16px; border: 1.5px solid #cbd5e0; border-radius: 8px; box-sizing: border-box; transition: all 0.2s;
}
#saas-resetpass-form input[type="password"]:focus { outline: none; border-color: #0047ba; box-shadow: 0 0 0 3px rgba(0, 71, 186, 0.15); }
#saas-resetpass-form input[type="submit"] {
    width: 100%; background-color: #0047ba; color: #ffffff; font-size: 16px; font-weight: 600; padding: 14px 24px; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; margin-top: 12px;
}
#saas-resetpass-form input[type="submit"]:hover { background-color: #002d72; }
