/* Evoque single-post template styles (class prefix: .evqs-) */
.evqs-wrap {
  --evq: #1b75bc;
  max-width: 1260px;
  margin: 0 auto;
  padding: 50px 10px 80px;
  font-family: "allerregular", Arial, Tahoma, sans-serif;
}

.evqs-wrap * {
  box-sizing: border-box;
}
/* Hide BeTheme's subheader bar on these posts so the design starts clean.
   Remove this rule if you want the theme's title/breadcrumb bar back. */
body.evqs-single #Subheader {
  display: none;
}

/* ---------- Hero ---------- */
.evqs-hero {
  text-align: center;
  margin: 0 0 30px;
}

.evqs-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 0 30px;
}

.evqs-byline__info {
  text-align: left;
}

.evqs-author {
  color: var(--evq);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  line-height: 1.2;
}

.evqs-metaline,
.evqs-cats,
.evqs-tags {
  color: #8a8f98;
  font-size: 16px;
  margin-top: 6px;
}

.evqs-cats a,
.evqs-tags a {
  color: #8a8f98;
  text-decoration: none;
}

.evqs-cats a:hover,
.evqs-tags a:hover {
  color: var(--evq);
}

.evqs-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #2c2f36;
  background: var(--evq);
  display: flex;
  align-items: center;
  justify-content: center;
}

.evqs-avatar::before {
  content: attr(data-initial);
  color: #fff;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

.evqs-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.evqs-title {
  font-size: 35px;
  line-height: 1.12;
  font-weight: 400;
  color: #16181d;
  margin: 0;
}

/* ---------- Featured image ---------- */
.evqs-featured {
  margin: 0 0 46px;
}

.evqs-featured img {
  width: 100%;
  height: auto;
  max-height: 670px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* ---------- Content + sidebar layout ---------- */
.evqs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 46px;
  align-items: start;
}

/* ---------- Article content ---------- */
.evqs-content {
  color: #5f6470;
  font-size: 18px;
  line-height: 1.8;
}

.evqs-content h1,
.evqs-content h2,
.evqs-content h3,
.evqs-content h4,
.evqs-content h5 {
  color: #16181d;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 20px;
}

.evqs-content h2 {
  font-size: 27px;
}

.evqs-content h3 {
  font-size: 22px;
}

.evqs-content h4 {
  font-size: 19px;
}

.evqs-content p {
  margin: 0 0 1.3em;
}

.evqs-content a {
  color: var(--evq);
  text-decoration: underline;
}

.evqs-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.evqs-content ul,
.evqs-content ol {
  margin: 0 0 1.3em 1.2em;
}

.evqs-content li {
  margin: .4em 0;
}

.evqs-content blockquote {
  border-left: 4px solid var(--evq);
  margin: 1.4em 0;
  padding: .4em 0 .4em 20px;
  color: #42464e;
  font-style: italic;
}

/* ---------- Sidebar / Latest Blogs ---------- */
.evqs-sidebar {
  position: sticky;
  top: 30px;
}

.evqs-widget {
  background: #ededed;
  border-radius: 10px;
  padding: 24px 22px;
}

.evqs-widget + .evqs-widget { margin-top: 24px; }

.evqs-widget__title {
  font-size: 22px;
  font-weight: 400;
  color: #16181d;
  margin: 0 0 18px;
}

.evqs-mini {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #dcdcdc;
  text-decoration: none;
}

.evqs-mini:first-of-type {
  border-top: none;
  padding-top: 0;
}

.evqs-mini__thumb {
  flex: 0 0 auto;
  width: 84px;
  height: 66px;
  border-radius: 8px;
  background: #ccc center / cover no-repeat;
}

.evqs-mini__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.evqs-mini__title {
  color: #16181d;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.3;
}

.evqs-mini:hover .evqs-mini__title {
  color: var(--evq);
}

.evqs-mini__author {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8a8f98;
  font-size: 13px;
}

.evqs-mini__avatar {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--evq);
  display: flex;
  align-items: center;
  justify-content: center;
}

.evqs-mini__avatar::before {
  content: attr(data-initial);
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
}

.evqs-mini__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Categories list widget ---------- */
.evqs-catlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.evqs-catlist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid #dcdcdc;
  color: #42464e;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
}

.evqs-catlist li:first-child a { border-top: none; padding-top: 0; }
.evqs-catlist a:hover { color: var(--evq); }

