@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --t365-ink: #141613;
  --t365-copy: #363b34;
  --t365-muted: #626960;
  --t365-subtle: #81887e;
  --t365-paper: #ffffff;
  --t365-canvas: #f4f5f0;
  --t365-green: #a8e65a;
  --t365-green-dark: #356e20;
  --t365-green-ink: #244f17;
  --t365-green-soft: #def5bd;
  --t365-green-pale: #f2f9e8;
  --t365-line: #dfe2da;
  --t365-line-dark: #c8cec3;
  --t365-radius-sm: 8px;
  --t365-radius: 12px;
  --t365-radius-lg: 16px;
  --t365-container: 1240px;
  --t365-reading: 740px;
  --t365-shadow: 0 12px 34px rgba(20, 22, 19, 0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body.t365-kadence-v2 {
  background: var(--t365-paper);
  color: var(--t365-ink);
  font-family: "Onest", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.t365-kadence-v2 *,
body.t365-kadence-v2 *::before,
body.t365-kadence-v2 *::after {
  box-sizing: border-box;
}

body.t365-kadence-v2 :where(button, input, select, textarea) {
  font-family: inherit;
}

body.t365-kadence-v2 :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--t365-green);
  outline-offset: 3px;
}

body.t365-kadence-v2 :where(img) {
  max-width: 100%;
}

.t365-container,
.t365-home-new .alignwide {
  box-sizing: border-box;
  width: min(calc(100% - 64px), var(--t365-container)) !important;
  max-width: var(--t365-container) !important;
  margin-inline: auto !important;
}

.t365-home-new,
.t365-single-page,
.t365-article {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.t365-home-new > *,
.t365-home-new .wp-block-query,
.t365-home-new .wp-block-post-template,
.t365-home-new .wp-block-group,
.t365-home-new .wp-block-columns,
.t365-home-new .wp-block-column {
  margin-block-start: 0;
  margin-block-end: 0;
}

.t365-home-new .wp-block-post-template {
  width: 100%;
  margin-inline: 0 !important;
  padding: 0;
  list-style: none;
}

.t365-home-new a,
.t365-article a {
  color: inherit;
}

/* Kadence header */

body.t365-kadence-v2 #masthead {
  z-index: 100;
  border-bottom: 1px solid rgba(20, 22, 19, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

body.t365-kadence-v2 .site-main-header-wrap .site-header-row-container-inner {
  background: transparent;
}

body.t365-kadence-v2 .site-main-header-inner-wrap {
  min-height: 76px;
}

body.t365-kadence-v2 .site-header-row-container-inner > .site-container {
  width: min(calc(100% - 64px), var(--t365-container));
  max-width: var(--t365-container);
  padding-inline: 0;
}

body.t365-kadence-v2 .site-branding a.brand {
  display: inline-flex;
  align-items: center;
}

body.t365-kadence-v2 .site-branding .custom-logo {
  width: 174px;
  max-height: 52px;
  object-fit: contain;
}

body.t365-kadence-v2 .main-navigation .primary-menu-container > ul {
  gap: 26px;
}

body.t365-kadence-v2 .main-navigation .primary-menu-container > ul > li.menu-item > a {
  position: relative;
  min-height: 76px;
  padding: 0;
  color: var(--t365-ink);
  font-size: 15px;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
}

body.t365-kadence-v2 .main-navigation .primary-menu-container > ul > li.menu-item > a::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--t365-green);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

body.t365-kadence-v2 .main-navigation .primary-menu-container > ul > li.menu-item:hover > a::after,
body.t365-kadence-v2 .main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
body.t365-kadence-v2 .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

body.t365-kadence-v2 .search-toggle-open-container .search-toggle-open {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--t365-line);
  border-radius: 9px;
  background: var(--t365-paper);
  color: var(--t365-ink);
}

body.t365-kadence-v2 .search-toggle-open-container .search-toggle-open:hover {
  border-color: var(--t365-green);
  background: var(--t365-green-pale);
}

/* Shared editorial components */

.t365-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px !important;
  color: var(--t365-green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.t365-eyebrow::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--t365-green);
  content: "";
}

.t365-category,
.t365-home-new .wp-block-post-terms.t365-category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 7px;
  margin: 0;
  color: var(--t365-subtle);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.t365-category a,
.t365-home-new .wp-block-post-terms.t365-category a {
  display: inline;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--t365-green-ink);
  font-size: inherit;
  font-weight: 800;
  letter-spacing: inherit;
  line-height: inherit;
  text-decoration: none;
}

.t365-category a:hover,
.t365-home-new .wp-block-post-terms.t365-category a:hover {
  color: var(--t365-green-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.t365-home-new .wp-block-post-terms.t365-category .wp-block-post-terms__separator {
  color: #a2aaa0;
  font-size: 10px;
}

.t365-card-meta,
.t365-home-new .wp-block-post-date.t365-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  color: var(--t365-muted);
  font-size: 13px;
  font-weight: 600;
}

.t365-card-image {
  overflow: hidden;
  margin: 0;
  background: var(--t365-canvas);
}

.t365-card-image a,
.t365-card-image img {
  width: 100%;
  height: 100%;
  display: block;
}

.t365-card-image img {
  object-fit: cover;
  transition: transform 300ms ease, opacity 180ms ease;
}

.t365-card-image.is-image-missing img,
.t365-related__image.is-image-missing img {
  opacity: 0.12;
}

.t365-home-new article:hover .t365-card-image img,
.t365-related__item:hover .t365-related__image img {
  transform: scale(1.025);
}

.t365-text-link {
  margin: 0;
  color: var(--t365-green-dark);
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}

.t365-text-link a {
  text-decoration: none;
}

.t365-text-link a::after {
  display: inline-block;
  margin-left: 8px;
  content: "→";
  transition: transform 160ms ease;
}

.t365-text-link a:hover::after {
  transform: translateX(4px);
}

.t365-section-heading {
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 24px !important;
}

.t365-section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--t365-ink);
  font-size: clamp(31px, 2.45vw, 39px);
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.t365-button,
.t365-button-block .wp-block-button__link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  border: 1px solid var(--t365-green);
  border-radius: 12px;
  background: var(--t365-green);
  color: #17220f !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
}

.t365-button:hover,
.t365-button-block .wp-block-button__link:hover {
  border-color: #75ad3c;
  background: #75ad3c;
}

.t365-button--light {
  border-color: var(--t365-line-dark);
  background: var(--t365-paper);
  color: var(--t365-ink) !important;
}

.t365-button--light:hover {
  border-color: var(--t365-green);
  background: var(--t365-green-pale);
}

/* Homepage: independent editorial system */

.t365-home-new .wp-block-group > .wp-block-group__inner-container {
  width: 100%;
  min-width: 0;
}

.t365-home-new :where(
  .t365-lead-card,
  .t365-editorial-card,
  .t365-practice-card,
  .t365-health-card,
  .t365-product-card,
  .t365-latest-card
) > .wp-block-group__inner-container {
  display: contents;
}

.t365-home-intro {
  padding-block: 46px 32px;
  background: var(--t365-paper);
}

.t365-home-intro__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr) !important;
  gap: 76px;
  align-items: end;
}

.t365-home-intro__inner > .wp-block-group__inner-container {
  display: contents;
}

.t365-home-intro h1 {
  max-width: 820px;
  margin: 0;
  color: var(--t365-ink);
  font-size: clamp(46px, 4.45vw, 62px);
  font-weight: 820;
  letter-spacing: -0.058em;
  line-height: 0.97;
  text-wrap: balance;
}

.t365-home-intro__aside,
.t365-home-intro__aside > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.t365-home-intro__note {
  margin: 0 !important;
  color: var(--t365-copy);
  font-size: 17px;
  font-weight: 520;
  line-height: 1.5;
}

.t365-home-intro__principle {
  margin: 0 !important;
  color: var(--t365-subtle);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.t365-task-nav {
  padding-block: 0 42px;
}

.t365-task-nav__heading {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--t365-ink);
}

.t365-task-nav__heading > .wp-block-group__inner-container {
  display: block;
}

.t365-task-nav__heading h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 780;
  letter-spacing: -0.015em;
}

.t365-task-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0;
}

.t365-task-grid > .wp-block-group__inner-container {
  display: contents;
}

.t365-task-card {
  position: relative;
  min-width: 0;
  min-height: 104px;
  padding: 18px 32px 17px 0;
  border-bottom: 1px solid var(--t365-line-dark);
}

.t365-task-card:not(:first-child) {
  padding-left: 30px;
  border-left: 1px solid var(--t365-line);
}

.t365-task-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 790;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.t365-task-card h3 a {
  text-decoration: none;
}

.t365-task-card h3 a::after {
  margin-left: 9px;
  color: var(--t365-green-dark);
  content: "↗";
  font-size: 14px;
}

.t365-task-card > .wp-block-group__inner-container > p:last-child {
  max-width: 330px;
  margin: 0;
  color: var(--t365-muted);
  font-size: 12px;
  line-height: 1.45;
}

.t365-lead-section {
  padding-block: 30px 72px;
}

.t365-section-heading > .wp-block-group__inner-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.t365-lead-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.62fr) minmax(350px, 0.86fr);
  grid-template-rows: repeat(3, minmax(126px, auto));
  gap: 16px 32px;
}

.t365-lead-grid > li {
  min-width: 0;
  margin: 0;
}

.t365-lead-grid > li:first-child {
  grid-column: 1;
  grid-row: 1 / 4;
}

.t365-lead-grid > li:not(:first-child) {
  grid-column: 2;
}

.t365-lead-grid > li:nth-child(2) {
  grid-row: 1;
}

.t365-lead-grid > li:nth-child(3) {
  grid-row: 2;
}

.t365-lead-grid > li:nth-child(4) {
  grid-row: 3;
}

.t365-lead-card {
  height: 100%;
  min-width: 0;
}

.t365-lead-grid > li:first-child .t365-lead-card {
  display: grid;
  grid-template-rows: 310px minmax(0, 1fr);
  gap: 20px;
}

