/* ==========================================================================
   MAKTABTY ENGLISH 2026 - MASTER DIGITAL LIBRARY DESIGN SYSTEM
   Authentic Educational Library UI for Desktop, Tablet & Mobile.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --mkt-primary: #1d4ed8;
  --mkt-primary-hover: #1e40af;
  --mkt-primary-light: #eff6ff;
  --mkt-accent: #059669;
  --mkt-accent-hover: #047857;
  --mkt-accent-light: #ecfdf5;
  --mkt-dark-navy: #08102b;
  --mkt-text: #1e293b;
  --mkt-text-muted: #64748b;
  --mkt-card-bg: #ffffff;
  --mkt-card-border: rgba(15, 23, 42, 0.08);
  --mkt-card-shadow: 0 10px 30px rgba(8, 16, 43, 0.06);
  --mkt-card-shadow-hover: 0 18px 42px rgba(29, 78, 216, 0.14);
  --mkt-radius-card: 20px;
  --mkt-radius-btn: 14px;
  --mkt-font: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--mkt-font) !important;
  background-color: #f8fafc;
  color: var(--mkt-text);
  line-height: 1.8;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--mkt-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--mkt-primary-hover);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================
   NAVBAR & MOBILE STAGE BAR
   ========================================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mkt-card-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(8, 16, 43, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
  color: var(--mkt-dark-navy) !important;
  text-decoration: none;
}

.brand-icon {
  background: linear-gradient(135deg, #1d4ed8 0%, #059669 100%);
  color: #ffffff;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.28);
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #334155;
  font-weight: 700;
  font-size: 14.5px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  background: #eff6ff;
  color: var(--mkt-primary);
}

.app-btn {
  background: linear-gradient(135deg, #08102b 0%, #1e293b 100%);
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(8, 16, 43, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(8, 16, 43, 0.28);
}

/* Mobile Horizontal Stage Bar */
.mobile-stage-bar {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--mkt-card-border);
  padding: 8px 16px;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobile-stage-bar::-webkit-scrollbar {
  display: none;
}
.mobile-stage-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  flex-shrink: 0;
}
.mobile-stage-bar a.active, .mobile-stage-bar a:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}

/* ==========================================
   HERO & SEARCH
   ========================================== */
.hero {
  background: linear-gradient(135deg, #08102b 0%, #0f172a 50%, #1e3a8a 100%);
  color: #ffffff;
  padding: 44px 0 38px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 17px);
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.search-box {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 16px 24px 16px 48px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  font-size: 15.5px;
  font-family: inherit;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  outline: none;
  transition: all 0.25s ease;
}

.search-input:focus {
  background: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 14px 42px rgba(56, 189, 248, 0.35);
}

/* Category Quick Filter Chips */
.filter-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.filter-chip {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}
.filter-chip:hover, .filter-chip.active {
  background: #ffffff;
  color: #08102b;
  border-color: #ffffff;
}

/* ==========================================
   STAGES HIGHLIGHT CARDS
   ========================================== */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.stage-card {
  background: #ffffff;
  border: 1px solid var(--mkt-card-border);
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(8, 16, 43, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(29, 78, 216, 0.12);
  border-color: rgba(29, 78, 216, 0.25);
}

.stage-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.stage-title {
  font-weight: 900;
  font-size: 15.5px;
  color: var(--mkt-dark-navy);
  margin-bottom: 4px;
}

.stage-count {
  font-size: 12.5px;
  color: var(--mkt-text-muted);
  font-weight: 600;
}

/* ==========================================
   THE AUTHENTIC DIGITAL LIBRARY BOOK CARD
   ========================================== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 28px 0 40px;
}

.mkt-book-card {
  background: var(--mkt-card-bg);
  border: 1px solid var(--mkt-card-border);
  border-radius: var(--mkt-radius-card);
  overflow: hidden;
  padding: 14px;
  box-shadow: var(--mkt-card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.24s ease;
  position: relative;
}

.mkt-book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mkt-card-shadow-hover);
  border-color: rgba(29, 78, 216, 0.25);
}

/* Perfect A4 Book Cover Presentation */
.mkt-cover-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 210 / 297;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  /* Realistic 3D Book Spine Shadow on Right */
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.12), 0 8px 22px rgba(8, 16, 43, 0.1);
  border-right: 3px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkt-cover-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
}

