@charset "UTF-8";
/* Basic CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111111;
  font-weight: 400;
  background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #a3252c;
}

h1 {
  font-size: 2.441rem;
}

h2 {
  font-size: 1.953rem;
}

h3 {
  font-size: 1.563rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.8rem;
}

p {
  margin-bottom: 16px;
}

a {
  color: #a3252c;
  text-decoration: none;
  transition: color 200ms ease-in-out;
}
a:hover, a:focus {
  text-decoration: underline;
  color: rgb(121.435, 27.565, 32.78);
}

*:focus-visible {
  outline: 2px solid #a3252c;
  outline-offset: 2px;
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

blockquote {
  border-left: 4px solid #a3252c;
  padding-left: 16px;
  margin: 24px 0;
  font-style: italic;
  color: #444444;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-1 {
  flex: 0 0 8.3333333333%;
  max-width: 8.3333333333%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-2 {
  flex: 0 0 16.6666666667%;
  max-width: 16.6666666667%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-4 {
  flex: 0 0 33.3333333333%;
  max-width: 33.3333333333%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-5 {
  flex: 0 0 41.6666666667%;
  max-width: 41.6666666667%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-7 {
  flex: 0 0 58.3333333333%;
  max-width: 58.3333333333%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-8 {
  flex: 0 0 66.6666666667%;
  max-width: 66.6666666667%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-10 {
  flex: 0 0 83.3333333333%;
  max-width: 83.3333333333%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-11 {
  flex: 0 0 91.6666666667%;
  max-width: 91.6666666667%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

@media (min-width: 544px) {
  .col-sm {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (min-width: 768px) {
  .col-md {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (min-width: 1024px) {
  .col-lg {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (min-width: 1280px) {
  .col-xl {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .col-xl-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}
.nav-close-btn-wrapper {
  display: none;
}

.site-header {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 1200px; /* match container max-width */
  z-index: 1000;
  background-color: transparent;
  color: #FFFFFF;
  border-bottom: none;
  padding-top: 16px;
  padding-bottom: 16px;
  margin-bottom: 0;
}
.site-header a {
  color: #FFFFFF;
}
.site-header a:hover, .site-header a:focus {
  color: rgb(204.565, 46.435, 55.22);
}
.site-header .row {
  align-items: flex-start;
  min-height: 60px;
}

.site-header > .container {
    background-color: #a3252c; /* branded red bar */
    margin: 0; /* no extra margin since header is already positioned */
    padding: 12px; /* internal spacing */
}

/* Neutralize negative margins in header row so its width equals container */
.site-header .row {
    margin-left: 0;
    margin-right: 0;
}

.site-branding {
  display: flex;
  align-items: center;
}
.site-branding .site-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}
.site-branding .site-title a {
  color: #a3252c;
  text-decoration: none;
}
.site-branding .site-title a:hover, .site-branding .site-title a:focus {
  text-decoration: underline;
}
.site-branding .site-description {
  font-size: 14px;
  color: #444444;
  margin: 0;
}
.site-branding .custom-logo-link img {
  max-height: 80px;
  width: auto;
  display: block;
}

/* Header right section containing nav and search */
.header-right-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
}

.main-navigation {
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
}
.main-navigation * {
  cursor: pointer !important;
}
.main-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
.main-navigation li {
  margin-left: 16px;
  position: relative;
  cursor: pointer;
}
.main-navigation li:first-child {
  margin-left: 0;
}
.main-navigation a {
  display: block;
  padding: 8px 12px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer !important;
}
.main-navigation a:hover, .main-navigation a:focus {
  background-color: #FFFFFF;
  color: #a3252c;
  text-decoration: none;
  cursor: pointer !important;
}
.main-navigation a.current-menu-item, .main-navigation a.current_page_item {
  background-color: #FFFFFF;
  color: #a3252c;
  cursor: pointer !important;
}
.main-navigation ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #a3252c;
  padding: 8px;
  list-style: none;
  min-width: 220px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  z-index: 999;
}
.main-navigation ul.sub-menu li {
  margin: 0;
  width: 100%;
  cursor: pointer;
}
.main-navigation ul.sub-menu a {
  padding: 4px 8px;
  white-space: normal;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer !important;
}
.main-navigation ul.sub-menu a:hover, .main-navigation ul.sub-menu a:focus {
  background-color: #FFFFFF;
  color: #a3252c;
  text-decoration: none;
  cursor: pointer !important;
}
.main-navigation li:hover > ul.sub-menu {
  display: block;
}
.main-navigation .menu-toggle {
  display: none;
  padding: 6px 10px;
  font-size: 14.4px;
  color: #a3252c;
  background-color: transparent;
  border: 1px solid #a3252c;
  border-radius: 4px;
  cursor: pointer;
}
.main-navigation .menu-toggle:hover, .main-navigation .menu-toggle:focus {
  background-color: rgba(163, 37, 44, 0.1);
}

