/* =========================================================
   Miller Home Protection Law - Main Stylesheet
   File: css/styles.css
   ========================================================= */

/* Base Reset */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #243b53;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #7c5f12;
}

a:hover {
  color: #102a43;
}

p {
  font-size: 17px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.site-header {
  background: #102a43;
  color: #ffffff;
  border-bottom: 4px solid #d4af37;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

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

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.site-logo {
  display: block;
  max-height: 95px;
  width: auto;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
}

.logo,
.logo a,
.site-logo,
.site-logo a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.2;
}

.logo span,
.site-logo span {
  display: block;
  color: #d4af37;
  font-size: 14px;
  font-weight: normal;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}

.main-nav a:hover,
.main-nav a.active {
  color: #d4af37;
}

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

.button {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
}

.primary-button {
  background: #d4af37;
  color: #102a43;
  border-color: #d4af37;
}

.primary-button:hover {
  background: #ffffff;
  color: #102a43;
  border-color: #d4af37;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
}

.secondary-button:hover {
  background: #ffffff;
  color: #102a43;
  border-color: #ffffff;
}

.cta-phone-button {
  background: #102a43;
  color: #ffffff;
  border-color: #102a43;
}

.cta-phone-button:hover {
  background: #d4af37;
  color: #102a43;
  border-color: #d4af37;
}

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

.hero {
  background:
    linear-gradient(rgba(16, 42, 67, 0.88), rgba(16, 42, 67, 0.88)),
    url("../images/hero-home.webp") center/cover no-repeat;
  color: #ffffff;
  padding: 95px 0;
}

.hero-content {
  max-width: 980px;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  margin: 10px 0 18px;
  color: #ffffff;
}

.hero-subtitle {
  max-width: 880px;
  font-size: 21px;
  line-height: 1.55;
  margin: 0 0 28px;
  color: #eef2f7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.hero-issue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 950px;
  margin: 30px 0 0;
}

.hero-issue-card {
  display: block;
  padding: 20px;
  background: #f5f7fa;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-left: 5px solid #d4af37;
  border-radius: 10px;
  color: #102a43;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.hero-issue-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: #102a43;
}

.hero-issue-card span {
  display: block;
  color: #486581;
  font-size: 15px;
  line-height: 1.5;
}

.hero-issue-card:hover {
  background: #fff8e5;
  color: #102a43;
  transform: translateY(-2px);
}

/* =========================================================
   Shared Section Styles
   ========================================================= */

.eyebrow {
  margin: 0 0 10px;
  color: #d4af37;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.dark-eyebrow {
  color: #7c5f12;
}

.problem-section,
.faq-section,
.attorney-section {
  padding: 52px 0;
  background: #ffffff;
}


.services-section {
  padding: 52px 0;
  background: #f5f7fa;
}

.problem-section h2,
.services-section h2,
.faq-section h2,
.attorney-section h2,
.cta-section h2,
.planning-paths-section h2,
.probate-calculator-section h2 {
  font-size: 36px;
  line-height: 1.2;
  color: #102a43;
  margin: 0 0 18px;
}

.section-intro {
  max-width: 900px;
  font-size: 18px;
  color: #486581;
  margin: 0 0 18px;
}

.section-button {
  margin-top: 28px;
}

/* =========================================================
   Cards / Grids
   ========================================================= */

.problem-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-card,
.service-card,
.faq-item {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(16, 42, 67, 0.06);
}

.problem-card h3,
.service-card h3,
.faq-item h3 {
  color: #102a43;
  line-height: 1.25;
  margin: 0 0 10px;
}

.problem-card p,
.service-card p,
.faq-item p {
  margin-bottom: 0;
}

.service-card {
  border-top: 5px solid #d4af37;
}

.service-card a {
  display: inline-block;
  margin-top: 14px;
  font-weight: bold;
  text-decoration: none;
}

/* =========================================================
   Life Plan / Dark Section
   ========================================================= */

.life-plan-section {
  padding: 52px 0;
  background: #102a43;
  color: #ffffff;
}

.life-plan-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.life-plan-section h2 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 18px;
  color: #ffffff;
}

.life-plan-section p {
  color: #eef2f7;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-left: 6px solid #d4af37;
  border-radius: 10px;
  padding: 28px;
}

.highlight-box h3 {
  color: #ffffff;
  margin-top: 0;
}

.highlight-box ul {
  margin: 0;
  padding-left: 20px;
}

.highlight-box li {
  margin-bottom: 10px;
}

/* =========================================================
   Attorney Section
   ========================================================= */

.attorney-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  align-items: center;
}

.attorney-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.wealthcounsel-badge {
  width: 150px;
  height: auto;
}

.attorney-photo {
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(16, 42, 67, 0.18);
}

.attorney-note {
  font-weight: bold;
  color: #102a43;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.faq-item {
  border-left: 5px solid #d4af37;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  padding: 52px 0;
  background: #f5f7fa;
  text-align: center;
}

