انتقل إلى المحتوى

الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»

من موسوعة زيارة الاربعين
لا ملخص تعديل
لا ملخص تعديل
سطر ٣: سطر ٣:
========================= */
========================= */
:root {
:root {
   --deep-charcoal: #1D1616;
   --primary-dark: #1a237e;
   --crimson-red: #8E1616;
   --secondary-dark: #283593;
   --forest-green: #004030;
   --tertiary-dark: #3949ab;
   --royal-blue: #261FB3;
   --accent-dark: #2c3e50;
   --pearl-white: #EAEFEF;
   --text-primary: #212121;
 
   --text-secondary: #424242;
  /* Derived colors for better contrast */
   --text-muted: #757575;
   --charcoal-light: #2a2323;
   --white: #ffffff;
   --crimson-light: #b32020;
   --off-white: #fafafa;
   --forest-light: #006b50;
   --border-light: #e0e0e0;
   --blue-light: #3e35d1;
   --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.12);
   --pearl-dark: #d4d9d9;
   --shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.15);
 
   --shadow-deep: 0 8px 32px rgba(0, 0, 0, 0.18);
  /* Academic styling variables */
   --transition-smooth: 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
   --serif-font: 'Crimson Text', 'Times New Roman', serif;
   --border-radius: 8px;
   --sans-serif-font: 'Source Sans Pro', 'Helvetica Neue', sans-serif;
   --border-radius-lg: 12px;
  --mono-font: 'Source Code Pro', 'Courier New', monospace;
 
   --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
   --shadow-soft: 0 8px 32px rgba(29, 22, 22, 0.12);
   --shadow-emphasis: 0 12px 48px rgba(29, 22, 22, 0.18);
}
}


/* ========================
/* ========================
   Typography & Base
   Typography Imports
========================= */
========================= */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Source+Sans+Pro:wght@300;400;600;700&family=Source+Code+Pro:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');


/* ========================
  Base Styling
========================= */
body {
body {
   font-family: var(--serif-font);
   font-family: 'Crimson Text', serif;
   background: linear-gradient(135deg, var(--pearl-white) 0%, #f0f5f5 100%);
   background-color: var(--white);
   color: var(--deep-charcoal);
   color: var(--text-primary);
  line-height: 1.7;
   margin: 0;
   margin: 0;
   padding: 0;
   padding: 0;
   min-height: 100vh;
   line-height: 1.6;
  font-size: 16px;
}
}


/* ========================
/* ========================
   Header - Distinguished Academic Style
   Header Styling
========================= */
========================= */
.mw-body-header {
.mw-body-header {
   background: linear-gradient(135deg, var(--deep-charcoal) 0%, var(--charcoal-light) 100%);
   background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
   border-bottom: 4px solid var(--crimson-red);
   color: var(--white);
   padding: 32px 40px;
   padding: 24px 32px;
   text-align: center;
   text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  box-shadow: var(--shadow-elevated);
   position: relative;
   position: relative;
   overflow: visible;
   border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}
}


سطر ٦٠: سطر ٦٣:
   left: 0;
   left: 0;
   right: 0;
   right: 0;
   height: 2px;
   height: 4px;
   background: linear-gradient(90deg,  
   background: linear-gradient(90deg,  
     var(--royal-blue) 0%,  
     var(--tertiary-dark) 0%,  
     var(--forest-green) 50%,  
     var(--primary-dark) 50%,  
     var(--crimson-red) 100%);
     var(--tertiary-dark) 100%);
}
}


سطر ٧٠: سطر ٧٣:
   content: "";
   content: "";
   position: absolute;
   position: absolute;
   bottom: -4px;
   bottom: -1px;
   left: 50%;
   left: 50%;
   transform: translateX(-50%);
   transform: translateX(-50%);
   width: 120px;
   width: 60px;
   height: 4px;
   height: 3px;
   background: var(--royal-blue);
   background: var(--tertiary-dark);
   border-radius: 2px;
   border-radius: 2px;
}
.mw-body-header h1,
.mw-body-header .mw-page-title-main {
  font-family: var(--serif-font);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  color: var(--pearl-white);
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
}


