Difference between revisions of "MediaWiki:Common.css"

From MU Online Guides and Tutorials
Jump to: navigation, search
Line 26: Line 26:
 
   --imu-radius: 12px;
 
   --imu-radius: 12px;
 
   --imu-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 
   --imu-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 +
 +
/* Layered ethereal backgrounds */
 +
        --bg-base: #f1f5f9;
 +
        --bg-panel: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
 +
        --bg-hover: #ffffff;
 +
       
 +
        /* High-contrast text */
 +
        --text-main: #0f172a;
 +
        --text-muted: #64748b;
 +
       
 +
        /* Magical Accents */
 +
        --accent-primary: #0284c7; /* Infinity Blue */
 +
        --accent-hover: #0ea5e9;
 +
        --accent-bg: rgba(2, 132, 199, 0.08);
 +
       
 +
        /* Structural */
 +
        --border-subtle: #e2e8f0;
 +
        --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.05);
 +
        --shadow-hover: 0 10px 25px rgba(2, 132, 199, 0.15);
 +
       
 +
        /* Typography */
 +
        --font-headers: 'Cinzel', serif;
 +
        --font-links: 'Plus Jakarta Sans', sans-serif;
 +
}
 +
 +
* { box-sizing: border-box; margin: 0; padding: 0; }
 +
 +
    body {
 +
        background-color: var(--bg-base);
 +
        display: flex;
 +
        padding: 2rem;
 +
    }
 +
 +
    /* Sidebar Container */
 +
    .wiki-sidebar {
 +
        width: 270px;
 +
        background: var(--bg-panel);
 +
        border-right: 1px solid var(--border-subtle);
 +
        box-shadow: var(--shadow-soft);
 +
        display: flex;
 +
        flex-direction: column;
 +
        gap: 1.5rem;
 +
        padding: 2rem 0;
 +
        border-radius: 0 16px 16px 0;
 +
        position: relative;
 +
        overflow: hidden;
 +
    }
 +
 +
    /* Subtle geometric overlay for depth */
 +
    .wiki-sidebar::after {
 +
        content: '';
 +
        position: absolute;
 +
        top: 0; left: 0; right: 0; height: 150px;
 +
        background: radial-gradient(circle at top right, var(--accent-bg) 0%, transparent 70%);
 +
        pointer-events: none;
 +
    }
 +
 +
    /* Logo Area */
 +
    .sidebar-logo {
 +
        text-align: center;
 +
        padding: 0 1.5rem 1rem;
 +
        border-bottom: 1px solid var(--border-subtle);
 +
        position: relative;
 +
        z-index: 2;
 +
    }
 +
 +
    .sidebar-logo h2 {
 +
        color: var(--text-main);
 +
        font-family: var(--font-headers);
 +
        font-size: 1.4rem;
 +
        letter-spacing: 2px;
 +
        text-shadow: 0 2px 4px rgba(0,0,0,0.05);
 +
    }
 +
 +
    /* Navigation Sections */
 +
    .nav-section {
 +
        padding: 0 1.5rem;
 +
        position: relative;
 +
        z-index: 2;
 +
    }
 +
 +
    .nav-header {
 +
        font-family: var(--font-headers);
 +
        color: var(--accent-primary);
 +
        font-size: 0.85rem;
 +
        font-weight: 700;
 +
        letter-spacing: 1.5px;
 +
        text-transform: uppercase;
 +
        margin-bottom: 0.75rem;
 +
    }
 +
 +
    .nav-list {
 +
        list-style: none;
 +
        display: flex;
 +
        flex-direction: column;
 +
        gap: 4px;
 +
    }
 +
 +
    .nav-link {
 +
        font-family: var(--font-links);
 +
        font-weight: 500;
 +
        font-size: 0.9rem;
 +
        color: var(--text-muted);
 +
        text-decoration: none;
 +
        padding: 8px 12px;
 +
        border-radius: 8px;
 +
        position: relative;
 +
        display: block;
 +
        transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
 +
        border: 1px solid transparent;
 +
    }
 +
 +
    /* Tactile CSS-only Micro-interaction */
 +
    .nav-link::before {
 +
        content: '';
 +
        position: absolute;
 +
        left: -4px;
 +
        top: 50%;
 +
        transform: translateY(-50%) scaleY(0);
 +
        height: 60%;
 +
        width: 3px;
 +
        background-color: var(--accent-primary);
 +
        border-radius: 4px;
 +
        transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
 +
    }
 +
 +
    .nav-link:hover {
 +
        color: var(--accent-primary);
 +
        background-color: var(--bg-hover);
 +
        border-color: var(--border-subtle);
 +
        box-shadow: var(--shadow-hover);
 +
        transform: translateX(4px);
 +
    }
 +
 +
    .nav-link:hover::before {
 +
        transform: translateY(-50%) scaleY(1);
 +
    }
 +
 +
    /* CSS-Only Accordion for Sub-menus */
 +
    details.nav-accordion summary {
 +
        list-style: none;
 +
        cursor: pointer;
 +
        font-family: var(--font-headers);
 +
        color: var(--accent-primary);
 +
        font-size: 0.85rem;
 +
        font-weight: 700;
 +
        letter-spacing: 1.5px;
 +
        text-transform: uppercase;
 +
        padding: 8px 0;
 +
        border-top: 1px solid var(--border-subtle);
 +
        margin-top: 1rem;
 +
        display: flex;
 +
        justify-content: space-between;
 +
        align-items: center;
 +
        transition: color 0.3s ease;
 +
    }
 +
 +
    details.nav-accordion summary::-webkit-details-marker {
 +
        display: none;
 +
    }
 +
 +
    details.nav-accordion summary::after {
 +
        content: '↓';
 +
        color: var(--text-muted);
 +
        font-family: sans-serif;
 +
        font-size: 1rem;
 +
        transition: transform 0.3s ease;
 +
    }
 +
 +
    details.nav-accordion[open] summary::after {
 +
        transform: rotate(180deg);
 +
        color: var(--accent-primary);
 +
    }
 +
 +
    .accordion-content {
 +
        padding-top: 8px;
 +
    }
 +
 +
    /* Portal CTA Links */
 +
    .portal-links {
 +
        margin-top: auto;
 +
        padding: 1.5rem;
 +
        background: var(--accent-bg);
 +
        border-top: 1px solid rgba(2, 132, 199, 0.1);
 +
        position: relative;
 +
        z-index: 2;
 +
    }
 +
 +
    .portal-btn {
 +
        display: flex;
 +
        align-items: center;
 +
        justify-content: space-between;
 +
        background: #ffffff;
 +
        color: var(--text-main);
 +
        font-family: var(--font-links);
 +
        font-weight: 600;
 +
        font-size: 0.9rem;
 +
        text-decoration: none;
 +
        padding: 10px 15px;
 +
        border-radius: 6px;
 +
        margin-bottom: 8px;
 +
        border: 1px solid var(--border-subtle);
 +
        transition: all 0.3s ease;
 +
    }
 +
 +
    .portal-btn span {
 +
        color: var(--accent-primary);
 +
        transition: transform 0.3s ease;
 +
    }
 +
 +
    .portal-btn:hover {
 +
        border-color: var(--accent-primary);
 +
        box-shadow: var(--shadow-hover);
 +
        color: var(--accent-primary);
 +
    }
 +
 +
    .portal-btn:hover span {
 +
        transform: translateX(4px);
 +
    }
 +
 +
