/*
Theme Name: Astra Child
Theme URI: https://example.com/astra-child/
Author: Your Name
Author URI: https://example.com
Description: A child theme for the Astra WordPress theme.
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

body {
  font-family: "Product Sans", sans-serif;
}

p {
  margin: 0;
  padding: 0;
  font-family: "Product Sans", sans-serif;
}

a:focus {
  outline: 0px;
}

.hfe-pointer__underline .menu-item.parent a.hfe-menu-item:after {
  height: 1px;
  bottom: 5px;
}

.hfe-site-logo-container {
  display: flex;
  align-items: center;
}

body.home header.desktop-header {
  position: absolute;
  z-index: 999;
}

/* 
* Blog Page
*/

.custom-blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.blog-post-item {
  max-width: 400px;
  width: 100%;
  margin-bottom: 30px;
}

.thumbnail {
  background-color: #aae2e080;
  min-height: 244px;
}

.thumbnail .no-thumbnail {
  width: 100%;
  height: 244px;
  display: block;
}

.custom-blog-list .blog-post-item .thumbnail img {
  width: 100%;
  height: 244px;
  object-fit: cover;
  display: block;
}
.custom-pagination {
  margin-top: 30px;
  text-align: center;
}
.custom-pagination .page-numbers {
  margin: 0 5px;
  padding: 7px 16px;
  border: 1px solid #dfe3e8;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  font-size: 18px;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  color: #212b36;
  line-height: normal;
}
.custom-pagination .current {
  border: 1px solid #46bbb6;
  color: #46bbb6;
  background: none;
}

form.blog_search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.blog_search {
  display: flex;
  align-items: center;
  background-color: #edf7f7; /* Light aqua-blue */
  border-radius: 8px;
  padding: 10px 16px;
  max-width: 400px;
  margin: 0 0 40px auto;
}

.blog_search input[type="text"] {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 16px;
  color: #333;
}

.blog_search input::placeholder {
  color: #666;
  font-weight: 400;
}

.blog_search button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #111;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-post-item h3 a {
  color: #7b8181;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.blog-post-item p {
  overflow: hidden;
  color: #7b8181;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Product Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.post-date-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ffffffcc;
  color: #7b8181;
  padding: 4px;
  font-size: 12px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 400;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

body.single-post .entry-meta,
.entry-meta * {
  color: #62636c;
}

body.single .nav-links .nav-previous,
body.single .nav-links .nav-next {
  color: #62636c;
}

@media (max-width: 767px) {
  .custom-blog-list {
    grid-template-columns: auto;
    display: block;
  }
}

/* price page */

.price-plans-container {
  max-width: 1082px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

.credit-range-container {
  background-color: #46bbb61a;
  border-radius: 4px;
  display: flex;
  padding: 20px 30px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  align-self: stretch;
}

.credit-range-container .credit-work-info {
  color: #6d758f;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 122.222% */
  cursor: pointer;
}

.credit-range-container h3.header-title {
  color: #6d758f;
  text-align: center;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

.credit-range-container p.header-desc {
  color: #6d758f;
  text-align: center;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 28.8px */
}

.credit-range-container .price-select-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

.credit-work-info,
.credit-display {
  display: flex;
  align-items: center;
  gap: 12px;
}

.credit-display {
  color: #ebb000;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px; /* 122.222% */
}

/* Base styles */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #46bbb61a;
  border-radius: 8px !important;
  outline: 0px !important;
  border: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
  padding: 10px !important;
  margin: 0 !important;
}

/* WebKit (Chrome, Safari, Edge) */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
  border: none !important;
  background: #46bbb6 !important;
  cursor: pointer;
  margin-top: -11px !important; /* Adjusts for vertical alignment */
}

/* Firefox */
.slider::-moz-range-thumb {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
  background: #46bbb6 !important;
  cursor: pointer;
}

.slider::-moz-range-track {
  background: #46bbb6 !important;
  height: 6px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Internet Explorer (legacy) */
.slider::-ms-thumb {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
  background: #46bbb6 !important;
  cursor: pointer;
}

.slider::-ms-track {
  background: transparent !important;
  border-color: transparent !important;
  color: transparent !important;
  height: 8px !important;
  box-shadow: none !important;
}

.slider::-ms-fill-lower {
  background: #46bbb6;
  box-shadow: none !important;
  border-color: transparent !important;
}

.slider::-ms-fill-upper {
  background: #46bbb6;
}

/* Chrome, Safari, Edge */
.slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px !important;
  background: #46bbba !important;
  border: none;
  border-radius: 4px;
  box-shadow: none !important;
}

