/* Fixes for the static copy of fedorenko.info */
img[data-missing] { visibility: hidden; }
.grecaptcha-badge { display: none !important; }
.wpcf7-response-output, .wpcf7-spinner { display: none !important; }
.fd-notice { margin-top: 12px; font-size: 15px; line-height: 1.4; text-align: center; }

/* Mobile first screen of the homepage (see mobile-hero.js) */
.fd-mhero { display: none; }
@media (max-width: 1000px) {
  .fd-mhero { display: block; padding: 24px 16px 8px; text-align: center; }
  .fd-mhero h1 { font-family: "Montserrat Bold", Montserrat, sans-serif; font-size: 28px; line-height: 1.25;
                 color: #4a9f97; margin: 0 0 20px; font-weight: 700; }
  .fd-mhero img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto 20px; }
  .fd-mhero-btn { display: inline-block; padding: 16px 40px; border: 2px solid #4dc3b7; border-radius: 12px;
                  color: #2f7f77; font: 600 18px "Montserrat Medium", Montserrat, sans-serif; text-transform: uppercase;
                  text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
  .section-zero.css19 { display: none !important; }
}

/* Mobile header: the theme squeezes the logo column to zero width; put the logo on its own row */
@media (max-width: 1000px) {
  .css2 .gridwrap.flexmobile { flex-wrap: wrap !important; }
  .css2 .gridwrap.flexmobile > .col:has(a.newlogo) { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important;
    display: flex !important; justify-content: center !important; padding: 4px 0 !important; height: auto !important; }
  a.newlogo { display: block !important; height: auto !important; }
  a.newlogo img { display: block !important; height: 46px !important; width: auto !important; max-width: none !important; }
  body { padding-top: 154px !important; }
}

/* Grid columns: the builder's vendors.css (never archived) made .gridwrap a flex row.
   Without it the header logo and contacts stacked instead of sitting side by side. */
@media (min-width: 1001px) {
  .widget-grid > .grid > .gridwrap { display: flex !important; flex-wrap: wrap; }
  .widget-grid > .grid.valign-middle > .gridwrap { align-items: center; }
  .widget-grid > .grid > .gridwrap > .col { flex: 0 0 auto; }
}

/* Team "Записаться" buttons filled the whole column and touched each other (the builder's column gutters were lost) */
.widget-grid .grid > .gridwrap > .col .order,
.widget-grid .grid > .gridwrap > .col .order_stop { margin-left: 10px !important; margin-right: 10px !important; }
@media (max-width: 1000px) {
  .widget-grid .grid > .gridwrap > .col .order,
  .widget-grid .grid > .gridwrap > .col .order_stop { margin-left: 6px !important; margin-right: 6px !important; }
}

/* Header/footer contacts: longer street name (Баки Урманче) — keep lines intact */
.button-wrapper .btn.css6 { white-space: nowrap; }
@media (min-width: 1001px) { .header-adress { white-space: nowrap; } }