/* =========================================================
 +
  InsaniaMU Sidebar Highlight
 +
  ========================================================= */
 +
 +
:root {
 +
  /* Cohesive Theme Variables */
 +
  --insania-accent: #ffb700; /* Deep Gold */
 +
  --insania-accent-hover: #ff3333; /* Crimson / Blood Red */
 +
  --insania-bg-dark: #1a0505;
 +
  --insania-bg-light: #2a0d15;
 +
  --insania-glow: rgba(255, 183, 0, 0.25);
 +
}
 +
 +
/* Target the specific InsaniaMU link in Vector and Monobook skins */
 +
#mw-panel a[href="https://insaniamu.com"],
 +
#column-one a[href="https://insaniamu.com"],
 +
.mw-portlet a[href="https://insaniamu.com"] {
 +
  position: relative;
 +
  display: block;
 +
  margin: 12px 0 4px -8px; /* Pulls it slightly out of the standard alignment */
 +
  padding: 8px 12px;
 +
  color: #f8f8f8 !important;
 +
  font-family: 'Cinzel', 'Trajan Pro', serif, system-ui; /* Distinctive typography fallback */
 +
  font-weight: 700;
 +
  font-size: 0.95em;
 +
  letter-spacing: 0.5px;
 +
  text-decoration: none;
 +
 
 +
  /* Layered background depth */
 +
  background: linear-gradient(135deg, var(--insania-bg-dark) 0%, var(--insania-bg-light) 100%);
 +
  border-left: 3px solid var(--insania-accent);
 +
  border-radius: 0 6px 6px 0;
 +
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
 +
  overflow: hidden;
 +
 
 +
  /* Smooth micro-interaction transition */
 +
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
 +
  z-index: 1;
 +
}
 +
 +
