:root {
  --primary-blue: #0342A0;
  --primary-light: #1976D2;
  --text-dark: #1A1A1A;
  --text-muted: #6B7280;
  --bg-light-blue: #EEF5FF;
  --phone-color: #0342A0;
  --btn-blue: #0169E2;
  --btn-blue-hover: #0342A0;
  --btn-white: #FFFFFF;
  --btn-white-hover: #CDE2FF;
  --text-blue-color: #0342A0;
  --footer-text-color: #5774a4;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Override old default.min.css * selector */
.wrapper,
.wrapper * {
  font-family: 'Inter', sans-serif;
}

/* Images should never overflow */
.wrapper img {
  max-width: 100%;
  height: auto;
}

/* Preserve object-fit cover on specific images */
.wrapper .solution-img img,
.wrapper .news-feed-card .img-wrapper img {
  height: 100%;
  object-fit: cover;
}

/* Typography */
.font-onest {
  font-family: 'Onest', sans-serif;
}

/* Header / Hero Section */
.hero-section {
  background: linear-gradient(45deg, #001A49 0%, #0078FF 100%);
  min-height: 480px;
  position: relative;
  padding-top: 20px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/new/top-bg.png');
  background-size: contain;
  background-position: center;
  background-color: rgb(0 0 0 / 80%);
  background-blend-mode: screen;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-pattern {
  pointer-events: none;
}

.hero-section .container,
.hero-section .navbar-custom {
  position: relative;
  z-index: 1;
}

.header-section .navbar-custom,
.hero-section .navbar-custom {
  padding: 15px 0;
}

.navbar-brand img {
  width: 200px;
}

/* Sticky navbar on scroll */
.navbar-placeholder {
  visibility: hidden;
}

/* Offset anchor targets below sticky navbar */
#initiatives,
#projects,
#support,
#contacts,
#useful-links {
  scroll-margin-top: 100px;
}
.navbar-custom.sticky-fixed {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000 !important;
  background-color: var(--btn-blue) !important;
  background-image: url('../img/new/top-bg.png') !important;
  background-size: contain !important;
  background-position: center !important;
  background-blend-mode: screen !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 15px 0;
}
.navbar-custom.sticky-fixed .header-anchor-nav a {
  color: #fff;
}
.navbar-custom.sticky-fixed .header-anchor-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Burger toggle: hidden on desktop */
.burger-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-toggle.active span:nth-child(2) {
  opacity: 0;
}
.burger-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991.98px) {
  .burger-toggle {
    display: flex;
  }
  .header-anchor-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: linear-gradient(45deg, #001A49, #0078FF);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 8px;
  }
  .header-anchor-nav.open {
    display: flex;
  }
  .header-anchor-nav a {
    padding: 10px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 18px;
  }
  .header-anchor-nav a:last-child {
    border-bottom: none;
  }
  .navbar-custom .container {
    flex-wrap: wrap;
  }
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #fff;
}

.telegram-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.telegram-icon:hover {
  background: rgba(255, 255, 255, 0.3);
}

.telegram-icon img {
  width: 42px;
  height: 42px;
}

.hero-title {
  color: #fff;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 89.66px;
  line-height: 74.71px;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 40px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 43.33px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* News feed Section */
.news-feed-section {
  position: relative;
  z-index: 10;
  margin-top: -180px;
  padding-bottom: 50px;
}

.news-feed-header {
  display: flex;
  justify-content: end;
  align-items: end;
  margin-bottom: 24px;
}

.news-feed-header .title {
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #FFFFFF;
}

.news-feed-view-all-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  background: transparent;
  border: none;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.news-feed-view-all-btn:hover {
  opacity: 1;
}

.news-feed-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  height: 100%;
}

.news-feed-card:hover {
  /*transform: translateY(-5px);*/
  /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);*/
}

.news-feed-card .img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 20px;
}

.news-feed-card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}

.news-feed-card:hover .img-wrapper img {
  transform: scale(1.1);
}

