body {
    margin: 0;
     font-family: 'Onest', sans-serif;
    background-color: #F5F5F5;
    justify-content: flex-end;
 height: 100%;
  padding: 0;
}


.bn-block:focus,
.bn-block-outer:focus,
.bn-block-content:focus,
.bn-react-node-view-renderer:focus,
.widget-view:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}


.bn-block:focus-within,
.bn-block-outer:focus-within {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

[contenteditable="true"]:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}
.policy-link {
  text-decoration: underline; 
  color: inherit; 
  transition: color 0.3s; 
}

.policy-link:hover {
  color: #2196f3;
}
    .policy-title p{
          font-size: 56px !important;
          font-weight: 600 !important;
          color: #2196F3 !important;
          margin-bottom: 10px !important;
        }
  /*----------------------------------------------------------------------------------------*/
.profile-wrapper {
  position: relative;
}


.profile-menu-trigger {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.dropdown-profile-menu a {
  background-color: transparent;
}

.dropdown-profile-menu a:hover {
  background-color: #ECF6FE; 
}

.avatar-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 6px;
}

.arrow-icon {
  font-size: 12px;
  color: #333;
}

.dropdown-profile-menu {
  position: fixed;       
  top: 130px;            
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  padding: 12px;
  width: 240px;
  z-index: 9999 !important; 
}
.dropdown-profile-menu a {
 display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 8px; 
  transition: background 0.2s ease;
}
.mobile-icons .dropdown-profile-menu {
  position: absolute;
  top: 56px;
  right: 16px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 8px 0;
  z-index: 1000;
}
.dropdown-profile-menu a.logout {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1;
}

.logout-icon {
  width: 18px;
  height: 30px;
  margin-left: auto;
}
.logout-icon2 {
  width: 18px !important;
  height: 18px !important;
  margin-left: auto;
}
.arrow-icon2 {
   width: 14px !important;
  height: 14px !important;
  margin-left: auto;
}
/*-----------------------------------------------------*/
  .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 31px;
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.logo img {
  height: 40px;
}

@media (max-width: 600px) and (min-width: 300px) {
  .logo img {
    width: 157px;
    height: auto;
    margin-left: -20px;
  }
  .logo {
    display: flex;
  }
}

/* --- Навигационные ссылки --- */
.nav-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu {
  display: flex;
  gap: 36px;
  transform: translateX(11px);
}

.menu a {
  text-decoration: none;
  color: #222;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  padding-top: 5px;
  transition: all 0.2s ease;
  margin-bottom: 5px;
}

.menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #007bff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.menu a:hover::before {
  transform: scaleX(1);
}

.menu a:hover {
  color: #333;
}


.search-inline-block { 
  position: relative; 
  flex: 1; 
  display: flex; 
  justify-content: center; 
  z-index: 9999;
} 

.search-box { 
  display: flex; 
  align-items: center; 
  width: 1150px; 
  height: 48px; 
  padding: 0 12px; 
  background-color: #F5F5F5; 
  border: 2px solid #2196f3; 
  border-radius: 8px; 
  gap: 10px; 
  box-sizing: border-box; 
  transition: width 0.3s ease, opacity 0.3s ease;
} 

.search-input {
  flex: 1;
  font-size: 15px;
  font-weight: 400;
  background: transparent !important; 
  color: #424242;
  border: none !important;
  outline: none;
  height: 100% !important;     
  padding: 0;                   
  margin: 0;
  line-height: 1;
}

.search-input::placeholder { 
  color: #444; 
} 

.search-icon { 
  width: 20px; 
  height: 20px; 
  cursor: pointer;
} 

.search-close-btn { 
  background: none; 
  border: none; 
  font-size: 20px; 
  color: #2196f3; 
  cursor: pointer; 
  padding: 0; 
  line-height: 1; 
  height: 100%; 
}

.search-box.open {
  display: flex;
  align-items: center;
}


