:root {
  --body-font: "Public Sans", "Poppins", system-ui, sans-serif;
  --title-font: "Poppins", "Roboto Slab", sans-serif;
  --c-main: #2ab391;
  --c-main-hover: #249a7d;
  --c-bg: #f7f7f7;
  --c-surface: #ffffff;
  --c-dark: #111111;
  --c-text: #505050;
  --c-heading: #191919;
  --c-border: #e8e8e8;
  --c-muted: #8a8a8a;
  --main-width: 1200px;
  --grid-gutter: 36px;
  --radius: 3px;
  --shadow: 0 2px 7px -4px rgba(0, 0, 0, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.72;
  color: var(--c-text);
  background: var(--c-bg);
}

a {
  color: var(--c-heading);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, text-decoration-color 0.2s ease;
}

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

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

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

.ts-contain {
  width: min(var(--main-width), calc(100% - 48px));
  margin: 0 auto;
}

.main-wrap {
  min-height: 100vh;
  background: var(--c-bg);
}

.smart-head-row {
  border-bottom: 1px solid var(--c-border);
}

.smart-head-row.s-dark {
  background: #0f121d;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.smart-head-row > .inner {
  width: min(var(--main-width), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: 16px;
  --head-scale: 1;
}

.smart-head-row > .inner.full {
  font-weight: 700;
  --head-scale: 1.12;
}

.smart-head-row-3 > .inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) auto;
}

.items-left {
  justify-self: start;
}

.items-center {
  justify-self: center;
  width: 100%;
}

.items-right {
  justify-self: end;
}

.navigation .menu,
.mobile-menu,
.footer-col .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-small .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 12px 0;
}

.navigation-small a {
  color: #d7d8dc;
  font-size: 12px;
}

.navigation-main .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 0;
  padding: calc(14px * var(--head-scale)) 0;
  width: 100%;
}

.navigation-main a {
  text-transform: capitalize;
  font-weight: 600;
  font-size: calc(14px * var(--head-scale));
}

.logo-link {
  font-family: var(--title-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--c-heading);
}

.logo-link.logo-is-image {
  display: inline-flex;
  align-items: center;
}

.logo-link .logo-image {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.header-logo-link {
  padding: calc(10px * var(--head-scale)) 0;
}

.header-logo-link .logo-image {
  max-width: min(100%, calc(320px * var(--head-scale)));
}

.ts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ts-button-alt {
  color: #fff;
  background: var(--c-main);
  box-shadow: var(--shadow);
}

.ts-button-alt:hover {
  background: var(--c-main-hover);
  color: #fff;
  text-decoration: none;
}

.ts-button:active {
  transform: translateY(1px);
}

.ts-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.search-icon {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}

.offcanvas-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px 0;
  display: none;
}

.hamburger-icon {
  width: 26px;
  display: block;
}

.hamburger-icon .inner,
.hamburger-icon .inner::before,
.hamburger-icon .inner::after {
  display: block;
  height: 2px;
  background: var(--c-heading);
  position: relative;
  content: "";
}

.hamburger-icon .inner::before {
  top: -7px;
}

.hamburger-icon .inner::after {
  top: 5px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  padding: 34px 0 30px;
}

.hero-copy {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 28px;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-family: var(--title-font);
  font-size: 34px;
  line-height: 1.2;
  color: var(--c-heading);
}

.hero-copy p {
  margin: 0;
  color: var(--c-text);
}

.hero-quick-links {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  border-radius: 999px;
  border: 1px solid var(--c-main);
  background: #f2fbf8;
  color: #187963;
  font-weight: 700;
  text-transform: capitalize;
  transition: all 0.2s ease;
}

.hero-quick-link:hover {
  background: var(--c-main);
  border-color: var(--c-main);
  color: #fff;
  text-decoration: none;
}

.hero-feature {
  background: #111;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-feature-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(15, 15, 18, 0.02), rgba(15, 15, 18, 0.88));
}

.hero-feature-content h2 {
  margin: 8px 0;
  font-size: 25px;
  line-height: 1.3;
}

.hero-feature-content h2 a {
  color: #fff;
}

.hero-feature-content p {
  margin: 0;
  color: #d5d7da;
}

.hero-feature .post-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main {
  padding: 14px 0 38px;
}

.ts-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: var(--grid-gutter);
}

.no-sidebar .ts-row {
  grid-template-columns: minmax(0, 2fr);
}

.archive-heading {
  margin: 0 0 24px;
  font-family: var(--title-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-heading);
}

.archive-heading span {
  color: var(--c-main);
}

.block-head {
  margin-bottom: 18px;
}

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

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

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

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

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

.grid-post {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}

.grid-post .media {
  position: relative;
  overflow: hidden;
}

.image-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.image-link:hover img {
  transform: scale(1.04);
}

.grid-post .content {
  padding: 16px;
  color: var(--c-text);
}

.post-meta-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--c-muted);
  font-size: 12px;
}

