/*
Theme Name: Jo Garner Divi Child
Theme URI: https://jogarner.com
Description: Custom child theme for Jo Garner - extends Divi with custom header, footer, and homepage
Author: Jo Garner
Author URI: https://jogarner.com
Template: Divi
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jogarner-child
*/

/* Import Parent Divi Theme Styles */
@import url("../Divi/style.css");

/* --- OVERRIDE DIVI DEFAULTS --- */

/* HEADER/FOOTER OVERRIDE STYLES ONLY */
/* These styles will be applied via functions.php for targeted header/footer hiding */

/* --- Custom Styles for Jo Garner Site --- */

/* --- 1. Global Styles & Variables --- */
:root {
  --hero-blue: #0f71c3;
  --dark-blue: #09406e;
  --light-blue: #eef8ff;
  --text-light: #ffffff;
  --text-dark: #333333;
}

/* Only apply custom styles to homepage with custom theme class */
body.jogarner-custom-theme * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.jogarner-custom-theme {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif !important;
  line-height: 1.6 !important;
  color: var(--text-dark) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff !important;
}

body.jogarner-custom-theme h1,
body.jogarner-custom-theme h2,
body.jogarner-custom-theme h3,
body.jogarner-custom-theme h4,
body.jogarner-custom-theme h5,
body.jogarner-custom-theme h6 {
  font-family: "Poppins", sans-serif !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
}

body.jogarner-custom-theme a {
  text-decoration: none;
  color: inherit;
}

body.jogarner-custom-theme img {
  max-width: 100%;
  height: auto;
  display: block;
}

body.jogarner-custom-theme p {
  color: var(--text-dark) !important;
  font-family: "Roboto", sans-serif !important;
}

.container {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* --- 2. Button Styles --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}

.btn-light {
  background: var(--text-light);
  color: var(--hero-blue);
  border: 2px solid var(--text-light);
  font-size: 1rem;
  padding: 13px 28px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}
.btn-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--hero-blue);
  color: var(--text-light);
  border: 2px solid var(--hero-blue);
  box-shadow: 0 2px 8px rgba(15, 113, 195, 0.15);
}
.btn-dark:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  box-shadow: 0 4px 12px rgba(15, 113, 195, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--hero-blue);
  border: 2px solid var(--hero-blue);
}
.btn-outline:hover {
  background: var(--hero-blue);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(15, 113, 195, 0.2);
  transform: translateY(-2px);
}

.btn-nav-connect {
  background: var(--hero-blue);
  color: var(--text-light);
  border: 2px solid var(--hero-blue);
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: 4px;
  font-weight: 500;
}
.btn-nav-connect:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.8rem;
}
/* --- 3. Header Section --- */
.header-container {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: auto;
}

.main-header {
  background: #fff;
  padding: 15px 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  background: transparent;
  border: none;
  width: 48px;
  height: 48px;
  position: relative;
  transition: transform 0.2s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.hamburger:hover {
  transform: scale(1.05);
}

.hamburger:active {
  transform: scale(0.95);
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--hero-blue);
  margin: 3px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.hamburger.active {
  position: fixed;
  right: 20px;
  top: 15px;
}

.hamburger.active span {
  background: var(--hero-blue);
}

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

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

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

.logo-area {
  display: flex;
  align-items: center;
}

.logo-area img {
  height: 50px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.main-nav li a {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  transition: color 0.3s ease;
  position: relative;
}
.main-nav li a:hover {
  color: var(--hero-blue);
}
.main-nav li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hero-blue);
  transition: width 0.3s ease;
}
.main-nav li a:hover::after {
  width: 100%;
}

.sub-header {
  background: #222; /* Darker bar */
  color: #eee;
  padding: 8px 0;
  font-size: 0.8rem;
}

.sub-header a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.sub-header a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.sub-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-header .social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.sub-header .social-icons a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.sub-header .social-icons a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  text-decoration: none;
}

.sub-header .social-icons svg {
  width: 18px;
  height: 18px;
}

/* --- 4. Hero Section --- */
body.jogarner-custom-theme .hero {
  background: var(--hero-blue) !important;
  color: var(--text-light) !important;
  padding: 80px 0 !important;
  position: relative;
}

body.jogarner-custom-theme .hero * {
  color: var(--text-light) !important;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
}

.hero-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 520px;
}