.t365-lead-grid > li:not(:first-child) .t365-lead-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  min-height: 126px;
  padding-top: 16px;
  border-top: 1px solid var(--t365-line);
}

.t365-lead-grid > li:nth-child(2) .t365-lead-card {
  padding-top: 16px;
  border-top-color: var(--t365-ink);
}

.t365-lead-card .t365-card-image {
  margin: 0;
  border-radius: 10px;
}

.t365-lead-grid > li:first-child .t365-card-image {
  width: 100%;
  height: 310px;
}

.t365-lead-grid > li:not(:first-child) .t365-card-image {
  width: 138px;
  height: 96px;
}

.t365-lead-card__body,
.t365-lead-card__body > .wp-block-group__inner-container {
  min-width: 0;
}

.t365-lead-card__body > .wp-block-group__inner-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.t365-lead-card h3 {
  margin: 9px 0 8px;
  color: var(--t365-ink);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.028em;
  line-height: 1.15;
}

.t365-lead-grid > li:not(:first-child) .t365-category {
  max-width: 100%;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}

.t365-lead-grid > li:not(:first-child) .t365-lead-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.t365-lead-grid > li:first-child .t365-lead-card h3 {
  max-width: 720px;
  margin: 9px 0 7px;
  font-size: clamp(29px, 2.35vw, 37px);
  font-weight: 810;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.t365-lead-card h3 a,
.t365-editorial-card h3 a,
.t365-practice-card h3 a,
.t365-health-card h3 a,
.t365-product-card h3 a,
.t365-latest-card h3 a {
  color: inherit;
  text-decoration: none;
}

.t365-lead-card .wp-block-post-excerpt,
.t365-lead-card .wp-block-post-excerpt__excerpt {
  margin: 0;
  color: var(--t365-muted);
  font-size: 14px;
  line-height: 1.5;
}

.t365-lead-grid > li:first-child .wp-block-post-excerpt {
  max-width: 670px;
}

.t365-lead-grid > li:not(:first-child) .wp-block-post-excerpt {
  display: none;
}

.t365-lead-card .t365-card-meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
}

.t365-home-ad {
  padding-block: 0 72px;
}

.t365-home-ad:not(:has(.t365-ad-slot)),
.t365-sidebar-ad:not(:has(.t365-ad-slot)),
.t365-manual-ad:not(:has(.t365-ad-slot)),
.wp-block-shortcode:empty {
  display: none;
}

.t365-ad-slot {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  place-items: center;
  gap: 4px;
  overflow: hidden;
  border: 1px solid var(--t365-line-dark);
  border-radius: 9px;
  background: #fafbf8;
  color: var(--t365-subtle);
  font-size: 12px;
  text-align: center;
}

.t365-ad-slot__label,
.t365-ad-slot__format {
  font-size: 12px;
}

.t365-ad-slot__name {
  color: var(--t365-muted);
  font-size: 13px;
  font-weight: 700;
}

.t365-ad-slot__content {
  width: 100%;
}

.t365-ad-slot--home-after-lead {
  width: min(970px, 100%);
  min-height: 180px;
  margin-inline: auto;
}

.t365-home-section {
  padding-block: 72px;
}

.t365-equipment-section {
  border-top: 1px solid var(--t365-ink);
  background: var(--t365-paper);
}

.t365-section-deck {
  max-width: 680px !important;
  margin: -6px auto 29px 0 !important;
  color: var(--t365-muted);
  font-size: 14px;
  line-height: 1.5;
}

.t365-equipment-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.t365-equipment-grid > li,
.t365-practice-grid > li,
.t365-health-grid > li,
.t365-product-grid > li,
.t365-latest-list > li {
  min-width: 0;
  margin: 0;
}

.t365-editorial-card {
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  border-top: 2px solid var(--t365-ink);
}

.t365-editorial-card .t365-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  border-radius: 9px;
}

.t365-editorial-card h3 {
  margin: 9px 0 8px;
  color: var(--t365-ink);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.033em;
  line-height: 1.14;
}

.t365-editorial-card .wp-block-post-excerpt,
.t365-editorial-card .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--t365-muted);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.t365-editorial-card .t365-card-meta {
  margin-top: auto;
  padding-top: 13px;
  font-size: 11px;
}

.t365-editorial-card:hover h3 a,
.t365-health-card:hover h3 a,
.t365-latest-card:hover h3 a {
  color: var(--t365-green-dark);
}

.t365-practice-section {
  background: var(--t365-ink);
  color: var(--t365-paper);
}

.t365-practice-section .t365-section-heading h2 {
  color: var(--t365-paper);
}

.t365-practice-section .t365-eyebrow,
.t365-practice-section .t365-text-link {
  color: var(--t365-green);
}

.t365-practice-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
}

.t365-practice-grid > li {
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.t365-practice-card {
  min-height: 164px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 21px;
  align-items: center;
  padding-block: 18px;
}

.t365-practice-card .t365-card-image {
  width: 168px;
  height: 126px;
  border-radius: 8px;
  background: #2c302b;
}

.t365-practice-card__body,
.t365-practice-card__body > .wp-block-group__inner-container {
  min-width: 0;
}

.t365-practice-card__body > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.t365-practice-card .t365-category a {
  color: var(--t365-green);
}

.t365-practice-card h3 {
  margin: 8px 0 7px;
  color: var(--t365-paper);
  font-size: 21px;
  font-weight: 730;
  letter-spacing: -0.032em;
  line-height: 1.14;
}

.t365-practice-card .wp-block-post-excerpt,
.t365-practice-card .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #b7bdb3;
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.t365-practice-card .t365-card-meta {
  display: none;
}

.t365-health-section {
  background: var(--t365-canvas);
}

.t365-health-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.t365-health-card {
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.t365-health-card .t365-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  border-radius: 9px;
}

.t365-health-card h3 {
  margin: 10px 0 9px;
  color: var(--t365-ink);
  font-size: 23px;
  font-weight: 770;
  letter-spacing: -0.037em;
  line-height: 1.1;
}

.t365-health-card .wp-block-post-excerpt,
.t365-health-card .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--t365-muted);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.t365-health-card .t365-card-meta {
  margin-top: auto;
  padding-top: 13px;
  font-size: 11px;
}

.t365-picks {
  background: var(--t365-green-soft);
}

.t365-picks__header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 400px !important;
  gap: 44px;
  align-items: end;
}

.t365-picks__header > .wp-block-group__inner-container {
  display: contents;
}

.t365-picks__header {
  padding-top: 22px;
  border-top: 1px solid var(--t365-ink);
}

.t365-picks__header h2 {
  max-width: 680px;
  margin: 0;
  color: var(--t365-ink);
  font-size: clamp(31px, 2.45vw, 39px);
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.t365-picks__disclosure,
.t365-picks__disclosure > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.t365-picks__disclosure p {
  margin: 0;
  color: #44513b;
  font-size: 14px;
  line-height: 1.5;
}

.t365-picks__mark {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(20, 22, 19, 0.26);
  border-radius: 5px;
  color: var(--t365-ink) !important;
  font-size: 10px !important;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.t365-product-query {
  margin-top: 29px !important;
}

.t365-product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.t365-product-card {
  height: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid rgba(20, 22, 19, 0.16);
  border-radius: 10px;
  background: var(--t365-paper);
}

.t365-product-card .t365-card-image {
  width: 100%;
  height: 150px;
  margin-bottom: 16px;
  border-radius: 7px;
  background: var(--t365-canvas);
}

.t365-product-card h3 {
  margin: 0 0 8px;
  color: var(--t365-ink);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.t365-product-card .wp-block-post-excerpt,
.t365-product-card .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--t365-muted);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.t365-product-card__link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin: auto 0 0 !important;
  padding-top: 13px;
  color: var(--t365-green-ink) !important;
  font-size: 13px;
  font-weight: 780;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px;
}

.t365-latest {
  border-top: 1px solid var(--t365-ink);
  background: var(--t365-paper);
}

.t365-latest-layout {
  gap: 48px;
  align-items: flex-start !important;
}

.t365-latest-list {
  display: grid !important;
  gap: 0;
}

.t365-latest-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding-block: 20px;
  border-top: 1px solid var(--t365-line);
}

.t365-latest-list > li:first-child .t365-latest-card {
  padding-top: 0;
  border-top: 0;
}

.t365-latest-card .t365-card-image {
  width: 190px;
  height: 142px;
  border-radius: 8px;
}

.t365-latest-card__body,
.t365-latest-card__body > .wp-block-group__inner-container {
  min-width: 0;
}

.t365-latest-card__body > .wp-block-group__inner-container {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.t365-latest-card h3 {
  margin: 8px 0 7px;
  color: var(--t365-ink);
  font-size: 23px;
  font-weight: 760;
  letter-spacing: -0.037em;
  line-height: 1.1;
}

.t365-latest-card .wp-block-post-excerpt,
.t365-latest-card .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--t365-muted);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.t365-latest-card .t365-card-meta {
  margin-top: auto;
  padding-top: 9px;
  font-size: 11px;
}

.t365-sidebar-stack {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 20px;
}

.t365-sidebar-box {
  padding: 22px;
  border: 1px solid var(--t365-line-dark);
  border-radius: 10px;
  background: var(--t365-canvas);
}

.t365-sidebar-box h2 {
  margin: 0 0 17px;
  color: var(--t365-ink);
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.t365-popular ol {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: popular;
}

.t365-popular li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  color: var(--t365-copy);
  font-size: 13px;
  font-weight: 660;
  line-height: 1.35;
}

.t365-popular li::before {
  color: var(--t365-green-dark);
  content: counter(popular, decimal-leading-zero);
  counter-increment: popular;
  font-size: 11px;
  font-weight: 850;
}

.t365-popular a {
  text-decoration: none;
}

.t365-popular a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.t365-sidebar-ad {
  padding: 0;
  border: 0;
  background: transparent;
}

.t365-sidebar-ad .t365-ad-slot {
  min-height: 360px;
}
/* Article */

