/* ===================================================
   LatinosPC - Software Section: Malware Cleaner
   File: software/styles/malware_cleaner.css
   Aesthetic aligned with Anvil & LatinosPC Design System
   =================================================== */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  /* Anvil Theme Palette Tokens */
  --primary-color: #0056b3;
  --primary-dark: #082d45;
  --secondary-color: #218838;
  --secondary-dark: #155724;
  --text-color: #1e293b;
  --light-text: #475569;
  --background: #ffffff;
  --card-bg: #f8fafc;
  --card-border: #e2e8f0;
  --border-radius: 14px;
  --box-shadow: 0 4px 18px rgba(8, 45, 69, 0.08);
  --box-shadow-hover: 0 10px 30px rgba(8, 45, 69, 0.14);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Specialized Threat & Garden Palette */
  --danger-red: #dc2626;
  --danger-dark: #991b1b;
  --danger-bg: #fef2f2;
  --warning-amber: #d97706;
  --warning-bg: #fffbeb;
  --cyber-blue: #0284c7;
  --cyber-bg: #f0f9ff;
  --garden-green: #15803d;
  --garden-light: #f0fdf4;
  --garden-border: #bbf7d0;
  --purple-accent: #7c3aed;
  --purple-bg: #f5f3ff;
}

/* ---------------------------------------------------
   Main Container Layout
--------------------------------------------------- */
.hero4.fullbar.malware-container,
.malware-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 3rem;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-color);
  box-sizing: border-box;
  background: transparent;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ---------------------------------------------------
   Page Title
--------------------------------------------------- */
.malware-container #title,
#title {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: var(--primary-dark);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  position: relative;
  padding-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.malware-container #title::after,
#title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--danger-red), var(--primary-color), var(--secondary-color));
  border-radius: 4px;
}

/* ---------------------------------------------------
   Hero Section: Intro Text + MWC Featured Image
--------------------------------------------------- */
.malware-hero-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.25rem;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2rem 2.2rem;
  margin: 1.5rem 0 2.5rem;
  box-shadow: var(--box-shadow);
}

.malware-hero-intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.malware-hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-text);
  margin: 0;
}

.malware-hero-lead strong {
  color: var(--primary-dark);
  font-weight: 700;
}

/* Threat Classification Badges */
.malware-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.mwc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  transition: var(--transition);
  cursor: default;
}

.mwc-badge i {
  font-size: 0.85rem;
}

.badge-ransomware {
  background: var(--danger-bg);
  color: var(--danger-red);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.badge-spyware {
  background: var(--purple-bg);
  color: var(--purple-accent);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.badge-trojan {
  background: var(--warning-bg);
  color: var(--warning-amber);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.badge-adware {
  background: var(--cyber-bg);
  color: var(--cyber-blue);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-rootkit {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.mwc-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Quick Navigation Anchor Buttons */
.malware-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.mwc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  text-decoration: none !important;
  transition: var(--transition);
}

.mwc-btn-primary {
  background: var(--primary-color);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.22);
}

.mwc-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 45, 69, 0.28);
}

.mwc-btn-secondary {
  background: var(--garden-light);
  color: var(--garden-green) !important;
  border: 1px solid var(--garden-border);
}

.mwc-btn-secondary:hover {
  background: #dcfce7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.15);
}

.mwc-btn-outline {
  background: #ffffff;
  color: var(--primary-dark) !important;
  border: 1px solid var(--card-border);
}

.mwc-btn-outline:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Hero Media Column */
.malware-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.malware-hero-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 0.9rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 32px rgba(8, 45, 69, 0.12);
  transition: var(--transition);
  text-align: center;
}

.malware-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(8, 45, 69, 0.16);
}

.malware-hero-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.malware-card-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.84rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.mwc-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: mwcPulse 1.8s infinite;
}

@keyframes mwcPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* ---------------------------------------------------
   Section Typography & Headings
--------------------------------------------------- */
.mwc-section {
  margin: 3rem 0;
  scroll-margin-top: 2rem;
}

.mwc-section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.mwc-section-title i {
  color: var(--primary-color);
  font-size: 1.4rem;
}

.garden-title i {
  color: var(--garden-green);
}

/* ---------------------------------------------------
   1st Section: Evolution & History of Malware Accordions
--------------------------------------------------- */
.colms2,
.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin: 1.5rem 0;
}

.history-grid dl,
.colms2 dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* History Details Cards */
details.selection.item,
.history-grid details {
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  box-sizing: border-box;
}

details.selection.item:hover,
.history-grid details:hover {
  border-color: #cbd5e1;
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-2px);
}

details.selection.item[open],
.history-grid details[open] {
  border-color: rgba(0, 86, 179, 0.35);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.1);
  background: #ffffff;
}

