.Green_Farm_Gallery {
  width: 100%;
  min-height: 100vh;
  background: #f6faf7;
}

.Green_Farm_Gallery .gallery_banner {
  width: 100%;
  min-height: 230px;
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(0, 55, 17, 0.699) 0%,
      rgba(0, 70, 20, 0.603) 45%,
      rgba(0, 70, 20, 0.103) 100%
    ),
    url("/assets/images/small_banner/galler.jpg");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.Green_Farm_Gallery .gallery_banner::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.Green_Farm_Gallery .gallery_banner_content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 70px 0;
}

.Green_Farm_Gallery .gallery_banner_line {
  width: 50px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #05d83e;
}

.Green_Farm_Gallery .gallery_small_title {
  display: block;
  margin-bottom: 12px;
  color: #8dff9f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.Green_Farm_Gallery .gallery_banner h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -1px;
}

.Green_Farm_Gallery .gallery_banner p {
  max-width: 570px;
  margin: 0;
  color: #e4f4e7;
  font-size: 15px;
  line-height: 1.8;
}

/* Gallery Section */

.Green_Farm_Gallery .gallery_section {
  padding: 30px 0 90px;
}

.Green_Farm_Gallery .gallery_section_label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #05a832;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.Green_Farm_Gallery .gallery_section_label::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #05d83e;
}

.Green_Farm_Gallery .gallery_top h2 {
  margin: 10px 0 0;
  color: #123d1a;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.12;
  font-weight: 700;
}

.Green_Farm_Gallery .gallery_top_right {
  max-width: 360px;
}

.Green_Farm_Gallery .gallery_top_right p {
  margin: 0;
  color: #657568;
  font-size: 14px;
  line-height: 1.8;
}

/* Grid */

.Green_Farm_Gallery .gallery_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 14px;
}

.Green_Farm_Gallery .gallery_item {
  min-width: 0;
  min-height: 0;
}

.Green_Farm_Gallery .gallery_item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.Green_Farm_Gallery .gallery_item:nth-child(4) {
  grid-column: span 2;
}

.Green_Farm_Gallery .gallery_image_holder {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #e7f0e9;
  cursor: pointer;
}

.Green_Farm_Gallery .gallery_image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 0.7s ease,
    filter 0.5s ease;
}

.Green_Farm_Gallery .gallery_image_holder:hover .gallery_image {
  transform: scale(1.07);
  filter: brightness(0.8);
}

/* Number */

.Green_Farm_Gallery .gallery_number {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #015319;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.35s ease;
}

.Green_Farm_Gallery .gallery_image_holder:hover .gallery_number {
  background: #05d83e;
  color: #ffffff;
}

/* Overlay */

.Green_Farm_Gallery .gallery_overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    180deg,
    rgba(0, 45, 12, 0.08) 20%,
    rgba(0, 55, 15, 0.9) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.Green_Farm_Gallery .gallery_image_holder:hover .gallery_overlay {
  opacity: 1;
}

.Green_Farm_Gallery .gallery_overlay_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.Green_Farm_Gallery .gallery_overlay_top > span {
  padding: 6px 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.Green_Farm_Gallery .gallery_arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #05d83e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(10px);
  transition: transform 0.4s ease;
}

.Green_Farm_Gallery .gallery_image_holder:hover .gallery_arrow {
  transform: translateX(0);
}

.Green_Farm_Gallery .gallery_arrow svg {
  font-size: 12px;
}

.Green_Farm_Gallery .gallery_overlay_bottom h3 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Load More */

.Green_Farm_Gallery .gallery_load_more {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

.Green_Farm_Gallery .gallery_load_more_btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 25px;
  border: 1px solid #b9ddc0;
  border-radius: 40px;
  background: #ffffff;
  color: #015319;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s ease;
}

.Green_Farm_Gallery .gallery_load_more_btn svg {
  font-size: 12px;
  transition: transform 0.35s ease;
}

.Green_Farm_Gallery .gallery_load_more_btn:hover {
  border-color: #05d83e;
  background: #05d83e;
  color: #ffffff;
}

.Green_Farm_Gallery .gallery_load_more_btn:hover svg {
  transform: translateX(5px);
}

.Green_Farm_Gallery .gallery_empty {
  padding: 70px 20px;
  text-align: center;
  color: #68766c;
  font-size: 14px;
}

/* Modal */

.Green_Farm_Gallery .gallery_modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 40px 80px;
  background: rgba(0, 28, 8, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
}

.Green_Farm_Gallery .gallery_modal_content {
  width: 100%;
  max-width: 1000px;
  position: relative;
}