/* CSS-only animation layer for the shimmer effect */
 +
#mw-panel a[href="https://insaniamu.com"]::before,
 +
#column-one a[href="https://insaniamu.com"]::before,
 +
.mw-portlet a[href="https://insaniamu.com"]::before {
 +
  content: '';
 +
  position: absolute;
 +
  top: 0;
 +
  left: -150%;
 +
  width: 150%;
 +
  height: 100%;
 +
  background: linear-gradient(
 +
    90deg,
 +
    transparent 0%,
 +
    rgba(255, 183, 0, 0.15) 50%,
 +
    transparent 100%
 +
  );
 +
  transform: skewX(-25deg);
 +
  transition: left 0.6s ease-in-out;
 +
  z-index: -1;
 +
}
 +
 +
/* High-impact hover state */
 +
#mw-panel a[href="https://insaniamu.com"]:hover,
 +
#column-one a[href="https://insaniamu.com"]:hover,
 +
.mw-portlet a[href="https://insaniamu.com"]:hover {
 +
  transform: translateX(6px);
 +
  border-left-color: var(--insania-accent-hover);
 +
  box-shadow: 0 6px 16px var(--insania-glow);
 +
  color: #ffffff !important;
 +
}
 +
 +
/* Trigger the shimmer sweep on hover */
 +
#mw-panel a[href="https://insaniamu.com"]:hover::before,
 +
#column-one a[href="https://insaniamu.com"]:hover::before,
 +
.mw-portlet a[href="https://insaniamu.com"]:hover::before {
 +
  left: 150%;
 
}
 
}
  

Revision as of 11:07, 17 March 2026

/* CSS placed here will be applied to all skins */
/* ==========================================================================
   InfinityMU Modern Wiki UI - MediaWiki 1.31.1 Compatible
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  /* Colors */
  --imu-bg-main: #f8fafc;
  --imu-bg-card: #ffffff;
  --imu-text-main: #334155;
  --imu-text-muted: #64748b;
  --imu-accent-primary: #0ea5e9;
  --imu-accent-hover: #0284c7;
  --imu-accent-gold: #d97706;
  --imu-border-soft: #e2e8f0;
  
  /* Typography */
  --imu-font-heading: 'Cinzel', serif;
  --imu-font-body: 'Nunito', sans-serif;
  
  /* Effects */
  --imu-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --imu-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --imu-radius: 12px;
  --imu-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