details.selection.item summary,
.history-grid details summary {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  outline: none;
  padding: 0.25rem 0;
}

details.selection.item summary::-webkit-details-marker,
.history-grid details summary::-webkit-details-marker {
  display: none;
}

details.selection.item summary::after,
.history-grid details summary::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--primary-color);
  transition: transform 0.25s ease;
}

details.selection.item[open] summary::after,
.history-grid details[open] summary::after {
  transform: rotate(90deg);
}

details.selection.item hr,
.history-grid details hr {
  border: 0;
  border-top: 1px solid #f1f5f9;
  margin: 0.9rem 0 1.2rem;
}

/* History Item Elements */
details.selection.item .item,
.history-grid details .item {
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #e2e8f0;
}

details.selection.item .item:last-child,
.history-grid details .item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

details.selection.item dt,
.history-grid details dt {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

details.selection.item dt a,
.history-grid details dt a {
  color: var(--primary-color) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  background: var(--cyber-bg);
  border-radius: 6px;
  border: 1px solid rgba(2, 132, 199, 0.15);
  transition: var(--transition);
}

details.selection.item dt a:hover,
.history-grid details dt a:hover {
  background: var(--primary-color);
  color: #ffffff !important;
  transform: translateX(3px);
}

details.selection.item dd,
.history-grid details dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--light-text);
  line-height: 1.6;
}

.selection_2 {
  outline: none;
}

/* ---------------------------------------------------
   2nd Section: BOLD Malware Essentials
--------------------------------------------------- */
.mwc-essentials-section details {
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: 18px;
  padding: 1.5rem 1.8rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.mwc-essentials-section details[open] {
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.08);
}

.mwc-essentials-section summary {
  list-style: none;
  cursor: pointer;
  outline: none;
}

.mwc-essentials-section summary::-webkit-details-marker {
  display: none;
}

.mwc-essentials-section summary h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.5;
}

.mwc-essentials-section summary h2::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--danger-red);
  transition: transform 0.25s ease;
  margin-left: 1rem;
}

.mwc-essentials-section details[open] summary h2::after {
  transform: rotate(180deg);
}

.mwc-essentials-section summary h2 strong {
  color: var(--danger-red);
  background: var(--danger-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  margin-right: 0.5rem;
}

.mwc-essentials-section .blurb {
  margin: 1.5rem 0 0;
}

.mwc-essentials-section h2.hero3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mwc-essentials-section h2.hero3::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger-red);
}

/* Fieldset Cards in Newspaper Grid */
.newspaper2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1rem 0 1.5rem;
}

fieldset.selection_2 {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.4rem;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

fieldset.selection_2:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(0, 86, 179, 0.3);
}

fieldset.selection_2 legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  padding: 0.2rem 0.75rem;
  background: #f1f5f9;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

fieldset.selection_2 dd {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--light-text);
  line-height: 1.6;
}

/* ---------------------------------------------------
   3rd Section: The Digital Garden Metaphor
--------------------------------------------------- */
.mwc-garden-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #f8fafc 100%);
  border: 1.5px solid var(--garden-border);
  border-radius: 20px;
  padding: 2.2rem 2.4rem;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.mwc-garden-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mwc-garden-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.mwc-garden-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  margin: 0;
}

.mwc-garden-badge {
  max-width: 110px;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(21, 128, 61, 0.18));
  animation: gentleFloat 3.5s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Garden Fence Cards */
ol.newspaper2 {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

ol.newspaper2 li.selection_2 {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 1.4rem;
  border: 1px solid var(--garden-border);
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #334155;
}

ol.newspaper2 li.selection_2:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(21, 128, 61, 0.14);
  border-color: #86efac;
}

.fenceBold {
  color: var(--garden-green);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fenceL .fenceBold::before {
  content: '🌿';
}

.fenceC .fenceBold::before {
  content: '🐛';
}

.fenceR .fenceBold::before {
  content: '🥷';
}

/* Healthy Garden Action Items */
.mwc-garden-section h2.garden {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--garden-green);
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mwc-garden-section .colms2 span.item {
  display: block;
  background: #ffffff;
  border: 1px solid var(--garden-border);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--light-text);
  line-height: 1.6;
}

.mwc-garden-section .colms2 span.item:hover {
  transform: translateY(-2px);
  border-color: #4ade80;
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.1);
}

.mwc-garden-section .colms2 span.item .fenceBold {
  color: var(--primary-dark);
  display: block;
  margin-bottom: 0.3rem;
}

/* ---------------------------------------------------
   4th Section: Where Does Malware Come From?
--------------------------------------------------- */
.mwc-vectors-section .newspaper2 span.item {
  display: block;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--warning-amber);
  border-radius: 12px;
  padding: 1.15rem 1.3rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--light-text);
  line-height: 1.6;
}

