/* ==========================================================================
   We Page Styles - Dice Media Group
   ========================================================================== */

/* Header Background Strip */
.header-bg.bg-red {
  height: 80px;
  width: 100%;
  background-color: var(--bwp-red);
}

/* Hero Section - Video Background */
.hero-wrap.we {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  padding: 120px 60px;
  display: flex;
  align-items: center;
}

.hero-bgvideo-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

.hero-bgvideo.we {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-bgimg.we {
  position: absolute;
  bottom: 0;
  right: 60px;
  z-index: 1;
}

.hero-bgimg.we img {
  max-width: 170px;
  height: auto;
}

.hero-content-wrapper.we {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-content.we {
  max-width: 800px;
}

.hero-content.we h1 {
  font-family: Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-content.we p {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--white);
}

/* White Section - No Vertical Intro */
.we-page .bg-white {
  padding: 100px 60px;
}

.we-page .h1 {
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--charcoal-gray);
  margin-bottom: 30px;
  line-height: 1.2;
}

.we-page .shortwrapxlarge {
  max-width: 900px;
  margin-bottom: 20px;
}

.we-page .redtext {
  color: var(--bwp-red);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.8;
}

.we-page .alignleft {
  text-align: left;
}

/* Client List Section */
#clients-experience {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--charcoal-gray);
  margin-top: 60px;
  margin-bottom: 40px;
}

.clientlist-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.client-industry-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.client-industry-list li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--charcoal-gray);
  line-height: 1.6;
}

.client-industry-list li.clr-martop {
  margin-top: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--bwp-red);
  padding-bottom: 12px;
}

/* Services Section */
.we-page .bg-darkgray {
  background-color: var(--charcoal-gray);
  padding: 100px 60px;
}

.we-page .whitetext {
  color: var(--white);
}

.we-page .bg-darkgray h2.whitetext {
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
}

.we-page .bg-darkgray h3.whitetext {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
}

.wp-block-buttons {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.wp-block-button.white-btn .wp-block-button__link {
  background-color: var(--white);
  color: var(--bwp-red);
  padding: 16px 40px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.wp-block-button.white-btn .wp-block-button__link:hover {
  background-color: var(--bwp-red);
  color: var(--white);
  transform: translateY(-2px);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(204, 30, 44, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  max-width: 100%;
  height: auto;
}

.service-card h3 {
  font-family: Georgia, serif;
  font-size: 24px;
  color: var(--charcoal-gray);
  margin-bottom: 20px;
  font-weight: 600;
}

.service-card p {
  font-size: 16px;
  color: var(--charcoal-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card a {
  color: var(--bwp-red);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.service-card a:hover {
  text-decoration: underline;
}

/* Utility Classes */
.spacer {
  display: block;
  width: 100%;
}

.mobile-hide {
  display: block;
}

.mobile-show {
  display: none;
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Tablet (768px-1199px) */
@media (max-width: 1199px) {
  .hero-wrap.we {
    padding: 100px 40px;
    min-height: 500px;
  }

  .hero-content.we h1 {
    font-size: 48px;
  }

  .hero-content.we p {
    font-size: 18px;
  }

  .we-page .bg-white,
  .we-page .bg-darkgray {
    padding: 80px 40px;
  }

  .clientlist-columns {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }

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

/* Mobile (320px-767px) */
@media (max-width: 767px) {
  .header-bg.bg-red {
    height: 60px;
  }

  .hero-wrap.we {
    padding: 80px 20px;
    min-height: 400px;
  }

  .hero-content.we h1 {
    font-size: 32px;
  }

  .hero-content.we p {
    font-size: 16px;
  }

  .hero-bgimg.we {
    right: 20px;
  }

  .hero-bgimg.we img {
    max-width: 120px;
  }

  .mobile-hide {
    display: none;
  }

  .mobile-show {
    display: block;
  }

  .we-page .bg-white,
  .we-page .bg-darkgray {
    padding: 60px 20px;
  }

  .we-page .h1 {
    font-size: 36px;
  }

  #clients-experience {
    font-size: 28px;
    margin-top: 40px;
  }

  .clientlist-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .we-page .bg-darkgray h2.whitetext {
    font-size: 36px;
  }

  .we-page .bg-darkgray h3.whitetext {
    font-size: 24px;
  }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .hero-content-wrapper.we,
  .we-page .container {
    max-width: 1440px;
  }
}
