/*
Theme Name: God Centered Community
Theme URI: https://godcenteredcommunity.com/
Author: God Centered Community
Author URI: https://godcenteredcommunity.com/
Description: A quiet, classical block theme for godcenteredcommunity.com — cream and clay palette, italic Cormorant Garamond display + Lora prose. Homepage is a faithful rebuild of the live site (welcome image, Scripture band, About / The Lances, quick links, dark footer). Self-hosted fonts, GDPR-friendly.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: godcentered
Tags: block-theme, full-site-editing, custom-colors, custom-typography, block-styles, block-patterns, threaded-comments, translation-ready, theme-options
*/

/*
 * The bulk of the theme lives in theme.json. This file holds editor tweaks,
 * decorative helpers, and the bits theme.json cannot express.
 */

/* ── Selection ─────────────────────────────────────────────── */
::selection {
  background-color: var(--wp--preset--color--clay);
  color: var(--wp--preset--color--linen);
}

/* ── Focus ─────────────────────────────────────────────────── */
:where(a, button, input, select, textarea, .wp-block-button__link):focus-visible {
  outline: 2px solid var(--wp--preset--color--clay);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100000;
  padding: 0.5rem 1rem;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--linen);
  text-decoration: none;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
}
.skip-link:focus { top: 1rem; }

/* ── Body sets the page-level paper feel ──────────────────── */
body {
  background-color: var(--wp--preset--color--linen);
  color: var(--wp--preset--color--ink);
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Display headings get italic-friendly defaults ─────────── */
h1, h2, h3, .wp-block-post-title, .wp-block-heading {
  font-feature-settings: "kern", "liga", "dlig", "swsh", "onum";
  text-wrap: balance;
}

/* ── Prose ─────────────────────────────────────────────────── */
.wp-block-post-content p,
.entry-content p {
  text-wrap: pretty;
  hyphens: auto;
}

/* ── Drop cap ──────────────────────────────────────────────── */
.has-drop-cap:not(:focus)::first-letter {
  font-family: var(--wp--preset--font-family--serif-display);
  font-weight: 400;
  font-size: 5.2em;
  line-height: 0.85;
  margin: 0.04em 0.08em 0 0;
  color: var(--wp--preset--color--clay);
  float: left;
}

/* ── Eyebrow utility (mono, tracked, uppercase) ─────────────── */
.is-style-eyebrow {
  font-family: var(--wp--preset--font-family--mono) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  color: var(--wp--preset--color--stone) !important;
}

/* ── Verse / scripture block style ──────────────────────────── */
.is-style-verse {
  font-family: var(--wp--preset--font-family--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  text-wrap: balance;
}
.is-style-verse-reference,
.is-style-verse + .has-text-align-right {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wp--preset--color--stone);
  margin-top: 1.5rem;
}

/* ── Subtle horizontal rule ─────────────────────────────────── */
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
  border: 0;
  border-top: 1px solid var(--wp--preset--color--rule);
  max-width: 100%;
  margin: 0;
}

/* ── Clay-coloured short rule (used under headings like "The Lances") ── */
.wp-block-separator.has-clay-background-color {
  border: 0;
  background-color: var(--wp--preset--color--clay);
  height: 1px;
  width: 60px;
  max-width: 60px;
  margin: 1.5rem auto;
}

/* ── Top utility / social bar (very thin, mono caps) ────────── */
.gcc-topbar {
  border-bottom: 1px solid var(--wp--preset--color--rule);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.gcc-topbar a { color: var(--wp--preset--color--stone); text-decoration: none; }
.gcc-topbar a:hover { color: var(--wp--preset--color--clay); }

/* ── Header nav links — mono, tracked ───────────────────────── */
.wp-block-navigation .wp-block-navigation-item__content {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--clay);
  text-decoration: underline;
  text-underline-offset: 8px;
}

/* ── Numbered "explore" cards on home ───────────────────────── */
.gcc-explore-card {
  border-top: 1px solid var(--wp--preset--color--rule);
  padding-top: 2rem;
  transition: border-color 200ms ease;
}
.gcc-explore-card:hover { border-top-color: var(--wp--preset--color--clay); }

/* ── Talk card hover ────────────────────────────────────────── */
.gcc-talk-card { transition: transform 200ms ease, background-color 200ms ease; }
.gcc-talk-card:hover { background-color: var(--wp--preset--color--paper); }

/* ── Print-friendly ─────────────────────────────────────────── */
@media print {
  .wp-block-navigation, .wp-block-search, .gcc-no-print { display: none !important; }
  body { background: white; color: black; }
}