.cta-section p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.phone-number {
  color: #102a43;
  font-size: 30px;
  font-weight: bold;
  margin: 22px 0;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* =========================================================
   Nursing Home Planning Page
   ========================================================= */

.planning-paths-section {
  padding: 75px 0;
  background: #ffffff;
}

.planning-paths-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.planning-path-card {
  background: #f5f7fa;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  padding: 30px;
  border-top: 5px solid #d4af37;
}

.planning-path-card h3 {
  margin-top: 0;
  color: #102a43;
}

.urgent-path {
  background: #fff8e5;
}

.cost-example-box {
  margin-top: 30px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-left: 6px solid #d4af37;
  border-radius: 10px;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cost-card {
  padding: 20px;
  background: #f5f7fa;
  border-radius: 8px;
  text-align: center;
}

.cost-card strong {
  display: block;
  font-size: 24px;
  color: #7c5f12;
  margin-top: 8px;
}

/* =========================================================
   Probate Calculator
   ========================================================= */

.probate-calculator-section {
  padding: 75px 0;
  background: #ffffff;
}

.probate-calculator-box {
  background: #f5f7fa;
  border: 1px solid #d9e2ec;
  border-left: 6px solid #d4af37;
  border-radius: 10px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 28px;
}

.calculator-input label {
  display: block;
  font-weight: bold;
  color: #102a43;
  margin-bottom: 8px;
}

.calculator-input input[type="number"],
.calculator-input input[type="text"] {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  border: 1px solid #bcccdc;
  border-radius: 6px;
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex !important;
  gap: 10px;
  align-items: center;
  font-weight: normal !important;
  margin-bottom: 18px;
}

.checkbox-label input {
  transform: scale(1.2);
}

.calculator-results {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(16, 42, 67, 0.08);
}

.calculator-results h3 {
  color: #102a43;
  margin-top: 0;
}

.calculator-results p {
  margin: 8px 0;
}

.calculator-results .total-fee {
  font-size: 26px;
  font-weight: bold;
  color: #7c5f12;
  margin-top: 16px;
}

.calculator-results .avoid-message {
  margin-top: 18px;
  padding: 14px;
  background: #fff8e5;
  border-left: 5px solid #d4af37;
  font-weight: bold;
}

.calculator-breakdown {
  margin-top: 16px;
  text-align: left;
  font-size: 14px;
  color: #52606d;
  line-height: 1.5;
}

.calculator-note {
  font-size: 14px;
  margin-top: 18px;
  color: #52606d;
}
/* =========================
   Floating Social Share Rail
   Right margin column, always visible
========================= */

.article-page-with-share {
  position: relative;
}

/* Desktop/laptop: fixed right-side column */
@media (min-width: 1200px) {
  .article-page-with-share {
    padding-right: 120px;
  }

  .floating-social-share {
    position: fixed;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    z-index: 9999;
    width: 96px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
  }

  .floating-share-cta {
    margin: 0 0 4px;
    color: #102a43;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
  }

  .floating-share-link {
    display: block;
    width: 100%;
    padding: 9px 6px;
    background: #102a43;
    color: #ffffff;
    border: 2px solid #d4af37;
    border-radius: 999px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
  }

  .floating-share-link:hover {
    background: #d4af37;
    color: #102a43;
    border-color: #d4af37;
    text-decoration: none;
  }
}

/* Tablets/phones: bottom fixed share bar */
@media (max-width: 1199px) {
  .floating-social-share {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    z-index: 9999;
    display: flex;
    justify-content: center;
    gap: 8px;
    background: rgba(16, 42, 67, 0.96);
    padding: 9px 8px;
    border-top: 3px solid #d4af37;
  }

  .floating-share-cta {
    display: none;
  }

  .floating-share-link {
    display: inline-block;
    padding: 8px 11px;
    background: #ffffff;
    color: #102a43;
    border: 1px solid #d4af37;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
  }

  .floating-share-link:hover {
    background: #d4af37;
    color: #102a43;
    text-decoration: none;
  }

  body {
    padding-bottom: 64px;
  }
}
/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: #102a43;
  color: #ffffff;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr;
  gap: 34px;
  align-items: start;
}

.footer-column h3 {
  color: #ffffff;
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.25;
}

.footer-column p {
  color: #d9e2ec;
  font-size: 15px;
  margin: 0 0 12px;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
}

.footer-column a:hover {
  color: #d4af37;
}

/* Brand column: left justified */

.footer-brand {
  text-align: left;
}

.footer-brand h3,
.footer-brand p {
  text-align: left;
}

/* Services and Connect columns: headings line up with links */

.footer-services,
.footer-connect {
  text-align: left;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-links a:hover {
  color: #d4af37;
}

/* Social links stacked like Services links */

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.social-buttons a {
  color: #ffffff;
  text-decoration: none;
  font-weight: normal;
}

.social-buttons a:hover {
  color: #d4af37;
}

/* Contact column: centered */

.footer-contact {
  text-align: center;
}

.footer-contact h3,
.footer-contact p {
  text-align: center;
}

.footer-disclaimer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-disclaimer p {
  color: #cbd5e1;
  font-size: 13px;
  text-align: center;
}

.footer-bottom {
  margin-top: 22px;
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}

.footer-bottom p {
  color: #cbd5e1;
  font-size: 14px;
  margin: 4px 0;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #d4af37;
}

/* =========================================================
   Forms / Contact Page
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.contact-form {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(16, 42, 67, 0.06);
}

.contact-form label {
  display: block;
  font-weight: bold;
  color: #102a43;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px;
  border: 1px solid #bcccdc;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 16px;
}

.contact-form textarea {
  min-height: 150px;
}

/* =========================================================
   Responsive / Mobile
   ========================================================= */

@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 700px) {
  .site-logo {
    max-height: 70px;
    padding: 6px 8px;
  }
}

@media (max-width: 900px) {
  p,
  .hero-subtitle {
    text-align: left;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 70px 0;
  }

  .hero-issue-grid,
  .problem-grid,
  .planning-paths-grid,
  .cost-grid,
  .probate-calculator-box,
  .attorney-content,
  .life-plan-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .attorney-photo {
    width: 100%;
    max-width: 320px;
  }
  .wealthcounsel-badge {
    width: 120px;
  }

  .footer-contact,
  .footer-contact h3,
  .footer-contact p {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.15;
    margin: 10px 0 16px;
    color: #ffffff;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .button,
  .cta-buttons .button {
    text-align: center;
  }

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

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

  .problem-section h2,
  .services-section h2,
  .faq-section h2,
  .attorney-section h2,
  .cta-section h2,
  .planning-paths-section h2,
  .probate-calculator-section h2,
  .life-plan-section h2 {
    font-size: 30px;
  }

  .floating-share-button {
    right: 14px;
    bottom: 14px;
    padding: 11px 14px;
    font-size: 14px;
  }
}

/* =========================================================
   Final Hero Button Fix
   Makes the hero Call and Probate Calculator buttons a solid soft white.
   ========================================================= */

.hero .hero-buttons a.button.secondary-button,
.hero-buttons a.button.secondary-button {
  background-color: #f5f7fa !important;
  color: #102a43 !important;
  border: 2px solid #f5f7fa !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18) !important;
}

.hero .hero-buttons a.button.secondary-button:hover,
.hero-buttons a.button.secondary-button:hover {
  background-color: #d4af37 !important;
  color: #102a43 !important;
  border-color: #d4af37 !important;
}

/* =========================================================
   Clean Banner Header / Menu Layout
   Use this section as the ONLY banner override.
   It removes cropping, removes extra blue space, and keeps
   the navigation directly below the banner.
   ========================================================= */

.site-header.banner-header,
.banner-header {
  margin: 0 !important;
  padding: 0 !important;
  background: #102a43 !important;
  border-bottom: 4px solid #d4af37 !important;
}

.banner-header .header-inner,
.banner-header .logo-area,
.banner-header .site-logo {
  display: none !important;
}

.youtube-style-banner {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #102a43 !important;
  line-height: 0 !important;
  overflow: visible !important;
  border: 0 !important;
}

.banner-image-container {
  width: min(1120px, calc(100% - 40px)) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.banner-image-container img,
.youtube-style-banner img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  vertical-align: bottom !important;
}

.nav-bar-below-banner {
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  background: #102a43 !important;
  border-top: 2px solid #d4af37 !important;
  border-bottom: 0 !important;
}

.banner-nav {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
}

.banner-nav a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: bold !important;
}

.banner-nav a:hover,
.banner-nav a.active {
  color: #d4af37 !important;
}

.nav-phone {
  color: #d4af37 !important;
  border-left: 1px solid rgba(255,255,255,0.3) !important;
  padding-left: 24px !important;
  margin-left: 6px !important;
  white-space: nowrap !important;
}
.nav-phone:hover {
  color: #f0cc60 !important;
}

@media (max-width: 900px) {
  .banner-nav {
    gap: 16px !important;
  }
  .nav-phone {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .banner-image-container {
    width: min(100% - 28px, 1120px) !important;
  }

  .nav-bar-below-banner {
    padding: 10px 0 !important;
  }

  .banner-nav {
    gap: 12px !important;
    font-size: 14px !important;
  }
}

/* =========================================================
   CLS Stabilization Overrides
   Added to reduce layout shifts from banner, header, nav,
   images, and late-rendering above-the-fold content.
   ========================================================= */

:root {
  /* Adjust only this value if the banner appears too tall or too short.
     Example: 1120 / 240 = shorter; 1120 / 300 = taller. */
  --banner-aspect-ratio: 1120 / 373;
  --desktop-header-min-height: 135px;
  --mobile-header-min-height: 112px;
  --desktop-banner-nav-min-height: 56px;
  --mobile-banner-nav-min-height: 50px;
}

/* Images should not leave inline whitespace or change from inline to block later. */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Standard header: reserve room for the logo/nav before assets finish loading. */
.site-header:not(.banner-header) {
  min-height: var(--desktop-header-min-height);
}

.site-header:not(.banner-header) .header-inner {
  min-height: calc(var(--desktop-header-min-height) - 4px);
}

.logo-area,
.logo-link {
  min-height: 95px;
}

.logo-link img.site-logo,
img.site-logo {
  height: 95px;
  width: auto;
  max-height: 95px;
  object-fit: contain;
}

.main-nav {
  min-height: 24px;
}

/* Banner header: reserve a fixed ratio so the banner does not push the page down after loading. */
.site-header.banner-header,
.banner-header {
  min-height: 0 !important;
}

.youtube-style-banner {
  min-height: 0 !important;
}

.banner-image-container {
  aspect-ratio: var(--banner-aspect-ratio) !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.banner-image-container img,
.youtube-style-banner img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
}

.nav-bar-below-banner {
  min-height: var(--desktop-banner-nav-min-height) !important;
  display: flex !important;
  align-items: center !important;
}

.nav-bar-below-banner .container {
  width: min(1120px, calc(100% - 40px));
}

.banner-nav {
  min-height: 24px !important;
}

.banner-nav a,
.main-nav a,
.button {
  line-height: 1.2;
}

/* Hero: reserve enough above-the-fold space before background/text rendering settles. */
.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
}

/* Photos and embedded visual blocks: reserve predictable image boxes. */
.attorney-photo {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Prevent hover/active states from changing element dimensions. */
a,
.button,
.hero-issue-card,
.problem-card,
.service-card,
.faq-item {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

@media (max-width: 900px) {
  .site-header:not(.banner-header) {
    min-height: var(--mobile-header-min-height);
  }

  .site-header:not(.banner-header) .header-inner {
    min-height: calc(var(--mobile-header-min-height) - 4px);
  }

  .logo-area,
  .logo-link {
    min-height: 70px;
  }

  .logo-link img.site-logo,
  img.site-logo {
    height: 70px;
    max-height: 70px;
  }

  .main-nav {
    min-height: 44px;
  }

  .hero {
    min-height: 430px;
  }

  .nav-bar-below-banner {
    min-height: var(--mobile-banner-nav-min-height) !important;
  }
}

@media (max-width: 600px) {
  :root {
    /* Slightly taller ratio on phones so the banner text remains readable. */
    --banner-aspect-ratio: 1120 / 373;
  }

  .banner-nav {
    min-height: 42px !important;
  }

  .hero {
    min-height: 390px;
  }
}

/* =========================
   Article pages only
   Safe add-on styling
========================= */

.article-directory {
  padding: 40px 0;
}

.article-card {
  border: 1px solid #dddddd;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
  background: #ffffff;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.article-number,
.article-date {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  background: #f2f2f2;
  color: inherit;
}

.article-category {
  font-weight: bold;
  margin-bottom: 12px;
}

.article-info-box {
  border: 1px solid #dddddd;
  border-left: 5px solid #999999;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  background: #f8f8f8;
}

.article-info-box p {
  margin: 5px 0;
}

.article-page {
  padding: 30px 0;
}

.article-header {
  margin-bottom: 24px;
}

.article-subtitle {
  font-size: 1.15rem;
  line-height: 1.5;
}

.article-content {
  max-width: 850px;
  margin: 0 auto;
}

.article-content p,
.article-content li {
  line-height: 1.7;
}

.article-content h2 {
  margin-top: 34px;
}

.cta-box {
  border: 1px solid #dddddd;
  border-radius: 10px;
  padding: 24px;
  margin-top: 40px;
  background: #f8f8f8;
}

/* =========================
   Article Index
========================= */

.article-index-list {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.article-index-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.article-index-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.article-index-meta span {
  display: inline-block;
  font-weight: 700;
}

.article-index-meta span:not(:last-child)::after {
  content: " | ";
  margin-left: 8px;
  font-weight: 400;
}

.article-index-item h3 {
  margin-top: 0;
}

.article-index-item h3 a {
  color: inherit;
  text-decoration: none;
}

.article-index-item h3 a:hover {
  text-decoration: underline;
}

/* =========================
   Individual Article Pages
========================= */

.article-date-hero {
  background: #f7f3ea;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.article-content-section {
  padding: 48px 0 64px;
  background: #ffffff;
}

.article-body {
  max-width: 850px;
  margin: 0 auto;
}

.article-body h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 14px;
}

.article-author-line {
  font-weight: 700;
  margin-bottom: 16px;
}

.article-deck {
  font-size: 1.2rem;
  line-height: 1.55;
  margin-bottom: 32px;
}

.article-body p,
.article-body li {
  line-height: 1.75;
}

.article-body h2 {
  margin-top: 38px;
}

/* Mobile adjustments */

@media (max-width: 700px) {
  .article-index-meta {
    display: block;
  }

  .article-index-meta span {
    display: inline;
  }

  .article-body h1 {
    font-size: 2rem;
  }
}

/* Tighten Article Library page spacing */

.article-library-masthead {
  padding: 24px 0 18px;
}

.article-library-masthead h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 4px 0 8px;
}

.article-library-intro {
  font-size: 1.05rem;
  line-height: 1.5;
}

.article-library-masthead + .services-section {
  padding-top: 18px;
}

.article-library-masthead {
  padding: 20px 0 14px;
}

.article-library-masthead h1 {
  margin-bottom: 0;
}

/* Article index: number inline with clickable title */

.article-index-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin: 0;
}

.article-inline-number {
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.75;
}

.article-index-title a {
  color: inherit;
  text-decoration: none;
}

.article-index-title a:hover {
  text-decoration: underline;
}

.article-index-title a {
  color: inherit;
  text-decoration: none;
}

.article-index-title a:hover {
  text-decoration: underline;
}

.article-index-title a:visited {
  color: #4aa3df;
}

/* Move first article closer to Article Library heading */

.article-library-masthead {
  padding-bottom: 4px;
}

.article-library-masthead + .services-section {
  padding-top: 0;
}

.article-index-list {
  margin-top: 0;
}

.article-library-masthead {
  background: #f7f3ea;
}

/* Smaller article hero */

.article-small-hero {
  padding-top: 42px;
  padding-bottom: 42px;
}

/* =========================================================
   Article Hero Cleanup
   Removes unwanted shadows/filters from article hero text.
   ========================================================= */

.article-small-hero h1,
.article-small-hero .hero-subtitle,
.article-small-hero .eyebrow {
  text-shadow: none;
  filter: none;
}

/* =========================================================
   Free Checklist Page
   ========================================================= */

.page-content {
  background: #ffffff;
}

.simple-hero {
  padding: 64px 0;
}

.checklist-hero {
  background: #102a43;
  color: #ffffff;
  padding: 48px 0 36px;
}

.checklist-hero .eyebrow {
  color: #d4af37;
}

.checklist-hero h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 10px 0 18px;
}

.checklist-hero .hero-subtitle {
  color: #ffffff;
  max-width: 850px;
  font-weight: 600;
  text-shadow: none;
  filter: none;
}

.checklist-hero .hero-subtitle {
  color: #ffffff;
  max-width: 850px;
  font-weight: 600;
  margin-bottom: 0;
}
.content-section {
  padding: 64px 0;
  background: #ffffff;
}

.gray-section {
  background: #f5f7fa;
}

.narrow-container {
  max-width: 820px;
  margin: 0 auto;
}

.small-note {
  font-size: 0.9rem;
  color: #555555;
  margin-top: 1rem;
}

.content-section .secondary-button {
  display: inline-block;
  margin-top: 14px;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.2;
  background: #102a43;
  color: #ffffff;
  border: 2px solid #102a43;
}

.content-section .secondary-button:hover {
  background: #d4af37;
  color: #102a43;
  border-color: #d4af37;
}

@media (max-width: 700px) {
  .simple-hero,
  .checklist-hero,
  .content-section {
    padding: 42px 0;
  }

  .checklist-hero h1 {
    font-size: 2.15rem;
  }
}
.checklist-signup-section {
  padding: 38px 0 48px;
}

.checklist-signup-box {
  text-align: center;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-top: 6px solid #d4af37;
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 14px 34px rgba(16, 42, 67, 0.10);
}

.checklist-signup-box h2 {
  color: #102a43;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 12px;
}

.checklist-cta-text {
  max-width: 720px;
  margin: 0 auto 12px;
  color: #243b53;
  font-size: 18px;
  line-height: 1.55;
}

.checklist-form-wrap {
  max-width: 560px;
  margin: 24px auto 0;
  text-align: left;
}

.checklist-signup-box .small-note {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #52606d;
  text-align: center;
}/* =========================
   Free Checklist Page Refinement
========================= */

.checklist-hero {
  background: #102a43;
  color: #ffffff;
  padding: 42px 0 28px;
}

.checklist-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin: 8px 0 14px;
}

