*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
    scroll-padding: 65px;
}

body{
     font-family: 'Montserrat';
    background-color: #003F2A;
   
}

.header{
    position: fixed;
    padding-block: 30px;
    background-color: white;
    width: 100%;
    z-index: 999;
    top: 0;
}

main{
    margin-top: 60px;
}

.header_container{
    max-width: auto;
    margin-inline: auto;
}

.header_nav{
    display:flex;
    justify-content:space-around;
    align-items: center;
}

.header_list{
    display: flex;
    gap: 49px;
}

ul{
    list-style: none;
}

.header_list-link{
    font-family: 'Montserrat';
    font-weight: 400;
    color:grey;
    transition: color 0.2s;
}

.header_list-link:hover{
    color:black;
}

.header_logo{
    font-size: larger;
}

a{
    text-decoration: none;
}


.main-title {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    padding-top: 30px;
    font-size: 32px;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.text-column {
    flex: 1; 
    min-width: 0; 
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.rec-list-tittle{
    font-weight: 600;
}

.rec-list{
    list-style-type: disc; 
    padding-left: 20px;     
    margin: 0;
}

.rec-list li{
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: left;
}      

.text-column p {
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: justify;
}

.map-img{
    width: 550px;   
    height: auto;
    display: flex;
}

.prof-img{
    width: 600px;
    height: auto;
    display: flex;
}

.marking-img{
    width: 550px;   
    height: auto;
    display: flex;
}

/* замок */

.route-map-link {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.route-map-link:hover {
  opacity: 0.8;
  color: #D2D2D2;
}

.section-tittle{
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    padding-top: 30px;
    font-size: 32px;
}

.content-section{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.text-section1{
    flex: 1; 
    min-width: 0; 
    color: white;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.83;
    text-align: justify;
}

.text-section{
    flex: 1; 
    min-width: 0; 
    color: white;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: justify;
}

/* фотогалерея замок */

.gallery-section {
  width: 100%;
  box-sizing: border-box;
  padding: 30px 20px;
}

.gallery-title {
  color: #ffffff;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 25px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-card {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-desc {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  padding: 10px 8px;
  margin: 0;
  opacity: 0.95;
  background-color: rgba(0, 0, 0, 0.2);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-desc {
    font-size: 12px;
    padding: 8px 6px;
  }
}

/* заказник */

.content-section2{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.text-section-3{
    flex: 1; 
    min-width: 0; 
    color: white;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.78;
    text-align: justify;
}

.text-section-4{
    flex: 1; 
    min-width: 0; 
    color: white;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: justify;
}

/* фотогалерея заказник */

.gallery-second {
    margin-bottom: 50px;
}

@media (max-width: 700px) {
    .gallery-second {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px;
    }

    .gallery-second img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }
}

/* печера */

.content-section3{
       display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.text-section-5{
    flex: 1; 
    min-width: 0; 
    color: white;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.66;
    text-align: justify;
}

.text-section-6{
    flex: 1; 
    min-width: 0; 
    color: white;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: justify;
}


/* фотогалерея печера */

.gallery-card img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-card img:hover {
  transform: scale(1.02);
}

.gallery-cave {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.gallery-cave img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-cave img:hover {
  transform: scale(1.02);
}

.cave-video-wrapper {
  max-width: 800px;
  margin: 20px auto 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.cave-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background-color: #000000;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .gallery-cave {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .gallery-cave {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 15px;
  }

  .cave-video-wrapper {
    padding: 0 15px;
  }
}

@media (max-width: 700px) {

    .gallery-cave {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px;
    }

    .gallery-cave img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    #lightboxCave .lightbox-image {
        max-width: 90vw;
        max-height: 75vh;
    }

    #lightboxCave .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
    }

    #lightboxCave .lightbox-prev,
    #lightboxCave .lightbox-next {
        font-size: 30px;
    }

    #lightboxCave .lightbox-prev {
        left: 10px;
    }

    #lightboxCave .lightbox-next {
        right: 10px;
    }

    #lightboxCave .lightbox-counter {
        bottom: 15px;
    }
}

/*  секція із телефончиком */


.emergency-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
  padding: 30px 60px;
}

.emergency-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  width: fit-content;
}

.emergency-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.emergency-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.emergency-ua {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.emergency-en {
  font-size: 11px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  opacity: 0.85;
  white-space: nowrap;
}

.emergency-num {
  font-size: 64px;
  font-weight: 800;
  line-height: 0.85;
  color: #ffffff;
  letter-spacing: -1px;
  margin: 0;
  padding: 0;
  display: block;
}

@media (max-width: 768px) {
  .emergency-wrapper {
    justify-content: center;
    padding: 20px 15px;
  }

  .emergency-box {
    gap: 12px;
  }

  .emergency-icon {
    width: 28px;
    height: 28px;
  }

  .emergency-ua {
    font-size: 11px;
  }

  .emergency-en {
    font-size: 9px;
  }

  .emergency-num {
    font-size: 44px;
  }
}



/* партнери */

.partners-section {
  width: 100%;
  background-color: #F0F4F2;
  padding: 50px 20px;
  box-sizing: border-box;
}

.partners-title {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  color: #111111;
  margin: 0 0 45px 0;
}

.partners-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 25px;
}

