

section.Dlib {
    padding: 0;
    background-image: linear-gradient(rgb(0 0 0 / 5%)), linear-gradient(rgb(255 196 156 / 12%)), url("../images/bg-vector.svg"); 
    background-size: 150%;
    background-position: center;
}
section.Dlib p {
    font-size: 18px;
}
section.Dlib h4 {
    font-weight: 700;
    color: #7b5a44;
    font-size: 42px;
    padding: 25px 0;
    padding-bottom: 40px;
    border-right: 1px solid #7b5a44;
}

@media (max-width:767px){
    section.Dlib {
     padding: 100px 0;
     background-image: linear-gradient(rgb(0 0 0 / 5%)), linear-gradient(rgb(255 196 156 / 12%)), url("../images/bg-vector.svg");
     background-size: 350%;
     background-position: center;
    }
}

@media (max-width: 376px){
    section.Dlib {
     padding: 100px 0;
     background-image: linear-gradient(rgb(0 0 0 / 5%)), linear-gradient(rgb(255 196 156 / 12%)), url("../images/bg-vector.svg");
     background-size: 500%;
     background-position: center;
    }
}

.banner-item h1 {
    color: #7b5a44;
}
 .ecosystem-section {
            background-image: url("../images/bg-vector.svg");
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            padding: 80px 0;
        }

        .ecosystem-title {
            font-size: 42px;
            font-weight: 700;
            color: #1f3d1f;
            line-height: 1.2;
        }

        .ecosystem-intro {
            font-size: 1.2rem;
            color: #555;
        }

        .resource-card h5 {
            color: #1f3d1f;
            font-weight: 600;
        }

        .resource-card p {
            color: #666;
            font-size: 1.2rem;
            margin-bottom: 0;
        }

        .ecosystem-footer {
            font-size: 1.2rem;
            color: #666;
            margin-top: 60px;
        }

.Dlib.no-bg{
    background: none;
}

/* Books */
.books {padding: 25px 10px; margin-top: 20px; text-decoration: none; text-align: center;}
.books img {width: 70%;}
.books a {text-decoration: none;}
.books a:hover > h5 {text-decoration: none; font-weight: 500;}
.books h5 {
    color: #646262;
    font-size: 25px;
    padding: 30px;
}


/* Magezines */
.issues-container {max-width:1100px; margin:40px auto; padding: 0 20px; text-align: center;}
.issues-container h2 {font-weight: 700; color: #1f3d1f; line-height: 1.2; margin-bottom: 80px;}
.issues-grid {display: grid; grid-template-columns: repeat(9, minmax(110px, 1fr));}
.issues {
    display: block; 
    border-right: 1px solid black; 
    border-bottom: 1px solid black; 
    text-align: center; 
    text-decoration: none; 
    color: #646262; 
    font-weight: 500;
    font-size: 25px;
    padding: 15px;
}
.issues:nth-child(9n) {border-right: none;}
.issues:nth-last-child(-n + 9) {border-bottom: none; padding-bottom: 5px;}
.issues:hover {background-color: #eaeaea; border-color: #666;}

    @media (max-width:1200px) {
        .issues-grid {display: grid; grid-template-columns: repeat(6, minmax(110px, 1fr));}
        .issues {border-right: 1px solid black; border-bottom: 1px solid black;}
        .issues:nth-child(9n) {border-right:  1px solid black;}
        .issues:nth-last-child(-n + 9) {border-bottom:  1px solid black;}
        .issues:nth-child(6n) {border-right: none;}
        .issues:nth-last-child(-n + 6) {border-bottom: none; padding-bottom: 5px;}
    }
    @media (max-width:900px) {
        .issues-grid {display: grid; grid-template-columns: repeat(4, minmax(110px, 1fr));}
        .issues {border-right: 1px solid black; border-bottom: 1px solid black;}
        .issues:nth-child(6n) {border-right: 1px solid black;}
        .issues:nth-last-child(-n + 6) {border-bottom:  1px solid black;}
        .issues:nth-child(4n) {border-right: none;}
        .issues:nth-last-child(-n + 4) {border-bottom: none; padding-bottom: 5px;}
    }
    @media (max-width:600px) {
        .issues-grid {display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr));}
        .issues {border-right: 1px solid black; border-bottom: 1px solid black;}
        .issues:nth-child(4n) {border-right:  1px solid black;}
        .issues:nth-last-child(-n + 9) {border-bottom:  1px solid black;}
        .issues:nth-child(4n) {border-right: 1px solid black;}
        .issues:nth-last-child(-n + 6) {border-bottom:  1px solid black;}
        .issues:nth-child(2n) {border-right: none;}
        .issues:nth-last-child(-n + 2) {border-bottom: none; padding-bottom: 5px;}
    }
    @media (max-width:400px) {
        .issues-grid {display: grid; grid-template-columns: repeat(1, minmax(110px, 1fr));}
        .issues {border-right: 1px solid black; border-bottom: 1px solid black;}
        .issues:nth-child(2n) {border-right:  1px solid black;}
        .issues:nth-last-child(-n + 2) {border-bottom:  1px solid black;}
        .issues:nth-child(4n) {border-right: 1px solid black;}
        .issues:nth-last-child(-n + 6) {border-bottom:  1px solid black;}
        .issues:nth-child(1n) {border-right: none;}
        .issues:nth-last-child(-n + 1) {border-bottom: none; padding-bottom: 5px;}
    }