.checklist-hero .hero-subtitle {
  color: #ffffff;
  max-width: 820px;
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 0;
}

.checklist-form-section {
  background: #f5f7fa;
  padding: 26px 0 44px;
}

.checklist-form-card {
  max-width: 620px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-top: 6px solid #d4af37;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 14px 34px rgba(16, 42, 67, 0.10);
}

.checklist-form-card .small-note {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #52606d;
  text-align: center;
}

.checklist-form-card .ml-embedded {
  margin: 0 auto;
}

/* =========================================================
   Homepage Hero Checklist CTA
   ========================================================= */

.hero-content {
  max-width: 980px;
}

.hero-checklist-box {
  max-width: 950px;
  margin: 24px 0 0;
  padding: 20px 22px 22px;
  background: #102a43;
  border: 3px solid #d4af37;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.hero-checklist-callout {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-checklist-callout p {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.hero-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 950px;
  margin: 18px 0 0;
}

.hero-action-grid .button {
  width: auto;
  min-width: 230px;
  text-align: center;
  justify-self: center;
}

@media (max-width: 900px) {
  .hero-action-grid {
    grid-template-columns: 1fr;
  }

  .hero-action-grid .button {
    min-width: 240px;
  }
}

/* =========================================================
   Final Homepage Hero Heading Size Fix
   Put this last so later media rules do not override it.
   ========================================================= */