.news-feed-text {
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-feed-card .card-title {
  margin: 0;
}

.news-feed-card.truncatable .card-title {
  cursor: pointer;
}

.news-feed-card .read-more {
  display: none;
  margin-top: 12px;
  padding: 8px 20px;
  background: none;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  width: fit-content;
}

.news-feed-card .read-more:hover {
  background: #f3f4f6;
}

.news-feed-card.truncatable .read-more {
  display: inline-block;
}

.news-feed-card.expanded .read-more {
  display: none;
}

.news-feed-toggle {
  display: none;
  margin-top: 12px;
  padding: 8px 20px;
  background: none;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
}

.news-feed-toggle:hover {
  background: #f3f4f6;
}

.news-feed-card.expanded .news-feed-toggle {
  display: block;
}

.news-feed-card:not(.truncatable) .news-feed-toggle {
  display: none !important;
}

.news-feed-card .card-date {
  font-size: 20px;
  color: #9CA3AF;
  font-weight: 400;
  margin-bottom: 8px;
}

.news-feed-card .card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0;
}

/* Small news cards (no image) */
.news-feed-card-small {
  min-height: 180px;
  justify-content: flex-end;
}

.news-feed-card-small .news-feed-text {
  padding: 20px 24px;
}

/* Solutions Section */
.solutions-section {
  padding: 40px 0;
}

/* Horizontal scroll for project cards */
.solutions-section .view-content .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.solutions-section .view-content .row > .col-lg-4 {
  flex: 0 0 calc(33.333% - 11px);
  max-width: calc(33.333% - 11px);
  scroll-snap-align: start;
}

.solutions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.solutions-header .title {
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 58px;
}

.view-all-btn {
  background: transparent;
  border: none;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s;
  color: inherit;
}

.view-all-btn:hover {
  opacity: 0.8;
}

.solution-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

a.solution-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

a.solution-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.solution-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}

.solution-card:hover .solution-img img {
  transform: scale(1.05);
}

.solution-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-content .card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.solution-content .card-badge {
  margin-top: auto;
}

.badge-green {
  color: #388E3C;
  background: #81C78433;
}

.badge-purple {
  color: #7E57C2;
  background: #9575CD33;
}

.solutions-nav {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.solutions-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solutions-nav button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

/* Action Cards Section */
.action-section {
  background: var(--bg-light-blue);
  padding-top: 60px;
}

.action-section .section-title{
  z-index: 10;
  position: relative;
}

.action-section .action-card {
  /*min-width: 420px;*/
  /*min-height: 382px;*/
}

.action-section .card-title {
  margin-top: 60px !important;
}

.action-card {
  background: #fff;
  border-radius: 20px;
  padding: 0 24px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}

/*.action-card:hover {*/
/*  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);*/
/*  transform: translateY(-3px);*/
/*}*/

a.action-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

a.action-card-link:hover,
a.action-card-link:visited,
a.action-card-link:active,
a.action-card-link:focus {
  text-decoration: none;
  color: inherit;
}

.support-it-section a.action-card-link:hover .action-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.action-icon {
  width: 71px;
  height: 87px;
  position: absolute;
  top: 32px;
  right: 24px;
  opacity: 0.2;
}

.action-icon img {
  width: 100%;
  height: 100%;
}

.card-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 0 0 5px 5px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  width: fit-content;
  margin-bottom: 0;
}

.badge-teal {
  color: #28AC9C;
  background: #60C9BC33;
}

.badge-blue {
  color: #0169E2;
  background: #81B4EF33;
}

/* Projects filter links as horizontal badges */
.view-projects .views-exposed-form {
  margin-bottom: 24px;
}
.view-projects .views-exposed-widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  float: none !important;
}
.view-projects .views-exposed-widget {
  float: none !important;
  margin-right: 0 !important;
  padding: 0 !important;
}
.view-projects .views-widget {
  width: 100%;
}
.bef-select-as-links {
  display: block !important;
}
.bef-select-as-links > .form-item {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
.bef-select-as-links .form-type-bef-link {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
.bef-select-as-links .form-type-bef-link a {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #0169E2;
  background: #81B4EF33;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  width: fit-content;
}
.bef-select-as-links .form-item a:hover {
  background: #0169E2;
  color: #fff;
}
.bef-select-as-links .form-item a.active {
  background: #0169E2;
  color: #fff;
}
.view-projects .views-exposed-widget.views-submit-button {
  display: none;
}
@media (max-width: 767.98px) {
  .bef-select-as-links {
    gap: 6px;
  }
  .bef-select-as-links .form-item a {
    padding: 5px 10px;
    font-size: 12px;
  }
}

.card-individual .action-icon img {
  filter: brightness(0) saturate(100%) invert(52%) sepia(79%) saturate(389%) hue-rotate(131deg) brightness(92%) contrast(91%);
}

.card-legal .action-icon img {
  filter: brightness(0) saturate(100%) invert(33%) sepia(98%) saturate(2640%) hue-rotate(201deg) brightness(98%) contrast(105%);
}

.action-card .card-title {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  margin-top: .5rem;
  margin-bottom: 20px;
  padding-top: 10px;
}

/* В карточках «Участвуйте в цифровизации» иконка — абсолютный водяной знак
   справа сверху: заголовку нужен правый отступ, иначе наезжает на иконку */
.action-section .action-card .card-title {
  padding-right: 80px;
  padding-top: 0;
}

.action-card .card-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--btn-blue);
}

