/* ==========================================================================
   HOME NEWS - BASE DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

:root {
  /* Brand Color Palette */
  --primary-red: #D71920;
  --primary-red-hover: #b51218;
  --dark-black: #171717;
  --header-black: #111111;
  --charcoal: #2d3139;
  --secondary-navy: #111C32;
  --body-text: #374151;
  --muted-text: #6b7280;
  --border-light: #e5e7eb;
  --border-dark: #262626;
  --bg-light: #F5F6F8;
  --bg-white: #FFFFFF;
  --tag-bg: #f3f4f6;

  /* Typography */
  --font-headline: 'Merriweather', Georgia, serif;
  --font-masthead: 'Cinzel', Times New Roman, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --container-max-width: 1280px;
  --transition-speed: 0.25s ease-in-out;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 3px;
  --radius-md: 6px;
}

/* Box sizing rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: var(--dark-black);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--primary-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* Editorial Badges & Meta */
.category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  background-color: var(--primary-red);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: background-color var(--transition-speed);
}
.category-badge:hover {
  background-color: var(--primary-red-hover);
  color: #fff;
}
.category-badge.badge-outline {
  background: transparent;
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted-text);
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Section Header Style (Newspaper Style with Underline & Red Accent) */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--dark-black);
  margin-bottom: 24px;
  padding-bottom: 8px;
  position: relative;
}
.section-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 2px;
  background-color: var(--primary-red);
}
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-black);
}
.section-title .accent-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  background-color: var(--primary-red);
}
.section-more-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-more-link:hover {
  color: var(--primary-red);
}

/* Standard Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-speed);
}
.btn-primary {
  background-color: var(--primary-red);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--primary-red-hover);
  color: #fff;
}
.btn-outline {
  border-color: var(--dark-black);
  color: var(--dark-black);
  background: transparent;
}
.btn-outline:hover {
  background: var(--dark-black);
  color: #fff;
}

/* Divider */
.newspaper-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 36px 0;
}