/* Header search form */
.header-search {
  display: flex !important;
  justify-content: flex-end !important;
}

.header-search .search-form {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
}

.header-search .search-field {
  border: none;
  background: transparent;
  padding: 4px 8px;
  font-size: 14px;
  width: 200px;
  outline: none;
  color: #333;
}

.header-search .search-field::placeholder {
  color: #666;
}

.header-search .search-submit {
  background-color: #a3252c;
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}

.header-search .search-submit:hover {
  background-color: #8c1f28;
}

.header-search .screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.language-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}
.language-switcher p {
  margin: 0;
  font-size: 14.4px;
}

@media (max-width: 767px) {
  .site-header .site-branding {
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 12px;
  }
  .main-navigation {
    width: 100%;
    order: 2;
  }
  .main-navigation ul.primary-menu-ul {
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 8px;
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #F4F7FA;
    padding: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  }
  .main-navigation ul.primary-menu-ul .nav-close-btn-wrapper {
    display: block;
    list-style: none;
    margin-bottom: 8px;
    text-align: right;
  }
  .main-navigation ul.primary-menu-ul .nav-close-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #111111;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
  }
  .main-navigation ul.primary-menu-ul .nav-close-btn:hover {
    color: #a3252c;
  }
  .main-navigation ul.primary-menu-ul[style*="display: block"],
  .main-navigation ul.primary-menu-ul[style*="display: flex"] {
    display: flex !important;
  }
  .main-navigation li {
    margin-left: 0;
    width: 100%;
  }
  .main-navigation a {
    padding: 10px 12px;
    border-bottom: 1px solid #F4F7FA;
    text-align: center;
  }
  .main-navigation a:last-child {
    border-bottom: none;
  }
  .main-navigation .menu-toggle {
    display: block;
    width: 100%;
    margin-bottom: 8px;
  }
  .main-navigation ul.sub-menu {
    display: block;
    position: static;
    background: transparent;
    box-shadow: none;
    padding-left: 8px;
  }
  .main-navigation ul.sub-menu a {
    padding: 4px 0;
    cursor: pointer;
  }
  .main-navigation li:hover > ul.sub-menu {
    display: block;
  }
  .language-switcher {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    order: 1;
    margin-bottom: 12px;
  }
  
  /* Mobile styles for header right section */
  .header-right-section {
    align-items: center;
    width: 100%;
  }
  
  .header-search {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  
  .header-search .search-field {
    width: 150px;
    font-size: 13px;
  }
  
  .header-search .search-submit {
    padding: 4px 8px;
    font-size: 12px;
  }
}
[x-cloak] {
  display: none !important;
}

.site-footer {
  background-color: #a3252c;
  color: #FFFFFF;
  padding-top: 32px;
  padding-bottom: 32px;
  margin-top: 32px;
  font-size: 14px;
}
.site-footer a {
  color: #FFFFFF;
  text-decoration: underline;
}
.site-footer a:hover, .site-footer a:focus {
  text-decoration: none;
  opacity: 0.8;
}
.site-footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.site-footer .footer-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.site-footer .footer-navigation li {
  margin-right: 16px;
  margin-bottom: 8px;
}
.site-footer .footer-navigation li:last-child {
  margin-right: 0;
}
.site-footer .footer-navigation a {
  text-decoration: none;
}
.site-footer .footer-navigation a:hover, .site-footer .footer-navigation a:focus {
  text-decoration: underline;
}
.site-footer .social-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.site-footer .social-links li {
  margin-right: 12px;
}
.site-footer .social-links li:last-child {
  margin-right: 0;
}
.site-footer .site-info {
  text-align: center;
  border-top: 1px solid rgb(204.565, 46.435, 55.22);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 12.8px;
  opacity: 0.7;
}