.btn-action {
  background: var(--btn-blue);
  color: #fff;
  border: none;
  padding: 5px 30px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.875rem;
  width: fit-content;
  transition: background 0.3s;
}

.btn-action:hover {
  background: var(--primary-blue);
  color: #fff;
}

.btn-action-white {
  background: var(--btn-white);
  color: var(--text-blue-color);
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.98rem;
  transition: background 0.3s;
}

.btn-action-white:hover {
  background: var(--btn-white-hover);
  color: var(--text-blue-color);
}

.action-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.action-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Support IT Section */
.support-it-section {
  padding: 40px 0;
  background: var(--bg-light-blue);
}

/* Measures cards — shared for front page and /measures/all
   (размер/вес заголовка — в базовом .action-card .card-title) */
.support-it-section .action-card .card-title,
.page-measures-all .action-card .card-title,
.main-page .action-card .card-title {
  text-align: left;
  width: 100%;
}

.support-it-section .action-card .card-amount,
.page-measures-all .action-card .card-amount,
.main-page .action-card .card-amount {
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-blue);
  text-align: left;
  width: 100%;
}

.page-measures-all .action-card,
.main-page .action-card {
  background: #fff;
}


.support-it-section .action-card .card-amount {
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-blue);
  text-align: left;
  width: 100%;
}

/* Hotlines Section */
.hotlines-section {
  padding: 60px 0;
  background: url('../img/new/call.jpg') center / cover no-repeat;
  position: relative;
}

.hotlines-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 26, 73, 0.2);
}

.hotlines-section .container {
  position: relative;
  z-index: 1;
}

.hotlines-section .section-title {
  color: #fff;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hotlines-section .section-title .section-title-digit{
  color: #fff;
  font-size: 88px;
  padding-left: 16px;
}

.hotline-content {
  max-width: 100%;
}

.hotline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hotline-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 0;
}

.hotline-item:last-child {
  border-bottom: none;
}

.hotline-org {
  font-size: 20px;
  font-weight: 400;
  max-width: 300px;
  color: #fff;
}

.hotline-phone {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.hotline-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hotline-phone:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Useful Links Section */
.links-section {
  background: var(--bg-light-blue);
  padding: 60px 0;
}

.links-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 10px;
}

.link-card {
  flex: 1 1 200px;
  max-width: 250px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}

.link-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.link-card img {
  max-width: 200px;
  object-fit: contain;
}

/* Map Section */
.map-section {
  position: relative;
  min-height: 500px;
}

.map-section #map {
  width: 100%;
  height: 500px;
  opacity: 0;
  transition: opacity 0.4s;
}

.map-section #map.map-ready {
  opacity: 1;
}

.contact-card {
  position: absolute;
  bottom: 60px;
  left: calc((100% - 1281px) / 2);
  background: var(--primary-blue);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  z-index: 10;
}

.contact-card .org-name {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 20px;
}

.contact-info {
  margin-bottom: 16px;
  color: #fff !important;
}

.contact-info * {
  color: #fff !important;
}

.contact-info:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 4px;
}

.contact-value {
  font-weight: 300;
  font-size: 20px;
  line-height: 24px;
}

.contact-value a {
  color: #fff;
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #001A49;
  padding: 24px 0;
  color: var(--footer-text-color);
}

.footer .copyright {
  margin-top: 30px;
  color: var(--footer-text-color);
}

.footer-logo img {
  width: 200px;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-career {
  text-align: right;
}

.footer-career-title {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255);
  transition: background 0.3s;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.8);
}