.t365-article-hero {
  padding-block: 31px 39px;
  background: var(--t365-green-pale);
}

.t365-article-hero__inner {
  width: min(calc(100% - 64px), var(--t365-container)) !important;
  max-width: var(--t365-container) !important;
  display: grid;
  grid-template-columns: 216px 740px 216px;
  column-gap: 34px;
  justify-content: center;
}

.t365-article-hero__inner > * {
  grid-column: 2;
}

.t365-article-breadcrumbs {
  margin-bottom: 24px;
}

.t365-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--t365-muted);
  font-size: 13px;
}

.t365-breadcrumbs a {
  text-decoration: none;
}

.t365-breadcrumbs__separator {
  color: #adb4aa;
}

.t365-article-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.t365-ad-label {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #c4ccc0;
  border-radius: 999px;
  color: #62695f;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.t365-article-hero h1 {
  max-width: 740px;
  margin: 0;
  color: var(--t365-ink);
  font-size: clamp(44px, 4.2vw, 60px);
  font-weight: 790;
  letter-spacing: -0.052em;
  line-height: 1;
  text-wrap: balance;
}

.t365-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 24px;
  align-items: center;
  margin-top: 24px;
  color: var(--t365-muted);
  font-size: 13px;
}

.t365-article-author-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--t365-ink) !important;
  font-weight: 700;
  text-decoration: none;
}

.t365-author-avatar {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--t365-green);
  color: #1c2814;
  font-weight: 850;
}