/* ========================
/* ========================
   Navigation & Dropdowns
   Dropdown Menu
========================= */
========================= */
.vector-dropdown {
.vector-dropdown {
   position: relative;
   position: relative;
   display: inline-block;
   display: inline-block;
   margin: 0 8px;
   cursor: pointer;
}
   font-family: 'Inter', sans-serif;
 
.vector-dropdown > a {
   font-family: var(--sans-serif-font);
  font-weight: 600;
  color: var(--deep-charcoal);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--pearl-white);
  border: 2px solid transparent;
  transition: all var(--transition-smooth);
  display: inline-block;
}
 
.vector-dropdown > a:hover {
  background: var(--royal-blue);
  color: var(--pearl-white);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
}


سطر ١٢٥: سطر ٩٧:
   top: 100%;
   top: 100%;
   left: 0;
   left: 0;
   background: var(--pearl-white);
   background-color: var(--white);
   min-width: 220px;
   min-width: 200px;
  border-radius: 12px;
   box-shadow: var(--shadow-deep);
   box-shadow: var(--shadow-emphasis);
   border: 1px solid var(--border-light);
   border: 1px solid var(--pearl-dark);
  border-radius: var(--border-radius);
   z-index: 1000;
   z-index: 1000;
   margin-top: 8px;
   margin-top: 8px;
سطر ١٣٧: سطر ١٠٩:
.vector-dropdown:hover .vector-dropdown-content {
.vector-dropdown:hover .vector-dropdown-content {
   display: block;
   display: block;
   animation: dropdownFade 0.3s ease-out;
   animation: fadeInDropdown 0.2s ease-out;
}
}


@keyframes dropdownFade {
@keyframes fadeInDropdown {
   from {
   from {
     opacity: 0;
     opacity: 0;
سطر ١٥٣: سطر ١٢٥:
.vector-dropdown-content a {
.vector-dropdown-content a {
   display: block;
   display: block;
   padding: 12px 24px;
   padding: 12px 20px;
   color: var(--deep-charcoal);
   color: var(--text-primary);
   text-decoration: none;
   text-decoration: none;
   font-family: var(--sans-serif-font);
   font-size: 14px;
   transition: all var(--transition-smooth);
  font-weight: 400;
   border-left: 4px solid transparent;
  transition: background-color var(--transition-smooth);
   border-bottom: 1px solid var(--off-white);
}
 
.vector-dropdown-content a:last-child {
   border-bottom: none;
}
}


.vector-dropdown-content a:hover {
.vector-dropdown-content a:hover {
   background: linear-gradient(90deg, var(--forest-green), var(--forest-light));
   background-color: var(--off-white);
  color: var(--pearl-white);
   color: var(--primary-dark);
   border-left-color: var(--crimson-red);
}
}


/* ========================
/* ========================
   Main Content - Academic Journal Style
   Content Styling
========================= */
========================= */
#content {
#content {
   background: var(--pearl-white);
   background: var(--white);
   border-radius: 16px;
   border: 1px solid var(--border-light);
   padding: 48px 56px;
   padding: 40px;
   margin: 32px auto;
   margin: 0 auto;
   max-width: 1200px;
   max-width: 900px;
   box-shadow: var(--shadow-soft);
  border-radius: var(--border-radius-lg);
   border: 1px solid var(--pearl-dark);
  font-family: 'Crimson Text', serif;
   font-size: 18px;
  line-height: 1.8;
  color: var(--text-primary);
   box-shadow: var(--shadow-subtle);
   position: relative;
   position: relative;
  margin-bottom: 32px;
}
}


سطر ١٨٥: سطر ١٦٦:
   position: absolute;
   position: absolute;
   top: 0;
   top: 0;
   left: 0;
   left: 24px;
   width: 6px;
   right: 24px;
   height: 100%;
   height: 2px;
   background: linear-gradient(180deg,  
   background: linear-gradient(90deg,  
     var(--royal-blue) 0%,
     transparent 0%,  
     var(--forest-green) 50%,
     var(--primary-dark) 50%,  
     var(--crimson-red) 100%);
     transparent 100%);
   border-radius: 16px 0 0 16px;
   border-radius: 1px;
}
}


/* Content Typography */
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
   font-family: var(--serif-font);
   font-family: 'Inter', sans-serif;
   color: var(--deep-charcoal);
   color: var(--primary-dark);
  margin: 32px 0 16px 0;
   font-weight: 600;
   font-weight: 600;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3;
}
}


#content h1 {  
#content h1 {
   font-size: 2.5em;
   font-size: 2.5em;
  color: var(--crimson-red);
   border-bottom: 3px solid var(--primary-dark);
   border-bottom: 3px solid var(--crimson-red);
   padding-bottom: 0.5em;
   padding-bottom: 12px;
}
}


