:root {
  --main-width: 1360px;
  --c-main: #2ab391;
  --c-main-rgb: 42, 179, 145;
  --c-bg: #ffffff;
  --c-bg-soft: #fcfcfc;
  --c-text: #1c1c1c;
  --c-title: #0f0f0f;
  --c-border: #e9e9e9;
  --c-dark: #060606;
  --c-dark-2: #111111;
  --title-font: "Roboto", Arial, sans-serif;
  --body-font: "Roboto", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--body-font);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

a:hover {
  color: var(--c-main);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--c-main);
  outline-offset: 2px;
}

.main-wrap {
  overflow: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap,
.ts-contain {
  width: min(100% - 32px, var(--main-width));
  margin-inline: auto;
}

.s-dark {
  color: #fff;
}

.smart-head-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.smart-head-top {
  min-height: 34px;
  background: var(--c-dark-2);
}

.smart-head-mid {
  min-height: 92px;
  background: #fff;
  display: flex;
  align-items: center;
}

.smart-head-main .smart-head-mid .inner {
  justify-content: flex-start;
  gap: 0;
}

.smart-head-main .smart-head-mid .items-right {
  margin-left: auto;
}

.smart-head-main .smart-head-mid .items-left {
  width: 100%;
}

.smart-head-bot {
  min-height: 52px;
  background: var(--c-main);
  display: flex;
  align-items: center;
}

.inner {
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.items {
  display: flex;
  align-items: center;
}

.logo-link {
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: .02em;
}

.logo-link img {
  max-height: 56px;
  width: auto;
}

.head-note {
  font-size: 12px;
  opacity: .8;
}

.navigation-main .menu,
.navigation-top .menu,
.mobile-menu,
.footer-links,
.breadcrumbs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation-main .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.navigation-top .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.navigation-main .menu a {
  display: inline-block;
  padding: 13px 6px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
}

.navigation-top .menu a {
  display: inline-block;
  padding: 7px 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: .86;
}

.navigation-top .menu a:hover {
  opacity: 1;
}

.navigation-main .menu a:hover {
  color: #ffffff;
  opacity: .82;
}

.smart-head-main .offcanvas-toggle {
  display: none;
}

.offcanvas-toggle {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0 12px 0 0;
}

.hamburger-icon {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 14px;
}

.hamburger-icon .inner,
.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.hamburger-icon .inner {
  top: 6px;
}

.hamburger-icon::before {
  top: 0;
}

.hamburger-icon::after {
  top: 12px;
}

.off-canvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 80;
}

.mobile-menu-container {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(88vw, 360px);
  background: var(--c-dark);
  transform: translateX(-100%);
  transition: transform .25s ease;
  z-index: 90;
}

.off-canvas-head {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.off-canvas-content {
  padding: 14px 18px 30px;
  height: calc(100% - 60px);
  overflow: auto;
}

.mobile-menu a {
  display: block;
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-weight: 500;
}

.menu-open .off-canvas-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.menu-open .mobile-menu-container {
  transform: translateX(0);
}

.smart-head-mobile {
  display: none;
}

.main-full {
  background: #fff;
}

.main-full .page-content {
  width: min(100% - 32px, var(--main-width));
  margin-inline: auto;
}

.home-main-title {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.18;
  color: var(--c-title);
}

.feat-grid {
  padding: 18px 0 24px;
}

.feat-grid .slides {
  max-width: 100%;
  margin-inline: auto;
}

.slides .items-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
}

.slides .items-wrap.single-featured {
  grid-template-columns: minmax(0, 1fr);
}

.item-main {
  grid-row: span 2;
}

.slides .items-wrap.single-featured .item-main {
  grid-row: auto;
}

.l-post {
  background: #fff;
}

.grid-overlay .media,
.grid-post .media {
  border-radius: 2px;
  overflow: hidden;
  background: #f2f2f2;
}

.grid-overlay .media img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.item-main .media img {
  aspect-ratio: 2.7 / 1;
}

.grid-overlay .content-wrap {
  padding: 8px 0 0;
}

.single-featured .post-title {
  font-size: 23px;
  line-height: 1.28;
}

.post-title {
  margin: 0;
  font-family: var(--title-font);
  color: var(--c-title);
}

.post-meta-a .post-title a:hover,
.sidebar-title-link:hover,
.related-link:hover {
  color: var(--c-main);
}

.meta-below {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 13px;
  color: #6c6c6c;
}

.block-wrap {
  margin: 28px 0 34px;
}

.home-recent-posts {
  margin-top: 0;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.block-head .heading {
  margin: 0;
  font-size: 22px;
  color: var(--c-title);
}

.block-head .color {
  color: var(--c-main);
}

.loop-grid {
  display: grid;
  gap: 22px 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-1 {
  grid-template-columns: minmax(0, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-sm-post .media img,
.grid-base-post .media img {
  width: 100%;
  aspect-ratio: 1.68;
  object-fit: cover;
}

.grid-post .content {
  padding-top: 10px;
}

.grid-post .post-title {
  font-size: 18px;
  line-height: 1.3;
}

.grid-sm-post .post-title {
  font-size: 17px;
}

.ts-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 36px;
}

.ts-row > .col-12 {
  grid-column: 1 / -1;
}

.archive-heading {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.25;
}

.breadcrumbs {
  margin: 18px 0 14px;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #777;
  font-size: 13px;
}

.breadcrumbs-item + .breadcrumbs-item::before {
  content: "/";
  margin-right: 8px;
  color: #9e9e9e;
}

.breadcrumbs-item {
  display: inline-flex;
  align-items: center;
}

.loop-list {
  display: grid;
  gap: 26px;
}

.list-post {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}

.list-post .media img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
}

.list-post .post-title {
  font-size: 24px;
  line-height: 1.22;
}

.category-page-layout .list-post {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.category-page-layout .list-post .media img {
  aspect-ratio: 1.9;
}

.category-page-layout .sidebar-category .widget {
  margin-top: 18px;
}

.excerpt p {
  margin: 10px 0 0;
  color: #5f5f5f;
  font-size: 15px;
}

.read-more-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--c-main);
}

.main-pagination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--c-border);
  color: #333;
  padding: 0 12px;
}

