@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat/Montserrat-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat/Montserrat-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat/Montserrat-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat/Montserrat-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans/OpenSans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/open-sans/OpenSans-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/open-sans/OpenSans-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/open-sans/OpenSans-700.woff2') format('woff2');
}

:root {
  --ts-primary: #4caf50;
  --ts-secondary: #ffc107;
  --ts-background: #f9f9f9;
  --ts-surface: #ffffff;
  --ts-text: #212121;
  --ts-text-muted: #616161;
  --ts-border: rgba(33, 33, 33, 0.12);
  --ts-accent-blue: #2979ff;
  --ts-accent-warm: #ff5722;
  --ts-error: #e53935;
  --ts-success: #4caf50;
  --ts-button-hover: #43a047;
  --ts-heading-font: 'Montserrat', 'Oswald', 'Bebas Neue', sans-serif;
  --ts-body-font: 'Open Sans', 'Roboto', sans-serif;
  --ts-text-inverse: #ffffff;
  --ts-overlay-dark: rgba(33, 33, 33, 0.56);
  --ts-overlay-darker: rgba(33, 33, 33, 0.7);
  --ts-neutral-050: #f9f9f9;
  --ts-neutral-100: #f0f0f0;
  --ts-neutral-200: #e8e8e8;
  --ts-neutral-300: #d9d9d9;
  --ts-neutral-400: #bdbdbd;
  --ts-neutral-500: #9e9e9e;
  --ts-border-soft: rgba(33, 33, 33, 0.08);
  --ts-border-strong: rgba(33, 33, 33, 0.18);
  --ts-shadow-soft: rgba(33, 33, 33, 0.1);
  --ts-shadow-medium: rgba(33, 33, 33, 0.15);
  --ts-shadow-tight: rgba(33, 33, 33, 0.3);
  --ts-surface-soft: rgba(255, 255, 255, 0.9);
  --ts-overlay-light: rgba(249, 249, 249, 0.3);
  --ts-primary-shadow: rgba(76, 175, 80, 0.3);
  --ts-secondary-shadow: rgba(255, 193, 7, 0.24);
  --ts-accent-warm-overlay: rgba(255, 87, 34, 0.8);
  --ts-accent-warm-hover: #e64a19;
  --ts-overlay-soft: rgba(255, 255, 255, 0.1);
  --ts-sticky-offset: 120px;
  --ts-overlay-soft-strong: rgba(255, 255, 255, 0.2);
  --ts-border-overlay: rgba(255, 255, 255, 0.3);
  --ts-border-overlay-strong: rgba(255, 255, 255, 0.6);
  --ts-shadow-overlay: rgba(255, 255, 255, 0.1);
  --ts-primary-shadow-strong: rgba(76, 175, 80, 0.4);
  --ts-text-inverse-soft: rgba(255, 255, 255, 0.9);
  --ts-overlay-deep-10: rgba(33, 33, 33, 0.1);
  --ts-overlay-deep-40: rgba(33, 33, 33, 0.4);
  --ts-overlay-deep-70: rgba(33, 33, 33, 0.7);
  --ts-overlay-deep-90: rgba(33, 33, 33, 0.95);
  --ts-overlay-backdrop: rgba(33, 33, 33, 0.6);

  /* Hero palette */
  --ts-hero-bg-start: #e4f6e8;
  --ts-hero-bg-end: #fffdf0;
  --ts-hero-heading: #1f1f1f;
  --ts-hero-accent: var(--ts-primary);
  --ts-hero-body: #4a4a4a;
  --ts-hero-placeholder: #8e8e8e;
  --ts-hero-note: #6f6f6f;
  --ts-hero-form-shadow: rgba(33, 61, 39, 0.12);
  --ts-hero-button-hover: var(--ts-button-hover);
  --ts-hero-button-focus: rgba(76, 175, 80, 0.35);
  --ts-hero-badge-shadow: rgba(39, 174, 96, 0.18);
  --ts-hero-badge-bg: #f9f9f9;
  --ts-hero-card-shadow: rgba(17, 57, 35, 0.153);
  --ts-hero-chip-border: rgba(54, 91, 60, 0.08);
  --ts-hero-visual-gradient-start: #f5f8fb;
  --ts-hero-visual-gradient-end: #f5f1ff;
  --ts-hero-focus-ring: rgba(76, 175, 80, 0.2);

  /* Legacy aliases */
  --ts-green: var(--ts-primary);
  --ts-orange: var(--ts-secondary);
  --ts-dark: var(--ts-text);
  --ts-light: var(--ts-surface);
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--ts-background);
  background-image: linear-gradient(180deg, #e8f5ed 0%, rgba(255, 255, 255, 0.97) 18%, #ffffff 100%);
  background-repeat: no-repeat;
  color: var(--ts-text);
  font-family: var(--ts-body-font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition-property: color, background-color;
  transition-duration: 150ms;
  position: relative;
  padding-top: 0;
}
pre, code, kbd, samp {
  font-family: monospace;
  font-size: 1em;
}
abbr[title] {
  border-bottom: 0;
  text-decoration: underline dotted;
}
small {
  font-size: 80%;
}
sub, sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
  width: 100%;
  height: auto;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
svg {
  pointer-events: none;
}
[disabled] {
  pointer-events: none;
}
.hidden,
[hidden] {
  display: none !important;
  visibility: hidden;
}
.visuallyhidden {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
}
.m-top--3rem {
  margin-top: 0;
}
.responsive {
  position: relative;
}
.responsive__element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

img.responsive__element {
  object-fit: cover;
}

.d--inline {
  display: inline;
}

.d--inline-block {
  display: inline-block;
}

.d--block {
  display: block;
}

.rotate--cw {
  transform: rotate(90deg);
}

.rotate--ccw {
  transform: rotate(-90deg);
}

.rotate--flip {
  transform: rotate(180deg);
}

.ts-wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 1340px;
  width: 100%;
}

.ts-center {
  text-align: center;
}

img, svg {
  vertical-align: middle;
}
hr {
  border-color: var(--ts-neutral-300) transparent var(--ts-surface);
}

p, ul, ol, table, blockquote, figure {
  margin: 0 0 1.5em;
}
p:last-child, ul:last-child, ol:last-child, table:last-child, blockquote:last-child, figure:last-child {
  margin-bottom: 0;
}

blockquote {
  font-size: 1.25em;
  font-style: italic;
  margin-left: 2em;
  padding-left: 2em;
  border-left: 5px solid var(--ts-secondary);
}

a {
  color: var(--ts-accent-blue);
  text-decoration-color: var(--ts-secondary);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:not(.button):visited {
  opacity: 0.5;
}

a:hover {
  color: var(--ts-accent-warm);
}

.h1, h1,
.h2, h2,
.h3, h3 {
  margin: 1.5em 0 0.75em;
  line-height: 1.2;
  font-weight: bold;
}
.h1:first-child, h1:first-child,
.h2:first-child, h2:first-child,
.h3:first-child, h3:first-child {
  margin-top: 0;
}

.f--inherit {
  font: inherit;
}

.f--bold, strong, b {
  font-weight: bold;
}

.f--italic {
  font-style: italic;
}

.f--normal {
  font-weight: normal;
  font-style: normal;
}

.t--left {
  text-align: left;
}

.t--right {
  text-align: right;
}

.t--center {
  text-align: center;
}

.t--justify {
  text-align: justify;
  word-break: normal;
}

.t--wrap {
  white-space: normal;
}

.t--nowrap {
  white-space: nowrap;
}

.t--uppercase {
  text-transform: uppercase;
}

.t--lowercase {
  text-transform: lowercase;
}

.t--capitalize {
  text-transform: capitalize;
}

.t--normal {
  text-transform: none;
}

.c--inherit {
  color: inherit;
}

.c--error {
  color: var(--ts-error);
}

.c--success {
  color: var(--ts-success);
}

.ts-pt-2 {
  padding-top: 2rem;
}

.ts-pt-3 {
  padding-top: 3rem;
}

.ts-pb-1 {
  padding-bottom: 1rem;
}

.ts-pb-25 {
  padding-bottom: 2.5rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

figure {
  width: auto !important;
  max-width: 100%;
}
.site__header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 16px rgba(33, 33, 33, 0.03);
}
body.admin-bar .site__header {
  top: 32px;
}
body.admin-bar .site__header-menu {
  top: 32px;
}
body.admin-bar .menu-overlay {
  top: 32px;
}
body.admin-bar .ts-blog-sidebar {
  top: calc(var(--ts-sticky-offset) + 32px);
}
.site__header-inner {
  width: 100%;
  padding: 12px 0;
  box-sizing: border-box;
}
.site__header-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}
.site__header-logo {
  display: flex;
  align-items: center;
  max-width: 200px;
  flex-shrink: 0;
}
.site__header-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
}
.site__header-logo .custom-logo {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  height: auto;
}
.site__header-logo img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  height: auto;
}
.site__header-navigation--desktop {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.site__header-navigation--desktop > ul,
.site__header-navigation--desktop #menu-primary-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site__header-navigation--desktop li {
  position: relative;
}
.site__header-navigation--desktop .menu-primary__link,
.site__header-navigation--desktop #menu-primary-desktop > li > a {
  color: var(--ts-text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}
.site__header-navigation--desktop .menu-primary__item.current-menu-item > .menu-primary__link,
.site__header-navigation--desktop .menu-primary__item.current_page_item > .menu-primary__link,
.site__header-navigation--desktop .menu-primary__link:hover,
.site__header-navigation--desktop #menu-primary-desktop > li.current-menu-item > a,
.site__header-navigation--desktop #menu-primary-desktop > li.current_page_item > a,
.site__header-navigation--desktop #menu-primary-desktop > li > a:hover {
  color: var(--ts-primary);
}
.site__header-additional {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.5rem;
}
.site__header-additional .widget {
  margin: 0;
}
.site__header-additional a,
.site__header-additional button,
.site__header-additional .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.125rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--ts-primary);
  color: var(--ts-text-inverse);
  border: none;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.site__header-additional a:hover,