.btn, #comments ol.comment-list article.comment-body .reply .comment-reply-link, #comments .comment-form .form-submit input[type=submit] {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.75em 1.5em;
  font-size: 16px;
  line-height: 1.6;
  border-radius: 4px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:hover, #comments ol.comment-list article.comment-body .reply .comment-reply-link:hover, #comments .comment-form .form-submit input[type=submit]:hover, .btn:focus, #comments ol.comment-list article.comment-body .reply .comment-reply-link:focus, #comments .comment-form .form-submit input[type=submit]:focus {
  text-decoration: none;
}
.btn:focus, #comments ol.comment-list article.comment-body .reply .comment-reply-link:focus, #comments .comment-form .form-submit input[type=submit]:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(163, 37, 44, 0.5);
}
.btn.btn-primary, #comments ol.comment-list article.comment-body .reply .btn-primary.comment-reply-link, #comments .comment-form .form-submit input.btn-primary[type=submit], #comments .comment-form .form-submit input.btn[type=submit], #comments ol.comment-list article.comment-body .reply .comment-form .form-submit input.comment-reply-link[type=submit], #comments .comment-form .form-submit ol.comment-list article.comment-body .reply input.comment-reply-link[type=submit], #comments .comment-form .form-submit input[type=submit] {
  color: #FFFFFF;
  background-color: #a3252c;
  border-color: #a3252c;
}
.btn.btn-primary:hover, #comments ol.comment-list article.comment-body .reply .btn-primary.comment-reply-link:hover, #comments .comment-form .form-submit input.btn-primary[type=submit]:hover, #comments .comment-form .form-submit input.btn[type=submit]:hover, #comments ol.comment-list article.comment-body .reply .comment-form .form-submit input.comment-reply-link[type=submit]:hover, #comments .comment-form .form-submit ol.comment-list article.comment-body .reply input.comment-reply-link[type=submit]:hover, #comments .comment-form .form-submit input[type=submit]:hover, .btn.btn-primary:focus, #comments ol.comment-list article.comment-body .reply .btn-primary.comment-reply-link:focus, #comments .comment-form .form-submit input.btn-primary[type=submit]:focus, #comments .comment-form .form-submit input.btn[type=submit]:focus, #comments ol.comment-list article.comment-body .reply .comment-form .form-submit input.comment-reply-link[type=submit]:focus, #comments .comment-form .form-submit ol.comment-list article.comment-body .reply input.comment-reply-link[type=submit]:focus, #comments .comment-form .form-submit input[type=submit]:focus {
  background-color: rgb(121.435, 27.565, 32.78);
  border-color: rgb(113.122, 25.678, 30.536);
  color: #FFFFFF;
}
.btn.btn-secondary, #comments .comment-form .form-submit input.btn-secondary[type=submit], #comments ol.comment-list article.comment-body .reply .comment-reply-link {
  color: #a3252c;
  background-color: transparent;
  border-color: #a3252c;
}
.btn.btn-secondary:hover, #comments .comment-form .form-submit input.btn-secondary[type=submit]:hover, #comments ol.comment-list article.comment-body .reply .comment-reply-link:hover, .btn.btn-secondary:focus, #comments .comment-form .form-submit input.btn-secondary[type=submit]:focus, #comments ol.comment-list article.comment-body .reply .comment-reply-link:focus {
  color: #FFFFFF;
  background-color: #a3252c;
  border-color: #a3252c;
}
.btn.btn-lg, #comments ol.comment-list article.comment-body .reply .btn-lg.comment-reply-link, #comments .comment-form .form-submit input.btn-lg[type=submit] {
  padding: 0.9375em 2.25em;
  font-size: 18px;
}
.btn.btn-sm, #comments .comment-form .form-submit input.btn-sm[type=submit], #comments ol.comment-list article.comment-body .reply .comment-reply-link {
  padding: 0.5625em 1.2em;
  font-size: 14px;
}

.card {
  background-color: #FFFFFF;
  margin-bottom: 20px;
}

.post-card .post-date {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
}

