.contacts-hero-stage.editorial-layout {
  box-sizing: border-box;
  inline-size: min(1920px, 100cqw);
  margin-inline: calc(50% - min(960px, 50cqw));
  padding-block: 0;
  background: transparent;
}

.contacts-editorial-hero h1 {
  margin: 0;
  padding: 0;
  color: inherit;
  text-align: start;
}

.contacts-editorial-hero .editorial-lead {
  margin-block-end: 0;
  text-align: start;
}

.contacts-editorial-hero .contacts-hero-note {
  max-width: 326px;
  margin: 9px 0 0;
  color: #494137;
  font-size: 14px;
  line-height: 1.5;
  text-align: start;
}

.contacts-editorial-hero .contacts-hero-facts {
  grid-template-columns: repeat(2, minmax(0, max-content));
}

.contacts-editorial-hero .editorial-secondary {
  color: var(--ink);
}

.contacts-editorial-hero .editorial-actions a:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 4px;
}

@media (min-width: 801px) and (min-height: 511px) {
  .contacts-editorial-hero { min-height: clamp(500px, 41vw, 740px); }
}

@media (max-width: 800px) and (orientation: portrait) {
  .contacts-editorial-hero .editorial-art { height: clamp(232px, 65vw, 368px); }
}

.contacts-hero-stage + :is(.contacts-catalog-stage, #zavesy-contacts) {
  margin-block-start: clamp(20px, 3vw, 48px);
  scroll-margin-block-start: calc(var(--tg-sticky-header-offset, 0px) + 16px);
}

.contacts-catalog-stage .editorial-industry__intro a {
  color: inherit;
  text-decoration: none;
}

.contacts-catalog-stage .editorial-industry__intro a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contacts use the homepage's sheet and tabs with the existing CF7 form. */
.contacts-editorial-section {
  font-family: "Segoe UI", system-ui, sans-serif;
}

.contacts-editorial-section .editorial-questions__lead { text-align: start; }
.contacts-editorial-section .editorial-questions__contacts a:any-link { text-decoration: none; }

.contacts-editorial-section .touch__cf7 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 24px);
}

.contacts-editorial-section .touch__cf7 > p {
  min-width: 0;
  margin: 0;
  text-align: start;
}

.contacts-editorial-section .touch__cf7 > :is(p:has(input[name="text-546"], .wpcf7-submit), .wpcf7-response-output) {
  grid-column: 1 / -1;
}

.contacts-editorial-section .touch__cf7 label {
  color: var(--questions-ink);
  font-size: 14px;
  font-weight: 600;
}

.contacts-editorial-section .touch__cf7 input::placeholder { color: var(--questions-muted); }

.contacts-editorial-section .touch__cf7 p:has(.wpcf7-acceptance) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.contacts-editorial-section .touch__cf7 p:has(.wpcf7-acceptance) > br { display: none; }
.contacts-editorial-section .touch__cf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }

.contacts-editorial-section .touch__cf7 :is(.wpcf7-acceptance, .wpcf7-acceptance label) {
  color: var(--questions-muted);
  font-size: 13px;
  font-weight: 400;
}

.contacts-editorial-section .touch__cf7 .wpcf7-acceptance a { color: inherit; text-decoration: underline; }
.contacts-editorial-section .touch__cf7 input[type="checkbox"] { accent-color: var(--questions-olive); }

.contacts-editorial-section .touch__cf7 p:has(.wpcf7-acceptance) > .wpcf7-form-control-wrap {
  order: -1;
  flex: 0 0 100%;
}

.contacts-editorial-section .editorial-quote input.wpcf7-submit {
  width: auto;
  min-height: 46px;
  padding: 8px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--questions-olive);
  color: #fffdf1;
  font-weight: 650;
  cursor: pointer;
}

.contacts-editorial-section .editorial-quote input.wpcf7-submit:disabled { opacity: .65; cursor: default; }

@media (max-width: 600px) {
  .contacts-editorial-section .editorial-questions__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts-editorial-section .touch__cf7 { grid-template-columns: minmax(0, 1fr); }
}