.site__header-additional button:hover,
.site__header-additional .wp-block-button__link:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.site__header-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  justify-self: end;
}
.site__header-menu {
  display: none;
  font-weight: 700;
  text-transform: uppercase;
}
.site__header-menu_add_mobile {
  display: none;
}
.site__header-logo .custom-logo-link:focus-visible,
.site__header-additional a:focus-visible,
.site__header-additional button:focus-visible,
.site__header-additional .wp-block-button__link:focus-visible {
  outline: 2px solid var(--ts-primary);
  outline-offset: 2px;
}
@media (min-width: 768px) {
  .site__header-inner {
    padding: 16px 0;
  }
  .site__header-navigation--desktop {
    display: flex;
  }
  .site__header-additional {
    display: flex;
  }
  .site__header-mobile {
    display: none;
  }
}
.ts_mobile_menu_close--js {
  position: absolute;
  top: 18px;
  right: 18px;
  display: none;
  z-index: 50;
  width: 44px;
  height: 44px;
  border: none;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.ts_mobile_menu_close--js svg {
  width: 18px;
  height: 18px;
}
.site__header-menu.active .ts_mobile_menu_close--js {
  display: flex;
}
.footer {
  background: var(--ts-surface);
  color: var(--ts-text);
  width: 100%;
}

.footer-section {
  background: var(--ts-surface);
  border-top: 1px solid var(--ts-neutral-200);
  width: 100%;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(48px, 6vw, 64px) clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.footer__main-widget {
  color: var(--ts-text-muted);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3.5vw, 2.35rem);
}

.footer__main-widget .widget {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.4rem);
}

.footer__main-widget .widget__title,
.footer__main-widget .widget_title,
.footer__main-widget .widget h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--ts-text);
  text-transform: none;
  letter-spacing: 0;
}

.footer__main-widget .widget p {
  margin: 0;
  color: inherit;
  line-height: 1.65;
}

.footer__main-widget .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer__main-widget .widget ul li {
  margin: 0;
}

.footer__main-widget .widget ul a {
  color: var(--ts-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer__main-widget .widget ul a:hover,
.footer__main-widget .widget ul a:focus-visible {
  color: var(--ts-primary);
}

.footer__main-widget_left {
  gap: 1.25rem;
}

.footer__main-widget_left .widget img,
.footer__main-widget_left .widget svg {
  max-width: 140px;
  height: auto;
}

.footer__main-widget_left .widget p {
  max-width: 320px;
  margin-top: -0.4rem;
}

.footer__main-widget_subscribe .widget {
  gap: 1rem;
}

.footer__main-widget_subscribe .widget form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer__main-widget_subscribe .widget input[type="email"],
.footer__main-widget_subscribe .widget input[type="text"] {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 12px;
  border: 1px solid var(--ts-neutral-200);
  font-size: 0.95rem;
  color: var(--ts-text);
  background: var(--ts-neutral-050);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer__main-widget_subscribe .widget input[type="email"]:focus,
.footer__main-widget_subscribe .widget input[type="text"]:focus {
  border-color: var(--ts-primary);
  box-shadow: 0 0 0 3px var(--ts-hero-focus-ring);
  outline: none;
}

.footer__main-widget_subscribe .widget button,
.footer__main-widget_subscribe .widget input[type="submit"],
.footer__main-widget_subscribe .widget .wp-block-button__link {
  flex: 0 0 auto;
  min-height: 48px;
  border-radius: 12px;
  background: var(--ts-primary);
  color: var(--ts-text-inverse);
  font-weight: 600;
  padding: 0 1.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer__main-widget_subscribe .widget button:hover,
.footer__main-widget_subscribe .widget button:focus-visible,
.footer__main-widget_subscribe .widget input[type="submit"]:hover,
.footer__main-widget_subscribe .widget input[type="submit"]:focus-visible,
.footer__main-widget_subscribe .widget .wp-block-button__link:hover,
.footer__main-widget_subscribe .widget .wp-block-button__link:focus-visible {
  background: var(--ts-button-hover);
  transform: translateY(-1px);
}

.footer__main-widget_left .widget .icons,
.footer__main-widget .icons {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.footer__main-widget .icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-text);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__main-widget .icons a:hover,
.footer__main-widget .icons a:focus-visible {
  color: var(--ts-primary);
  transform: translateY(-2px);
}

.footer__copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 22px clamp(1.5rem, 4vw, 2.5rem) 26px;
  border-top: 1px solid var(--ts-neutral-200);
  color: var(--ts-text-muted);
  font-size: 0.95rem;
  box-sizing: border-box;
}

.footer__copyright .widget {
  margin: 0;
}

.footer__copyright a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__copyright a:hover,
.footer__copyright a:focus-visible {
  color: var(--ts-primary);
}

.footer__copyright-left,
.footer__copyright-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__copyright-left {
  margin-right: auto;
}

.footer__copyright-right {
  margin-left: auto;
}

@media (max-width: 1024px) {
  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__copyright {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer__copyright-left,
  .footer__copyright-right {
    margin: 0;
  }
}

/* Page */
.post-thumbnail-background {
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 350px;
  border-radius: 25px;
  display: flex;
  align-items: center;
}

.ts-page-wrapper {
  /* width: 100%; */
  padding: 10px 25px;
  margin: 0;
  background: var(--ts-overlay-dark);
  border-radius: 0px 20px 20px 0px;
}

.post-thumbnail-background .post-thumbnail-title {
  text-align: left;
  width: 100%;
}

.post-thumbnail-background .post-thumbnail-title h1 {
  font-size: 80px;
  font-family: var(--ts-heading-font);
  margin: 0;
  color: var(--ts-surface);
  font-weight: 400;
}

.post-thumbnail-breadcrumbs {
  position: absolute;
  bottom: 0; /* Adjust breadcrumb position */
  right: 10%; /* Align breadcrumbs to the left */
  font-family: var(--ts-body-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--ts-surface);
  max-width: calc(100% - 7.65%);
}

.ts-breadcrumbs {
  border-radius: 20px 20px 0 0;
  padding: 15px 40px 5px 40px;
  background-color: var(--ts-neutral-100);
  color: var(--ts-text-muted);
}

.post-thumbnail-breadcrumbs a {
  color: var(--ts-text);
  text-decoration: none;
}

.post-thumbnail-breadcrumbs a:hover {
  text-decoration: underline;
  color: var(--ts-accent-warm);
}

.post-thumbnail-breadcrumbs a:hover {
  text-decoration: underline;
}

.post-thumbnail-breadcrumbs span {
  color: var(--ts-text);
}

/* Menu */
.ts-lang-mobile {
  padding-top: 0 !important;
}

/* Blog pagination */
.pagination {
  font-size: 18px;
  padding-top: 2.5rem;
  text-align: center;
}
.pagination .nav-links a, .pagination .nav-links span {
  border: 1px solid var(--ts-neutral-300);
  padding: 5px 10px;
}
.pagination .nav-links a {
  color: var(--ts-text);
  text-decoration: none;
}
.pagination .nav-links a:hover {
  background-color: var(--ts-neutral-050);
  color: var(--ts-text);
}
.pagination .nav-links span {
  background-color: var(--ts-accent-blue);
  color: var(--ts-text-inverse);
}
/* Enhanced Single Blog Styles */
.ts-single-blog {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3.5vw, 36px);
  margin-bottom: clamp(48px, 7vw, 72px);
  position: relative;
  z-index: 10;
  padding: clamp(28px, 5vw, 56px) 0;
}

.ts-single-blog__main {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.ts-single-blog__article {
  background: var(--ts-light);
  border-radius: 24px;
  padding: clamp(32px, 4vw, 52px);
  box-shadow: 0 24px 60px var(--ts-shadow-soft);
  border: 1px solid var(--ts-neutral-200);
}

.ts-single-blog__header {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 26px);
  margin-bottom: clamp(24px, 3vw, 36px);
}

.ts-single-blog__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ts-single-blog__categories a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ts-accent-blue) 12%, white);
  color: var(--ts-accent-blue);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35px;
  text-decoration: none;
  text-transform: uppercase;
}

.ts-single-blog__categories a:hover {
  background: var(--ts-accent-blue);
  color: var(--ts-text-inverse);
}

.ts-single-blog__title {
  margin: 0;
  font-size: clamp(2.75rem, 4.6vw, 3.6rem);
  font-weight: 700;
  color: var(--ts-text);
  line-height: 1.1;
}

/* Blog meta information */
.ts-blog-meta {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--ts-neutral-300);
  border-bottom: 1px solid var(--ts-neutral-300);
  font-family: var(--ts-body-font);
  font-size: 0.9rem;
  color: var(--ts-text-muted);
}

.ts-blog-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ts-blog-meta__author a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.ts-blog-meta__author a:hover {
  color: var(--ts-primary);
}

.ts-blog-meta__category a {
  color: var(--ts-secondary);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 0.75rem;
}

.ts-blog-meta__category a:hover {
  color: var(--ts-primary);
}

.ts-blog-meta__reading-time {
  font-weight: 600;
  color: var(--ts-text);
}

/* Content area */
.ts-single-blog__body {
  font-family: var(--ts-body-font);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ts-text);
}

.ts-single-blog__body > * {
  max-width: clamp(52ch, 70vw, 70ch);
  margin: 0 auto;
  width: 100%;
}

.ts-single-blog__body > * + * {
  margin-top: clamp(0.8rem, 2vw, 1.3rem);
}

.ts-single-blog__body > figure,
.ts-single-blog__body > .wp-block-image,
.ts-single-blog__body > .wp-block-embed,
.ts-single-blog__body > .wp-block-gallery,
.ts-single-blog__body > .alignwide,
.ts-single-blog__body > .alignfull {
  max-width: 100%;
}

.ts-single-blog__body p {
  margin: 0;
}

.ts-single-blog__body p + p {
  margin-top: 0.8rem;
}

.ts-single-blog__body p:first-of-type {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ts-text);
  line-height: 1.7;
  border-left: 4px solid var(--ts-primary);
  padding: 0.9rem 0 0.9rem 1.35rem;
}