.t365-author-avatar--small {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.t365-author-avatar--large {
  width: 74px;
  height: 74px;
  font-size: 22px;
}

.t365-author-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

.t365-article-cover-wrap {
  margin: 0;
  padding-block: 38px 44px;
}

.t365-article-cover {
  width: min(1100px, calc(100% - 64px));
  height: min(610px, 48vw);
  display: block;
  object-fit: cover;
  margin-inline: auto;
  border-radius: 24px;
}

.t365-article-layout,
.t365-article-layout--no-rail,
.t365-article-layout--no-toc,
.t365-article-layout--no-toc.t365-article-layout--no-rail {
  box-sizing: border-box;
  width: min(calc(100% - 64px), var(--t365-container));
  display: grid;
  grid-template-columns: 216px 740px 216px;
  gap: 34px;
  align-items: start;
  justify-content: center;
  margin-inline: auto;
}

.t365-article-toc {
  grid-column: 1;
  position: sticky;
  top: 105px;
}

.t365-article-body,
.t365-article-layout--no-toc .t365-article-body {
  grid-column: 2;
}

.t365-article-aside,
.t365-article-layout--no-toc .t365-article-aside {
  grid-column: 3;
}

.t365-article-toc {
  min-width: 0;
  padding-top: 20px;
  border-top: 2px solid var(--t365-green);
}

.t365-article-toc[hidden] {
  display: none;
}

.t365-article-toc .t365-toc,
.t365-article-toc > nav {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.t365-article-toc h2,
.t365-article-toc .t365-toc__title {
  margin: 0 0 14px;
  color: var(--t365-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.t365-article-toc ol {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.t365-article-toc li {
  margin: 0;
}

.t365-article-toc a {
  display: block;
  margin-bottom: 11px;
  color: var(--t365-muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 140ms ease;
}

.t365-article-toc a:hover,
.t365-article-toc a[aria-current="location"] {
  color: var(--t365-green-dark);
}

.t365-article-body {
  min-width: 0;
  color: var(--t365-ink);
  font-size: 19px;
  line-height: 1.72;
}

.t365-article-body > :first-child {
  margin-top: 0 !important;
}

.t365-article-body p {
  margin: 0 0 22px;
}

.t365-article-body h2 {
  margin: 67px 0 25px;
  color: var(--t365-ink);
  font-size: 39px;
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.08;
  scroll-margin-top: 110px;
  text-wrap: balance;
}

.t365-article-body h3 {
  margin: 43px 0 18px;
  color: var(--t365-ink);
  font-size: 27px;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.15;
  scroll-margin-top: 110px;
}

.t365-article-body :where(ul, ol) {
  margin: 18px 0 25px;
  padding-left: 25px;
}

.t365-article-body li {
  margin-bottom: 9px;
  padding-left: 5px;
}

.t365-article-body a:not(.wp-block-button__link) {
  color: var(--t365-green-dark);
  text-decoration: underline;
  text-decoration-color: rgba(79, 120, 41, 0.35);
  text-underline-offset: 4px;
}

.t365-article-body figure,
.t365-article-body .wp-block-image,
.t365-article-body .wp-block-gallery,
.t365-article-body .wp-block-video,
.t365-article-body .wp-block-embed {
  max-width: 100%;
  margin: 40px 0;
}

.t365-article-body figure img,
.t365-article-body .wp-block-image img {
  width: auto;
  max-width: 100%;
  max-height: 580px;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
}

.t365-article-body figcaption,
.t365-article-body .wp-element-caption {
  margin-top: 10px;
  color: var(--t365-subtle);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.t365-article-body blockquote:not(.wp-block-pullquote) {
  margin: 46px 0;
  padding: 8px 0 8px 28px;
  border-left: 5px solid var(--t365-green);
  color: var(--t365-ink);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.t365-article-body blockquote p:last-child {
  margin-bottom: 0;
}

.t365-article-body .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  margin: 34px 0 42px;
  border: 1px solid var(--t365-line);
  border-radius: 15px;
}

.t365-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.t365-article-body :where(th, td) {
  padding: 15px 17px;
  border: 0;
  border-bottom: 1px solid var(--t365-line);
  text-align: left;
  vertical-align: top;
}

.t365-article-body th {
  background: var(--t365-canvas);
  font-weight: 760;
}

.t365-article-body tr:last-child td {
  border-bottom: 0;
}

.t365-summary-box {
  margin: 8px 0 38px !important;
  padding: 27px 28px;
  border-radius: 18px;
  background: var(--t365-green-soft);
}

.t365-summary-box :where(h2, h3) {
  margin: 0 0 15px;
  font-size: 24px;
}

.t365-summary-box ul {
  margin: 0;
  padding-left: 22px;
}

.t365-info-box,
.t365-legacy-callout {
  margin: 37px 0 !important;
  padding: 23px 25px;
  border-left: 4px solid var(--t365-green);
  border-radius: 0 15px 15px 0;
  background: var(--t365-green-pale);
}

.t365-info-box h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.t365-info-box p:last-child,
.t365-legacy-callout p:last-child {
  margin-bottom: 0;
}

.t365-affiliate-card {
  overflow: hidden;
  margin: 42px 0 !important;
  border: 1px solid #cad9bd;
  border-radius: 18px;
  background: var(--t365-green-pale);
}

.t365-affiliate-card__columns {
  gap: 0;
  margin: 0;
}

.t365-affiliate-card__media {
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #dfead5;
  color: var(--t365-muted);
  font-size: 13px;
  text-align: center;
}

.t365-affiliate-card__media :where(figure, img) {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
}

.t365-affiliate-card__body {
  padding: 25px;
}

.t365-affiliate-card__label {
  margin: 0 0 9px !important;
  color: var(--t365-green-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.t365-affiliate-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.t365-affiliate-card__body > p:not(.t365-affiliate-card__label) {
  margin: 0 0 16px;
  color: var(--t365-muted);
  font-size: 14px;
}

.t365-ad-slot--article-inline {
  min-height: 126px;
  margin: 44px 0;
}

.t365-article-aside {
  display: grid;
  gap: 28px;
  align-content: start;
}

.t365-rail-ad .t365-ad-slot {
  min-height: 360px;
  padding: 20px;
}

.t365-rail-ad--secondary {
  margin-top: clamp(220px, 32vh, 360px);
}

.t365-article-body :where(.alignwide, .alignfull) {
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.t365-article-body :where(
  .elementor,
  .elementor-section,
  .elementor-container,
  .elementor-column,
  .elementor-widget,
  .elementor-widget-wrap,
  .elementor-widget-container
) {
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.t365-article-body > .elementor,
.t365-article-body > .elementor > .elementor-section,
.t365-article-body .elementor-container {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* Единый вид старых врезок, оставшихся внутри перенесенных материалов. */

.t365-article-body .elementor-widget-text-editor :where(p, li, span, strong, em) {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.t365-article-body .wp-block-spacer:has(+ .su-note li > a[href^="#"]) {
  display: none !important;
}

.t365-article-body .su-note:has(li > a[href^="#"]),
.t365-article-body :is(ol, ul).has-background:has(> li > a[href^="#"]) {
  display: none !important;
}

.t365-article-body .su-note {
  margin: 34px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.t365-article-body .su-note-inner {
  padding: 18px 20px !important;
  border: 1px solid var(--t365-line) !important;
  border-left: 4px solid var(--t365-green) !important;
  border-radius: 0 12px 12px 0 !important;
  background: var(--t365-canvas) !important;
  color: var(--t365-copy) !important;
  font-size: 16px;
  line-height: 1.55;
}

.t365-article-body .su-note-inner :where(p, ul, ol):last-child {
  margin-bottom: 0;
}

.t365-article-body p.has-background,
.t365-article-body :is(ol, ul).has-background {
  margin: 34px 0 !important;
  padding: 18px 20px !important;
  border: 1px solid var(--t365-line);
  border-left: 4px solid var(--t365-green);
  border-radius: 0 12px 12px 0;
  background: var(--t365-canvas) !important;
  color: var(--t365-copy);
  font-size: 16px;
  line-height: 1.55;
}

.t365-article-body p.has-background:has(a[href*="avito.ru"]) {
  border-color: #cad9bd;
  background: var(--t365-green-pale) !important;
}

.t365-article-body p.has-background:has(a[href*="avito.ru"])::before {
  display: block;
  margin-bottom: 7px;
  color: var(--t365-green-dark);
  content: "Подбор экипировки";
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.t365-article-body p.t365-legacy-related,
.t365-article-body .su-note.t365-legacy-related .su-note-inner {
  position: relative;
  padding: 43px 52px 18px 20px !important;
  border: 1px solid var(--t365-line) !important;
  border-radius: 12px !important;
  background: var(--t365-canvas) !important;
}

.t365-article-body p.t365-legacy-related::before,
.t365-article-body .su-note.t365-legacy-related .su-note-inner::before {
  position: absolute;
  top: 15px;
  left: 20px;
  color: var(--t365-green-dark);
  content: "По теме";
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.065em;
  line-height: 1;
  text-transform: uppercase;
}

.t365-article-body p.t365-legacy-related::after,
.t365-article-body .su-note.t365-legacy-related .su-note-inner::after {
  position: absolute;
  top: 16px;
  right: 19px;
  color: var(--t365-green-dark);
  content: "↗";
  font-size: 15px;
  line-height: 1;
}

.t365-page-links {
  display: flex;
  gap: 8px;
  margin-top: 40px;
}

.t365-article-end {
  width: min(calc(100% - 64px), var(--t365-reading));
  margin: 78px auto 0;
}

.t365-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.t365-article-tags a {
  padding: 7px 11px;
  border: 1px solid var(--t365-line);
  border-radius: 999px;
  color: var(--t365-muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.t365-article-tags a:hover {
  border-color: var(--t365-green);
  color: var(--t365-green-dark);
}

.t365-author-box {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 21px;
  align-items: center;
  padding: 27px;
  border: 1px solid var(--t365-line);
  border-radius: 19px;
}

.t365-author-box h2 {
  margin: 0 0 5px;
  color: var(--t365-ink);
  font-size: 21px;
}

.t365-author-box p {
  margin: 0;
  color: var(--t365-muted);
  font-size: 13px;
}

.t365-comments-fold {
  margin-top: 24px;
  border-top: 1px solid var(--t365-line);
  border-bottom: 1px solid var(--t365-line);
}

.t365-comments-fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  color: var(--t365-ink);
  font-size: 22px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.t365-comments-fold > summary::-webkit-details-marker {
  display: none;
}

.t365-comments-fold > summary b {
  color: var(--t365-green-dark);
  font-size: 14px;
}

.t365-comments-fold__action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid var(--t365-line-dark);
  border-radius: 10px;
  background: var(--t365-paper);
  font-size: 14px;
  font-weight: 700;
}

.t365-comments-fold[open] .t365-comments-fold__action {
  border-color: var(--t365-green);
  background: var(--t365-green-pale);
}

.t365-comments-fold__body {
  padding: 12px 0 32px;
}

.t365-comments-fold__body .comments-area {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.t365-related-wrap {
  padding-block: 75px 10px;
}

.t365-related-wrap .t365-related {
  margin: 0;
  padding: 0;
  border: 0;
}

.t365-related__heading {
  margin: 0 0 30px;
  color: var(--t365-ink);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.t365-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 21px;
}

.t365-related__item {
  min-width: 0;
}

.t365-related__image {
  aspect-ratio: 1.45;
  display: block;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 15px;
  background: var(--t365-canvas);
}

.t365-related__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease, opacity 180ms ease;
}

.t365-related__title {
  display: block;
  color: var(--t365-ink) !important;
  font-size: 18px;
  font-weight: 730;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-decoration: none;
}

.t365-related__more {
  margin: 24px 0 0;
  color: var(--t365-green-dark);
  font-size: 14px;
  font-weight: 700;
}

.t365-related__more a {
  text-decoration: none;
}

.t365-article-bottom-ad {
  margin-top: 64px !important;
}

.t365-bottom-ad .t365-ad-slot {
  width: min(970px, 100%);
  min-height: 180px;
  margin-inline: auto;
}

/* Kadence footer */

body.t365-kadence-v2 #colophon {
  margin-top: 90px;
  background: #1f231e;
  color: var(--t365-paper);
}

body.t365-kadence-v2.t365-homepage #colophon {
  margin-top: 0;
}

body.t365-kadence-v2.t365-archive-page #colophon,
body.t365-kadence-v2.t365-search-results-page #colophon,
body.t365-kadence-v2.t365-error-page #colophon {
  margin-top: 0;
}

body.t365-kadence-v2 #colophon .site-footer-row-container-inner {
  background: transparent;
}

body.t365-kadence-v2 #colophon .site-container {
  width: min(calc(100% - 64px), var(--t365-container));
  max-width: var(--t365-container);
  padding-inline: 0;
}

body.t365-kadence-v2 #colophon .site-bottom-footer-inner-wrap {
  min-height: 100px;
  border-top: 1px solid #3b4039;
}

body.t365-kadence-v2 #colophon .site-footer-bottom-section-1 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

body.t365-kadence-v2 #colophon :where(.footer-html, .footer-navigation) {
  color: #b9c0b6;
  font-size: 13px;
}

body.t365-kadence-v2 #colophon .footer-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

body.t365-kadence-v2 #colophon a:hover {
  color: var(--t365-green);
}

/* Existing Kadence archive pages inherit the same visual system. */

body.t365-kadence-v2:not(.t365-homepage):not(.t365-article-page) .content-area {
  margin-top: 54px;
}

body.t365-kadence-v2 .loop-entry {
  overflow: hidden;
  border-color: var(--t365-line);
  border-radius: var(--t365-radius);
  box-shadow: none;
}

body.t365-kadence-v2 .loop-entry .entry-title {
  color: var(--t365-ink);
  font-weight: 750;
  letter-spacing: -0.035em;
}

@media (max-width: 1280px) {
  .t365-container,
  .t365-home-new .alignwide,
  body.t365-kadence-v2 .site-header-row-container-inner > .site-container,
  body.t365-kadence-v2 #colophon .site-container {
    width: min(calc(100% - 48px), 1160px) !important;
  }

  body.t365-kadence-v2 .main-navigation .primary-menu-container > ul {
    gap: 21px;
  }

  .t365-article-layout {
    width: min(calc(100% - 48px), 1160px);
    grid-template-columns: 196px 720px 196px;
    gap: 24px;
  }

  .t365-article-layout--no-rail {
    grid-template-columns: 190px 720px;
  }

  .t365-article-layout--no-toc {
    grid-template-columns: 720px 202px;
  }

  .t365-article-layout--no-toc.t365-article-layout--no-rail {
    grid-template-columns: 720px;
  }

  .t365-rail-ad .t365-ad-slot {
    min-height: 330px;
  }
}

@media (max-width: 1199px) {
  .t365-home-intro__inner {
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 40px;
  }

  .t365-lead-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.9fr);
    gap-inline: 24px;
  }

  .t365-lead-grid > li:not(:first-child) .t365-lead-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
  }

  .t365-lead-grid > li:not(:first-child) .t365-card-image {
    width: 118px;
  }

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

  .t365-practice-card {
    grid-template-columns: 145px minmax(0, 1fr);
  }

  .t365-practice-card .t365-card-image {
    width: 145px;
    height: 112px;
  }

  .t365-article-layout {
    grid-template-columns: 740px 230px;
    justify-content: center;
  }

  .t365-article-layout--no-rail,
  .t365-article-layout--no-toc.t365-article-layout--no-rail {
    grid-template-columns: 740px;
  }

  .t365-article-toc {
    position: static;
    grid-column: 1 / -1;
  }

  .t365-article-body {
    grid-column: 1;
  }

  .t365-article-aside {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .t365-container,
  .t365-home-new .alignwide,
  .t365-article-hero__inner,
  .t365-article-layout,
  .t365-article-cover,
  .t365-article-end,
  body.t365-kadence-v2 .site-header-row-container-inner > .site-container,
  body.t365-kadence-v2 #colophon .site-container {
    width: min(calc(100% - 32px), 720px) !important;
  }

  .t365-home-intro__inner,
  .t365-picks__header,
  .t365-author-box {
    grid-template-columns: 1fr !important;
  }

  .t365-home-intro__inner {
    gap: 28px;
  }

  .t365-home-intro h1,
  .t365-article-hero h1 {
    font-size: 44px;
  }

  .t365-task-grid {
    grid-template-columns: 1fr !important;
  }

  .t365-task-card,
  .t365-task-card:not(:first-child) {
    padding-inline: 0;
    border-left: 0;
  }

  .t365-section-heading > .wp-block-group__inner-container {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .t365-lead-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .t365-lead-grid > li:first-child,
  .t365-lead-grid > li:not(:first-child) {
    grid-column: 1;
    grid-row: auto;
  }

  .t365-lead-grid > li:first-child .t365-lead-card {
    grid-template-rows: 300px auto;
    margin-bottom: 16px;
  }

  .t365-equipment-grid,
  .t365-practice-grid,
  .t365-health-grid,
  .t365-product-grid,
  .t365-related__grid {
    grid-template-columns: 1fr;
  }

  .t365-picks__header {
    gap: 24px;
  }

  .t365-latest-layout {
    display: block;
  }

  .t365-sidebar-stack {
    position: static;
    margin-top: 36px;
  }

  body.t365-kadence-v2 #colophon .site-footer-bottom-section-1 {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 24px;
  }

  .t365-article-layout,
  .t365-article-layout--no-rail {
    display: block;
  }

  .t365-article-toc {
    margin-bottom: 35px;
  }

  .t365-article-aside {
    display: none;
  }

  .t365-article-cover {
    height: 58vw;
  }

  .t365-author-box .t365-button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .t365-home-intro {
    padding-top: 32px;
  }

  .t365-home-intro h1,
  .t365-article-hero h1 {
    font-size: 38px;
  }

  .t365-home-section {
    padding-block: 54px;
  }

  .t365-lead-grid > li:not(:first-child) .t365-lead-card,
  .t365-practice-card,
  .t365-latest-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .t365-lead-grid > li:not(:first-child) .t365-card-image,
  .t365-practice-card .t365-card-image,
  .t365-latest-card .t365-card-image {
    width: 112px;
    height: 92px;
  }

  .t365-latest-card .wp-block-post-excerpt {
    display: none;
  }
}

/* Whole-site system: header, footer, listings, pages and responsive QA. */

body.t365-kadence-v2 {
  overflow-x: clip;
}

body.t365-kadence-v2 :where(h1, h2, h3, h4, p, li, a) {
  overflow-wrap: break-word;
}

.t365-article-hero {
  border-bottom: 1px solid var(--t365-line);
  background: var(--t365-canvas);
}

.t365-article-tags__label {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
  color: var(--t365-subtle);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

/* Informative Kadence header. */

body.t365-kadence-v2 #masthead {
  border-bottom: 0;
  background: var(--t365-paper);
  backdrop-filter: none;
}

body.t365-kadence-v2 .site-top-header-wrap {
  color: #d8ddd5;
  background: var(--t365-ink);
}

body.t365-kadence-v2 .site-top-header-wrap .site-header-row-container-inner {
  background: transparent;
}

body.t365-kadence-v2 .site-top-header-inner-wrap {
  min-height: 34px;
}

body.t365-kadence-v2 .site-top-header-wrap .header-html-inner,
body.t365-kadence-v2 .site-top-header-wrap .header-html-inner p {
  margin: 0;
  color: #c7cdc3;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.025em;
  line-height: 1.25;
}

body.t365-kadence-v2 .secondary-navigation .secondary-menu-container > ul {
  gap: 19px;
}

body.t365-kadence-v2 .secondary-navigation .secondary-menu-container > ul > li.menu-item > a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #d8ddd5;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

body.t365-kadence-v2 .secondary-navigation .secondary-menu-container > ul > li.menu-item > a:hover,
body.t365-kadence-v2 .secondary-navigation .secondary-menu-container > ul > li.current-menu-item > a {
  color: var(--t365-green);
}

body.t365-kadence-v2 .secondary-navigation a[href*="t.me/training365ru"],
body.t365-kadence-v2 .secondary-navigation a[href*="vk.com/training365ru"] {
  color: var(--t365-green);
  font-weight: 760;
}

body.t365-kadence-v2 .secondary-navigation a[href*="t.me/training365ru"]::after,
body.t365-kadence-v2 .secondary-navigation a[href*="vk.com/training365ru"]::after {
  margin-left: 4px;
  content: "↗";
  font-size: 9px;
}

body.t365-kadence-v2 .site-main-header-wrap {
  border-bottom: 1px solid var(--t365-line);
  background: rgba(255, 255, 255, 0.98);
}

body.t365-kadence-v2 .site-main-header-inner-wrap {
  min-height: 74px;
}

body.t365-kadence-v2 .site-branding .custom-logo {
  width: 166px;
  max-height: 46px;
}

body.t365-kadence-v2 .main-navigation .primary-menu-container > ul {
  gap: 22px;
}

body.t365-kadence-v2 .main-navigation .primary-menu-container > ul > li.menu-item > a {
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 710;
}

body.t365-kadence-v2 .main-navigation .primary-menu-container > ul > li.menu-item > a::after {
  bottom: 13px;
}

body.t365-kadence-v2 .site-header-main-section-right {
  gap: 10px;
}

body.t365-kadence-v2 .header-button-wrap .header-button,
body.t365-kadence-v2 .mobile-header-button-wrap .mobile-header-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--t365-green);
  border-radius: 9px;
  background: var(--t365-green);
  color: #17220f;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

body.t365-kadence-v2 .header-button-wrap .header-button:hover,
body.t365-kadence-v2 .mobile-header-button-wrap .mobile-header-button:hover {
  border-color: #7fbb43;
  background: #7fbb43;
  color: #17220f;
}

body.t365-kadence-v2 #mobile-header .site-main-header-wrap {
  background: var(--t365-paper);
}

body.t365-kadence-v2 #mobile-header .site-main-header-inner-wrap {
  min-height: 64px;
}

body.t365-kadence-v2 #mobile-header .site-header-row-container-inner > .site-container {
  width: min(calc(100% - 40px), var(--t365-container));
  padding-inline: 0;
}

