/* ==========================================================================
   Module 02 (Day 2): Custom CSS3 (Zero Sass)
   Builds directly on Day 1's 3-layer cascade & Vanilla Flexbox foundations.
   ========================================================================== */

/* Day 1 Sticky-Footer Page Shell */
.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8f9fa;
  color: #212529;
}

.site-header {
  padding: 1rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid #dee2e6;
}

.site-footer {
  padding: 1rem 0;
  background-color: #ffffff;
  border-top: 1px solid #dee2e6;
  font-size: 0.875rem;
  color: #6c757d;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* Vanilla Flexbox alignment inside .container */
.header-inner,
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #212529;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-link:hover {
  color: #212529;
  opacity: 0.85;
  transform: translateY(-1px);
}

.brand-icon {
  color: #0d6efd;
  margin-right: 0.5rem;
}

.status-pill {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0d6efd;
  background-color: #e7f1ff;
  padding: 0.35rem 0.85rem;
  border-radius: 50rem;
}

.site-main {
  flex-grow: 1;
  padding: 2.5rem 0;
}

.lab-intro {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.eyebrow-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0d6efd;
  margin-bottom: 0.5rem;
}

.section-intro h1,
.lab-intro h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.intro-text {
  font-size: 1.0625rem;
  color: #495057;
  margin-bottom: 0;
}

.lab-section {
  margin-bottom: 2.5rem;
}

.lab-heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #212529;
}

/* Visual Grid Cell Boxes (Uses margin-bottom for stacked vertical spacing today) */
.grid-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 0.625rem;
  padding: 1.125rem 1.25rem;

  margin-bottom: 1rem;

  font-size: 0.9375rem;
  color: #212529;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.grid-cell:hover {
  border-color: #0d6efd;
  box-shadow: 0 0.25rem 0.75rem rgba(13, 110, 253, 0.08);
}

.grid-cell span {
  font-size: 0.8125rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

.grid-cell-accent {
  border-left: 4px solid #0d6efd;
}

.grid-cell-tall {
  min-height: 7.5rem;
}

.grid-cell-highlight {
  background-color: #f1f6ff;
  border-color: #9ec5fe;
  text-align: center;
}