.mkt-cover-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.mkt-book-card:hover .mkt-cover-wrapper img {
  transform: scale(1.04);
}

/* Floating Badges on Cover */
.mkt-badge-grade {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(8, 16, 43, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
  pointer-events: none;
}

.mkt-badge-pdf {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
  z-index: 2;
  pointer-events: none;
}

/* Card Content */
.mkt-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mkt-card-title {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--mkt-dark-navy);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
}

.mkt-card-title a {
  color: inherit;
  text-decoration: none;
}
.mkt-card-title a:hover {
  color: var(--mkt-primary);
}

.mkt-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--mkt-text-muted);
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}

.mkt-btn-download {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--mkt-primary) 0%, #2563eb 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 13.5px;
  border-radius: var(--mkt-radius-btn);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.2);
  transition: all 0.2s ease;
  margin-top: auto;
}

.mkt-btn-download:hover {
  background: linear-gradient(135deg, var(--mkt-primary-hover) 0%, #1d4ed8 100%);
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.32);
  transform: translateY(-2px);
}

/* ==========================================
   INSIDE ARTICLE PAGE
   ========================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mkt-text-muted);
  margin: 20px 0 16px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--mkt-primary);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.mkt-article-box {
  background: #ffffff;
  border: 1px solid var(--mkt-card-border);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: 0 12px 36px rgba(8, 16, 43, 0.06);
  margin-bottom: 28px;
}

.mkt-post-title {
  font-size: clamp(20px, 2.6vw, 29px);
  font-weight: 900;
  color: var(--mkt-dark-navy);
  line-height: 1.45;
  text-align: center;
  margin-bottom: 28px;
}

/* The File Details Showcase (2 Columns) */
.mkt-details-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid rgba(29, 78, 216, 0.12);
  border-radius: var(--mkt-radius-card);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(8, 16, 43, 0.04);
}

.mkt-showcase-cover {
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  aspect-ratio: 210 / 297;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  box-shadow: -6px 0 16px rgba(0, 0, 0, 0.2), 0 16px 36px rgba(8, 16, 43, 0.18);
  border-right: 4px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkt-showcase-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mkt-spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mkt-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--mkt-card-border);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mkt-text);
  gap: 12px;
}

.mkt-spec-row b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mkt-dark-navy);
  font-weight: 800;
  white-space: nowrap;
}

.mkt-spec-row b svg {
  stroke: var(--mkt-primary);
}

/* Action Center (Download & Preview Buttons) */
.mkt-action-center {
  margin: 28px 0 32px;
  text-align: center;
}

.mkt-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto 16px;
}

.mkt-btn-action {
  min-height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mkt-btn-download-main {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.32);
}

.mkt-btn-download-main:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(5, 150, 105, 0.42);
}

.mkt-btn-preview-main {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.32);
}

.mkt-btn-preview-main:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(29, 78, 216, 0.42);
}

/* Pulsing Safety & Download Counter Badge */
.mkt-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  background: #f1f5f9;
  border: 1px solid var(--mkt-card-border);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mkt-text-muted);
  margin-top: 4px;
}

.mkt-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: mktPulse 2s infinite;
}

@keyframes mktPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Article Description Box */
.mkt-desc-card {
  background: #ffffff;
  border: 1px solid var(--mkt-card-border);
  border-radius: var(--mkt-radius-card);
  padding: 24px;
  margin: 24px 0;
  line-height: 2;
  font-size: 16px;
  color: var(--mkt-text);
  box-shadow: 0 6px 18px rgba(8, 16, 43, 0.04);
}

