/* =========================================================
   YMCA of Memphis & the Mid South — Statuspage custom CSS
   CSS-ONLY version for the Startup plan.
   Paste into: Your page > Customize page and emails > Custom CSS
   Leave the Custom Header / Footer HTML boxes EMPTY.
   Brand colors are YMCA national palette values — confirm locally.
   ========================================================= */

:root {
  --y-blue:   #0089d0;
  --y-purple: #92278f;
  --y-ink:    #231f20;
  --y-gray:   #f4f5f7;
}

/* ---------- Page background ---------- */
body {
  background: var(--y-gray);
}

/* ---------- Top brand bar (pure CSS, no HTML needed) ---------- */
.layout-content::before {
  content: "YMCA of Memphis & the Mid South  \00B7  IT Service Status";
  display: block;
  background: var(--y-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  padding: 10px 20px;
}

/* ---------- Header: white band, purple rule, smaller logo ---------- */
/* Several rules below need !important — Statuspage's own styles otherwise win */
.masthead-container.basic {
  background: #fff;
  border-bottom: 4px solid var(--y-purple);
  padding-left: 20px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 32px !important;
}

.masthead-container .masthead .logo-container img {
  max-height: 80px !important;
  height: auto !important;
  width: auto !important;
}
.masthead-container.basic .masthead {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  padding-right: 20px;
  margin-bottom: 0 !important;
}

/* Subscribe button — brand blue, rounded, normal case */
.masthead .updates-dropdown-container .show-updates-dropdown,
.flat-button {
  background-color: var(--y-blue);
  border-radius: 6px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
  font-weight: 600;
}
.masthead .updates-dropdown-container .show-updates-dropdown:hover,
.flat-button:hover {
  background-color: var(--y-purple);
}

/* ---------- Links ---------- */
a { color: var(--y-blue); }
a:hover { color: var(--y-purple); }

/* ---------- Cards ---------- */
.layout-content.status.status-index .unresolved-incident,
.components-section .components-container {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

/* Incidents posted with impact "none" get brand purple instead of dark gray */
.layout-content.status.status-index .unresolved-incident.impact-none .incident-title {
  background-color: var(--y-purple) !important;
}

.layout-content.status.status-index .status-day {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .masthead-container .masthead .logo-container img { max-height: 56px !important; }
  .layout-content::before { font-size: 13px; }
}