.partner-logo {
  height: 100px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.partner-logo1{
  height: 70px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.partner-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.partner-links a {
  font-size: 16px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

.partner-links a:hover {
  color: #08422A;
  text-decoration: underline;
}

/* про нас */

.about-section {
  width: 100%;
  background-color: #F0F4F2;
  padding: 50px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-title {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  color: #111111;
  margin: 0 0 35px 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-logo {
  height: 200px;
  width: auto;
  object-fit: contain;
  display: block;
}

.about-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.about-links a {
  font-size: 20px;
  color: #111111;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

.about-links a:hover {
  color: #08422A;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .about-section {
    padding: 35px 15px;
  }

  .about-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .about-logo {
    height: 75px;
  }

  .about-links a {
    font-size: 14px;
  }
}

/* галерея настройка */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  z-index: 100000;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  opacity: 0.75;
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100000;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

.lightbox-counter {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 14px;
  border-radius: 20px;
  user-select: none;
}

@media (max-width: 768px) {
  .lightbox-image {
    max-width: 95vw;
    max-height: 80vh;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 34px;
  }

  .lightbox-counter {
    bottom: 15px;
    font-size: 13px;
  }
}

/* 
   MOBILE
 */

@media (max-width: 700px) {

    .banner {
        width: 100%;

        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding: 20px 15px;
        gap: 20px;

        background-color: #ffffff;
    }


    .banner_list {
        width: 100%;

        display: grid;

        grid-template-columns: repeat(4, 1fr);

        justify-items: center;
        align-items: center;

        gap: 15px 10px;

        flex: none;
    }

    .baner_images {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .baner_images img {
        width: auto;
        height: 45px;
        max-width: 75px;

        object-fit: contain;
    }

    
    .footer-text {
        width: 100%;
        max-width: 100%;

        flex: none;

        margin: 0;

        font-size: 9px;
        line-height: 1.4;

        text-align: center;
    }
}

/*  панель із силками */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: transparent;
}

.header-top {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  box-sizing: border-box;
  margin: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.header-logo {
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
}

.header-main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  color: #222222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #08422A;
}

.header-sub {
  background-color: #D2D2D2;
  padding: 10px 40px;
  box-sizing: border-box;
  margin: 0;
  max-height: 120px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.25s ease;
}

.site-header.is-sub-collapsed .header-sub {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.header-sub-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 20px;
}

.sub-link {
  font-size: 14px;
  color: #111111;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.sub-link:hover {
  color: #08422A;
}

.header-toggle-btn {
  position: absolute;
  top: 100%;
  right: 40px;
  width: 44px;
  height: 26px;
  background-color: #D2D2D2;
  border: none;
  border-radius: 0 0 8px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.18);
  padding: 0;
  transition: background-color 0.2s ease;
}

.toggle-icon {
  transition: transform 0.3s ease;
  transform: rotate(180deg);
}

.site-header.is-sub-collapsed .toggle-icon {
  transform: rotate(0deg);
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    gap: 8px;
    padding: 10px 15px;
    text-align: center;
  }

  .header-logo {
    font-size: 17px;
  }

  .header-main-nav {
    gap: 15px;
  }

  .nav-link {
    font-size: 13px;
  }

  .header-sub {
    padding: 8px 12px;
    overflow-x: auto;
  }

  .header-sub-nav {
    width: max-content;
    gap: 14px;
  }

  .sub-link {
    font-size: 12px;
  }

  .header-toggle-btn {
    right: 15px;
  }
}

/* Телефон */


@media (max-width: 700px) {

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery img {
        height: 160px;
    }

    .lightbox-image {
        max-width: 92vw;
        max-height: 80vh;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
    }
}



/* адаптація під телефон */

@media (max-width: 700px) {

    
    * {
        box-sizing: border-box;
    }

    body {
        width: 100%;
        overflow-x: hidden;
        padding-top: 75px;
    }

    main{
        padding-top: 20px;
    }

    .header {
        padding: 20px 15px;
    }

    .header_container {
        width: 100%;
        max-width: none;
    }

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

    .header_logo {
        font-size: 20px;
        text-align: center;
    }

    .header_list {
        gap: 25px;
        justify-content: center;
        padding: 0;
    }

    .main-title,
    .section-tittle {
        font-size: 25px;
        line-height: 1.3;
        padding: 25px 15px 0;
        margin-bottom: 20px;
    }

    .content-container,
    .content-section {
        display: flex;
        flex-direction: column;

        width: 100%;
        max-width: 100%;

        gap: 25px;

        padding-left: 15px;
        padding-right: 15px;

        margin: 0;
    }

    .text-column,
    .text-section,
    .text-section1 {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        flex: none;

        line-height: 1.6;
        text-align: left;
    }

    .text-column p,
    .text-section p,
    .text-section1 p {
        text-align: left;
    }

    .map-img,
    .prof-img,
    .marking-img {
        display: block;

        width: 100%;
        max-width: 100%;
        height: auto;

        margin: 0 auto;
    }

    .gallery {
        width: 100%;
        max-width: 100%;

        grid-template-columns: repeat(2, 1fr);

        gap: 10px;

        padding: 0 15px;
    }

    .gallery img {
        width: 100%;
        height: 150px;

        object-fit: cover;
    }

    .lightbox-image {
        width: auto;
        max-width: 90vw;
        max-height: 75vh;

        object-fit: contain;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;

        font-size: 35px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        bottom: 15px;
    }
}

@media (max-width: 700px) {

    .content-section2,
    .content-section3 {
        display: flex;
        flex-direction: column;

        width: 100%;
        max-width: 100%;

        gap: 25px;

        padding-left: 15px;
        padding-right: 15px;

        box-sizing: border-box;
    }

    .text-section-3,
    .text-section-4,.text-section-5,.text-section-6 {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        flex: none;

        font-size: 16px;
        line-height: 1.6;

        text-align: left;

        box-sizing: border-box;
    }
}


/* 
   MOBILE FIX
 */

@media (max-width: 700px) {

    
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


   
    .content-container,
    .content-section,
    .content-section2,
    .content-section3 {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }


   
    .text-column,
    .text-section,
    .text-section1,
    .text-section-3,
    .text-section-4,
    .text-section-5,
    .text-section-6 {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }


   
    .map-img,
    .marking-img,
    .prof-img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }



    .gallery,
    .gallery-second,
    .gallery-cave {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery img,
    .gallery-second img,
    .gallery-cave img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }



    
    .banner {
        width: 100% !important;
        max-width: 100% !important;

        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;

        align-items: center !important;

        padding: 20px 15px !important;
        gap: 20px !important;

        box-sizing: border-box !important;

        overflow: hidden;
    }

    .banner_list {
        width: 100% !important;
        max-width: 100% !important;

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;

        justify-content: center !important;
        align-items: center !important;

        gap: 10px !important;

        flex-shrink: 1 !important;
    }

    .baner_images {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .baner_images img {
        width: auto !important;
        max-width: 85px !important;
        height: 45px !important;
        object-fit: contain !important;
    }

    .footer-text {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        font-size: 9px !important;
        line-height: 1.35 !important;

        text-align: center;
    }
}




.banner {
    width: calc(100% + 60px) !important;
    margin-left: -60px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 20px 40px !important;

    background-color: white !important;
    box-sizing: border-box !important;

    gap: 40px !important;
}

.banner_list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;

    gap: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    flex-shrink: 0 !important;
}

.baner_images {
    display: flex !important;
    align-items: center !important;
}

.baner_images img {
    width: auto !important;
    height: 60px !important;
    object-fit: contain !important;
}

.footer-text {
    max-width: 600px !important;

    margin: 0 !important;

    color: #333 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;

    text-align: left !important;
}




@media screen and (max-width: 768px) {
 
  .banner {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-direction: column !important; 
    align-items: center !important;    
    padding: 20px 15px !important;    
    gap: 20px !important;             
    box-sizing: border-box !important;
  }

  
  .banner_list {
    flex-direction: row !important;  
    flex-wrap: wrap !important;      
    justify-content: center !important; 
    width: 100% !important;
    gap: 10px !important;            
    padding: 0 !important;
    margin: 0 !important;
  }

  
  .baner_images {
    width: auto !important; 
    display: flex !important;
    justify-content: center !important;
  }

 
  .baner_images img {
    height: 30px !important; 
    width: auto !important;
    object-fit: contain !important;
  }

 
  .banner .footer-text {
    max-width: 100% !important;
    text-align: center !important; 
    font-size: 10px !important;   
    line-height: 1.4 !important;
    margin: 0 !important;
    color: #333333 !important;  
  }

  
  body, html {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important; 
  } 
}

@media (max-width: 768px) {
  .partners-section {
    padding: 30px 10px;
  }

  .partners-title {
    font-size: 20px;
    margin: 0 0 25px 0;
  }

  .partners-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
  }

  .partner-card {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: none;
  }

  .partner-logo {
    height: 36px;
    max-width: 80px;
  }

  .partner-links {
    gap: 4px;
  }

  .partner-links a {
    font-size: 12px;
  }
}