.page-numbers.current {
  background: var(--c-main);
  border-color: var(--c-main);
  color: #fff;
}

.main-sidebar .heading,
.sidebar-title-link {
  font-size: 15px;
  line-height: 1.35;
}

.main-sidebar .widget {
  border-left: 1px solid var(--c-border);
  padding-left: 20px;
}

.main-sidebar .block-head .heading {
  font-size: 18px;
}

.post-content {
  font-size: 17px;
  line-height: 1.75;
  color: #222;
}

.post-content > *:first-child {
  margin-top: 0;
}

.post-content h2 {
  margin: 1.8em 0 .7em;
  font-size: 31px;
  line-height: 1.28;
}

.post-content h3 {
  margin: 1.5em 0 .6em;
  font-size: 25px;
}

.post-content p {
  margin: 0 0 1.1em;
}

.post-content a {
  color: var(--c-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-content a:hover {
  color: #208a70;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  border: 1px solid var(--c-border);
}

.post-content th,
.post-content td {
  border: 1px solid var(--c-border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.post-content th {
  background: #f4f8f7;
  font-weight: 700;
  color: var(--c-title);
}

.post-content tbody tr:nth-child(even) {
  background: #fafafa;
}

.post-content tbody tr:nth-child(odd) {
  background: #fff;
}

.post-content ul,
.post-content ol {
  margin: 0 0 1.1em 1.1em;
  padding: 0;
}

.article-detail-row {
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  align-items: start;
}

.article-detail-row .the-post-header .post-title {
  margin: 10px 0 12px;
  font-size: 30px;
  line-height: 1.25;
}

.article-detail-row .main-sidebar .loop-grid {
  grid-template-columns: minmax(0, 1fr);
}

.faq-block {
  margin: 34px 0 20px;
  padding-top: 8px;
  border-top: 2px solid var(--c-border);
}

.faq-block h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: 0 0 14px;
  margin: 0 0 14px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.related-strip {
  margin-top: 34px;
}

.related-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.related-link {
  font-size: 16px;
  font-weight: 600;
}

.related-strip .media img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.page-content-card,
.error-card {
  margin: 26px 0;
  padding: 24px;
  border: 1px solid var(--c-border);
  background: #fff;
}

.page-content-card h1,
.error-card h1 {
  margin: 0 0 12px;
  font-size: 36px;
}

.page-body h2 {
  font-size: 28px;
  margin-top: 1.5em;
}

.page-body a {
  color: var(--c-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.error-home-btn {
  display: inline-block;
  margin-top: 8px;
  background: var(--c-main);
  color: #fff;
  border: 1px solid var(--c-main);
  padding: 10px 18px;
  font-weight: 700;
}

.error-home-btn:hover {
  opacity: .88;
  color: #fff;
}

.error-home-btn:active {
  transform: translateY(1px);
}

.error-home-btn[disabled] {
  opacity: .6;
  pointer-events: none;
}

.error-links-title {
  margin: 10px 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.error-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.error-links-grid a {
  color: #2e2e2e;
  border-bottom: 1px solid transparent;
}

.error-links-grid a:hover {
  color: var(--c-main);
  border-color: var(--c-main);
}

.main-footer {
  margin-top: 44px;
  background: #0b0b0b;
}

.page-content-wrap {
  flex: 1 0 auto;
}

.lower-footer {
  padding: 28px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  margin-top: 0;
  order: 2;
}

.footer-static-pages {
  order: 1;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 16px 28px;
}

.footer-title {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  color: #fff;
}

.copyright {
  color: #bdbdbd;
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links .menu-item::before {
  content: none;
  padding: 0;
}

.footer-links-resource {
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 10px 18px;
}

.footer-links-categories {
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 10px 18px;
}

.footer-links a {
  color: #d9d9d9;
  font-size: 14px;
}

.footer-links-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a:hover {
  color: var(--c-main);
}

.close {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-icon-close {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
}

.menu-icon-close::before,
.menu-icon-close::after {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  height: 2px;
  background: currentColor;
}

.menu-icon-close::before {
  transform: rotate(45deg);
}

.menu-icon-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 1200px) {
  .logo-link {
    font-size: 30px;
  }

  .list-post .post-title {
    font-size: 24px;
  }
}

@media (max-width: 940px) {
  .smart-head-main {
    display: none;
  }

  .smart-head-mobile {
    display: block;
    background: #fff;
  }

  .smart-head-mobile .smart-head-mid .inner {
    justify-content: flex-start;
  }

  .ts-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .main-sidebar .widget {
    border-left: 0;
    padding-left: 0;
  }

  .slides .items-wrap {
    grid-template-columns: 1fr;
  }

  .item-main {
    grid-row: auto;
  }

  .footer-grid {
    gap: 16px;
    justify-content: center;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .article-detail-row .main-sidebar .loop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wrap,
  .ts-contain {
    width: min(100% - 22px, var(--main-width));
  }

  .home-main-title {
    font-size: 24px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .list-post {
    grid-template-columns: 1fr;
  }

  .list-post .post-title {
    font-size: 20px;
  }

  .archive-heading {
    font-size: 25px;
  }

  .article-detail-row .the-post-header .post-title {
    font-size: 25px;
  }

  .footer-links-resource {
    grid-template-columns: repeat(2, minmax(0, auto));
  }

  .footer-links-categories {
    grid-template-columns: repeat(2, minmax(0, auto));
  }

  .footer-columns {
    justify-items: start;
  }

  .page-content-card h1,
  .error-card h1 {
    font-size: 30px;
  }
}

@media (max-width: 540px) {
  .meta-below {
    font-size: 12px;
  }

  .grid-post .post-title {
    font-size: 18px;
  }

  .post-content {
    font-size: 17px;
  }

  .post-content h2 {
    font-size: 26px;
  }

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

  .footer-links-resource {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links-categories {
    grid-template-columns: minmax(0, 1fr);
  }
}