.ts-single-blog__body h2,
.ts-single-blog__body h3 {
  margin: clamp(24px, 4vw, 36px) auto clamp(12px, 2.5vw, 18px);
  max-width: clamp(52ch, 70vw, 70ch);
  position: relative;
  scroll-margin-top: clamp(90px, 12vw, 140px);
}

.ts-single-blog__body h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--ts-secondary);
}

.ts-single-blog__body blockquote {
  background: color-mix(in srgb, var(--ts-secondary) 10%, white);
  border-left: 4px solid var(--ts-secondary);
  margin: clamp(24px, 3.5vw, 40px) auto;
  padding: clamp(22px, 3vw, 32px) clamp(26px, 4vw, 42px);
  border-radius: 16px;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ts-text);
}

.ts-single-blog__body ul,
.ts-single-blog__body ol {
  padding-left: clamp(1rem, 2vw, 1.35rem);
  max-width: clamp(52ch, 70vw, 70ch);
  margin-left: 2rem;
}

.ts-single-blog__body li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.ts-single-blog__media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 48px var(--ts-shadow-medium);
}

.ts-single-blog__featured-image {
  width: 100%;
  height: clamp(280px, 45vw, 420px);
  object-fit: cover;
  display: block;
}

.ts-single-blog__media-caption {
  margin: 0;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--ts-text-muted);
  background: rgba(0, 0, 0, 0.04);
}


.ts-blog-sidebar {
  position: sticky;
  top: var(--ts-sticky-offset);
  flex: 0 0 clamp(280px, 26vw, 340px);
  width: clamp(280px, 26vw, 340px);
  z-index: 10;
  background: var(--ts-light);
  border-radius: 24px;
  padding: clamp(22px, 2.8vw, 28px);
  height: fit-content;
  box-shadow: 0 20px 48px var(--ts-shadow-soft);
  border: 1px solid var(--ts-neutral-200);
  align-self: flex-start;
}

.ts-blog-sidebar h3 {
  margin: 0 0 18px;
  font-size: 1.15rem;
  color: var(--ts-text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ts-neutral-200);
}

.ts-sidebar-widget + .ts-sidebar-widget {
  margin-top: 28px;
}
.ts_recent_posts_item > a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: var(--ts-text);
  transition: transform 0.2s ease;
}

.ts_recent_posts_item__image,
.ts_recent_posts_item__placeholder {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  background: var(--ts-neutral-100);
}

.ts_recent_posts_item__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ts_recent_posts_item__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ts-text);
  line-height: 1.4;
}

.ts_recent_posts_item__date {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ts-text-muted);
}

.ts_recent_posts_item > a:hover,
.ts_recent_posts_item > a:focus-visible {
  transform: translateX(2px);
}

.ts_recent_posts_item > a:hover .ts_recent_posts_item__title,
.ts_recent_posts_item > a:focus-visible .ts_recent_posts_item__title {
  color: var(--ts-primary);
}

.ts_recent_posts_item__placeholder {
  position: relative;
}

.ts_recent_posts_item__placeholder::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}
.ts-blog-outline {
  display: grid;
  gap: 0.75rem;
  padding: clamp(16px, 2.5vw, 24px);
  background: var(--ts-neutral-050);
  border: 1px solid var(--ts-neutral-200);
  border-left: 4px solid var(--ts-text-muted);
  border-radius: 12px;
  box-shadow: none;
  max-width: clamp(52ch, 70vw, 70ch);
  margin: 0;
  width: 100%;
  align-self: flex-start;
}

.ts-blog-outline__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--ts-text-muted);
}

.ts-blog-outline__list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
  list-style: decimal;
  font-size: 0.95rem;
  color: var(--ts-text-muted);
}

.ts-blog-outline__list li {
  padding-left: 0.25rem;
}

.ts-blog-outline__list a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.ts-blog-outline__list a:hover,
.ts-blog-outline__list a:focus-visible {
  color: var(--ts-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  outline: none;
}

.ts-post-pages {
  margin: clamp(32px, 5vw, 48px) auto;
  max-width: clamp(52ch, 70vw, 70ch);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ts-post-pages__label {
  font-weight: 600;
  color: var(--ts-text-muted);
}

.ts-post-pages a,
.ts-post-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ts-neutral-300);
  text-decoration: none;
  font-weight: 600;
  color: var(--ts-text);
  transition: all 0.2s ease;
}

.ts-post-pages a:hover {
  background: var(--ts-primary);
  color: var(--ts-text-inverse);
  border-color: var(--ts-primary);
}

.ts-post-pages span {
  background: var(--ts-primary);
  color: var(--ts-text-inverse);
  border-color: var(--ts-primary);
}

/* Blog tags and sharing */
.ts-blog-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--ts-neutral-100);
}

.ts-blog-tags {
  margin-bottom: 30px;
}

.ts-blog-tags h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--ts-text);
  font-weight: 600;
}

.ts-blog-tags .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ts-blog-tags .tag-cloud a {
  background: var(--ts-neutral-100);
  color: var(--ts-text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.ts-blog-tags .tag-cloud a:hover {
  background: var(--ts-green);
  color: var(--ts-text-inverse);
  transform: translateY(-2px);
}

/* Author bio section */
.ts-author-bio {
  background: var(--ts-neutral-100);
  border-radius: 16px;
  padding: 30px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ts-author-bio__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ts-light);
  box-shadow: 0 4px 12px var(--ts-shadow-soft);
}

.ts-author-bio__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ts-author-bio__content h4 {
  margin: 0 0 8px 0;
  color: var(--ts-text);
  font-size: 18px;
}

.ts-author-bio__content p {
  margin: 0;
  color: var(--ts-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Navigation between posts */
.ts-post-navigation {
  display: flex;
  gap: clamp(16px, 4vw, 32px);
  margin: clamp(40px, 6vw, 72px) 0;
  padding: clamp(24px, 4vw, 36px) 0;
  border-top: 2px solid var(--ts-neutral-100);
  border-bottom: 2px solid var(--ts-neutral-100);
}

.ts-post-nav-item {
  flex: 1;
  min-width: 0;
}

.ts-post-nav-item--prev {
  text-align: left;
}

.ts-post-nav-item--next {
  text-align: right;
}

.ts-post-nav-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.45px;
  margin-bottom: 10px;
  color: var(--ts-text-muted);
}

.ts-post-nav-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(16px, 3vw, 24px);
  background: var(--ts-neutral-100);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ts-text);
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 8px 18px var(--ts-shadow-soft);
  transition: all 0.3s ease;
}

.ts-post-nav-item a:hover {
  background: var(--ts-primary);
  color: var(--ts-text-inverse);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px var(--ts-primary-shadow);
}

.ts_recent_posts_item {
  padding: 15px 0;
  border-bottom: 1px solid var(--ts-neutral-100);
}

.ts_recent_posts_item:last-child {
  border-bottom: none;
}

.ts-author-bio__link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--ts-primary);
  font-weight: 600;
  text-decoration: none;
  gap: 6px;
}

.ts-author-bio__link:hover,
.ts-author-bio__link:focus {
  color: var(--ts-button-hover);
  text-decoration: underline;
}

/* Blog page layout fix */
.blog .site, 
.single-post .site,
.archive .site {
  margin-bottom: 3em;
}

.ts-showcase-main-heading {
  margin-top: -10px;
}
.ts-showcase-text, .ts-showcase-text p {
  line-height: 1.5;
  font-size: 18px;
  color: var(--ts-text-muted);
}
.ts-showcase-text h2 {
  color: var(--ts-text);
}
/* 404 page */
.ts_404_title {
  font-size: 60px;
  font-weight: 700;
  color: var(--ts-text);
  margin-top: 50px !important;
}
.ts_404_content {
  margin-bottom: 50px !important;
}
/* Search */
.ts_404_content #search-form-2 {
  padding: 10px 5px;
  border: 1px solid var(--ts-neutral-300);
  width: 250px;
}
.ts_404_content .search-form__submit {
  background-color: var(--ts-accent-blue);
  border: 1px solid var(--ts-accent-blue);
  color: var(--ts-text-inverse);
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
}
.ts_404_content label {
  display: none;
}
.ts_search_content {
  margin-top: 2em;
}
.ts_search_content article {
  margin-bottom: 2em;
}
.ts_search_content .post-thumbnail img {
  object-fit: cover;
  object-position: center;
  height: 400px;
}

.ts_search_content .entry__title a {
  color: var(--ts-text);
  text-decoration: none;
}
.ts_search_content .entry__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.ts_search_hr {
  height: 2px;
  background-color: var(--ts-neutral-300);
  border: none;
  margin-top: 20px;
}


/* HERO CSS */
.ts-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      180deg,
      var(--ts-hero-bg-start) 0%,
      var(--ts-hero-bg-end) 100% 
  );
  padding: 72px 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Shared page hero */
.ts-page-hero {
  padding: 4rem 0 3rem;
}

.ts-page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 4vw, 26px);
  text-align: left;
  align-items: flex-start;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.ts-page-hero__title {
  margin: 0;
  font-family: var(--ts-heading-font);
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--ts-text);
  width: 100%;
}

.ts-page-hero__subtitle {
  margin: 0;
  width: 70%;
  max-width: 62rem;
  color: var(--ts-text-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.7;
}

/* Legal pages */
.ts-legal {
  background: var(--ts-neutral-050);
  padding-bottom: clamp(64px, 10vw, 120px);
}

.ts-legal__hero {
  background: linear-gradient(180deg, #eef8f2 0%, rgba(255, 255, 255, 0) 65%, #ffffff 100%);
  padding: clamp(48px, 7vw, 96px) 0;
}

.ts-legal__hero-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 3vw, 18px);
}

.ts-legal__title {
  margin: 0;
  font-family: var(--ts-heading-font);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--ts-text);
}

.ts-legal__subtitle {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ts-text-muted);
  line-height: 1.65;
}

.ts-legal__content {
  padding: clamp(40px, 6vw, 80px) 0 0;
}

.ts-legal__article {
  margin: 0;
}

.ts-legal__body {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 2.75rem);
  box-sizing: border-box;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ts-legal__body > *:first-child {
  margin-top: 0;
}