.footer-social-link img {
  width: 28px;
  height: 28px;
}

/* Section titles */
.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Project Item Page */
.project-item-top-banner-section {
  padding: 10px 0 20px 0;
}

.project-item-top-banner-section .project-banner {
  background: linear-gradient(374deg, #0f49b0 0%, #31dec9 100%);
  border-radius: 20px;
  padding: 40px;
  min-height: 440px;
  color: #fff;
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 6rem;
  align-items: center;
}

.project-banner-title {
  font-family: 'Onest', sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 100%;
  color: #fff;
  margin-top: 16px;
  margin-bottom: 34px;
}

.project-banner-desc {
  font-family: 'Onest', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 31px;
  opacity: 0.9;
  max-width: 700px;
  padding-bottom: 20px;
}

.project-item-top-banner-section .header-icon img {
  aspect-ratio: 423/221;
  max-width: 423px;
  display: block;
  width: 100%;
}

.badge-white {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.project-item-problem-result-section {
  padding: 40px 0 60px;
}

.project-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.project-content-grid .content-ul {
  padding: 20px 20px;
  box-sizing: border-box;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.project-content-grid .content-ul .ul-title {
  color: rgb(28, 28, 28);
  font-family: 'Onest', sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
  text-align: center;
  margin-bottom: 18px;
}

.project-content-grid .content-ul ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-content-grid .content-ul ul li {
  color: rgb(0, 0, 0);
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
  position: relative;
  margin-bottom: 1rem;
  padding-left: 55px;
}

.project-content-grid .content-ul ul li::before {
  content: url('../img/new/icons/icon-resolve.svg');
  left: 0;
  position: absolute;
  top: -2px;
}

.project-content-grid .content-left {
  border: 2px solid rgb(158, 158, 158);
  background: rgb(237, 236, 236);
}

.project-content-grid .content-right {
  border: 2px solid rgb(0, 162, 142);
  background: rgb(223, 255, 240);
}

.project-content-grid .content-right .ul-title {
  color: rgb(0, 122, 107);
}

.project-content-grid .content-right ul li::before {
  content: url('../img/new/icons/icon-result.svg');
}

/* Center block — blue */
.project-content-grid .content-center {
  border: 2px solid rgb(1, 105, 226);
  background: rgb(224, 238, 255);
}

.project-content-grid .content-center .ul-title {
  color: rgb(1, 105, 226);
}

.project-content-grid .content-center ul li::before {
  content: url('../img/new/icons/icon-plus.svg');
}

/* Photo inside content blocks */
.project-content-grid .content-block-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: auto;
}

.project-item-images-section {
  padding: 0 0 60px;
}

.project-image {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* Breadcrumbs */
.breadcrumbs-section {
  padding: 16px 0;
  background: #fff;
  /*border-bottom: 1px solid #E5E7EB;*/
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: var(--btn-blue);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 500;
}

/* Measures page overrides */
.main-page {
  background: #fff;
}

.measures-filters-bar {
  background: #EEF5FF;
  padding: 20px 0;
  margin: 0 calc(-50vw + 50%);
  margin-bottom: 1.5rem;
}

.main-page ._wrapper,
.main-content ._wrapper {
  padding-left: 0;
  padding-right: 0;
}

.main-page__content-information-link {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.overview__slide-more-button {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Projects Section */
.projects-section {
  padding: 40px 0 60px;
  background: #fff;
}

/* Project Item Banner */
.project-item-top-banner-section {
  padding: 10px 0 20px 0;
}

.project-item-top-banner-section .project-banner {
  background: linear-gradient(374deg, #0f49b0 0%, #31dec9 100%);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  color: #fff;
}

.project-item-top-banner-section .project-banner.green {
  background: linear-gradient(45.27deg, rgb(0, 156, 76) 4.681%, rgb(89, 255, 169) 102.827%);
}

.project-item-top-banner-section .project-banner.violet {
  background: linear-gradient(45.27deg, rgb(72, 14, 142) 4.681%, rgb(154, 72, 255) 102.827%);
}

.project-banner-title {
  font-family: 'Onest', sans-serif;
  font-size: 54px;
  font-weight: 700;
  color: #fff;
  line-height: 100%;
  margin: 0 0 34px 0;
}

.project-banner-desc {
  font-family: 'Onest', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  line-height: 31px;
  max-width: 700px;
  margin: 0;
}

.project-item-top-banner-section .header-icon img {
  aspect-ratio: 423/221;
  max-width: 423px;
  display: block;
  width: 100%;
}

.projects-section .section-title {
  margin-bottom: 24px;
}

.projects-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 24px;
  border-radius: 20px;
  border: 1px solid #E5E7EB;
  background: #fff;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: var(--btn-blue);
  color: var(--btn-blue);
}

.filter-btn.active {
  background: var(--btn-blue);
  color: #fff;
  border-color: var(--btn-blue);
}

.project-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  height: 100%;
  min-height: 310px;
}

.project-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.project-card .card-badge {
  margin-bottom: 12px;
}

.project-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0 0 12px;
}

.project-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.project-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
}

.badge-orange {
  color: #E65100;
  background: #FF980033;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 16px;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-top: 20px;
    margin-bottom: 6px;
  }

  .hero-subtitle {
    margin-bottom: 16px;
  }

  .news-feed-section {
    margin-top: 0;
    padding-top: 40px;
  }

  .news-feed-header .title {
    font-size: 28px;
  }

  .news-feed-card-small {
    min-height: auto;
  }

  .action-image {
    margin-top: 20px;
  }

  .action-image img {
    position: relative;
    bottom: 0;
  }

  .contact-card {
    position: relative;
    max-width: 100%;
    margin: 20px;
    left: auto;
    bottom: auto;
  }

  .map-section {
    min-height: auto;
  }

  .project-item-top-banner-section .project-banner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem;
  }

  .project-item-top-banner-section .header-icon img {
    max-width: 60vw;
    margin: 1rem auto;
  }

  .project-banner-title {
    font-size: 28px;
    margin-bottom: 1rem;
  }

  .project-banner-desc {
    font-size: 1rem;
    line-height: 1.4;
  }

  .solutions-header .title {
    font-size: 28px;
    line-height: 1.3;
  }

  .section-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .project-content-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-content-grid .content-ul {
    padding: 1rem 1.5rem;
  }

  .btn-action-white {
    font-size: 0.8rem;
    padding: 10px 16px;
  }

  .navbar-brand img {
    width: 150px;
  }

  .navbar-custom .container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .container {
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.3;
  }

  .solution-card {
    min-height: 240px;
  }

  .solutions-section .view-content .row > .col-lg-4 {
    flex: 0 0 calc(100% - 16px);
    max-width: calc(100% - 16px);
  }

  .hotline-item {
    flex-direction: column;
    gap: 8px;
  }

  .links-wrapper {
    padding: 0 10px;
  }

  .solutions-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .solutions-header .title {
    font-size: 22px;
    line-height: 1.3;
  }

  .section-title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .project-item-top-banner-section .project-banner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1.5rem;
  }

  .project-item-top-banner-section .header-icon img {
    max-width: 60vw;
    margin: 1rem auto;
  }

  .project-banner-title {
    font-size: 24px;
    margin-bottom: 1rem;
  }

  .project-banner-desc {
    font-size: 1rem;
    line-height: 1.4;
  }

  .project-content-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-content-grid .content-ul {
    padding: 1rem 1.5rem;
    border-radius: 1.25rem;
  }

  .project-content-grid .content-ul .ul-title {
    font-size: 22px;
    line-height: 28px;
  }

  .project-content-grid .content-ul ul li {
    font-size: 16px;
    line-height: 22px;
    padding-left: 45px;
  }

  .btn-action-white {
    font-size: 0.7rem;
    padding: 6px 12px;
    border-radius: 20px;
  }

  .navbar-brand img {
    width: 120px;
  }

  .news-feed-view-all-btn {
    font-size: 14px;
  }

  .card-badge {
    font-size: 12px;
    padding: 4px 10px;
  }

  .action-card .card-title {
    font-size: 20px;
    padding-right: 0;
  }

  /* Map — contact card below map */
  .contact-card {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: 100%;
    margin: 16px 0;
    padding: 24px;
    border-radius: 16px;
  }

  /* Links */
  .links-section {
    padding: 30px 0;
  }

  /* Footer — career + socials in one line */
  .footer-right {
    justify-content: flex-start;
    gap: 16px;
    margin-top: 20px;
  }
  .footer-career-title {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .footer-career .btn-action {
    padding: 4px 16px;
    font-size: 0.7rem;
  }
  .footer-social-link {
    width: 40px;
    height: 40px;
  }
  .footer-social-link img {
    width: 22px;
    height: 22px;
  }
}