.post-cat {
  color: var(--c-main);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.post-title,
.is-title {
  margin: 0 0 12px;
  color: var(--c-heading);
  font-family: var(--title-font);
  font-size: 21px;
  line-height: 1.3;
}

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

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

.post-title a {
  color: var(--c-heading);
}

.post-cat a {
  color: var(--c-main);
}

.post-meta-items a {
  color: inherit;
}

.excerpt p {
  margin: 0 0 14px;
}

.breadcrumbs {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}

.breadcrumbs .inner {
  padding: 12px 0;
  font-size: 12px;
  color: var(--c-muted);
}

.breadcrumbs .separator {
  margin: 0 6px;
}

.the-post-header {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 22px;
  margin-bottom: 22px;
}

.the-post-header .post-title {
  margin: 6px 0 10px;
  font-size: 32px;
}

.the-post .post-content {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 24px;
}

.the-post .post-content h2 {
  margin: 26px 0 12px;
  font-family: var(--title-font);
  font-size: 24px;
  line-height: 1.3;
  color: var(--c-heading);
}

.the-post .post-content h3 {
  margin: 20px 0 10px;
  font-family: var(--title-font);
  font-size: 20px;
  color: var(--c-heading);
}

.the-post .post-content p,
.the-post .post-content ul,
.the-post .post-content ol {
  margin: 0 0 16px;
}

.the-post .post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid var(--c-border);
  background: #fff;
}

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

.the-post .post-content th {
  background: #f4f7f9;
  color: var(--c-heading);
  font-weight: 700;
}

.the-post .post-content a,
.page-content-body a {
  color: #0077cc;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.the-post .post-content a:hover,
.page-content-body a:hover {
  color: #005a9c;
}

.faq-block {
  margin-top: 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 22px;
}

.faq-block h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-family: var(--title-font);
  color: var(--c-heading);
}

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

.faq-item + .faq-item {
  margin-top: 14px;
}

.related-posts {
  margin-top: 28px;
}

.list-post {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
}

.list-post .post-title,
.list-post .post-title a,
.list-post .post-meta .post-title {
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
  color: var(--c-heading);
}

.list-post .image-link img {
  aspect-ratio: 1 / 1;
}

.main-sidebar .heading {
  font-size: 17px;
}

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

.page-numbers {
  display: inline-flex;
  min-width: 35px;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-heading);
  padding: 0 10px;
}

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

.page-numbers.disabled {
  opacity: 0.45;
}

.page-content-body h2 {
  margin: 26px 0 12px;
  font-size: 24px;
  color: var(--c-heading);
  font-family: var(--title-font);
}

.error-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 26px;
  margin: 36px 0 20px;
  text-align: center;
}

.error-panel h1 {
  margin: 0 0 12px;
  font-size: 36px;
  font-family: var(--title-font);
  color: var(--c-heading);
}

.error-categories h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-family: var(--title-font);
  color: var(--c-heading);
}

.error-categories ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 0;
  margin: 0 0 38px;
}

.main-footer {
  background: #111215;
  color: #d1d2d6;
  margin-top: 32px;
}

.lower-footer .inner {
  padding: 34px 0;
}

.footer-logo .logo {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}

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

.footer-title {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.footer-col li + li {
  margin-top: 6px;
}

.footer-col a {
  color: #c4c6cb;
  font-size: 13px;
}

.copyright {
  margin-top: 18px;
  font-size: 12px;
  color: #9da0a6;
}

.search-modal-wrap {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 14, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.search-modal-wrap.is-open {
  display: flex;
}

.search-modal-box {
  width: min(640px, calc(100% - 36px));
  background: var(--c-surface);
  padding: 22px;
}

.search-form {
  display: grid;
  gap: 10px;
}

.search-field {
  width: 100%;
  border: 1px solid var(--c-border);
  min-height: 44px;
  padding: 0 12px;
}

.search-submit,
.search-close {
  min-height: 38px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  cursor: pointer;
}

.off-canvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 14, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.mobile-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: min(360px, 86vw);
  height: 100%;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.24s ease;
  z-index: 41;
  display: flex;
  flex-direction: column;
}

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

.off-canvas-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--c-border);
  padding: 16px;
}

.off-canvas-head .close {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.off-canvas-content {
  padding: 14px 16px;
  overflow: auto;
}

.mobile-menu li + li {
  border-top: 1px solid var(--c-border);
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-weight: 600;
  text-transform: capitalize;
}

body.menu-open .off-canvas-backdrop {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .ts-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

@media (max-width: 767px) {
  .ts-contain,
  .smart-head-row > .inner {
    width: calc(100% - 24px);
    --head-scale: 1;
  }

  .navigation-main .menu {
    display: none;
  }

  .offcanvas-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .smart-head-row-3 > .inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-logo-link .logo-image {
    max-width: min(100%, 320px);
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-quick-links {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .links {
    grid-template-columns: 1fr;
  }
}
