/*
Theme Name: Girma Belete Unified
Theme URI: https://girmabelete.com/
Author: Girma Belete
Description: A modern block theme for girmabelete.com, unifying professional online training, learning resources and family portal destinations.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: girmabelete-unified
*/

:root {
  --gb-ink: #102a2a;
  --gb-ink-2: #183b38;
  --gb-forest: #2f5e55;
  --gb-sage: #dce9e3;
  --gb-gold: #c69a43;
  --gb-gold-soft: #ead8ad;
  --gb-paper: #f7f4ed;
  --gb-card: #ffffff;
  --gb-line: #dfded6;
  --gb-muted: #64706c;
  --gb-shadow: 0 24px 70px rgba(16, 42, 42, .11);
  --gb-radius-xl: 30px;
  --gb-radius-lg: 22px;
  --gb-radius-md: 15px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--gb-paper);
  color: var(--gb-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gb-gold-soft); color: var(--gb-ink); }

a { text-underline-offset: .18em; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gb-gold);
  outline-offset: 3px;
}

.gb-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 42, 42, .08);
  backdrop-filter: saturate(150%) blur(14px);
  background: rgba(247, 244, 237, .92) !important;
}

.gb-brand-lockup { gap: 11px !important; }
.gb-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gb-ink);
  color: var(--gb-gold-soft);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.gb-site-header .wp-block-site-title a { text-decoration: none; }
.gb-site-header .wp-block-navigation-item__content { text-decoration: none; }
.gb-site-header .wp-block-navigation-item__content:hover { color: var(--gb-forest); }

.gb-portal-link > a,
.gb-nav-portal a {
  background: var(--gb-ink);
  color: white !important;
  border-radius: 999px;
  padding: 10px 16px !important;
}

.gb-hero-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--gb-shadow);
}
.gb-hero-shell::before {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,216,173,.30), rgba(234,216,173,0) 68%);
  z-index: -1;
}
.gb-hero-shell::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  left: 42%;
  bottom: -240px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  z-index: -1;
}

.gb-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(234,216,173,.45);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--gb-gold-soft);
  font-size: .76rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.gb-hero-copy { max-width: 800px; }
.gb-hero-title { max-width: 920px; text-wrap: balance; }
.gb-hero-lede { max-width: 700px; color: rgba(255,255,255,.78); }

.gb-button-primary .wp-block-button__link {
  box-shadow: 0 10px 24px rgba(198,154,67,.18);
}
.gb-button-secondary .wp-block-button__link {
  border-color: rgba(255,255,255,.30) !important;
}
.gb-button-primary .wp-block-button__link,
.gb-button-secondary .wp-block-button__link,
.gb-card-link .wp-block-button__link {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.gb-button-primary .wp-block-button__link:hover,
.gb-button-secondary .wp-block-button__link:hover,
.gb-card-link .wp-block-button__link:hover { transform: translateY(-2px); }

.gb-hero-panel {
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 42px rgba(0,0,0,.12);
}
.gb-kicker { color: var(--gb-gold); }
.gb-stat-grid > .wp-block-column { min-width: 0; }
.gb-stat {
  min-height: 126px;
  border: 1px solid var(--gb-line);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gb-stat:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(16,42,42,.08); }
.gb-stat-number { font-family: Georgia, 'Times New Roman', serif; }

.gb-destination-card {
  height: 100%;
  border: 1px solid var(--gb-line);
  box-shadow: 0 14px 34px rgba(16,42,42,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gb-destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(16,42,42,.11);
  border-color: rgba(47,94,85,.28);
}
.gb-card-index {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gb-sage);
  color: var(--gb-forest);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}
.gb-destination-card.is-dark .gb-card-index {
  background: rgba(234,216,173,.16);
  color: var(--gb-gold-soft);
}

.gb-section-heading { max-width: 760px; text-wrap: balance; }
.gb-section-copy { max-width: 700px; color: var(--gb-muted); }

.gb-training-spotlight {
  overflow: hidden;
  border: 1px solid rgba(16,42,42,.08);
  box-shadow: var(--gb-shadow);
}
.gb-training-side {
  background: linear-gradient(145deg, #e6eee9 0%, #f6efe0 100%);
}
.gb-training-code {
  width: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background: var(--gb-ink);
  color: var(--gb-gold-soft);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 18px 42px rgba(16,42,42,.20);
}

.gb-page-hero {
  border-bottom: 1px solid var(--gb-line);
  background: linear-gradient(180deg, rgba(220,233,227,.58), rgba(247,244,237,0));
}
.gb-content-shell {
  background: var(--gb-card);
  border: 1px solid var(--gb-line);
  border-radius: var(--gb-radius-lg);
  box-shadow: 0 18px 48px rgba(16,42,42,.06);
}

.gb-content-shell input[type='text'],
.gb-content-shell input[type='email'],
.gb-content-shell input[type='password'],
.gb-content-shell input[type='number'],
.gb-content-shell input[type='url'],
.gb-content-shell select,
.gb-content-shell textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cfd5d1;
  border-radius: 10px;
  background: white;
  color: var(--gb-ink);
  padding: 11px 12px;
  font: inherit;
}
.gb-content-shell input[type='submit'],
.gb-content-shell button,
.gb-content-shell .button {
  border: 0;
  border-radius: 999px;
  background: var(--gb-ink);
  color: white;
  padding: 11px 17px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gb-site-footer { border-top: 1px solid rgba(16,42,42,.10); }
.gb-footer-note { color: rgba(255,255,255,.65); }
.gb-footer-links a { color: rgba(255,255,255,.84); text-decoration: none; }
.gb-footer-links a:hover { color: var(--gb-gold-soft); }

@media (max-width: 781px) {
  .gb-site-header { position: relative; }
  .gb-hero-shell { border-radius: 22px !important; }
  .gb-hero-title { font-size: clamp(2.35rem, 12vw, 4rem) !important; }
  .gb-training-side { min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