/* Layered ethereal backgrounds */
        --bg-base: #f1f5f9;
        --bg-panel: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
        --bg-hover: #ffffff;
        
        /* High-contrast text */
        --text-main: #0f172a;
        --text-muted: #64748b;
        
        /* Magical Accents */
        --accent-primary: #0284c7; /* Infinity Blue */
        --accent-hover: #0ea5e9;
        --accent-bg: rgba(2, 132, 199, 0.08);
        
        /* Structural */
        --border-subtle: #e2e8f0;
        --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.05);
        --shadow-hover: 0 10px 25px rgba(2, 132, 199, 0.15);
        
        /* Typography */
        --font-headers: 'Cinzel', serif;
        --font-links: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

    body {
        background-color: var(--bg-base);
        display: flex;
        padding: 2rem;
    }

    /* Sidebar Container */
    .wiki-sidebar {
        width: 270px;
        background: var(--bg-panel);
        border-right: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-soft);
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0;
        border-radius: 0 16px 16px 0;
        position: relative;
        overflow: hidden;
    }

    /* Subtle geometric overlay for depth */
    .wiki-sidebar::after {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; height: 150px;
        background: radial-gradient(circle at top right, var(--accent-bg) 0%, transparent 70%);
        pointer-events: none;
    }

    /* Logo Area */
    .sidebar-logo {
        text-align: center;
        padding: 0 1.5rem 1rem;
        border-bottom: 1px solid var(--border-subtle);
        position: relative;
        z-index: 2;
    }

    .sidebar-logo h2 {
        color: var(--text-main);
        font-family: var(--font-headers);
        font-size: 1.4rem;
        letter-spacing: 2px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    /* Navigation Sections */
    .nav-section {
        padding: 0 1.5rem;
        position: relative;
        z-index: 2;
    }

    .nav-header {
        font-family: var(--font-headers);
        color: var(--accent-primary);
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-bottom: 0.75rem;
    }

    .nav-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .nav-link {
        font-family: var(--font-links);
        font-weight: 500;
        font-size: 0.9rem;
        color: var(--text-muted);
        text-decoration: none;
        padding: 8px 12px;
        border-radius: 8px;
        position: relative;
        display: block;
        transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
        border: 1px solid transparent;
    }

    /* Tactile CSS-only Micro-interaction */
    .nav-link::before {
        content: '';
        position: absolute;
        left: -4px;
        top: 50%;
        transform: translateY(-50%) scaleY(0);
        height: 60%;
        width: 3px;
        background-color: var(--accent-primary);
        border-radius: 4px;
        transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .nav-link:hover {
        color: var(--accent-primary);
        background-color: var(--bg-hover);
        border-color: var(--border-subtle);
        box-shadow: var(--shadow-hover);
        transform: translateX(4px);
    }

    .nav-link:hover::before {
        transform: translateY(-50%) scaleY(1);
    }

    /* CSS-Only Accordion for Sub-menus */
    details.nav-accordion summary {
        list-style: none;
        cursor: pointer;
        font-family: var(--font-headers);
        color: var(--accent-primary);
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        padding: 8px 0;
        border-top: 1px solid var(--border-subtle);
        margin-top: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: color 0.3s ease;
    }

    details.nav-accordion summary::-webkit-details-marker {
        display: none;
    }

    details.nav-accordion summary::after {
        content: '↓';
        color: var(--text-muted);
        font-family: sans-serif;
        font-size: 1rem;
        transition: transform 0.3s ease;
    }

    details.nav-accordion[open] summary::after {
        transform: rotate(180deg);
        color: var(--accent-primary);
    }

    .accordion-content {
        padding-top: 8px;
    }

    /* Portal CTA Links */
    .portal-links {
        margin-top: auto;
        padding: 1.5rem;
        background: var(--accent-bg);
        border-top: 1px solid rgba(2, 132, 199, 0.1);
        position: relative;
        z-index: 2;
    }

    .portal-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #ffffff;
        color: var(--text-main);
        font-family: var(--font-links);
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        padding: 10px 15px;
        border-radius: 6px;
        margin-bottom: 8px;
        border: 1px solid var(--border-subtle);
        transition: all 0.3s ease;
    }

    .portal-btn span {
        color: var(--accent-primary);
        transition: transform 0.3s ease;
    }

    .portal-btn:hover {
        border-color: var(--accent-primary);
        box-shadow: var(--shadow-hover);
        color: var(--accent-primary);
    }

    .portal-btn:hover span {
        transform: translateX(4px);
    }

/* =========================================================
   InsaniaMU Sidebar Highlight
   ========================================================= */

:root {
  /* Cohesive Theme Variables */
  --insania-accent: #ffb700; /* Deep Gold */
  --insania-accent-hover: #ff3333; /* Crimson / Blood Red */
  --insania-bg-dark: #1a0505;
  --insania-bg-light: #2a0d15;
  --insania-glow: rgba(255, 183, 0, 0.25);
}

/* Target the specific InsaniaMU link in Vector and Monobook skins */
#mw-panel a[href="https://insaniamu.com"],
#column-one a[href="https://insaniamu.com"],
.mw-portlet a[href="https://insaniamu.com"] {
  position: relative;
  display: block;
  margin: 12px 0 4px -8px; /* Pulls it slightly out of the standard alignment */
  padding: 8px 12px;
  color: #f8f8f8 !important;
  font-family: 'Cinzel', 'Trajan Pro', serif, system-ui; /* Distinctive typography fallback */
  font-weight: 700;
  font-size: 0.95em;
  letter-spacing: 0.5px;
  text-decoration: none;
  
  /* Layered background depth */
  background: linear-gradient(135deg, var(--insania-bg-dark) 0%, var(--insania-bg-light) 100%);
  border-left: 3px solid var(--insania-accent);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  
  /* Smooth micro-interaction transition */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

/* CSS-only animation layer for the shimmer effect */
#mw-panel a[href="https://insaniamu.com"]::before,
#column-one a[href="https://insaniamu.com"]::before,
.mw-portlet a[href="https://insaniamu.com"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 183, 0, 0.15) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease-in-out;
  z-index: -1;
}

/* High-impact hover state */
#mw-panel a[href="https://insaniamu.com"]:hover,
#column-one a[href="https://insaniamu.com"]:hover,
.mw-portlet a[href="https://insaniamu.com"]:hover {
  transform: translateX(6px);
  border-left-color: var(--insania-accent-hover);
  box-shadow: 0 6px 16px var(--insania-glow);
  color: #ffffff !important;
}

/* Trigger the shimmer sweep on hover */
#mw-panel a[href="https://insaniamu.com"]:hover::before,
#column-one a[href="https://insaniamu.com"]:hover::before,
.mw-portlet a[href="https://insaniamu.com"]:hover::before {
  left: 150%;
}

/* Wrapper & Typography */
.imu-guide-wrapper {
  font-family: var(--imu-font-body);
  color: var(--imu-text-main);
  background-color: var(--imu-bg-main);
  padding: 2rem;
  border-radius: var(--imu-radius);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

.imu-heading-primary, 
.imu-heading-secondary, 
.imu-heading-tertiary {
  font-family: var(--imu-font-heading);
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Hero Section */
.imu-hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-left: 4px solid var(--imu-accent-primary);
  padding: 2rem;
  border-radius: var(--imu-radius);
  box-shadow: var(--imu-shadow-sm);
  margin-bottom: 2.5rem;
}

.imu-heading-primary {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.imu-lead-text {
  font-size: 1.15rem;
  color: var(--imu-text-muted);
}

/* Step Containers */
.imu-step-container {
  background: var(--imu-bg-card);
  border: 1px solid var(--imu-border-soft);
  border-radius: var(--imu-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--imu-shadow-sm);
  transition: var(--imu-transition);
}

.imu-step-container:hover {
  box-shadow: var(--imu-shadow-md);
  transform: translateY(-2px);
}

.imu-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--imu-bg-main);
  padding-bottom: 1rem;
}

.imu-heading-secondary {
  font-size: 1.75rem;
  font-weight: 600;
}

.imu-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--imu-accent-primary);
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
  flex-shrink: 0;
}