#content h2 {  
#content h2 {
   font-size: 2em;  
   font-size: 2em;
   color: var(--royal-blue);
   border-bottom: 2px solid var(--secondary-dark);
  padding-bottom: 0.3em;
}
}


#content h3 {  
#content h3 {
   font-size: 1.5em;  
   font-size: 1.5em;
   color: var(--forest-green);
   color: var(--secondary-dark);
}
}


#content p {
#content p {
   font-size: 18px;
   margin-bottom: 1.5em;
  line-height: 1.8;
  margin-bottom: 24px;
   text-align: justify;
   text-align: justify;
  hyphens: auto;
}
}


#content a {
#content a {
   color: var(--royal-blue);
   color: var(--primary-dark);
   text-decoration: none;
   text-decoration: none;
   border-bottom: 2px solid transparent;
   border-bottom: 1px solid var(--tertiary-dark);
   transition: all var(--transition-smooth);
   transition: all var(--transition-smooth);
   font-weight: 500;
   font-weight: 500;
سطر ٢٣٦: سطر ٢١٧:


#content a:hover {
#content a:hover {
   color: var(--crimson-red);
   color: var(--secondary-dark);
   border-bottom-color: var(--crimson-red);
   border-bottom-color: var(--secondary-dark);
}
   background-color: rgba(26, 35, 126, 0.05);
 
   padding: 2px 4px;
/* ========================
   border-radius: 3px;
  Academic Citation & References
========================= */
.citation, .reference {
   font-family: var(--sans-serif-font);
  font-size: 14px;
  color: var(--forest-green);
  background: rgba(0, 64, 48, 0.05);
   padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 64, 48, 0.2);
}
 
blockquote {
  font-style: italic;
  border-left: 6px solid var(--royal-blue);
  margin: 32px 0;
  padding: 24px 32px;
  background: rgba(38, 31, 179, 0.05);
   border-radius: 0 12px 12px 0;
  font-size: 1.1em;
}
}


/* ========================
/* ========================
   Categories - Academic Tags
   Categories Styling
========================= */
========================= */
#catlinks {
#catlinks {
   background: linear-gradient(135deg, var(--pearl-white) 0%, #f5f8f8 100%);
   background: var(--white);
   border: 2px solid var(--pearl-dark);
   border: 1px solid var(--border-light);
  border-radius: 16px;
   padding: 24px;
   padding: 24px 32px;
   margin: 32px auto 0;
   margin: 40px auto 32px;
   max-width: 900px;
   max-width: 1200px;
  border-radius: var(--border-radius-lg);
   box-shadow: var(--shadow-soft);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
   box-shadow: var(--shadow-subtle);
  position: relative;
}
}


#catlinks h5 {
#catlinks::before {
   font-family: var(--sans-serif-font);
   content: "Categories";
   font-weight: 700;
  display: block;
   color: var(--deep-charcoal);
   font-weight: 600;
   margin: 0 0 16px 0;
   color: var(--primary-dark);
   font-size: 16px;
   margin-bottom: 16px;
   text-transform: uppercase;
   font-size: 18px;
   letter-spacing: 1px;
   padding-bottom: 8px;
   border-bottom: 2px solid var(--off-white);
}
}


#catlinks a {
#catlinks a {
  display: inline-block;
   color: var(--text-secondary);
   color: var(--pearl-white);
   font-weight: 500;
  background: var(--forest-green);
  font-family: var(--sans-serif-font);
   font-weight: 600;
   text-decoration: none;
   text-decoration: none;
   padding: 8px 16px;
   padding: 8px 16px;
   margin: 4px 8px 4px 0;
   margin: 4px 8px 4px 0;
   border-radius: 24px;
  background-color: var(--off-white);
  border: 1px solid var(--border-light);
   border-radius: 20px;
  display: inline-block;
  transition: all var(--transition-smooth);
   font-size: 14px;
   font-size: 14px;
  transition: all var(--transition-bounce);
  border: 2px solid var(--forest-green);
   position: relative;
   position: relative;
   overflow: hidden;
   overflow: hidden;
سطر ٣١٠: سطر ٢٧٤:
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
   background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.1), transparent);
   transition: left 0.5s ease;
   transition: left 0.5s ease;
}
#catlinks a:hover {
  background: var(--crimson-red);
  border-color: var(--crimson-red);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 16px rgba(142, 22, 22, 0.3);
}
}