body.t365-kadence-v2 #mobile-header .site-branding .custom-logo {
  width: 142px;
  max-height: 40px;
}

body.t365-kadence-v2 #mobile-header .site-header-main-section-right {
  gap: 7px;
}

body.t365-kadence-v2 #mobile-header .search-toggle-open-container .search-toggle-open,
body.t365-kadence-v2 .menu-toggle-open {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--t365-line);
  border-radius: 9px;
  background: var(--t365-paper);
  color: var(--t365-ink);
}

body.t365-kadence-v2 .menu-toggle-open .menu-toggle-label {
  display: none;
}

body.t365-kadence-v2 .popup-drawer .drawer-inner {
  max-width: min(380px, 92vw);
  background: var(--t365-paper);
  box-shadow: -18px 0 42px rgba(20, 22, 19, 0.16);
}

body.t365-kadence-v2 .popup-drawer .drawer-content {
  padding: 72px 26px 32px;
}

body.t365-kadence-v2 .popup-drawer .drawer-content > .site-header-item {
  width: 100%;
  margin-bottom: 22px;
}

body.t365-kadence-v2 .mobile-navigation ul {
  margin: 0;
}

body.t365-kadence-v2 .mobile-navigation ul li {
  border-bottom: 1px solid var(--t365-line);
}

body.t365-kadence-v2 .mobile-navigation ul li > a,
body.t365-kadence-v2 .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
  min-height: 50px;
  padding: 12px 0;
  color: var(--t365-ink);
  font-size: 18px;
  font-weight: 720;
  line-height: 1.25;
}

body.t365-kadence-v2 .popup-drawer .mobile-header-button-wrap,
body.t365-kadence-v2 .popup-drawer .mobile-header-button-wrap .mobile-header-button {
  width: 100%;
}

body.t365-kadence-v2 .popup-drawer .mobile-header-button-wrap .mobile-header-button {
  min-height: 48px;
}

body.t365-kadence-v2 .mobile-html-inner {
  padding-top: 17px;
  border-top: 1px solid var(--t365-line);
  color: var(--t365-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.t365-kadence-v2 .t365-mobile-panel-meta p {
  margin: 0;
}

body.t365-kadence-v2 .t365-mobile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 13px !important;
  font-size: 14px;
  font-weight: 750;
}

body.t365-kadence-v2 .t365-mobile-socials a {
  color: var(--t365-green-dark);
  text-decoration: none;
}

body.t365-kadence-v2 .t365-mobile-socials a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Archive and search templates. */

.t365-listing-page,
.t365-page,
.t365-not-found {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.t365-listing-hero {
  padding-block: 28px 32px;
  border-bottom: 1px solid var(--t365-line);
  background: var(--t365-canvas);
}

.t365-page-hero {
  padding-block: 34px 40px;
  border-bottom: 1px solid var(--t365-line);
  background: var(--t365-canvas);
}

.t365-listing-hero__inner {
  max-width: var(--t365-container) !important;
}

.t365-page-hero__inner {
  max-width: var(--t365-reading) !important;
}

.t365-listing-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--t365-subtle);
  font-size: 12px;
  line-height: 1.45;
}

.t365-listing-breadcrumbs a {
  color: var(--t365-green-dark);
  font-weight: 680;
  text-decoration: none;
}

.t365-listing-breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.t365-article-breadcrumbs .t365-breadcrumbs a[href$="/category/glavnaya/"],
.t365-article-breadcrumbs .t365-breadcrumbs a[href$="/category/glavnaya/"] + .t365-breadcrumbs__separator {
  display: none;
}

.t365-listing-hero h1 {
  max-width: 970px;
  margin: 0;
  color: var(--t365-ink);
  font-size: clamp(38px, 3.8vw, 50px);
  font-weight: 810;
  letter-spacing: -0.05em;
  line-height: 1;
  text-wrap: balance;
}

.t365-page-hero h1 {
  max-width: var(--t365-reading);
  margin: 0;
  color: var(--t365-ink);
  font-size: clamp(42px, 4.2vw, 58px);
  font-weight: 810;
  letter-spacing: -0.052em;
  line-height: 1;
  text-wrap: balance;
}

.t365-listing-description,
.t365-page-lead {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--t365-copy);
  font-size: 18px;
  line-height: 1.55;
}

.t365-listing-description p {
  margin: 0;
}

.t365-listing-count {
  margin: 14px 0 0;
  color: var(--t365-subtle);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.t365-listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 64px;
  align-items: start;
  padding-block: 44px 76px;
}

.t365-listing-results,
.t365-stream-list,
.t365-stream-card,
.t365-stream-card__body {
  min-width: 0;
}

.t365-stream-list {
  border-top: 2px solid var(--t365-ink);
}

.t365-stream-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 27px;
  margin: 0;
  padding-block: 25px;
  border-bottom: 1px solid var(--t365-line);
}

.t365-stream-card__media {
  width: 260px;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--t365-canvas);
  text-decoration: none;
}

.t365-stream-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.t365-stream-card:hover .t365-stream-card__image {
  transform: scale(1.025);
}

.t365-stream-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 20px;
  background: linear-gradient(145deg, #e7eadf, #f6f7f3);
  color: #9ba296;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.t365-stream-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.t365-stream-card__categories {
  min-height: 14px;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 9px;
}

.t365-stream-card__categories > .t365-category {
  min-width: 0;
  display: inline-flex;
  flex: 0 1 auto;
  color: var(--t365-green-ink);
  white-space: nowrap;
  text-decoration: none;
}

.t365-stream-card__categories > .t365-category:not(:last-child)::after {
  margin-inline: 7px;
  color: #a2aaa0;
  content: "·";
}

.t365-stream-card h2 {
  margin: 0 0 10px;
  color: var(--t365-ink);
  font-size: clamp(23px, 2.1vw, 29px);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.t365-stream-card h2 a {
  color: inherit;
  text-decoration: none;
}

.t365-stream-card h2 a:hover {
  color: var(--t365-green-dark);
}

.t365-stream-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--t365-muted);
  font-size: 14px;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.t365-stream-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--t365-subtle);
  font-size: 11px;
  font-weight: 620;
}