@media (max-width: 768px) {

.search-inline-block {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 16px;
  background: #fff;
  justify-content: center;
  z-index: 9999;
 
}

  .search-box {
    display: flex;
    align-items: center;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.3s ease, opacity 0.3s ease;
  }

  .search-box.open {
    width: 100%; 
    opacity: 1;
    padding: 0 10px;
  }

  .search-input {
    display: block;
    width: 100%;
    font-size: 15px;
    padding: 6px 10px;
    border: 1px solid #2196f3;
    border-radius: 6px;
  }

  .search-close-btn {
    display: inline-block;
    background: none;
    border: none;
    font-size: 20px;
    color: #2196f3;
    cursor: pointer;
    margin-left: 8px;
  }


  .navbar.search-active .menu,
  .navbar.search-active .right-icons,
  .navbar.search-active .logo,
  .navbar.search-active .mobile-icons {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .navbar.search-active .search-inline-block {
    display: flex !important;
    width: 100%;
    justify-content: center;
  }
}
.right-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.right-icons a img {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.right-icons a img:hover {
  transform: scale(1.15);
}

.login {
  display: flex;
  align-items: center;
  font-size: 16px;
  text-decoration: none;
  color: #333;
  gap: 10px;
  position: relative;
  transition: all 0.2s ease;
  margin-left: -12px;
}

.login::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #007bff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.login:hover::before {
  transform: scaleX(1);
}

.login:hover {
  color: #333;
}

.login-icon {
  height: 30px;
  width: auto;
  transition: transform 0.2s ease;
}

.login-icon:hover {
  transform: scale(1.15);
}


.mobile-icons {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  gap: 0;
}

.mobile-icons img {
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mobile-icons img:hover {
  transform: scale(1.15);
}

/* --- Мобильное меню --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 240px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.3s ease-in-out;
  z-index: 99;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu .menu {
  flex-direction: column;
  gap: 20px;
}

.mobile-menu .right-icons {
  justify-content: start;
  gap: 0;
}

.mobile-menu .login {
  margin-top: 10px;
  margin-left: 10px;
  font-weight: 500;
}

.icon-close {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 98;
  display: none;
}

.menu-backdrop.active {
  display: block;
}

@media (max-width: 800px) {
  .nav-group {
    display: none;
  }
  .mobile-icons {
    display: flex;
    align-items: center;
  }
}

/*----------------------------------------------------------------------------------------*/
.container {
  max-width: 1100px;
  margin: 40px auto;
  background: white;
  border-radius: 56px;
  padding: 20px 50px 0; 
  position: relative;
  margin-bottom: 40px;
  margin-top: 12px;
  overflow: hidden;
 
}
.container-festival {
  max-width: 1100px;
  margin: 40px auto;
  background: white;
  border-radius: 56px;
  padding: 0 50px 5px 50px; 
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
 
}


.title {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: #1565C0;
  font-weight: 700;         
  font-style: normal;  
  text-align: left;
    
 
}

.subtitle {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  font-style: italic;
  color: #1565C0;
  margin-bottom: 20px;
  font-weight: 500;  
}
.subtitle span{
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  font-style: italic;
  color: #1565C0;
  margin-bottom: 20px;
  font-weight: 500;  
}



/*----------------------------------------------------------------------------------------*/
.map-container {
  position: relative;
  border: 6px solid #007bff; 
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
}

#map {
  width: 100%;
  height: 300px;
}

.filter-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  gap: 12px 20px;
  padding-bottom: 22px;
  color: #212121;
  margin-top: 20px; 
  font-weight: 400;
}

.dot {
  position: relative;
  padding-left: 12px; 
  margin: 0;   
     
}

.dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--dot-color);
}

.dot2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--dot-color);
}



