/*
 * Homepage block patterns ("IT Media - Homepage" category, patterns/home-*.php).
 * Loaded on pages built from them (body.itm-home) and in the page block editor
 * (.editor-styles-wrapper), so both look the same. Product cards of the best
 * sellers section come from itm-base.css.
 *
 * Every section is a Group with .itm-home-section: full-bleed background,
 * content lined up with the header and footer container (1170 / 970 / 750 px).
 * Martfury is a classic theme, so on the front end WordPress wraps Group
 * content in .wp-block-group__inner-container; grid rules target that wrapper,
 * or the group itself in the editor, where there is none.
 */

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section {
  --itm-ink: #17140f;
  --itm-ink-2: #3d3832;
  --itm-muted: #5c554c;
  --itm-muted-2: #6b645b;
  --itm-muted-3: #8a8278;
  --itm-line: #ece7e0;
  --itm-line-hover: #cfc7bb;
  --itm-row-line: #f1ece5;
  --itm-input-border: #ddd6cc;
  --itm-paper: #faf8f5;
  --itm-soft: #f3efe9;
  --itm-white: #fff;
  --itm-on-dark: #faf8f5;
  --itm-on-dark-3: #c9c1b6;
  --itm-on-dark-4: #a89f93;
  --itm-dark-tile: #221e18;
  --itm-dark-line: #332d26;
  --itm-dark-line-2: #2c2720;
  --itm-dark-ghost: #4a443c;
  --itm-font: "Schibsted Grotesk", Arial, sans-serif;
  --itm-font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --itm-home-width: 1170px;
  --itm-home-gutter: 20px;

  box-sizing: border-box;
  margin: 0;
  padding: 96px max(var(--itm-home-gutter), calc((100% - var(--itm-home-width)) / 2));
  font-family: var(--itm-font);
  color: var(--itm-ink);
  -webkit-font-smoothing: antialiased;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section *,
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section *::before,
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section *::after {
  box-sizing: border-box;
}

/* Full-bleed sections: no Martfury container padding around the page content. */
body.itm-home #content > .martfury-container {
  width: auto; /* Martfury fixes it at 1650px on wide screens */
  max-width: none;
  padding: 0;
}

body.itm-home #content > .martfury-container > .row {
  margin: 0;
}

/* custom-style.css widens every .container on the old homepage (.home, 1370px
   from 1400px); keep the header and footer at the standard width so they line
   up with the sections. */
@media (min-width: 1200px) {
  body.itm-home .container {
    width: 1170px;
  }
}

/* Editor: full canvas width and no product-description rhythm between sections. */
.editor-styles-wrapper .is-root-container:has(> :is(.itm-home-section, .wp-block-block)) {
  max-width: none;
}

.editor-styles-wrapper .is-root-container > :is(.itm-home-section, .wp-block-block) {
  margin-top: 0;
}

