

/* ===== Congress custom styles ===== */

body {
  font-family: 'Inter', sans-serif;
  color: #1f2937;
}

/* ===== Цвет текста внутри обычных страниц ===== */

.region-content,
.region-content .node,
.region-content .node__content,
.region-content .field--name-body,
.region-content .text-formatted,
.region-content .field__item {
  color: #1f2937 !important;
}

.region-content h1,
.region-content h2,
.region-content h3,
.region-content h4,
.region-content h5,
.region-content h6 {
  color: #0f2b46 !important;
}

.region-content .block h1 {
  margin-top: 10px;
}

.region-content p,
.region-content div,
.region-content span,
.region-content li {
  color: #1f2937 !important;
}

.region-content a {
  color: #0f4c81 !important;
}

.region-content a:hover {
  color: #0c3d68 !important;
}

.topbar {
  background: #f3f7fb;
  border-bottom: 1px solid #dbe7f2;
  font-size: 0.95rem;
}

.site-header {
  background: #ffffff;
}

.site-title, .navbar-brand a.site-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #172560;
}

.site-subtitle {
  color: #5b6b7c;
  font-size: 0.95rem;
}

#mainNav {
  background: #0f4c81 !important;
}

#mainNav .nav-link,
#mainNav .navbar-brand,
#mainNav .navbar-toggler {
  color: #fff !important;
}

#mainNav .nav-link {
  font-weight: 600;
}

.hero {
  background: linear-gradient(135deg, #f3f8fc 0%, #ffffff 55%, #e8f2fb 100%);
  padding: 5rem 0;
}

.hero-badge {
  display: inline-block;
  background: #e8f2fb;
  color: #0f4c81;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  color: #0f2b46;
  font-weight: 800;
}

.hero p.lead {
  color: #4b5d70;
}

.hero-card,
.info-card,
.news-card,
.date-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(15, 43, 70, 0.08);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f2b46;
}

.quick-links .card {
  border: 0;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(15, 43, 70, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-links .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 43, 70, 0.12);
}

.quick-links .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf3fc;
  color: #0f4c81;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.bg-soft {
  background: #f7fafc;
}

.partners img {
  max-height: 180px;
  opacity: 0.8;
}

footer.footer-main {
  background: #0f2b46 !important;
}

footer.footer-main,
footer.footer-main p,
footer.footer-main li,
footer.footer-main h5,
footer.footer-main .small,
footer.footer-main a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-main a {
  text-decoration: none;
}

.footer-main a:hover {
  color: #fff;
}

.hero .btn-primary {
  background-color: #0f4c81;
  border-color: #0f4c81;
}

.hero .btn-primary:hover,
.hero .btn-primary:focus {
  background-color: #0c3d68;
  border-color: #0c3d68;
}

.hero .btn-outline-secondary {
  color: #0f2b46;
  border-color: #0f2b46;
}

.hero .btn-outline-secondary:hover,
.hero .btn-outline-secondary:focus {
  color: #fff;
  background-color: #0f2b46;
  border-color: #0f2b46;
}

@media (max-width: 991.98px) {
  .site-title {
    font-size: 1.2rem;
  }

  .hero {
    padding: 3rem 0;
  }
}

.header-branding .site-logo img,
.header-branding img {
  max-height: 78px;
  width: auto;
}

.header-branding .site-name,
.header-branding .navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f2b46;
}

.header-branding .site-slogan {
  color: #5b6b7c;
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

#mainNav .navbar-nav {
  gap: 0.5rem;
}

#mainNav .nav-link {
  color: #fff !important;
  font-weight: 600;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.topbar {
  background: #f3f7fb;
  border-bottom: 1px solid #dbe7f2;
  font-size: 0.95rem;
  color: #2f3b4d !important;
}

.topbar > .container,
.topbar > .container-fluid,
.topbar div,
.topbar span,
.topbar a {
  color: #2f3b4d !important;
  opacity: 1 !important;
}

.topbar i,
.topbar .bi {
  color: #0f4c81 !important;
}

.news-grid .views-row {
  height: 100%;
}

.news-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(15, 43, 70, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 43, 70, 0.12);
}

.news-card .card-body {
  position: relative;
}

.news-card h3 a {
  color: #0f2b46 !important;
  text-decoration: none;
}

.news-card h3 a:hover {
  color: #0f4c81 !important;
}

.news-card .node__links,
.news-card footer.node__meta {
  display: none;
}

/* ===== Breadcrumbs ===== */

.region-breadcrumb {
  margin: 1.25rem 0 1.75rem;
}

.region-breadcrumb nav[aria-label="breadcrumb"] {
  background: #f8fafc;
  border: 1px solid #e3ebf3;
  border-radius: 10px;
  padding: 0.7rem 1rem;
}

.region-breadcrumb .breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
  font-size: 0.95rem;
}

.region-breadcrumb .breadcrumb-item,
.region-breadcrumb .breadcrumb-item.active {
  color: #667789;
}

.region-breadcrumb .breadcrumb-item a {
  color: #0f4c81;
  text-decoration: none;
  font-weight: 500;
}

.region-breadcrumb .breadcrumb-item a:hover {
  color: #0c3d68;
  text-decoration: underline;
}

.region-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #9aa8b6;
  content: "›";
  font-weight: 600;
}

.hero {
  background: linear-gradient(135deg, #f3f8fc 0%, #ffffff 55%, #e8f2fb 100%);
  padding: 5rem 0;
}

.hero-badge {
  display: inline-block;
  background: #e8f2fb;
  color: #0f4c81;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  color: #0f2b46;
  font-weight: 800;
}

.hero p.lead {
  color: #4b5d70;
}

.hero-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(15, 43, 70, 0.08);
}

.hero .btn-primary {
  background-color: #0f4c81;
  border-color: #0f4c81;
}

.hero .btn-primary:hover,
.hero .btn-primary:focus {
  background-color: #0c3d68;
  border-color: #0c3d68;
}

.hero .btn-outline-secondary {
  color: #0f2b46;
  border-color: #0f2b46;
}

.hero .btn-outline-secondary:hover,
.hero .btn-outline-secondary:focus {
  color: #fff;
  background-color: #0f2b46;
  border-color: #0f2b46;
}

.info-files {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid #0c3d68;
  border-radius: 1rem;
  text-decoration: none;
  color: #0c3d68;
  background: #fff;
  transition: all 0.2s ease;
}

.info-file:hover {
  background: #f7fbff;
  color: #0c3d68;
  border-color: #0c3d68;
}

.info-file__left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.info-file__left .bi-file-earmark-pdf {
  font-size: 1.6rem;
  line-height: 1;
  flex: 0 0 auto;
}

.info-file__text {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.info-file__download {
  font-size: 1.5rem;
  line-height: 1;
  flex: 0 0 auto;
}

@media (max-width: 991.98px) {
  .hero {
    padding: 3rem 0;
  }

  .info-file {
    padding: 0.9rem 1rem;
  }

  .info-file__text {
    font-size: 1rem;
  }
}