/* ==========================================================================
   Motion CUSTOM.CSS STRUCTURE OVERVIEW
   Modular override-safe styles for template overrides and layout control.
   --------------------------------------------------------------------------
   This stylesheet is organized into four core categories to support clarity,
   maintainability, and override cataloging across all site components.
========================================================================== */


/* ──────────────────────────────────────────────────────────────────────────
  1. LAYOUT CONTAINERS
  Purpose:
    Define structural wrappers and responsive scaffolding for rows, columns,
    and page-level sections. These classes control spacing, alignment, and
    layout behavior across overrides.

  Examples:
    .mu-row, .mu-col, .mu-article-page, .mu-main-grid, .mu-dashboard-grid
────────────────────────────────────────────────────────────────────────── */

/* Page-Level Wrappers */
.mu-article-page,
.mu-dashboard {
  padding: 2rem 1rem;
  background-color: var(--mu-bg-light, #fdfdfd);
  color: var(--mu-text, #222);
}

/* Flex Rows */
.mu-row,
.mu-row-featured,
.mu-row-blog-item,
.mu-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 2rem;
}

/* Grid Columns */
.mu-col,
.mu-content-col,
.mu-image-col {
  flex: 1 1 0;
  min-width: 250px;
}

.mu-image-col {
  flex: 0 0 320px;
  max-width: 320px;
}

.mu-content-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

/* ──────────────────────────────────────────────────────────────────────────
  2. TYPOGRAPHY & HEADINGS
  Purpose:
    Establish visual hierarchy, readability, and semantic structure for all
    text elements including titles, subtitles, paragraphs, and metadata.

  Examples:
    .mu-heading, .mu-paragraph, .mu-article-title, .mu-info-block, .mu-card-title
────────────────────────────────────────────────────────────────────────── */

/* Headings */
.mu-heading,
.mu-title-block h2,
.mu-tip-confirmation .mu-heading {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.mu-title-block h2 {
  font-size: 1.75rem;
}

.mu-article-title,
.mu-dashboard-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--mu-heading, #111);
  margin: 0;
}

/* Paragraphs & Body Text */
.mu-paragraph,
.mu-introtext,
.mu-tip-confirmation .mu-body,
.mu-tip-confirmation .mu-footer {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: auto;
}

/* Links & Lists */
.mu-link,
.mu-article-link a,
.mu-pathway {
  color: var(--mu-link, #0077cc);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.mu-link:hover {
  color: var(--mu-link-hover, #005fa3);
  text-decoration: underline;
}

/* Breadcrumbs: Inline Layout */
.mu-breadcrumbs-list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mu-breadcrumbs {
  background-color: #eaeaea;
  justify-content: center;
  width: 100%;
}

.mu-breadcrumbs-item {
  display: inline;
  margin-right: 0.5rem;
  color: var(--mu-text, #333);
}

.mu-breadcrumbs-item.active {
  font-weight: 600;
  color: var(--mu-accent, #0077cc);
}

.mu-pathway {
  display: inline;
  color: var(--mu-link, #0077cc);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.mu-pathway:hover {
  color: var(--mu-link-hover, #005fa3);
  text-decoration: underline;
}

.mu-breadcrumbs-divider,
.mu-breadcrumbs-here {
  display: inline;
  margin-right: 0.5rem;
  color: var(--mu-muted, #888);
}

.mu-unstyled-list,
.mu-article-link-list,
.mu-articles,
.mu-inline-list,
.mu-breadcrumbs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mu-article-item,
.mu-article-link,
.mu-activation-steps li {
  margin-bottom: 0.75rem;
}

/* ──────────────────────────────────────────────────────────────────────────
  3. COMPONENTS & BLOCKS
  Purpose:
    Style reusable UI elements and override-specific modules such as cards,
    buttons, badges, breadcrumbs, image blocks, and dashboard sections.

  Examples:
    .mu-card, .mu-button, .mu-badge, .mu-image, .mu-breadcrumbs, .mu-dashboard-card
────────────────────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────────────────────
  COMPONENTS & BLOCKS
────────────────────────────────────────────────────────────────────────── */

/********************************************
 Buttons
********************************************/

.mu-button {
  display: inline-block;
  padding: 1.25rem 1rem; /* 20px vertical */
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--mu-accent, #0077cc);
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-bottom: 10px;
}
.mu-button:hover {
  background-color: var(--mu-accent-hover, #005fa3);
}

.mu-button:hover,
.mu-login-options a:hover,
.mu-login-options li a:hover {
  background-color: var(--mu-accent-hover, #005fa3);
}

.mu-button .mu-login-submit {
  text-transform: uppercase;
  font-size: 1.125rem; /* ~18px */
  font-weight: 600;
  letter-spacing: 0.05em;
}

.mu-login-options a,
.mu-login-options li a {
  display: inline-block;
  padding: 0.625rem 1rem; /* 10px vertical */
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mu-muted-text, #ccc);
  background-color: var(--mu-muted-bg, #1D1D1D); /* muted against black */
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-bottom: 10px;
  width: 80%;
  text-align: center;
}

.mu-login-options a:hover {
  background-color: var(--mu-muted-hover, #222);
  color: #fff;
}

.mu-search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  height: 100%;
  white-space: nowrap;
  border: 1px solid var(--mu-border, #ccc);
  border-left: none;
  border-radius: 0 0.375rem 0.375rem 0;
  background-color: var(--mu-accent, #0077cc);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mu-search-button:hover {
  background-color: var(--mu-accent-hover, #005fa3);
}


.mu-promo {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.mu-promo-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mu-promo-teaser {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--mu-accent, #0077cc);
  margin-bottom: 1rem;
}

.mu-promo-info {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.mu-promo-actions .mu-button {
  margin: 0.25rem 0.5rem;
}

.mu-button--secondary {
  background-color: #666;
  color: #fff;
}

/********************************************
 Login Options
********************************************/
.mu-login-options {
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
}

.mu-login-options li {
  margin-top: 10px;
}

/********************************************
 Input Groups & Form Blocks
********************************************/
.mu-input-group {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.mu-input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid var(--mu-border, #ccc);
  border-right: none;
  border-radius: 0.375rem 0 0 0.375rem;
  background-color: #fff;
  min-width: 0;
  margin-bottom: 5px;
}

/* Unified Addon Style */
.mu-input-addon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.73rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  height: 100%;
  white-space: nowrap;
  border: 1px solid var(--mu-border, #ccc);
  border-left: none;
  border-radius: 0 0.375rem 0.375rem 0;
  background-color: var(--mu-accent, #0077cc);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mu-input-addon-search {
  display: inline;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem; /* Matches .mu-input */
  font-size: 1rem;
  line-height: 1.5;
  height: 100%;
  white-space: nowrap;
  border: 1px solid var(--mu-border, #ccc);
  border-left: none;
  border-radius: 0 0.375rem 0.375rem 0;
  background-color: var(--mu-accent, #0077cc);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mu-input-addon-search:hover {
  background-color: var(--mu-accent-hover, #005fa3);
}


.mu-input-addon:hover {
  background-color: var(--mu-accent-hover, #005fa3);
}

.mu-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--mu-bg-light, #fdfdfd);
  border-radius: 0.5rem;
}

/********************************************
 Badges
********************************************/
.mu-badge,
.mu-badge-warning {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: bold;
  padding: 0.25em 0.5em;
  border-radius: 0.25em;
  white-space: nowrap;
}

.mu-badge {
  background-color: #ffc107;
  color: #000;
}

.mu-badge-warning {
  background-color: #ffcc00;
  color: #333;
}

/* ──────────────────────────────────────────────────────────────────────────
  4. UTILITIES & VARIANTS
  Purpose:
    Provide theme modifiers, spacing helpers, muted variants, responsive
    tweaks, and override notes for flexible layout control and visual tone.

  Examples:
    .mu-dark, .mu-col--strategies, .mu-override-note, .mu-button-group.compact
────────────────────────────────────────────────────────────────────────── */

/* Utility: Metadata & Notes */
.mu-info-block,
.mu-override-note,
.mu-article-tags,
.mu-card-meta,
.mu-thankyou-note,
.mu-logout-note {
  font-size: 0.875rem;
  color: var(--mu-muted, #555);
}

.mu-info-block {
  margin-bottom: 1rem;
}

.mu-override-note {
  background-color: #f9f9f9;
  padding: 0.5rem 1rem;
  border-left: 4px solid #ffc107;
  margin-bottom: 1rem;
}

.mu-article-tags {
  margin: 1rem 0;
}

/* Responsive Layouts */
@media (max-width: 768px) {
  .mu-feature-row,
  .mu-profile-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .mu-feature {
    flex: 1 1 100%;
  }

  .mu-grid.mu-two-column {
    grid-template-columns: 1fr;
  }
}