/* Gallery */

/* 
.gal-row {display: flex; flex-wrap: wrap; padding: 0;}
.gal-col {flex: 33.333%; max-width: 33.333%; padding-inline: 5px;}
.gal-col img {vertical-align: middle; width: 100%;}
.gal-thumbnail {margin-bottom: 6px;width: 100%;}

@media screen and (max-width: 800px) {
  .gal-col {
    flex: 50%;
    max-width: 50%;
  }
}
@media screen and (max-width: 600px) {
  .gal-col {
    flex: 100%;
    max-width: 100%;
  }
}
*/ 

.gallery-title {font-size: 32px; font-weight: 700; color: #1f3d1f; line-height: 1;}
.gal-row {display: grid; grid-template-columns: repeat(3, 1fr);gap: 10px;align-items: stretch;}
.gal-col {display: flex; flex-direction: column; justify-content: space-between; padding-inline: 0 8px;}
.gal-col .gal-thumbnail {margin-bottom: 6px;}
.gal-col img {width: 100%;height: auto; display: block;}

@media (max-width: 800px) {
  .gal-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gal-row {
    grid-template-columns: 1fr;
  }
}



/* The Modal (background) */
#modal-gallery {background-color: rgb(0,0,0, 0.2);}
#modal-gallery .modal-header, #modal-gallery .modal-footer {border: none;}

/* Modal Content */
#gallery .modal-dialog {padding-top: 10px;}
#gallery .modal-content {
  flex-direction: column-reverse;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 100%;
  max-height: 800px;
}
#gallery .modal-content .slider-item img {z-index: 1000; overflow: hidden; margin: auto; max-height: 550px; padding-top: 30px; object-fit: cover;}
#gallery .modal-content .modal-body {overflow: hidden; height: 550px; align-content: center; }
#gallery .modalSlides {display: none;}
.cursor {cursor: pointer;}

@media (max-width:) {

}
@media (max-width: 600px) {
  #gallery .modal-content .slider-item img {z-index: 1000; overflow: hidden; margin: auto; object-fit: cover;}
}
.slick-modal-slider {
  overflow: hidden;
}
.slick-modal-slider {
  /*min-height: 50vh !important;*/
  background-size: cover;
  background-position: center;
  position: relative;
}
.slick-modal-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.45); */
}
.slick-modal-slider .container {
  position: relative;
  z-index: 2;
}

/* Next & previous buttons */
.slick-modal-slider .slick-prev,
.slick-modal-slider .slick-next {
  z-index: 10;
  border-radius: 50px;
    background: transparent;
    font-size: 0px;
    border: none;
}
.slick-modal-slider button.slick-next.slick-arrow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.slick-modal-slider button.slick-prev.slick-arrow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.slick-modal-slider button.slick-next.slick-arrow img {
    width: 50px;
    height: 50px;
    opacity: 0.60;
    filter: invert(100%);
}
.slick-modal-slider button.slick-next.slick-arrow:hover img {
    opacity: 1;
}
.slick-modal-slider button.slick-prev.slick-arrow img {
    width: 50px;
    height: 50px;
    opacity: 0.60;
    filter: invert(100%);
}
.slick-modal-slider button.slick-prev.slick-arrow:hover img {
    opacity: 1;
}

#gallery .slider-item {text-align: center;}
#gallery .img-wrapper {
  position: relative;
  img {width: 100%;}
}

/* Image overlay */
#gallery .img-overlay {
  background: rgba(0,10,0,0.3);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#gallery .img-overlay:hover {background: rgba(0,10,0,0.35);}
#gallery .img-overlay h5 {
  color: white;
  font-size: 1.5rem;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin:0;
  font-weight: 600;
}
#gallery .modal-content .slider-item img {z-index: 1000;overflow: hidden;margin: auto;max-height: 500px;padding-top: 0px;object-fit: cover;}
.books {padding: 10px;margin-top: 5px;text-decoration: none;text-align: center;}



.gal-col {
    display: grid;
    grid-auto-rows: minmax(120px, auto);
    gap: 6px;
}

    .gal-col img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.gal-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 800px) {
    .gal-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gal-row {
        grid-template-columns: 1fr;
    }
}


.hero-slider {
    width: 100%;
    height: 365px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.slide {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.image-mask {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

    .image-mask img {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 1080px;
        object-fit: cover;
    }

.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    font-size: 0px;
}

.slick-prev {
    left: 30px;
}

.slick-next {
    right: 30px;
}

    .slick-prev:before, .slick-next:before {
        content: '';
    }

.slick-prev::after {
    content: '';
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") no-repeat center/contain;
}

.slick-next::after {
    content: '';
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center/contain;
}
 