/*Variables*/
#lgh #sectorsPage #main .sectors-list {
  display: grid;
  grid-column-gap: 10px;
  grid-row-gap: 30px;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(1, 1fr);
  margin-top: 30px;
}
#lgh #sectorsPage #main .sectors-list .sector {
  transition: box-shadow 0.2s;
}
#lgh #sectorsPage #main .sectors-list .sector .sector-link {
  text-decoration: none;
}
#lgh #sectorsPage #main .sectors-list .sector .sector-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 240px;
}
#lgh #sectorsPage #main .sectors-list .sector .sector-image::before {
  left: 0;
  content: "";
  display: block;
  width: 10px;
  height: 100%;
  position: absolute;
  top: 0;
  background-color: #b0aa00;
  opacity: 1;
  transition: all 0.3s ease-in-out;
  touch-action: none;
}
#lgh #sectorsPage #main .sectors-list .sector .sector-image .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#lgh #sectorsPage #main .sectors-list .sector .sector-image .sector-icon {
  position: absolute;
  visibility: hidden;
  /* Hide icon by default */
  opacity: 0;
  transition: visibility 0s, opacity 0.5s ease-in-out;
  /* Smooth transition for the opacity */
}
#lgh #sectorsPage #main .sectors-list .sector .sector-title {
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#lgh #sectorsPage #main .sectors-list .sector .sector-title .title {
  color: #000000;
  text-decoration: none;
  background: transparent;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0;
  margin: 0;
  font-size: 18px;
}
#lgh #sectorsPage #main .sectors-list .sector:hover {
  box-shadow: 2px 2px 8px 1px #a6a6a6;
}
#lgh #sectorsPage #main .sectors-list .sector:hover .sector-image::before {
  opacity: .3;
  transition: all 0.3s ease-in-out;
  width: 100%;
}
#lgh #sectorsPage #main .sectors-list .sector:hover .sector-image .sector-icon {
  visibility: visible;
  /* Show icon on hover */
  opacity: 1;
}
#lgh #sectorsPage #main .sectors-list .sector:hover .sector-title .title {
  color: #b0aa00;
}
#lgh #sectorSinglePage .sector-header {
  position: relative;
  display: flex;
  align-items: center;
}
#lgh #sectorSinglePage .sector-header .sector-image {
  height: 300px;
  object-fit: cover;
  object-position: bottom;
}
#lgh #sectorSinglePage .sector-header .header-label {
  position: absolute;
  border: solid #b0aa00;
  background-color: #ffffff;
  border-width: 0 0 0 10px;
  padding: 10px;
  margin: 0 30px;
}
#lgh #sectorSinglePage .sector-header .header-label .sector-title {
  color: #000000;
  background: #ffffff;
  margin: 0;
}
#lgh #sectorSinglePage .sector-body .sector-content .gallery {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: 1fr;
  column-gap: 15px;
  row-gap: 15px;
}
#lgh #sectorSinglePage .sector-body .sector-content .gallery br {
  display: none;
}
#lgh #sectorSinglePage .sector-body .sector-content .gallery .gallery-item {
  margin: 0;
  width: 100%;
  height: 100%;
}
#lgh #sectorSinglePage .sector-body .sector-content .gallery .gallery-item img {
  height: 300px;
  object-fit: cover;
  border: none;
}
#lgh #sectorSinglePage .additional-sectors {
  display: none;
  column-gap: 2rem;
  justify-content: space-between;
  margin-top: 3rem;
}
#lgh #sectorSinglePage .additional-sectors .sector {
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
  background-position: left top;
  width: 50%;
  align-self: stretch;
  position: relative;
}
#lgh #sectorSinglePage .additional-sectors .sector .sector-bg {
  height: 201px;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
}
#lgh #sectorSinglePage .additional-sectors .sector .sector-title {
  position: absolute;
  background: #000000;
  color: #ffffff;
  padding: 10px;
  border: solid #b0aa00;
  border-width: 0 0 0 10px;
  align-self: flex-end;
  max-width: 540px;
  margin: 30px;
}
#lgh #sectorSinglePage .additional-sectors .sector .sector-title .title {
  margin: 0;
}
#lgh #sectorSinglePage .additional-sectors .sector:first-child .sector-title {
  align-self: flex-start;
}
/* Responsive adjustments */
@media screen and (min-width: 768px) {
  #lgh #sectorSinglePage .sector-header .header-label .sector-title {
    font-size: 46px;
  }
  #lgh .info-banner .main .ib-container {
    justify-content: space-between;
  }
  #lgh #sectorSinglePage .sector-header .header-label {
    max-width: 540px;
  }
  #lgh #sectorSinglePage .additional-sectors {
    display: flex;
  }
  #lgh #sectorSinglePage .sector-body .sector-content .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 992px) {
  #lgh #sectorsPage #main .sectors-list {
    grid-template-columns: repeat(4, 1fr);
  }
  #lgh #sectorSinglePage .sector-body .sector-content .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