label {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

input[type=text],
input[type=email],
input[type=password],
input[type=search],
input[type=tel],
input[type=url],
input[type=number],
textarea,
select {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #111111;
  background-color: #FFFFFF;
  background-clip: padding-box;
  border: 1px solid rgb(191.40625, 208.75, 226.09375);
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=number]:focus,
textarea:focus,
select:focus {
  border-color: #a3252c;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(163, 37, 44, 0.25);
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder,
input[type=search]::placeholder,
input[type=tel]::placeholder,
input[type=url]::placeholder,
input[type=number]::placeholder,
textarea::placeholder,
select::placeholder {
  color: #777777;
  opacity: 1;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

.form-group {
  margin-bottom: 16px;
}

.wp-block-gallery,
.wp-block-image,
.wp-block-cover,
.wp-block-media-text,
.wp-block-table,
.wp-block-video,
.wp-block-embed,
.wp-block-buttons,
.wp-block-columns,
.wp-block-group,
.wp-block-verse,
.wp-block-separator,
.wp-block-spacer,
.wp-block-archives,
.wp-block-calendar,
.wp-block-categories,
.wp-block-latest-comments,
.wp-block-latest-posts,
.wp-block-rss,
.wp-block-search,
.wp-block-tag-cloud,
.wp-block-navigation,
.wp-block-page-list,
.wp-block-post-author,
.wp-block-post-comments,
.wp-block-post-content,
.wp-block-post-date,
.wp-block-post-excerpt,
.wp-block-post-featured-image,
.wp-block-post-navigation-link,
.wp-block-post-terms,
.wp-block-post-title,
.wp-block-query,
.wp-block-query-loop,
.wp-block-query-pagination,
.wp-block-query-no-results,
.wp-block-read-more,
.wp-block-site-logo,
.wp-block-site-tagline,
.wp-block-site-title,
.wp-block-template-part,
.widget {
  margin-bottom: 16px;
}

.mb-4 {
  margin-bottom: 32px !important;
}

.d-flex {
  display: flex !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.h-100 {
  height: 100% !important;
}

.flex-column {
  flex-direction: column !important;
}

.mt-auto {
  margin-top: auto !important;
}

.post-card .card-img-top-wrapper {
  overflow: hidden;
}
.post-card .card-img-top-wrapper a {
  display: block;
}
.post-card .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.post-card .card-img-top:hover {
  transform: scale(1.05);
}
.post-card .entry-title {
  font-size: 20px;
  margin-bottom: 12px;
  min-height: 72px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.post-card .entry-title a {
  color: #111111;
  text-decoration: none;
}
.post-card .entry-title a:hover {
  color: #a3252c;
}
.post-card .entry-summary {
  font-size: 14.4px;
  margin-bottom: 16px;
}
.page-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F4F7FA;
}
.page-header .page-title {
  font-size: 32px;
  font-weight: 700;
  color: #a3252c;
  margin-bottom: 4px;
}
.page-header .archive-description {
  font-size: 16px;
  color: #444444;
  margin-top: 8px;
}

.pagination {
  margin-top: 32px;
  margin-bottom: 32px;
}
.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}
.pagination .nav-links .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 4px;
  border: 1px solid #F4F7FA;
  border-radius: 4px;
  color: #a3252c;
  text-decoration: none;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
.pagination .nav-links .page-numbers:hover, .pagination .nav-links .page-numbers:focus {
  background-color: #F4F7FA;
  color: #a3252c;
  text-decoration: none;
}
.pagination .nav-links .page-numbers.current {
  background-color: #a3252c;
  border-color: #a3252c;
  color: #FFFFFF;
  font-weight: 700;
}
.pagination .nav-links .page-numbers.dots {
  border: none;
  padding-left: 8px;
  padding-right: 8px;
}
.entry-single .entry-title {
  font-size: 40px;
  margin-bottom: 8px;
  color: #111111;
}
.entry-single .entry-meta {
  font-size: 14.4px;
  color: rgb(93.5, 93.5, 93.5);
  margin-bottom: 24px;
}
.entry-single .entry-meta span {
  margin-right: 16px;
}
.entry-single .entry-meta span:last-child {
  margin-right: 0;
}
.entry-single .entry-meta a {
  color: rgb(80.75, 80.75, 80.75);
  text-decoration: none;
}
.entry-single .entry-meta a:hover {
  color: #a3252c;
  text-decoration: underline;
}
.entry-single .entry-meta .edit-link a {
  font-style: italic;
  font-size: 12.8px;
  margin-left: 8px;
}
.entry-single .post-thumbnail {
  margin-bottom: 24px;
}
.entry-single .post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.entry-single .entry-content p, .entry-single .entry-content ul, .entry-single .entry-content ol, .entry-single .entry-content blockquote, .entry-single .entry-content table {
  margin-bottom: 20px;
}
.entry-single .entry-content h2, .entry-single .entry-content h3, .entry-single .entry-content h4, .entry-single .entry-content h5, .entry-single .entry-content h6 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 700;
  color: #111111;
}
.entry-single .entry-content ul, .entry-single .entry-content ol {
  padding-left: 20px;
}
.entry-single .entry-content ul li, .entry-single .entry-content ol li {
  margin-bottom: 4px;
}
.entry-single .entry-content ul ul, .entry-single .entry-content ul ol, .entry-single .entry-content ol ul, .entry-single .entry-content ol ol {
  margin-top: 4px;
  margin-bottom: 4px;
  padding-left: 20px;
}
.entry-single .entry-content blockquote {
  border-left: 4px solid #a3252c;
  padding-left: 16px;
  margin-left: 0;
  font-style: italic;
  color: #444444;
}
.entry-single .entry-content blockquote p:last-child {
  margin-bottom: 0;
}
.entry-single .entry-content .wp-block-quote {
  margin-bottom: 20px;
  padding: 16px 20px;
  border-left: 4px solid #a3252c;
  background-color: #F4F7FA;
}
.entry-single .entry-content .wp-block-quote p {
  margin-bottom: 12px;
  font-style: italic;
}
.entry-single .entry-content .wp-block-quote p:last-child {
  margin-bottom: 0;
}
.entry-single .entry-content .wp-block-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 14.4px;
  color: rgb(42.5, 42.5, 42.5);
  text-align: right;
}
.entry-single .entry-content .wp-block-pullquote {
  border-top: 2px solid #a3252c;
  border-bottom: 2px solid #a3252c;
  padding: 16px 0;
  margin-top: 24px;
  margin-bottom: 24px;
  text-align: center;
}
.entry-single .entry-content .wp-block-pullquote blockquote {
  border: none;
  padding: 0;
  margin: 0;
  font-style: italic;
  font-size: 19.2px;
  color: #a3252c;
}
.entry-single .entry-content .wp-block-pullquote blockquote p {
  margin-bottom: 8px;
}
.entry-single .entry-content .wp-block-pullquote blockquote cite {
  font-size: 14.4px;
  color: #444444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.entry-single .entry-content .alignleft {
  float: left;
  margin-right: 16px;
  margin-bottom: 8px;
}
.entry-single .entry-content .alignright {
  float: right;
  margin-left: 16px;
  margin-bottom: 8px;
}
.entry-single .entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
  clear: both;
}
.entry-single .entry-content .wp-caption {
  max-width: 100%;
  margin-bottom: 20px;
  background-color: #F4F7FA;
  padding: 8px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
}
.entry-single .entry-content .wp-caption img {
  margin-bottom: 4px;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.entry-single .entry-content .wp-caption.alignleft {
  margin-right: 16px;
}
.entry-single .entry-content .wp-caption.alignright {
  margin-left: 16px;
}
.entry-single .entry-content .wp-caption.aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.entry-single .entry-content .wp-caption .wp-caption-text {
  font-size: 13.6px;
  color: #444444;
  text-align: center;
  margin-bottom: 0;
}
.entry-single .entry-content img.alignleft {
  margin-right: 16px;
  margin-bottom: 8px;
}
.entry-single .entry-content img.alignright {
  margin-left: 16px;
  margin-bottom: 8px;
}
.entry-single .entry-content img.aligncenter {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
}
.entry-single .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14.4px;
}
.entry-single .entry-content table th, .entry-single .entry-content table td {
  border: 1px solid #DEE2E6;
  padding: 12px;
  text-align: left;
}
.entry-single .entry-content table thead th {
  background-color: #F4F7FA;
  font-weight: 700;
  color: #111111;
}
.entry-single .entry-content table tbody tr:nth-child(odd) {
  background-color: rgb(251.0125, 252.1, 253.1875);
}
.entry-single .entry-content table caption {
  padding: 8px;
  font-style: italic;
  color: #444444;
  text-align: left;
  caption-side: bottom;
}
.entry-single .entry-footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #F4F7FA;
  font-size: 14.4px;
  color: #444444;
}
.entry-single .entry-footer .tags-links a {
  text-decoration: none;
  border-bottom: 1px dotted rgb(144.5, 144.5, 144.5);
}
.entry-single .entry-footer .tags-links a:hover {
  border-bottom-style: solid;
  color: #a3252c;
}
.entry-single .post-navigation {
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid #F4F7FA;
  border-bottom: 1px solid #F4F7FA;
  display: flex;
  justify-content: space-between;
}
.entry-single .post-navigation .nav-previous, .entry-single .post-navigation .nav-next {
  flex-basis: 48%;
}
.entry-single .post-navigation .nav-subtitle {
  display: block;
  font-size: 12.8px;
  color: rgb(93.5, 93.5, 93.5);
  margin-bottom: 4px;
}
.entry-single .post-navigation .nav-title {
  font-weight: 700;
  color: #a3252c;
  text-decoration: none;
}
.entry-single .post-navigation .nav-title:hover {
  text-decoration: underline;
}

