:root {
  --col-orange: #db9f4a;
  --col-light: #ffffff;
  --font-heading: "Source Serif Pro", Arial, Helvetica, sans-serif;
  --font-text: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
}

/* Container */
.custom-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .custom-container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* Typography */
body {
  color: #1e1e1e !important;
}

.post-content-area {
  h1 {
    font-size: 2.6875rem;
    font-family: "Castoro", Arial, Helvetica, sans-serif;
  }

  h2 {
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
  }

  h3 {
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
  }

  p {
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  }
}

/* post meta card */
.post-header-card {
  width: 100%;
  background-color: var(--col-orange);
  padding-top: 75px;
  padding-bottom: 68px;
  margin-bottom: 51px;
  margin-top: 90px;

  .post-title {
    position: relative;
    font-family: "Castoro";
    text-align: center;
    color: var(--col-light);
    font-size: 48px;
    margin-bottom: 22px;
    line-height: 100%;
  }

  .post-title svg {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
  }

  .author-name {
    font-weight: 700;
    font-family: Plus Jakarta Sans;
    font-size: 24px;
    color: var(--col-light);
    line-height: normal;
  }

  .publish-date {
    font-size: 16px;
    font-weight: 500;
    font-family: Plus Jakarta Sans;
    color: var(--col-light);
  }

  .author-avatar {
    border-radius: 50%;
    width: 79px;
    height: 79px;
    object-fit: cover;
  }

  .container {
    max-width: 960px;
    margin-inline: auto;
    padding-inline: 1.25rem;
  }

  .post-author-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .author-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* post featured image */

.post-featured-image-wrapper {
  width: 100%;
  max-width: 100%;
}

.post-featured-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.container {
  max-width: 1334px;
  margin-inline: auto;
}

/* sidebar layout */

.post-main-layout {
  display: flex;
  flex-direction: row;
  gap: 58px;
  margin-top: 88px;
  padding-bottom: 40px;
}

.post-content-area {
  flex: 3;
  min-width: 0;
}

.aside-title {
  font-family: Castoro;
  font-weight: 400;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 34px;
}

/* sidebar toc */

.sidebar-toc {
  margin-bottom: 75px;
  max-width: 337px;

  .toc-list-title {
    cursor: pointer;
    font-family: Plus Jakarta Sans;
    font-weight: 700;
    font-size: 24px;
    line-height: 50px;
  }

  .toc-list-item {
    display: block;
    color: #1e1e1e;
    font-family: Plus Jakarta Sans;
    font-weight: 400;
    font-size: 20px;
    line-height: 50px;
    padding-left: 18px;
  }
}

/* sidebar latest posts */

.sidebar-latest-posts {
  display: flex;
  flex-direction: column;
  max-width: 337px;
}

.sidebar-latest-posts h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.sidebar-post-card {
  background-color: #fff9f5;
  border: 1px solid #db9f4a;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  gap: 0.64rem;
  margin-bottom: 57px;
}

.sidebar-post-card:last-child {
  margin-bottom: 0px;
}

.sidebar-post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  display: block;
}

.sidebar-post-title {
  color: #1e1e1e !important;
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
  padding: 0px 17px;
}

.sidebar-post-title a {
  text-decoration: none;
  color: #1e1e1e !important;
}

.sidebar-post-cta {
  color: #e86954 !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 100%;
  border: 2px solid #e86954;
  border-radius: 50px;
  margin: 0px 17px;
  margin-bottom: 9px;
  max-width: fit-content;
  padding: 9px 21px;
}

/* author card */

.author-card {
  border: 1px solid #db9f4a;
  border-radius: 20px;
  padding: 52px 68px 42px 34px;
  background-color: #ffffff;
  margin-top: 101px;
  margin-bottom: 112px;
}

.author-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;

  img {
    border-radius: 100%;
    width: 75px;
    height: 75px;
  }
}

.author-meta .author-name {
  font-family: Plus Jakarta Sans;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #000;
}

.author-bio {
  color: #1e1e1e;
  font-family: Plus Jakarta Sans;
  font-weight: 400;
  font-size: 24px;
  line-height: 35px;
  margin-bottom: 17px;
  text-align: justify;
}

.author-cta {
  display: inline-block;
  border-radius: 50px;
  border: 2px solid #e86954;
  font-family: Plus Jakarta Sans;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  color: #ffffff !important;
  background: #e86954;
  padding: 10px 20px;
  text-align: center;
}

.mainHeader #menu-custom-menu a {
  font-size: 1rem;
  color: #2b2c2e !important;
  font-weight: 500 !important;
  font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
}

.faq__section h2 {
  font-family: Castoro;
  font-weight: 400 !important;
  font-size: 2.5rem;
  line-height: 1.75;
  text-align: center;
  color: #2e2e2e;
  margin-top: 105px;
  margin-bottom: 60px;
}

.faq {
  max-width: 780px;
}