.reggio::before { background-color: #C9C9C9; }
.author::before { background-color: #D81B60; }
.alt::before { background-color: #AB47BC; }
.free::before { background-color: #673AB7; }
.spiritual::before { background-color: #42A5F5; }
.montessori::before { background-color: #0D47A1; }
.unofficial::before { background-color: #18FFFF; }
.online::before { background-color: #26A69A; }
.classic::before { background-color: #66BB6A; }
.family::before { background-color: #FFCA28; }
.private::before { background-color: #FFA726; }
.boarding::before { background-color: #FF7043; }

.map-container {
  margin: 20px 0;
  border: 2px solid #BBDEFB;
  border-radius: 20px;
  overflow: hidden;
}

.button {
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin: 30px auto;
  display: block;
  text-align: center;
  position: relative;
  z-index: 0;
  font-weight: 500;
  background-color: #1565C0;
  color: white;
  padding: 0;
  border: 1px solid #1565C0;
  transition: all 0.3s ease;
  height: 56px;
  width: 250px;
}
.button:hover {
   background-color: transparent;
  color: #1565C0;
  border-color: #1565C0;
  transform: scale(1.05);   
  
}
.button-festival {
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin: 30px auto;
  display: block;
  text-align: center;
  position: relative;
  z-index: 0;
  font-weight: 500;
  background-color: #1565C0;
  color: white;
  padding: 14px 0 0 0; 
  border: 1px solid #1565C0;
  transition: all 0.3s ease;
  height: 56px;
  width: 300px;
}
.button-festival:hover {
   background-color: transparent;
  color: #1565C0;
  border-color: #1565C0;
  transform: scale(1.05);   
  
}
.arrow {
  position: absolute;
  top: 10px;
  right: 0;
  max-width: 550px;
  width: 100%;
  height: auto;
  object-fit: contain; 
}


@media (max-width: 600px) and (min-width: 300px) {
.container {
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
  border-radius: 24px;
  height: auto;
  margin: 25px 0 25px 0;
  margin-top: 0;
}
  .title,
  .subtitle {
    font-size: 20px !important;
    text-align: left;
    
  }
  .title{
    margin-top: 15px;
  }

  .filter-legend {
      display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 6px;
    margin-left: 30px;
    font-size: 12px;
    align-items: start;
    
    
  }
  .filter-legend > :nth-child(2n) {
  margin-left: 20px; 
}
  .dot{
  display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 10px;
     vertical-align: top;
  margin-top: 0;
  
  }

  #map {
    height: 200px;
  }

  .button {
    width: 100%;
    height: 48px;
    padding: 10px;
    font-size: 14px;
    margin-top: 0;
    margin: 0 0 20px 0;
  }
.arrow {
  position: absolute;
  top: 10px;
  right: -10px; 
  width: 140px;  
  height: auto;
  transition: right 1s ease-in-out;
}

}
/*-------------------------------------------------------------*/

.school-card {
  /* position: absolute; */
  /* top: 20px;
  right: 20px;*/
  width: auto;
  height: none;
max-height: none;
padding-bottom: 20px;
  
  

  /* box-shadow: 0 0 2px rgba(0,0,0,0.2); 
   z-index: 1000; 
  padding: 20px; 
  text-align: left;
  font-size: 14px;
   display: none; */
}
.ymaps-2-1-79-b-cluster-carousel__content {
  overflow:hidden !important;
}

/*
.ymaps-2-1-79-balloon__tail svg{fill: #F5F5F5 !important;}

/*.ymaps-2-1-79-balloon__layout{
    width: auto !important;
  max-width: none !important;
  height: 300px !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box;
  background-color: #F5F5F5 !important;
  border-radius: 6px !important;
}
.ymaps-2-1-79-balloon .ymaps-2-1-79-balloon_layout_normal .ymaps-2-1-79-balloon_to_top .ymaps-2-1-79-i-custom-scroll{
  display: none;
}

.ymaps-2-1-79-b-cluster-carousel .ymaps-2-1-79-b-cluster-carousel_pager_numeric .ymaps-2-1-79-b-cluster-content {
  background-color: #F5F5F5 !important;
}


.ymaps-2-1-79-b-cluster-carousel__nav {
  background-color: transparent;        
  border: 1px solid #2196F3;             
  border-radius: 6px;                     
  width: 40px;
  height: 40px;
  display: flex !important;               
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  position: absolute;
  top: 210px !important; 
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60% auto;            
}

.ymaps-2-1-79-b-cluster-carousel__nav::after {
  content: none !important;
  display: none !important;
}

/*.ymaps-2-1-79-b-cluster-carousel__nav, 
.ymaps-2-1-79-b-cluster-carousel__pager { display: none !important; }

.ymaps-2-1-79-b-cluster-carousel__nav_left {
  left: 8px;
 background: #2196f3;
}
ymaps-2-1-79-b-cluster-carousel__nav ymaps-2-1-79-b-cluster-carousel__nav_type_prev
ymaps-2-1-79-b-cluster-carousel__nav ymaps-2-1-79-b-cluster-carousel__nav_type_next

.ymaps-2-1-79-b-cluster-carousel__nav_type_prev {
  right: 8px;
  background-image: url('https://prosto-dev-server.srv3.s3app.org/download/?id=d37fa245-d3b6-44e5-a379-6a2561a74c6d&mode=view') !important;
}
.ymaps-2-1-79-b-cluster-carousel__body .ymaps-2-1-79-b-cluster-content__body{

}

.ymaps-2-1-79-balloon__tail{
  height: 200px;
  background-color: #F5F5F5 !important;
}



.ymaps-2-1-79-b-cluster-carousel__body,
.ymaps-2-1-79-b-cluster-content__body {
 height: 300px !important;
}

.ymaps-2-1-79-balloon__content,
.ymaps-2-1-79-b-cluster-carousel__content {
  width: auto !important;
  max-width: none !important;
  height: 300px !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box;
  background-color: #F5F5F5 !important;
  border-radius: 6px !important;
 
}

.ymaps-2-1-79-b-cluster-carousel .ymaps-2-1-79-b-cluster-carousel_pager_numeric .ymaps-2-1-79-b-cluster-content {
  background-color: #F5F5F5 !important;
}

.ymaps-2-1-79-balloon__tail svg{fill: #F5F5F5 !important;}
.school-card .logo1 {
  text-align: center;
  margin-bottom: 10px;
}
.ymaps-2-1-79-b-cluster-carousel__pager,
.ymaps-2-1-79-b-cluster-carousel__pager-item,
.ymaps-2-1-79-b-cluster-carousel__pager-item_current_yes {
  display: none !important;
  background-color: #F5F5F5 !important;
}
.ymaps-2-1-79-b-cluster-carousel__pager,
.ymaps-2-1-79-b-cluster-carousel__pager-item,
.ymaps-2-1-79-b-cluster-carousel__pager-item_current_yes {
  display: none !important;
  background-color: #F5F5F5 !important;
}


.ymaps-2-1-79-b-cluster-carousel__separator{
  display: none !important;
  background-color: #F5F5F5 !important;

}*/

.school-card .logo1 {
  background-color: #fff;
  padding: 0;
  display: block;
  border-radius: 8px;
  width: 100%;
  max-width: 380px;
  height: 100px;          
  overflow: hidden;
  text-align: center;    
}

.school-card .logo1 img {
  width: 100%;
  height: auto;            
  max-height: 100%;       
  object-fit: contain;     
  display: inline-block;
  vertical-align: middle;
}
.school-card .tags {
  margin: 12px 0;
}

.school-card .dot .reggio .author .alt {
  display: inline-block;
  padding: 20px 100px;
  background: #fff;
  border-radius: 1px;
  margin: 2px;
  font-size: 8px;
}


.school-card h3 {
  margin: 2px 0 5px;
  font-size: 16px;
  color: #2196F3;
  font-weight: 500;
    display: -webkit-box;        
  -webkit-line-clamp: 2;       
  -webkit-box-orient: vertical;
  overflow: hidden;            
  text-overflow: ellipsis;  
}

.school-card p {
  margin: 5px 0;
  line-height: 1.3em;
  color: #3E3E40;
  font-size: 14px;
  font-weight: 400;

  display: -webkit-box;        
  -webkit-line-clamp: 2;       
  -webkit-box-orient: vertical;
  overflow: hidden;            
  text-overflow: ellipsis;      
}

.school-card .info {
  margin: 10px 0;
  color: #707072;
  font-size: 12px;
  font-weight: 400;
}
.tag {
  display: inline-block;
  padding: 5px 5px 5px 5px; 
  background: white;
  border-radius: 4px;
  margin: 2px;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  color: #424242;
  
}

.hidden {
display: none;
}

.show-more {
cursor: pointer;
background: #ffffff;
color: #212121;
}

.school-card .metrics-combined {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin-top: 10px;
  gap: 5px;
}

.school-card .metrics-combined {
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  background: white;
  padding: 5px 8px;
  border-radius: 4px;
  width: fit-content; 
  margin: 0 auto;
}


.metrics-combined {
display: flex;
gap: 10px; 
align-items: center;
justify-content: center;
font-size: 14px !important;
margin-top: 10px;
flex-wrap: wrap;
color: #987D65;
font-weight: 400 !important;
}

.metrics-combined span {
display: inline-flex;
align-items: center;
gap: 1px; 
  margin-left: 8px;
}

.metrics-combined img {
width: 16px !important;
height: 16px !important;

}

.school-card .pagination {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.school-card .pagination-numbers {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 300;
  color: #757575;
}

.school-card .pagination-numbers span {
  cursor: pointer;
}


.pagination-btn {
  background: transparent;
  border: 1px solid #2196F3;  
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2196F3;
}


.pagination-btn img {
  width: 14px;
  height: 14px;
  filter: brightness(0) saturate(100%) invert(51%) sepia(22%) saturate(3110%) hue-rotate(176deg) brightness(97%) contrast(92%);
  
  
  transition: filter 0.3s;
}


.pagination-btn:hover img {
  filter: brightness(0) saturate(100%) invert(41%) sepia(99%) saturate(1100%) hue-rotate(176deg) brightness(100%) contrast(90%);
}

.school-card .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
}
.extra-tag.hidden {
display: none !important;
}

@media (max-width: 480px) {
  .school-card {
    /* position: fixed;        
    top: 10px;
    right: 10px;
    left: 10px;           
    width: auto;           
    max-width: none;
    padding: 15px; */
    font-size: 13px;
    /*border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    overflow-y: auto;
    max-height: 90vh;      
    z-index: 10000;*/
  }

  .school-card .logo1 img {
    max-height: 60px;      
    width: auto;
  }

  .school-card h3 {
    font-size: 18px;
  }

  .school-card p,
  .school-card .info {
    font-size: 12px;
  }

  .tag {
    font-size: 11px;
    padding: 2px 6px;
  }

  .metrics-combined {
    flex-wrap: wrap; 
    font-size: 12px;
    gap: 8px;
  }

  .metrics-combined img {
    width: 16px !important;
    height: 16px !important;
  }

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

  .pagination-numbers {
    gap: 12px;
    font-size: 12px;
  }

  .pagination-btn {
    padding: 6px 14px;
  }

  .school-card .close-btn {
    top: 5px;
    right: 5px;
    font-size: 20px;
  }
}




/*----------------------------------------------------------------------------------------*/
.calendar-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 30px 50px 30px;
  border-radius: 56px;
  height: auto;
  
  
}

.calendar-title {
  font-size: 40px;
  color: #1565C0;
  font-weight: 500;         
  font-style: normal;  
  text-align: left;
  margin-top: 40px !important;
  
}
.calendar-title2 {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: #1565C0;
  font-weight: 500; 
  margin-left: 15px;


}
.title-festival{
  font-size: 40px;
  color: #1565C0;
  font-weight: 500;         
  font-style: normal;  
  text-align: left;
  margin-top: 40px !important;
}
.title-festival2{
    font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: #1565C0;
  font-weight: 500; 
  margin-left: 15px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.event-card {
  background: #F5F5F5;
  border-radius: 16px;
  padding:18px 24px 18px 24px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;

}

.event-card:hover {
  background-color: #ECF6FE;
  transform: translateY(-2px);
}

.event-card.highlight {
  background-color: #F5F5F5;
}

.event-card.highlight:hover {
  background-color: #ECF6FE;
}

.event-card .badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: transparent;
  padding: 4px;
  border-bottom-left-radius: 6px;
  border-top-right-radius: 12px;
}

.event-card .badge img {
  width: 100px;
  height: 100px;
}

.event-image {
  width: 270px;
  height: 120px;          
  object-fit: contain;     
  object-position: center;  
  border-radius: 8px;
  display: block;
  margin: 8px auto;
  background-color: #ffffff; 
}
.event-date {
  font-weight: 400;
  font-size: 20px;
  color: #212121;
}

.event-description {
  font-size: 16px;
  color: #616161;
  font-weight: 400;
}

.event-school {
  font-size: 16px;
  color: #616161;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.event-school img.school-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.calendar-footer {
  text-align: center;
  margin-top: 24px;
}

.calendar1-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2196F3;
  border-radius: 8px;
  color: #2196F3;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  margin-top: 10px;
  width: 317px;
  height: 56px;
  gap: 8px;
}

.calendar1-button:hover {
  background-color: #d0e5ff;
  transform: scale(1.05);
}

.calendar1-button img.arrow-icon {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.calendar1-button:hover img.arrow-icon {
  transform: translateX(6px);
  transition: transform 0.2s ease;
}

@media (max-width: 600px) and (min-width: 300px) {
  .calendar-container {
    max-width: 100%;
    padding: 20px;
    border-radius: 24px; 
  padding-top: 15px;
 
}
 

  .calendar-title {
    font-size: 20px;
    margin-top: 8px;
   
  }
  

  .calendar-title2 {
    font-size: 20px;
    margin-left: 10px;
    text-align: center; 
  }

  .events-grid {
    margin-top: 15px;
    grid-template-columns: 1fr; 
    gap: 16px;
  }

  .event-card {
    padding: 16px;
    gap:8px;
  }

  .event-card .badge img {
    width: 100%;
    height: 100px;
    gap: 8px;
  }

  .event-image {
width: 100%;
    gap: 8px;
    margin: 0;
    height: 127px;
  }
  .event-date{
font-size: 16px;
  }


  .event-description,
  .event-school {
    font-size: 14px;
  }

  .event-school img.school-icon {
   
    width: 20px !important;
    height: 20px !important;
 
  }

  .calendar-footer {
    margin-top: 18px;
  }

  .calendar1-button {
    font-size: 14px;
    width: 100%;
    height: 48px;
    margin: 5px 0 5px 0; 
  }

  .calendar1-button img.arrow-icon {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 360px) {
  .event-image {
    max-height: 84px;
   
  }
}


@media (min-width: 361px) and (max-width: 393px) {
  .event-image {
    max-height: 95px;
   
  }
}


@media (min-width: 394px) and (max-width: 440px) {
  .event-image {
    max-height: 111px;

  }
}
/*----------------------------------------------------------------------------------------*/

.full-width-wrapper {
  width: 100%;
      padding: 40px 0;
      background-color: #f5f5f5;
      box-sizing: hidden;
}

.container2 {
  max-width: 100%;
  width: 100%;
  border-radius: 56px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-sizing: border-box;
  background-color: #fff;
  overflow: hidden;
  margin-top: 40px;
  position: relative;
}
.inner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transform: translateX(-80px); 
 
}
.inner-content2 {
  padding-left: 40px; 
  box-sizing: border-box;
  height: auto;
  justify-content: space-between;
}
.text-block h2 {
  
  margin-bottom: 0;
 
}

.image-block {
  width: 180px;
  height: 180px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
}

.image-block.left {
  margin-left: 230px;
  margin-top: -70px;
    width: 250px;
  height: 250px;
}

.image-block.right {
   width: 360px;
  height: 360px;
  margin-right: 50px;

}

.image-block img {
  max-height: 700px;
  border-radius: 12px;
  display: block;
  width: auto;
  height: auto;
}

.image-block.left img,
.image-block.right img {
  max-height: 600px;
}

.text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}


.choose-school {
  font-size: 40px;
  color: #212121;
  font-weight: 500;         
  font-style: normal;  
  text-align: left;
    
}

.in-petersburg {
   font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: #212121;
  margin-bottom: 20px;
  font-weight: 500;  
}

.text-block-text {
  font-size: 16px;
  color: #444;
  margin: 0 30px 0 0; 
  font-weight: 400;
}

.button2 {
  background-color: #1565C0;
  color: white;
  height: 56px;
  width: 250px;
  border: 1px solid #1565C0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button2:hover {
  background-color: transparent;
  color: #1565C0;
  border-color: #1565C0;
  transform: scale(1.05);
}


.inclid-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;                     
  background-color: #ffffff;
  color: #757575;
  font-size: 12px;              
  font-weight: 500;
  padding: 2px 6px;           
  border-radius: 3px;
  line-height: 1;               
  height: 18px;                 
  max-width: fit-content;
  white-space: nowrap;
  margin-top: 12px;
}
.inclid-icon {
  width: 13px !important;
  height: 13px !important;
  object-fit: contain;
  display: block;
  margin-top: 12px;
}
@media (max-width: 1600px) and (min-width: 1000px) {
  .inner-content2 {
    padding-left: 30px; 
  }
   .image-block.left {
    margin-left: 10px;
    width: 350px;
    height: 350px;
    margin-top: -200px;
  }
    .image-block.right {
    width: 320px;
    height: 320px;
    margin-right: 0;
  }
  .text-block {
    max-width: 500px;
  }
}


@media (max-width: 1000px) {
  .inner-content {
    transform: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .inner-content2 {
    padding-left: 0;
    padding-right: 0;
  }

  .image-block.left,
  .image-block.right {
    margin: 0;
    width: 200px;
    height: 200px;
  }

  .text-block {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .choose-school,
  .in-petersburg {
    font-size: 28px;
    text-align: center;
  }

  .text-block-text{
    margin: 0;
  }
}

@media (min-width: 300px) and (max-width: 600px) {
  .container2 {
    flex-direction: column;
    padding: 10px 20px 0 20px; 
     align-items: center;
    position: relative;
    border-radius: 24px;
    margin: 25px 0 25px 0;
    padding-top: 0;
    margin-bottom: 400px !important;
  }

  .inner-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px; 
    transform: none;
  }

  
  .inner-content2{

    box-sizing: border-box;
    height: auto;
    justify-content: space-between;
  }

.image-block.left {
  position: absolute; 
  top: 230px;
  left: calc(-185px + 35vw); 
  width: 150px;
  height: auto;
  z-index: 10; 
  transition: left 0.5s ease;
  background: transparent; 
  pointer-events: none;
  content: url("https://prosto-dev-server.srv3.s3app.org/download/?id=d73914a2-8fa6-4233-b194-2908d3924df6&mode=view");
}

  .image-block.right {
    width: 220px;
    height: auto;
    margin: -10px 0 -10px 16px !important;
    display: block;
    border-radius: 15px;
  }

.text-block {
  display: flex;
  justify-content: center;
  margin-top: -120px;
}

.text-block-text {
  font-size: 14px; 
  margin: 0 60px 8px 60px;           
  text-align: center;
  max-width: 100%;                   

}
.choose-school,
.in-petersburg {
  font-size: 20px;
  text-align: left; 
  padding: 0;
  line-height: 1.2;
  margin-left: 80px;
  margin: 0 0 0 0;

}
.choose-school{
  margin-top: 140px;
}

.in-petersburg {
  margin-bottom: 0;
}
.button2 {
  width: 230px;
  height: 48;
  font-size: 14px;
  margin-left: 30px; 
  white-space: nowrap;
  text-align: center;
  padding: 10px 20px;
    display: inline-block;
  margin: -15px 0 -15px 0;
  position: relative;
 
  
}
}






/*----------------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------------------*/
.articles-section {
   margin: auto;
    max-width: 1100px;
  background-color: #ffffff;
  padding: 30px 50px 30px 50px!important; 
  border-radius: 56px;
  margin-bottom: 0;
   position: relative; 
   height: auto; 
    margin-top: 40px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
   margin-top: -25px;

}

.article-card {
  background-color: #F5F5F5; 
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 16px 24px;
  height: 590px;
  width: 492px;
  flex: 1 1 calc(50% - 10px); 
  transition: background 0.3s ease;
}

.title-primary {
  font-size: 40px;
  font-weight: 500;
  color: #1565C0;

}

.title-secondary {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  font-weight: 500;
  color: #1565C0;
  margin-left: 15px; 
}


.article-card:hover {
  background-color: #f0f7ff;
}

.article-card img {
  width: 444px;
  border-radius: 8px;
  margin-bottom: 12px;
  object-fit: cover;
  height: 250px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;

}

.article-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #212121;
  margin-top: 10px;
}

.article-desc {
  font-size: 16px;
  font-weight: 400;
  color: #616161;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}
.article-footer-statia-gotovo .source-statia-gotovo {
  background: #ffffff;
  border-radius: 6px;
  padding: 1px 10px;
  font-size: 14px;
  color: #616161;
  display: inline-flex;     
  align-items: center;
  gap: 6px;
  max-width: max-content;   
  max-height: 32px; 
  font-weight: 400;
}

.source-icon-statia-gotovo {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;          
  object-fit: contain;    
  margin-top: 12px !important;   
}
.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #616161;
    margin-top: 10px; 
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.author-placeholder {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 20px;
  color: #555;
  background-color: #ffffff;
  border-radius: 50%;
}

.author-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.author-name {
  font-weight: 400;
  color: #212121;
  font-size: 16px;
}
.post-date {
  align-items: left;
  font-size: 14px;
  font-weight: 400;
  color: #757575;
}

.article-flag {
  font-size: 12px;
  margin-left: 6px;
}

.centered-wrapper {
  text-align: center;
  margin: 32px 0 40px 0;
  margin-bottom: 0;
}

.custom-button {
   width: 250px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2196F3;
  border-radius: 8px;
  color: #2196F3;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  margin-top: 0;
  gap: 8px;
}

.button-arrow {
 vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-left: 6px;
  transition: transform 0.2s ease;

}

.custom-button:hover {
  background-color: #d0e5ff;
  transform: scale(1.05);
}

.custom-button:hover .button-arrow {
  transform: translateX(6px); 
}

@media (min-width: 200px) and (max-width: 700px) {
  .articles-section {
    padding: 15px 15px 5px 15px !important;
    border-radius: 24px;
    margin: 0 0 0 0;
   
   
  }
.login-icon{
  display: block;          
  width: 30px !important;
  height: 30px !important; 
  object-fit: contain;     
  max-width: none !important; 
  max-height: none !important;
}
  .articles-section h2{
    margin-top: -20px;  
    margin-bottom: 30px;
  }

  .articles-grid {
    grid-template-columns: 1fr; 
    gap: 16px;
    
   
  }

  .article-card {
    width: 100%; 
    height: auto;
    flex: none;
    padding: 16px 16px 10px 16px;
   
  }


.article-card img {
  width: 100%;
  height: 185px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0; 
}


  .title-primary,
  .title-secondary {
    font-size: 20px;
    margin-left: 0;

  }
  .title-secondary{
    margin-left: 10px;
  }

  .article-title {
    font-size: 16px;
      display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1; 
  }

  .article-desc {
    font-size: 14px;
    margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1; 

  }

  .article-author {
    font-size: 14px;
    gap: 8px;
  }

  .author-avatar,
  .author-placeholder {
    width: 36px;
    height: 36px;

  }
   .author-placeholder {
    font-size: 18px;
   }

  .author-name {
    font-size: 14px;
  }

  .post-date {
    font-size: 14px;
  }

.custom-button {
  width: 100%;
  height: 48px;
  font-size: 14px;
  position: relative;
  top: -10px; 
  margin: 0 0 8px 0;
}
  .button-arrow {
    width: 16px;
    height: 16px;
    margin-left: 4px;
  }
}

@media (max-width: 360px) {
  .article-card img {
    max-height: 166px;
  }
}


@media (min-width: 361px) and (max-width: 393px) {
  .article-card img {
    max-height: 185px;
  }
}


@media (min-width: 394px) and (max-width: 440px) {
  .article-card img {
    max-height: 212px;
  }
}
  
/*----------------------------------------------------------------------------------------*/

.hero-wrapper {
  width: 100%;
  margin: 0;
  padding: 0 80px;
  background: white;
  border-radius: 56px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
   overflow: hidden;
   margin-top: 40px;
   position: relative;
   height: 384px;
   margin-bottom: -10px;

}
.hero-image-left-wrapper2 {
  width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;           
  flex-direction: row;     
  gap: 20px;               
  justify-content: left !important;
  
}


.hero-image-left-wrapper {
  width: 400px;
  height: 400px;
  position: relative;
  overflow: hidden; 
  flex-shrink: 0;
  background: transparent;
}

.hero-image-left-wrapper img {
  position: absolute;    
  top: 250px;             
  left: 50%;            
  transform: translate(-50%, -50%); 
  width: auto;          
  height: 100%;         
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}


.hero-content {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  transform: translateY(-20px);
}


.hero-title {
  font-size: 40px;
  color: #212121;
  font-weight: 500;
  margin-bottom: 16px;
  margin-left: -60px;
}

.hero-strong {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  font-weight: 500;
  color: #212121;
}


.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.hero-item {
  font-size: 16px;
  margin-bottom: 6px;
  color: #212121;
  margin-left: -60px;
  font-weight: 400;
}

.hero-link {
  color: #2196F3;
  text-decoration: none;
}


.hero-image.right {
  width: 360px;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
  top: -20px;
  margin-left: -250px;
}
.hero-image-left-wrapper img {
  position: absolute;    
  top: 190px;             
  left: 70%;            
  transform: translate(-50%, -50%); 
  width: auto;          
  height: 100%;         
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
@media (max-width: 1500px) and (min-width: 1000px) {
  .hero-wrapper {
    padding: 0; 
    gap: 20px;
    
    
  }
  .hero-image-left-wrapper{
    background: transparent !important;
  }

  .hero-image-left-wrapper2 {
    padding: 0;
    justify-content: center !important; 
    background: transparent !important;
  }

  .hero-image-left-wrapper {
    width: 400px; 
    height: 400px;
  }

  .hero-image-left-wrapper img {
    top: 200px; 
    left: 150px;
  }

  .hero-content {
    max-width: 500px;
  }

  .hero-title {
    margin-left: -200px;
  }

  .hero-item {
    margin-left: -200px; 
  
  }
  

  .hero-image.right {
    width: 300px;
    margin-left: -250px;
    margin-right: 200px; 
    
  }
}

@media (max-width: 600px) and (min-width: 300px) {
  .hero-wrapper {
    display: block;
    padding: 10px 5px !important;             
    margin: 26px 0 0 0;
    border-radius: 24px;
    height: 410px;
  }

  .hero-image-left-wrapper2 {
    display: flex;               
    flex-direction: row;         
    flex-wrap: nowrap;           
    align-items: center;         
    justify-content: flex-start; 
    gap: 20px;                   
    width: 100%;
    max-width: 600px;            
    margin: 0 auto;              
    position: relative;   
    object-fit: none;      
  }

  .hero-image-left-wrapper {
    flex: 0 0 100px;             
    position: static !important;
  
  }

.hero-image.left {
  position: absolute !important;
  top: -40px;

  left: clamp(-60px, 2vw, 180px) !important;
  width: 100px;
  max-width: 230px !important;
  height: auto !important;
  display: block;
  margin: 0 !important;
  transform: none !important;
  transition: left 0.22s ease, top 0.22s ease;
}
  .hero-content {
    flex: 1 1 auto;              
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    text-align: center;      
    height: auto !important;
    position: relative;      
  }

 .hero-title {
  font-size: 20px;
  margin: -150px 0 10px 0; 
  text-align: center;
  position: relative;     
  left: -70px;             
}

  .hero-strong {
    font-size: 20px;
    display: block; 
    text-align: center;
  }
  
  .hero-item {
    font-size: 14px;
  }

  .hero-list {
    text-align: center !important;
    margin-bottom: 15px;
position: relative;
left: -40px;
  }

  .hero-image.right {
    position: absolute !important;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 230px !important;
    width: 100%;                 
    height: auto !important;
    display: block;
    margin: 0 !important;
    top: 200px;
  }
}
/*----------------------------------------------------*/
.footer {
  background: white;
  max-width: 1100px;
  margin: 50px auto 0 auto; 
  text-align: center;
  padding: 30px 25px 100px;
  border-radius: 56px 56px 0 0;
  position: relative;
}
.bn-inline-content{
  /*display: none;*/
}

.footer-logo {
  margin-bottom: 20px;

 
}

.footer-logo img {
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

.footer-social {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap; 
  gap: 8px;            
}

.footer-social-link {
  margin: 0; 

}

.footer-social-link img {
  display: block; 
  width: 32px;
  height: 32px;
  margin: 0;
  transition: transform 0.3s ease;
}
.footer-social-link img:hover {
  transform: scale(1.15);
}

.subscribe {
  background: #F5F5F5;
  width: 348px;
  height: 296px;
  padding: 15px;
  margin: 0 auto 30px;
  border-radius: 24px;
  
}

.subscribe-title {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 400;
  color: #212121;
  margin-top: 10px;
}
.fresh-materials{
 font-size: 20px;
  font-weight: 400;
  color: #212121;
  font-family: 'Roboto Serif', serif;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-input {
  padding: 10px;
  font-size: 16px !important;
  border-radius: 8px;
  font-weight: 400 !important;
  border: 1px solid #757575;
  height: 56px !important;
  box-sizing: border-box; 
  display: block; 
  line-height: 1.2; 
  width: 300px !important;
}

.subscribe-button {
  background: #2196F3;
  color: white;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 56px;
  width: auto;

}

.subscribe-button:hover {
  background: transparent;
  color: #2196F3;
  border: 1px solid #2196F3;
  transform: scale(1.05);
}

.subscribe-note {
  font-size: 12px;
  font-weight: 500;
  color: #757575;
}

.footer-contact {
    font-size: 14px;
margin-bottom: 0;
font-weight: 400;
margin-top: -15px;
color: #212121;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  color: #2196F3;
  margin-top: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500; 
}

.footer-email img {
  width: 20px;
  margin-right: 10px;
}

.footer-copy {
  font-size: 12px;
  font-weight: 400;
  color: #757575;
}
.footer-image {
  position: absolute; 
  bottom: 0px;       
  left: 165px;          
  transform: translateX(-50%);
  max-width: 332px;
  height: auto;
}

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

@media (max-width: 600px) and (min-width: 300px) {
  .footer {
    margin: -25px 0 0 0;
    padding: 20px 15px 50px;  
    border-radius: 24px 24px 0 0;
    text-align: center;
    position: relative;
    
    top:50px;
  }
   .subscribe-note{
    margin: 0 0 0 0;

   }
  .fresh-materials{
    font-size: 20px;
  }

  .footer-logo {
    margin-bottom: 15px;
  }

  .footer-logo img {
    max-width: 261px; }

  .footer-social {
    margin-bottom: 15px;
    gap: 0;

  }

  .footer-social-link img {
    width: 32px;
    height: 32px;
    margin: 0;
  }

  .subscribe {
    max-width: 100%;
    
    padding: 15px;
    height: 248px;
  }

  .subscribe-title {
    font-size: 20px;
    margin-bottom: 8px;
    margin-top: -2px;
  }

  .subscribe-input {
    font-size: 14px !important;
    padding: 8px;
    height: 48px !important;
    
  }

  .subscribe-button {
    font-size: 14px;
    padding: 8px 16px;
    height: 48px;
  }

  .footer-contact {
    font-size: 14px;
    margin-top: -20px;
   
  }

  .footer-email {
    font-size: 16px;
    margin-top: 4px;
  }


  .footer-copy {
    font-size: 11px;
  }

  .footer-image {
    position: absolute; 
    bottom: 0px;       
    left: 50px;  
    max-width: 30% !important;    
    transform: translateX(-50%);
    max-width: 300px;
    height: auto;
  }

  .footer-image img {
    height: auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .container-festival {
    padding: 0 15px 10px 15px;
    border-radius: 24px;
    margin: 20px auto;
    margin-bottom: 0;
  }

  .title-festival,
  .title-festival2 {
    font-size: 20px;
    margin-top: 20px !important;
    margin-bottom: -10px !important;
  }
     .title-festival2 {
    margin-left: 6px;
  }

  .button-festival {
    width: 100%;     
    font-size: 14px;  
    height: 48px;     
    padding: 12px 0 0 0; 
    margin: 20px auto;
  }
    .arrow-festival{
   max-width: 110px !important;
    width: 100%;      
    top: -24px !important;
    right: calc(10% + -50px);
    position: absolute;
    content: url('https://prosto-dev-server.srv3.s3app.org/download/?id=79494567-220c-4348-8b70-95efea27dd9b&mode=view');
  }
}