body:has(.opp-page-wrapper),
body.page-opportunities-light {
  background-color: #faf8f5;
  color: #232127;
}

.opp-page-wrapper {
  min-height: 100vh;
  padding-top: var(--header-height-resting, 120px);
  padding-bottom: 100px;
  background-color: #faf8f5;
  background-image: 
    radial-gradient(circle at 85% 12%, rgba(107, 14, 24, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 10% 45%, rgba(203, 168, 113, 0.08) 0%, transparent 55%);
  position: relative;
  overflow: hidden;
}

.opp-page-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 450px;
  background: radial-gradient(circle, rgba(203, 168, 113, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.opp-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 52px 24px 44px;
}

.opp-breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #55505c;
  margin-bottom: 22px;
  background: #ffffff;
  padding: 7px 20px;
  border-radius: 999px;
  border: 1px solid rgba(203, 168, 113, 0.38);
  box-shadow: 0 3px 14px rgba(85, 10, 18, 0.04);
  transition: all 0.25s ease;
}

.opp-breadcrumb-nav:hover {
  border-color: rgba(203, 168, 113, 0.7);
  box-shadow: 0 4px 18px rgba(203, 168, 113, 0.15);
}

.opp-breadcrumb-nav a {
  color: #6c6575;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.opp-breadcrumb-nav a:hover {
  color: #7b5924;
}

.opp-breadcrumb-nav .separator {
  color: #b89255;
  opacity: 0.7;
}

.opp-breadcrumb-nav span:last-child {
  color: #1a0407;
  font-weight: 600;
}

.opp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(203, 168, 113, 0.12);
  border: 1px solid rgba(203, 168, 113, 0.38);
  border-radius: 30px;
  color: #7b5924;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(203, 168, 113, 0.08);
}

.opp-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background: #550a12;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(85, 10, 18, 0.4);
}

.opp-main-title {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #1a0407;
  line-height: 1.28;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.opp-main-title .highlight {
  background: linear-gradient(135deg, #550a12 0%, #871321 40%, #b68b48 85%, #9e7534 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.opp-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: #544e59;
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto;
  font-weight: 500;
}

.opp-filters-section {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.opp-filters-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid rgba(203, 168, 113, 0.35);
  border-radius: 40px;
  box-shadow: 0 10px 35px rgba(85, 10, 18, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02);
}

.opp-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: rgba(250, 248, 245, 0.85);
  border: 1px solid rgba(203, 168, 113, 0.25);
  border-radius: 30px;
  color: #544e59;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  font-family: inherit;
}

.opp-filter-btn:hover {
  color: #1a0407;
  background: #fbf8f3;
  border-color: #b89255;
  transform: translateY(-1px);
}

.opp-filter-btn.is-active {
  background: linear-gradient(135deg, #550a12 0%, #7d121e 100%);
  border-color: #cba871;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(85, 10, 18, 0.3);
  transform: translateY(-1px);
}

.opp-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: rgba(203, 168, 113, 0.18);
  color: #7b5924;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.opp-filter-btn.is-active .opp-filter-count {
  background: #cba871;
  color: #1a0407;
}

.opp-grid-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.opp-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 26px;
}

.opp-card {
  background: #ffffff;
  border: 1.5px solid rgba(203, 168, 113, 0.3);
  border-radius: 22px;
  padding: 28px 26px 24px;
  box-shadow: 0 12px 35px rgba(85, 10, 18, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.opp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #cba871, transparent);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.opp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(203, 168, 113, 0.65);
  box-shadow: 0 20px 50px rgba(85, 10, 18, 0.1), 0 0 25px rgba(203, 168, 113, 0.18);
}

.opp-card:hover::before {
  opacity: 1;
}

.opp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.opp-badges-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-opp-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.badge-opp-type.type-distribution {
  background: rgba(40, 140, 80, 0.12);
  border-color: rgba(40, 140, 80, 0.35);
  color: #1b6e3b;
}

.badge-opp-type.type-agency {
  background: rgba(203, 168, 113, 0.16);
  border-color: rgba(203, 168, 113, 0.45);
  color: #7b5924;
}

.badge-opp-type.type-promising-sector {
  background: rgba(85, 10, 18, 0.08);
  border-color: rgba(85, 10, 18, 0.25);
  color: #550a12;
}

.badge-opp-type.type-expected-growth {
  background: rgba(130, 40, 150, 0.1);
  border-color: rgba(130, 40, 150, 0.3);
  color: #6f1e82;
}

.badge-opp-type.type-under-study {
  background: rgba(203, 168, 113, 0.14);
  border-color: rgba(203, 168, 113, 0.4);
  color: #7b5924;
}

.badge-opp-new {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(85, 10, 18, 0.08);
  border: 1px solid rgba(85, 10, 18, 0.25);
  color: #550a12;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-opp-new .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #550a12;
  box-shadow: 0 0 6px rgba(85, 10, 18, 0.4);
  animation: pulseOpp 2s infinite ease-in-out;
}

@keyframes pulseOpp {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.opp-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a0407;
  line-height: 1.45;
  margin: 0 0 14px 0;
  transition: color 0.22s ease;
}

.opp-card:hover .opp-card-title {
  color: #550a12;
}

.opp-card-desc {
  font-size: 0.94rem;
  color: #544e59;
  line-height: 1.75;
  margin-bottom: 22px;
  flex: 1;
}

.opp-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fbf8f3;
  border: 1px solid rgba(203, 168, 113, 0.28);
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 12.5px;
  gap: 12px;
}

.opp-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #544e59;
}

.opp-meta-item svg {
  color: #7b5924;
  flex-shrink: 0;
}

.opp-meta-item strong {
  color: #1a0407;
  font-weight: 700;
}

.btn-opp-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, #550a12 0%, #7d121e 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid #cba871;
  box-shadow: 0 6px 20px rgba(85, 10, 18, 0.2);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  font-family: inherit;
}

.btn-opp-quote:hover {
  background: linear-gradient(135deg, #7d121e 0%, #961421 100%);
  border-color: #dfbe87;
  box-shadow: 0 8px 24px rgba(85, 10, 18, 0.32);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-opp-quote svg {
  transition: transform 0.22s ease;
}

[dir="rtl"] .btn-opp-quote:hover svg {
  transform: translateX(-4px);
}

[dir="ltr"] .btn-opp-quote:hover svg {
  transform: translateX(4px);
}

.opp-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: #ffffff;
  border: 1.5px dashed rgba(203, 168, 113, 0.4);
  border-radius: 20px;
  color: #544e59;
  font-size: 15px;
  box-shadow: 0 8px 25px rgba(85, 10, 18, 0.03);
}

@media (max-width: 768px) {
  .opp-page-wrapper {
    padding-top: var(--header-height-resting, 80px);
    padding-bottom: 70px;
  }

  .opp-hero {
    padding: 30px 18px 36px;
  }

  .opp-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .opp-filters-wrap {
    border-radius: 20px;
    padding: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .opp-filter-btn {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .opp-card {
    padding: 22px 18px;
  }
}
