/* Public Sans, self-hosted (SIL OFL, see fonts/OFL.txt) */
@font-face{font-family:"Public Sans";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/public-sans-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/public-sans-latin-600-normal.woff2") format("woff2");}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/public-sans-latin-700-normal.woff2") format("woff2");}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:800;font-display:swap;src:url("fonts/public-sans-latin-800-normal.woff2") format("woff2");}

/* Reconnect Showcase — hero, site cards, footer.
   Scoped under .rc so it doesn't fight Divi's own styles. */

.rc {
  --rc-bg: #EEF1F6;
  --rc-panel: #FFFFFF;
  --rc-ink: #13234A;
  --rc-navy: #13234A;
  --rc-navy-deep: #0C1733;
  --rc-muted: #5A6784;
  --rc-line: #D6DCE7;
  --rc-orange: #E8591E;
  --rc-orange-soft: #FDE9DF;
  --rc-radius: 12px;
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--rc-ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.rc *, .rc *::before, .rc *::after { box-sizing: border-box; }
.rc a { color: inherit; }
.rc img { max-width: 100%; height: auto; display: block; }
.rc-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Logo (inline SVG) */
.rc-logo { display: block; height: 26px; width: auto; max-width: 100%; }
.rc-logo .rl-ink { fill: #16233a; }
.rc-logo .rl-mark { fill: #FF6C37; }

/* ---------- Top bar (full-page template only) ---------- */
.rc-top {
  background: var(--rc-panel);
  border-bottom: 1px solid var(--rc-line);
  position: sticky; top: 0; z-index: 50;
}
.admin-bar .rc-top { top: 32px; }
.rc-top .rc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.rc-top nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.rc-top nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--rc-muted); }
.rc-top nav a:hover, .rc-top nav .current-menu-item > a { color: var(--rc-ink); }

/* ---------- Hero ---------- */
.rc-hero {
  position: relative;
  background-color: var(--rc-navy);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0);
  background-size: 22px 22px;
  color: #fff;
  overflow: hidden;
}
.rc-hero.has-image { background-size: cover; background-position: center; }
.rc-hero.has-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12,23,51,.94) 0%, rgba(19,35,74,.82) 50%, rgba(19,35,74,.45) 100%);
}
.rc-hero .rc-wrap {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding-top: 88px; padding-bottom: 96px;
}
.rc-hero .rc-hero-title {
  color: #fff;
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.04;
  margin: 0 0 20px; padding: 0;
  max-width: 14ch;
}
.rc-hero p { color: #C9D2E6; font-size: 19px; max-width: 46ch; margin: 0 0 30px; padding: 0; }
.rc-hero .rc-bar { width: 56px; height: 5px; background: var(--rc-orange); border-radius: 3px; margin: 0 0 26px; }

.rc-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rc-orange); color: #fff !important;
  font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 14px 24px; border-radius: 8px; min-height: 48px;
  transition: transform .15s ease, background .15s ease;
}
.rc-btn:hover { background: #cf4b14; transform: translateY(-1px); }
.rc-btn svg { width: 18px; height: 18px; }

/* Stacked mini browser windows in the hero */
.rc-stack { position: relative; height: 300px; }
.rc-win {
  position: absolute; width: 78%;
  background: var(--rc-panel); color: var(--rc-ink);
  border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.35);
  overflow: hidden;
}
.rc-win:nth-child(1) { top: 0; right: 0; transform: rotate(2deg); }
.rc-win:nth-child(2) { top: 92px; right: 14%; transform: rotate(-2deg); }
.rc-win:nth-child(3) { top: 184px; right: 4%; transform: rotate(1deg); }
.rc-win .rc-win-bar { background: var(--rc-bg); }
.rc-win-body { padding: 14px 16px 18px; }
.rc-win-body b { display: block; font-size: 15px; }
.rc-win-body span { display: block; height: 7px; border-radius: 4px; background: var(--rc-line); margin-top: 8px; }
.rc-win-body span + span { width: 60%; }

