/* ============================================
   Jonaki — DLS-conformant hand-CSS.
   Only rules that can't be expressed as a Tailwind utility live here
   (see tailwind.config.js for the generated .bg-primary/.text-on-surface/etc.
   utilities this file assumes). Gradient buttons, glassmorphism, and the three
   non-DLS marketing fonts were retired — see DESIGN-LANGUAGE-SYSTEM.md.
   ============================================ */

/* Asymmetric grid (homepage) */
.asymmetric-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

/* Editorial grid (blog) */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

/* Blog post prose styles */
.prose h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: #7A9669;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.875rem;
}

.prose p {
  margin-bottom: 1.5rem;
  color: #5C5347;
  line-height: 1.8;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Bengali", "Nirmala UI", Arial, sans-serif;
  font-size: 1.125rem;
}

/* Body minimum height */
body {
  min-height: max(884px, 100dvh);
}

/* Breadcrumbs */
.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Bengali", "Nirmala UI", Arial, sans-serif;
  font-size: 0.875rem;
  color: #5C5347;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs ol li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs ol li a {
  color: #5C5347;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs ol li a:hover {
  color: #7A9669;
}

.breadcrumbs ol li[aria-current="page"] {
  color: #7A9669;
  font-weight: 500;
}

.breadcrumbs ol li + li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23707972' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Share buttons */
.share-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.share-buttons span:first-child {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Bengali", "Nirmala UI", Arial, sans-serif;
  font-size: 0.875rem;
  color: #5C5347;
}

.share-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Bengali", "Nirmala UI", Arial, sans-serif;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}

.share-buttons a[aria-label="Share on WhatsApp"] {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}
.share-buttons a[aria-label="Share on WhatsApp"]:hover {
  background: #25D366;
  color: #fff;
}

.share-buttons a[aria-label="Share on Twitter"] {
  background: rgba(29, 161, 242, 0.1);
  color: #1DA1F2;
}
.share-buttons a[aria-label="Share on Twitter"]:hover {
  background: #1DA1F2;
  color: #fff;
}

.share-buttons a[aria-label="Share on LinkedIn"] {
  background: rgba(0, 119, 181, 0.1);
  color: #0077B5;
}
.share-buttons a[aria-label="Share on LinkedIn"]:hover {
  background: #0077B5;
  color: #fff;
}

/* Author bio */
.author-bio {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: rgba(245, 243, 240, 0.5);
  border-radius: 0.75rem;
  padding: 2rem;
}

.author-bio .author-photo {
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  background: #F2D8A8;
  flex-shrink: 0;
}

.author-bio strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  color: #7A9669;
  display: block;
  margin-bottom: 0.5rem;
}

.author-bio p {
  color: #5C5347;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.author-bio a {
  color: #7A9669;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.author-bio a:hover {
  text-decoration: underline;
}