/* Typography reset inside sections (Martfury sets heading and paragraph styles). */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section :is(h1, h2, h3, p) {
  margin: 0;
  padding: 0;
  font-family: var(--itm-font);
  text-transform: none;
  color: inherit;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section a {
  color: inherit;
  text-decoration: none;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section .wp-block-image {
  margin: 0;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section .wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section .wp-block-columns {
  margin: 0;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section .wp-block-column {
  min-width: 0;
  margin: 0;
}

/* Shared atoms */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section h2.itm-home-h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section h2.itm-home-h2--lg {
  font-size: 48px;
  line-height: 1.05;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section h3.itm-home-h3 {
  margin-bottom: 28px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section p.itm-home-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--itm-muted);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section p:is(.itm-home-eyebrow, .itm-home-num) {
  font-family: var(--itm-font-mono);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--itm-muted-3);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section p.itm-home-eyebrow {
  color: var(--itm-muted-2);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section p.itm-home-link {
  font-size: 16px;
  font-weight: 600;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section p.itm-home-link a:hover {
  text-decoration: underline;
}

/* [itm_price] output; custom-style.css paints every .amount black with !important. */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section .itm-price .woocommerce-Price-amount {
  font-weight: inherit;
  color: inherit !important;
}

/* Buttons: core Button blocks (.itm-btn--light / --ghost) and the
   [itm_add_to_cart] links (a.itm-btn--light / --dark). custom-style.css
   paints every .button with an orange gradient using !important. */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section :is(.wp-block-button .wp-block-button__link, a.itm-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px !important;
  font-family: var(--itm-font);
  font-size: 16px;
  font-weight: 600 !important;
  line-height: 1.25;
  text-transform: none;
  box-shadow: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section :is(.itm-btn--light .wp-block-button__link, a.itm-btn--light) {
  background: var(--itm-paper) !important;
  color: var(--itm-ink) !important;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section :is(.itm-btn--light .wp-block-button__link, a.itm-btn--light):hover {
  background: var(--itm-white) !important;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section .itm-btn--ghost .wp-block-button__link {
  border-color: var(--itm-dark-ghost);
  background: transparent !important;
  color: var(--itm-on-dark) !important;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section .itm-btn--ghost .wp-block-button__link:hover {
  border-color: var(--itm-on-dark);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section a.itm-btn--dark {
  background: var(--itm-ink) !important;
  color: var(--itm-white) !important;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section a.itm-btn--dark:hover {
  background: var(--itm-ink-2) !important;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section a.itm-btn.loading {
  opacity: 0.6;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section a.itm-btn::after {
  display: none;
}

/* "Vezi coșul" link that WooCommerce adds after an AJAX add to cart. */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section :is(.itm-tile__cart, .itm-plan__cart) a.added_to_cart {
  display: block;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: none !important;
  font-size: 14px;
  font-weight: 600 !important;
  line-height: 1.4;
  text-decoration: underline;
  color: inherit !important;
}

/* B1. Hero */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-hero {
  padding-top: 88px;
  padding-bottom: 72px;
  background: var(--itm-ink);
  color: var(--itm-on-dark);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-hero__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-hero__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero :is(.itm-hero__badge > .wp-block-group__inner-container, .itm-hero__badge:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  align-items: center;
  gap: 18px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-hero__badge-image {
  flex: none;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-hero__badge-image img {
  max-width: none;
  width: auto !important;
  height: 84px !important; /* the editor sets an inline height: auto */
  border-radius: 12px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero p.itm-hero__badge-text {
  max-width: 220px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--itm-on-dark-4);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero h1.itm-hero__title {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero p.itm-hero__lead {
  max-width: 560px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--itm-on-dark-3);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-hero__tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-hero__tiles > * {
  margin: 0;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile {
  position: relative;
  padding: 24px;
  border: 1px solid var(--itm-dark-line);
  border-radius: 20px;
  background: var(--itm-dark-tile);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero :is(.itm-tile > .wp-block-group__inner-container, .itm-tile:not(:has(> .wp-block-group__inner-container)), .itm-tile__text > .wp-block-group__inner-container, .itm-tile__text:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero p.itm-tile__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

/* The tile name link covers the whole tile (the add-to-cart button stays above it). */
body.itm-home .itm-hero p.itm-tile__name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile:hover {
  border-color: var(--itm-dark-ghost);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero p.itm-tile__desc {
  font-size: 14px;
  line-height: 1.4;
  color: var(--itm-on-dark-4);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero p.itm-tile__price {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero p.itm-tile__eyebrow {
  font-family: var(--itm-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--itm-on-dark-3);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile--wide {
  grid-column: span 2;
  padding: 28px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero :is(.itm-tile--wide > .wp-block-group__inner-container, .itm-tile--wide:not(:has(> .wp-block-group__inner-container))) {
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile__image {
  flex: none;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile__image img {
  width: 96px !important;
  height: 96px !important;
  border-radius: 22px;
  object-fit: cover;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile__text {
  flex: 1;
  min-width: 0;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile--wide p.itm-tile__name {
  font-size: 24px;
  font-weight: 700;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero :is(.itm-tile__buy > .wp-block-group__inner-container, .itm-tile__buy:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile--wide p.itm-tile__price {
  margin: 0;
  font-size: 28px;
  white-space: nowrap;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero p.itm-tile__cart {
  position: relative;
  z-index: 2;
  text-align: right;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile__cart a.itm-btn {
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}

/* B2. Trust bar */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-trust {
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--itm-dark-line-2);
  background: var(--itm-ink);
  color: var(--itm-on-dark-3);
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-trust > .wp-block-group__inner-container, .itm-trust:not(:has(> .wp-block-group__inner-container))) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-trust p {
  font-size: 15px;
  line-height: 1.4;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-trust p strong {
  font-weight: 600;
  color: var(--itm-on-dark);
}

/* B3. Categories */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-home-categories {
  padding-bottom: 40px;
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-home-head > .wp-block-group__inner-container, .itm-home-head:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-categories .itm-home-head {
  margin-bottom: 36px;
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-cat-cards > .wp-block-group__inner-container, .itm-cat-cards:not(:has(> .wp-block-group__inner-container))) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-cat-cards .itm-cat-card {
  position: relative;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--itm-line);
  border-radius: 24px;
  background: var(--itm-white);
  transition: border-color 0.15s;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-cat-cards .itm-cat-card:hover {
  border-color: var(--itm-line-hover);
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-cat-card > .wp-block-group__inner-container, .itm-cat-card:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  min-height: 214px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-cat-card h3.itm-cat-card__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* The heading link covers the whole card; chips stay clickable above it. */
body.itm-home .itm-cat-card h3.itm-cat-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-cat-card p.itm-cat-card__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--itm-muted-2);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-cat-card .itm-chips {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-chips > .wp-block-group__inner-container, .itm-chips:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-chips p.itm-chip {
  font-size: 14px;
  line-height: 1.4;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-chips p.itm-chip a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--itm-soft);
  transition: background-color 0.15s;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-chips p.itm-chip a:hover {
  background: var(--itm-line);
}

/* B4. Best sellers (cards: itm-base.css) */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-home-bestsellers {
  padding-top: 40px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-bestsellers .woocommerce {
  margin: 0;
}

/* B5. Competences */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-competences {
  border-top: 1px solid var(--itm-line);
  border-bottom: 1px solid var(--itm-line);
  background: var(--itm-white);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-competences .itm-competences__cols {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-competences .itm-competences__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-competences .itm-competences__badge {
  margin-top: 12px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-competences .itm-competences__badge img {
  width: 320px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-competences .itm-services {
  overflow: hidden;
  border: 1px solid var(--itm-line);
  border-radius: 24px;
  background: var(--itm-line);
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-services > .wp-block-group__inner-container, .itm-services:not(:has(> .wp-block-group__inner-container))) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-services .itm-service {
  margin: 0;
  padding: 32px;
  background: var(--itm-paper);
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-service > .wp-block-group__inner-container, .itm-service:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 146px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-service h3.itm-service__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-service p.itm-service__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--itm-muted);
}

/* B6. Plans */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-plans .itm-home-intro {
  max-width: 760px;
  margin-bottom: 40px;
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-home-intro > .wp-block-group__inner-container, .itm-home-intro:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-plans p.itm-home-lead {
  line-height: 1.5;
  color: var(--itm-muted-2);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-plans .itm-plans {
  overflow: hidden;
  border: 1px solid var(--itm-line);
  border-radius: 24px;
  background: var(--itm-white);
}

/* Header row (Columns) and the Table share the 1.4 / 1 / 1 / 1 grid. */
:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--itm-line);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__head > .itm-plan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 32px;
  border-left: 1px solid var(--itm-line);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__head > .itm-plan--label {
  border-left: 0;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__head > .itm-plan:nth-child(3) {
  background: var(--itm-soft);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans p.itm-plan__tag {
  min-height: 16px;
  font-family: var(--itm-font-mono);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: var(--itm-muted-3);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans p.itm-plan__name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans p.itm-plan__price {
  margin-top: 4px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans p.itm-plan__per {
  font-size: 13px;
  line-height: 1.4;
  color: var(--itm-muted-3);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans p.itm-plan__cart {
  margin-top: auto;
  padding-top: 14px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plan__cart a.itm-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__table {
  margin: 0;
  overflow: visible;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__table table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__table td {
  width: 22.727%;
  padding: 18px 32px;
  border: 0;
  border-bottom: 1px solid var(--itm-row-line);
  border-left: 1px solid var(--itm-line);
  background: none;
  font-family: var(--itm-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  vertical-align: top;
  color: var(--itm-ink);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__table td:first-child {
  width: 31.818%;
  border-left: 0;
  font-weight: 400;
  color: var(--itm-ink-2);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__table td:nth-child(3) {
  background: var(--itm-soft);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__table tr:last-child td {
  border-bottom: 0;
}

/* B7. Quote */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-home-quote {
  padding-top: 0;
  scroll-margin-top: 24px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-quote .itm-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  padding: 64px;
  border-radius: 32px;
  background: var(--itm-ink);
  color: var(--itm-on-dark);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-quote .itm-quote__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-quote p.itm-home-lead {
  color: var(--itm-on-dark-3);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-quote p.itm-quote__contact {
  margin-top: auto;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-quote p.itm-quote__contact a:hover {
  text-decoration: underline;
}

/* Contact Form 7 forms "Cere ofertă" and "Contact" (B9) */
:is(body.itm-home, .editor-styles-wrapper) .itm-quote .itm-quote__form {
  padding: 32px;
  border-radius: 24px;
  background: var(--itm-white);
  color: var(--itm-ink);
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 form > p,
body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 form .itm-form-row {
  margin: 0;
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--itm-ink);
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 br {
  display: none;
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 :is(input[type="text"], input[type="email"], input[type="number"], select, textarea) {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--itm-input-border);
  border-radius: 12px;
  background: var(--itm-paper);
  box-shadow: none;
  font-family: var(--itm-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--itm-ink);
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 :is(input[type="text"], input[type="email"], input[type="number"], select, textarea):focus {
  border-color: var(--itm-ink);
  outline: 2px solid var(--itm-ink);
  outline-offset: 0;
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 .wpcf7-acceptance label {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--itm-muted);
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 .wpcf7-acceptance input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--itm-ink);
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 .wpcf7-acceptance a {
  text-decoration: underline;
  color: var(--itm-ink);
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 input[type="submit"] {
  width: 100%;
  height: auto;
  margin: 8px 0 0;
  padding: 16px;
  border: 0;
  border-radius: 999px !important;
  background: var(--itm-ink) !important;
  font-family: var(--itm-font);
  font-size: 16px;
  font-weight: 600 !important;
  line-height: 1.25;
  text-transform: none;
  color: var(--itm-white) !important;
  cursor: pointer;
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 input[type="submit"]:hover {
  background: var(--itm-ink-2) !important;
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 .wpcf7-spinner {
  margin: 8px auto 0;
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: #a1260f;
}

body.itm-home :is(.itm-quote, .itm-contact) .wpcf7 form .wpcf7-response-output {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--itm-ink);
}

body.itm-home .itm-contact .wpcf7 textarea.wpcf7-textarea {
  height: 168px;
  min-height: 120px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

/* Martfury gives selects a 50px line height, custom-style.css a 10px padding
   with !important; both clip the text. */
body.itm-home .itm-contact .wpcf7 select.wpcf7-select {
  padding: 0 40px 0 14px !important;
  line-height: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2317140f' stroke-width='1.6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* Two fields side by side (div.itm-form-row--2 in the form markup); CF7
   wraps both labels in one paragraph, which must not be the grid item. */
body.itm-home .itm-contact .wpcf7 .itm-form-row--2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

body.itm-home .itm-contact .wpcf7 .itm-form-row--2 > p {
  display: contents;
}

/* Editor: shortcodes are not rendered there, so show them as small code that
   does not push the layout apart. */
.editor-styles-wrapper .itm-home-section :is(p.itm-tile__price, p.itm-tile__cart, p.itm-plan__price, p.itm-plan__cart, .wp-block-shortcode) {
  font-family: var(--itm-font-mono);
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

.editor-styles-wrapper .itm-hero .itm-tile__buy {
  flex: 0 1 40%;
}

/* B8. "Despre noi" (patterns/about-*.php) */
:is(body.itm-home, .editor-styles-wrapper) .itm-about-hero p.itm-home-eyebrow {
  color: var(--itm-on-dark-4);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-hero .itm-about-card {
  padding: 32px;
  border: 1px solid var(--itm-dark-line);
  border-radius: 24px;
  background: var(--itm-dark-tile);
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-about-card > .wp-block-group__inner-container, .itm-about-card:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-card .itm-about-card__badge {
  margin: 0;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-card .itm-about-card__badge img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 14px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-card p.itm-about-card__lead {
  font-size: 17px;
  line-height: 1.5;
  color: var(--itm-on-dark-3);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-card p.itm-about-card__award {
  padding-top: 18px;
  border-top: 1px solid var(--itm-dark-line);
  font-family: var(--itm-font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--itm-on-dark);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-about-intro {
  background: var(--itm-paper);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-intro .itm-about-intro__cols {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-intro .wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-platinum .itm-competences__services {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-services--compact :is(.itm-service > .wp-block-group__inner-container, .itm-service:not(:has(> .wp-block-group__inner-container))) {
  gap: 8px;
  min-height: 0;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-services.itm-services--compact .itm-service {
  padding: 24px 28px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-about-reasons {
  background: var(--itm-paper);
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-about-reasons > .wp-block-group__inner-container, .itm-about-reasons:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-reasons .itm-services--reasons {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--itm-line);
  border-radius: 24px;
  background: var(--itm-line);
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-services--reasons > .wp-block-group__inner-container, .itm-services--reasons:not(:has(> .wp-block-group__inner-container))) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

:is(body.itm-home, .editor-styles-wrapper) .itm-services--reasons .itm-service {
  background: var(--itm-white);
}

/* Five cards on three columns: the last one spans the two free cells. */
:is(body.itm-home, .editor-styles-wrapper) .itm-services--reasons .itm-service:nth-child(5):last-child {
  grid-column: span 2;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-numbers {
  padding-top: 56px;
  padding-bottom: 56px;
  background: var(--itm-ink);
  color: var(--itm-on-dark);
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-numbers > .wp-block-group__inner-container, .itm-numbers:not(:has(> .wp-block-group__inner-container))) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-numbers .itm-number {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--itm-dark-line);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-numbers p.itm-number__value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--itm-on-dark);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-numbers p.itm-number__label {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--itm-on-dark-3);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-about-company {
  padding-top: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--itm-line);
  background: var(--itm-white);
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-about-company > .wp-block-group__inner-container, .itm-about-company:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-company p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--itm-muted);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-company p.itm-home-eyebrow {
  margin-bottom: 8px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-about-company p.itm-about-company__name {
  font-weight: 600;
  color: var(--itm-ink);
}

/* B9. "Contact" (patterns/contact-*.php) */
:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-contact-hero {
  padding-top: 80px;
  padding-bottom: 72px;
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-contact-hero > .wp-block-group__inner-container, .itm-contact-hero:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 820px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact-hero p.itm-home-eyebrow {
  color: var(--itm-on-dark-4);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact-hero p.itm-hero__lead {
  max-width: 640px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-contact {
  background: var(--itm-paper);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact .itm-contact__cols {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact .itm-contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact .itm-contact__items {
  margin-top: 16px;
  border-top: 1px solid var(--itm-line);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact .itm-contact__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--itm-line);
}

:is(body.itm-home, .editor-styles-wrapper) :is(.itm-contact__item > .wp-block-group__inner-container, .itm-contact__item:not(:has(> .wp-block-group__inner-container))) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact p.itm-contact__label {
  font-family: var(--itm-font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--itm-muted-2);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact p.itm-contact__value {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact p.itm-contact__value a:hover {
  text-decoration: underline;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact p.itm-contact__company {
  font-size: 16px;
  line-height: 1.6;
  color: var(--itm-muted);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact p.itm-contact__company strong {
  font-weight: 600;
  color: var(--itm-ink);
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact .itm-contact__form {
  padding: 40px;
  border: 1px solid var(--itm-line);
  border-radius: 24px;
  background: var(--itm-white);
  scroll-margin-top: 24px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact h3.itm-home-h3 {
  margin-bottom: 8px;
}

:is(body.itm-home, .editor-styles-wrapper) .itm-contact p.itm-contact__form-lead {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--itm-muted);
}

/* Responsive */
@media (max-width: 1199px) {
  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section {
    --itm-home-width: 970px;
  }
}

@media (max-width: 1100px) {
  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-trust {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-home-categories {
    padding-bottom: 32px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-home-bestsellers {
    padding-top: 32px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-home-quote {
    padding-top: 0;
  }

  :is(body.itm-home, .editor-styles-wrapper) :is(.itm-hero .itm-hero__cols, .itm-competences .itm-competences__cols, .itm-home-quote .itm-quote, .itm-about-intro .itm-about-intro__cols, .itm-contact .itm-contact__cols) {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  :is(body.itm-home, .editor-styles-wrapper) :is(.itm-services--reasons > .wp-block-group__inner-container, .itm-services--reasons:not(:has(> .wp-block-group__inner-container))) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-services--reasons .itm-service:nth-child(5):last-child {
    grid-column: span 2;
  }

  :is(body.itm-home, .editor-styles-wrapper) :is(.itm-numbers > .wp-block-group__inner-container, .itm-numbers:not(:has(> .wp-block-group__inner-container))) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-hero h1.itm-hero__title {
    font-size: 52px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section :is(h2.itm-home-h2, h2.itm-home-h2--lg) {
    font-size: 36px;
  }

  :is(body.itm-home, .editor-styles-wrapper) :is(.itm-trust > .wp-block-group__inner-container, .itm-trust:not(:has(> .wp-block-group__inner-container))) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }

  :is(body.itm-home, .editor-styles-wrapper) :is(.itm-cat-cards > .wp-block-group__inner-container, .itm-cat-cards:not(:has(> .wp-block-group__inner-container))) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-cat-cards .itm-cat-card:last-child {
    grid-column: span 2;
  }
}

/* Eight best sellers: 4 x 2 on desktop, 2 x 4 from 1100px (the catalog grid uses
   3 columns down to 992px; below that its own 2 and 1 column rules apply). */
@media (min-width: 992px) and (max-width: 1100px) {
  body.itm-home .itm-home-bestsellers ul.products:not(.slick-slider) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section {
    --itm-home-width: 750px;
  }
}

@media (max-width: 767px) {
  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section {
    --itm-home-width: 100%;
  }
}

@media (max-width: 760px) {
  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-hero h1.itm-hero__title {
    font-size: 40px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section :is(h2.itm-home-h2, h2.itm-home-h2--lg) {
    font-size: 30px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-hero__tiles,
  :is(body.itm-home, .editor-styles-wrapper) :is(.itm-trust > .wp-block-group__inner-container, .itm-trust:not(:has(> .wp-block-group__inner-container))),
  :is(body.itm-home, .editor-styles-wrapper) :is(.itm-cat-cards > .wp-block-group__inner-container, .itm-cat-cards:not(:has(> .wp-block-group__inner-container))),
  :is(body.itm-home, .editor-styles-wrapper) :is(.itm-services > .wp-block-group__inner-container, .itm-services:not(:has(> .wp-block-group__inner-container))) {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-cat-cards .itm-cat-card:last-child,
  :is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile--wide,
  :is(body.itm-home, .editor-styles-wrapper) .itm-services--reasons .itm-service:nth-child(5):last-child {
    grid-column: auto;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-numbers p.itm-number__value {
    font-size: 36px;
  }

  /* The six specializations stay two by two: short names. */
  :is(body.itm-home, .editor-styles-wrapper) :is(.itm-services--compact > .wp-block-group__inner-container, .itm-services--compact:not(:has(> .wp-block-group__inner-container))) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-services.itm-services--compact .itm-service {
    padding: 20px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-hero :is(.itm-tile--wide > .wp-block-group__inner-container, .itm-tile--wide:not(:has(> .wp-block-group__inner-container))) {
    flex-wrap: wrap;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-hero :is(.itm-tile__buy > .wp-block-group__inner-container, .itm-tile__buy:not(:has(> .wp-block-group__inner-container))) {
    align-items: flex-start;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-hero .itm-tile__buy {
    flex-basis: 100%;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-hero p.itm-tile__cart {
    text-align: left;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section .wp-block-buttons,
  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section .wp-block-buttons .wp-block-button,
  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section .wp-block-buttons .wp-block-button__link {
    width: 100%;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-plans .itm-plans {
    overflow-x: auto;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-plans :is(.itm-plans__head, .itm-plans__table) {
    min-width: 760px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__head > .itm-plan {
    padding: 24px 20px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-plans .itm-plans__table td {
    padding: 16px 20px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-plans p.itm-plan__price {
    font-size: 24px;
    white-space: nowrap;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-quote .itm-quote {
    padding: 32px;
    border-radius: 24px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-quote .itm-quote__form {
    padding: 24px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-home-section.itm-contact-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  :is(body.itm-home, .editor-styles-wrapper) .itm-contact .itm-contact__form {
    padding: 24px;
  }

  body.itm-home .itm-contact .wpcf7 .itm-form-row--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