/* Extra small screens (< 576px) — compact front page */
@media (max-width: 575.98px) {
  /* Hero — compact */
  .hero-section {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 20px;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.1;
    margin-top: 16px;
    margin-bottom: 6px;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .navbar-brand img {
    width: 100px;
  }

  .btn-action-white {
    font-size: 0.6rem;
    padding: 5px 10px;
    border-radius: 16px;
    white-space: nowrap;
  }

  .hero-section .navbar-custom {
    padding: 8px 0;
  }

  /* News — no negative overlap */
  .news-feed-section {
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .news-feed-header {
    margin-bottom: 16px;
  }

  .news-feed-card .img-wrapper {
    aspect-ratio: 16 / 8;
  }

  .news-feed-text {
    padding: 12px 16px 16px;
  }

  .news-feed-card .card-date {
    font-size: 14px;
  }

  .news-feed-card .card-title {
    font-size: 16px;
    line-height: 1.4;
  }

  /* Action section — hide image, compact cards */
  .action-section {
    padding-top: 30px;
  }

  .action-section .section-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .action-image {
    display: none;
  }

  .action-card {
    padding: 0 16px 20px;
  }

  .action-card .card-text {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .action-card .card-title {
    font-size: 18px;
    margin-top: 40px !important;
    padding-right: 0;
  }

  .action-icon {
    width: 50px;
    height: 60px;
    top: 20px;
    right: 16px;
  }

  .btn-action {
    padding: 5px 20px;
    font-size: 0.75rem;
  }

  /* Solutions — compact */
  .solutions-section {
    padding: 24px 0;
  }

  .solutions-header .title {
    font-size: 20px;
    line-height: 1.3;
  }

  .solution-card {
    min-height: 200px;
  }

  .solution-content {
    padding: 14px 16px;
  }

  .solution-content .card-title {
    font-size: 16px;
  }

  /* Support IT — compact */
  .support-it-section {
    padding: 24px 0;
  }

  .support-it-section .action-card .card-title {
    font-size: 18px;
    margin-top: 40px !important;
    padding-right: 0;
  }

  .support-it-section .action-card .card-amount {
    font-size: 14px;
  }

  /* Hotlines */
  .hotlines-section {
    padding: 30px 0;
  }

  .hotline-content {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hotlines-section .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hotlines-section .section-title .section-title-digit {
    font-size: 70px;  /* можно чуть уменьшить цифру на мобильных */
  }

  .hotline-org {
    font-size: 16px;
    max-width: 100%;
  }

  .hotline-phone {
    font-size: 18px;
  }

  /* Section title */
  .section-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  /* Map */
  .map-section {
    min-height: auto;
  }

  .map-section #map {
    height: 300px;
  }

  .contact-card {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: 100%;
    margin: 16px 0;
    padding: 20px;
    border-radius: 16px;
  }

  /* Links */
  .links-section {
    padding: 24px 0;
  }

  .link-card {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
    height: 80px;
    padding: 10px;
  }

  .link-card img {
    max-width: 120px;
  }
}

/* Project images section */
.project-item-images-section {
  padding: 2.5rem 0;
}

.project-item-images-section .project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
}

.project-item-images-section .row {
  margin: 0;
}

/* Badge in project banner — solid background for readability on colored backgrounds */
.project-banner .card-badge,
.solution-card-link .card-badge {
  border-radius: 5px;
}
.project-banner .card-badge.badge-teal {
  background: #60C9BC;
  color: #fff;
}
.project-banner .card-badge.badge-purple {
  background: #9575CD;
  color: #fff;
}
.project-banner .card-badge.badge-blue {
  background: #81B4EF;
  color: #fff;
}

/* News card text expand/collapse */
.news-feed-card {
  cursor: pointer;
}
.news-feed-card .card-text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  margin-top: 0;
}
.news-feed-card.expanded .card-text {
  margin-top: 0.75rem;
}
.news-feed-card .news-hide-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 6px 24px;
  border: 1px solid #0169E2;
  border-radius: 30px;
  background: transparent;
  color: #0169E2;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.news-feed-card .news-hide-btn:hover {
  background: #0169E2;
  color: #fff;
}
