body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:root {
  --brand-accent: #FDBE33;
  --brand-deep: #48024b;
}

.font-serif,
h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, serif;
  letter-spacing: -0.02em;
}

.prose-custom p {
  margin-bottom: 1rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background: #fdf7ff;
  border: 1px solid rgba(72, 2, 75, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 31, 68, 0.14);
  border-color: rgba(72, 2, 75, 0.36);
}

.article-card-link {
  display: block;
}

.article-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e7e5e4;
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.article-card:hover .article-image {
  transform: scale(1.06);
}

.article-chip {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(72, 2, 75, 0.92);
  color: #fff;
  padding: 0.36rem 0.55rem;
}

.article-content {
  padding: 1rem 1rem 1.15rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-title {
  margin-top: 0.55rem;
  margin-bottom: 0.35rem;
  font-size: 2rem;
  line-height: 1.03;
}

.article-excerpt {
  color: #4b5563;
}

.article-read {
  margin-top: 0.75rem;
  display: inline-block;
  color: var(--brand-accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Tailwind utility overrides to enforce preferred accent color */
.text-red-600 {
  color: var(--brand-accent) !important;
}

.text-red-300 {
  color: color-mix(in srgb, var(--brand-accent) 78%, white 22%) !important;
}

.bg-red-600 {
  background-color: var(--brand-accent) !important;
}

.border-red-600 {
  border-color: var(--brand-accent) !important;
}

.hover\:bg-red-600:hover {
  background-color: var(--brand-accent) !important;
}

/* Global theme remap so accent applies site-wide */
.text-blue-950,
.text-blue-600,
.hover\:text-blue-600:hover,
.hover\:text-red-600:hover {
  color: var(--brand-accent) !important;
}

.bg-blue-950,
.bg-red-600,
.hover\:bg-blue-950:hover,
.hover\:bg-red-600:hover {
  background-color: var(--brand-accent) !important;
  color: #111827 !important;
}

.bg-blue-950 .text-white,
.bg-red-600 .text-white,
.bg-blue-950 .text-white\/75,
.bg-blue-950 .text-white\/60,
.bg-blue-950 .text-red-300,
.bg-red-600 .text-red-300 {
  color: #FDBE33 !important;
}

.border-blue-950,
.hover\:border-blue-950:hover {
  border-color: var(--brand-accent) !important;
}

.from-blue-950 {
  --tw-gradient-from: var(--brand-accent) var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(253 190 51 / 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.bg-gradient-to-r.from-blue-950.to-slate-900 {
  background-image: linear-gradient(to right, var(--brand-deep), #6a0b70) !important;
}

/* Deep brand color integration */
footer {
  background: var(--brand-deep) !important;
  color: #ffffff !important;
}

footer.bg-blue-950 {
  background: var(--brand-deep) !important;
}

footer a {
  color: #ffffff !important;
}

footer a:hover {
  color: var(--brand-accent) !important;
}

/* Keep the CTA and footer in deep brand color */
.max-w-7xl .bg-blue-950.text-white {
  background-color: var(--brand-deep) !important;
  color: #ffffff !important;
}

.max-w-7xl .bg-blue-950.text-white .text-white\/75,
.max-w-7xl .bg-blue-950.text-white .text-red-300 {
  color: #e9d8ea !important;
}
