:root {
  --hestia-focus: #ffbf47;
}

html {
  scroll-behavior: smooth;
}

.hestia-theme .skip-link {
  position: absolute;
  left: 18px;
  top: 12px;
  z-index: 20000;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 6px;
  background: #101828;
  color: #fff;
}

.hestia-theme .skip-link:focus {
  transform: translateY(0);
}

.hestia-theme a:focus-visible,
.hestia-theme button:focus-visible,
.hestia-theme input:focus-visible,
.hestia-theme select:focus-visible,
.hestia-theme textarea:focus-visible,
.hestia-theme [tabindex]:focus-visible {
  outline: 4px solid var(--hestia-focus) !important;
  outline-offset: 4px !important;
}

.hestia-theme .h-phone a {
  color: inherit;
  display: block;
  line-height: 1.1;
  text-decoration: none;
}

.hestia-theme .logo-main,
.hestia-theme .logo-scroll,
.hestia-theme .logo-mobile,
.hestia-theme footer img {
  max-width: 100%;
}

.hestia-theme .logo-mobile-dark,
.hestia-theme .logo-mobile-light {
  display: none;
}

.hestia-theme .hestia-brand-text {
  color: #fff;
  display: block;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  max-width: min(260px, 22vw);
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color .2s ease;
  white-space: normal;
}

.hestia-theme header.smaller.scroll-light .hestia-brand-text,
.hestia-theme header.header-light .hestia-brand-text,
.hestia-theme header.header-mobile .hestia-brand-text {
  color: var(--title-font-color);
}

.hestia-theme .hestia-footer-brand-text {
  color: #202020;
  display: inline-block;
  font-family: var(--title-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.hestia-theme .hestia-footer-brand-text:hover {
  color: var(--primary-color);
}

.hestia-theme header.hestia-inner-header,
.hestia-theme header.hestia-inner-header.smaller,
.hestia-theme header.hestia-inner-header.scroll-light,
.hestia-theme header.hestia-inner-header.smaller.scroll-light {
  background: #fff !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  color: var(--title-font-color) !important;
  left: 0 !important;
  position: fixed !important;
  right: 0 !important;
  top: 0 !important;
  transform: none !important;
  z-index: 3000 !important;
}

body.hestia-theme:not(.hestia-home-page) main#site-content {
  padding-top: 80px;
}

body.hestia-theme.hestia-home-no-hero main#site-content {
  padding-top: 80px;
}

.hestia-theme header.hestia-inner-header .container,
.hestia-theme header.hestia-inner-header .row,
.hestia-theme header.hestia-inner-header .col-md-12,
.hestia-theme header.hestia-inner-header .de-flex {
  min-height: 80px;
}

.hestia-theme header.hestia-inner-header .logo-main,
.hestia-theme header.header-light .logo-main {
  display: none;
}

.hestia-theme header.hestia-inner-header .logo-scroll,
.hestia-theme header.header-light .logo-scroll {
  display: block;
}

.hestia-theme header.hestia-inner-header #mainmenu > li > a,
.hestia-theme header.hestia-inner-header #mainmenu li.has-child::after,
.hestia-theme header.hestia-inner-header .h-phone,
.hestia-theme header.hestia-inner-header .h-phone a,
.hestia-theme header.hestia-inner-header .hestia-brand-text {
  color: var(--title-font-color) !important;
}

.hestia-theme header.hestia-inner-header .h-phone i {
  color: var(--primary-color);
}

.hestia-theme header.hestia-inner-header.smaller #mainmenu > li > a {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}

.hestia-theme #subheader.hestia-subheader,
.hestia-theme #subheader.hestia-subheader.s2 {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
  border: 0 !important;
  color: #fff !important;
  height: auto !important;
  margin: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 20px 0 !important;
  position: relative !important;
  text-align: left !important;
}

.hestia-theme #subheader.hestia-subheader .container,
.hestia-theme #subheader.hestia-subheader .row {
  min-height: 0 !important;
}

