:root {
  --red: #EA5F5E;
  --yellow: #F2B441;
  --text: #222222;
  --text-dark: #2C3E50;
  --muted: #6b7280;
  --bg: #F4F6F8;
  --bg-light: #F8F9FA;
  --white: #FFFFFF;
  --line: #e9edf2;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, .05);
  --shadow-lg: 0 10px 26px rgba(16, 24, 40, .06);
  --accent-red: #d32f2f;
  --text-gray: #444;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  font-size: 18px;
  line-height: 1.4;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
}

main {
  min-height: 74vh;
}

h1 {
  text-transform: uppercase;
}

h2 {
  font-size: 30px;
}

h5 {
  font-weight: 600;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    opacity .2s ease,
    filter .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

a:not([href]):hover {
  color: var(--red) !important;
}

.section {
  padding: 56px 0;
}

.mt-16 {
  margin-top: 16px;
}

.muted {
  color: var(--muted);
  font-weight: 600;
  margin: 6px 0 14px;
}

.fade-in {
  animation: fadeIn .5s ease-in;
}

@keyframes fadeIn{



  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }



}

.qo,
.help-card,
.assistance-card,
.news-card,
.stat-card,
.map-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: var(--shadow-lg);
}

#mapObject {
  width: 100%;
}

.qo,
.help-card,
.assistance-card,
.news-card,
.stat-card {
  border-radius: 18px;
}

.qo {
  padding: 30px;
  max-width: 97%;
}

.map-card {
  border-radius: 18px;
  padding: 20px 20px 20px;
  height: 235px;
  width: 310px;
  position: absolute;
  right: 170px;
  margin-top: 200px;
}

.map-card > ul {
  width: 100%;
  height: 75%;
  overflow: auto;
  list-style: none;
  padding: 0;
}

.help-card,
.assistance-card {
  min-height: 220px;
  height: 100%;
  padding: 20px 20px 20px;
}

.news-card {
  overflow: hidden;
}

.stat-card {
  position: relative;
  background: #fff;
  border: 1px solid #e7e7e7;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #efefef;
  pointer-events: none;
}

.custom-scroll {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cfcfcf #f5f5f5;
}

.custom-scroll::-webkit-scrollbar {
  width: 8px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 999px;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 999px;
  border: 2px solid #f5f5f5;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: #bbbbbb;
}

.custom-scroll li.highlight {
  background-color: #fe9766;
  font-weight: bold;
}

.custom-scroll li {
  padding: 5px 10px;
  cursor: pointer;
}

.custom-scroll li:hover {
  background-color: #fe9766;
}

.single-image img,
.single-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: 0 50%;
}

.single-content img {
  padding: 20px 0;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: #F5F5F5;
}

.wpcf7 input[type="checkbox"] {
  float: left;
  width: 33px;
  height: 33px;
  margin-right: 20px;
  border: none;
  border-radius: 10px;
  background: #F5F5F5;
}

.wpcf7 label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.wpcf7-list-item {
  margin: auto;
}

.btn--primary,
.btn--ghost,
.btn--yellow,
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}

.btn--primary,
.wpcf7-submit {
  padding: 14px 20px;
  border: 1px solid transparent;
  background: var(--red);
  color: #fff;
  font-size: 20px;
}

.btn--primary:hover,
.wpcf7-submit:hover {
  background: #B76464;
  color: #fff;
  filter: brightness(.96);
}

.wpcf7-submit {
  display: block;
  width: 90%;
  margin: auto;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
}

.btn--ghost {
  width: fit-content;
  padding: 14px 20px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #F9B240;
  color: #111;
  font-size: 20px;
}

.btn--ghost:hover {
  background: #FFE2B4;
  color: #111;
}

.btn--yellow {
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--yellow);
  color: #111;
  font-weight: 800;
}

.btn--yellow:hover {
  color: #111;
  filter: brightness(.97);
}

header {
  background: #F0F4F7;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.navbar {
  padding: 15px 0;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--red);
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--white);
}