/* Firefox */
.slider::-moz-range-track {
  background: #46bbb6 !important;
  height: 8px !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

/* Internet Explorer/Edge Legacy */
.slider::-ms-track {
  background: transparent;
  border-color: transparent;
  color: transparent;
  height: 8px;
}

.plan-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 16px;
}

.plan-card {
  display: flex;
  width: 100%;
  max-width: 350px;
  /* height: 100%; */
  padding: 32px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  border-radius: 8px;
  border: 1px solid rgba(70, 187, 182, 0.2);
  background: #fff;
}

.plan-features {
  list-style: none;
  padding: 0;
  text-align: left;
  display: flex;
  width: 306px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 0;
}

.plan-features li {
  position: relative;
  padding-left: 26px;
  color: #6d758f;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 25.6px */
}

.plan-features li:before {
  content: "";
  background-image: url(images/Check-circle.svg);
  position: absolute;
  width: 14px;
  height: 14px;
  left: 0;
  top: 6px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

.plan-image {
  display: flex;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
}

.plan-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* gap: 12px; */
  flex: 1 0 0;
}

.plan-info h3 {
  color: #6d758f;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px; /* 137.5% */
}

span.price-amount {
  color: #6d758f;
  font-family: "Inter", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px; /* 120% */
}

span.price-period {
  color: #6d758f;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 122.222% */
}

.plan-cards button.cta-button {
  color: #6d758f;
  display: flex;
  padding: 20px 18px;
  justify-content: center;
  align-items: center;
  gap: 3px;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid #46bbb633;
  background: #46bbb633;
  margin-top: auto;
}

a.mobile-button {
  display: none;
}

.plan-card:hover button.cta-button {
  background: #46bbb6;
  color: #fff;
}

.plan-card:hover {
  background: #46bbb61a;
}

@media (max-width: 767px) {
  .credit-range-container .price-select-info {
    flex-direction: column-reverse;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .plan-card {
    width: 100%;
    max-width: 100%;
    /* flex-direction: row; */
    justify-content: space-between;
  }

  .included,
  a.cta-button {
    display: none !important;
  }

  .credit-range-container h3.header-title {
    font-size: 16px;
    letter-spacing: -0.32px;
  }

  .credit-range-container p.header-desc {
    font-size: 15px;
    line-height: 24px;
  }

  /* Base styles */
  .slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #46bbb61a;
    border-radius: 8px !important;
    outline: 0px !important;
    border: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    padding: 10px !important;
    margin: 0 !important;
  }

  /* WebKit (Chrome, Safari, Edge) */
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50%;
    border: none !important;
    background: #46bbb6 !important;
    cursor: pointer;
    margin-top: -6.8px !important; /* Adjusts for vertical alignment */
  }

  /* Firefox */
  .slider::-moz-range-thumb {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50%;
    background: #46bbb6 !important;
    cursor: pointer;
  }

  .slider::-moz-range-track {
    background: #46bbb6 !important;
    height: 6px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    border-color: transparent !important;
  }

  /* Internet Explorer (legacy) */
  .slider::-ms-thumb {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50%;
    background: #46bbb6 !important;
    cursor: pointer;
  }

  .slider::-ms-track {
    background: transparent !important;
    border-color: transparent !important;
    color: transparent !important;
    height: 4px !important;
    box-shadow: none !important;
  }

  .slider::-ms-fill-lower {
    background: #46bbb6;
    box-shadow: none !important;
    border-color: transparent !important;
  }

  .slider::-ms-fill-upper {
    background: #46bbb6;
  }

  /* Chrome, Safari, Edge */
  .slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px !important;
    background: #46bbba !important;
    border: none;
    border-radius: 4px;
    box-shadow: none !important;
  }

  /* Firefox */
  .slider::-moz-range-track {
    background: #46bbb6 !important;
    height: 4px !important;
    border: none !important;
    border-radius: 4px !important;
    box-shadow: none !important;
  }

  /* Internet Explorer/Edge Legacy */
  .slider::-ms-track {
    background: transparent;
    border-color: transparent;
    color: transparent;
    height: 4px;
  }

  a.mobile-button {
    background: none;
    color: #6d758f;
    text-align: center;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0px;
  }
}

body.single-post section.ast-single-entry-banner {
  display: none;
}