.t365-listing-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.t365-sidebar-kicker {
  margin: 0 0 7px;
  color: var(--t365-green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.t365-sidebar-search h2 {
  margin-bottom: 14px;
}

.t365-search-form {
  width: 100%;
  display: flex;
  gap: 8px;
}

.t365-search-form input[type="search"] {
  min-width: 0;
  min-height: 48px;
  flex: 1 1 auto;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--t365-line-dark);
  border-radius: 9px;
  background: var(--t365-paper);
  color: var(--t365-ink);
  font-size: 14px;
  line-height: 1.25;
}

.t365-search-form input[type="search"]::placeholder {
  color: #8c9389;
}

.t365-search-form button {
  min-height: 48px;
  flex: 0 0 auto;
  padding: 11px 17px;
  border: 1px solid var(--t365-green);
  border-radius: 9px;
  background: var(--t365-green);
  color: #17220f;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.t365-search-form button:hover {
  border-color: #7fbb43;
  background: #7fbb43;
}

.t365-sidebar-search .t365-search-form {
  display: grid;
}

.t365-sidebar-search .t365-search-form button {
  width: 100%;
}

.t365-listing-sidebar .t365-popular a {
  color: var(--t365-ink);
}

.t365-listing-sidebar .t365-popular a:hover {
  color: var(--t365-green-dark);
}

.t365-search-hero .t365-search-form {
  max-width: 790px;
  margin-top: 25px;
}

.t365-listing-ad .t365-ad-slot {
  min-height: 360px;
}

.t365-empty-state {
  padding: 38px;
  border: 1px solid var(--t365-line);
  border-radius: 14px;
  background: var(--t365-canvas);
}

.t365-empty-state h2 {
  margin: 0 0 10px;
  font-size: 29px;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.t365-empty-state p {
  margin: 0 0 22px;
  color: var(--t365-muted);
  font-size: 15px;
}

.t365-listing-results .navigation.pagination {
  margin-top: 34px;
}

.t365-listing-results .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.t365-listing-results .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--t365-line);
  border-radius: 8px;
  background: var(--t365-paper);
  color: var(--t365-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.t365-listing-results .page-numbers.current,
.t365-listing-results .page-numbers:hover {
  border-color: var(--t365-green);
  background: var(--t365-green-pale);
}

.t365-listing-topics,
.t365-not-found__topics {
  padding-block: 0 90px;
}

.t365-listing-topics > h2,
.t365-not-found__topics > h2 {
  margin: 0 0 24px;
  color: var(--t365-ink);
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 790;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.t365-topic-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--t365-ink);
}

.t365-topic-links a {
  min-width: 0;
  min-height: 106px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 20px 28px 20px 0;
  border-bottom: 1px solid var(--t365-line);
  color: var(--t365-ink);
  text-decoration: none;
}

.t365-topic-links a:not(:nth-child(3n + 1)) {
  padding-left: 26px;
  border-left: 1px solid var(--t365-line);
}

.t365-topic-links strong {
  font-size: 20px;
  font-weight: 770;
  letter-spacing: -0.025em;
}

.t365-topic-links span {
  color: var(--t365-muted);
  font-size: 12px;
  line-height: 1.4;
}

.t365-topic-links a:hover strong {
  color: var(--t365-green-dark);
}

/* Informational pages. */

.t365-page-cover {
  width: min(calc(100% - 64px), 1060px);
  margin: 42px auto 0;
}

.t365-page-cover img {
  width: 100%;
  max-height: 560px;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

.t365-page-body {
  width: min(calc(100% - 64px), var(--t365-reading));
  margin: 56px auto 0;
  color: var(--t365-ink);
  font-size: 18px;
  line-height: 1.7;
}

.t365-page-body > :first-child {
  margin-top: 0 !important;
}

.t365-page-body p {
  margin: 0 0 21px;
}

.t365-page-body h2 {
  margin: 58px 0 22px;
  font-size: 37px;
  font-weight: 780;
  letter-spacing: -0.043em;
  line-height: 1.08;
}

.t365-page-body h3 {
  margin: 39px 0 16px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.033em;
  line-height: 1.15;
}

.t365-page-body :where(ul, ol) {
  margin: 17px 0 24px;
  padding-left: 25px;
}

.t365-page-body li {
  margin-bottom: 8px;
}

.t365-page-body a:not(.wp-block-button__link) {
  color: var(--t365-green-dark);
  text-underline-offset: 4px;
}

.t365-page-body :where(figure, .wp-block-image, .wp-block-gallery, .wp-block-video, .wp-block-embed) {
  max-width: 100%;
  margin: 36px 0;
}

.t365-page-body img {
  height: auto;
  border-radius: 15px;
}

.t365-page-body .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
}

.t365-page-body > table,
.t365-article-body > table {
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

.t365-page-body :where(iframe, video, embed, object),
.t365-article-body :where(iframe, video, embed, object) {
  max-width: 100%;
}

.t365-page-body :where(
  .elementor,
  .elementor-section,
  .elementor-container,
  .elementor-column,
  .elementor-widget,
  .elementor-widget-wrap,
  .elementor-widget-container
) {
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.t365-page-body > .elementor,
.t365-page-body > .elementor > .elementor-section,
.t365-page-body .elementor-container {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* Useful 404 instead of a dead end. */

.t365-not-found__hero {
  padding-block: 76px 70px;
  background: var(--t365-canvas);
}

.t365-not-found__inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.t365-not-found__code {
  margin: -12px 0 0;
  color: var(--t365-green-dark);
  font-size: clamp(90px, 12vw, 168px);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.t365-not-found h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 810;
  letter-spacing: -0.056em;
  line-height: 0.98;
}

.t365-not-found__inner > div > p:not(.t365-eyebrow) {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--t365-copy);
  font-size: 17px;
  line-height: 1.55;
}

.t365-not-found .t365-search-form {
  max-width: 720px;
  margin-top: 25px;
}

.t365-not-found__home {
  margin-top: 14px;
}

.t365-not-found__topics {
  padding-top: 70px;
}

/* Rich Kadence footer, still editable through standard widget areas. */

body.t365-kadence-v2 #colophon {
  margin-top: 88px;
  background: #1c201b;
}

body.t365-kadence-v2.t365-homepage #colophon {
  margin-top: 0;
}

body.t365-kadence-v2 #colophon .site-top-footer-wrap {
  border-top: 5px solid var(--t365-green);
}

body.t365-kadence-v2 #colophon .site-top-footer-inner-wrap {
  gap: 46px;
  padding-block: 58px 50px;
}

body.t365-kadence-v2 #colophon .site-footer-section {
  min-width: 0;
}

body.t365-kadence-v2 #colophon .widget,
body.t365-kadence-v2 #colophon .widget_block,
body.t365-kadence-v2 #colophon .wp-block-group {
  margin: 0;
}

body.t365-kadence-v2 #colophon .widget-title,
body.t365-kadence-v2 #colophon .wp-block-heading {
  margin: 0 0 17px;
  color: var(--t365-paper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-transform: uppercase;
}

body.t365-kadence-v2 #colophon p {
  margin: 0 0 12px;
  color: #b9c0b6;
  font-size: 13px;
  line-height: 1.55;
}

body.t365-kadence-v2 #colophon .t365-footer-brand__name {
  margin-bottom: 13px;
  color: var(--t365-paper);
  font-size: 25px;
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1;
}

body.t365-kadence-v2 #colophon .t365-footer-brand__principle {
  color: var(--t365-green);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.025em;
}

body.t365-kadence-v2 #colophon .t365-footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.t365-kadence-v2 #colophon .t365-footer-links li {
  margin: 0;
}

body.t365-kadence-v2 #colophon .t365-footer-links a {
  color: #cbd1c8;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

body.t365-kadence-v2 #colophon .t365-footer-links a:hover {
  color: var(--t365-green);
}

body.t365-kadence-v2 #colophon .site-bottom-footer-wrap {
  border-top: 1px solid #393f37;
}

body.t365-kadence-v2 #colophon .site-bottom-footer-inner-wrap {
  min-height: 84px;
  padding-block: 22px;
  border-top: 0;
}

body.t365-kadence-v2 #colophon .site-footer-bottom-section-1,
body.t365-kadence-v2 #colophon .site-footer-bottom-section-2 {
  width: auto;
  display: flex;
  align-items: center;
}

body.t365-kadence-v2 #colophon .site-footer-bottom-section-2 {
  justify-content: flex-end;
}

body.t365-kadence-v2 #colophon .footer-html {
  margin: 0;
}

body.t365-kadence-v2 #colophon .footer-navigation .menu {
  justify-content: flex-end;
  gap: 8px 19px;
}

body.t365-kadence-v2 #colophon .footer-navigation .menu a {
  padding: 5px 0;
  color: #b9c0b6;
  font-size: 12px;
}

@media (max-width: 1280px) {
  body.t365-kadence-v2 .site-header-row-container-inner > .site-container,
  body.t365-kadence-v2 #colophon .site-container {
    width: min(calc(100% - 48px), 1160px) !important;
  }

  body.t365-kadence-v2 .main-navigation .primary-menu-container > ul {
    gap: 17px;
  }

  body.t365-kadence-v2 .main-navigation .primary-menu-container > ul > li.menu-item > a {
    font-size: 13px;
  }

  body.t365-kadence-v2 .header-button-wrap .header-button {
    padding-inline: 12px;
    font-size: 12px;
  }

  .t365-listing-layout {
    grid-template-columns: minmax(0, 1fr) 286px;
    gap: 46px;
  }

  .t365-stream-card {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .t365-stream-card__media {
    width: 232px;
  }
}

