/* =================================================================
   Dedicated Google Ads & Sponsorship 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);
}

/* Sponsor Spotlight Card Styling */
.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;
}

/* Google AdSense / Display Unit Styling */
.adsense-placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  justify-content: center;
  padding: 1rem 0;
}

.placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--color-accent, #0284c7);
  border-radius: var(--radius-md, 10px);
  margin-bottom: 1rem;
}

.placeholder-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary, #0a1128);
  margin-bottom: 0.5rem;
}

.placeholder-sub {
  font-size: 0.9rem;
  color: var(--color-text-muted, #64748b);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.placeholder-contact {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent, #0284c7);
  text-decoration: none;
  margin-top: auto;
}

.placeholder-contact:hover {
  text-decoration: underline;
}

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

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