@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-Regular.woff2') format('woff2'),
       url('/fonts/montserrat/Montserrat-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-Medium.woff2') format('woff2'),
       url('/fonts/montserrat/Montserrat-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-SemiBold.woff2') format('woff2'),
       url('/fonts/montserrat/Montserrat-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-Bold.woff2') format('woff2'),
       url('/fonts/montserrat/Montserrat-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
    --kontrast-color: #02282c; 
	--kontrasthover-color: #064f56; 
	--kontrastshadow-color: #02282c4; 
    --secondary-color: #ff6200; 
    --background-color: rgb(242 244 245);
    --text-color: #224144; 
	--textwhite-color: #ffffff; 
	--textmini-color: #406367; 
	--text-black: #406367; 
    --muted-color: #5c6b80; 
    --border-color: #c9cacb; 
	--border-colorhover: #eaa414;
    --fire-color: #ef950d; 
    --top-color: #8bc34a; 
    --vip-color: #8bc34a; 
    --turbo-color: #55b01e; 
	--new-color: #2cb11c; 
	--bagestext-black: #404040; 
	--bagestext-yellow: #ffc107;
    --color-1: #5c6b8a; 
	--color-2: #a2b8d2; 
	--color-3: #f5c9a8; 
	--color-4: #f07838; 
	--color-5: #ba4c40; 
}

*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 16px;
	min-height: 100vh;
}

body * {
  position: relative;
}

.container-fluid {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}
.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}
.dashboard-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

 .banner {
	width: 100%;
	overflow: hidden;
}
.banner img {
	width: 100%;
	display: block;
	border-radius: 5px;
	object-fit: cover;
}

.banner-large img {
	height: 100px;
}

.banner-small img {
	height: 400px;
}
.banner-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #ffffff;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	padding: 10px;
}
@media (max-width: 768px) {
.banner-text {
	font-size: 15px;
	padding: 5px;
}
}
	
	
.btn-cabinet{
	background-color: var(--kontrast-color);
	color:#fff;
}
.btn-login{
	background-color: var(--kontrast-color);
	color:#fff;
	padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
	font-size: calc(0.8rem + 0.2vw);
	text-decoration: auto;
    transition: background-color 0.2s ease;
	border: 0;
}
.btn-login:hover{
	background-color: var(--kontrasthover-color);
	color:#fff;
	padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
	text-decoration: auto;
    transition: background-color 0.2s ease;
}
.thank-btns span{
    color:  var(--kontrast-color);
    text-align: center;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
	font-weight: 600;
}
.thank-btns span:active,
.thank-btns span:hover {
    color:  var(--kontrasthover-color);
    text-align: center;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
	font-weight: 600;
}
.btn-cabinet:hover{
	background-color: var(--kontrasthover-color);
	color:#fff;
}

.bg-badge{
	background-color: var(--kontrast-color);
	color: var(--textwhite-color);
}

.bg-success{
	background-color:#198732!important;
	color:var(--background-color)!important;	
}
.bg-warning{
	background-color:#d37500!important;
	color:var(--background-color)!important;
}
.bg-secondary{
	background-color:#ad0b0b!important;
	color:var(--background-color)!important;	
}
.badgess {
    font-size: 11px;
    padding: 3px 6px;
	font-weight: 600;
	border-radius: 5px;
}

.navbar {
  padding: 0;
}

.text-blacks{
	font-weight: 700;
	color:var(--text-color);
	font-size: clamp(1.3rem, 1.3vw + 1rem, 1.4rem);
	line-height: 1.2;
}

.bad{
	font-size: clamp(14px, 2vw, 15px);
}

.header-nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.header-nav a {
  color: var(--textmini-color) !important;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.header-nav a.btn-cabinet {
  background-color: var(--secondary-color);
  color: #fff !important;
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size:13px;
  transition: background-color 0.2s ease;
}

.header-nav a.btn-cabinet {
  background-color: var(--kontrast-color);
}

.header-nav a.btn-cabinet:hover {
  background-color: var(--kontrasthover-color);
}

.header-nav a.btn-cabinetlink {
  background-color: var(--kontrast-color);
  color: #fff !important;
  padding: 8px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size:13px;
  transition: background-color 0.2s ease;
}


.search-container {
  position: relative;
  margin: -5px 0px 20px 0px;
  width: 100%;
}

.search-input {
  width: 100%;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 40px 0 15px;
  font-size: 14px;
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 30px;
  height: 30px;
  border: none;
  background: var(--kontrast-color);
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.region-link {
  display: block;
  padding: 8px 10px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s, color 0.2s;
}

.region-link:hover {
  background-color: #f5f5f5;
  color: var(--kontrast-color);
}



.btn-secondary {
  background-color: var(--kontrast-color);
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
}

.btn-secondary:hover {
  background-color: var(--kontrasthover-color);
}

.btn--outline-secondary {
  background-color: var(--background-color);
  border: 1px solid var(--kontrast-color);
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--kontrast-color);
}

.btn--outline-secondary:hover {
  background-color: var(--kontrast-color);
  color: var(--background-color);
  border-radius: 4px;
  padding: 8px 16px;
}


.mobile-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.mobile-menu.hidden {
  transform: translateY(100%);
}

.mobile-menu__container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
}

.mobile-menu__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--textmini-color);
  font-size: 12px;
  transition: transform 0.2s;
}

.mobile-menu__item:hover {
  color: var(--kontrast-color);
  transform: translateY(-2px);
}

