/**
 * pages.css
 *
 * Sub-page stylesheet for the BridgePoints Insight website.
 * Contains styles for inner page banners (team, services, careers, contact),
 * team decorative elements, career listing content, news article detail,
 * category dropdown filter, map container, and responsive adjustments.
 */

/* ============================================
   Page Banners
   ============================================ */

.about-piece {
  background-image: url(../images/banner/who-we-are.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.about-piece .container-content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 215px 0 145px;
  z-index: 9;
}

.about-piece::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #10122b;
  opacity: 0.36;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.team-banner {
  background-image: url(../images/banner/team.jpg);
}

.services-banner {
  background-image: url(../images/banner/service.jpg);
}

.careers-banner {
  background-image: url(../images/banner/careers.jpg);
}

.contact-banner {
  background-image: url(../images/banner/contact.jpg);
}

/* ============================================
   Team Page Decorative Element
   ============================================ */

.team-piece::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 700px;
  background: url(../images/contours-pink.svg);
  background-position: 100% 0;
  background-repeat: repeat-y;
  background-size: 597.45px 1006.3px;
}

/* ============================================
   Service Grid
   ============================================ */

.service-grid-item {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
}

/* ============================================
   Career Details
   ============================================ */

.career-container ul li {
  list-style: disc;
}

/* ============================================
   News Article Images
   ============================================ */

.news-item .news-img img {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
}

/* ============================================
   News Article Content
   ============================================ */

.new-content ul {
  padding-left: 20px;
}

.new-content ul li {
  margin-bottom: 10px;
}

.new-content ol {
  padding-left: 20px;
}

.new-content ol li {
  list-style: decimal;
  margin-bottom: 10px;
}

/* ============================================
   Category Dropdown Filter
   ============================================ */

.dropdown-container {
  height: 50px;
  position: relative;
}

.dropdown-trigger {
  color: #d9d9d9;
  width: 200px;
  height: 50px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid #fff;
}

.dropdown-trigger .icon {
  transition: transform 0.2s;
}

.dropdown-trigger.active .icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  width: 200px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
}

.dropdown-menu li {
  list-style: none;
  padding: 8px 20px;
  color: #000000;
  font-size: 16px;
  cursor: pointer;
}

.dropdown-menu li:hover {
  background-color: #f5f5f5;
}

/* ============================================
   Map Container
   ============================================ */

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

@media (max-width: 768px) {
  .about-piece .container-content {
    padding: 150px 0 100px;
  }

  .team-piece::after {
    right: calc(-700px + 60vw);
  }
}

@media (min-width: 1500px) {
  .container {
    max-width: 1500px;
  }

  .zone {
    max-width: 1500px;
    margin: 0 auto;
  }
}

@media (max-width: 1500px) {
  .zone {
    width: 100%;
  }
}