#comments {
  margin-top: 40px;
}
#comments .comments-title,
#comments .comment-reply-title {
  font-size: 24px;
  margin-bottom: 24px;
  font-weight: 700;
  color: #111111;
}
#comments ol.comment-list {
  list-style: none;
  padding: 0;
}
#comments ol.comment-list article.comment-body {
  padding: 16px;
  border: 1px solid #F4F7FA;
  border-radius: 4px;
  margin-bottom: 16px;
}
#comments ol.comment-list article.comment-body .comment-author img.avatar {
  float: left;
  margin-right: 12px;
  border-radius: 50%;
}
#comments ol.comment-list article.comment-body .comment-meta {
  font-size: 13.6px;
  margin-bottom: 4px;
  color: rgb(93.5, 93.5, 93.5);
}
#comments ol.comment-list article.comment-body .comment-meta a {
  text-decoration: none;
  color: #444444;
}
#comments ol.comment-list article.comment-body .comment-meta a:hover {
  color: #a3252c;
}
#comments ol.comment-list article.comment-body .comment-content {
  clear: both;
}
#comments ol.comment-list article.comment-body .comment-content p:last-child {
  margin-bottom: 0;
}
#comments ol.comment-list article.comment-body .reply {
  margin-top: 8px;
  font-size: 14.4px;
}
#comments ol.comment-list .children {
  list-style: none;
  padding-left: 32px;
}
#comments .comment-form {
  margin-top: 24px;
}
#comments .comment-form input[type=text],
#comments .comment-form input[type=email],
#comments .comment-form input[type=url],
#comments .comment-form textarea {
  margin-bottom: 16px;
}
#comments .comment-form .comment-notes, #comments .comment-form .logged-in-as {
  font-size: 13.6px;
  color: #444444;
  margin-bottom: 16px;
}

