/* app/static/css/themes/orbitofstyle.css */
/* Orbit of Style: celebrity, fashion and pop culture as an editorial fashion magazine.
   High-contrast serif headings, ink on ivory, a magenta accent.
   Scaffolded with `merc scaffold theme orbitofstyle --layout magazine`, then filled in. */

.theme-orbitofstyle {
  /* --- orbitofstyle Color Palette --- */
  --orbitofstyle-primary: #c2185b;
  --orbitofstyle-secondary: #111111;
  --orbitofstyle-accent: #c2185b;
  --orbitofstyle-dark: #111111;
  --orbitofstyle-light: #fbf8f4;
  --orbitofstyle-surface: #ffffff;
  --orbitofstyle-surface-alt: #ece6df;

  /* --- Override Base Semantic Colors --- */
  --color-primary: var(--orbitofstyle-primary);
  --color-secondary: var(--orbitofstyle-secondary);
  --color-accent: var(--orbitofstyle-accent);
  --color-link: var(--color-text-primary);
  --color-link-hover: var(--orbitofstyle-accent);
  --color-text-primary: var(--orbitofstyle-dark);
  --color-background: var(--orbitofstyle-light);
  --color-surface-1: var(--orbitofstyle-surface);
  --color-surface-2: var(--orbitofstyle-surface-alt);
  --color-border: #ece6df;

  /* --- Typography --- */
  --font-family-base: "Inter", var(--font-family-sans);
  --font-family-heading: "Playfair Display", var(--font-family-serif);

  /* --- Footer --- */
  --footer-background: var(--orbitofstyle-dark);
  --footer-color: rgba(255, 255, 255, 0.85);
  --footer-border-color: var(--orbitofstyle-accent);
}

/* --- Dark mode (the brand's default) ---
   modes/dark.css loads after the theme and resets the accent and link colours;
   .theme-orbitofstyle.dark-mode outranks it. */
.theme-orbitofstyle.dark-mode {
  --orbitofstyle-primary: #ff4f8b;
  --orbitofstyle-accent: #ff4f8b;
  --color-primary: var(--orbitofstyle-primary);
  --color-secondary: #f3eee8;
  --color-accent: var(--orbitofstyle-accent);
  --color-background: #0e0c0d;
  --color-surface-1: #191617;
  --color-surface-2: #252122;
  --color-text-primary: #f3eee8;
  --color-text-secondary: #c9c1b9;
  --color-text-muted: #948b83;
  --color-link: #f3eee8;
  --color-link-hover: var(--orbitofstyle-accent);
  --color-border: #332e2f;
  --footer-background: #000000;
  color-scheme: dark;
}

/* --- Section Headings --- */
.theme-orbitofstyle .content-section__heading {
  font-family: var(--font-family-base);
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-text-primary);
  padding-bottom: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

/* --- Card Titles --- */
.theme-orbitofstyle .card__title {
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.2;
}

.theme-orbitofstyle .card__title a {
  color: var(--color-text-primary);
}

.theme-orbitofstyle .card__title a:hover {
  color: var(--color-accent);
}

/* --- Card Category --- */
.theme-orbitofstyle .card__category {
  color: var(--orbitofstyle-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: var(--font-size-xs, 0.75rem);
  font-weight: 600;
}

/* --- orbitofstyle theme within Magazine layout --- */

/* Masthead (the magazine layout's header brand) */
.layout-magazine.theme-orbitofstyle .header__title {
  font-family: var(--font-family-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.layout-magazine.theme-orbitofstyle .header__link:hover {
  color: var(--color-accent);
}
