/* =====================
   FONT STYLING — ACCOUNTIX THEME
   ===================== */

/* Global font reset for clean typography */
body {
  font-family: 'Lato', sans-serif;
  font-weight: 300; /* Light */
  line-height: 1.6;
  font-size: 16px;
  color: #222; /* fallback to Rich Black */
}

/* Headings */
h1, h2 {
  font-family: 'Lato', sans-serif;
  font-weight: 300;  /* Light */
  font-style: normal;
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2CB7E7;
}

/* Subheaders */
h3, h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 300;  /* Regular by default */
  font-style: normal;
  margin-bottom: 0.5rem;
  color: #0075A9;
}
h5, h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 400;  /* regular by default */
  font-style: normal;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.btn {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Body Text */
p, li, td {
  font-family: 'Lato', sans-serif;
  font-weight: 300; /* Light */
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-card__title {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #222;
}

.go-card__heading {
  font-family: 'Lato', sans-serif; 
  color: #0075A9; 
  font-weight: 400;
  font-style: normal;
}

.go-card__content span,
.go-card__content * {
  font-style: normal !important;
}

.form-title {
  margin-bottom: 24px;
}

.hs_submit input[type="submit"],
.hs-submit {
  font-family: 'Lato', sans-serif; /* or any font you prefer */
}

.col-nav__title {
  font-weight: 400; /* use 700 for bold, 500 for medium */
}

.newsletter-title {
  margin-top: 0;
  padding-top: 0;
}

div.featshow__nav button.featshow__btn {
  font-style: normal !important;
  font-family: 'Lato', sans-serif !important;  /* change to your desired font */
  font-size: 24px !important;                  /* change font size */
  color: #0075A9 !important;                   /* change text color */
  font-weight: 300; !important; /* use 700 for bold, 500 for medium */
}

.featshow__wrapper {
  position: relative;
  padding-top: 0px;
  padding-bottom: 40px;
  min-height: 500px !important;
}

/* Reduce top space across entire section hierarchy */
.dnd-section,
.row-fluid-wrapper,
.dnd-row,
.row-number-23,
.module--featshow,
.module__inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* You can also optionally target any remaining outer container HubSpot may inject */
.dnd-area {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Preserve your desired height for the white box */
.featshow__wrapper {
  position: relative;
  padding-top: 0;
  padding-bottom: 40px;
  min-height: 500px !important;
}

/* Keep content aligned toward the top inside */
.featshow__content__wrapper {
  justify-content: flex-start !important;
  padding-top: 0;
  padding-bottom: 20px !important;
}

/* Move controls up and center them properly */
.featshow__controls {
  margin-top: 30px !important; /* You can fine-tune this for spacing */
  display: flex;
  justify-content: center;
}

.featshow__content__wrapper {
  justify-content: flex-start !important;
  padding-top: 0 !important;
  padding-bottom: 20px !important;
}

.featshow__items {
  padding-bottom: 20px !important;
  position: relative; /* key update here */
}

.featshow__items {
  padding-bottom: 80px !important;  /* Increase from 20px to give room for controls */
  position: relative;
}

.featshow__controls {
  position: absolute;
  bottom: 20px; /* Now moves safely inside the extra vertical space */
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 460px;
  display: block !important;
}

@media (max-width: 768px) {
  .featshow__wrapper {
    max-height: 450px !important;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .featshow__controls {
    bottom: 20px;
  }
}

/* Strong body copy (like for bold callouts) */
strong {
  font-weight: 700;
}

/* Blockquotes or pull-quotes */
blockquote, .quote {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  color: #54565A; /* Charcoal */
  border-left: 4px solid #2CB7E7; /* State Beach Blue */
  padding-left: 1rem;
  margin: 1.5rem 0;
}
.blog-post p, 
.blog-post span, 
.blog-post li {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: #000000;
}

#hs_cos_wrapper_header_nav a {
  letter-spacing: 0.02em; /* ~5% tighter tracking */
}