.hero h1 {
  font-size: clamp(30px, 4vw, 44px) !important;
  line-height: 1.12 !important;
  margin: 10px 0 18px !important;
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 30px !important;
    line-height: 1.15 !important;
    margin: 10px 0 16px !important;
  }
}
/* =========================================================
   Disability Planning Danger Guide Sales Page
   ========================================================= */

.guide-sales-page {
  background: #ffffff;
  color: #222222;
}

/* ---------- Hero ---------- */

.guide-hero {
  background: #12355b;
  color: #ffffff;
  padding: 70px 20px 76px;
}

.guide-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.guide-eyebrow {
  margin: 0 0 16px;
  color: #c59d5f;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.guide-hero-subtitle {
  max-width: 760px;
  margin: 0 0 28px;
  color: #eef3f8;
  font-size: 1.28rem;
  line-height: 1.55;
}

.guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Buttons ---------- */

.primary-button,
.secondary-button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.primary-button {
  background: #c59d5f;
  color: #12355b;
  border: 2px solid #c59d5f;
}

.secondary-button {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* ---------- Product Card ---------- */

.guide-product-card {
  background: #f7f4ee;
  color: #222222;
  border: 2px solid #c59d5f;
  padding: 28px;
  border-radius: 6px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.guide-product-card h2 {
  margin: 0 0 14px;
  color: #12355b;
  font-size: 1.55rem;
  line-height: 1.18;
}

.guide-product-card p {
  margin-bottom: 16px;
}

.guide-price {
  margin: 10px 0 16px;
  color: #12355b;
  font-family: Arial, sans-serif;
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1;
}

.guide-small-note {
  margin-top: 14px;
  color: #5f6670;
  font-family: Arial, sans-serif;
  font-size: 0.93rem;
}

/* ---------- Main Sections ---------- */

.guide-section {
  padding: 58px 20px;
}

.guide-section-alt {
  background: #f5f6f7;
}

.guide-container {
  max-width: 980px;
  margin: 0 auto;
}

.guide-wide-container {
  max-width: 1120px;
  margin: 0 auto;
}

.guide-section h2,
.guide-purchase-section h2 {
  margin: 0 0 18px;
  color: #12355b;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.15;
}

.guide-section h3,
.guide-purchase-box h3 {
  margin: 26px 0 8px;
  color: #12355b;
  font-size: 1.35rem;
  line-height: 1.25;
}

.guide-section p,
.guide-purchase-section p {
  margin: 0 0 16px;
  font-size: 1.08rem;
  line-height: 1.65;
}

.guide-lead {
  color: #333333;
  font-size: 1.22rem;
}

/* ---------- Warning Box ---------- */

.guide-warning-box {
  margin: 28px 0;
  padding: 24px 26px;
  background: #f7f4ee;
  border-left: 6px solid #c59d5f;
}

.guide-warning-box p:last-child {
  margin-bottom: 0;
}

/* ---------- Columns and Cards ---------- */

.guide-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 28px;
}

.guide-info-card {
  background: #ffffff;
  border: 1px solid #dddddd;
  padding: 26px;
  border-radius: 6px;
}

.guide-info-card h3 {
  margin-top: 0;
}

/* ---------- Lists ---------- */

.guide-section ul {
  margin: 12px 0 0 22px;
  padding: 0;
}

.guide-section li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.guide-check-list {
  list-style: none;
  margin-left: 0;
}

.guide-check-list li {
  position: relative;
  padding-left: 28px;
}

.guide-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #c59d5f;
  font-weight: bold;
}