@media (max-width: 1100px) {
  .t365-article-layout,
  .t365-article-layout--no-rail,
  .t365-article-layout--no-toc,
  .t365-article-layout--no-toc.t365-article-layout--no-rail {
    width: min(calc(100% - 56px), 780px);
    grid-template-columns: minmax(0, 740px);
    gap: 30px;
  }

  .t365-article-toc {
    position: static;
    grid-column: 1;
  }

  .t365-article-body,
  .t365-article-layout--no-toc .t365-article-body {
    grid-column: 1;
  }

  .t365-article-aside,
  .t365-article-layout--no-toc .t365-article-aside {
    display: none;
  }
}

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 84px;
  }

  .t365-container,
  .t365-home-new .alignwide,
  body.t365-kadence-v2 #colophon .site-container {
    width: min(calc(100% - 48px), 960px) !important;
  }

  body.t365-kadence-v2 #mobile-header .site-header-row-container-inner > .site-container {
    width: min(calc(100% - 48px), 960px) !important;
  }

  .t365-listing-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .t365-listing-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t365-listing-sidebar .t365-listing-ad {
    display: none;
  }

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

  .t365-topic-links a:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .t365-topic-links a:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--t365-line);
  }

  body.t365-kadence-v2 #colophon .site-top-footer-inner-wrap {
    gap: 34px 42px;
  }
}

@media (max-width: 820px) {
  .t365-container,
  .t365-home-new .alignwide,
  .t365-article-hero__inner,
  .t365-article-layout,
  .t365-article-cover,
  .t365-article-end,
  .t365-listing-hero__inner,
  .t365-page-hero__inner,
  body.t365-kadence-v2 #colophon .site-container {
    width: min(calc(100% - 40px), 720px) !important;
  }

  .t365-listing-hero,
  .t365-page-hero {
    padding-block: 35px 40px;
  }

  .t365-listing-hero h1,
  .t365-page-hero h1 {
    font-size: clamp(40px, 8vw, 54px);
  }

  .t365-stream-card {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
  }

  .t365-stream-card__media {
    width: 210px;
  }

  .t365-stream-card__excerpt {
    -webkit-line-clamp: 2;
  }

  .t365-not-found__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .t365-not-found__code {
    margin: 0;
    font-size: 88px;
  }

  .t365-page-cover {
    width: min(calc(100% - 40px), 720px);
    margin-top: 32px;
  }

  .t365-page-body {
    width: min(calc(100% - 40px), 680px);
    margin-top: 44px;
  }

  .t365-article-cover-wrap {
    padding-block: 28px 38px;
  }

  .t365-article-cover {
    border-radius: 16px;
  }

  body.t365-kadence-v2 #colophon .site-footer-bottom-section-1,
  body.t365-kadence-v2 #colophon .site-footer-bottom-section-2 {
    justify-content: flex-start;
  }

  body.t365-kadence-v2 #colophon .footer-navigation .menu {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body.t365-kadence-v2 {
    font-size: 16px;
  }

  .t365-container,
  .t365-home-new .alignwide,
  .t365-article-hero__inner,
  .t365-article-layout,
  .t365-article-cover,
  .t365-article-end,
  .t365-listing-hero__inner,
  .t365-page-hero__inner,
  body.t365-kadence-v2 #colophon .site-container,
  body.t365-kadence-v2 #mobile-header .site-header-row-container-inner > .site-container {
    width: calc(100% - 32px) !important;
  }

  body.t365-kadence-v2 #mobile-header .site-branding .custom-logo {
    width: 132px;
  }

  body.t365-kadence-v2 #mobile-header .site-header-main-section-right {
    gap: 5px;
  }

  body.t365-kadence-v2 #mobile-header .search-toggle-open-container .search-toggle-open,
  body.t365-kadence-v2 .menu-toggle-open {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .t365-listing-breadcrumbs,
  .t365-article-breadcrumbs {
    margin-bottom: 22px;
  }

  .t365-listing-hero,
  .t365-page-hero {
    padding-block: 29px 34px;
  }

  .t365-listing-hero h1,
  .t365-page-hero h1 {
    font-size: 38px;
    line-height: 1;
  }

  .t365-listing-description,
  .t365-page-lead {
    margin-top: 16px;
    font-size: 16px;
  }

  .t365-listing-layout {
    gap: 40px;
    padding-block: 38px 62px;
  }

  .t365-stream-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 22px;
  }

  .t365-stream-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .t365-stream-card h2 {
    margin-bottom: 8px;
    font-size: 24px;
  }

  .t365-stream-card__excerpt {
    -webkit-line-clamp: 3;
  }

  .t365-stream-card__meta {
    margin-top: 0;
  }

  .t365-listing-sidebar {
    grid-template-columns: 1fr;
  }

  .t365-search-form {
    display: grid;
  }

  .t365-search-form button {
    width: 100%;
  }

  .t365-empty-state {
    padding: 26px 20px;
  }

  .t365-listing-topics,
  .t365-not-found__topics {
    padding-bottom: 64px;
  }

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

  .t365-topic-links a,
  .t365-topic-links a:nth-child(even),
  .t365-topic-links a:not(:nth-child(3n + 1)) {
    min-height: 88px;
    padding: 16px 0;
    border-left: 0;
  }

  .t365-page-cover {
    width: calc(100% - 32px);
    margin-top: 24px;
  }

  .t365-page-cover img {
    border-radius: 12px;
  }

  .t365-page-body {
    width: calc(100% - 32px);
    margin-top: 36px;
    font-size: 17px;
    line-height: 1.68;
  }

  .t365-page-body h2 {
    margin-top: 47px;
    font-size: 31px;
  }

  .t365-page-body h3 {
    margin-top: 34px;
    font-size: 24px;
  }

  .t365-not-found__hero {
    padding-block: 48px 50px;
  }

  .t365-not-found h1 {
    font-size: 42px;
  }

  .t365-not-found__inner > div > p:not(.t365-eyebrow) {
    font-size: 16px;
  }

  .t365-article-hero {
    padding-block: 28px 34px;
  }

  .t365-article-hero h1 {
    font-size: 38px;
    line-height: 1;
  }

  .t365-article-meta {
    gap: 11px 17px;
    margin-top: 22px;
    font-size: 12px;
  }

  .t365-article-cover {
    height: auto;
    max-height: 68vw;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .t365-article-layout,
  .t365-article-layout--no-rail,
  .t365-article-layout--no-toc,
  .t365-article-layout--no-toc.t365-article-layout--no-rail {
    display: block;
  }

  .t365-article-toc {
    margin-bottom: 30px;
    padding: 18px;
    border-top: 0;
    border-radius: 12px;
    background: var(--t365-canvas);
  }

  .t365-article-toc a {
    min-height: 36px;
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    padding-block: 7px;
  }

  .t365-article-body {
    font-size: 17px;
    line-height: 1.7;
  }

  .t365-article-body p {
    margin-bottom: 19px;
  }

  .t365-article-body h2 {
    margin: 50px 0 20px;
    font-size: 32px;
    line-height: 1.09;
  }

  .t365-article-body h3 {
    margin: 35px 0 15px;
    font-size: 24px;
  }

  .t365-article-body :where(ul, ol) {
    padding-left: 21px;
  }

  .t365-article-body figure,
  .t365-article-body .wp-block-image,
  .t365-article-body .wp-block-gallery,
  .t365-article-body .wp-block-video,
  .t365-article-body .wp-block-embed {
    margin-block: 30px;
  }

  .t365-article-body figure img,
  .t365-article-body .wp-block-image img {
    border-radius: 12px;
  }

  .t365-article-body blockquote:not(.wp-block-pullquote) {
    margin-block: 34px;
    padding-left: 19px;
    font-size: 22px;
  }

  .t365-summary-box,
  .t365-info-box,
  .t365-legacy-callout {
    padding: 20px;
    border-radius: 12px;
  }

  .t365-affiliate-card__columns {
    display: block;
  }

  .t365-affiliate-card__media {
    min-height: 190px;
  }

  .t365-affiliate-card__body {
    padding: 21px;
  }

  .t365-article-end {
    margin-top: 58px;
  }

  .t365-author-box {
    padding: 22px;
  }

  .t365-comments-fold > summary {
    align-items: flex-start;
    font-size: 19px;
  }

  .t365-comments-fold__action {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .t365-related-wrap {
    padding-top: 58px;
  }

  .t365-related__grid {
    grid-template-columns: 1fr;
  }

  .t365-related__image {
    aspect-ratio: 16 / 9;
  }

  .t365-home-intro {
    padding-block: 30px 25px;
  }

  .t365-home-intro h1 {
    font-size: 38px;
    line-height: 1;
  }

  .t365-home-intro__note {
    font-size: 15px;
  }

  .t365-task-nav {
    padding-bottom: 38px;
  }

  .t365-task-nav__heading {
    padding-bottom: 10px;
  }

  .t365-task-card h3 {
    font-size: 20px;
  }

  .t365-lead-section {
    padding-block: 25px 54px;
  }

  .t365-section-heading {
    gap: 16px;
    margin-bottom: 20px !important;
  }

  .t365-section-heading h2,
  .t365-picks__header h2 {
    font-size: 31px;
  }

  .t365-lead-grid > li:first-child .t365-lead-card {
    grid-template-rows: 220px auto;
  }

  .t365-lead-grid > li:first-child .t365-card-image {
    height: 220px;
  }

  .t365-lead-grid > li:first-child .t365-lead-card h3 {
    font-size: 29px;
  }

  .t365-home-section {
    padding-block: 50px;
  }

  .t365-equipment-grid,
  .t365-practice-grid,
  .t365-health-grid,
  .t365-product-grid {
    gap: 28px;
  }

  .t365-editorial-card h3,
  .t365-health-card h3 {
    font-size: 22px;
  }

  .t365-product-card {
    min-height: 0;
  }

  .t365-latest-card h3 {
    font-size: 20px;
  }

  .t365-sidebar-stack {
    margin-top: 28px;
  }

  body.t365-kadence-v2 #colophon {
    margin-top: 64px;
  }

  body.t365-kadence-v2 #colophon .site-top-footer-inner-wrap {
    gap: 30px;
    padding-block: 42px 35px;
  }

  body.t365-kadence-v2 #colophon .site-footer-section {
    padding-bottom: 24px;
    border-bottom: 1px solid #343a32;
  }

  body.t365-kadence-v2 #colophon .site-top-footer-section-4 {
    padding-bottom: 0;
    border-bottom: 0;
  }

  body.t365-kadence-v2 #colophon .site-bottom-footer-inner-wrap {
    min-height: 0;
    gap: 13px;
    padding-block: 24px;
  }

  body.t365-kadence-v2 #colophon .site-footer-bottom-section-1,
  body.t365-kadence-v2 #colophon .site-footer-bottom-section-2 {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .t365-home-intro h1,
  .t365-article-hero h1,
  .t365-listing-hero h1,
  .t365-page-hero h1 {
    font-size: 35px;
  }

  .t365-lead-grid > li:not(:first-child) .t365-lead-card,
  .t365-practice-card,
  .t365-latest-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 13px;
  }

  .t365-lead-grid > li:not(:first-child) .t365-card-image,
  .t365-practice-card .t365-card-image,
  .t365-latest-card .t365-card-image {
    width: 96px;
    height: 82px;
  }

  .t365-lead-card h3,
  .t365-practice-card h3,
  .t365-latest-card h3 {
    font-size: 18px;
  }

  .t365-practice-card .wp-block-post-excerpt,
  .t365-practice-card .wp-block-post-excerpt__excerpt {
    display: none;
  }

  .t365-article-meta > span:last-child {
    width: 100%;
  }
}

