/*
Theme Name: Omnibus
Theme URI: https://example.com/omnibus
Author: Your Name
Author URI: https://example.com
Description: A maximal, dark magazine hub for games, streaming and tech. A centred masthead with a bold accent band, a big hero, a scored-card row, a spotlight block and a dense two-column feed with a category sidebar. Dark by default with a light mode, self-hosted fonts and one-click demo content with original artwork.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omnibus
Tags: blog, news, entertainment, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, full-width-template
*/

:root {
  --bg: #0c0d12;
  --surface: #14161d;
  --surface-2: #1c1f28;
  --text: #f1f2f6;
  --text-2: #c3c6d2;
  --muted: #868b9c;
  --line: #262a36;
  --accent: #e5243b;
  --accent-ink: #ffffff;
  --accent-hover: #ffffff;
  --accent-hover-ink: #0c0d12;

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Barlow", system-ui, sans-serif;
  --w-display: 700;
  --lh-display: 1.02;
  --track-display: 0;

  --radius: 6px;
  --radius-ui: 4px;
  --footer-bg: #07080c;
  --footer-text: #f1f2f6;
  --footer-muted: #868b9c;
  --footer-line: rgba(255,255,255,.1);
  --overlay: linear-gradient(180deg, rgba(5,6,10,0) 20%, rgba(5,6,10,.94) 100%);
}
:root[data-theme="light"] {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --surface-2: #e9ebf1;
  --text: #11131a;
  --text-2: #3a3e4b;
  --muted: #6a6f7e;
  --line: #dfe2ea;
  --accent: #d81e34;
  --accent-ink: #ffffff;
  --accent-hover: #11131a;
  --accent-hover-ink: #ffffff;
  --footer-bg: #11131a;
  --footer-text: #f1f2f6;
}

body { font-size: 17px; }
.btn, .icon-btn, .meta, .cat, .primary-menu a, .mobile-menu a, .section-link, .widget-title, .ob-catbar { font-family: var(--font-ui); }
.brand__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 2rem; letter-spacing: .02em; }
h1, h2, h3, h4, .card__title, .mini__title, .entry-title, .section-title, .ob-blocktitle { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: 0; }
.card__title { line-height: 1.05; }

/* ---------- Centred masthead ---------- */
.ob-centred .site-header__inner { flex-direction: column; gap: .8rem; padding-block: 1.1rem; position: relative; }
.ob-centred .site-header__left { order: 2; }
.ob-centred .primary-nav { order: 3; flex: none; }
.ob-centred .site-header__actions { order: 1; position: absolute; right: 0; top: 1.1rem; }
.ob-centred .site-header__left { justify-content: center; }
.ob-centred .brand { flex-direction: column; gap: .3rem; }
.ob-centred .brand__mark { width: 40px; height: 40px; }
.ob-centred .primary-menu { justify-content: center; }
.site-header { border-bottom: 3px solid var(--accent); }
.primary-menu > li > a { text-transform: uppercase; font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
.header-cta { background: var(--accent); color: #fff; }
@media (max-width: 980px) { .ob-centred .site-header__inner { flex-direction: row; } .ob-centred .brand { flex-direction: row; } .ob-centred .site-header__actions { position: static; } }

/* category bar */
.ob-catbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .82rem; }
.ob-catbar__inner { display: flex; align-items: center; gap: 1rem; min-height: 44px; overflow-x: auto; }
.ob-catbar__label { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .7rem; flex: 0 0 auto; }
.ob-catbar ul { display: flex; gap: .3rem; }
.ob-catbar a { display: block; padding: .3rem .8rem; border-radius: 100px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--text-2); white-space: nowrap; }
.ob-catbar a:hover { background: hsl(var(--cat-hue,352) 70% 48%); color: #fff; }

.cat { color: hsl(var(--cat-hue,352) 75% 62%); font-weight: 700; letter-spacing: .06em; }
.card-overlay .cat { color: #fff; background: hsl(var(--cat-hue,352) 72% 48%); padding: .16rem .5rem; border-radius: 3px; }
.section-title, .ob-blocktitle { font-size: clamp(1.4rem, 3vw, 2rem); }

/* block title with accent bar */
.ob-blocktitle { margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); line-height: 0; }
.ob-blocktitle span { display: inline-block; background: var(--accent); color: #fff; padding: .5rem 1rem; line-height: 1.1; }

/* ---------- Hero ---------- */
.ob-hero { padding-top: 1.25rem; }
.ob-hero__card.card-overlay { min-height: 460px; }
.ob-hero__card .card__title { font-size: clamp(2rem, 4.5vw, 3.6rem); }
@media (max-width: 760px) { .ob-hero__card.card-overlay { min-height: 340px; } }

/* ---------- Card row ---------- */
.ob-rowgrid .card .media { aspect-ratio: 16/10; }
.ob-rowgrid .card__title { font-size: 1.15rem; }

/* ---------- Spotlight ---------- */
.ob-spotlight { background: var(--surface); }
.ob-spotlight .card-overlay { min-height: 280px; }

/* ---------- Feed ---------- */
.ob-feed { display: grid; gap: 20px; }
.ob-feed .card-row { grid-template-columns: 200px 1fr; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ob-feed .card-row:last-child { border-bottom: 0; }
.ob-feed .card__title { font-size: 1.3rem; }
@media (max-width: 600px) { .ob-feed .card-row { grid-template-columns: 130px 1fr; } }

/* ---------- Newsletter ---------- */
.ob-signup { padding-bottom: clamp(36px, 5vw, 56px); }
.signup--band { background: var(--accent); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.signup--band .signup__title { color: #fff; font-family: var(--font-display); text-transform: uppercase; font-size: 1.8rem; }
.signup--band .signup__desc { color: rgba(255,255,255,.9); }
.signup--band .signup__form { min-width: 340px; }
.signup--band .signup__button { background: #0c0d12; color: #fff; }
.signup--band .signup__note { color: rgba(255,255,255,.75); }
@media (max-width: 760px) { .signup--band { grid-template-columns: 1fr; } .signup--band .signup__form { min-width: 0; } }

.widget-title { background: var(--accent); color: #fff; padding: .4rem .8rem; border: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.entry-content { font-family: var(--font-body); }
