/* KidsEventsThisWeek.com — Global Styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #d93025;
  --blue:   #1a6cb5;
  --orange: #f5a623;
  --green:  #3a9e4f;
  --dark:   #222222;
  --mid:    #555555;
  --light:  #f7f8fa;
  --border: #e2e6ea;
  --white:  #ffffff;
  --font:   -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo img { height: 52px; width: auto; }
.site-logo { display: flex; align-items: center; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--red); text-decoration: none; }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 50px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #b5261f !important; }

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0e4f8a 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Content Pages (About, Terms, Privacy) ── */
.content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.content-wrap h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin: 40px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}

.content-wrap h2:first-of-type { margin-top: 0; }

.content-wrap p {
  margin-bottom: 18px;
  color: #333;
}

.content-wrap ul, .content-wrap ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.content-wrap li { margin-bottom: 8px; }

.content-wrap a { color: var(--blue); }

.effective-date {
  display: inline-block;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 36px;
}

/* ── About: Mission Block ── */
.mission-block {
  background: linear-gradient(135deg, #fff8e7 0%, #fff3f3 100%);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 28px 28px;
  margin: 36px 0;
}

.mission-block p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--dark); }

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: #aaa;
  padding: 44px 20px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #aaa; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); text-decoration: none; }

.footer-logo img { height: 40px; width: auto; margin-bottom: 12px; }
.footer-logo p { font-size: 13px; line-height: 1.6; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: var(--white); }

/* ── Events Grid ── */
.events-wrap { max-width: 1100px; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding-top: 8px;
}

.event-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.event-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.event-image--placeholder {
  height: 80px;
  background: linear-gradient(135deg, #fff0f0, #f0f4ff);
}

.event-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--mid);
}

.event-distance { color: var(--green); font-weight: 600; }

.event-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 2px 0;
}

.event-title a { color: var(--dark); }
.event-title a:hover { color: var(--blue); text-decoration: none; }

.event-venue {
  font-size: 13px;
  color: var(--mid);
  margin: 0;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--light);
  color: var(--mid);
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-free {
  background: #e8f5e9;
  color: var(--green);
  border-color: #c8e6c9;
}

.tag-reg {
  background: #fff3e0;
  color: #e65100;
  border-color: #ffcc80;
}

.tag-type {
  background: #e8eaf6;
  color: #3949ab;
  border-color: #c5cae9;
}

.event-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 4px 0 0;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: underline; }

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--mid);
}

.empty-state a { color: var(--blue); }

/* ── Responsive ── */
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-nav { gap: 16px; }
}

@media (max-width: 480px) {
  .site-nav .hide-mobile { display: none; }
}