.hestia-theme #subheader.hestia-subheader h1 {
  color: #fff !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.hestia-theme #subheader.hestia-subheader .crumb {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
  margin: 0 !important;
  padding: 0 !important;
}

.hestia-theme #subheader.hestia-subheader .crumb li {
  color: #fff !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.hestia-theme #subheader.hestia-subheader .crumb li + li::before {
  color: rgba(255, 255, 255, .75);
  content: ">";
  margin-right: 9px;
}

.hestia-theme #subheader.hestia-subheader .crumb a {
  color: #fff !important;
  text-decoration: none;
}

.hestia-theme #subheader.hestia-subheader .hestia-subheader__lead {
  display: none !important;
}

html[data-a11y-text-only="1"] .hestia-theme header,
html[data-a11y-hide-images="1"] .hestia-theme header {
  background: #fff !important;
  border-bottom: 1px solid #111827 !important;
  color: #111827 !important;
  position: static !important;
}

html[data-a11y-text-only="1"] .hestia-theme header *,
html[data-a11y-hide-images="1"] .hestia-theme header *,
html[data-a11y-text-only="1"] .hestia-theme .text-light,
html[data-a11y-hide-images="1"] .hestia-theme .text-light {
  color: #111827 !important;
}

html[data-a11y-text-only="1"] .hestia-theme .jarallax,
html[data-a11y-hide-images="1"] .hestia-theme .jarallax,
html[data-a11y-text-only="1"] .hestia-theme .section-dark,
html[data-a11y-hide-images="1"] .hestia-theme .section-dark {
  background: #fff !important;
  color: #111827 !important;
  min-height: auto !important;
}

html[data-a11y-text-only="1"] .hestia-theme .jarallax-img,
html[data-a11y-hide-images="1"] .hestia-theme .jarallax-img {
  display: none !important;
}

html[data-a11y-text-only="1"] .hestia-theme .pt80,
html[data-a11y-hide-images="1"] .hestia-theme .pt80 {
  padding-top: 40px !important;
}

html[data-a11y-text-only="1"] body.hestia-theme:not(.hestia-home-page) main#site-content,
html[data-a11y-hide-images="1"] body.hestia-theme:not(.hestia-home-page) main#site-content {
  padding-top: 0 !important;
}

.hestia-theme .accordion-section-title.hestia-accordion-button {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: solid 1px rgba(0, 0, 0, .5);
  border-radius: 0;
  color: #35404e;
  cursor: pointer;
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  padding: 15px 0;
  width: 100%;
  text-align: left;
  transition: all linear .5s;
}

.hestia-theme .hestia-faq-section .accordion.s2 {
  margin-top: 18px;
}

.hestia-theme .hestia-faq-section .accordion-section-content {
  padding-top: 15px;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.hestia-theme .hestia-faq-section .accordion-section-content p {
  margin-bottom: 0;
}

.hestia-theme .hestia-blog-highlights .post-image img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
  width: 100%;
}

.hestia-theme .hestia-blog-highlights h4 {
  line-height: 1.35;
}

.hestia-theme .hestia-blog-highlights h4 a {
  text-decoration: none;
}

.hestia-theme .hestia-blog-highlights .bg-grey {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}

.hestia-theme .hestia-home-news .hestia-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.hestia-theme .hestia-blog-page .hestia-content,
.hestia-theme .hestia-blog-category-page .hestia-content {
  padding: 92px 0;
}