.ts-legal__body > :last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .ts-legal__hero-inner {
    padding: 0 clamp(1.5rem, 6vw, 2.5rem);
  }

  .ts-legal__body {
    padding: 0 clamp(1.25rem, 7vw, 2rem);
  }
}

/* Feature navigation shortcode */
.ts-feature-nav {
  margin: clamp(28px, 4vw, 44px) auto clamp(18px, 3vw, 32px);
  max-width: 1340px;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.ts-feature-nav__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.65rem;
  width: 100%;
}

.ts-feature-nav__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(33, 33, 33, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ts-text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ts-feature-nav__item:hover,
.ts-feature-nav__item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(33, 33, 33, 0.24);
  box-shadow: 0 12px 24px rgba(33, 61, 39, 0.12);
  outline: none;
}

/* Feature pair shortcode */
.ts-feature-pair {
  --feature-accent: #2e7d32;
  --feature-accent-soft: rgba(46, 125, 50, 0.14);
  --feature-accent-strong: #1b5e20;
  display: flex;
  gap: clamp(20px, 5vw, 48px);
  align-items: flex-start;
  margin: clamp(40px, 6vw, 72px) auto;
  flex-wrap: wrap;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
  scroll-margin-top: calc(var(--ts-sticky-offset, 96px) + 16px);
}

.ts-feature-pair:nth-of-type(2) {
  --feature-accent: #0d7a84;
  --feature-accent-soft: rgba(13, 122, 132, 0.14);
  --feature-accent-strong: #06525a;
}

.ts-feature-pair:nth-of-type(3) {
  --feature-accent: #c9801a;
  --feature-accent-soft: rgba(201, 128, 26, 0.16);
  --feature-accent-strong: #8a5712;
}

.ts-feature-pair:nth-of-type(4) {
  --feature-accent: #603ec3;
  --feature-accent-soft: rgba(96, 62, 195, 0.16);
  --feature-accent-strong: #432a8a;
}

.ts-feature-pair:nth-of-type(5) {
  --feature-accent: #c03a71;
  --feature-accent-soft: rgba(192, 58, 113, 0.16);
  --feature-accent-strong: #8d2750;
}

.ts-feature-pair:nth-of-type(6) {
  --feature-accent: #00897b;
  --feature-accent-soft: rgba(0, 137, 123, 0.16);
  --feature-accent-strong: #006156;
}

.ts-feature-pair:nth-of-type(7) {
  --feature-accent: #2f6adf;
  --feature-accent-soft: rgba(47, 106, 223, 0.14);
  --feature-accent-strong: #21459a;
}

.ts-feature-pair:nth-of-type(8) {
  --feature-accent: #b23a48;
  --feature-accent-soft: rgba(178, 58, 72, 0.16);
  --feature-accent-strong: #7c2730;
}

.ts-feature-pair:nth-of-type(9) {
  --feature-accent: #4e5bc8;
  --feature-accent-soft: rgba(78, 91, 200, 0.16);
  --feature-accent-strong: #343f8d;
}

.ts-feature-pair--media-left {
  flex-direction: row-reverse;
}

.ts-feature-pair__content,
.ts-feature-pair__media {
  flex: 1 1 320px;
  border-radius: 22px;
  background: var(--ts-surface);
  box-shadow: 0 16px 36px rgba(33, 61, 39, 0.07);
  border: 1px solid rgba(33, 33, 33, 0.06);
}

.ts-feature-pair__content {
  padding: clamp(28px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ts-feature-pair__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: var(--feature-accent-soft);
  color: var(--feature-accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ts-feature-pair__title {
  margin: 0;
  font-size: 1.5rem;
  color: var(--ts-text);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ts-feature-pair__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  color: var(--feature-accent-strong);
}

.ts-feature-pair__title-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.ts-feature-pair__description {
  margin: 0;
  color: var(--ts-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ts-feature-pair__list {
  margin: 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.6rem;
  color: var(--ts-text);
  font-size: 1rem;
  line-height: 1.6;
}

.ts-feature-pair__list li {
  position: relative;
  list-style: none;
  padding-left: 1.85rem;
}

.ts-feature-pair__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  background-color: var(--feature-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ts-feature-pair__media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(28px, 5vw, 42px);
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--feature-accent) 14%, #ffffff 86%) 0%,
    color-mix(in srgb, var(--feature-accent) 6%, #ffffff 94%) 100%
  );
  border: 1px solid color-mix(in srgb, var(--feature-accent) 18%, rgba(255, 255, 255, 0.4));
}

.ts-feature-pair__media-caption {
  color: color-mix(in srgb, var(--feature-accent-strong) 88%, #000 12%);
}

.ts-feature-pair__media--image {
  justify-content: flex-start;
  gap: 1.25rem;
  padding: clamp(24px, 4vw, 36px);
}

.ts-feature-pair__media--image .ts-feature-pair__media-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(33, 61, 39, 0.1);
}

.ts-feature-pair__media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(33, 61, 39, 0.1);
}

.ts-feature-pair__media-caption {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: rgba(33, 33, 33, 0.85);
  font-size: 0.95rem;
}

.ts-feature-pair__media-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.ts-feature-pair__media-subtitle {
  font-size: 0.95rem;
  opacity: 0.85;
}

.ts-feature-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 32px);
  margin: clamp(32px, 6vw, 72px) auto clamp(52px, 8vw, 96px);
  padding: clamp(22px, 4vw, 32px);
  max-width: 1340px;
  box-sizing: border-box;
  border-radius: 26px;
  background: var(--ts-surface);
  border: 1px solid rgba(33, 33, 33, 0.08);
  box-shadow: 0 12px 28px rgba(33, 61, 39, 0.07);
}

.ts-feature-cta__content {
  flex: 1 1 320px;
  min-width: 260px;
}

.ts-feature-cta__heading {
  margin: 0 0 0.5rem;
  font-family: var(--ts-heading-font);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.2;
  color: var(--ts-text);
}

.ts-feature-cta__copy {
  margin: 0;
  color: var(--ts-text-muted);
  font-size: clamp(0.9rem, 2vw, 0.95rem);
  line-height: 1.6;
}

.ts-feature-cta__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: flex-end;
}

.ts-feature-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ts-feature-cta__button--primary {
  background: var(--ts-primary);
  color: var(--ts-text-inverse);
  border: none;
  transition: filter 0.2s 
  ease, transform 0.2s 
  ease;
}

.ts-feature-cta__button--primary:hover,
.ts-feature-cta__button--primary:focus-visible {
  transform: translateY(-1px);
  color: var(--ts-text-inverse);
  filter: brightness(1.05);
}

.ts-feature-cta__button--ghost {
  background: var(--ts-surface);
  color: var(--ts-primary);
  border: 1px solid rgba(76, 175, 80, 0.24);
}

.ts-feature-cta__button--ghost:hover,
.ts-feature-cta__button--ghost:focus-visible {
  transform: translateY(-1px);
  background: rgba(76, 175, 80, 0.08);
  border-color: rgba(76, 175, 80, 0.32);
  color: var(--ts-primary);
}

.ts-feature-cta__button svg {
  display: block;
}

.ts-about {
  margin: clamp(48px, 8vw, 64px) auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
  display: grid;
  gap: clamp(44px, 7vw, 64px);
}

.ts-about__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 6vw, 56px);
  align-items: stretch;
}

.ts-about__grid--alt {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.ts-about__story {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border-soft);
  border-radius: 26px;
  padding: clamp(30px, 5vw, 44px);
  box-shadow: 0 12px 26px rgba(33, 61, 39, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.ts-about__story-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ts-about__story-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--ts-primary);
}

.ts-about__story-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.ts-about__story-title {
  margin: 0;
  font-family: var(--ts-heading-font);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--ts-text);
}

.ts-about__story-text {
  margin: 0;
  color: rgba(33, 33, 33, 0.78);
  font-size: 1.03rem;
  line-height: 1.75;
}

.ts-about__visual {
  border-radius: 26px;
  border: 1px solid rgba(33, 33, 33, 0.05);
  background: linear-gradient(135deg, rgba(186, 233, 201, 0.55) 0%, rgba(255, 242, 213, 0.6) 100%);
  min-height: clamp(220px, 31vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(33, 61, 39, 0.05);
}

.ts-about__visual-icon svg {
  width: clamp(48px, 7vw, 64px);
  height: clamp(48px, 7vw, 64px);
  color: rgba(55, 71, 79, 0.7);
}

.ts-about__beliefs {
  display: grid;
  gap: clamp(18px, 3.5vw, 28px);
}

.ts-about__beliefs-heading {
  margin: 0;
  font-family: var(--ts-heading-font);
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  color: var(--ts-text);
}

.ts-about__values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.ts-about-value {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border-soft);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 30px);
  box-shadow: 0 10px 22px rgba(33, 61, 39, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.ts-about-value__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--ts-primary);
  flex: 0 0 auto;
}

.ts-about-value__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.ts-about-value__title {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ts-text);
}

.ts-about-value__text {
  margin: 0;
  color: rgba(33, 33, 33, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ts-about__story--summary {
  gap: 1.25rem;
}

.ts-about__summary-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ts-text);
}

.ts-about__summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ts-about__summary-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(33, 33, 33, 0.78);
  font-size: 0.95rem;
}

.ts-about__summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--ts-primary);
}

.ts-about__summary-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.ts-about__timeline {
  display: grid;
  margin-top: clamp(24px, 6vw, 40px);
}

.ts-about__timeline-card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border-soft);
  border-radius: 26px;
  padding: clamp(26px, 5vw, 40px);
  box-shadow: 0 12px 26px rgba(33, 61, 39, 0.06);
  display: grid;
  gap: clamp(18px, 4vw, 26px);
}

.ts-about__timeline-header {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.ts-about__timeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(76, 175, 80, 0.12);
  color: var(--ts-primary);
  flex: 0 0 auto;
}

.ts-about__timeline-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.ts-about__timeline-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ts-text);
}

.ts-about__timeline-copy {
  margin: 0;
  color: rgba(33, 33, 33, 0.72);
  font-size: 0.98rem;
  line-height: 1.65;
}

