/* General project variables and base styles */
:root {
  --page-max: 980px;
  --section-accent: #0b3d91; /* brand accent */
  --header-bg: #0b3d91;
  --muted-text: #666;
  --page-bg: #fff;
}

/* Reset / base */
html, body {
  height: 100%;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background: var(--page-bg);
}

/* Layout container used across templates */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  box-sizing: border-box;
}

/* Header / Navigation shared rules (kept minimal - header specifics may override) */
header {
  background: var(--header-bg);
  color: #fff;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.logo { margin: 0; font-weight: 700; }

nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; align-items: center; }
nav a { color: inherit; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 600; display: inline-block; }

/* Footer common styles */
footer { background: #222; color: #fff; }
footer .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 16px; }
.newsletter-form input { padding: 8px; border-radius: 6px; border: 1px solid #444; }
.newsletter-form button { padding: 8px 12px; margin-left: 8px; border: none; background: var(--header-bg); color: #fff; border-radius: 6px; cursor: pointer; }

/* Main content card pattern used on home and blog */
main.container { display: block; }
main.container > section { max-width: var(--page-max); margin: 1.25rem auto; padding: 1.5rem 1.25rem; background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(15,23,42,0.04); border-top: 6px solid var(--section-accent); }
main.container > .hero { padding-top: 2.5rem; padding-bottom: 2.5rem; background: linear-gradient(180deg,#ffffff 0%,#fcfcfd 100%); }

/* Featured content layout */
.featured-content { display: grid; grid-template-columns: 1fr 320px; gap: 1rem 2rem; align-items: start; margin-top: 1rem; }
.featured-image { width: 180px; height: 120px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.featured-excerpt h3 { margin: 0 0 0.5rem 0; }
.link-list ul { list-style: none; padding: 0; margin: 0; }
.link-list li { margin: 0.4rem 0; }
.link-list a { color: var(--section-accent); text-decoration: none; font-weight: 600; }

@media (max-width: 820px) { .featured-content { grid-template-columns: 1fr; } .featured-image { width: 100%; height: 200px; } }
@media (max-width: 700px) { header .container { flex-direction: column; align-items: stretch; } nav ul { flex-direction: column; width: 100%; } nav a { display: block; width: 100%; padding: 10px 14px; } footer .container { flex-direction: column; align-items: stretch; } .newsletter-form { margin-top: 8px; } }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