.hestia-theme .hestia-blog-page .hestia-post-grid,
.hestia-theme .hestia-blog-category-page .hestia-post-grid {
  display: grid;
  gap: 42px 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hestia-theme .hestia-post-card {
  color: inherit;
  display: block;
  text-decoration: none;
}

.hestia-theme .hestia-post-card--classic {
  height: 100%;
}

.hestia-theme .hestia-post-card__media {
  display: block;
  position: relative;
}

.hestia-theme .hestia-post-card__media img,
.hestia-theme .hestia-post-card > img {
  aspect-ratio: 5 / 3;
  border-radius: 8px;
  display: block;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%;
}

.hestia-theme .hestia-post-card__badge {
  background: var(--secondary-color);
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 9px 13px;
  position: absolute;
  right: 18px;
  text-transform: uppercase;
  top: 18px;
}

.hestia-theme .hestia-post-card__body {
  display: block;
}

.hestia-theme .hestia-post-card time {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
}

.hestia-theme .hestia-post-card h2,
.hestia-theme .hestia-post-card h3 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.hestia-theme .hestia-post-card h2 a,
.hestia-theme .hestia-post-card h3 a {
  color: var(--title-font-color);
  text-decoration: none;
}

.hestia-theme .hestia-post-card p {
  color: #6b778d;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.hestia-theme .hestia-post-card__meta {
  align-items: center;
  background: #f5f8f8;
  border-radius: 8px;
  color: #6b778d;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 10px 14px;
  min-height: 38px;
  padding: 7px 14px;
}

.hestia-theme .hestia-post-card__meta-icon {
  align-items: center;
  background: rgba(var(--primary-color-rgb), .12);
  border-radius: 50%;
  color: var(--primary-color);
  display: inline-flex;
  flex: 0 0 20px;
  font-size: 13px;
  height: 20px;
  justify-content: center;
  line-height: 1;
  width: 20px;
}

.hestia-theme .hestia-post-card__meta time {
  align-items: center;
  color: #6b778d;
  display: inline-flex;
  gap: 6px;
  margin: 0;
}

.hestia-theme .hestia-blog-single {
  padding: 92px 0;
}

.hestia-theme .hestia-blog-single h1 {
  color: #0b1320;
  font-size: clamp(34px, 3.8vw, 46px);
  line-height: 1.15;
  margin-bottom: 28px;
}

.hestia-theme .hestia-blog-single__cover {
  aspect-ratio: 1.5 / 1;
  border-radius: 10px;
  display: block;
  margin-bottom: 30px;
  object-fit: cover;
  width: 100%;
}

.hestia-theme .hestia-blog-single .hestia-richtext {
  color: #69778d;
  font-size: 16px;
  line-height: 1.9;
}

.hestia-theme .hestia-blog-sidebar {
  padding-top: 8px;
}

.hestia-theme .hestia-blog-sidebar__section {
  margin-bottom: 44px;
}

.hestia-theme .hestia-blog-sidebar__section h2 {
  color: #0b1320;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hestia-theme .hestia-recent-post {
  align-items: center;
  border-bottom: 1px solid #d8dedc;
  color: #0b1320;
  display: grid;
  gap: 16px;
  grid-template-columns: 78px minmax(0, 1fr);
  padding: 0 0 22px;
  text-decoration: none;
}

.hestia-theme .hestia-recent-post + .hestia-recent-post {
  padding-top: 22px;
}

.hestia-theme .hestia-recent-post img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.hestia-theme .hestia-recent-post strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.hestia-theme .hestia-recent-post time {
  align-items: center;
  color: #69778d;
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
}

.hestia-theme .hestia-blog-sidebar ul {
  margin: 0;
  padding-left: 18px;
}

.hestia-theme .hestia-document-page {
  padding: 80px 0;
}

.hestia-theme .hestia-richtext img {
  border-radius: 20px;
  height: auto;
  max-width: 100%;
}

.hestia-theme .hestia-document-gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hestia-theme .hestia-document-gallery img {
  border-radius: 20px;
  width: 100%;
}

.hestia-theme .hestia-document-extra {
  border-top: 1px solid rgba(var(--primary-color-rgb), .18);
  margin-top: 42px;
  padding-top: 32px;
}

.hestia-theme .hestia-document-extra h2 {
  color: #0b1320;
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hestia-theme .hestia-document-link-list {
  margin: 0;
  padding-left: 20px;
}

.hestia-theme .hestia-document-link-list li + li {
  margin-top: 8px;
}

.hestia-theme .hestia-document-link-list a {
  color: var(--primary-color);
  font-weight: 700;
}

.hestia-theme .hestia-gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.hestia-theme .hestia-gallery-grid a {
  aspect-ratio: 1 / .78;
  border-radius: 10px;
  display: block;
  overflow: hidden;
}

.hestia-theme .hestia-gallery-grid img {
  border-radius: 0;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hestia-theme .hestia-bip-link {
  align-items: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(220, 38, 38, .15);
  border-radius: 999px;
  color: #991b1b !important;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0;
  height: 42px;
  justify-content: center;
  margin-right: 8px;
  min-width: 86px;
  padding: 0 12px;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.hestia-theme .hestia-bip-link:hover,
.hestia-theme .hestia-bip-link:focus-visible {
  background: #fff;
  box-shadow: 0 12px 28px rgba(153, 27, 27, .18);
  color: #7f1d1d !important;
  transform: translateY(-1px);
}

.hestia-theme .hestia-bip-link img {
  display: block;
  height: 22px;
  object-fit: contain;
  width: auto;
}

.hestia-theme .menu_side_area {
  gap: 10px;
}

header.transparent .hestia-bip-link,
.hestia-theme header:not(.header-light) .hestia-bip-link {
  background: rgba(255, 255, 255, .96);
}

.hestia-theme .hestia-bip-footer-link {
  align-items: center;
  border: 1px solid rgba(220, 38, 38, .14);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  min-width: 86px;
  padding: 8px 14px;
}

.hestia-theme .hestia-bip-footer-link img {
  display: block;
  height: 22px;
  object-fit: contain;
  width: auto;
}

@media (max-width: 991px) {
  .hestia-theme .hestia-subheader {
    padding: 24px 0;
  }

  .hestia-theme .hestia-subheader .text-lg-end {
    margin-top: 10px;
    text-align: left !important;
  }

  .hestia-theme .hestia-subheader .crumb {
    justify-content: flex-start;
  }

  .hestia-theme .hestia-blog-page .hestia-post-grid,
  .hestia-theme .hestia-blog-category-page .hestia-post-grid {
    grid-template-columns: 1fr;
  }

  .hestia-theme header.header-mobile .de-flex {
    align-items: center !important;
    display: flex !important;
    gap: 12px;
    justify-content: space-between !important;
  }

  .hestia-theme header.header-mobile .de-flex > .de-flex-col:first-child {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hestia-theme header.header-mobile #logo {
    display: block !important;
    max-width: calc(100vw - 96px);
    min-width: 0;
  }

  .hestia-theme header.header-mobile #logo a {
    display: block;
    max-width: 100%;
  }

  .hestia-theme header.header-mobile .logo-mobile {
    display: none !important;
  }

  .hestia-theme header.header-mobile .logo-mobile-light {
    display: block !important;
  }

  .hestia-theme header.header-mobile.header-light .logo-mobile-light {
    display: none !important;
  }

  .hestia-theme header.header-mobile.header-light .logo-mobile-dark {
    display: block !important;
  }

  .hestia-theme header.header-mobile .hestia-brand-text {
    color: #fff;
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hestia-theme header.header-mobile.header-light .hestia-brand-text {
    color: var(--title-font-color);
  }

  .hestia-theme header.header-mobile .menu_side_area {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
  }

  .hestia-theme header.header-mobile #menu-btn {
    flex: 0 0 auto;
  }

  .hestia-theme .hestia-bip-link {
    height: 38px;
    margin-right: 0;
    min-width: 60px;
    padding: 0 10px;
  }

  .hestia-theme .hestia-bip-link img {
    height: 18px;
  }

  .hestia-theme .hestia-home-news .hestia-post-grid,
  .hestia-theme .hestia-document-gallery,
  .hestia-theme .hestia-gallery-grid {
    grid-template-columns: 1fr;
  }
}