.ts-about__timeline-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.ts-about__timeline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ts-about__timeline-button--primary {
  background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-button-hover) 100%);
  color: var(--ts-text-inverse);
  border: none;
  box-shadow: 0 12px 24px rgba(76, 175, 80, 0.18);
}

.ts-about__timeline-button--primary:hover,
.ts-about__timeline-button--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(76, 175, 80, 0.22);
}

.ts-about__timeline-button--ghost {
  background: var(--ts-surface);
  color: var(--ts-primary);
  border: 1px solid rgba(76, 175, 80, 0.28);
  box-shadow: 0 8px 20px rgba(33, 61, 39, 0.05);
}

.ts-about__timeline-button--ghost:hover,
.ts-about__timeline-button--ghost:focus-visible {
  transform: translateY(-1px);
  background: rgba(76, 175, 80, 0.08);
  border-color: rgba(76, 175, 80, 0.32);
}

.ts-about__community {
  margin-top: clamp(24px, 6vw, 40px);
}

.ts-about__community-card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border-soft);
  border-radius: 26px;
  padding: clamp(26px, 5vw, 40px);
  box-shadow: 0 10px 22px rgba(33, 61, 39, 0.05);
  display: grid;
  gap: clamp(14px, 3vw, 22px);
}

.ts-about__community-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ts-text);
}

.ts-about__community-copy {
  margin: 0;
  color: rgba(33, 33, 33, 0.7);
  font-size: 0.96rem;
  line-height: 1.6;
}

.ts-about__community-links {
  list-style: none;
  display: inline-flex;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
}

.ts-about__community-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(76, 175, 80, 0.26);
  color: var(--ts-primary);
  background: var(--ts-surface);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ts-about__community-link:hover,
.ts-about__community-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(76, 175, 80, 0.08);
}

.ts-about__community-link svg {
  width: 1.05rem;
  height: 1.05rem;
}

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

  .ts-about__grid--alt {
    grid-template-columns: 1fr;
  }

  .ts-about__visual {
    min-height: clamp(210px, 48vw, 280px);
  }
}

@media (max-width: 640px) {
  .ts-about {
    gap: clamp(36px, 8vw, 44px);
  }

  .ts-about__story {
    padding: clamp(24px, 8vw, 32px);
  }

  .ts-about__values {
    grid-template-columns: 1fr;
  }

  .ts-about__timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ts-about__timeline-icon {
    width: 2.2rem;
    height: 2.2rem;
  }

  .ts-about__timeline-actions {
    width: 100%;
  }

  .ts-blog-outline {
    width: unset;
  }

  .ts-single-blog__body ul,
  .ts-single-blog__body ol {
    margin-left: 0;
  }
}

/* Contact form */
.ts-contact {
  padding: clamp(3rem, 6vw, 4rem) 0;
}

.ts-contact__inner {
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.ts-contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.25rem, 5vw, 3.5rem);
  align-items: flex-start;
}

.ts-contact__form-card {
  background-color: var(--ts-surface);
  border-radius: 24px;
  border: 1px solid rgba(33, 33, 33, 0.08);
  box-shadow: 0 22px 48px rgba(33, 33, 33, 0.08);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.ts-contact__form-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.ts-contact__form-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ts-contact__form-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ts-primary);
}

.ts-contact__form-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  margin: 0;
  color: var(--ts-text);
}

.ts-contact__form-subtitle {
  margin: -8px 0 0 0;
  color: var(--ts-text-muted);
  font-size: 1rem;
}

.ts-contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ts-contact__field + .ts-contact__field {
  margin-top: clamp(1rem, 2.8vw, 1.4rem);
}

.ts-contact__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ts-text);
}

.ts-contact__input {
  appearance: none;
  border-radius: 14px;
  border: 1px solid rgba(33, 33, 33, 0.12);
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ts-text);
  box-shadow: inset 0 1px 2px rgba(33, 33, 33, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ts-contact__input.is-error {
  border-color: rgba(229, 57, 53, 0.65);
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.18);
}

.ts-contact__input::placeholder {
  color: rgba(33, 33, 33, 0.4);
}

.ts-contact__input:focus {
  border-color: rgba(76, 175, 80, 0.6);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.18);
  outline: none;
}

.ts-contact__input.is-error:focus {
  border-color: rgba(229, 57, 53, 0.75);
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.24);
}

.ts-contact__textarea {
  resize: vertical;
  min-height: 200px;
}

.ts-contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(1.1rem, 3vw, 1.6rem);
}

.ts-contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ts-text-inverse);
  background: var(--ts-primary);
  border: none;
  cursor: pointer;
  box-shadow: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.ts-contact__submit svg {
  flex-shrink: 0;
  height: 20px;
}

.ts-contact__submit:hover {
  transform: translateY(-1px);
  background-color: var(--ts-button-hover);
}

.ts-contact__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.28);
}

.ts-contact__legal {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ts-text-muted);
  padding-top: 8px;
}

.ts-contact__alert {
  margin: 0;
  font-size: 0.9rem;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  display: none;
}

.ts-contact__alert:not(:empty) {
  display: block;
}

.ts-contact__alert--error {
  background-color: rgba(229, 57, 53, 0.12);
  border-color: rgba(229, 57, 53, 0.32);

.ts-contact__submit.is-loading {
  opacity: 0.65;
  cursor: progress;
  pointer-events: none;
}
  color: #c62828;
}

.ts-contact__alert--success {
  background-color: rgba(76, 175, 80, 0.12);
  border-color: rgba(76, 175, 80, 0.32);
  color: #2e7d32;
}

.ts-contact__sidebar {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.ts-contact-card {
  background-color: var(--ts-surface);
  border-radius: 22px;
  border: 1px solid rgba(33, 33, 33, 0.08);
  box-shadow: 0 8px 16px rgba(33, 33, 33, 0.06);
  padding: 1.25rem 1.5rem;
}

.ts-contact-card__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ts-text);
}

.ts-contact-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ts-contact-card__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.975rem;
  color: var(--ts-text);
}

.ts-contact-card__list a {
  color: inherit;
  text-decoration: none;
}

.ts-contact-card__list a:hover {
  text-decoration: underline;
}

.ts-contact-card__icon {
  width: 36px;
  height: 36px;
  color: var(--ts-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ts-contact-card__note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--ts-text-muted);
  line-height: 1.5;
}

.ts-contact-social {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ts-contact-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(33, 33, 33, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-text);
  background-color: rgba(255, 255, 255, 0.9);
  transition: border-color 160ms ease, transform 160ms ease, color 160ms ease;
}

.ts-contact-social a:hover {
  transform: translateY(-2px);
  color: var(--ts-primary);
  border-color: rgba(76, 175, 80, 0.4);
}

.ts-contact-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.ts-contact-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--ts-primary);
  text-decoration: none;
}

.ts-contact-card__cta:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .ts-contact__layout {
    grid-template-columns: 1fr;
    margin-left: 20px;
    margin-right: 20px;
  }

  .ts-contact__sidebar {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .ts-contact__inner {
    padding-left: 0;
    padding-right: 0;
  }

  .ts-contact__form-card {
    border-radius: 20px;
    padding: clamp(1.5rem, 8vw, 2rem);
  }

  .ts-contact-card {
    border-radius: 18px;
    padding: clamp(1.25rem, 6vw, 1.75rem);
  }

  .ts-contact__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .ts-contact__submit {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ts-feature-cta {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.5rem;
    margin: clamp(28px, 8vw, 48px) clamp(1rem, 5vw, 1.75rem);
    padding: clamp(24px, 6vw, 32px);
    width: auto;
  }

  .ts-feature-cta__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .footer__main-widget .widget ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer__main-widget .widget ul li {
    width: 100%;
  }

  .footer__main-widget .widget ul a {
    display: block;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .ts-feature-nav__inner {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .ts-feature-nav__inner {
    justify-content: flex-start;
  }

  .ts-feature-pair__content,
  .ts-feature-pair__media {
    padding: 24px;
  }

  .ts-feature-pair__title {
    font-size: 1.25rem;
  }
}

.ts-hero__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "copy visual";
  gap: 40px;
  align-items: center;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.ts-hero__copy {
  grid-area: copy;
  text-align: left;
  max-width: min(700px, 100%);
}

.ts-hero__headline {
  margin: 20px 0 24px;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.08;
  color: var(--ts-hero-heading);
  font-weight: 700;
}

.ts-hero__highlight {
  display: block;
  color: var(--ts-hero-accent);
}

.ts-hero__description {
  margin: 0 0 32px;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ts-hero-body);
  max-width: 520px;
}

.ts-hero__form {
  margin: 0;
}

#ts-hero-email {
  scroll-margin-top: 110px;
}

.ts-hero__form-message {
  margin: 0.75rem 0 0;
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.04);
  background-color: color-mix(in srgb, currentColor 16%, transparent);
  border: 1px solid currentColor;
  box-shadow: 0 10px 26px rgba(33, 33, 33, 0.08);
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ts-hero__form-message:is(.is-visible, [data-visible="true"], :not(:empty)) {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.ts-hero__form-message::before {
  content: '';
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background-color: currentColor;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

.ts-hero__form-message[data-hidden="true"],
.ts-hero__form-message[hidden] {
  display: none !important;
}

@supports selector(:blank) {
  .ts-hero__form-message:blank {
    display: none !important;
  }

  .ts-hero__form-message:not(:blank) {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
}

.ts-hero__form-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ts-surface);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 12px 24px var(--ts-hero-form-shadow);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ts-hero__input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: 16px 20px;
  font-size: 1rem;
  color: var(--ts-hero-heading);
  box-sizing: border-box;
}

.ts-hero__input:focus {
  outline: none;
}

.ts-hero__form-row:focus-within {
  border-color: var(--ts-hero-accent);
  box-shadow: 0 25px 55px var(--ts-hero-form-shadow), 0 0 0 4px var(--ts-hero-focus-ring);
}

.ts-hero__input::placeholder {
  color: var(--ts-hero-placeholder);
}

.ts-hero__button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 14px;
  padding: 16px 28px;
  background: var(--ts-hero-accent);
  color: var(--ts-text-inverse);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ts-hero__button:hover,
.ts-hero__button:focus {
  background: var(--ts-hero-button-hover);
}
.ts-hero__button:focus-visible {
  outline: 3px solid var(--ts-hero-button-focus);
  outline-offset: 3px;
}

.ts-hero__launch-note {
  margin: 18px 0 22px;
  font-size: 0.95rem;
  color: var(--ts-hero-note);
}

.ts-hero__powered {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--ts-hero-note);
}

.ts-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--ts-hero-badge-bg);
  color: var(--ts-text);
  border: 1px solid var(--ts-border-soft);
}

