/* Global footer. Every selector is scoped to avoid changing other sections/forms. */
.site-footer.ts-footer {
 margin-block-start: clamp(56px, 7vw, 110px);
 padding: 0;
 background: #F3F3F3;
 color: #292929;
 direction: rtl;
 font-family: "Yekan Bakh FaNum", Tahoma, sans-serif;
}
.ts-footer__container { width: min(88%, 1450px); margin-inline: auto; border-block-start: 1px solid #e2e2e2; padding-block-start: 40px; }
.ts-footer__top, .ts-footer__middle, .ts-footer__contact-row { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 52px; align-items: start; }
.ts-footer__about { min-width: 0; }
.ts-footer__brand { display: inline-block; max-width: 100%; text-decoration: none; font-size: 22px; font-weight: 900; color: inherit; }
.ts-footer__logo { display: block; width: auto; max-width: 190px; height: 68px; object-fit: contain; object-position: right center; }
.ts-footer__description { margin: 20px 0 0; font-size: 14px; line-height: 2.15; color: #555; overflow-wrap: anywhere; }
.ts-footer__badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; grid-column: 2; }
.ts-footer__badge { position: relative; aspect-ratio: .83; min-width: 0; padding: 10px; border-radius: 8px; background: #ededed; }
.ts-footer__badge a { display: block; width: 100%; height: 100%; }
.ts-footer__badge-image { position: absolute; inset: 10px; display: block; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; margin: 0; }
.ts-footer__middle { margin-block: 36px 40px; }
.ts-footer__columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; grid-column: 1; }
.ts-footer__column { min-width: 0; }
.ts-footer__column-title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 16px; font-weight: 800; line-height: 1.7; overflow-wrap: anywhere; }
.ts-footer__column-icon { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; color: #ed1024; }
.ts-footer__icon-image { display: block; width: 24px; height: 24px; max-height: 24px; object-fit: contain; margin: 0; }
.ts-footer__links, .ts-footer__contacts, .ts-footer__socials { list-style: none; padding: 0; margin: 0; }
.ts-footer__links li + li { margin-block-start: 10px; }
.ts-footer__links a { display: inline-block; color: #444; font-size: 14px; line-height: 1.9; text-decoration: none; overflow-wrap: anywhere; }
.ts-footer__links a:hover, .ts-footer__designer a:hover { color: #ed1024; }
.ts-footer__newsletter { grid-column: 2; padding: 22px 18px; border-radius: 16px; background: #ededed; min-width: 0; }
.ts-footer__red-icon { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 15px; background: #ed1024; color: #fff; box-shadow: 0 7px 18px rgb(237 16 36 / 12%); }
.ts-footer__red-icon .ts-footer__icon-image { width: 26px; height: 26px; max-height: 26px; }
.ts-footer__form-title { margin: 16px 0 6px; font-size: 17px; font-weight: 700; line-height: 1.7; }
.ts-footer__form-description { margin: 0 0 18px; font-size: 13px; line-height: 1.9; color: #888; overflow-wrap: anywhere; }
.ts-footer__form { min-width: 0; font-size: 13px; }
.ts-footer__form .gform_wrapper { margin: 0; }
.ts-footer__form .gform_wrapper form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.ts-footer__form .gform_body, .ts-footer__form .gform-body { min-width: 0; width: 100%; }
.ts-footer__form .gform_fields { gap: 10px; }
.ts-footer__form .gform_footer, .ts-footer__form .gform-footer { margin: 0; padding: 0; }
.ts-footer__form .gform_validation_errors { grid-column: 1 / -1; }
.ts-footer__form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .ts-footer__form textarea, .ts-footer__form select {
 width: 100%; max-width: 100%; min-width: 0; min-height: 44px; border: 1px solid transparent; border-radius: 10px; background: #fff; padding: 10px 12px; font: inherit; color: #292929;
}
.ts-footer__form input[type="submit"], .ts-footer__form button[type="submit"] {
 width: auto; min-height: 44px; max-width: 100%; margin: 0; padding: 10px 14px; border: 0; border-radius: 10px; background: #ed1024; color: #fff; font: inherit; cursor: pointer; white-space: normal;
}
.ts-footer__form .gfield_label { font-size: 12px; line-height: 1.7; }
.ts-footer__contact-row { border-block: 1px solid #e2e2e2; padding-block: 30px; align-items: center; }
.ts-footer__contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; min-width: 0; }
.ts-footer__contact { display: flex; gap: 14px; align-items: center; min-width: 0; }
.ts-footer__contact-copy { min-width: 0; overflow-wrap: anywhere; }
.ts-footer__contact-title { display: block; color: #292929; font-size: 14px; font-weight: 700; line-height: 1.8; text-decoration: none; }
.ts-footer__contact-copy p { margin: 2px 0 0; font-size: 12px; color: #666; line-height: 1.9; }
.ts-footer__socials { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; direction: ltr; justify-content: flex-start; }
.ts-footer__social { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #ededed; color: #354052; }
.ts-footer__social--highlight { background: #ed1024; color: #fff; }
.ts-footer__social .ts-footer__icon-image { width: 22px; height: 22px; }
.ts-footer__bottom { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; padding-block: 28px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.9; }
.ts-footer__copyright { margin: 0; }
.ts-footer__designer, .ts-footer__designer a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.ts-footer__designer::before, .ts-footer__designer::after { content: ""; flex: 0 0 6px; width: 6px; height: 6px; background: #ed1024; border-radius: 50%; }
.ts-footer__designer-logo { display: block; width: auto; max-width: 90px; height: 28px; object-fit: contain; }
.ts-footer a:focus-visible, .ts-footer input:focus-visible, .ts-footer button:focus-visible, .ts-footer textarea:focus-visible, .ts-footer select:focus-visible { outline: 3px solid #ed1024; outline-offset: 3px; }
@media (max-width: 1200px) {
 .ts-footer__top, .ts-footer__middle, .ts-footer__contact-row { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
 .ts-footer__columns { gap: 16px; }
 .ts-footer__column-title { font-size: 14px; gap: 6px; }
 .ts-footer__contact { gap: 8px; }
 .ts-footer__red-icon { width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; }
 .ts-footer__contact-title { font-size: 12px; }
 .ts-footer__contact-copy p { font-size: 11px; }
}
@media (max-width: 1000px) {
 .ts-footer__top, .ts-footer__middle, .ts-footer__contact-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .ts-footer__badges, .ts-footer__newsletter { grid-column: 1; }
 .ts-footer__badges { width: min(100%, 360px); }
 .ts-footer__newsletter { width: min(100%, 480px); }
 .ts-footer__columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
 .ts-footer__socials { gap: 10px; }
}
@media (max-width: 600px) {
 .ts-footer__container { width: calc(100% - 32px); padding-block-start: 28px; }
 .ts-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
 .ts-footer__column-title { font-size: 15px; }
 .ts-footer__contacts { grid-template-columns: minmax(0, 1fr); gap: 22px; }
 .ts-footer__contact { gap: 14px; }
 .ts-footer__contact-title { font-size: 14px; }
 .ts-footer__contact-copy p { font-size: 12px; }
 .ts-footer__description { font-size: 13px; }
 .ts-footer__middle { margin-block: 28px; }
 .ts-footer__bottom { flex-direction: column; gap: 12px; padding-block: 24px; }
}
@media (max-width: 360px) {
 .ts-footer__form .gform_wrapper form { grid-template-columns: minmax(0, 1fr); }
 .ts-footer__form input[type="submit"], .ts-footer__form button[type="submit"] { width: 100%; }
}