.award-badges {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.award-badge {
  width: 85px;
  background: white;
  padding: 5px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.award-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.award-badge img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}

/* --- 5. Main Content Section (Loans) --- */
.main-content {
  padding: 80px 0;
  background: #fff;
}

.main-content .container {
  display: flex;
  gap: 50px;
}

.main-content .left-col {
  flex: 1.5;
}

.main-content .right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: center;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.plan-item {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.plan-item .plan-image {
  background: #f5f5f5;
}

.plan-item .plan-image img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.plan-item p {
  padding: 14px 12px;
  text-align: center;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--hero-blue);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.find-plan-text h2 {
  font-size: 2.2rem;
  margin-bottom: 22px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

.find-plan-text .slug-line {
  font-size: 1.1rem;
  color: var(--hero-blue);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.5;
}

.find-plan-text p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

.find-plan-text .buttons {
  display: flex;
  gap: 12px;
}

/* --- 6. Download CTA Section (NEW) --- */
.download-cta {
  padding: 60px 0 80px 0;
  background: #fff;
}

.download-cta .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.download-cta .cta-text-col {
  flex: 1;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}

.download-cta .cta-text-col p {
  margin-bottom: 15px;
}

.download-cta .cta-text-col .disclaimer {
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
}

.download-cta .cta-text-col a {
  color: var(--hero-blue);
  font-weight: 600;
  text-decoration: none;
}
.download-cta .cta-text-col a:hover {
  text-decoration: underline;
}

.download-cta .cta-form-col {
  flex: 1;
}

.cta-box {
  background: linear-gradient(
    135deg,
    var(--hero-blue) 0%,
    var(--dark-blue) 100%
  );
  color: var(--text-light);
  padding: 36px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 113, 195, 0.25);
}

.cta-box h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.cta-box p {
  font-size: 0.8rem;
  margin-bottom: 12px;
  line-height: 1.5;
  text-align: center;
}

.cta-box form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Increased gap */
  margin-top: 15px;
}

.cta-box input[type="email"],
.cta-box input[type="text"] {
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  border-radius: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  color: #fff;
  transition: all 0.3s ease;
}

.cta-box input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

.cta-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.cta-box .btn-submit {
  background: var(--text-light);
  color: var(--hero-blue);
  border: 2px solid var(--text-light);
  width: 100%;
  padding: 14px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  letter-spacing: 0.02em;
}
.cta-box .btn-submit:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-box .disclaimer {
  font-size: 0.65rem;
  opacity: 0.85;
  margin-top: 12px;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}

/* --- 7. Podcast & Blog Section (MODIFIED) --- */
.podcast-blog {
  background: #fff;
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-header .award-winning {
  font-size: 1rem;
  color: var(--hero-blue);
  font-style: italic;
  font-weight: 500;
  margin: 0;
}

.podcast-intro {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.podcast-image {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.podcast-text {
  flex: 1;
}

.podcast-text p {
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

.podcast-text p.intro-text {
  color: var(--hero-blue);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
}

.podcast-text .buttons {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

.podcast-text .btn {
  white-space: nowrap;
  font-size: 0.85rem;
  padding: 11px 18px;
}

.podcast-text .credit-guide-note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--hero-blue);
  font-weight: 500;
  font-style: italic;
}

.broadcast-info {
  background: #f8f9fa;
  padding: 25px 30px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1000px;
  text-align: center;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.broadcast-info .kwam-logo {
  max-width: 180px;
  margin: 0 auto 15px;
}

.broadcast-info .kwam-logo img {
  width: 100%;
  height: auto;
}

.broadcast-info .broadcast-times {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #555;
}

.broadcast-info .broadcast-times a {
  color: var(--hero-blue);
  text-decoration: none;
  font-weight: 500;
}

.broadcast-info .broadcast-times a:hover {
  text-decoration: underline;
}

.broadcast-info .subscribe-link {
  margin-top: 15px;
}

.broadcast-info .subscribe-link a {
  color: var(--hero-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.broadcast-info .subscribe-link a:hover {
  text-decoration: underline;
}

.podcast-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}

.podcast-tab {
  padding: 12px 30px;
  background: #f0f0f0;
  border-radius: 25px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.podcast-tab:hover {
  background: #e5e5e5;
}

.podcast-tab.active {
  background: var(--hero-blue);
  color: white;
  border-color: var(--hero-blue);
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-top: 0;
}

.blog-post-card {
  display: flex;
  background: #eef8ff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(15, 113, 195, 0.1);
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 113, 195, 0.15);
  border-color: rgba(15, 113, 195, 0.2);
}

.blog-image {
  flex: 0 0 170px;
  background: #e5e5e5;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-text {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-text p {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.45;
  color: var(--text-dark);
}

.blog-text span {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 14px;
  display: block;
  font-weight: 400;
}

.blog-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.blog-buttons .btn-dark {
  background: #007bff;
  border-color: #007bff;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
}

.blog-buttons .btn-dark::after {
  content: "▶";
  font-size: 0.7em;
  margin-left: 2px;
}

.blog-buttons .btn-dark:hover {
  background: #0056b3;
  border-color: #0056b3;
  box-shadow: 0 5px 16px rgba(0, 123, 255, 0.3);
}

.blog-buttons .btn-outline {
  border-radius: 24px;
  padding: 10px 20px;
}

/* --- 8. Book Promo Section --- */
.book-promo {
  background: var(--dark-blue);
  color: var(--text-light);
  padding: 80px 0;
}

.book-promo .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.book-image {
  flex: 1;
  max-width: 300px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.book-text {
  flex: 2;
}

.book-text h2 {
  font-size: 2rem;
  line-height: 1.35;
  margin-bottom: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.book-text p {
  margin-bottom: 28px;
  opacity: 0.94;
  font-size: 1rem;
  line-height: 1.7;
}

.store-buttons {
  display: flex;
  gap: 15px;
}

.store-buttons a {
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.store-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.store-buttons img {
  height: 48px;
  width: auto;
  display: block;
}

/* --- 9. Final CTA Section --- */
.final-cta {
  width: 100%;
  margin: 4rem 0;
}

.final-cta .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-box-wrapper {
  position: relative;
}

.final-cta .cta-content {
  background-color: var(--dark-blue);
  padding: 3rem;
  position: relative;
  z-index: 1;
}

.final-cta .cta-text {
  color: var(--text-light);
  width: 60%;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.final-cta .cta-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.final-cta .cta-text p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
  opacity: 0.95;
}

.final-cta .cta-button {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: var(--dark-blue);
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  border: 2px solid #fff;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.final-cta .cta-button:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.final-cta .cta-bottom-bar {
  background-color: var(--hero-blue);
  height: 50px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.final-cta .cta-image {
  position: absolute;
  right: -6rem;
  bottom: -1rem;
  width: 95%;
  max-width: 650px;
  z-index: 2;
}

.final-cta .cta-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- 10. Footer Section --- */
footer {
  background: var(--hero-blue);
  color: #e8e8e8;
  padding: 35px 0;
  font-size: 0.75rem;
}

.footer-disclaimers {
  margin-bottom: 25px;
  opacity: 0.85;
  line-height: 1.55;
}

.footer-disclaimers p {
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 18px;
  opacity: 0.9;
}

.footer-links a {
  margin-left: 18px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* --- 11. Responsive Adjustments --- */

@media (max-width: 900px) {
  .main-header {
    padding: 15px 0;
  }

  .main-header .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .hamburger {
    display: flex;
  }

  .logo-area img {
    height: 45px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 100px 40px 40px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow-y: auto;
  }

  .main-nav::before {
    content: "Menu";
    position: absolute;
    top: 30px;
    left: 40px;
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hero-blue);
    opacity: 0.6;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: 35px;
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(15, 113, 195, 0.08);
    transition: background 0.2s ease;
  }

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

  .main-nav li:hover {
    background: rgba(15, 113, 195, 0.03);
  }

  .main-nav li a {
    display: block;
    padding: 18px 12px;
    text-align: left;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
  }

  .main-nav li a:hover {
    color: var(--hero-blue);
    padding-left: 18px;
  }

  .main-nav li a::after {
    display: none;
  }

  .btn-nav-connect {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15, 113, 195, 0.2);
  }

  .sub-header {
    padding: 12px 0;
  }

  .sub-header .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .sub-header .contact-info {
    font-size: 0.75rem;
  }

  .sub-header .social-icons {
    justify-content: center;
  }

  /* Mobile menu overlay */
  body.menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      135deg,
      rgba(9, 64, 110, 0.75) 0%,
      rgba(15, 113, 195, 0.65) 100%
    );
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    animation: fadeInOverlay 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body.menu-open .main-nav {
    z-index: 10000;
  }

  body.menu-open .hamburger {
    z-index: 10001;
  }

  @keyframes fadeInOverlay {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    position: relative;
  }

  .hero-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
  }

  .hero-text {
    width: 100%;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    max-width: 100%;
  }

  .award-badges {
    justify-content: center;
    margin-top: 30px;
    gap: 12px;
  }

  .award-badge {
    width: 75px;
  }

  .main-content .container {
    flex-direction: column;
  }

  .main-content .left-col {
    order: 2;
  }

  .main-content .right-col {
    order: 1;
    margin-bottom: 30px;
  }

  .download-cta .container {
    flex-direction: column;
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .podcast-intro {
    flex-direction: column;
    text-align: center;
  }

  .book-promo .container {
    flex-direction: column;
    text-align: center;
  }

  .book-image {
    margin: 0 auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .final-cta {
    margin: 2rem 0 0 0;
  }

  .final-cta .container {
    padding: 0;
  }

  .final-cta .cta-content {
    border-radius: 0;
    text-align: center;
  }

  .final-cta .cta-text {
    width: 100%;
    min-height: auto;
    padding: 2rem;
    align-items: center;
  }

  .final-cta .cta-text h2 {
    font-size: 2.2rem;
  }

  .final-cta .cta-image {
    position: relative;
    right: auto;
    bottom: auto;
    width: 80%;
    max-width: 300px;
    margin: -3rem auto 0;
    z-index: 2;
  }

  .final-cta .cta-bottom-bar {
    height: 50px;
    border-radius: 0;
    margin-top: -25px;
    z-index: 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .logo-area img {
    height: 40px;
  }

  .main-nav {
    width: 90%;
    max-width: 320px;
    padding: 90px 30px 30px;
  }

  .main-nav::before {
    left: 30px;
    font-size: 0.7rem;
  }

  .main-nav li a {
    font-size: 1rem;
    padding: 16px 12px;
  }

  .main-nav li a:hover {
    padding-left: 16px;
  }

  .btn-nav-connect {
    width: 100%;
    font-size: 0.95rem;
    padding: 15px 20px;
  }

  .hamburger.active {
    right: 15px;
    top: 15px;
  }

  .hero-image {
    max-width: 100%;
    margin-bottom: 25px;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .plans-grid {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    grid-template-columns: none;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .plan-item {
    min-width: 200px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .blog-post-card {
    flex-direction: column;
  }

  .blog-image {
    flex-basis: 150px;
  }

  .find-plan-text .buttons,
  .podcast-text .buttons {
    flex-direction: column;
  }

  .award-badge {
    width: 65px;
  }

  .award-badges {
    gap: 12px;
    margin-top: 25px;
  }

  .broadcast-info {
    padding: 20px;
    margin: 30px auto;
  }

  .podcast-tabs {
    gap: 8px;
    margin-bottom: 25px;
  }

  .podcast-tab {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* --- 12. Inner Pages Header Order Overrides --- */
/* Ensure inner pages (non-home) render in this order:
   1) Main header (logo/hamburger)
   2) Sub-header (phone/email/social bar)
   3) Main content
*/
#page {
  display: flex;
  flex-direction: column;
}

.header-container {
  order: 1;
}

.sub-header {
  order: 2;
  clear: both;
}

main.site-main {
  order: 3;
}

/* Mobile view: Remove the flex ordering to let elements stack naturally */
@media (max-width: 600px) {
  #page {
    display: block;
  }

  .header-container,
  .sub-header,
  main.site-main {
    order: initial;
  }

/* Disable the blue/blur overlay on all inner pages (keep it on homepage) */

/* If your overlay is from body::before (your original CSS) */
@media (max-width: 900px) {
  body:not(.home).menu-open::before {
    content: none !important;
    display: none !important;
  }
}

/* If you tried the #et-boc::before version earlier */
@media (max-width: 900px) {
  body:not(.home).menu-open #et-boc::before {
    content: none !important;
    display: none !important;
  }
}

/* If you added the real element overlay (#jg-menu-overlay) */
@media (max-width: 900px) {
  body:not(.home) #jg-menu-overlay {
    display: none !important;
  }
}

	