.mkt-desc-card h3 {
  font-size: 19px;
  font-weight: 900;
  color: var(--mkt-dark-navy);
  margin-bottom: 12px;
  border-right: 4px solid var(--mkt-primary);
  padding-right: 12px;
}

/* Related Posts Section */
.mkt-related-section {
  margin: 36px 0 28px;
}

.mkt-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mkt-section-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--mkt-dark-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mkt-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mkt-related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--mkt-card-border);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(8, 16, 43, 0.03);
  transition: all 0.2s ease;
}

.mkt-related-card:hover {
  border-color: rgba(29, 78, 216, 0.3);
  background: #f8fbff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.08);
}

.mkt-related-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mkt-primary) 0%, #3b82f6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

.mkt-related-thumb {
  width: 44px;
  height: 58px;
  aspect-ratio: 210 / 297;
  border-radius: 6px;
  object-fit: contain;
  background: #f1f5f9;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.mkt-related-info {
  flex-grow: 1;
  overflow: hidden;
}

.mkt-related-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--mkt-dark-navy);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mkt-related-arrow {
  color: var(--mkt-primary);
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

/* Official Community Channels Box */
.mkt-community-box {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px dashed rgba(29, 78, 216, 0.28);
  border-radius: var(--mkt-radius-card);
  padding: 24px;
  text-align: center;
  margin: 32px 0 20px;
}

.mkt-community-title {
  font-size: 18px;
  font-weight: 900;
  color: #ef4444;
  margin-bottom: 16px;
}

.mkt-community-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mkt-community-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, filter 0.2s;
}

.mkt-community-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.mkt-btn-app {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}
.mkt-btn-telegram {
  background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
}
.mkt-btn-facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #08102b;
  color: #94a3b8;
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}

.footer h3, .footer h4 {
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  line-height: 2.2;
}
.footer-links a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 14px;
}
.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #64748b;
}

/* ==========================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================== */
@media (max-width: 1024px) {
  .books-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-links, .app-btn {
    display: none;
  }
  .mobile-stage-bar {
    display: flex;
  }
  .mkt-details-showcase {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 20px;
  }
  .mkt-action-buttons {
    grid-template-columns: 1fr;
  }
  .mkt-related-grid {
    grid-template-columns: 1fr;
  }
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  /* THE CRITICAL 2-COLUMN MOBILE LIBRARY GRID */
  .books-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin: 20px 0 32px !important;
  }
  
  .mkt-book-card {
    padding: 8px 8px 12px 8px !important;
    border-radius: 16px !important;
  }

  .mkt-cover-wrapper {
    border-radius: 10px !important;
    margin-bottom: 10px !important;
  }

  .mkt-badge-grade {
    font-size: 9.5px !important;
    padding: 2px 6px !important;
    top: 6px !important;
    right: 6px !important;
  }

  .mkt-badge-pdf {
    font-size: 9px !important;
    padding: 2px 5px !important;
    top: 6px !important;
    left: 6px !important;
  }

  .mkt-card-title {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    height: 38px !important;
    margin-bottom: 6px !important;
  }

  .mkt-card-meta {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
  }

  .mkt-btn-download {
    min-height: 36px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
    padding: 4px 8px !important;
  }

  .stages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .stage-card {
    padding: 14px 10px !important;
    border-radius: 14px !important;
  }
  .stage-icon {
    font-size: 26px !important;
  .stage-title {
    font-size: 13.5px !important;
  }
  .stage-count {
    font-size: 11px !important;
  }
  .mkt-article-box {
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }
  .mkt-post-title {
    font-size: 19px !important;
    margin-bottom: 18px !important;
  }
  .mkt-spec-row {
    font-size: 13px !important;
    padding: 10px 12px !important;
  }
  .mkt-community-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}