.faq__item {
  margin-bottom: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq__question {
  border-radius: 999px;
  width: 100%;
  padding: 13px 18px;
  background-color: #e86954;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.faq__title {
  color: #fff;
  font-weight: 500;
  font-size: 19px;
  line-height: 100%;
  text-align: left;
}

.faq__icon {
  max-width: 46px;
  max-height: 46px;
  margin-bottom: 0px;
}

.faq__answer {
  background-color: #fff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  padding: 15px 20px;
  transition:
    opacity 0.4s ease,
    max-height 0.4s ease;
}

.faq__answer--visible {
  display: block;
  opacity: 1;
  max-height: 500px;
  padding: 15px 20px;
}

.form-programare-1 {
  background-color: #db9f4a;
  border-radius: 25px;
  padding: 22px 52px;
  max-width: 633px;
  box-sizing: border-box;
  margin-top: 60px;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
}

.form-programare-1 .btSessionColumn {
  margin-bottom: 25px;
}

.form-programare-1 input[type="text"],
.form-programare-1 input[type="email"],
.form-programare-1 input[type="tel"],
.form-programare-1 select,
.form-programare-1 textarea,
.form-programare-1 .fancy-select .trigger {
  width: 100%;
  padding: 11px 20px !important;
  background-color: #fff !important;
  border-radius: 150px !important;
  border: none;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 500;
  font-size: 16px !important;
  line-height: 100% !important;
  color: #787777 !important;
  box-sizing: border-box;
}

.form-programare-1 .fancy-select .trigger {
  padding: 16px 20px !important;
}

.form-programare-1 textarea {
  padding: 10px 19px;
  border-radius: 150px;
  resize: vertical;
  min-height: 100px;
}

.form-programare-1 ::placeholder {
  color: #787777;
  opacity: 1; /* Ensure placeholder is visible */
}

.form-programare-1.btSession .btSessionButton button {
  width: 100%;
  background-color: #71b738;
  text-align: center;
  padding: 10px 41px !important;
  border: none;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 100%;
  border-radius: 150px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.form-programare-1.btSession .btSessionButton button::after {
  content: none;
}

.form-programare-1.btSession .btSessionButton button::before {
  content: none;
}

.form-programare-1 .btSessionButton button:hover {
  background-color: #5fa62e;
}

.form-programare-1 .title p {
  font-family: Castoro !important;
  color: #fff !important;
  text-align: center;
  font-weight: 400;
  font-size: 28px;
  line-height: 100%;
  margin-bottom: 40px;
}

.form-programare-1 .logo {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.topBarInMenuCell .btButtonWidget .bt_bb_icon_holder::before,
.topBarInMenuCell .btButtonWidget .bt_bb_button_text {
  color: #1e1e1e;
}

.single .btMenuHorizontal .menuPort > nav > ul > li > a {
  color: #2b2c2e;
}

.single .bt-logo-area .logo img.btAltLogo {
  display: block !important;
}
.single .bt-logo-area .logo img {
  display: none !important;
}

.single.btMenuHorizontal .menuPort>nav>ul>li>a {
    color: #2b2c2e;
}

.single.btTransparentLightHeader .bt-vertical-menu-trigger .bt_bb_icon:before,
.single .bt-vertical-menu-trigger .bt_bb_icon:before,
.single
  .btTransparentLightHeader
  .bt-vertical-menu-trigger
  .bt_bb_icon
  .bt_bb_icon_holder:before {
  border-top-color: #2b2c2e !important;
}

@media screen and (max-width: 758px) {
  .sidebar-toc {
    display: none;
  }

  .author-card {
    margin-top: 80px;
    margin-bottom: 92px;
    padding: 28px 20px 28px 20px;

    img {
      width: 60px;
      height: 60px;
    }

    .author-meta .author-name {
      font-size: 20px;
    }

    .author-bio {
      font-size: 16px;
      text-align: left;
      line-height: 30px;
    }

    .author-cta {
      font-size: 16px;
    }
  }

  .post-header-card {
    padding-top: 35px;
    padding-bottom: 28px;
    margin-bottom: 24px;

    .post-title {
      font-size: 28px;
      margin-bottom: 14px;
    }

    .author-name {
      font-size: 18px;
    }

    .publish-date {
      font-size: 14px;
    }

    .author-avatar {
      width: 64px;
      height: 64px;
    }
  }

  .post-main-layout {
    flex-direction: column;
    gap: 28px;
    margin-top: 44px;
    padding-bottom: 40px;
  }

  .sidebar-latest-posts {
    max-width: 100%;
  }

  .sidebar-toc {
    margin-bottom: 37px;
  }

  .aside-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .sidebar-toc {
    .toc-list-title {
      font-size: 18px;
      line-height: 40px;
    }

    .toc-list-item {
      font-size: 16px;
      line-height: 34px;
    }
  }

  .sidebar-post-title {
    font-size: 16px;
    line-height: 22px;
    padding: 0px 14px;
  }

  .sidebar-post-cta {
    margin: 0px 14px;
    font-size: 13px;
    margin-bottom: 9px;
  }

  .sidebar-post-card {
    margin-bottom: 30px;
  }

  .faq__section h2 {
    margin-top: 65px;
    margin-bottom: 30px;
    font-size: 30px;
  }

  .faq__question {
    padding: 11px;
  }

  .faq__title {
    text-align: center;
    font-size: 16px;
  }

  .faq__icon {
    width: 30px;
    height: 30px;
  }

  .faq__answer {
    padding: 10px 20px;
  }

  .faq__item {
    margin-bottom: 0px;
  }

  .post-title svg {
    max-width: 60%;
  }

  .booking-card {
    padding: 14px;
  }

  .booking-card__text {
    font-size: 23px;
    line-height: normal;
  }

  .bt_bb_section .bt_bb_row_holder .bt_bb_column {
    padding: 0px;
  }

  .form-programare-1 {
    padding: 12px;
  }

  .form-programare-1 .title p {
    margin-bottom: 0px !important;
  }

  .form-programare-1.btSession .btSessionButton button {
    padding: 10px 30px !important;
    font-size: 18px !important;
  }

  .post-header-card {
    margin-top: 45px;
  }
}
