/* COMPLETE GNI FONT SYSTEM COPY FOR GNIT */
/* This file copies GNI's exact font system */

/* EXACT GNI FONT SYSTEM COPY */
*:not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not([class*="fa-"]):not(
    i[class*="fa"]
  ) {
  font-family: "Inter", sans-serif !important;
  box-sizing: border-box;
}

/* Preserve FontAwesome icons */
.fas,
.far,
.fab,
.fal,
.fad,
[class*="fa-"],
i[class*="fa"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

body,
html {
  font-family: "Inter", sans-serif !important;
  line-height: 1.6 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  overflow-x: hidden;
}

/* All text elements - exact GNI weights */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
button,
input,
textarea,
select,
label,
li,
td,
th {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

/* Headings - Normal weight like GNI */
h1,
h2,
h3 {
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

h4,
h5,
h6 {
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

/* Header Brand - Remove overrides to match other pages */
/* Removed header brand overrides to maintain consistency across all pages */

/* Navigation */
.nav-link,
.navbar-nav .nav-link,
.dropdown-item {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

/* Hero Section Fonts - Match GNI AboutUs.php exactly */
.hero-category {
  font-family: "Inter", sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
}

.hero-title {
  font-family: "Playfair Display", serif !important;
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
}

.hero-subtitle {
  font-family: "Inter", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  font-style: italic !important;
}

/* Section Titles */
.section-category {
  font-family: "Inter", sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

.section-title-editorial {
  font-family: "Playfair Display", serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 300 !important;
  line-height: 0.9 !important;
  letter-spacing: -2px !important;
}

.section-desc {
  font-family: "Inter", sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

/* Override any conflicting styles with highest specificity */
body .magazine-hero .hero-category {
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
}

body .magazine-hero .hero-title {
  font-family: "Playfair Display", serif !important;
  font-weight: 400 !important;
  text-shadow: none !important;
}

body .magazine-hero .hero-subtitle {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

/* Footer fonts */
.footer,
.modern-footer {
  font-family: "Inter", sans-serif !important;
}

.footer h6,
.footer h4,
.modern-footer h6 {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

.footer p,
.footer li,
.footer a,
.modern-footer p,
.modern-footer li,
.modern-footer a {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

/* Cards - match GNI weights */
.card-title {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

.card-text,
.card-body p {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

/* Tables - match GNI weights */
.table,
.table-striped,
.table-hover,
.table-primary {
  font-family: "Inter", sans-serif !important;
}

.table th,
.table-striped th,
.table-hover th,
.table-primary th {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

.table td,
.table-striped td,
.table-hover td,
.table-primary td {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

/* Forms */
.form-control,
.form-select,
.form-label {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

/* Responsive font sizes - match GNI */
@media (min-width: 576px) {
  body {
    font-size: 14px !important;
  }
}

@media (min-width: 768px) {
  body {
    font-size: 16px !important;
  }
}