.home-swiper {
  width: 100%;
  /* Поддерживаем постоянное соотношение сторон, чтобы высота не прыгала */
  aspect-ratio: 16/9;
  /* Ограничим максимальную высоту на очень широких экранах */
  max-height: 600px;
  /* Каждому слайду задаём одинаковую высоту */
}
.home-swiper .swiper-slide {
  height: 100%;
  position: relative;
}
.home-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* чтобы изображение корректно заполняло контейнер */
  display: block;
}

.home-swiper .slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #aeaeae;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}
.home-swiper .slide-caption-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  z-index: 2;
  pointer-events: none;
}
.home-swiper .slide-title-overlay {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  width: 100%;
  /* max-width: 400px; */
}
@media (max-width: 768px) {
  .home-swiper .slide-caption-overlay {
    padding: 30px;
  }
  .home-swiper .slide-title-overlay {
    font-size: 2rem;
    width: 100%;
    /* max-width: 300px; */
  }
}
@media (max-width: 480px) {
  .home-swiper .slide-caption-overlay {
    padding: 20px;
  }
  .home-swiper .slide-title-overlay {
    font-size: 1.5rem;
    width: 1000%;
    /* max-width: 250px; */
  }
}

.work-directions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.work-directions-grid .work-tile {
  flex: 1 1 calc(25% - 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-decoration: none;
  color: #fff;
  min-width: 0;
  height: 180px;
  border-radius: 4px;
  margin: 0;
}
@media (max-width: 1024px) {
  .work-directions-grid .work-tile {
    flex: 1 1 calc(50% - 8px);
  }
}
@media (max-width: 544px) {
  .work-directions-grid .work-tile {
    flex: 1 1 100%;
  }
}
.work-directions-grid .work-tile.blue {
  background-color: #a3252c;
}
.work-directions-grid .work-tile.orange {
  background-color: #F3702A;
}
.work-directions-grid .work-tile.red {
  background-color: #D43545;
}
.work-directions-grid .work-tile.navy {
  background-color: rgb(204.565, 46.435, 55.22);
}
.work-directions-grid .work-tile .work-tile-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  max-width: 90%;
  margin: 0 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}

.work-directions-section {
  margin-top: 48px;
  margin-bottom: 48px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #a3252c;
}

.intro-section {
  margin: 32px 0;
  max-width: 800px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.intro-section .intro-title {
  font-size: 2rem;
  font-weight: 700;
  color: #a3252c;
  margin-bottom: 16px;
}
.intro-section .intro-text {
  font-size: 1.125rem;
  line-height: 1.5;
  color: #111111;
  margin-bottom: 24px;
}
.intro-section .intro-btn {
  padding: 0.75em 1.5em;
  border-radius: 4px;
  background-color: #a3252c;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 200ms ease-in-out;
}
.intro-section .intro-btn:hover, .intro-section .intro-btn:focus {
  background-color: rgb(121.435, 27.565, 32.78);
  color: #FFFFFF;
  text-decoration: none;
}

.video-section {
  margin-top: 32px;
}
.video-section .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #a3252c;
}
.video-section .video-playlist {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 992px) {
  .video-section .video-playlist {
    flex-direction: row;
  }
}
.video-section .video-playlist .video-player {
  flex: 1 1 65%;
  aspect-ratio: 16/9;
}
.video-section .video-playlist .video-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-section .video-playlist .video-list {
  flex: 0 0 35%;
  max-height: 420px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.video-section .video-playlist .video-list .video-item {
  display: flex;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}
.video-section .video-playlist .video-list .video-item.active .video-item-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid #a3252c;
  border-radius: 4px;
}
.video-section .video-playlist .video-list .video-item .video-item-thumb {
  position: relative;
  width: 120px;
  flex-shrink: 0;
}
.video-section .video-playlist .video-list .video-item .video-item-thumb img {
  width: 100%;
  height: 67px;
  object-fit: cover;
  border-radius: 4px;
}
.video-section .video-playlist .video-list .video-item .video-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.3;
}
.video-section .video-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.video-section .video-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.video-section .video-card .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-section .video-card .play-overlay::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.video-section .video-card .video-title {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  line-height: 1.3;
}
.video-section .video-card:hover .play-overlay {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Зеркальное расположение - список слева, плеер справа */
.video-section.video-section-mirror {
  margin-top: 50px !important;
}
.video-section.video-section-mirror .video-playlist {
  flex-direction: column;
}
@media (min-width: 992px) {
  .video-section.video-section-mirror .video-playlist {
    flex-direction: row !important;
  }
  /* Принудительно меняем порядок элементов */
  .video-section.video-section-mirror .video-list {
    order: 1 !important;
    flex: 0 0 35% !important;
  }
  .video-section.video-section-mirror .video-player {
    order: 2 !important; 
    flex: 1 1 65% !important;
  }
}

/* Стили для сообщений о загрузке видео */
.video-loading-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  background-color: #f5f5f5;
  border-radius: 4px;
  text-align: center;
  color: #666;
}
.video-loading-message p {
  margin: 10px 0;
}
.video-placeholder {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 67px;
  background-color: #f0f0f0;
  border-radius: 4px;
}

