.wp-block-loginout a {
  color: inherit;
  font-size: inherit;
  text-decoration: none;
}

.wp-block-site-logo img{
	max-width:none!important;
}

.wp-block-loginout a:hover {
  text-decoration: underline;
}

/* ========== One-column shell width control ========== */
.one-col-shell {
  max-width: 1000px;           /* Feel free to set 900–1100px */
  margin-inline: auto;
}

/* ========== Formidable: Horizontal calculator layout ========== */
.calculator-hero .frm_forms,
.calculator-hero .frm_form_fields,
.calculator-hero .frm_fields_container { width: 100%; }

.calculator-hero .frm_fields_container {
  display: flex;
  flex-wrap: wrap;              /* wrap on smaller screens */
  gap: 12px 16px;               /* row / column spacing */
  align-items: flex-start;      /* ✅ top-aligns fields and submit button */
}


/* Each field grows evenly; keep sensible minimums */
.calculator-hero .frm_form_field {
  flex: 1 1 0;
  min-width: 180px;
}

/* Submit stays tight and aligned to the end */
.calculator-hero .frm_submit { flex: 0 0 auto; }

/* Compact labels & controls for a calculator feel */
.calculator-hero .frm_primary_label {
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.calculator-hero input[type="text"],
.calculator-hero input[type="number"],
.calculator-hero select {
  height: 44px;
  padding: 8px 10px;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .calculator-hero .frm_fields_container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .calculator-hero .frm_form_field,
  .calculator-hero .frm_submit { width: 100%; }
}

/* Optional: hide labels if you use placeholders (keep a11y in mind) */
/* .calculator-hero .frm_primary_label { position: absolute; clip: rect(0,0,0,0); } */


/* Unified CTA background (match “Support Financial Independence!”) */
.cta-card {
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  background: rgba(0, 0, 0, 0.035);  /* consistent background */
  transition: transform .08s ease, box-shadow .08s ease;
}
.cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* Remove separate primary/secondary tints */
.cta-primary,
.cta-secondary {
  background: rgba(0, 0, 0, 0.035);
}


/* Buttons: full-width on mobile, normal on desktop */
.cta-card .wp-element-button {
  padding: 12px 18px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .cta-card .wp-block-buttons { width: 100%; }
  .cta-card .wp-block-button { width: 100%; }
  .cta-card .wp-element-button { width: 100%; text-align: center; }
}


.wp-block-buttons .wp-block-button__link, 
.wp-block-buttons .wp-block-button__link:hover{
	padding:15px!important;
	color:#fff;
	background-color:#076b2b;
	border-radius:10px;
}

h1{
	background-color:#fff;
	font-size:30px;
}
.pf-excerpt-only {
  display: none;
}
/* Formidable: remove white background behind embedded form title */
.frm_forms .frm_form_title,
.frm_forms .frm_form_title h2,
.frm_forms .frm_form_title h3,
.frm_forms h2.frm_form_title,
.frm_forms h3.frm_form_title {
  background: transparent !important;
}

/* Prevent long archive excerpts and the mobile menu toggle from causing horizontal scrolling. */
.wp-block-post-excerpt__excerpt {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 600px) {
  header .mobile-app-hidden {
    display: none !important;
  }

  header .wp-block-columns {
    flex: 1 1 auto;
    min-width: 0;
  }

  header .wp-block-column {
    min-width: 0;
  }

  header .wp-block-columns > .wp-block-column:first-child {
    flex-basis: 100% !important;
  }

  header .wp-block-site-logo {
    width: auto;
    max-width: 100%;
  }

  header .wp-block-site-logo img {
    max-width: 100% !important;
    height: auto;
  }
}


/* Keep long source and resource URLs inside article and lesson columns. */
.wp-block-post-content,
.learndash-wrapper {
  overflow-wrap: anywhere;
  word-break: break-word;
}


/* WCAG 2.2 target sizing for navigation and Formidable choice controls. */
.wp-block-navigation__submenu-icon.wp-block-navigation-submenu__toggle {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.frm_checkbox label,
.frm_radio label {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}


/* WCAG 2.2 target sizing for course expansion and comment subscription controls. */
.learndash-wrapper .ld-expand-button,
.learndash-wrapper .ld-pagination .prev,
.learndash-wrapper .ld-pagination .next {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.comment-subscription-form label {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}


/* Accessibility improvements for course and member interfaces */
.ld-course-list-items .btn.btn-primary {
  background-color: #08752f !important;
  border-color: #08752f !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.learndash-wrapper .ld-expand-button,
.learndash-wrapper a.ld-button {
  font-size: 1rem !important;
  min-height: 44px;
}
.learndash-wrapper .ld-expand-button .ld-text {
  font-size: 1rem !important;
}
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #111111 !important;
  outline-offset: 3px !important;
}
@media (max-width: 480px) {
  .ld-course-list-items.row,
  .ld-course-list-items .ld_course_grid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (forced-colors: active) {
  .pf-account-tabs a,
  .ld-course-list-items .btn.btn-primary,
  .learndash-wrapper .ld-button {
    border: 2px solid ButtonText !important;
    forced-color-adjust: auto;
  }
  .pf-account-tabs a[aria-current="page"] {
    outline: 3px solid Highlight !important;
  }
}

#page-title > h2:empty {
  display: none;
}


/* Shared MemberPress account navigation */
.pf-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin: 1.5rem 0 2.5rem;
}
.pf-account-tabs a {
  display: inline-block;
  padding: .7rem 1rem;
  border: 2px solid #08752f;
  border-radius: .35rem;
  color: #08752f;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  box-sizing: border-box;
}
.pf-account-tabs a[aria-current="page"],
.pf-account-tabs a:hover,
.pf-account-tabs a:focus {
  background: #08752f;
  color: #fff;
}
@media (max-width: 480px) {
  .pf-account-tabs a {
    flex: 1 1 45%;
    text-align: center;
  }
}


/* Remove duplicate links from MemberPress's legacy account menu; retain Log Out. */
.mepr-account-container .mepr-nav-item.mepr-home,
.mepr-account-container .mepr-nav-item.mepr-subscriptions,
.mepr-account-container .mepr-nav-item.mepr-payments {
  display: none;
}

/* Precise MemberPress legacy navigation scope. */
#mepr-account-nav .mepr-nav-item.mepr-home,
#mepr-account-nav .mepr-nav-item.mepr-subscriptions,
#mepr-account-nav .mepr-nav-item.mepr-payments {
  display: none;
}

/* The site header already provides Log out. */
#mepr-account-nav #mepr-account-logout {
  display: none;
}

