/* ============================================================
   MANTLE — Additional Page Styles
   ============================================================ */

/* ---- Typography Demo Blocks ---- */
.typo-specimen {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 40px;
  margin-bottom: 28px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.typo-specimen-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6C757D;
  margin-bottom: 16px;
  display: block;
  border-bottom: 1px solid #E0E0E0;
  padding-bottom: 10px;
}
.font-serif-display { font-family: 'Playfair Display', serif; }
.font-slab { font-family: 'Roboto Slab', serif; }
.font-sans-body { font-family: 'Roboto', sans-serif; }

/* ---- Color Swatch ---- */
.color-palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.color-swatch {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #E0E0E0;
}
.swatch-color {
  height: 90px;
}
.swatch-info {
  padding: 12px;
  background: #ffffff;
}
.swatch-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.swatch-info span {
  font-size: 12px;
  color: #6C757D;
  font-family: 'Roboto', monospace;
}

/* ---- Comparison Table ---- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 32px 0;
}
.comparison-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 28px;
}
.comparison-item h4 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #007BFF;
}
.comparison-item ul {
  list-style: none;
  padding: 0;
}
.comparison-item ul li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid #F0F0F0;
  color: #6C757D;
}
.comparison-item ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #007BFF;
}

/* ---- Category Nav ---- */
.category-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cat-btn {
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid #E0E0E0;
  background: #ffffff;
  color: #6C757D;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: inline-block;
}
.cat-btn:hover, .cat-btn.active {
  background: #007BFF;
  color: #ffffff;
  border-color: #007BFF;
  text-decoration: none;
}

/* ---- Profile / Author Card ---- */
.author-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  margin: 40px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #E0E0E0;
}
.author-info h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.author-info span {
  font-size: 13px;
  color: #007BFF;
  display: block;
  margin-bottom: 8px;
}
.author-info p {
  font-size: 14px;
  color: #6C757D;
  margin: 0;
}

/* ---- Related Articles ---- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}
.related-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  transform: scale(1.01);
}
.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.related-card-body {
  padding: 20px;
}
.related-card-body h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.related-card-body a {
  color: #333333;
  text-decoration: none;
}
.related-card-body a:hover { color: #007BFF; }
.related-card-body span {
  font-size: 13px;
  color: #6C757D;
}

/* ---- Search Box ---- */
.search-box {
  display: flex;
  gap: 0;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}
.search-box input {
  flex: 1;
  padding: 12px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  border: none;
  background: #F8F8F8;
  outline: none;
  color: #333333;
}
.search-box button {
  padding: 12px 20px;
  background: #007BFF;
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.search-box button:hover { background: #0056b3; }

/* ---- Glossary ---- */
.glossary-item {
  padding: 20px 0;
  border-bottom: 1px solid #E0E0E0;
}
.glossary-item:last-child { border-bottom: none; }
.glossary-term {
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  font-weight: 700;
  color: #007BFF;
  margin-bottom: 8px;
}
.glossary-def {
  font-size: 16px;
  color: #6C757D;
  line-height: 1.65;
}

/* ---- Highlight Boxes ---- */
.highlight-box {
  background: #eef5ff;
  border-radius: 4px;
  padding: 28px 32px;
  margin: 32px 0;
}
.highlight-box h4 {
  color: #007BFF;
  margin-bottom: 12px;
}
.highlight-box p { font-size: 16px; margin: 0; }

/* ---- Contact Info Cards ---- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.contact-info-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eef5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: #007BFF;
}
.contact-info-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-info-card p, .contact-info-card a {
  font-size: 15px;
  color: #6C757D;
  margin: 0;
}

/* ---- Divider ---- */
.divider {
  border: none;
  border-top: 1px solid #E0E0E0;
  margin: 48px 0;
}
.divider-accent {
  border-top: 2px solid #007BFF;
  width: 60px;
  margin: 24px 0;
}

/* ---- Newsletter ---- */
.newsletter-section {
  background: #007BFF;
  padding: 60px 0;
  text-align: center;
}
.newsletter-section h2 {
  color: #ffffff;
  margin-bottom: 12px;
}
.newsletter-section p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin-bottom: 32px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: 4px;
  border: none;
  font-size: 15px;
  outline: none;
  font-family: 'Roboto', sans-serif;
}
.newsletter-form button {
  padding: 13px 28px;
  background: #333333;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  transition: all 0.2s ease-in-out;
}
.newsletter-form button:hover { background: #111111; transform: scale(1.02); }

/* ---- Numbered List Styled ---- */
.numbered-feature {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease-in-out;
}
.numbered-feature:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.10); }
.numbered-feature-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #007BFF;
  line-height: 1;
  min-width: 48px;
  text-align: center;
  opacity: 0.25;
}
.numbered-feature-content h4 { margin-bottom: 8px; }
.numbered-feature-content p { font-size: 15px; color: #6C757D; margin: 0; }

/* ---- Trend Card ---- */
.trend-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease-in-out;
}
.trend-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  transform: scale(1.01);
}
.trend-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #007BFF;
}
.trend-card h4 { margin-bottom: 12px; }
.trend-card p { font-size: 15px; color: #6C757D; margin-bottom: 16px; }
.trend-year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #007BFF;
}

@media (max-width: 768px) {
  .color-palette { grid-template-columns: repeat(2, 1fr); }
  .comparison-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