.ts-hero__badge img {
  margin-right: 8px;
  height: 12px;
  width: auto;
}

.ts-hero__visual {
  display: flex;
  grid-area: visual;
  justify-content: end;
}

.ts-hero__visual-card {
  background: var(--ts-surface);
  border-radius: 32px;
  padding: 44px 34px;
  box-shadow: 0 16px 32px var(--ts-hero-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: min(430px, 100%);
}

.ts-hero__visual-media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ts-hero-visual-gradient-start) 0%, var(--ts-hero-visual-gradient-end) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ts-hero__visual-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.35s ease;
  opacity: 1;
}

.ts-hero__visual-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ts-hero__visual-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ts-surface);
  border-radius: 18px;
  height: 86px;
  font-weight: 600;
  color: var(--ts-neutral-500);
  box-shadow: inset 0 0 0 1px var(--ts-hero-chip-border);
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  width: 100%;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  gap: 12px;
  padding: 0 18px;
}

.ts-hero__visual-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: inherit;
}

.ts-hero__visual-chip-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.ts-hero__visual-chip-label {
  display: block;
}

.ts-hero__visual-chip:hover,
.ts-hero__visual-chip:focus-visible {
  color: var(--ts-hero-accent);
  box-shadow: inset 0 0 0 1px var(--ts-hero-accent), 0 4px 8px rgba(30, 82, 52, 0.16);
}

.ts-hero__visual-chip:focus-visible {
  outline: 3px solid var(--ts-hero-focus-ring);
  outline-offset: 2px;
}

.ts-hero__visual-chip.is-active {
  color: var(--ts-hero-accent);
  box-shadow: inset 0 0 0 1px var(--ts-hero-accent), 0 6px 12px rgba(30, 82, 52, 0.22);
  transform: translateY(-2px);
}

.ts-waiting-list__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 14px;
  background: var(--ts-hero-accent);
  color: var(--ts-text-inverse);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  margin: 0;
}

.ts-waiting-list__cta:hover,
.ts-waiting-list__cta:focus {
  background: var(--ts-hero-button-hover);
  color: var(--ts-text-inverse);
  transform: translateY(-1px);
}

.ts-waiting-list__cta:focus-visible {
  outline: 3px solid var(--ts-hero-button-focus);
  outline-offset: 2px;
}

.widget_ts_waiting_list {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.widget_ts_waiting_list .icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.widget_ts_waiting_list .icons a {
  color: var(--ts-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .widget_ts_waiting_list {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .widget_ts_waiting_list .icons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .ts-how-it-works__title + p,
  .ts-what__title + p {
    margin: -18px auto 32px;
    text-align: center;
  }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ts-hero__promo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(76, 175, 80, 0.12);
    color: #1B5E20;
    border: 1px solid rgba(76, 175, 80, 0.25);
    backdrop-filter: saturate(120%) blur(4px);
    font: 400 0.85rem/1.2 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
    animation: ts-hero-fadeSlide 0.6s ease-out 0.4s both;
}

.ts-hero__promo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.22);
    color: var(--ts-secondary);
}

.ts-hero__promo-icon svg {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, .8));
}

.ts-hero__promo:hover {
    box-shadow: 0 8px 28px rgba(76, 175, 80, 0.18);
}

.ts-hero__promo-text {
    display: inline-block;
}

@keyframes ts-hero-fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-hero__promo {
        animation: none;
    }

  .ts-hero__visual-media img {
    transition: none;
  }

  .ts-hero__visual-chip {
    transition: none;
  }

  .ts-hero__visual-chip.is-active {
    transform: none;
  }
}

.ts-hero__form-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ts-hero__input,
.ts-hero__button {
    min-height: 56px;
}

.ts-hero__input {
    padding: 0 20px;
}

.ts-hero__button {
    padding: 0 28px;
}

@media (max-width: 1024px) {
  .ts-hero {
      padding: 52px 20px 60px;
  }

  .ts-hero__visual {
    justify-content: center;
  }

  .ts-hero__visual-card {
    width: min(420px, 100%);
    padding: 32px 24px;
  }

  .ts-hero__visual-footer {
    gap: 16px;
  }

  .ts-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    text-align: center;
  }

  .ts-hero__copy {
    text-align: center;
  }

  .ts-hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .ts-hero__form-row {
    flex-direction: column;
    padding: 0;
    gap: 0.75rem;
    background: transparent;
    box-shadow: none;
    border: none;
  }

  .ts-hero__form-message {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .ts-hero__input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--ts-border-soft);
    padding: 16px 20px;
    background: var(--ts-surface);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    min-height: 56px;
    box-sizing: border-box;
  }

  .ts-hero__input:focus {
    border-color: var(--ts-primary);
    box-shadow: 0 0 0 3px var(--ts-hero-focus-ring);
  }

  .ts-hero__button {
    width: 100%;
    border-radius: 14px;
    padding: 16px 24px;
  }

  .ts-hero__form-row:focus-within {
    border: none;
    box-shadow: none;
  }

  .ts-hero__powered {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #ts-hero-email {
    scroll-margin-top: 100px;
  }
}

@media (max-width: 640px) {
  .ts-hero {
    padding: 36px 16px 40px;
  }

  .ts-page-hero__subtitle {
    width: 100%;
  }

  .ts-hero__headline {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .ts-hero__visual-card {
    padding: 32px 24px;
  }

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

  .ts-hero__visual-chip {
    height: 72px;
  }

  .ts-hero__visual-chip:nth-child(3) {
    grid-column: span 2;
  }

  .ts-hero__promo {
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .ts-hero__promo-icon {
    width: 30px;
    height: 30px;
  }
}
/* HERO CSS END */

.ts-features {
  background: var(--ts-neutral-050);
  padding: clamp(48px, 6vw, 80px) 0;
}

.ts-features__wrapper {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.ts-features__container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 32px);
}

.ts-features__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--ts-surface);
  border: 1px solid var(--ts-neutral-200);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 28px);
  box-shadow: 0 20px 40px rgba(33, 33, 33, 0.04);
}

.ts-features__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ts-features__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: var(--ts-primary);
  background: rgba(76, 175, 80, 0.12);
  background: color-mix(in srgb, var(--ts-primary) 14%, transparent);
  border: 1px solid rgba(76, 175, 80, 0.24);
  border: 1px solid color-mix(in srgb, var(--ts-primary) 28%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.ts-features__icon svg {
  width: 24px;
  height: 24px;
}

.ts-features__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ts-text);
  line-height: 1.35;
}

.ts-features__text {
  margin: 0;
  font-size: 1rem;
  color: var(--ts-text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .ts-features__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ts-features {
    padding: clamp(36px, 8vw, 56px) 0;
  }

  .ts-features__container {
    grid-template-columns: 1fr;
  }

  .ts-features__card {
    padding: clamp(20px, 6vw, 24px);
  }
}

/* What is */
.ts-what {
  padding-bottom: clamp(48px, 6vw, 80px);
  background: var(--ts-neutral-050);
}

.ts-what__wrap {
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.ts-what__content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 40px);
}

.ts-what__card {
  background: var(--ts-surface);
  border-radius: 28px;
  padding: clamp(32px, 4vw, 46px);
  box-shadow: 0 18px 36px var(--ts-shadow-medium);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ts-what__card-title {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--ts-text);
}

.ts-what__intro {
  margin: 0;
  color: var(--ts-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ts-what__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ts-what__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--ts-text);
}

.ts-what__list li::before {
  content: '✔';
  color: var(--ts-primary);
  font-weight: 700;
  margin-top: 2px;
}

.ts-what__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ts-what__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--ts-primary);
  color: var(--ts-text-inverse);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ts-what__button:hover,
.ts-what__button:focus {
  transform: translateY(-1px);
  color: var(--ts-text-inverse);
  filter: brightness(1.05);
}

.ts-what__button span {
  font-size: 1.2rem;
}

.ts-what__link {
  color: var(--ts-primary);
  font-weight: 600;
  text-decoration: none;
}

.ts-what__link:hover,
.ts-what__link:focus {
  text-decoration: underline;
}

.ts-what__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 26px;
  background: var(--ts-surface);
  border-radius: 28px;
  padding: clamp(26px, 3vw, 34px);
  box-shadow: 0 16px 32px var(--ts-shadow-soft);
}

.ts-what__feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 4px 6px;
}

.ts-what__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  color: var(--ts-primary);
}

.ts-what__feature-icon svg {
  width: 38px;
  height: 38px;
}

.ts-what__feature-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ts-what__feature-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ts-text);
}

.ts-what__feature-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ts-text-muted);
}

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

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

@media (max-width: 640px) {
  .ts-what__grid {
    grid-template-columns: 1fr;
  }

  .ts-what__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* END What is */

/* How it works */
.ts-how-it-works {
  background: var(--ts-neutral-050);
  scroll-margin-top: calc(var(--ts-sticky-offset, 96px) + 16px);
}

.ts-how-it-works__wrap {
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.ts-how-it-works__title, .ts-features__main-title, .ts-what__title, .ts-recent__title {
  margin: 0 0 40px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ts-text);
}

.ts-how-it-works__title + p, .ts-what__title + p {
  margin: -24px 0 30px;
  font-size: 1.05rem;
  color: var(--ts-text-muted);
  max-width: 720px;
  line-height: 1.6;
}

.ts-how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.ts-how-it-works__card {
  background: var(--ts-surface);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 12px 24px var(--ts-shadow-medium);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 200px;
  border: 1px solid transparent;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ts-how-it-works__card:hover,
.ts-how-it-works__card:focus-within {
  border-color: rgba(255, 193, 7, 0.28);
  border-color: color-mix(in srgb, var(--ts-secondary) 28%, transparent);
  box-shadow: 0 18px 36px var(--ts-shadow-medium), 0 8px 18px var(--ts-secondary-shadow);
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  .ts-how-it-works__card {
    transition: none;
  }

  .ts-how-it-works__card:hover,
  .ts-how-it-works__card:focus-within {
    transform: none;
  }
}

.ts-how-it-works__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ts-secondary) 18%, transparent);
  color: var(--ts-accent-warm);
  font-weight: 700;
  font-size: 1.15rem;
}