.doc-section-title {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  border-bottom: 1px solid #999;
  padding-bottom: 0.3rem;
}

.legislation-item {
  margin-bottom: 1.5rem;
}
.legislation-item .doc-title {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.125rem;
}
.legislation-item .doc-excerpt {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.25rem;
}
.legislation-item hr {
  /* Равный отступ сверху и снизу */
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}

.single .entry-header,
.page .entry-header,
.site-main .page-title {
  margin-top: 3rem;
}

/* Hide post navigation completely */
.post-navigation,
.navigation.post-navigation,
nav[class*="post-navigation"] {
  display: none !important;
}

/* Ensure WordPress block images display correctly */
.wp-block-image {
  margin-bottom: 1.5rem;
}

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

.wp-block-image.aligncenter {
  text-align: center;
}

.wp-block-image.aligncenter img {
  margin: 0 auto;
}

/* WordPress block images - specific targeting only */
.wp-block-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Specific fix for image that's not loading */
.wp-image-13505 {
  max-width: 100%;
  height: auto;
  min-height: 200px;
  background-color: #f5f5f5;
  background-image: url('https://doctorsby.com/wp-content/uploads/2025/05/belarusbehive-eu2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ensure figure elements don't collapse */
figure.wp-block-image {
  margin: 1.5rem 0;
}

figure.wp-block-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}



/* Position header relative to slider container */
.home-slider-wrapper {
    position: relative;
    margin-top: 0;
}

.home-slider-wrapper .overlay-header {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    background-color: #a3252c;
    padding: 12px;
    z-index: 1000;
    color: #FFFFFF;
}

/* Fix overlay header navigation styling */
.overlay-header .main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.overlay-header .main-navigation li {
    margin-left: 16px;
    position: relative;
    cursor: pointer;
}

.overlay-header .main-navigation li:first-child {
    margin-left: 0;
}

.overlay-header .main-navigation a {
    display: block;
    padding: 8px 12px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer !important;
}

.overlay-header .main-navigation a:hover,
.overlay-header .main-navigation a:focus {
    background-color: #FFFFFF;
    color: #a3252c;
    text-decoration: none;
    border-radius: 5px;
}

.overlay-header .main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #a3252c;
    padding: 8px;
    list-style: none;
    min-width: 220px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    z-index: 999;
}

.overlay-header .main-navigation li:hover > .sub-menu {
    display: block;
}

.overlay-header .row {
    margin-left: 0;
    margin-right: 0;
}

/* Overlay header right section for nav and search */
.overlay-header .header-right-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 8px !important;
}

.overlay-header .main-navigation ul {
    justify-content: flex-end !important;
}

.overlay-header .header-search {
    display: flex !important;
    justify-content: flex-end !important;
}

/* Hide site header - using overlay header instead */
.site-header {
    display: none !important;
}

/* Mobile Menu - показывается только на мобильных */
.mobile-header {
    display: none;
}