/* Browser chrome strip — shared by hero windows and cards */
.rc-win-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-bottom: 1px solid var(--rc-line);
  font-size: 12px; color: var(--rc-muted); font-weight: 600;
}
.rc-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rc-line); flex: none; }
.rc-win-bar i:first-child { background: var(--rc-orange); }
.rc-win-bar em { font-style: normal; margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Site cards ---------- */
.rc-sites { background: var(--rc-bg); padding: 80px 0 96px; }
.rc-sites-head { max-width: 60ch; margin: 0 0 36px; }
.rc-sites-head h2 {
  font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em;
  line-height: 1.12; margin: 0 0 10px; padding: 0; color: var(--rc-ink);
}
.rc-sites-head p { color: var(--rc-muted); margin: 0; padding: 0; }

.rc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 720px) { .rc-grid { grid-template-columns: 1fr; } }

.rc-card {
  background: var(--rc-panel);
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--rc-ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(19,35,74,.13); border-color: #BFC8D9; }
.rc-card.is-featured { box-shadow: inset 0 4px 0 var(--rc-orange); }

.rc-shot { aspect-ratio: 16 / 10; background: var(--rc-bg); overflow: hidden; position: relative; }
.rc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.rc-card:hover .rc-shot img { transform: scale(1.03); }
.rc-shot-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(circle at 1px 1px, rgba(19,35,74,.10) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(135deg, #E3E8F1, #F4F6FA);
}
.rc-shot-fallback b {
  font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--rc-navy);
  width: 96px; height: 96px; border-radius: 22px; background: var(--rc-panel);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(19,35,74,.12);
}

.rc-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.rc-tag {
  align-self: flex-start;
  font-size: 13px; font-weight: 700; color: var(--rc-orange);
  background: var(--rc-orange-soft); border-radius: 5px; padding: 2px 9px; margin-bottom: 12px;
}
.rc-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 8px; padding: 0; color: var(--rc-ink); }
.rc-card p { color: var(--rc-muted); font-size: 16px; margin: 0 0 18px; padding: 0; }
.rc-visit { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--rc-ink); }
.rc-visit svg { width: 16px; height: 16px; transition: transform .18s ease; }
.rc-card:hover .rc-visit { color: var(--rc-orange); }
.rc-card:hover .rc-visit svg { transform: translateX(3px); }

.rc-empty { background: var(--rc-panel); border: 1px dashed var(--rc-line); border-radius: var(--rc-radius); padding: 32px; text-align: center; color: var(--rc-muted); }

/* ---------- Footer ---------- */
.rc-foot { background: var(--rc-navy-deep); color: #AEB9D2; font-size: 15px; }
.rc-foot .rc-logo .rl-ink { fill: #fff; }
.rc-foot-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.rc-foot h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 14px; padding: 0; }
.rc-foot p { margin: 18px 0 0; padding: 0; max-width: 40ch; }
.rc-foot ul { list-style: none; margin: 0; padding: 0; }
.rc-foot li { margin: 0 0 9px; padding: 0; }
.rc-foot a { text-decoration: none; color: #D6DDEC; }
.rc-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rc-social { display: flex; gap: 10px; margin-top: 22px; }
.rc-social a {
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
}
.rc-social a:hover { background: var(--rc-orange); border-color: var(--rc-orange); text-decoration: none; }
.rc-social svg { width: 18px; height: 18px; fill: #fff; }
.rc-foot-base { border-top: 1px solid rgba(255,255,255,.1); }
.rc-foot-base .rc-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; padding-bottom: 24px; font-size: 14px; }

/* Focus */
.rc a:focus-visible { outline: 3px solid var(--rc-orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .rc-hero .rc-wrap { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
  .rc-stack { display: none; }
  .rc-foot-main { grid-template-columns: 1fr 1fr; }
  .rc-foot-main > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .rc-top .rc-wrap { flex-direction: column; align-items: flex-start; padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .rc-sites { padding: 56px 0 64px; }
  .rc-foot-main { grid-template-columns: 1fr; }
}
@media (max-width: 782px) { .admin-bar .rc-top { top: 0; position: relative; } }
@media (prefers-reduced-motion: reduce) { .rc * { transition: none !important; } }