/* Collapsed state: hide categories beyond the first 4. */
.evqs-catlist:not(.is-expanded) .evqs-cat-extra { display: none; }

.evqs-catmore {
  margin-top: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--evq);
  font-weight: 400;
  font-size: 14px;
}

.evqs-catmore:hover { text-decoration: underline; }

.evqs-count {
  flex: 0 0 auto;
  min-width: 24px;
  text-align: center;
  background: #fff;
  color: #8a8f98;
  font-size: 12px;
  font-weight: 400;
  border-radius: 11px;
  padding: 2px 8px;
}

/* ---------- Tags cloud widget ---------- */
.evqs-tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.evqs-tagcloud a {
  background: #fff;
  color: #5f6470;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background .2s, color .2s;
}

.evqs-tagcloud a:hover { background: var(--evq); color: #fff; }

/* ---------- Contact / CTA widget ---------- */
.evqs-cta {
  background: var(--evq);
  color: #fff;
  text-align: center;
}

.evqs-cta__title {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 10px;
}

.evqs-cta__text {
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.evqs-cta__phone {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .5px;
  text-decoration: none;
  margin: 0 0 16px;
}

.evqs-cta__phone:hover { text-decoration: underline; }

.evqs-cta__btn {
  display: inline-block;
  background: #fff;
  color: var(--evq);
  font-weight: 400;
  font-size: 15px;
  text-decoration: none;
  padding: 11px 26px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}

.evqs-cta__btn:hover { background: #16181d; color: #fff; }

.saboxplugin-wrap {
  display: none !important;
}
/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .evqs-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .evqs-sidebar {
    position: static;
  }

  .evqs-title {
    font-size: 20px;
  }

}

@media (max-width: 600px) {
  .evqs-byline {
    flex-direction: column;
    gap: 10px;
  }
.evqs-hero {
    margin: 0 0 20px;
}
  .evqs-byline__info {
    text-align: center;
  }

  .evqs-avatar {
    width: 88px;
    height: 88px;
  }
  .evqs-author {
    font-size: 16px;
}

  .evqs-avatar::before {
    font-size: 20px;
  }

  .evqs-content {
    font-size: 13px;
  }

  .evqs-featured img {
    border-radius: 8px;
  }
  .evqs-metaline, .evqs-cats, .evqs-tags {
    font-size: 13px;
}
.evqs-byline {
    margin: 0 0 20px;
}
.evqs-featured {
    margin: 0 0 10px;
}
.evqs-content p {
    margin: 0 0 10px;
    font-size: 14px;
}
.evqs-content h1,
.evqs-content h2,
.evqs-content h3,
.evqs-content h4,
.evqs-content h5 {
    margin: 0 0 10px;
}
.evqs-content h2 {
    font-size: 24px;
}
.evqs-content h3 {
    font-size: 22px;
}
.evqs-content h4 {
    font-size: 20px;
}
}

/* ===== FAQ accordion (built by JS from the FAQ section) ===== */
.evqs-content .evq-faq__title { margin-top: 34px; }
.evqs-content .evq-faq { margin: 14px 0 30px; }
.evqs-content .evq-faq__item {
    background: #fff;
    border: 1px solid #e7edf3;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}
.evqs-content .evq-faq__q {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 0;
    font-weight: normal;
    font-family: allerbold;
}
.evqs-content .evq-faq__qt { font-size: 16px; font-weight: 600; color: #13314a; line-height: 1.4; }
.evqs-content .evq-faq__q:hover .evq-faq__qt { color: #1b75bc; }
.evqs-content .evq-faq__ico { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.evqs-content .evq-faq__ico::before,
.evqs-content .evq-faq__ico::after { content: ""; position: absolute; background: #1b75bc; transition: transform .2s ease; }
.evqs-content .evq-faq__ico::before { top: 8px; left: 0; width: 18px; height: 2px; }
.evqs-content .evq-faq__ico::after { left: 8px; top: 0; width: 2px; height: 18px; }
.evqs-content .evq-faq__item.is-open .evq-faq__ico::after { transform: scaleY(0); }
.evqs-content .evq-faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.evqs-content .evq-faq__item.is-open .evq-faq__a { max-height: 600px; }
.evqs-content .evq-faq__a p { margin: 0; padding: 0 20px 18px; color: #475561; font-size: 15px; line-height: 1.65; }
/* ===== END FAQ accordion ===== */