/* ---------- Purchase Section ---------- */

.guide-purchase-section {
  background: #12355b;
  color: #ffffff;
  text-align: center;
  padding: 62px 20px;
}

.guide-purchase-section h2 {
  color: #ffffff;
}

.guide-purchase-section > .guide-container > p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: #eef3f8;
}

.guide-purchase-box {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 34px;
  background: #ffffff;
  color: #222222;
  border: 2px solid #c59d5f;
  border-radius: 6px;
}

.guide-purchase-box h3 {
  margin-top: 0;
}

/* ---------- Legal Notice ---------- */

.guide-legal-notice {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #dddddd;
  color: #5f6670;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
}

.guide-legal-notice p {
  margin-bottom: 14px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
}

.guide-legal-notice strong {
  color: #12355b;
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .guide-hero {
    padding: 54px 20px 58px;
  }

  .guide-hero-inner,
  .guide-two-column {
    grid-template-columns: 1fr;
  }

  .guide-product-card {
    margin-top: 10px;
  }

  .guide-section {
    padding: 46px 20px;
  }

  .guide-purchase-section {
    padding: 52px 20px;
  }
}

@media (max-width: 520px) {
  .guide-hero h1 {
    font-size: 2.25rem;
  }

  .guide-hero-subtitle {
    font-size: 1.12rem;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    text-align: center;
  }

  .guide-product-card,
  .guide-info-card,
  .guide-purchase-box {
    padding: 22px;
  }

  .guide-price {
    font-size: 2.1rem;
  }
}/* Featured Guide Section - Home Page */