/* Inline Code */
.imu-step-body code {
  background: #f1f5f9;
  color: #166534;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid #cbd5e1;
}

/* MW External Link Overrides for Button */
.imu-btn-wrapper {
  margin-top: 1.5rem;
  display: inline-block;
}

.imu-btn-wrapper a.external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--imu-accent-primary), var(--imu-accent-hover));
  background-size: 200% auto;
  color: #0ea5e9 !important;
  text-decoration: none !important;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--imu-font-body);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
  transition: var(--imu-transition);
  background-image: none !important; /* Strips the MW external link icon */
  padding-right: 2.5rem !important;
}

.imu-btn-wrapper a.external::after {
  content: '↓';
  margin-left: 0.75rem;
  font-weight: 800;
  transition: transform 0.3s ease;
}

.imu-btn-wrapper a.external:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

.imu-btn-wrapper a.external:hover::after {
  transform: translateY(3px);
}

/* Callouts / Info Boxes */
.imu-callout {
  padding: 1.25rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.imu-callout-info {
  background-color: #fefce8;
  border-left: 4px solid var(--imu-accent-gold);
  color: #854d0e;
}

.imu-callout-warning {
  background-color: #fff1f2;
  border-left: 4px solid #e11d48;
  color: #9f1239;
}

/* Gallery Restyling */
.imu-gallery-wrapper ul.gallery {
  margin: 1.5rem 0 0 0 !important;
}

.imu-gallery-wrapper .gallerybox {
  background: transparent !important;
  border: none !important;
}

.imu-gallery-wrapper .thumb {
  border: 1px solid var(--imu-border-soft) !important;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--imu-transition);
  background: #fff !important;
}

.imu-gallery-wrapper .thumb:hover {
  border-color: var(--imu-accent-primary) !important;
  box-shadow: var(--imu-shadow-sm);
}

.imu-gallery-wrapper .gallerytext {
  font-family: var(--imu-font-body);
  color: var(--imu-text-muted);
  font-size: 0.85rem;
  padding: 8px 4px !important;
}

/* Footer Links */
.imu-footer-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--imu-border-soft);
}

.imu-heading-tertiary {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.imu-footer-links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.imu-footer-links li {
  margin: 0;
}

.imu-footer-links a {
  color: var(--imu-text-muted);
  text-decoration: none;
  font-weight: 700;
  transition: var(--imu-transition);
  display: inline-flex;
  align-items: center;
}

.imu-footer-links a::before {
  content: '→';
  margin-right: 0.5rem;
  color: var(--imu-accent-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--imu-transition);
}

.imu-footer-links a:hover {
  color: var(--imu-accent-primary);
  text-decoration: none;
}

.imu-footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}