.mwc-vectors-section .newspaper2 span.item:hover {
  transform: translateY(-3px);
  border-left-color: var(--danger-red);
  box-shadow: var(--box-shadow-hover);
}

.mwc-vectors-section .newspaper2 span.item strong {
  color: var(--primary-dark);
  font-size: 0.96rem;
  display: block;
  margin-bottom: 0.35rem;
}

/* ---------------------------------------------------
   5th Section: What Can Malware Do to Your Computer?
   Zigzag Timeline
--------------------------------------------------- */
ol.zigzag {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

ol.zigzag li {
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

ol.zigzag li:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.35);
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.1);
}

ol.zigzag li strong {
  font-size: 1rem;
  color: var(--danger-red);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

ol.zigzag li strong::before {
  content: '\f071';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--warning-amber);
}

ol.zigzag li dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--light-text);
  line-height: 1.6;
}

/* ---------------------------------------------------
   6th Section: Protection Recommendations
--------------------------------------------------- */
.protect.colms2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.protect h2.garden {
  grid-column: 1 / -1;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 0.5rem;
}

.protect fieldset {
  background: #ffffff;
  border: 1.5px solid rgba(0, 86, 179, 0.2);
  border-radius: var(--border-radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  font-size: 0.92rem;
  color: var(--light-text);
  line-height: 1.65;
}

.protect fieldset:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: var(--box-shadow-hover);
}

.protect fieldset legend {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--primary-color);
  padding: 0.25rem 0.85rem;
  background: var(--cyber-bg);
  border-radius: 8px;
  border: 1px solid rgba(0, 86, 179, 0.2);
}

/* ---------------------------------------------------
   7th Section: The Case of the Corrupted Photos
   (Perl the Photographer)
--------------------------------------------------- */
.mwc-case-study {
  background: linear-gradient(135deg, #0b1a30 0%, #162f52 60%, #1e4576 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 2.5rem 2.8rem;
  box-shadow: 0 20px 50px rgba(8, 45, 69, 0.25);
  margin: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.mwc-case-study::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mwc-case-study .mwc-section-title {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mwc-case-study .mwc-section-title i {
  color: #60a5fa;
}

.photographer {
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.photographer dd {
  margin: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
  font-size: 0.96rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  position: relative;
}

.photographer dd:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-2px);
}

/* Perl's Vintage Camera Feature Image */
.mwc-photo-hero {
  float: right;
  width: 200px;
  max-width: 40%;
  height: auto;
  border-radius: 14px;
  margin: 0 0 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  background: #ffffff;
  padding: 4px;
}

.mwc-photo-hero:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 14px 40px rgba(96, 165, 250, 0.3);
}

/* Floating Incident Badges */
.mwc-story-badge {
  width: 80px;
  height: auto;
  margin: 0.5rem 1rem 0.5rem 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: var(--transition);
}

.mwc-story-badge.fl {
  float: left;
  margin-right: 1.25rem;
}

.mwc-story-badge.rtl {
  float: right;
  margin-left: 1.25rem;
}

.mwc-story-badge:hover {
  transform: scale(1.08);
}

/* Case Study Takeaway Callout */
.mwc-takeaway {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: #a7f3d0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mwc-takeaway i {
  font-size: 1.3rem;
  color: #34d399;
  flex-shrink: 0;
}

/* ---------------------------------------------------
   Responsive Media Queries
--------------------------------------------------- */
@media (max-width: 992px) {
  .malware-hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.8rem;
    padding: 1.8rem 1.5rem;
  }

  .malware-hero-intro {
    align-items: center;
  }

  .malware-badge-grid {
    justify-content: center;
  }

  .malware-quick-nav {
    justify-content: center;
  }

  .mwc-garden-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mwc-garden-badge {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero4.fullbar.malware-container,
  .malware-container {
    padding: 0.5rem 1rem 2rem;
  }

  .malware-container #title,
  #title {
    font-size: 1.85rem;
  }

  .mwc-section {
    margin: 2.2rem 0;
  }

  .colms2,
  .history-grid,
  .newspaper2,
  ol.zigzag,
  .protect.colms2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mwc-photo-hero {
    float: none;
    display: block;
    margin: 0 auto 1.25rem;
    width: 100%;
    max-width: 240px;
  }

  .mwc-story-badge.fl,
  .mwc-story-badge.rtl {
    float: none;
    display: block;
    margin: 0 auto 1rem;
  }

  .mwc-case-study {
    padding: 1.8rem 1.4rem;
  }
}

@media (max-width: 480px) {
  .malware-quick-nav .mwc-btn {
    width: 100%;
    justify-content: center;
  }

  .mwc-badge {
    font-size: 0.76rem;
    padding: 0.3rem 0.65rem;
  }
}
