/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #F9FAFB;
  color: #111827;
  line-height: 1.6;
}

/* Header & Navigation */
header { background: #1E40AF; }
nav {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
.logo img {
  height: 50px;
  width: auto;
}
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.menu li { position: relative; }
.menu li a {
  display: block;
  padding: 0.75rem 1rem;
  color: #F9FAFB;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.menu li a:hover {
  background: #10B981;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background: #1E40AF;
  min-width: 150px;
  top: 100%;
  left: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border-radius: 0.25rem;
}
.dropdown-content a {
  padding: 0.5rem 1rem;
  color: #F9FAFB;
  display: block;
}
.dropdown-content a:hover {
  background: #10B981;
}
.menu li:hover .dropdown-content {
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #FBBF24;
  color: #111827;
  text-decoration: none;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: opacity 0.3s ease;
}
.btn:hover {
  opacity: 0.9;
}

/* Main Content */
main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}
main h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
main p {
  margin-bottom: 1.5rem;
}
/* Resource Overview */
.resources-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.resource-card {
  background: #FFFFFF;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}
.resource-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.resource-card p {
  margin-bottom: 1rem;
  color: #4B5563;
}

/* Footer */
footer {
  background: #1E40AF;
  color: #F9FAFB;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu {
    flex-direction: column;
    width: 100%;
  }
  .menu li a {
    width: 100%;
  }
}

/* Ad Slot Base */
.ad-slot {
  border: 0px dashed #ccc;
  background: #fafafa;
  color: #666;
  text-align: center;
  padding: 1rem;
  margin: 1rem 0;
}

/* Top Banner */
.ad-top-banner {
  width: 100%;
  min-height: 90px;
}

/* Inline Content */
.ad-inline {
  width: 100%;
  min-height: 60px;
}

/* Sidebar */
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
}
.sidebar {
  flex: 1 1 200px;
  padding-left: 1rem;
}
.ad-sidebar {
  width: 100%;
  min-height: 250px;
  margin: 0;
}

/* Footer Ad */
.ad-footer {
  width: 100%;
  min-height: 80px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  .sidebar {
    padding-left: 0;
  }
}

/* Toggle ad placeholders on/off */
.ad-slot::before {
  content: '';
  display: block;
  color: #666;
  font-style: italic;
}

/* To hide placeholders before deployment */
.hide-ad-placeholders .ad-slot::before {
  display: none;
}