.logo-text {
  line-height: 1.2;
}

.logo-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-subtitle {
  font-size: 10px;
  color: var(--muted);
}

.nav-link {
  display: contents;
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  padding: 10px 15px !important;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.navbar-nav .nav-link:hover {
  color: var(--red);
}

.bg-danger {
  width: 43px;
  height: 43px;
  margin-top: -6px;
}

.telegram-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
}

.support-btn {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  max-width: 373px;
  padding: 25px 40px;
  border-radius: 0 0 0 30px;
  background: #F9B240;
  color: var(--bs-heading-color);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.support-btn:hover {
  color: var(--bs-heading-color);
  filter: brightness(.98);
}

.breadcrumbs {
  font-size: 14px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs span {
  color: var(--text-dark);
}

.section-title {
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--red);
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}

.section__title {
  color: var(--red);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.section__title--left {
  margin: 0 0 14px;
}

.section__more {
  color: var(--red);
  font-weight: 600;
}

.section__more:hover {
  text-decoration: underline;
}

.section-desc,
.lead {
  color: #111;
  font-weight: 600;
  font-size: 20px;
}

.lead {
  margin: 0 0 22px;
  line-height: 1.45;
}

.donate-page .text-qr {
  width: 60%;
  background: #FFF;
  font-size: 20px;
  font-weight: 600;
}

.home {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
}

.section_page {
  min-height: 157px;
  background: radial-gradient(80% 80% at 60% 45%, rgba(227, 93, 91, .22), transparent 60%),
    url("../img/hero.jpg") center / cover no-repeat;
  background-position-y: top;
  filter: saturate(1.05);
}

.hero {
  padding: 24px 0 28px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero__right {
  min-height: 713px;
  background: radial-gradient(80% 80% at 60% 45%, rgba(227, 93, 91, .22), transparent 60%),
    url("../img/hero.jpg") center / cover no-repeat;
  background-position: right;
  filter: saturate(1.05);
}

.hero__title {
  margin: 0 0 14px;
  color: #111;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__title-accent {
  color: var(--red);
}

.hero__subtitle {
  max-width: 50%;
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 700;
}

.hero__desc {
  max-width: 90%;
  margin: 0 30px 0 0;
  border-bottom: 2px solid #F9B240;
  color: #111;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
}

.hero__desc > span {
  display: block;
  max-width: 50%;
}

.hero__actions {
  display: block;
  width: fit-content;
}

.hero__actions > a {
  margin: 5px 0px;
}

.hero-buttons .btn {
  width: auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: -145px;
}

.stat {
  padding: 54px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .7);
  text-align: center;
}

.stat__num,
.stat-number {
  color: var(--red);
  font-weight: 900;
}

.stat__num {
  font-size: 20px;
}

.stat-number {
  font-size: 2rem;
}

.stat__text {
  margin-top: 6px;
  color: #111;
  font-size: 12px;
  line-height: 1.25;
}

.stat-text {
  color: #000;
  font-size: 16px;
  font-weight: 400;
}

.join-back {
  background: url("../img/join-back.svg") center / cover no-repeat;
}

.section--news,
.section--help,
.section--two-col {
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card__img {
  display: block;
  aspect-ratio: 16 / 9;
  background: #eef2f6;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef2f6, #f8fafc);
}

.news-card__body,
.news-content {
  padding: 14px 16px 18px;
  background: #fff;
}

.news-content {
  min-height: 100%;
}

.news-card__date {
  margin-bottom: 8px;
  color: #BFBFBF;
  font-size: 12px;
  font-weight: 400;
}

.news-card__title {
  max-width: 83%;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.news-card__title a {
  color: #111;
}

.news-card__title a:hover {
  text-decoration: underline;
}

.news-link-icon {
  float: right;
  width: 40px;
  height: 40px;
  max-width: 45px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.card--plain {
  border: none;
  background: transparent;
}

.note {
  margin-top: 18px;
  padding: 14px 16px;
  background: #eef2f6;
  font-weight: 700;
}

.list-tri,
.faq-page ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.list-tri li,
.faq-page ul li {
  position: relative;
  margin: 8px 0;
  padding-left: 18px;
  line-height: 1.35;
}

.list-tri li::before,
.faq-page ul li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid var(--red);
}

.how {
  min-height: 337px;
  background: url("../img/how_back.png") top / cover no-repeat;
  color: #fff;
}

.how__head {
  margin-bottom: 18px;
}

.how__title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.how__subtitle {
  margin-top: 8px;
  color: var(--red);
  font-size: 25px;
  font-weight: 700;
  opacity: .95;
}

.how__steps {
  position: relative;
}

.step {
  text-align: center;
}

.step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
}

.step__icon img {
  width: 170px;
  max-width: fit-content;
  height: auto;
  object-fit: contain;
}

.step__text {
  max-width: 220px;
  margin: 50px auto 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  opacity: .95;
}

.how__line {
  display: none;
}

.steps-inline {
  min-height: 80px;
}

.steps-inline div {
  float: left;
  min-height: 45px;
  padding-right: 25px;
}

.steps-inline .step-num {
  display: flex;
  align-items: center;
  min-height: 45px;
  color: #de6b6b;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.steps-inline .step-text {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 45px;
  padding-top: 4px;
  color: #333;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 400;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.line.list-tri {
  display: inline-flex;
}

.line.list-tri li {
  margin-right: 25px;
}

.info-footer {
  width: fit-content;
  padding: 10px 12px;
  background: #eef2f6;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.help-card__top,
.assistance__top {
  display: block;
  margin-bottom: 10px;
}

.help-card__media,
.assistance__media {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 200px;
  max-height: 200px;
}

.help-card__media img,
.assistance__media img {
  max-width: 123px;
  height: auto;
  object-fit: contain;
}

.help-card {
  background-size: 180px !important;
}

.assistance-card {
  background-size: 165px !important;
}

.help-card__title {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
}

.help-inner {
  margin-left: 130px !important;
}

.help-card__foot {
  margin-top: 60px;
  margin-left: 130px;
  padding: 10px 12px;
  background: #eef2f6;
  font-size: 18px;
  font-weight: 600;
}

.program-card {
  padding: 80px;
}

.program-card p {
  padding-left: 15px;
  border-left: 5px solid var(--red);
  font-size: 20px;
  font-weight: 500;
}

.section--banner {
  padding: 26px 0 10px;
  background: url(https://probation-center.ru/wp-content/themes/fsin/assets/img/hr.png) no-repeat bottom center / contain,
    var(--red);
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  color: #fff;
}

.banner__title {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.banner__text {
  margin-top: 6px;
  color: #212529;
  font-size: 35px;
  font-weight: 600;
  opacity: .95;
}

.banner__right {
  color: #fff;
  text-align: right;
  font-size: 18px;
  font-weight: 600;
}

.banner__right .btn {
  font-size: 40px;
  font-weight: 600;
}

.banner__right .btn:hover {
  background: #FFE2B4;
  color: var(--bs-heading-color);
}

.banner__small {
  margin-top: 8px;
  color: #212529;
  font-weight: 400;
  opacity: .9;
}

.section--about,
.section--contacts {
  background: var(--bg);
}

.quote {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  background: #fff;
}

.quote__mark {
  color: var(--red);
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
}

.quote__text {
  color: #111;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
}

.person {
  position: relative;
}

.person__img {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
}

.person__img img {
  width: 100%;
  height: auto;
}

.person__tag {
  position: absolute;
  left: 14px;
  right: 14px;
  width: fit-content;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 26px rgba(16, 24, 40, .10);
}

.person__tag--name {
  bottom: 141px;
  font-size: 20px;
  font-weight: 600;
}

.person__tag--role {
  bottom: 78px;
  font-size: 14px;
  font-weight: 300;
}

.person__tag--org {
  bottom: 34px;
  font-size: 14px;
  font-weight: 300;
}

.support-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 14px;
  background: #fff;
}

.support-note__title {
  margin-bottom: 8px;
  font-weight: 900;
}

.support-note__items {
  display: grid;
  gap: 6px;
  color: #111;
}

.contcts-block {
  padding: 25px;
  border-radius: 20px;
  background: #F0F4F7;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  font-weight: 600;
}

.contact-row a {
  color: #111;
}

.contact-row a:hover {
  color: #111;
  text-decoration: underline;
}

.contact-row__icon {
  flex: 0 0 18px;
  width: 40px;
  height: 40px;
  max-width: unset;
  color: var(--red);
  font-weight: 900;
}

.contact-row-tel {
  font-size: 30px;
  font-weight: 500;
}

.contact-pill {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.map {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #eef2f6;
}

.map iframe {
  display: block;
}

.map_img {
  position: absolute;
  top: 20%;
  right: 10%;
  width: auto;
  cursor: pointer;
}

.who__steps_red > div {
  margin-bottom: 30px;
  padding: 0 20px;
  background: url("../img/list-red.svg") -10px 1px / 20px no-repeat;
}

.who__steps > div {
  background: url("../img/list-white.svg") -10px 4px / 22px no-repeat;
}

.who__steps div.who__step {
  margin-left: 10px;
}

footer .support-btn {
  max-width: 270px;
  color: #000;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 40px 0 20px;
  background-color: var(--red);
  color: #fff;
}

.site-footer__top-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 40px;
  padding-right: 250px;
}

.site-footer__nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-left: 3%;
  font-size: 16px;
  font-weight: 600;
}

.site-footer__nav-main a:hover {
  color: var(--yellow);
}

.site-footer__donate-tab {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 120px;
  padding: 20px;
  border-radius: 0 0 0 40px;
  background-color: var(--yellow);
  color: #000;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
}

.site-footer__bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-footer__legal a {
  font-size: 12px;
  text-decoration: underline;
  opacity: .8;
}

.site-footer__actions-group {
  display: flex;
  gap: 15px;
}

.site-footer__btn {
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  color: #7a3a38;
  font-size: 20px;
  font-weight: 600;
  transition: .3s;
}

.site-footer__btn--yellow {
  background-color: var(--yellow);
  color: #000;
}

.site-footer__btn--white {
  background-color: #fff;
}

.site-footer__btn:hover {
  transform: translateY(-2px);
  filter: brightness(.9);
}

.site-footer__social {
  display: flex;
  gap: 10px;
}

.site-footer__social img {
  width: 41px;
  height: 41px;
}

.burger-btn,
.site-footer__burger {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #111;
}

.site-footer__burger {
  background: transparent;
}

.site-footer__burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 6px;
  border-radius: 2px;
  background: #fff;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(17, 24, 39, .55);
  opacity: 0;
  transition: opacity .2s ease;
}

.mobile-menu-overlay.is-active {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1060;
  height: 100vh;
  padding-top: 12px;
  background: #fff;
  transform: translateX(102%);
  transition: transform .22s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-content {
  padding: 12px 8px;
}

.mobile-menu-close {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 10px;
  background: #fff;
}

.mobile-menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #111;
  transform-origin: center;
}

.mobile-menu-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-list .nav-link {
  padding: 12px 6px;
  font-weight: 700;
}

.modal-header {
  padding: 20px 30px;
  border-radius: 10px 10px 0 0;
  background: var(--red);
  color: var(--white);
}

.modal-content,
.modal-dialog {
  border-radius: 10px;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-body {
  padding: 30px;
}

.modal-form .form-label {
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 600;
}

.modal-form .form-control {
  padding: 12px 15px;
  border: 1px solid #E0E0E0;
  font-size: 14px;
}

.modal-form .form-control::placeholder {
  color: #CCCCCC;
}

.modal-form .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 .2rem rgba(227, 93, 91, .25);
}

.modal-form .form-check-label {
  color: var(--muted);
  font-size: 13px;
}

.modal-form .form-check-label a {
  color: var(--red);
  text-decoration: underline;
}

.news-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-placeholder {
  height: 200px;
  background: #ddd;
}

.news-date {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.news-title {
  margin-bottom: 15px;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 600;
}

.news-title a {
  color: inherit;
}

.faq-accordion .accordion-item {
  overflow: hidden;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
}

.faq-accordion .accordion-button {
  padding: 20px 25px;
  background: #F5F5F5;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--red);
  color: var(--white);
}

.faq-accordion .accordion-button:focus {
  border-color: var(--red);
  box-shadow: none;
}

.faq-accordion .accordion-body {
  padding: 25px;
  font-size: 15px;
  line-height: 1.7;
}

.nav-tabs {
  border: none;
}

.nav-tabs .nav-link {
  display: block;
}

.document-tabs {
  display: inline-flex;
}

.document-tabs .nav-link {
  min-height: 101%;
  max-width: 270px;
  border: none;
  border-radius: 20px 20px 0 0;
  background: #F0F4F7;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}

.document-tabs .nav-link:hover {
  border-color: var(--red);
  background: var(--yellow);
  color: #FFF;
}

.document-tabs .nav-link.active {
  border-radius: 20px 20px 0 0;
  background: var(--yellow);
  color: #000;
}

.document-card {
  padding: 20px 0;
  transition: transform .2s ease, border-color .2s ease;
}

.document-icon img {
  max-width: 135px;
}

.document-title {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

.docs-nav__mobile {
  display: none;
}

.expert-card {
  padding: 20px;
}

.expert-photo img {
  width: 190px;
  height: 190px;
  object-fit: cover;
}

.expert-placeholder {
  width: 200px;
  height: 200px;
  background: #ddd;
}

.expert-name {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 600;
}

.expert-position {
  color: var(--muted);
  font-size: 14px;
}

.single-news {
  padding: 50px 0;
}

.single-title {
  color: var(--text-dark);
  font-size: 32px;
  font-weight: 700;
}

.single-date {
  color: var(--muted);
  font-size: 14px;
}

.single-content {
  font-size: 16px;
  line-height: 1.8;
}

.single-content p {
  margin-bottom: 20px;
}

.single-content h2,
.single-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-card h4 {
  margin-bottom: 15px;
  font-weight: bold;
}

.contact-card p {
  margin-bottom: 5px;
  color: #555;
  font-size: .85rem;
}

.contact-card a {
  color: #007bff;
  text-decoration: none;
}

.btn-primary {
  border: none;
  background: var(--red);
}

.btn-primary:hover {
  background: var(--red);
  filter: brightness(.95);
}

.btn-outline-primary {
  border-color: var(--red);
  color: var(--red);
}

.btn-outline-primary:hover {
  border-color: transparent;
  background: var(--red);
  color: var(--white);
}

.btn-warning {
  border: none;
  background: var(--yellow);
  color: #111;
}

.btn-warning:hover {
  background: var(--yellow);
  color: #111;
  filter: brightness(.97);
}

.pagination-wrapper .pagination {
  justify-content: center;
}

.pagination .page-link {
  border: 1px solid #E0E0E0;
  color: var(--red);
}

.pagination .page-item.active .page-link {
  border-color: var(--red);
  background: var(--red);
}

.int_map--yandex {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 620px;
  margin: 0;
}

.int_map--yandex #regions-yandex-map,
.int_map--yandex .regions-yandex-map {
  display: block;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  height: 620px;
  min-height: 620px;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f5f6;
}

.int_map--yandex .map-card {
  position: absolute;
  z-index: 10;
  top: 50%;
  right: 28px;
  left: auto;
  width: 310px;
  max-width: calc(100% - 56px);
  height: 480px;
  min-height: 0;
  margin: 0;
  padding: 20px;
  transform: translateY(-50%);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .14);
}

.int_map--yandex .map-card > ul,
.int_map--yandex #regions-list {
  width: 100%;
  height: calc(100% - 50px);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.int_map--yandex #regions-list li {
  padding: 5px 10px;
  cursor: pointer;
}

.int_map--yandex #regions-list li:hover,
.int_map--yandex #regions-list li.is-active,
.int_map--yandex #regions-list li.highlight {
  background: rgba(231, 94, 102, .12);
}

.int_map--yandex #regions-list li.is-active a,
.int_map--yandex #regions-list li.highlight a {
  color: #d8454f;
}

.regions-yandex-map {
  width: 100%;
  min-height: 620px;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f5f6;
}

.custom-scroll li.is-active,
.custom-scroll li.highlight {
  background: rgba(0, 89, 176, 0.1);
}

#regions-list li {
  transition: background-color .2s ease, color .2s ease;
  border-radius: 8px;
}

#regions-list li.highlight,
#regions-list li.is-active {
  background: rgba(234, 95, 94, .18) !important;
}

