/* =================================================================
   Sponsored Advertisements & Partnerships Stylesheet (ads.css)
   ================================================================= */

.network-ads-section {
  padding: 4rem 0;
  background-color: var(--color-bg, #f8fafc);
  border-top: 1px solid var(--color-border, #e2e8f0);
  border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.ads-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-family: var(--font-heading, sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ad-disclaimer {
  color: var(--color-text-muted, #64748b);
  font-weight: 700;
}

.ad-label {
  background-color: var(--color-border, #e2e8f0);
  color: var(--color-text-muted, #64748b);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm, 6px);
  font-weight: 600;
}

.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.ad-card {
  background-color: var(--color-surface, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(10, 17, 40, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ad-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -3px rgba(10, 17, 40, 0.06);
}

/* =================================================================
   Ad Slot 1: Featured Sponsor Spotlight
   ================================================================= */

.sponsor-spotlight-card {
  background: linear-gradient(
    135deg,
    var(--color-primary, #0a1128) 0%,
    var(--color-primary-light, #162247) 100%
  );
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-badge {
  display: inline-block;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.sponsor-spotlight-card h3 {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.sponsor-spotlight-card p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex: 1;
}

/* =================================================================
   Ad Slot 2: Spotless Toronto Sponsored Advertisement
   ================================================================= */

.spotless-toronto-ad {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
  border: 1px solid #cbdedb;
  overflow: hidden;
}

.spotless-ad-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.spotless-ad-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background-color: #ccfbf1;
  color: #115e59;
  border-radius: 9999px;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spotless-ad-label {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spotless-ad-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.spotless-ad-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: #ccfbf1;
  color: #0f766e;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.spotless-ad-content h3 {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f2928;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.spotless-ad-tagline {
  color: #0f766e;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.spotless-ad-description {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.spotless-ad-services {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.spotless-ad-services li {
  position: relative;
  padding-left: 1.35rem;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.spotless-ad-services li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0d9488;
  font-weight: 800;
}

.spotless-ad-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.spotless-ad-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f766e;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.spotless-ad-phone:hover {
  color: #115e59;
  text-decoration: underline;
}

.spotless-ad-button {
  background-color: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.spotless-ad-button:hover {
  background-color: #115e59;
  border-color: #115e59;
  color: #ffffff;
  transform: translateY(-1px);
}

.spotless-ad-website {
  display: inline-block;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe7e5;
  color: #0f766e;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.spotless-ad-website:hover {
  color: #115e59;
  text-decoration: underline;
}

/* =================================================================
   Responsive Adjustments
   ================================================================= */

@media (max-width: 768px) {
  .network-ads-section {
    padding: 3rem 0;
  }

  .ads-grid {
    grid-template-columns: 1fr;
  }

  .ad-card {
    padding: 2rem;
  }

  .spotless-ad-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .spotless-ad-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .ad-card {
    padding: 1.5rem;
  }

  .spotless-ad-content h3 {
    font-size: 1.4rem;
  }

  .spotless-ad-top {
    align-items: flex-start;
    flex-direction: column;
  }
}
