/* editorial.css - Updated to match Sankofa Law Group Homepage */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Sankofa Brand Colors */
  --navy-950: #07121e;
  --navy-900: #0b1b2e;
  --navy-800: #162b44;
  --parchment-50: #fbf9f4;
  --parchment-100: #f5f0e6;
  --parchment-200: #ebe5da;
  --brass-500: #b08d57;
  --brass-600: #8f7041;
  --charcoal-900: #252522;
  --charcoal-700: #3a3a36;
  --charcoal-500: #66665f;
  --white: #ffffff;

  /* Shared Effects */
  --shadow-sm: 0 8px 22px rgba(11, 27, 46, 0.08);
  --shadow-md: 0 18px 42px rgba(11, 27, 46, 0.14);
  --radius-md: 8px;
  --content-width: 1280px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--parchment-100);
  color: var(--charcoal-700);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy-900);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brass-600);
}

a:focus-visible {
  outline: 3px solid var(--brass-500);
  outline-offset: 4px;
}

.container {
  width: min(var(--content-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  background: rgba(245, 240, 230, 0.97);
  border-bottom: 1px solid rgba(58, 58, 54, 0.12);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  color: var(--navy-900);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--charcoal-700);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brass-600);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--brass-500);
  text-underline-offset: 4px;
}

/* Hero Section */
.hero {
  padding-block: 4rem 2rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brass-600);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--navy-900);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--charcoal-500);
  font-size: 1.1rem;
}

/* Content Section & Cards */
.content-section {
  padding-block: 1rem 4rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  padding: 2rem;
  border: 1px solid rgba(58, 58, 54, 0.1);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card h2 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.card p {
  margin-block: 0.75rem;
  color: var(--charcoal-700);
}

.meta {
  color: var(--charcoal-500);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--parchment-50);
  color: var(--brass-600);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(176, 141, 87, 0.2);
  width: fit-content;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: underline;
  text-decoration-color: var(--brass-500);
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--brass-600);
}

.editorial-note {
  max-width: 800px;
  margin-top: 3rem;
  color: var(--charcoal-500);
  font-size: 0.9rem;
  font-style: italic;
  border-left: 3px solid var(--brass-500);
  padding-left: 1rem;
}

/* Blog Post Specifics (for when you create individual post pages) */
.post {
  max-width: 780px;
  margin-inline: auto;
  padding-block: 3rem 4rem;
}

.post-header {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(58, 58, 54, 0.12);
  margin-bottom: 2rem;
}

.post-body {
  color: var(--charcoal-700);
}

.post-body h2 {
  margin-top: 2.5rem;
  font-size: 1.75rem;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.post-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(58, 58, 54, 0.12);
  margin-top: 3rem;
}

/* Footer */
.site-footer {
  padding-block: 3rem 2rem;
  border-top: 1px solid rgba(176, 141, 87, 0.25);
  background: var(--navy-950);
  color: var(--parchment-100);
}

.site-footer p {
  max-width: 850px;
  margin-block: 0.75rem;
  color: rgba(245, 240, 230, 0.7);
}

.site-footer a {
  color: var(--parchment-100);
  text-decoration: underline;
  text-decoration-color: rgba(176, 141, 87, 0.5);
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--brass-500);
}

/* Responsive */
@media (max-width: 700px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  
  .site-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .card {
    padding: 1.5rem;
  }
}