#regions-list li.highlight a,
#regions-list li.is-active a {
  color: #c74342;
  font-weight: 700;
}

#regions-list .regions-list__item--no-point {
  opacity: 0.55;
}

#regions-list .regions-list__empty {
  cursor: default;
  opacity: 0.7;
}

#int_map .container {
  max-width: 1400px;
}

.int_map--yandex .regions-yandex-map {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 620px;
  min-height: 620px;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f5f6;
}

.int_map--yandex > #regions-yandex-map {
  width: 100% !important;
  max-width: none !important;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

@media (max-width: 1518px) {
  .navbar-nav .nav-link {
    font-size: 14px;
  }
}

@media (max-width: 1398px) {
  .navbar-nav .nav-link {
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
  .site-footer__top-row {
    flex-direction: column;
    gap: 20px;
    padding-right: 0;
    text-align: center;
  }
  
  .site-footer__donate-tab {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 0;
  }
  
  .site-footer__bottom-row {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .site-footer__actions-group {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid,
        .two-col,
        .help-grid {
    grid-template-columns: 1fr;
  }
  
  .how__steps {
    grid-template-columns: 1fr 1fr;
  }
  
  .banner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .banner__right {
    text-align: left;
  }
  
  .section--banner {
    background: url(https://probation-center.ru/wp-content/themes/fsin/assets/img/hr_m.png) no-repeat right top / 230px,
            var(--red);
  }
}

@media (min-width: 1100px) {
  .news-card:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 26px rgba(55, 55, 55, .6);
  }
}

@media (min-width: 901px) {
  .how__steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    padding-bottom: 46px;
  }
  
  .how__steps::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 12px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .75);
  }
  
  .step {
    position: relative;
  }
  
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(100% + 11px);
    bottom: -38px;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid rgba(255, 255, 255, .85);
  }
  
  .section--banner {
    background: url(https://probation-center.ru/wp-content/themes/fsin/assets/img/hr_m.png) no-repeat right top / 230px,
            var(--red);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .how__steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding-left: 0;
    padding-bottom: 46px;
  }
  
  .step__icon img {
    width: 100px;
  }
  
  .step__text {
    font-size: 14px;
  }
  
  .navbar-nav .nav-link {
    padding: 5px !important;
  }
  
  .support-btn {
    font-size: 13px;
  }
  
  .program-card {
    padding: 50px;
  }
  
  .program-card p {
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .hero__subtitle, .hero__desc > span {
    max-width: 100%;
  }
  
  .map_img {
    position: relative;
    top: unset;
    right: unset;
  }
  
  .support-btn-wrapper {
    margin-top: 15px;
  }
  
  .hero__title {
    font-size: 32px;
  }
  
  .hero__subtitle {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .page-title {
    font-size: 30px;
  }
  
  .contact-card {
    width: 100%;
    margin: 20px 0 0;
  }
}

@media (max-width: 900px) {
  .donate-page .text-qr {
    width: 100%;
  }
  
  .how__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .step {
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 20px 0;
    width: 100%;
    float: none;
    flex-direction: column;
  }
  
  .how__steps::after {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 14px;
    width: 2px;
    border-radius: 2px;
  }
  
  .step::before {
    content: "";
    position: absolute;
    top: 0;
    left: -21px;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-top: 10px solid rgba(255, 255, 255, .85);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
  }
  
  .step__icon {
    width: 98px;
    height: 98px;
    display: inline-block;
    margin: 0 auto 15px;
    margin-right: 15px;
  }
  
  .step__icon img {
    width: 80px;
    height: 98px;
  }
  
  .step__text {
    max-width: 100%;
    font-size: 16px;
    display: inline-block;
    margin: 0 auto;
  }
  
  .site-footer__burger {
    display: flex;
  }
  
  .help-card {
    background-position-y: center !important;
    margin-top: 0 !important;
    width: 100% !important;
    height: 90% !important;
  }
  
  .who__steps > .col-12 {
    margin: 10px 0px;
  }
  
  .map-card {
    height: fit-content;
    min-height: 100px;
  }
  
  #mapObject {
    margin: 40px 0;
  }
  
  .map-card, .map-card > ul {
    position: unset;
    padding: 10px;
    margin: 0;
    width: 100%;
  }
  
  .site-footer__actions-group {
    display: inline-block;
    text-align: left;
  }
  
  .site-footer__btn {
    display: inline-flex;
    margin: 5px;
    padding: 8px;
    font-size: 16px;
  }
  
  .site-footer__legal {
    position: absolute;
    left: 20px;
    bottom: 25px;
    text-align: left;
  }
  
  .site-footer__bottom-row {
    align-items: end;
  }
  
  .how {
    clear: both;
    background: url("../img/how_back_m.svg") top / cover no-repeat;
  }
  
  .how > .container {
    padding: 25px;
  }
  
  .list-tri, .faq-page ul {
    margin: 5px;
  }
  
  .help-card, .assistance-card {
    min-height: 120px;
  }
  
  .line-route_m {
    width: unset;
  }
  
  .steps-inline > div {
    margin-bottom: 20px;
  }
  
  .list-tri-join li {
    margin-bottom: 25px;
  }
  
  .join-back {
    background: url("../img/join-back_m.png") center / cover no-repeat;
  }
}

@media (min-width: 767px) {
  .w-md-50 {
    width: 50% !important;
  }
  
  .w-md-75 {
    width: 75% !important;
  }
}

@media (max-width: 767px) {
  .line.list-tri {
    display: block;
  }
  
  .help-card__title {
    font-size: 17px;
  }
  
  .assistance-card {
    background-size: 123px !important;
    background-position: right !important;
  }
  
  .hero__section {
    padding: 50px 0;
  }
  
  .hero__right {
    min-height: 524px;
    background: #F4F6F8 url("../img/hero_m.png") top / cover  no-repeat;
  }
  
  .hero__title {
    font-size: 25px;
    line-height: 1.3;
  }
  
  .hero__subtitle {
    font-size: 17px;
  }
  
  .hero__desc {
    float: unset;
    max-width: 100%;
    margin-right: 0;
    font-size: 17px;
    font-weight: 600;
  }
  
  .section__title {
    font-size: 24px;
  }
  
  .page-title {
    font-size: 26px;
  }
  
  .support-btn {
    font-size: 14px;
  }
  
  .document-tabs .nav-link {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .expert-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .expert-photo img,
        .expert-placeholder {
    width: 100%;
    height: 100%;
  }
  
  .expert-name {
    font-size: 18px;
  }
  
  .expert-position {
    font-size: 14px;
  }
  
  .btn--ghost,
        .btn--primary {
    padding: 10px;
    font-size: 14px;
  }
  
  .hero__actions {
    display: contents;
    width: fit-content;
  }
  
  .stats {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 93%;
    padding: 24px;
    border: 1px solid #e7e7e7;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
  }
  
  .stats::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid #efefef;
    pointer-events: none;
  }
  
  .stat-card {
    border: none;
    box-shadow: none;
  }
  
  .stat-card::before {
    border: none;
  }
  
  .stat {
    padding: 5px;
  }
  
  .stat-number {
    font-size: 22px;
  }
  
  .stat-text {
    font-size: 14px;
  }
  
  .news-link-icon {
    width: 24px;
    height: 24px;
  }
  
  .step__text {
    margin-top: 10px;
    font-size: 18px;
  }
  
  .help-card {
    padding: 10px;
    background-size: 100px !important;
  }
  
  .help-inner {
    margin-left: 95px !important;
  }
  
  .help-card__foot {
    max-width: fit-content;
    margin-top: 30px;
    margin-left: unset;
  }
  
  .banner__title {
    font-size: 36px;
  }
  
  .banner__text {
    font-size: 26px;
  }
  
  .banner__right .btn {
    font-size: 26px;
  }
  
  .banner__small {
    font-size: 16px;
  }
  
  .section--banner {
    padding: 26px 0 10px;
    background: url(https://probation-center.ru/wp-content/themes/fsin/assets/img/hr_m.png) no-repeat right top / 230px,
            var(--red);
  }
  
  .program-card {
    display: flex;
  }
  
  .prison-card {
    min-height: auto;
    padding: 30px;
  }
  
  .qo {
    max-width: 100%;
    margin: auto;
    padding: 10px;
  }
  
  .person__tag {
    padding: 7px;
  }
  
  .person__tag--name {
    bottom: 100px;
  }
  
  .person__tag--role {
    bottom: 60px;
    font-size: 13px;
  }
  
  .person__tag--org {
    bottom: 5px;
    font-size: 13px;
  }
  
  .support-note {
    margin: 10px;
  }
  
  .contact-pill {
    font-size: 16px;
  }
  
  .contact-row img {
    width: auto;
    max-width: none;
  }
  
  .privacy-policy,
        .personal-data {
    font-size: 12px;
  }
  
  .document-tabs {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .document-tabs li {
    width: 100%;
  }
  
  .document-tabs li button {
    display: block;
    min-width: 100%;
    border-radius: unset !important;
  }
  
  .docs-nav__desktop {
    display: none;
  }
  
  .docs-nav__mobile {
    display: block;
  }
  
  #documentTabsSelect {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
  }
  
  .single-image img,
        .single-content img {
    height: auto;
    padding: 0;
    object-fit: contain;
    object-position: unset;
  }
}

@media (max-width: 575px) {
  .navbar-brand .logo-box {
    width: 40px;
    height: 40px;
  }
  
  .navbar-brand .logo-title {
    font-size: 12px;
  }
  
  .navbar-brand .logo-subtitle {
    font-size: 9px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .modal-body {
    padding: 20px;
  }
}

@media (max-width: 400px) {
  .donate-page .text-qr {
    width: 100%;
  }
}

@media (max-width: 1400px) {
  .line.list-tri {
    display: block;
  }
  
  .steps-inline div {
    float: unset;
  }
  
  .steps-inline .step-num {
    float: left;
    width: 40px;
  }
  
  .steps-inline .step-text {
    float: none;
  }
  
  .steps-inline .step-text br {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .int_map--yandex {
    grid-template-columns: 1fr;
  }
  
  .regions-yandex-map {
    min-height: 460px;
  }
}

@media (max-width: 991.98px) {
  .int_map--yandex {
    grid-template-columns: 1fr;
  }
  
  .regions-yandex-map {
    min-height: 460px;
  }
}

@media (max-width: 991.98px) {
  .int_map--yandex {
    grid-template-columns: 1fr;
  }
  
  .int_map--yandex .regions-yandex-map {
    height: 460px;
    min-height: 460px;
  }
}

@media (max-width: 767px) {
  .int_map--yandex {
    min-height: 650px;
  }
  
  .int_map--yandex #regions-yandex-map,
    .int_map--yandex .regions-yandex-map {
    height: 650px;
    min-height: 650px;
  }
  
  .int_map--yandex .map-card {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    height: 210px;
    padding: 15px;
    transform: none;
  }
}
.regions-list__item a{
    font-size: 14px;
}
.ymaps-2-1-79-balloon__content a{
      color: #d8454f;
}