.sf-popup-overlay[hidden] { display: none !important; }
.sf-popup-overlay { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(0, 22, 56, .66); }
.sf-popup-open { overflow: hidden; }
.sf-popup-dialog { position: relative; width: min(100%, 630px); max-height: calc(100dvh - 44px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: 0 28px 80px rgba(4, 22, 52, .28); color: #173452; padding: 36px; font-family: inherit; text-align: left; }
.sf-popup-dialog--wide { width: min(100%, 880px); }
.sf-popup-close { position: absolute; right: 14px; top: 12px; width: 37px; height: 37px; border: 0; border-radius: 50%; background: #f0f5f8; color: #2e4a62; cursor: pointer; font-size: 27px; line-height: 1; }
.sf-popup-content { display: grid; gap: 18px; }
.sf-popup-heading { margin: 0; padding-right: 18px; color: #092d53; font-size: clamp(24px, 3.8vw, 31px); line-height: 1.18; font-weight: 800; }
.sf-popup-text { margin: 0; line-height: 1.7; font-size: 16px; white-space: normal; }
.sf-popup-image { display: block; width: 100%; max-height: 330px; border-radius: 14px; object-fit: cover; }
.sf-popup-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sf-popup-button { display: inline-flex; min-height: 45px; justify-content: center; align-items: center; padding: 11px 21px; border: 1px solid #0b745a; border-radius: 10px; background: #0b745a; color: #fff !important; font-weight: 700; font-size: 14px; line-height: 1.35; text-align: center; text-decoration: none !important; }
.sf-popup-button--secondary { background: #fff; color: #0b745a !important; }
.sf-popup-button:hover { filter: brightness(.93); }
.sf-popup-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.sf-popup-split--reverse { direction: rtl; }
.sf-popup-split--reverse > * { direction: ltr; }
.sf-popup-split img { width: 100%; height: 100%; min-height: 185px; max-height: 320px; border-radius: 15px; object-fit: cover; }
.sf-popup-split__copy { display: grid; justify-items: start; gap: 12px; }
.sf-popup-split__copy h3 { margin: 0; font-size: 22px; line-height: 1.2; color: #092d53; }
.sf-popup-split__copy p { margin: 0; line-height: 1.6; }
.sf-popup-dismiss { display: block; border: 0; background: none; color: #6b7c8c; font-size: 13px; margin: 20px auto 0; padding: 7px 12px; cursor: pointer; }
.sf-popup-visually-hidden { position: absolute; clip: rect(0, 0, 0, 0); width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
  .sf-popup-overlay { padding: 12px; }
  .sf-popup-dialog { padding: 31px 20px 20px; border-radius: 17px; max-height: calc(100dvh - 24px); }
  .sf-popup-actions { display: grid; }
  .sf-popup-split, .sf-popup-split--reverse { grid-template-columns: 1fr; direction: ltr; }
  .sf-popup-split img { min-height: 130px; max-height: 230px; }
}