.Green_Farm_Gallery .gallery_modal_image {
  width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Green_Farm_Gallery .gallery_modal_image img {
  width: 100%;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.Green_Farm_Gallery .gallery_modal_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
}

.Green_Farm_Gallery .gallery_modal_info span {
  color: #72ef84;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.Green_Farm_Gallery .gallery_modal_info h3 {
  margin: 5px 0 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
}

.Green_Farm_Gallery .gallery_modal_counter {
  color: #b8cdbd;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.Green_Farm_Gallery .gallery_close,
.Green_Farm_Gallery .gallery_previous,
.Green_Farm_Gallery .gallery_next {
  position: absolute;
  z-index: 10;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(5, 216, 62, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.Green_Farm_Gallery .gallery_close:hover,
.Green_Farm_Gallery .gallery_previous:hover,
.Green_Farm_Gallery .gallery_next:hover {
  background: #05d83e;
  border-color: #05d83e;
  color: #ffffff;
}

.Green_Farm_Gallery .gallery_close {
  top: 25px;
  right: 25px;
}

.Green_Farm_Gallery .gallery_previous {
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.Green_Farm_Gallery .gallery_next {
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.Green_Farm_Gallery .gallery_close svg,
.Green_Farm_Gallery .gallery_previous svg,
.Green_Farm_Gallery .gallery_next svg {
  width: 14px;
  height: 14px;
}

/* Tablet */

@media (max-width: 1199.98px) {
  .Green_Farm_Gallery .gallery_banner {
    min-height: 180px;
  }

  .Green_Farm_Gallery .gallery_grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .Green_Farm_Gallery .gallery_item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .Green_Farm_Gallery .gallery_item:nth-child(4) {
    grid-column: span 1;
  }
}

/* Mobile */

@media (max-width: 767.98px) {
  .Green_Farm_Gallery .gallery_banner {
    min-height: 130px;
  }

  .Green_Farm_Gallery .gallery_banner_content {
    padding: 50px 0;
  }

  .Green_Farm_Gallery .gallery_banner h1 {
    font-size: 35px;
    margin-bottom: 10px;
  }

  .Green_Farm_Gallery .gallery_top {
    display: block;
    margin-bottom: 28px;
  }

  .Green_Farm_Gallery .gallery_top_right {
    margin-top: 15px;
  }

  .Green_Farm_Gallery .gallery_top h2 {
    font-size: 30px;
  }

  .Green_Farm_Gallery .gallery_grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
    gap: 10px;
  }

  .Green_Farm_Gallery .gallery_item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .Green_Farm_Gallery .gallery_item:nth-child(4) {
    grid-column: span 1;
  }

  .Green_Farm_Gallery .gallery_overlay {
    opacity: 1;
    padding: 12px;
    justify-content: flex-end;
  }

  .Green_Farm_Gallery .gallery_overlay_top {
    display: none;
  }

  .Green_Farm_Gallery .gallery_overlay_bottom h3 {
    font-size: 14px;
  }

  .Green_Farm_Gallery .gallery_number {
    width: 30px;
    height: 30px;
    top: 10px;
    left: 10px;
    font-size: 9px;
  }

  .Green_Farm_Gallery .gallery_arrow {
    display: none;
  }

  .Green_Farm_Gallery .gallery_modal {
    padding: 55px 15px 25px;
  }

  .Green_Farm_Gallery .gallery_modal_info h3 {
    font-size: 16px;
  }

  .Green_Farm_Gallery .gallery_previous {
    left: 8px;
  }

  .Green_Farm_Gallery .gallery_next {
    right: 8px;
  }
}

/* Small Mobile */

@media (max-width: 575.98px) {
  .Green_Farm_Gallery .gallery_banner {
    min-height: 80px;
  }

  .Green_Farm_Gallery .gallery_banner_content {
    padding: 20px 0;
  }

  .Green_Farm_Gallery .gallery_small_title {
    font-size: 9px;
    letter-spacing: 1.8px;
  }

  .Green_Farm_Gallery .gallery_banner h1 {
    margin-bottom: 11px;
    font-size: 28px;
  }
  .Green_Farm_Gallery .gallery_banner p {
    font-size: 12px;
    line-height: 1.35;
  }

  .Green_Farm_Gallery .gallery_section {
    padding: 15px 0 45px;
  }

  .Green_Farm_Gallery .gallery_top h2 {
    font-size: 25px;
  }

  .Green_Farm_Gallery .gallery_top_right p {
    font-size: 12px;
  }

  .Green_Farm_Gallery .gallery_grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
  }

  .Green_Farm_Gallery .gallery_overlay_bottom h3 {
    font-size: 12px;
  }

  .Green_Farm_Gallery .gallery_load_more {
    margin-top: 30px;
  }

  .Green_Farm_Gallery .gallery_load_more_btn {
    font-size: 13px;
  }

  .Green_Farm_Gallery .gallery_modal {
    padding: 50px 10px 20px;
  }

  .Green_Farm_Gallery .gallery_close {
    top: 12px;
    right: 12px;
  }

  .Green_Farm_Gallery .gallery_close,
  .Green_Farm_Gallery .gallery_previous,
  .Green_Farm_Gallery .gallery_next {
    width: 34px;
    height: 34px;
  }

  .Green_Farm_Gallery .gallery_modal_info {
    padding: 10px 5px 0;
  }

  .Green_Farm_Gallery .gallery_modal_info h3 {
    font-size: 14px;
  }

  .Green_Farm_Gallery .gallery_modal_counter {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .Green_Farm_Gallery .gallery_grid {
    grid-auto-rows: 145px;
    gap: 8px;
  }

  .Green_Farm_Gallery .gallery_overlay {
    padding: 9px;
  }

  .Green_Farm_Gallery .gallery_overlay_bottom h3 {
    font-size: 11px;
  }

  .Green_Farm_Gallery .gallery_number {
    width: 26px;
    height: 26px;
    font-size: 8px;
  }
}