/* Финальная адаптивная сетка: одна ось чтения независимо от наличия рекламы. */

@media (max-width: 1280px) {
  .t365-article-hero__inner,
  .t365-article-layout,
  .t365-article-layout--no-rail,
  .t365-article-layout--no-toc,
  .t365-article-layout--no-toc.t365-article-layout--no-rail {
    grid-template-columns: 196px 720px 196px;
    column-gap: 24px;
  }

  .t365-article-end {
    max-width: 720px;
  }
}

@media (max-width: 1199px) {
  .t365-article-hero__inner,
  .t365-article-layout,
  .t365-article-layout--no-toc {
    grid-template-columns: 740px 230px;
    column-gap: 34px;
  }

  .t365-article-hero__inner > *,
  .t365-article-body,
  .t365-article-layout--no-toc .t365-article-body {
    grid-column: 1;
  }

  .t365-article-aside,
  .t365-article-layout--no-toc .t365-article-aside {
    grid-column: 2;
  }

  .t365-article-layout--no-rail,
  .t365-article-layout--no-toc.t365-article-layout--no-rail,
  body:has(.t365-article-layout--no-rail) .t365-article-hero__inner {
    grid-template-columns: 740px;
  }
}

@media (max-width: 1100px) {
  .t365-article-hero__inner,
  .t365-article-layout,
  .t365-article-layout--no-rail,
  .t365-article-layout--no-toc,
  .t365-article-layout--no-toc.t365-article-layout--no-rail {
    grid-template-columns: minmax(0, 740px);
    column-gap: 0;
  }

  .t365-article-hero__inner > *,
  .t365-article-toc,
  .t365-article-body,
  .t365-article-layout--no-toc .t365-article-body {
    grid-column: 1;
  }
}

@media (max-width: 820px) {
  .t365-article-hero__inner {
    display: block;
  }

  .t365-article-hero h1 {
    max-width: 720px;
  }

  .t365-listing-hero {
    padding-block: 25px 29px;
  }

  .t365-page-hero {
    padding-block: 29px 34px;
  }

  .t365-listing-hero h1 {
    font-size: 38px;
  }

  .t365-page-hero h1 {
    font-size: 43px;
  }

  .t365-task-grid {
    grid-template-columns: 1fr !important;
  }

  .t365-task-card,
  .t365-task-card:not(:first-child) {
    min-height: 0;
    padding: 16px 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .t365-article-hero {
    padding-block: 25px 30px;
  }

  .t365-article-hero h1,
  .t365-listing-hero h1 {
    font-size: 35px;
  }

  .t365-page-hero h1 {
    font-size: 38px;
  }

  .t365-article-breadcrumbs,
  .t365-listing-breadcrumbs {
    margin-bottom: 17px;
  }

  .t365-article-body .su-note-inner,
  .t365-article-body p.has-background,
  .t365-article-body :is(ol, ul).has-background {
    padding: 16px !important;
    font-size: 15px;
  }

  .t365-article-body p.t365-legacy-related,
  .t365-article-body .su-note.t365-legacy-related .su-note-inner {
    padding: 42px 45px 16px 16px !important;
  }

  .t365-article-body p.t365-legacy-related::before,
  .t365-article-body .su-note.t365-legacy-related .su-note-inner::before {
    left: 16px;
  }

  .t365-task-nav {
    padding-bottom: 32px;
  }

  .t365-task-nav__heading h2 {
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .t365-article-hero h1,
  .t365-listing-hero h1 {
    font-size: 33px;
  }
}

/* 4.2: единые горизонтальные линии карточек и социальный CTA. */

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

.t365-lead-card__body,
.t365-practice-card__body,
.t365-lead-card__body > .wp-block-group__inner-container,
.t365-practice-card__body > .wp-block-group__inner-container {
  height: 100%;
}

.t365-equipment-grid > li,
.t365-practice-grid > li,
.t365-health-grid > li,
.t365-product-grid > li {
  display: flex;
  align-items: stretch;
}

.t365-equipment-grid > li > .t365-editorial-card,
.t365-practice-grid > li > .t365-practice-card,
.t365-health-grid > li > .t365-health-card,
.t365-product-grid > li > .t365-product-card {
  width: 100%;
  flex: 1 1 auto;
}

.t365-practice-card {
  height: 100%;
  align-items: stretch;
}

.t365-practice-card .t365-card-image {
  align-self: start;
}

.t365-home-new .t365-lead-card .wp-block-post-date.t365-card-meta,
.t365-home-new .t365-editorial-card .wp-block-post-date.t365-card-meta,
.t365-home-new .t365-practice-card .wp-block-post-date.t365-card-meta,
.t365-home-new .t365-health-card .wp-block-post-date.t365-card-meta,
.t365-home-new .t365-latest-card .wp-block-post-date.t365-card-meta {
  display: flex;
  margin-top: auto;
}

.t365-editorial-card .wp-block-post-excerpt,
.t365-editorial-card .wp-block-post-excerpt__excerpt,
.t365-health-card .wp-block-post-excerpt,
.t365-health-card .wp-block-post-excerpt__excerpt,
.t365-product-card .wp-block-post-excerpt,
.t365-product-card .wp-block-post-excerpt__excerpt {
  min-height: 4.5em;
}

.t365-practice-card .wp-block-post-excerpt,
.t365-practice-card .wp-block-post-excerpt__excerpt,
.t365-latest-card .wp-block-post-excerpt,
.t365-latest-card .wp-block-post-excerpt__excerpt {
  min-height: 3em;
}

.t365-latest-card h3 {
  min-height: 2.2em;
}

.t365-text-link {
  align-self: flex-end;
  padding-bottom: 2px;
}

.t365-article-body .t365-legacy-social {
  display: none !important;
}

.t365-social-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid #c8d9b8;
  border-radius: 19px;
  background: var(--t365-green-soft);
}

.t365-social-cta__eyebrow {
  margin: 0 0 8px !important;
  color: var(--t365-green-dark);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-transform: uppercase;
}

.t365-social-cta h2 {
  margin: 0 0 9px;
  color: var(--t365-ink);
  font-size: 28px;
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.t365-social-cta__copy > p:last-child {
  margin: 0;
  color: #4e5b46;
  font-size: 14px;
  line-height: 1.5;
}

.t365-social-cta__actions {
  display: grid;
  gap: 10px;
}

.t365-social-cta__link {
  position: relative;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 42px 12px 15px;
  border: 1px solid rgba(20, 22, 19, 0.18);
  border-radius: 11px;
  background: var(--t365-paper);
  color: var(--t365-ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.t365-social-cta__link::after {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--t365-green-dark);
  content: "↗";
  font-size: 16px;
  transform: translateY(-50%);
}

.t365-social-cta__link:hover {
  border-color: var(--t365-green-dark);
  transform: translateY(-1px);
}

.t365-social-cta__link strong {
  font-size: 15px;
  font-weight: 790;
  line-height: 1.2;
}

.t365-social-cta__link span {
  margin-top: 4px;
  color: var(--t365-muted);
  font-size: 11px;
  line-height: 1.35;
}

@media (min-width: 1200px) {
  .t365-editorial-card h3 {
    min-height: 4.56em;
  }

  .t365-practice-card h3 {
    min-height: 3.42em;
  }

  .t365-health-card h3 {
    min-height: 3.3em;
  }

  .t365-product-card h3 {
    min-height: 3.42em;
  }
}

@media (min-width: 821px) and (max-width: 1199px) {
  .t365-editorial-card h3,
  .t365-practice-card h3,
  .t365-product-card h3 {
    min-height: 2.28em;
  }

  .t365-health-card h3 {
    min-height: 3.3em;
  }
}

@media (max-width: 820px) {
  .t365-lead-grid {
    grid-template-rows: auto;
  }

  .t365-editorial-card h3,
  .t365-practice-card h3,
  .t365-health-card h3,
  .t365-product-card h3,
  .t365-latest-card h3,
  .t365-editorial-card .wp-block-post-excerpt,
  .t365-editorial-card .wp-block-post-excerpt__excerpt,
  .t365-practice-card .wp-block-post-excerpt,
  .t365-practice-card .wp-block-post-excerpt__excerpt,
  .t365-health-card .wp-block-post-excerpt,
  .t365-health-card .wp-block-post-excerpt__excerpt,
  .t365-product-card .wp-block-post-excerpt,
  .t365-product-card .wp-block-post-excerpt__excerpt,
  .t365-latest-card .wp-block-post-excerpt,
  .t365-latest-card .wp-block-post-excerpt__excerpt {
    min-height: 0;
  }

  .t365-social-cta {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .t365-text-link {
    align-self: flex-start;
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .t365-social-cta {
    margin-bottom: 24px;
    padding: 21px;
    border-radius: 15px;
  }

  .t365-social-cta h2 {
    font-size: 25px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.t365-kadence-v2 *,
  body.t365-kadence-v2 *::before,
  body.t365-kadence-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