.ts-how-it-works__card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ts-text);
}

.ts-how-it-works__card-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ts-text-muted);
}

@media (max-width: 1024px) {
  .ts-how-it-works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ts-how-it-works__grid {
    grid-template-columns: 1fr;
  }

  .ts-how-it-works__card {
    padding: 28px;
  }
}
/* END How it works */

/* Recent posts */

.ts-recent {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--ts-neutral-050);
}

.ts-recent__wrap {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.ts-recent__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ts-neutral-200);
}

.ts-recent__view-all {
  color: var(--ts-primary);
    font-weight: 600;
    text-decoration: none;
}

.ts-recent__view-all:hover,
.ts-recent__view-all:focus {
    text-decoration: underline;
}

.ts-recent__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.ts-recent__card {
  background: var(--ts-light);
    border-radius: 22px;
  box-shadow: 0 24px 48px var(--ts-shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ts-recent__thumb {
    position: relative;
    padding-bottom: 48%;
  background: linear-gradient(180deg, var(--ts-hero-bg-start) 0%, var(--ts-hero-bg-end) 100%);
}

.ts-recent__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ts-recent__thumb-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  background: linear-gradient(180deg, var(--ts-hero-bg-start) 0%, var(--ts-hero-bg-end) 100%);
}

.ts-recent__body {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.5vw, 18px);
  padding: clamp(22px, 3vw, 28px);
}

.ts-recent__meta {
    display: flex;
    align-items: center;
  gap: 12px;
    font-size: 0.9rem;
  color: var(--ts-text-muted);
}

.ts-recent__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
  background: color-mix(in srgb, var(--ts-primary) 18%, var(--ts-light));
  color: var(--ts-primary);
    font-weight: 600;
    text-decoration: none;
}

.ts-recent__badge:hover,
.ts-recent__badge:focus {
  background: color-mix(in srgb, var(--ts-primary) 26%, var(--ts-light));
}

.ts-recent__dot {
  color: var(--ts-neutral-400);
}

.ts-recent__post-title {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  font-weight: 700;
  color: var(--ts-text);
}

.ts-recent__post-title a {
    color: inherit;
    text-decoration: none;
}

.ts-recent__post-title a:hover,
.ts-recent__post-title a:focus {
    text-decoration: underline;
}

.ts-recent__excerpt {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ts-text-muted);
}

.ts-recent__read-more {
  margin-top: auto;
  color: var(--ts-secondary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ts-recent__read-more span {
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  vertical-align: middle;
}

.ts-recent__read-more:hover,
.ts-recent__read-more:focus {
  color: var(--ts-button-hover);
  transform: translateX(2px);
}

.ts-recent__empty {
    margin: 0;
  color: var(--ts-text-muted);
}

@media (max-width: 1024px) {
    .ts-recent__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
  .ts-recent__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 10px;
  }

  .ts-recent__grid {
      grid-template-columns: 1fr;
  }

  .ts-recent__view-all {
    margin-top: -24px;
  }
}
/* END Recent posts */

/* Because removed Gutenberg CSS */
label.screen-reader-text {
  display: none; 
}
/* Because removed Gutenberg CSS END */

/* Responsive CSS */
@media (min-width: 769px) {
  .m-top--3rem {
    margin-top: -3rem;
  }
  .alignright {
    float: right;
  }
  .alignleft {
    float: left;
  }

  .site__header-additional_widgets {
      align-items: center;
      display: flex;
      gap: 2em;
  }
  .site__header-menu_add_mobile .widget_polylang select {
    display: none;
  }
  .site__header-menu_add_mobile .widget_ts_button {
    display: none;
  }
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--ts-overlay-backdrop);
  z-index: 900;
}
.menu-overlay.active {
  display: block;
}

@media screen and (max-width: 600px) {
  body.admin-bar #wpadminbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 92px;
    overflow-x: hidden;
  }
  body.admin-bar {
    padding-top: 92px;
  }
  .site {
    position: relative;
    overflow-x: hidden;
  }
  .site__header {
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    transform: none;
    margin-top: 0;
    padding: 0;
  }
  .site__header-mobile {
    display: flex;
    margin-left: auto;
    padding: 12px 0px;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .site__header-mobile svg {
    height: 24px;
    width: 24px;
  }
  .site__header-menu {
    display: flex;
    flex-direction: column;
    position: fixed; /* Fixed to the viewport */
    top: 0;
    right: 0;
    height: 100vh;
    width: 85%;
    max-width: 85vw;
    background-color: var(--ts-surface);
    box-shadow: -2px 0 5px var(--ts-shadow-soft);
    transition: transform 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    z-index: 1100;
    transform: translateX(100%); /* Move it off-screen */
    visibility: hidden; /* Hidden by default */
    opacity: 0; /* Fully transparent */
    overflow-x: hidden;
    overflow-y: auto; /* Allow scrolling inside */
    padding: 72px 24px 32px;
    box-sizing: border-box;
  }
  body.admin-bar .site__header-menu {
    top: 46px;
  }
  .site__header-menu.active {
      transform: translateX(0); /* Slide into view */
      visibility: visible; /* Make it visible */
      opacity: 1; /* Fully opaque */
  }
  body.admin-bar .menu-overlay {
    top: 46px;
  }

  .site__header-menu_add_mobile {
    text-align: center;
  }

  .site__header-menu_add_mobile .widget_polylang select {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--ts-text);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    text-align: left;
    text-align-last: center;
}
  
  .site__header-navigation {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
  }
  .menu-main-menu-container {
    padding: 70px 20px 20px;
  }
  .site__header-navigation #menu-primary {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .site__header-menu nav ul li {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  .site__header-navigation #menu-primary a {
    text-decoration: none;
    background-color: var(--ts-surface);
    color: var(--ts-text);
    font-size: 16px;
    font-weight: 500;
    padding: 0;
    border-radius: 0;
    border: 0px solid var(--ts-text);
  }
  .site__header-navigation #menu-primary a:hover {
    color: var(--ts-primary);
  }
  .site__header-menu nav ul .current_page_item a {
    color: var(--ts-primary) !important;
  }
  .gradient-border-wrapper {
    margin-top: 20px;
    text-transform: none;
  }
  
  .gradient-button {
    font-size: 18px;
    font-weight: 600;
    padding: 12px 30px;
  }
  .site__header-menu nav {
    width: 100%;
  }
  .site__header-menu nav ul {
    display: block;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    list-style: none;
    margin: 0;
  }
  .site__header-menu_add_mobile {
    display: block;
    padding: 24px 20px 40px;
    border-top: 1px solid var(--ts-neutral-200);
  }
  .site__header-additional {
    display: none;
    justify-content: center;
  }
  .footer {
    padding-bottom: 0;
  }
  .footer-section {
    border-radius: 0;
  }
  .footer__main {
    display: block;
    padding: 0 20px;
    width: 100%;
  }
  .footer__main-widget {
    padding: 30px 0;
    margin-top: 20px;
  }
  .footer__main-widget_left {
    width: 100%;
    padding: 0;
  }
  .footer__main-widget_center {
    width: 100%;
    padding: 0;
  }
  .footer__main-widget_right {
    width: 100%;
    padding: 0;
  }
  .modulout-footer-widget {
    padding: 0;
  }
  .slogan-line1, .slogan-line2 {
    font-size: 40px;
    background: linear-gradient(262deg, var(--ts-accent-warm) 25%, var(--ts-accent-blue) 95%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .footer__copyright {
    padding: 15px 20px;
    line-height: 2;
    width: 90%;
    margin: 0 auto;
    border-radius: 25px 25px 0 0;
    margin-top: 20px;
  }
  .footer__copyright-left, .footer__copyright-right {
      float:none;
  }
  .ts-single-blog {
    flex-direction: column;
    padding: 24px 0;
    gap: 28px;
  }
  .ts-single-blog__main {
    width: 100%;
  }
  .ts-single-blog__article {
    padding: 24px;
    border-radius: 20px;
  }
  .ts-single-blog__featured-image {
    height: 240px;
  }
  .ts-blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ts-single-blog__body {
    font-size: 1rem;
    gap: 1.5rem;
    padding-right: 16px;
  }
  .ts-single-blog__body p:first-of-type {
    font-size: 1.05rem;
    padding-left: 16px;
  }
  .ts-author-bio {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .ts-author-bio__content {
    align-items: center;
  }
  .ts-post-navigation {
    flex-direction: column;
    gap: 20px;
  }
  .ts-post-nav-item,
  .ts-post-nav-item--next {
    text-align: left;
  }
  .ts-post-nav-item a {
    justify-content: flex-start;
  }
  .ts-blog-sidebar {
    position: static;
    width: 100%;
    flex: 1 1 auto;
    padding: 24px;
    box-shadow: 0 12px 28px var(--ts-shadow-soft);
  }
  .ts_recent_posts_item > a {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }
  .ts_recent_posts_item__image,
  .ts_recent_posts_item__placeholder {
    width: 56px;
    height: 56px;
  }
  .post-thumbnail-background {
    height: 220px;
    margin: 30px 10px;
  }

  .post-thumbnail-background .post-thumbnail-title h1 {
    font-size: 40px;
  }

  /* Mobile heading sizes */
  h1 {
    font-size: 2.25rem; /* 40px instead of 56px */
  }
  
  h2 {
    font-size: 1.75rem; /* 32px instead of 40px */
  }
  
  h3 {
    font-size: 1.5rem; /* 24px instead of 28px */
  }
  
  h4 {
    font-size: 1.125rem; /* 18px instead of 20px */
  }
  
  h5, h6 {
    font-size: 1rem; /* 16px instead of 18px */
  }
}

@media (max-width: 782px) {
  body.admin-bar .site__header,
  body.admin-bar .site__header-menu,
  body.admin-bar .menu-overlay {
    top: 46px;
  }
  body.admin-bar .ts-blog-sidebar {
    top: calc(var(--ts-sticky-offset) + 46px);
  }

  .ts-feature-pair__content {
    order: 0;
  }

  .ts-feature-pair__media {
    order: 1;
  }
}

@media (max-width: 480px) {
    .cta-headline {
        font-size: 1.3rem;
    }
    
    .cta-btn {
        font-size: 1.1rem;
        padding: 16px 32px;
    }
}

@media (min-width: 1280px) {
  .ts-blog-sidebar {
    width: clamp(280px, 24vw, 360px);
  }
}

@media (max-width: 1280px) and (min-width: 769px) {
  .ts-single-blog article header h1 {
    padding-bottom: 0.5em;
  }
  .ts-single-blog article {
    width: 70%;
  }
  .ts-blog-sidebar {
    width: clamp(260px, 32vw, 340px);
  }
}

/* Blog Listing */
.ts-blog {
  background: var(--ts-neutral-050);
}

.ts-blog__hero {
  background: linear-gradient(180deg, #eef8f2 0%, rgba(255, 255, 255, 0) 65%, #ffffff 100%);
  padding: clamp(48px, 7vw, 96px) 0;
}

.ts-blog__hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ts-blog__title {
  margin: 0;
  font-family: var(--ts-heading-font);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ts-text);
}

.ts-blog__subtitle {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ts-text-muted);
  line-height: 1.6;
}

.ts-blog__inner {
  padding: clamp(40px, 6vw, 72px) 0;
}

.ts-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 32px);
}