سطر ٣٢٥: سطر ٢٨٢:
}
}


/* ========================
#catlinks a:hover {
  Special Academic Elements
   background-color: var(--primary-dark);
========================= */
   color: var(--white);
.infobox, .navbox {
   border-color: var(--primary-dark);
   background: var(--pearl-white);
   transform: translateY(-2px);
   border: 2px solid var(--royal-blue);
   box-shadow: var(--shadow-elevated);
   border-radius: 12px;
  margin: 24px 0;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
 
.infobox th, .navbox th {
  background: var(--royal-blue);
  color: var(--pearl-white);
   padding: 12px;
  font-family: var(--sans-serif-font);
  font-weight: 600;
}
 
table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
   box-shadow: var(--shadow-soft);
}
}


سطر ٣٥٨: سطر ٢٩٥:
@media (max-width: 768px) {
@media (max-width: 768px) {
   .mw-body-header {
   .mw-body-header {
     padding: 24px 20px;
    padding: 20px 16px;
    font-size: 24px;
  }
 
  #content, #catlinks {
    margin: 0 16px;
     padding: 24px;
   }
   }
    
    
   #content {
   #content {
    padding: 32px 24px;
     margin-bottom: 24px;
     margin: 16px;
    border-radius: 12px;
   }
   }
    
    
   #catlinks {
   #catlinks {
     padding: 20px 16px;
    margin-top: 24px;
     margin: 24px 16px;
  }
}
 
@media (max-width: 480px) {
  .mw-body-header {
    font-size: 20px;
     padding: 16px 12px;
  }
 
  #content, #catlinks {
     margin: 0 8px;
    padding: 16px;
  }
 
  #catlinks a {
    margin: 2px 4px 2px 0;
    padding: 6px 12px;
    font-size: 13px;
   }
   }
}
}
سطر ٣٧٨: سطر ٣٣٦:
@media (prefers-reduced-motion: reduce) {
@media (prefers-reduced-motion: reduce) {
   * {
   * {
     animation-duration: 0.01ms !important;
     animation-duration: 0.001ms !important;
     animation-iteration-count: 1 !important;
     animation-iteration-count: 1 !important;
     transition-duration: 0.01ms !important;
     transition-duration: 0.001ms !important;
   }
   }
}
}


@media (prefers-color-scheme: dark) {
@media print {
  :root {
    --pearl-white: #2a2323;
    --pearl-dark: #3d3535;
    --deep-charcoal: #EAEFEF;
  }
 
   body {
   body {
     background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
     background-color: white;
   }
   }
    
    
   #content {
   .mw-body-header {
     background: var(--pearl-white);
     background: white !important;
     color: var(--deep-charcoal);
     color: black !important;
  }
    box-shadow: none;
}
     border-bottom: 2px solid black;
 
@media print {
  body {
     background: white;
   }
   }
    
    
   .mw-body-header,
   #content, #catlinks {
  #catlinks,
    box-shadow: none;
  .vector-dropdown {
     border: 1px solid black;
     display: none;
   }
   }
    
    
   #content {
   #catlinks a {
     box-shadow: none;
     background-color: white !important;
     border: none;
     color: black !important;
     padding: 20px;
     border: 1px solid black;
   }
   }
}
/* ========================
  Focus States for Accessibility
========================= */
a:focus, .vector-dropdown:focus {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
  border-radius: var(--border-radius);
}
}


سطر ٤٢٢: سطر ٣٧٨:
   Utility Classes
   Utility Classes
========================= */
========================= */
.printfooter,
.printfooter,  
.vector-menu h3 {
.vector-menu h3 {
   display: none;
   display: none;
}
}


.text-center { text-align: center; }
.sr-only {
.text-right { text-align: right; }
  position: absolute;
.font-sans { font-family: var(--sans-serif-font); }
  width: 1px;
.font-mono { font-family: var(--mono-font); }
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

مراجعة ١١:١٥، ١٩ يوليو ٢٠٢٥

/* ========================
   Academic Theme Variables
========================= */
:root {
  --primary-dark: #1a237e;
  --secondary-dark: #283593;
  --tertiary-dark: #3949ab;
  --accent-dark: #2c3e50;
  --text-primary: #212121;
  --text-secondary: #424242;
  --text-muted: #757575;
  --white: #ffffff;
  --off-white: #fafafa;
  --border-light: #e0e0e0;
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-deep: 0 8px 32px rgba(0, 0, 0, 0.18);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* ========================
   Typography Imports
========================= */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ========================
   Base Styling
========================= */
body {
  font-family: 'Crimson Text', serif;
  background-color: var(--white);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 16px;
}

/* ========================
   Header Styling
========================= */
.mw-body-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  padding: 24px 32px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  box-shadow: var(--shadow-elevated);
  position: relative;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.mw-body-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--tertiary-dark) 0%, 
    var(--primary-dark) 50%, 
    var(--tertiary-dark) 100%);
}

