/* GYCA theme: page shell + simple content. The GYC Africa sections themselves come from the GYCA add-on. */
:root {
  --gyca-t-bg: var(--gyc-bg, #f5f2ea);
  --gyca-t-text: var(--gyc-text, #0c0f17);
  --gyca-t-muted: var(--gyc-text-muted, #4d5263);
  --gyca-t-heading: var(--gyc-heading, #01406b);
  --gyca-t-accent: var(--gyc-accent, #ffc270);
  --gyca-t-accent-text: var(--gyc-accent-text, #8a4b00);
  --gyca-t-border: var(--gyc-border, rgb(12 15 23 / .12));
  --gyca-t-surface: var(--gyc-surface, #fff);
  --gyca-t-display: var(--gyc-font-display, "Antonio", "Arial Narrow", sans-serif);
  --gyca-t-body: var(--gyc-font-body, "Inter Tight", system-ui, sans-serif);
}
[data-theme="dark"] {
  --gyca-t-bg: var(--gyc-bg, #07090f); --gyca-t-text: var(--gyc-text, #f4f1ea); --gyca-t-muted: var(--gyc-text-muted, #a3a9ba);
  --gyca-t-heading: var(--gyc-heading, #a8d2f2); --gyca-t-accent-text: var(--gyc-accent-text, #ffc270); --gyca-t-border: var(--gyc-border, rgb(244 241 234 / .12)); --gyca-t-surface: var(--gyc-surface, #0e1220);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--gyca-t-bg); color: var(--gyca-t-text); font-family: var(--gyca-t-body); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
.gyca-main { display: block; }
.gyca-skip { position: fixed; left: 1rem; top: -100px; z-index: 1000; padding: .75rem 1.25rem; border-radius: 8px; background: var(--gyca-t-accent); color: #1a1203; font-weight: 700; text-decoration: none; }
.gyca-skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--gyc-focus, #b86a00); outline-offset: 3px; }

.gyca-wrap { width: min(100% - 2 * clamp(1rem, .5rem + 2.5vw, 2.5rem), 760px); margin-inline: auto; }
.gyca-wrap--wide { width: min(100% - 2 * clamp(1rem, .5rem + 2.5vw, 2.5rem), 1240px); }

/* Fallback header/footer (replaced by the GYCA Header/Footer templates) */
.gyca-fallback-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--gyca-t-bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gyca-t-border); }
.gyca-fallback-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; flex-wrap: wrap; }
.gyca-fallback-header__brand { display: inline-flex; align-items: center; font-family: var(--gyca-t-display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; text-decoration: none; color: inherit; }
.gyca-fallback-header__logo { width: 56px; height: 56px; object-fit: contain; }
[data-theme="dark"] .gyca-fallback-header__logo { filter: invert(1); }
.gyca-fallback-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.gyca-fallback-nav a { display: inline-flex; min-height: 44px; align-items: center; color: inherit; text-decoration: none; font-weight: 600; font-size: .9375rem; }
.gyca-fallback-nav a:hover, .gyca-fallback-nav .current-menu-item > a { color: var(--gyca-t-accent-text); }
.gyca-fallback-nav .sub-menu { display: none; }
.gyca-fallback-footer { margin-top: 4rem; padding: 2.5rem 0 3rem; border-top: 1px solid var(--gyca-t-border); color: var(--gyca-t-muted); font-size: .9375rem; }
.gyca-fallback-footer ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.gyca-fallback-footer a { color: inherit; }

/* Simple pages, posts, archives */
.gyca-page { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.gyca-page__head { margin-bottom: 2rem; }
.gyca-kicker { margin: 0 0 .75rem; font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gyca-t-accent-text); }
.gyca-title { margin: 0; font-family: var(--gyca-t-display); font-weight: 700; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 1.04; text-transform: uppercase; color: var(--gyca-t-heading); text-wrap: balance; }
.gyca-lead { font-size: 1.2rem; color: var(--gyca-t-muted); }
.gyca-featured { margin: 0 auto 2.5rem; }
.gyca-featured img { width: 100%; border-radius: 6px; }
.gyca-prose > * + * { margin-top: 1.1em; }
.gyca-prose :is(h2, h3, h4) { font-family: var(--gyca-t-display); text-transform: uppercase; color: var(--gyca-t-heading); line-height: 1.1; margin-top: 2em; }
.gyca-prose h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.gyca-prose h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.gyca-prose a { color: var(--gyca-t-accent-text); text-underline-offset: .2em; }
.gyca-prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--gyca-t-accent); font-family: var(--gyca-t-display); font-size: 1.5rem; text-transform: uppercase; line-height: 1.25; color: var(--gyca-t-heading); }
.gyca-prose img { border-radius: 6px; }
.gyca-list { display: grid; gap: 1.25rem; }
.gyca-card { display: grid; gap: 1.25rem; padding: 1.25rem; border: 1px solid var(--gyca-t-border); border-radius: 8px; background: var(--gyca-t-surface); }
@media (min-width: 720px) { .gyca-card:has(.gyca-card__img) { grid-template-columns: 220px 1fr; } }
.gyca-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.gyca-card__title { margin: 0 0 .5rem; font-family: var(--gyca-t-display); font-size: 1.75rem; text-transform: uppercase; line-height: 1.1; }
.gyca-card__title a { color: var(--gyca-t-heading); text-decoration: none; }
.gyca-card p { margin: 0; color: var(--gyca-t-muted); }
.gyca-button { display: inline-flex; align-items: center; min-height: 48px; padding: .8em 1.5em; border-radius: 4px; background: var(--gyca-t-accent); color: #1a1203; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .875rem; text-decoration: none; }
.search-form { display: flex; gap: .5rem; margin-top: 1.5rem; }
.search-form input[type="search"] { flex: 1; min-height: 48px; padding: .6rem 1rem; border: 1.5px solid var(--gyca-t-border); border-radius: 4px; background: var(--gyca-t-surface); color: inherit; font: inherit; }
.search-form button, .search-form input[type="submit"] { min-height: 48px; padding: 0 1.25rem; border: 0; border-radius: 4px; background: var(--gyca-t-accent); color: #1a1203; font-weight: 700; cursor: pointer; }
.nav-links { display: flex; gap: .5rem; margin-top: 2rem; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--gyca-t-border); border-radius: 4px; color: inherit; text-decoration: none; }
.nav-links .current { background: var(--gyca-t-accent); color: #1a1203; border-color: transparent; }
