﻿/* font.html — футер, «Краснодар»/«Донецк», «ОСТАВИТЬ ЗАЯВКУ» 1:1 как index.html (index-blocks-modern.css) */

html body.page-font {
  --index-font-logo: 1.08rem;
  --index-font-hero-lead: var(--index-font-logo);
  --index-font-block-title: var(--index-font-hero-lead);
  --index-card-title-font: clamp(0.88rem, 1.55vw, 1.06rem);
  --index-card-body-font: clamp(0.88rem, 1.35vw, 0.96rem);
  --index-modal-field-label-font: 0.8125rem;
  --index-modal-field-value-font: 0.875rem;
  --contract-legal-font-size: 16px;
  --contract-legal-line-height: 1.45;
  --target-modal-legal-link-blue: var(--blue-dark, #4f8df0);
  --target-modal-legal-link-blue-hover: #2f70d7;
  --target-modal-legal-link-size: var(--contract-legal-font-size, 16px);
  --target-modal-legal-link-line-height: var(--contract-legal-line-height, 1.45);
}

/* Футер — 1:1 index.html (index-blocks-modern.css) */
html body.page-font .site-footer {
  margin-top: 0 !important;
  padding-top: 6mm !important;
  padding-bottom: 3mm !important;
}

html body.page-font .site-footer .footer-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

html body.page-font .site-footer .footer-col li:last-child {
  margin-bottom: 0 !important;
}

html body.page-font .site-footer .footer-bottom {
  margin-top: 3mm !important;
  padding-top: 3mm !important;
  justify-content: center !important;
  text-align: center !important;
}

html body.page-font .site-footer .footer-bottom > div:first-child {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
}

html body.page-font .site-footer .footer-col h3,
html body.page-font .site-footer .footer-col--offices h3,
html body.page-font .site-footer .footer-col--contacts-placdarm h3,
html body.page-font .site-footer .footer-col--legal-info h3,
html body.page-font .site-footer .footer-col--info h3 {
  margin-top: 0 !important;
  font-family: var(--m-font) !important;
  font-size: clamp(0.76rem, 1.76vw, 0.92rem) !important;
  font-weight: 800 !important;
  font-style: normal !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  white-space: normal !important;
  background: var(--site-footer-heading-white-gradient, linear-gradient(135deg, #ffffff 0%, #eef4f7 38%, #c8dce4 72%, #ffffff 100%)) !important;
  background-image: var(--site-footer-heading-white-gradient, linear-gradient(135deg, #ffffff 0%, #eef4f7 38%, #c8dce4 72%, #ffffff 100%)) !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 981px) {
  html body.page-font .site-footer .footer-col h3,
  html body.page-font .site-footer .footer-col--contacts-placdarm h3,
  html body.page-font .site-footer .footer-col--legal-info h3,
  html body.page-font .site-footer .footer-col--info h3 {
    font-size: clamp(0.76rem, 1.76vw, 0.92rem) !important;
    font-weight: 800 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    white-space: normal !important;
  }
}

html body.page-font .site-footer .footer-col li,
html body.page-font .site-footer .footer-col a,
html body.page-font .site-footer .footer-col .office-city-btn,
html body.page-font .site-footer .footer-col--contacts-placdarm li,
html body.page-font .site-footer .footer-col--contacts-placdarm a,
html body.page-font .site-footer .footer-privacy-link,
html body.page-font .site-footer .footer-bottom,
html body.page-font .site-footer .footer-bottom div {
  font-size: clamp(0.704rem, 1.08vw, 0.768rem) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}


/* ── Модалки офисов: диалог как на index ── */
html body.page-font #officeMapModal.active .social-legal-modal-dialog,
html body.page-font #officeFeedbackModal.active .social-legal-modal-dialog,
html body.page-font #fundPlMaterialModal.active .social-legal-modal-dialog {
  border-radius: var(--m-modal-radius, 24px) !important;
  box-shadow: var(--m-modal-shadow, 0 28px 80px rgba(10, 18, 25, 0.22), 0 8px 24px rgba(20, 56, 68, 0.12)) !important;
}

/* ── Краснодар / Донецк (#officeMapModal) ── */
html body.page-font #officeMapModal#officeMapModal .social-legal-form-subtitle,
html body.page-font #officeMapModal#officeMapModal #officeMapModalSubtitle {
  font-size: var(--index-modal-field-label-font, 0.8125rem) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  color: var(--text-main, #111111) !important;
}

html body.page-font #officeMapModal#officeMapModal .office-contacts-block h3,
html body.page-font #officeMapModal#officeMapModal .office-contacts-block li strong {
  font-size: var(--index-modal-field-label-font, 0.8125rem) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  color: var(--text-main, #111111) !important;
}

html body.page-font #officeMapModal#officeMapModal .office-contacts-block :is(.office-addr, li) {
  font-size: var(--index-modal-field-value-font, 0.875rem) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: var(--text-main, #111111) !important;
}

html body.page-font #officeMapModal#officeMapModal .office-contacts-block a,
html body.page-font #officeMapModal#officeMapModal .office-contacts-block a:visited {
  color: var(--target-modal-legal-link-blue, var(--blue-dark, #4f8df0)) !important;
  -webkit-text-fill-color: var(--target-modal-legal-link-blue, var(--blue-dark, #4f8df0)) !important;
  font-size: var(--index-modal-field-value-font, 0.875rem) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  text-decoration: none !important;
  text-underline-offset: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html body.page-font #officeMapModal#officeMapModal .office-contacts-block a:hover,
html body.page-font #officeMapModal#officeMapModal .office-contacts-block a:focus,
html body.page-font #officeMapModal#officeMapModal .office-contacts-block a:focus-visible,
html body.page-font #officeMapModal#officeMapModal .office-contacts-block a:active {
  color: var(--target-modal-legal-link-blue-hover, #2f70d7) !important;
  -webkit-text-fill-color: var(--target-modal-legal-link-blue-hover, #2f70d7) !important;
  text-decoration: none !important;
  text-underline-offset: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html body.page-font #officeMapModal#officeMapModal .social-legal-modal-header h2 {
  font-size: var(--index-font-block-title, 1.08rem) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
}

/* Модалка «Краснодар» — ширина как у капсулы шапки */
html body.page-font #officeMapModal#officeMapModal.social-legal-modal.active {
  padding-left: var(--index-header-capsule-gutter, clamp(12px, 2vw, 20px)) !important;
  padding-right: var(--index-header-capsule-gutter, clamp(12px, 2vw, 20px)) !important;
}

html body.page-font #officeMapModal#officeMapModal.active .social-legal-modal-dialog {
  width: var(--index-header-capsule-width, min(var(--m-content-w, 1220px), calc(100vw - (clamp(12px, 2vw, 20px) * 2)))) !important;
  max-width: var(--index-header-capsule-width, min(var(--m-content-w, 1220px), calc(100vw - (clamp(12px, 2vw, 20px) * 2)))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
}

/* Модалка «Краснодар» — шапка и подвал по 1.5 см */
html body.page-font #officeMapModal#officeMapModal .social-legal-modal-header {
  height: 1.5cm !important;
  min-height: 1.5cm !important;
  max-height: 1.5cm !important;
  flex: 0 0 1.5cm !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 22px !important;
  padding-right: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html body.page-font #officeMapModal#officeMapModal .social-legal-modal-header h2 {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

html body.page-font #officeMapModal#officeMapModal .social-legal-modal-header .social-legal-form-subtitle {
  display: none !important;
  margin: 0 !important;
}

html body.page-font #officeMapModal#officeMapModal .social-legal-modal-footer {
  height: 1.5cm !important;
  min-height: 1.5cm !important;
  max-height: 1.5cm !important;
  flex: 0 0 1.5cm !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  align-content: center !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: #ffffff !important;
  border-top: 1px solid #e7edf5 !important;
  box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.04) !important;
  z-index: 5 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html body.page-font #officeMapModal#officeMapModal .social-legal-modal-footer > .social-legal-submit-btn {
  margin: 0 !important;
  min-height: 0 !important;
  max-height: calc(1.5cm - 4px) !important;
  height: calc(1.5cm - 4px) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

html body.page-font #officeMapModal#officeMapModal #officeFeedbackBtn.social-legal-submit-btn {
  flex: 0 0 var(--site-btn-len, 6.4cm) !important;
  width: var(--site-btn-len, 6.4cm) !important;
  min-width: var(--site-btn-len, 6.4cm) !important;
  max-width: var(--site-btn-len, 6.4cm) !important;
  inline-size: var(--site-btn-len, 6.4cm) !important;
  height: var(--site-btn-h, 1.3cm) !important;
  min-height: var(--site-btn-h, 1.3cm) !important;
  max-height: var(--site-btn-h, 1.3cm) !important;
  block-size: var(--site-btn-h, 1.3cm) !important;
  margin: 0 !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  html body.page-font #officeMapModal#officeMapModal .social-legal-modal-header {
    padding-left: 22px !important;
    padding-right: 54px !important;
  }

  html body.page-font #officeMapModal#officeMapModal .social-legal-modal-footer {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  html body.page-font #officeMapModal#officeMapModal #officeFeedbackBtn.social-legal-submit-btn {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    inline-size: 100% !important;
  }
}

/* ── ОСТАВИТЬ ЗАЯВКУ (#officeFeedbackModal) ── */
html body.page-font #officeFeedbackModal .oai-font-feedback-select-wrap {
  display: none !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-modal-body,
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-form-group,
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-form-group label:not(.social-legal-consent-label),
html body.page-font #officeFeedbackModal#officeFeedbackModal .index-modal-select-host,
html body.page-font #officeFeedbackModal#officeFeedbackModal .index-modal-select {
  text-align: left !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-form-group label:not(.social-legal-consent-label) {
  display: block !important;
  margin-bottom: 8px !important;
  color: var(--text-main, #111111) !important;
  font-size: var(--index-modal-field-label-font, 0.8125rem) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-form-group input:not([type="checkbox"]):not([type="radio"]),
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-form-group textarea,
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-form-group select,
html body.page-font #officeFeedbackFio,
html body.page-font #officeFeedbackPhone,
html body.page-font #officeFeedbackMessage,
html body.page-font #officeFeedbackQuestion {
  width: 100% !important;
  padding: 13px 14px !important;
  background: #ffffff !important;
  border: 1px solid #d8dce2 !important;
  color: #111111 !important;
  border-radius: 12px !important;
  font-size: var(--index-modal-field-value-font, 0.875rem) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  outline: none !important;
  transition: 0.2s ease !important;
  box-sizing: border-box !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-form-group textarea,
html body.page-font #officeFeedbackMessage {
  min-height: 170px !important;
  resize: vertical !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-form-group input:not([type="checkbox"]):not([type="radio"])::placeholder,
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-form-group textarea::placeholder,
html body.page-font #officeFeedbackFio::placeholder,
html body.page-font #officeFeedbackPhone::placeholder,
html body.page-font #officeFeedbackMessage::placeholder {
  color: #111111 !important;
  opacity: 0.55 !important;
  font-size: var(--index-modal-field-value-font, 0.875rem) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

html body.page-font #officeFeedbackQuestion,
html body.page-font #officeFeedbackQuestion option,
html body.page-font .index-modal-select-dropdown[data-for-select="officeFeedbackQuestion"],
html body.page-font .index-modal-select-dropdown[data-for-select="officeFeedbackQuestion"] :is(.index-modal-select-option, button.index-modal-select-option) {
  text-align: left !important;
  text-align-last: left !important;
  direction: ltr !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal :is(.index-modal-select-trigger, button.index-modal-select-trigger) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 52px !important;
  max-height: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 13px 44px 13px 14px !important;
  white-space: normal !important;
  line-height: 1.55 !important;
  font-size: var(--index-modal-field-value-font, 0.875rem) !important;
  font-weight: 400 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal :is(.index-modal-select-trigger.is-placeholder, button.index-modal-select-trigger.is-placeholder) {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  opacity: 0.55 !important;
}

html body.page-font .index-modal-select-dropdown[data-for-select="officeFeedbackQuestion"] {
  align-items: stretch !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

html body.page-font .index-modal-select-dropdown[data-for-select="officeFeedbackQuestion"] :is(.index-modal-select-option, button.index-modal-select-option) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: block !important;
  text-align: left !important;
  text-align-last: left !important;
  padding: 12px 14px !important;
  font-size: var(--index-modal-field-value-font, 0.875rem) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  white-space: normal !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-consent-label,
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-consent-label span,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-consent-label,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-consent-label span,
html body.page-font #fundPlFinancialModal#fundPlFinancialModal .social-legal-consent-label,
html body.page-font #fundPlFinancialModal#fundPlFinancialModal .social-legal-consent-label span {
  font-size: var(--index-modal-field-label-font, 0.8125rem) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: var(--text-main, #111111) !important;
  -webkit-text-fill-color: var(--text-main, #111111) !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-consent-label span {
  position: relative;
  top: 0.5mm;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-consent-label span,
html body.page-font #fundPlFinancialModal#fundPlFinancialModal .social-legal-consent-label span {
  position: relative;
  top: -1mm;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-consent-label a,
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-consent-label a:visited,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-consent-label a,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-consent-label a:visited,
html body.page-font #fundPlFinancialModal#fundPlFinancialModal .social-legal-consent-label a,
html body.page-font #fundPlFinancialModal#fundPlFinancialModal .social-legal-consent-label a:visited {
  color: var(--target-modal-legal-link-blue) !important;
  -webkit-text-fill-color: var(--target-modal-legal-link-blue) !important;
  font-size: var(--index-modal-field-label-font, 0.8125rem) !important;
  line-height: 1.55 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-underline-offset: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  outline-offset: 3px !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-consent-label a:hover,
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-consent-label a:focus,
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-consent-label a:focus-visible,
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-consent-label a:active,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-consent-label a:hover,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-consent-label a:focus,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-consent-label a:focus-visible,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-consent-label a:active,
html body.page-font #fundPlFinancialModal#fundPlFinancialModal .social-legal-consent-label a:hover,
html body.page-font #fundPlFinancialModal#fundPlFinancialModal .social-legal-consent-label a:focus,
html body.page-font #fundPlFinancialModal#fundPlFinancialModal .social-legal-consent-label a:focus-visible,
html body.page-font #fundPlFinancialModal#fundPlFinancialModal .social-legal-consent-label a:active {
  color: var(--target-modal-legal-link-blue-hover) !important;
  -webkit-text-fill-color: var(--target-modal-legal-link-blue-hover) !important;
  font-size: var(--index-modal-field-label-font, 0.8125rem) !important;
  line-height: 1.55 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-underline-offset: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-modal-header h2,
html body.page-font #feedbackReviewModal#feedbackReviewModal .social-legal-modal-header h2 {
  font-size: var(--index-font-block-title, 1.08rem) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
}

@media (min-width: 769px) {
  html body.page-font #officeMapModal .social-legal-modal-body {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }

  html body.page-font #officeMapModal .office-map-modal-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
  }

  html body.page-font #officeMapModal .office-map-frame {
    position: relative !important;
    top: auto !important;
    align-self: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  html body.page-font #officeMapModal .office-map-frame iframe,
  html body.page-font #officeMapModal #officeMapIframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    border: 0 !important;
    display: block !important;
  }

  html body.page-font #officeMapModal .office-map-contacts-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
  }

  html body.page-font #officeMapModal .office-contacts {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 768px) {
  html body.page-font #officeFeedbackModal#officeFeedbackModal :is(.index-modal-select-trigger, button.index-modal-select-trigger) {
    min-height: 48px !important;
    padding: 11px 38px 11px 13px !important;
  }
}

/* ── ГУМАНИТАРНАЯ ПОМОЩЬ (#fundPlMaterialModal) — как ОСТАВИТЬ ЗАЯВКУ ── */
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-body,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-form-group,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-form-group label:not(.social-legal-consent-label) {
  text-align: left !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-form-group label:not(.social-legal-consent-label) {
  display: block !important;
  margin-bottom: 8px !important;
  color: var(--text-main, #111111) !important;
  font-size: var(--index-modal-field-label-font, 0.8125rem) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-form-group input:not([type="checkbox"]):not([type="radio"]),
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-form-group textarea,
html body.page-font #fundPlDonorName,
html body.page-font #fundPlPhone,
html body.page-font #fundPlOrganization,
html body.page-font #fundPlPurpose,
html body.page-font #fundPlItems {
  width: 100% !important;
  padding: 13px 14px !important;
  background: #ffffff !important;
  border: 1px solid #d8dce2 !important;
  color: #111111 !important;
  border-radius: 12px !important;
  font-size: var(--index-modal-field-value-font, 0.875rem) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  outline: none !important;
  transition: 0.2s ease !important;
  box-sizing: border-box !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-form-group textarea,
html body.page-font #fundPlItems {
  min-height: 170px !important;
  resize: vertical !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-form-group input:not([type="checkbox"]):not([type="radio"])::placeholder,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-form-group textarea::placeholder,
html body.page-font #fundPlDonorName::placeholder,
html body.page-font #fundPlPhone::placeholder,
html body.page-font #fundPlOrganization::placeholder,
html body.page-font #fundPlPurpose::placeholder,
html body.page-font #fundPlItems::placeholder {
  color: #111111 !important;
  opacity: 0.55 !important;
  font-size: var(--index-modal-field-value-font, 0.875rem) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-header {
  position: relative !important;
  height: 1.5cm !important;
  min-height: 1.5cm !important;
  max-height: 1.5cm !important;
  flex: 0 0 1.5cm !important;
  flex-shrink: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 22px !important;
  padding-right: 54px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  background-image: none !important;
  border-bottom: 1px solid #e7edf5 !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04) !important;
  z-index: 3 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-header h2,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal #fundPlMaterialModalTitle {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: var(--index-font-block-title, 1.08rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  color: var(--text-main, #111111) !important;
  -webkit-text-fill-color: var(--text-main, #111111) !important;
  text-transform: none !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-close {
  top: 5px !important;
  right: 12px !important;
  z-index: 120 !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 32px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: var(--text-main, #111111) !important;
  -webkit-text-fill-color: var(--text-main, #111111) !important;
  transform: none !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-close:hover,
html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-close:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
  color: var(--blue-dark, #4f8df0) !important;
  -webkit-text-fill-color: var(--blue-dark, #4f8df0) !important;
  transform: none !important;
}

@media (max-width: 768px) {
  html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-header {
    padding-left: 22px !important;
    padding-right: 54px !important;
  }

  html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-header h2,
  html body.page-font #fundPlMaterialModal#fundPlMaterialModal #fundPlMaterialModalTitle {
    font-size: var(--index-font-block-title, 1.08rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-close {
    top: 5px !important;
    right: 8px !important;
  }
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-footer {
  height: 1.5cm !important;
  min-height: 1.5cm !important;
  max-height: 1.5cm !important;
  flex: 0 0 1.5cm !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 0 !important;
  width: 100% !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
  background: #ffffff !important;
  border-top: 1px solid #e7edf5 !important;
  box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-footer > .social-legal-submit-btn {
  margin: 0 !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal #fundPlMaterialForm {
  position: relative !important;
}

/* Модалка «ГУМАНИТАРНАЯ ПОМОЩЬ» — ширина как у капсулы шапки */
html body.page-font #fundPlMaterialModal#fundPlMaterialModal.social-legal-modal.active {
  padding-left: var(--index-header-capsule-gutter, clamp(12px, 2vw, 20px)) !important;
  padding-right: var(--index-header-capsule-gutter, clamp(12px, 2vw, 20px)) !important;
}

html body.page-font #fundPlMaterialModal#fundPlMaterialModal.active .social-legal-modal-dialog {
  width: var(--index-header-capsule-width, min(var(--m-content-w, 1220px), calc(100vw - (clamp(12px, 2vw, 20px) * 2)))) !important;
  max-width: var(--index-header-capsule-width, min(var(--m-content-w, 1220px), calc(100vw - (clamp(12px, 2vw, 20px) * 2)))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
}

@media (max-width: 768px) {
  html body.page-font #fundPlMaterialModal#fundPlMaterialModal .social-legal-modal-footer {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* Модалка «ОСТАВИТЬ ЗАЯВКУ» — ширина как у капсулы шапки */
html body.page-font #officeFeedbackModal#officeFeedbackModal.social-legal-modal.active {
  padding-left: var(--index-header-capsule-gutter, clamp(12px, 2vw, 20px)) !important;
  padding-right: var(--index-header-capsule-gutter, clamp(12px, 2vw, 20px)) !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal.active .social-legal-modal-dialog {
  width: var(--index-header-capsule-width, min(var(--m-content-w, 1220px), calc(100vw - (clamp(12px, 2vw, 20px) * 2)))) !important;
  max-width: var(--index-header-capsule-width, min(var(--m-content-w, 1220px), calc(100vw - (clamp(12px, 2vw, 20px) * 2)))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
}

/* Модалка «ОСТАВИТЬ ЗАЯВКУ» — шапка и подвал по 1.5 см */
html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-modal-header {
  height: 1.5cm !important;
  min-height: 1.5cm !important;
  max-height: 1.5cm !important;
  flex: 0 0 1.5cm !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 22px !important;
  padding-right: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-modal-header h2 {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal #officeFeedbackForm {
  position: relative !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-modal-footer {
  height: 1.5cm !important;
  min-height: 1.5cm !important;
  max-height: 1.5cm !important;
  flex: 0 0 1.5cm !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-modal-footer > .social-legal-submit-btn {
  margin: 0 !important;
}

@media (max-width: 768px) {
  html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-modal-header {
    padding-left: 22px !important;
    padding-right: 54px !important;
  }

  html body.page-font #officeFeedbackModal#officeFeedbackModal .social-legal-modal-footer {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* font.html — интервал между «ПОМОЩЬ ДЕТЯМ» (#fundPlChildren) и футером */
html body.page-font > footer.site-footer,
html.site-blocks body.page-font > footer.site-footer {
  margin-top: var(--font-children-to-footer-gap, 6mm) !important;
}
