/*
Theme Name: Randy's Media Gutenberg
Theme URI: https://example.com/
Author: Randy's Media
Description: A lightweight Gutenberg-first theme for Randy's Media and Learn AI with Randy.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: randys-media-gutenberg
*/

:root {
  --rm-navy: #1A3D8F;
  --rm-orange: #F47C1E;
  --rm-light: #F4F6FB;
  --rm-dark: #1A1A1A;
  --rm-white: #FFFFFF;
  --rm-radius: 18px;
  --rm-shadow: 0 10px 30px rgba(26,61,143,.10);
}

html { scroll-behavior: smooth; }
body { color: var(--rm-dark); background: #fff; }
a { text-underline-offset: .2em; }
.wp-site-blocks { overflow-x: hidden; }

.rm-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26,61,143,.10);
}
.rm-nav a { color: var(--rm-navy); font-weight: 650; text-decoration: none; }
.rm-nav a:hover { color: var(--rm-orange); }
.rm-logo img { max-height: 72px; width: auto; }

.rm-hero {
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 55%, #fff4ea 100%);
  border-bottom: 1px solid rgba(26,61,143,.08);
}
.rm-kicker {
  color: var(--rm-orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .92rem;
}
.rm-hero h1, .rm-section h2, .rm-page-hero h1 { color: var(--rm-navy); }
.rm-hero h1 { line-height: 1.03; }
.rm-lead { font-size: 1.2rem; line-height: 1.7; max-width: 760px; }

.rm-button .wp-block-button__link,
.wp-block-button.rm-button .wp-block-button__link {
  background: var(--rm-orange);
  color: #fff;
  border-radius: 999px;
  padding: .85rem 1.4rem;
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(244,124,30,.22);
}
.rm-button .wp-block-button__link:hover,
.wp-block-button.rm-button .wp-block-button__link:hover { filter: brightness(.94); }
.rm-button-outline .wp-block-button__link,
.wp-block-button.rm-button-outline .wp-block-button__link {
  background: transparent;
  color: var(--rm-navy);
  border: 2px solid var(--rm-navy);
  border-radius: 999px;
  padding: .75rem 1.3rem;
  font-weight: 750;
}
.rm-button-outline .wp-block-button__link:hover { color: var(--rm-orange); border-color: var(--rm-orange); }

.rm-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.rm-section-light { background: var(--rm-light); }
.rm-card {
  background: #fff;
  border: 1px solid rgba(26,61,143,.10);
  border-radius: var(--rm-radius);
  box-shadow: var(--rm-shadow);
  padding: 1.5rem;
  height: 100%;
}
.rm-card h3 { color: var(--rm-navy); margin-top: .25rem; }
.rm-accent-line { width: 72px; border-top: 4px solid var(--rm-orange); margin: .7rem 0 1.2rem; }
.rm-event-card {
  border: 2px solid rgba(244,124,30,.28);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--rm-shadow);
  background: #fff;
}
.rm-event-image img { width: 100%; display: block; }
.rm-event-meta { color: var(--rm-navy); font-weight: 750; }
.rm-note {
  background: #fff7f0;
  border-left: 5px solid var(--rm-orange);
  padding: 1.1rem 1.25rem;
  border-radius: 10px;
}
.rm-page-hero {
  background: linear-gradient(120deg, #eef3ff, #fff7f0);
  padding-top: 3.8rem;
  padding-bottom: 3.8rem;
}
.rm-check-list li::marker { color: var(--rm-orange); }
.rm-quote {
  border-left: 5px solid var(--rm-orange);
  padding-left: 1.25rem;
  color: var(--rm-navy);
  font-size: 1.2rem;
  font-weight: 650;
}
.rm-footer { background: #102864; color: #fff; }
.rm-footer a { color: #fff; }
.rm-footer .rm-footer-title { color: #fff; }
.rm-small { font-size: .92rem; opacity: .9; }

@media (max-width: 781px) {
  .rm-header { position: relative; }
  .rm-logo img { max-height: 58px; }
  .rm-section { padding-top: 3rem; padding-bottom: 3rem; }
  .rm-hero h1 { font-size: clamp(2.3rem, 11vw, 4rem) !important; }
  .rm-nav { gap: .7rem !important; }
}