.featured-guide-section {
  background: #f4f6f8;
  padding: 2.5rem 1.5rem;
}

.featured-guide-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: center;
}

.featured-guide-text {
  background: #ffffff;
  border-left: 6px solid #c9a24a;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.featured-guide-eyebrow {
  margin: 0 0 0.5rem;
  color: #c9a24a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.featured-guide-text h2 {
  margin: 0 0 0.75rem;
  color: #0b1f3a;
  font-size: 2rem;
  line-height: 1.15;
}

.featured-guide-subtitle {
  color: #0b1f3a;
  font-weight: 700;
  font-size: 1.1rem;
}

.featured-guide-text p {
  color: #333333;
  line-height: 1.65;
}

.featured-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.featured-guide-card {
  background: #0b1f3a;
  color: #ffffff;
  padding: 2rem;
  text-align: center;
  border: 3px solid #c9a24a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.featured-guide-card-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.featured-guide-card-price {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: #c9a24a;
}

.featured-guide-card-note {
  margin: 0.75rem 0 1.5rem;
  color: #f4f6f8;
}

.featured-guide-card-link {
  display: inline-block;
  background: #c9a24a;
  color: #0b1f3a;
  text-decoration: none;
  padding: 0.85rem 1.3rem;
  font-weight: 700;
  border-radius: 4px;
}

.featured-guide-card-link:hover {
  background: #ffffff;
  color: #0b1f3a;
}

@media (max-width: 800px) {
  .featured-guide-inner {
    grid-template-columns: 1fr;
  }

  .featured-guide-text h2 {
    font-size: 1.65rem;
  }

  .featured-guide-card-price {
    font-size: 2rem;
  }
}/* Disability Planning Guide Callout - Nursing Home Planning Page */

.guide-callout-section {
  background: #f4f6f8;
  padding: 3rem 1.5rem;
}

.guide-callout-box {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border-left: 6px solid #c9a24a;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.guide-callout-eyebrow {
  margin: 0 0 0.5rem;
  color: #c9a24a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.guide-callout-box h2 {
  margin: 0 0 1rem;
  color: #0b1f3a;
  font-size: 2rem;
  line-height: 1.2;
}

.guide-callout-box p {
  color: #333333;
  line-height: 1.65;
  font-size: 1.05rem;
  max-width: 760px;
}

.guide-callout-box .primary-button {
  display: inline-block;
  margin-top: 1rem;
}/* Disability Planning Guide Callout - Service Pages */

.guide-callout-section {
  background: #f4f6f8;
  padding: 3rem 1.5rem;
}

.guide-callout-box {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border-left: 6px solid #c9a24a;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.guide-callout-eyebrow {
  margin: 0 0 0.5rem;
  color: #c9a24a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.guide-callout-box h2 {
  margin: 0 0 1rem;
  color: #0b1f3a;
  font-size: 2rem;
  line-height: 1.2;
}

.guide-callout-box p {
  color: #333333;
  line-height: 1.65;
  font-size: 1.05rem;
  max-width: 760px;
}

.guide-callout-box .primary-button {
  display: inline-block;
  margin-top: 1rem;
}

@media (max-width: 700px) {
  .guide-callout-section {
    padding: 2.25rem 1rem;
  }

  .guide-callout-box {
    padding: 1.5rem;
  }

  .guide-callout-box h2 {
    font-size: 1.55rem;
  }
}/* Disability Planning Guide Callout - Service Pages */

.guide-callout-section {
  background: #f4f6f8;
  padding: 3rem 1.5rem;
}

.guide-callout-box {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border-left: 6px solid #c9a24a;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.guide-callout-eyebrow {
  margin: 0 0 0.5rem;
  color: #c9a24a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.guide-callout-box h2 {
  margin: 0 0 1rem;
  color: #0b1f3a;
  font-size: 2rem;
  line-height: 1.2;
}

.guide-callout-box p {
  color: #333333;
  line-height: 1.65;
  font-size: 1.05rem;
  max-width: 760px;
}

.guide-callout-box .primary-button {
  display: inline-block;
  margin-top: 1rem;
}

@media (max-width: 700px) {
  .guide-callout-section {
    padding: 2.25rem 1rem;
  }

  .guide-callout-box {
    padding: 1.5rem;
  }

  .guide-callout-box h2 {
    font-size: 1.55rem;
  }
}/* Article Guide Callout */

.article-guide-callout {
  background: #f4f6f8;
  padding: 2.75rem 1.25rem;
}