.mobile-menu__item i {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--kontrast-color);
}

.mobile-menu__item.active {
  color: var(--kontrast-color);
  font-weight: 600;
}

.mobile-menu__item.active i {
  color: var(--kontrast-color);
}



.alert-success {
    width: 100%;
    text-align: center;
    background-color: #48a737;
    color: #fff;
    margin-bottom: 15px;
	font-size:16px;
	font-weight: 500;
	height: 42px;
    padding: 6px;
    border-radius: 5px;
}

/* Красный текст ошибки */
.alert-error {
	width: 100%;
    text-align: center;
    background-color: #f44336;
    color: #ffffff;
    margin-bottom: 15px;
	font-weight: 500;
	height: 40px;
    padding: 7px;
    border-radius: 5px;
}



footer {
  background-color: #111c1e;
  padding: 40px 0;
  border-top: 1px solid #dee2e6;
}

footer h6 {
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--border-color);
}

footer ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  text-decoration: none;
  color: var(--border-color);
}

footer ul li a:hover {
  color: var(--border-colorhover);
}

footer .d-flex img {
  width: 120px;
}

footer .d-flex a {
  margin-right: 10px;
}

footer .small {
  font-size: 12px;
  color: var(--border-color);
}



.news-section {
  margin-bottom: 40px;
}

.news-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.news-header h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  color: var(--text-color);
}

.news-count {
  background-color: #eee;
  color: var(--textmini-color);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 10px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.news-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgb(2 40 44 / 28%);
}

.news-img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.news-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 8px;
  color: var(--text-color);
}

.news-link{
  text-decoration: auto;
}

.news-description {
  font-size: 13px;
  color: var(--textmini-color);
  margin: 0 0 10px;
  line-height: 1.4;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: var(--textmini-color);
}

.news-meta i {
  margin-right: 5px;
  color: var(--kontrast-color, var(--kontrast-color)); /* Fallback color */
}

.about-title {
      font-size: clamp(16px, 2vw, 20px);
  font-weight: bold;
  margin: 0 0 8px;
  color: var(--text-color);
}



.post-details {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-details:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.post-header {
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 20px;
	margin-bottom: 20px;
}
.post-header h1 {
	font-weight: 700;
	font-size: clamp(1.5rem, 1.3vw + 1rem, 1.8rem);
	line-height: 1.2;
	color: var(--text-color);
	margin: 0;
}
.post-image {
	width: 100%;
	max-height: 475px;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 20px;
}
.post-content {
    font-size: clamp(16px, 2.5vw, 16px);
    color: var(--text-color);
    margin: 0;
    line-height: 1.7;
}
.post-content p {
   font-size: clamp(14px, 2.5vw, 16px);
}
.post-meta {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--muted-color);
}
.post-meta i {
	margin-right: 4px;
	color: var(--kontrast-color);
}


.blocks-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
}
.block-item {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: var(--text-color);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.block-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
	.post-image {
		max-height: 300px;
	}
}
@media (max-width: 576px) {
	.post-header h1 {
		font-size: 18px;
	}
	.post-content {
		font-size: 14px;
	}
	.post-meta {
		flex-direction: column;
		gap: 5px;
	}
	.mb-mobile {
        margin-bottom: 20px !important;
    }
.mt-mobile {
        margin-top: 20px !important;
    }
}


.pagination {
	margin-top: 20px;
	justify-content: center;
}
.page-link {
	color: var(--kontrast-color);
	border-radius: 6px;
	margin: 0 3px;
}
.page-link:hover {
	background-color: var(--kontrast-color);
	color: #fff;
}
.page-item.active .page-link {
	background-color: var(--kontrast-color);
	border-color: var(--kontrast-color);
	color: #fff;
}
.page-item.disabled .page-link {
	color: var(--muted-color);
	cursor: not-allowed;
}

.favorite-btn {
    position: absolute;
    padding: 7px 2px 2px 2px;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--muted-color);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}
.favorite-btn:hover, .favorite-btn.active {
    color: #ff5252;
}

@media (max-width: 991px) {
  .navbar-toggler {
    display: none;
  }
  .navbar-collapse {
    display: none !important;
  }
  .mobile-nav {
    flex-grow: 1;
    justify-content: flex-end;
  }
  .form-select {
    width: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: var(--text-color);
	font-size: clamp(13px, 2vw, 15px);
  }
  .language-link {
    white-space: nowrap;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
	font-size: clamp(13px, 2vw, 15px);
  }
  .mobile-menu {
    display: block; 
  }
}

@media (min-width: 992px) {
  .mobile-nav {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .container-fluid {
    width: 95%;
    padding-left: 0px;
    padding-right: 0px;
  }	
  .container-mob{
    padding-left: 10px;
    padding-right: 10px;  
  }

  .search-container {
    margin: 10px 0 20px;
  }
  .mobile-menu__container {
    padding: 8px 0;
  }
  .mobile-menu__item {
    font-size: 11px;
  }
  .mobile-menu__item i {
    font-size: 18px;
  }
  .logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 23px;
    color: var(--kontrast-color);
    text-decoration: none;
    margin-bottom: 1px;
    width: 29px;
  }
}

.ticket-badge {
    transition: opacity 0.3s ease;
}
.ticket-badge[style*="display: none"] {
    opacity: 0;
}
.ticket-badge[style*="display: inline-block"] {
    opacity: 1;
}

/* Hide dropdown toggle arrow */
.dropdown-toggle::after {
    display: none !important;
}