.mw-body-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--tertiary-dark);
  border-radius: 2px;
}

/* ========================
   Dropdown Menu
========================= */
.vector-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.vector-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  z-index: 1000;
  margin-top: 8px;
  padding: 8px 0;
}

.vector-dropdown:hover .vector-dropdown-content {
  display: block;
  animation: fadeInDropdown 0.2s ease-out;
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vector-dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: background-color var(--transition-smooth);
  border-bottom: 1px solid var(--off-white);
}

.vector-dropdown-content a:last-child {
  border-bottom: none;
}

.vector-dropdown-content a:hover {
  background-color: var(--off-white);
  color: var(--primary-dark);
}

/* ========================
   Content Styling
========================= */
#content {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 40px;
  margin: 0 auto;
  max-width: 900px;
  border-radius: var(--border-radius-lg);
  font-family: 'Crimson Text', serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-primary);
  box-shadow: var(--shadow-subtle);
  position: relative;
  margin-bottom: 32px;
}

#content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-dark) 50%, 
    transparent 100%);
  border-radius: 1px;
}

/* Content Typography */
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
  font-family: 'Inter', sans-serif;
  color: var(--primary-dark);
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3;
}

#content h1 {
  font-size: 2.5em;
  border-bottom: 3px solid var(--primary-dark);
  padding-bottom: 0.5em;
}

#content h2 {
  font-size: 2em;
  border-bottom: 2px solid var(--secondary-dark);
  padding-bottom: 0.3em;
}

#content h3 {
  font-size: 1.5em;
  color: var(--secondary-dark);
}

#content p {
  margin-bottom: 1.5em;
  text-align: justify;
}

#content a {
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--tertiary-dark);
  transition: all var(--transition-smooth);
  font-weight: 500;
}

#content a:hover {
  color: var(--secondary-dark);
  border-bottom-color: var(--secondary-dark);
  background-color: rgba(26, 35, 126, 0.05);
  padding: 2px 4px;
  border-radius: 3px;
}

/* ========================
   Categories Styling
========================= */
#catlinks {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin: 32px auto 0;
  max-width: 900px;
  border-radius: var(--border-radius-lg);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

#catlinks::before {
  content: "Categories";
  display: block;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
  font-size: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--off-white);
}

#catlinks a {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  margin: 4px 8px 4px 0;
  background-color: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  display: inline-block;
  transition: all var(--transition-smooth);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

#catlinks a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.1), transparent);
  transition: left 0.5s ease;
}

#catlinks a:hover::before {
  left: 100%;
}

#catlinks a:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

/* ========================
   Responsive Design
========================= */
@media (max-width: 768px) {
  .mw-body-header {
    padding: 20px 16px;
    font-size: 24px;
  }
  
  #content, #catlinks {
    margin: 0 16px;
    padding: 24px;
  }
  
  #content {
    margin-bottom: 24px;
  }
  
  #catlinks {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .mw-body-header {
    font-size: 20px;
    padding: 16px 12px;
  }
  
  #content, #catlinks {
    margin: 0 8px;
    padding: 16px;
  }
  
  #catlinks a {
    margin: 2px 4px 2px 0;
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* ========================
   Accessibility & Performance
========================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body {
    background-color: white;
  }
  
  .mw-body-header {
    background: white !important;
    color: black !important;
    box-shadow: none;
    border-bottom: 2px solid black;
  }
  
  #content, #catlinks {
    box-shadow: none;
    border: 1px solid black;
  }
  
  #catlinks a {
    background-color: white !important;
    color: black !important;
    border: 1px solid black;
  }
}

/* ========================
   Focus States for Accessibility
========================= */
a:focus, .vector-dropdown:focus {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
  border-radius: var(--border-radius);
}

/* ========================
   Utility Classes
========================= */
.printfooter, 
.vector-menu h3 {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}