/* Make article headers smaller and more balanced */
.article-header h2 {
    font-size: 0.45rem; /* Adjust as needed: try 1.2rem or 1.3rem for tighter layout */
    font-weight: 360;
    line-height: 1.1;
    margin-bottom: 0.5em;
}

/* Optional: reduce link size inside header */
.article-header h2 a {
    font-size: 0.72rem;
    font-size: inherit;
    text-decoration: none;
    color: inherit;
}

:root {
  --primary-color: #2b84e8;
  --secondary-color: #e84a82;
  --highlight-color: #fce566;
  --text-color: #2d2f35;
  --heading-color: #142439;
  --bg-light: #f1f5fc;
  --bg-white: #ffffff;
  --link-hover-color: #1f67b2;
  --font-family-base: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.8;
  --container-max-width: 1140px;
}

/* Base Styles */
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color);
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5 {
  color: var(--heading-color);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.4em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.4em; }

p {
  margin-bottom: 1.2em;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Highlight Boxes */
.highlight {
  background-color: var(--highlight-color);
  padding: 1rem;
  border-radius: 8px;
  color: var(--text-color);
}

/* Card Layout */
.card {
  background-color: var(--bg-white);
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Buttons */
.button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: var(--link-hover-color);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.95rem;
  background-color: var(--bg-white);
}

table th, table td {
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  text-align: left;
}

table tr:nth-child(even) {
  background-color: #f8f9fc;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.pt-2 { padding-top: 2rem; }
.pb-2 { padding-bottom: 2rem; }


/* Section Enhancements */
.sp-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

/* Page Builder Adjustments */
.sp-page-builder .page-content {
  max-width: var(--container-max-width);
  margin: auto;
  padding: 2rem 1rem;
}

/* Hero Header Module */
.hero-header {
  background: linear-gradient(135deg, #2b84e8, #e84a82);
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  border-radius: 12px;
}

.hero-header h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-header p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Button Module */
.sp-module.button-cta {
  text-align: center;
  margin-top: 2rem;
}

.button-cta .button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.8em 1.6em;
  font-size: 1.1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.button-cta .button:hover {
  background-color: var(--link-hover-color);
  transform: translateY(-2px);
}

/* Featured Article Box */
.featured-box {
  background-color: var(--bg-white);
  border-left: 5px solid var(--primary-color);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border-radius: 10px;
  margin-bottom: 2rem;
}

.featured-box h3 {
  margin-top: 0;
  color: var(--heading-color);
}

.featured-box p {
  color: var(--text-color);
}

/* Animated CTA Ribbon */
.cta-ribbon {
  background-color: var(--highlight-color);
  color: var(--heading-color);
  text-align: center;
  font-weight: 600;
  padding: 1.2rem;
  font-size: 1.1rem;
  border-radius: 4px;
  animation: pulseRibbon 2.5s infinite;
}

@keyframes pulseRibbon {
  0%, 100% { background-color: #fce566; }
  50% { background-color: #ffe992; }
}