.ts-blog__card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-neutral-200);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 24px var(--ts-shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ts-blog__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px var(--ts-shadow-medium);
}

.ts-blog__card-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ts-neutral-100);
}

.ts-blog__card-image--blank {
  min-height: 200px;
}

.ts-blog__card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.ts-blog__card:hover .ts-blog__card-img {
  transform: scale(1.03);
}

.ts-blog__card-category {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(41, 121, 255, 0.14);
  background: color-mix(in srgb, var(--ts-accent-blue) 18%, white);
  color: var(--ts-accent-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.ts-blog__card-body {
  padding: clamp(22px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1 1 auto;
}

.ts-blog__card-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ts-text);
  line-height: 1.35;
}

.ts-blog__card-title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ts-blog__card-title a:hover {
  color: var(--ts-primary);
}

.ts-blog__card-excerpt {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ts-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ts-blog__card-link {
  margin-top: auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ts-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ts-blog__card-link:hover {
  color: var(--ts-button-hover);
  transform: translateX(4px);
}

.ts-blog__pagination {
  margin-top: clamp(40px, 6vw, 64px);
  text-align: center;
}

.ts-blog__pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ts-blog__pagination .nav-links a,
.ts-blog__pagination .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ts-neutral-300);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ts-text);
  transition: all 0.2s ease;
}

.ts-blog__pagination .nav-links a:hover {
  background: var(--ts-primary);
  border-color: var(--ts-primary);
  color: var(--ts-text-inverse);
  transform: translateY(-2px);
}

.ts-blog__pagination .nav-links .current {
  background: var(--ts-primary);
  border-color: var(--ts-primary);
  color: var(--ts-text-inverse);
}


.ts-blog__pagination h2,
.ts-blog__pagination .screen-reader-text {
  display: none !important;
}

@media (max-width: 1024px) {
  .ts-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ts-blog__hero {
    padding: clamp(40px, 8vw, 72px) 0;
  }

  .ts-blog__inner {
    padding: clamp(32px, 8vw, 56px) 0;
  }
}

@media (max-width: 640px) {
  .ts-blog__grid {
    grid-template-columns: 1fr;
  }

  .ts-blog__card-img,
  .ts-blog__card-image--blank {
    min-height: 200px;
  }

  .ts-blog__hero-inner {
    text-align: left;
  }
}

/* General Page Header Styles (for non-blog pages) */
.ts-page-header {
  padding: 60px 0 40px 0;
  background: linear-gradient(135deg, var(--ts-neutral-050) 0%, var(--ts-neutral-100) 100%);
  border-bottom: 1px solid var(--ts-neutral-300);
  margin-bottom: 40px;
}

.ts-page-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.ts-page-header__title {
  font-family: var(--ts-heading-font);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ts-text);
  margin: 0 0 12px 0;
  line-height: 1.2;
  text-align: left;
  position: relative;
}

.ts-page-header__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-button-hover) 100%);
  margin-top: 20px;
  border-radius: 2px;
}

.ts-page-header__subtitle {
  font-family: var(--ts-body-font);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ts-text-muted);
  margin: 0;
  line-height: 1.6;
  text-align: left;
  max-width: 600px;
}

.ts-page-header__breadcrumb {
  font-family: var(--ts-body-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ts-text-muted);
  margin-bottom: 20px;
  text-align: left;
}

.ts-page-header__breadcrumb a {
  color: var(--ts-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.ts-page-header__breadcrumb a:hover {
  color: var(--ts-secondary);
}

.ts-page-header__breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* Mobile Page Header */
@media (max-width: 768px) {
  .ts-page-header {
    padding: 40px 0 30px 0;
    margin-bottom: 30px;
  }
  
  .ts-page-header__inner {
    padding: 0 20px;
  }
  
  .ts-page-header__title {
    font-size: 2.25rem;
  }
  
  .ts-page-header__subtitle {
    font-size: 1rem;
  }
  
  .ts-page-header__title::after {
    width: 40px;
    height: 3px;
    margin-top: 15px;
  }
}


/* =========================================================
   Design System: Consistency Overrides (append at end)
   ========================================================= */
:root {
  /* Brand palette */
  --brand-green: #4CAF50;
  --brand-green-dark: #2e7d32;
  --brand-yellow: #FFC107;
  --brand-bg: #f9f9f9;
  --brand-text: #212121;

  /* Shadows (unified) */
  --ts-shadow-soft: rgba(0,0,0,0.08);
  --ts-shadow-medium: rgba(0,0,0,0.12);
  --ts-primary-shadow: rgba(76,175,80,0.28);

  /* Neutrals */
  --ts-neutral-200: #e5e5e5;
  --ts-surface: #ffffff;
  --ts-text-muted: #6b7280;

  /* Links */
  --ts-accent-blue: var(--brand-green-dark);
  --ts-accent-warm: var(--brand-yellow);

  /* Typographic scale */
  --font-size-display: clamp(2.5rem, 5vw, 3.5rem); /* page hero */
  --font-size-h1: clamp(2rem, 4vw, 3rem);          /* section/page titles & blog H1 */
  --font-size-h2: clamp(1.5rem, 3vw, 2rem);        /* large subheads */
  --font-size-h3: clamp(1.25rem, 2.2vw, 1.5rem);   /* small subheads / card titles */
  --font-size-h4: 1.125rem;                        /* minor headings */
  --font-size-body: 1rem;                          /* base 16px body */
  --font-size-body-lg: 1.125rem;                   /* lead paragraphs */
  --font-size-small: 0.95rem;                      /* nav/footer/meta */
  --font-size-caption: 0.85rem;                    /* captions/meta */
  --font-size-button: 1rem;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Elevation scale */
  --elevation-1: 0 8px 16px var(--ts-shadow-soft);
  --elevation-2: 0 12px 24px var(--ts-shadow-soft);
  --elevation-3: 0 20px 40px var(--ts-shadow-medium);
  --elevation-4: 0 24px 60px var(--ts-shadow-medium);
  --elevation-primary: 0 16px 32px var(--ts-primary-shadow);

  /* Spacing */
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
}

/* ---------- Typography ---------- */
body { font-size: var(--font-size-body); color: var(--brand-text); }

.h1, h1 { font-size: var(--font-size-h1); line-height: 1.15; }
.h2, h2 { font-size: var(--font-size-h2); line-height: 1.2; }
.h3, h3 { font-size: var(--font-size-h3); line-height: 1.25; }
.h4, h4 { font-size: var(--font-size-h4); line-height: 1.3; }

/* Hero & key titles */
.ts-page-hero__title { font-size: var(--font-size-display); }
.ts-page-hero__subtitle { font-size: var(--font-size-body-lg); }

/* Blog */
.ts-single-blog__title { font-size: var(--font-size-h1); }
.ts-single-blog__body  { font-size: var(--font-size-body); }
figcaption,
.ts-single-blog__media-caption,
small { font-size: var(--font-size-caption); color: var(--ts-text-muted); }

/* Navigation & footer text */
.site__header-navigation--desktop .menu-primary__link { font-size: var(--font-size-small); }
.footer__copyright { font-size: var(--font-size-small); }

/* ---------- Links ---------- */
a { color: var(--ts-accent-blue); }
a:hover { color: var(--ts-accent-warm); }

/* ---------- Buttons ---------- */
.button,
.wp-block-button__link,
.site__header-additional a {
  font-size: var(--font-size-button);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
}

/* ---------- Surfaces & Shadows ---------- */
.site__header { box-shadow: var(--elevation-1); background: var(--ts-surface); }
.ts-single-blog__article { box-shadow: var(--elevation-4); background: var(--ts-surface); }
.ts-blog-sidebar { box-shadow: var(--elevation-3); background: var(--ts-surface); }
.ts-single-blog__media { box-shadow: var(--elevation-3); }
.ts-feature-pair__content,
.ts-feature-pair__media { box-shadow: var(--elevation-2); }

.ts-post-nav-item a { box-shadow: var(--elevation-2); }
.ts-post-nav-item a:hover { box-shadow: var(--elevation-2), var(--elevation-primary); }

/* Borders */
.ts-single-blog__article,
.ts-blog-sidebar,
.ts-feature-pair__content,
.ts-feature-pair__media { border: 1px solid var(--ts-neutral-200); }

/* ---------- Spacing ---------- */
.site__header-inner { padding: var(--space-4) 0; }
.footer__main-widget { padding: var(--space-8) 0; }
.ts-recent__body { padding: var(--space-6); }
