/*
Theme Name: River Cities Current
Text Domain: river-cities-current
Description: Custom modern river-inspired WordPress theme for River//Cities staging
Version: 1.2.5
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

html {
	scroll-behavior: smooth;
}


:root {--rc-section-light-blue:#e7f1f7}
#events {background-color:var(--rc-section-light-blue);color:#123e60;padding-block:clamp(2rem,5vw,5rem)}

.rc-footer .rc-footer-home{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start;gap:clamp(2rem,6vw,6rem)}
.rc-footer-home .rc-footer-mail{display:inline-block;margin-top:1.4rem}
.rc-footer-home #explore h2{font-size:clamp(2.25rem,4.4vw,4.25rem);margin:0 0 1.2rem}
.rc-footer-home #explore .rc-explore-grid{display:grid;grid-template-columns:1fr;gap:.6rem;margin:0}
.rc-footer-home #explore .rc-explore-grid a{width:fit-content;background:transparent;border:0;border-radius:0;color:#d8ecf9;padding:.25rem 0;min-height:0;font-size:1rem;text-decoration:underline;text-underline-offset:.23em}
@media(max-width:720px){.rc-footer .rc-footer-home{grid-template-columns:minmax(0,1fr);gap:2.5rem}}

@font-face{font-family:"Open Sauce Sans";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/OpenSauceSans-Regular.otf") format("opentype")}
@font-face{font-family:"Open Sauce Sans";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/OpenSauceSans-Medium.otf") format("opentype")}
@font-face{font-family:"Open Sauce Sans";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/OpenSauceSans-SemiBold.otf") format("opentype")}
@font-face{font-family:"Open Sauce Sans";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/OpenSauceSans-Bold.otf") format("opentype")}
body.rc-body :is(h1,h2,h3,h4,h5,h6){font-weight:500}
.rc-body .rc-navigation a,.rc-body .rc-mobile-menu nav a{font-weight:600}
.rc-body :is(.rc-hero,.rc-section-top,.rc-intro,.rc-footer) :is(h1,h2) em{font-family:"Cormorant Garamond",serif;font-style:italic;font-weight:500}

/* Homepage titles and film tint */
.home .rc-hero { background-color: #049CD9; }
.home .rc-hero-shade { background: linear-gradient(90deg, rgb(4 156 217 / 48%), rgb(4 156 217 / 28%) 44%, rgb(4 156 217 / 12%)); }
.home .rc-hero-inner { text-shadow: 0 1px 5px rgb(0 0 0 / 65%); }
.home .rc-hero h1 { font-size: clamp(61.2px, 7.92vw, 127.8px); }
.home :is(.rc-section-top, .rc-intro) h2 { font-size: clamp(38.7px, 4.86vw, 74.7px); }
.home .rc-footer h2 { font-size: clamp(49.5px, 6.3vw, 90px); }
.home .rc-footer-home #explore h2 { font-size: clamp(2.025rem, 3.96vw, 3.825rem); }
.home .rc-pcopy h3 { font-size: clamp(1.125rem, 1.8vw, 1.53rem); }
.home .rc-featured-content h3 { font-size: clamp(1.305rem, 1.98vw, 1.98rem); }
.home .rc-home-events h2 { font-size: clamp(1.305rem, 2.25vw, 1.8rem); }
.home .rc-home-events h3 { font-size: 1.044rem; }
.home :is(.rc-hero, .rc-section-top, .rc-intro, .rc-footer) :is(h1, h2) em { font-size: 1.111111em; }
@media (max-width: 640px) {
  .home .rc-hero h1 { font-size: clamp(53.1px, 11.7vw, 81px); }
  .home .rc-hero-shade { background: rgb(4 156 217 / 32%); }
}

/* River//Cities blue accents */
body.rc-body { --rc-brand-blue: #049CD9; }
.rc-body .rc-header-cta { border-color: var(--rc-brand-blue); }
.rc-body .rc-header-cta:is(:hover, :focus-visible) { background: var(--rc-brand-blue); color: #052438; }
.rc-body .rc-navigation a:is(:hover, :focus-visible, [aria-current="page"]) {
  text-decoration: underline;
  text-decoration-color: var(--rc-brand-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}
.rc-body .rc-section-top .rc-section-id::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1.65rem;
  height: 3px;
  margin-inline-end: .65rem;
  background: var(--rc-brand-blue);
}
.rc-body:not(.home) main :is(article > header, .rc-article-header, .rc-news-archive-head) h1::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 4px;
  margin-top: .34em;
  background: var(--rc-brand-blue);
}
.rc-body .rc-event-card__date { border-block-start: 3px solid var(--rc-brand-blue); }
.rc-body .rc-project-directory article:focus-within,
.rc-body .rc-project-directory article:hover { border-color: var(--rc-brand-blue); }