@media (max-width: 767px) {
    /* Скрываем overlay-header на мобильных */
    .overlay-header {
        display: none !important;
    }
    
    /* Показываем мобильное меню */
    .mobile-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #a3252c;
        padding: 12px 20px;
        z-index: 9999;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .mobile-header .mobile-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-header .logo img {
        height: 40px;
        width: auto;
    }
    
    /* Гамбургер кнопка */
    .mobile-header .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 4px;
        background: none;
        border: none;
        width: 30px;
        height: 30px;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-header .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #FFFFFF;
        margin: 2px 0;
        transition: 0.3s;
    }
    
    /* Анимация гамбургера */
    .mobile-header .hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-header .hamburger.active span:nth-child(2) {
        opacity: 0; transform: scale(0);
    }
    
    .mobile-header .hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    /* Мобильное меню */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 64px; /* Высота mobile-header */
        left: 0;
        right: 0;
        background-color: #a3252c;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        z-index: 9998;
        padding: 20px;
    }
    
    
    .mobile-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .mobile-menu li {
        margin-bottom: 10px;
    }
    
    .mobile-menu a {
        display: block;
        padding: 12px 0;
        color: #FFFFFF;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .mobile-menu a:hover {
        background-color: rgba(255,255,255,0.1);
        padding-left: 10px;
        transition: all 0.3s ease;
    }
    
    /* Mobile search styles */
    .mobile-menu .mobile-search-item {
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 15px;
    }
    
    .mobile-menu .mobile-search-form {
        display: flex;
        gap: 8px;
        width: 100%;
    }
    
    .mobile-menu .mobile-search-field {
        flex: 1;
        padding: 10px 12px;
        border: 1px solid rgba(255,255,255,0.3);
        background-color: rgba(255,255,255,0.1);
        color: #FFFFFF;
        border-radius: 4px;
        font-size: 16px;
        outline: none;
    }
    
    .mobile-menu .mobile-search-field::placeholder {
        color: rgba(255,255,255,0.7);
    }
    
    .mobile-menu .mobile-search-field:focus {
        border-color: #FFFFFF;
        background-color: rgba(255,255,255,0.2);
    }
    
    .mobile-menu .mobile-search-submit {
        padding: 10px 16px;
        background-color: #FFFFFF;
        color: #a3252c;
        border: none;
        border-radius: 4px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        white-space: nowrap;
    }
    
    .mobile-menu .mobile-search-submit:hover {
        background-color: rgba(255,255,255,0.9);
    }
    
    .mobile-menu .screen-reader-text {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }
    
    /* Субменю в мобильной версии */
    .mobile-menu .sub-menu {
        padding-left: 20px;
        margin-top: 10px;
    }
    
    .mobile-menu .sub-menu li {
        margin-bottom: 5px;
    }
    
    .mobile-menu .sub-menu a {
        font-size: 14px;
        color: rgba(255,255,255,0.8);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    /* Добавляем отступ сверху для контента */
    .page-hero-slider {
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    /* На больших экранах скрываем мобильное меню */
    .mobile-header {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    /* Показываем overlay-header */
    .overlay-header {
        display: block;
    }
    
    .page-hero-slider {
        margin-top: 0;
    }
}

/* Дополнительные улучшения для мобильного меню */
@media (max-width: 767px) {
    /* Плавная анимация для гамбургера */
    .mobile-header .hamburger span {
        transform-origin: center;
    }
    
    /* Закрытие меню при клике на ссылку */
    .mobile-menu a {
        cursor: pointer;
    }
    
}

/* Дополнительные стили для обёртки мобильной навигации */
.mobile-navigation {
    position: relative;
    z-index: 9999;
}

/* Улучшения анимации гамбургера */
@media (max-width: 767px) {
    .mobile-header .hamburger span {
        transform-origin: 50% 50%;
    }
    
    /* Альтернативная анимация, если первая не работает */
    .mobile-header .hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-header .hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    /* Отладочный стиль для проверки видимости меню */
    .mobile-menu[x-cloak] { 
        display: none !important; 
    }
}

/* Стили для обёртки мобильной навигации */
.mobile-navigation {
    position: relative;
    z-index: 9999;
}

/* Фикс для работы Alpine.js с мобильным меню */
@media (max-width: 767px) {
    /* Убираем conflicting стили */
    .mobile-menu[x-cloak] { 
        display: none !important; 
    }
    
    /* Дополнительные стили для transform-origin */
    .mobile-header .hamburger span {
        transform-origin: center center;
    }
}

/* Обеспечиваем правильное скрытие меню по умолчанию */
@media (max-width: 767px) {
    .mobile-menu {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .mobile-menu.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Исправляем позиционирование контента на мобильных */
@media (max-width: 767px) {
    /* Убираем возможные конфликты с отступами */
    body {
        margin: 0;
        padding: 0;
    }
    
    /* Опускаем слайдер ниже и делаем шире */
    .page-hero-slider {
        position: relative;
        top: 0;
        margin-top: 60px; /* Опускаем слайдер ниже чтобы не перекрывался шапкой */
    }
    
    /* Убираем внутренние контейнеры и добавляем margin */
    .page-hero-slider .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: none !important;
    }
    
    /* Делаем слайдер на всю ширину с отступами 12px */
    .mobile-navigation ~ .page-hero-slider .home-slider-wrapper {
        padding-top: 0px; /* Убираем лишний padding-top */
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Убираем дополнительную вложенность контейнера */
    .page-hero-slider .container .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* === Мобильные стили для формы === */
    /* Делаем поля имени и email на всю ширину и один под другим */
    #wpforms-13676 .wpforms-field-name,
    #wpforms-13676 .wpforms-field-email {
        flex: 1 1 100% !important; /* на всю ширину */
        margin-bottom: 1rem;
    }
    
    /* === Мобильные стили для социальных ссылок === */
    /* Выравниваем иконки соцсетей по центру */
    .social-links-wrapper {
        text-align: center !important;
    }
    
    .social-links-list {
        justify-content: center !important; /* центрируем вместо flex-end */
    }
}