.article-guide-callout-inner {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border-left: 6px solid #c9a24a;
  padding: 2rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.article-guide-eyebrow {
  margin: 0 0 0.5rem;
  color: #c9a24a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.article-guide-callout h2 {
  margin: 0 0 1rem;
  color: #0b1f3a;
  font-size: 1.75rem;
  line-height: 1.2;
}

.article-guide-callout p {
  color: #333333;
  line-height: 1.65;
  font-size: 1.05rem;
}

.article-guide-button {
  display: inline-block;
  margin-top: 1rem;
  background: #0b1f3a;
  color: #ffffff;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  border-radius: 4px;
}

.article-guide-button:hover {
  background: #c9a24a;
  color: #0b1f3a;
}

.article-guide-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.article-guide-buy-btn {
  display: inline-block;
  background: #1a5fa8;
  color: #ffffff;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.2s;
}

.article-guide-buy-btn:hover { background: #154e8e; }
.article-guide-buy-btn:active { background: #7ab8f0; }

/* ── Article inline LTC opt-in box ── */
.article-optin-box {
  max-width: 860px;
  margin: 0 auto 0;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(16,42,67,0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.article-optin-header {
  background: #1a5fa8;
  padding: 28px 28px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-optin-eyebrow {
  display: inline-block;
  background: #c8922a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  width: fit-content;
}

.article-optin-header h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}

.article-optin-header p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.6;
}

.article-optin-form-area {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background: #f8fafc;
}

.article-optin-form-area input[type="email"] {
  width: 100%;
  padding: 11px 13px;
  font-size: 0.92rem;
  border: 2px solid #d0d8e0;
  border-radius: 5px;
  outline: none;
  box-sizing: border-box;
  color: #222;
  font-family: 'Source Sans 3', Arial, sans-serif;
}

.article-optin-form-area input[type="email"]:focus { border-color: #1a5fa8; }
.article-optin-form-area input[type="email"]::placeholder { color: #aaa; }

.article-optin-submit {
  width: 100%;
  padding: 12px;
  background: #1a6b1a;
  color: #fff;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.article-optin-submit:hover { background: #145214; }

.article-optin-msg {
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  color: #1a6b1a;
  display: none;
}

.article-optin-privacy {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin: 0;
}

@media (max-width: 680px) {
  .article-optin-box { grid-template-columns: 1fr; }
  .article-guide-btn-row { flex-direction: column; }
}

@media (max-width: 700px) {
  .article-guide-callout {
    padding: 2rem 1rem;
  }

  .article-guide-callout-inner {
    padding: 1.5rem;
  }

  .article-guide-callout h2 {
    font-size: 1.45rem;
  }
}/* Article 002 - Common Reasons Trust Update Checklist */

.trust-checklist-section {
  background: #ffffff;
  padding: 3.5rem 1.5rem;
}

.trust-checklist-section .section-intro {
  max-width: 820px;
}

.trust-update-checklist {
  max-width: 980px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.trust-check-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #f4f6f8;
  border: 1px solid #e0e5eb;
  border-left: 5px solid #c9a24a;
  padding: 1rem 1.1rem;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.trust-check-item span {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #0b1f3a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
}

.trust-check-item p {
  margin: 0;
  color: #263238;
  line-height: 1.5;
  font-size: 1rem;
}

@media (max-width: 760px) {
  .trust-update-checklist {
    grid-template-columns: 1fr;
  }

  .trust-check-item {
    padding: 1rem;
  }
}/* Article 002 - What Should Be Reviewed Grid */

.trust-review-grid {
  max-width: 980px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: review-counter;
}

.trust-review-card {
  position: relative;
  display: block;
  background: #f4f6f8;
  border: 1px solid #e0e5eb;
  border-left: 5px solid #c9a24a;
  padding: 1.15rem 1.15rem 1.15rem 4.5rem;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  counter-increment: review-counter;
}

.trust-review-card::before {
  content: counter(review-counter);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #0b1f3a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
}

.trust-review-card h3 {
  margin: 0 0 0.4rem;
  color: #0b1f3a;
  font-size: 1.05rem;
  line-height: 1.25;
}

.trust-review-card p {
  margin: 0;
  color: #263238;
  line-height: 1.5;
  font-size: 1rem;
}

@media (max-width: 760px) {
  .trust-review-grid {
    grid-template-columns: 1fr;
  }

  .trust-review-card {
    padding: 1rem 1rem 1rem 4.25rem;
  }

  .trust-review-card::before {
    left: 1rem;
    top: 1rem;
  }
}



   Removes leading zeroes and removes periods after numbers.
   Put this at the very bottom so it overrides earlier rules.
   ========================================================= */

/* Common Reasons for an Update */
.trust-update-checklist {
  counter-reset: trust-reason-counter;
}

.trust-check-item {
  counter-increment: trust-reason-counter;
}

.trust-check-item span {
  font-size: 0 !important;
}

.trust-check-item span::before {
  content: counter(trust-reason-counter);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

/* What Should Be Reviewed */
.trust-review-card::before {
  content: counter(review-counter) !important;
}


/* =========================================================
   Final Fix - Article 002 Numbered Trust Update Lists
   Removes leading zeroes and keeps a period after each number.
   Put this at the very bottom so it overrides earlier rules.
   ========================================================= */

/* Common Reasons for an Update */
.trust-update-checklist {
  counter-reset: trust-reason-counter;
}

.trust-check-item {
  counter-increment: trust-reason-counter;
}

.trust-check-item span {
  font-size: 0 !important;
}

.trust-check-item span::before {
  content: counter(trust-reason-counter) ".";
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

/* What Should Be Reviewed */
.trust-review-card::before {
  content: counter(review-counter) "." !important;
}


/* =========================================================
   Article 002 - Warning Signs Numbered Box
   One boxed numbered list, different from checklist cards.
   ========================================================= */

.trust-warning-list {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.75rem 1.5rem 3.25rem;
  background: #fff8e5;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-left: 8px solid #d4af37;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.08);
}

.trust-warning-list li {
  margin: 0 0 0.85rem;
  padding-left: 0.35rem;
  color: #243b53;
  line-height: 1.55;
  font-size: 1.03rem;
}

.trust-warning-list li:last-child {
  margin-bottom: 0;
}

.trust-warning-list li::marker {
  color: #7c5f12;
  font-weight: 800;
}

@media (max-width: 700px) {
  .trust-warning-list {
    padding: 1.25rem 1.25rem 1.25rem 2.75rem;
  }
}

/* =========================================================
   ARTICLE PAGES
   ========================================================= */

.article-hero {
  background: #f4f6f8;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid #e1e5ea;
}

.article-hero .container {
  max-width: 900px;
}

.article-number {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: #123d63;
  border-radius: 999px;
}

.article-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  color: #123d63;
}

.article-intro {
  max-width: 760px;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #374151;
}

.article-layout {
  position: relative;
  display: block;
  max-width: 1180px;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #1f2937;
}

.article-content p {
  margin: 0 0 1.25rem;
}

.article-content h2 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
  color: #123d63;
}

.article-content strong {
  color: #123d63;
}

.article-content a {
  color: #123d63;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover,
.article-content a:focus {
  color: #0b2944;
}


/* =========================================================
   ARTICLE EBOOK CALLOUT BOX
   ========================================================= */

.article-callout-box {
  margin: 3rem 0;
  padding: 2rem;
  background: #f4f6f8;
  border: 2px solid #c9a227;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(18, 61, 99, 0.12);
}

.article-callout-box h2 {
  margin-top: 0;
  color: #123d63;
}

.article-callout-box p {
  color: #1f2937;
}

.article-callout-button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: #123d63;
  color: #ffffff !important;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(18, 61, 99, 0.22);
}

.article-callout-button:hover,
.article-callout-button:focus {
  background: #0b2944;
  color: #ffffff !important;
}


/* =========================================================
   FLOATING SOCIAL SHARE BUTTONS
   ========================================================= */

.floating-social-share {
  position: fixed;
  top: 35%;
  right: max(1rem, calc((100vw - 1180px) / 2));
  z-index: 50;
  width: 120px;
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.floating-share-cta {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  color: #123d63;
}

.floating-share-link {
  display: block;
  margin: 0.45rem 0;
  padding: 0.55rem 0.5rem;
  background: #123d63;
  color: #ffffff;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.floating-share-link:hover,
.floating-share-link:focus {
  background: #0b2944;
  color: #ffffff;
}


/* =========================================================
   MOBILE ARTICLE ADJUSTMENTS
   ========================================================= */

@media (max-width: 900px) {
  .article-hero {
    padding: 3rem 0 2.5rem;
  }

  .article-layout {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .article-content {
    font-size: 1.02rem;
  }

  .floating-social-share {
    position: static;
    width: auto;
    max-width: 820px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .floating-share-cta {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .floating-share-link {
    display: inline-block;
    margin: 0;
    padding: 0.6rem 0.85rem;
  }
}

@media (max-width: 600px) {
  .article-hero h1 {
    font-size: 2rem;
  }

  .article-intro {
    font-size: 1.05rem;
  }

  .article-callout-box {
    padding: 1.4rem;
  }

  .article-callout-button {
    display: block;
    width: 100%;
    text-align: center;
  }
}/* =========================================================
   FINAL FIX - Article Floating Share Buttons
   Wide screens: right rail
   Half screens/tablets/phones: bottom bar
   Put this at the VERY BOTTOM of styles.css
   ========================================================= */

@media (min-width: 1200px) {
  .article-page-with-share {
    padding-right: 120px !important;
  }

  .floating-social-share {
    position: fixed !important;
    top: 50% !important;
    right: 18px !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;

    width: 96px !important;
    max-width: 96px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 9px !important;
    align-items: stretch !important;

    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .floating-share-cta {
    display: block !important;
    margin: 0 0 4px !important;
    color: #102a43 !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  .floating-share-link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 9px 6px !important;

    background: #102a43 !important;
    color: #ffffff !important;
    border: 2px solid #d4af37 !important;
    border-radius: 999px !important;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18) !important;

    font-size: 0.78rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  .floating-share-link:hover {
    background: #d4af37 !important;
    color: #102a43 !important;
    text-decoration: none !important;
  }
}

@media (max-width: 1199px) {
  .article-page-with-share {
    padding-right: 0 !important;
  }

  .floating-social-share {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    transform: none !important;
    z-index: 9999 !important;

    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;

    background: rgba(16, 42, 67, 0.96) !important;
    padding: 9px 8px !important;
    border-top: 3px solid #d4af37 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
  }

  .floating-share-cta {
    display: none !important;
  }

  .floating-share-link {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 11px !important;

    background: #ffffff !important;
    color: #102a43 !important;
    border: 1px solid #d4af37 !important;
    border-radius: 999px !important;
    box-shadow: none !important;

    font-size: 0.78rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  .floating-share-link:hover {
    background: #d4af37 !important;
    color: #102a43 !important;
    text-decoration: none !important;
  }

  body {
    padding-bottom: 72px !important;
  }
}.trust-review-section {
  padding: 2.5rem 0;
  background: #f5f7fa;
}

.trust-review-section h2 {
  margin-bottom: 1rem;
  color: #16324f;
}

.trust-review-section p {
  max-width: 850px;
  line-height: 1.7;
}

.trust-review-card {
  margin-top: 1.75rem;
  padding: 2rem;
  background: #ffffff;
  border: 2px solid #c9a227;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.trust-review-card h3 {
  margin-top: 0;
  color: #16324f;
}

.trust-review-card ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
}

.trust-review-card li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.trust-review-price {
  font-size: 2rem;
  font-weight: 700;
  color: #16324f;
  margin: 0.5rem 0 1rem;
}

.consult-note {
  margin-top: 1.25rem;
  font-weight: 600;
  color: #333333;
}.trust-review-section::before,
.trust-review-section li::before,
.trust-review-card::before {
  content: none !important;
  display: none !important;
}

.trust-review-section {
  counter-reset: none !important;
}

.trust-review-card {
  list-style: none;
}.trust-review-section::before,
.trust-review-card::before,
.trust-review-section .container::before {
  content: none !important;
  display: none !important;
}

.trust-review-section {
  counter-reset: none !important;
}