
/* Global styles for Cascade Perspectives */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Oswald', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #212529;
}

.site-header {
  background-color: #6FBF73;
}

.site-header .navbar-brand img {
  height: 72px;
}

.site-header .navbar {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.site-footer {
  background-color: #6FBF73;
}

.site-footer small {
  font-size: 0.85rem;
}

main {
  padding-top: 5rem;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Main feature section */

.main-feature {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.main-feature-card {
  border-radius: 1rem;
  background-color: #ffffff;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.08);
  overflow: hidden;
}

.main-feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-feature-text .badge {
  letter-spacing: 0.08em;
}

.main-feature-title {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.2rem);
}

.main-feature-subtitle {
  font-size: 0.98rem;
  color: #555555;
}

.article-meta {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Section headers */

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-heading i {
  font-size: 1.1rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Article cards */

.article-card {
  border: none;
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 0.35rem 0.9rem rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background-color: #ffffff;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.6rem 1.1rem rgba(0,0,0,0.08);
}

.article-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.article-card-title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.article-card-date {
  font-size: 0.82rem;
  color: #6c757d;
}

.read-more-btn {
  font-size: 0.9rem;
}

/* Newsletter widget */

.newsletter-widget {
  border-radius: 1rem;
  background-color: #ffffff;
  box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.08);
  padding: 1.75rem 1.5rem;
}

.newsletter-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.newsletter-widget p {
  font-size: 0.95rem;
  color: #555555;
}

.form-error {
  font-size: 0.8rem;
  color: #dc3545;
  min-height: 1.1rem;
}

.form-success {
  font-size: 0.9rem;
  color: #198754;
  margin-top: 0.5rem;
}

/* Article page */

.article-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 1rem;
}

.article-body {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1.5rem;
}

.article-body p {
  margin-bottom: 1rem;
}

.article-section-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c757d;
}

/* Contact page */

.contact-intro {
  font-size: 1rem;
  color: #555555;
}

/* Responsive tweaks */

@media (max-width: 991.98px) {
  main {
    padding-top: 4.25rem;
  }
  .main-feature-card {
    border-radius: 0.75rem;
  }
}