/* Keep the Account heading for screen readers without adding visible copy. */
.page-id-2048 #page-title {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* LearnDash accessibility and magnification improvements */
.learndash-wrapper h2:empty,
.learndash-wrapper h3:empty {
  display: none;
}

/* Make the Focus Mode sidebar toggle a reliable touch target. */
.learndash-wrapper .ld-focus-sidebar-trigger {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
}

/* Improve lesson navigation legibility and target size. */
.learndash-wrapper .ld-course-navigation a,
.learndash-wrapper .ld-course-navigation .ld-item-name,
.learndash-wrapper .ld-course-navigation .ld-lesson-item-preview {
  font-size: 16px !important;
  line-height: 1.45 !important;
}
.learndash-wrapper .ld-course-navigation a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Let long breadcrumbs wrap instead of truncating under magnification. */
.learndash-wrapper .ld-breadcrumbs,
.learndash-wrapper .ld-breadcrumbs a,
.learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments {
  font-size: 16px !important;
  line-height: 1.45 !important;
}
.learndash-wrapper .ld-breadcrumbs-segments {
  flex-wrap: wrap !important;
  white-space: normal !important;
  overflow: visible !important;
}
.learndash-wrapper .ld-breadcrumbs-segments li,
.learndash-wrapper .ld-breadcrumbs-segments a {
  max-width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Prevent Previous/Next labels from breaking into one-character columns. */
@media (max-width: 480px) {
  .learndash-wrapper .ld-focus-header .ld-content-action .ld-button {
    padding: .65rem .35rem !important;
    gap: .35rem !important;
    justify-content: center !important;
  }
  .learndash-wrapper .ld-focus-header .ld-content-action .ld-text {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.25 !important;
  }
}


/* LearnDash account tabs and course-outline controls */
.learndash-wrapper .pf-ld-account-tabs,
.ld-focus-content .pf-ld-account-tabs {
  margin: 1rem 0 1.5rem;
}
.pf-ld-sidebar-actions {
  display: flex;
  gap: .5rem;
  padding: .75rem;
}
.pf-ld-sidebar-actions button {
  flex: 1 1 50%;
  min-height: 44px;
  padding: .55rem .6rem;
  border: 2px solid #08752f;
  border-radius: .35rem;
  background: #fff;
  color: #08752f;
  font-size: 15px;
  font-weight: 700;
}
.pf-ld-sidebar-actions button:hover,
.pf-ld-sidebar-actions button:focus {
  background: #08752f;
  color: #fff;
}


/* Sitewide accessibility refinements */
.primary-site-navigation .wp-block-navigation__submenu-icon {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.wp-social-link-twitter {
  background-color: #0b5f9a !important;
}
.pf-field-hint {
  display: block;
  margin: .25rem 0 .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: inherit;
}
