:root {
  --orange: #E57F19;
  --orange-dark: #cc6f15;
}

:lang(ml) {
  font-family: "Noto Sans Malayalam", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  word-spacing: 0;
  font-weight: 400;
}
:lang(ml) h1 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 600;
}

:lang(ml) h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
}

:lang(ml) h3 {
  font-size: 19px;
  line-height: 1.45;
  font-weight: 500;
}

/* ---------------- BLOG PAGE TYPOGRAPHY ---------------- */
.blog-page-container {
  font-family: 'Roboto Slab', serif; /* English default */
  font-size: 16px;
  padding: 20px;
  background-color: #f9f9f9;
  line-height: 1.75;
  color: #2c2c2c;
}

/* Wrapper for main content + sidebar */
.blog-wrapper {
  display: flex;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Main Content */
.blog-content {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Blog Section Card */
.blog-section {
  display: flex;
  gap: 24px;
  background-color: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  align-items: center;
}

/* Blog Text */
.blog-text h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 6px;
}

.blog-text h1 a {
  color: var(--orange);
  text-decoration: none;
}

.blog-text h1 a:hover {
  text-decoration: underline;
}

.blog-date {
  font-style: italic;
  font-weight: normal;
  color: #555;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.blog-text p {
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: #2c2c2c;
}

/* Blog Image */
.blog-image {
  flex: 1;
}

.blog-image img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* Sidebar */
.blog-sidebar {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-sidebar h2 {
  font-family: 'Roboto Slab', serif;
  color: var(--orange);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.blog-sidebar ul {
  list-style: none;
  padding-left: 0;
}

.blog-sidebar ul li {
  margin-bottom: 8px;
}

.blog-sidebar ul li a {
  color: #007bff;
  text-decoration: none;
}

.blog-sidebar ul li a:hover {
  text-decoration: underline;
}

.blog-sidebar input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Read More link */
.read-more {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-wrapper {
    flex-direction: column;
  }
  .blog-section {
    flex-direction: column;
  }
  .blog-image img {
    width: 100%;
    height: auto;
    max-height: 220px;
  }
}

/* ---------------- LANGUAGE-SPECIFIC TYPOGRAPHY ---------------- */
.blog-page-container :lang(ml),
.blog-page-container :lang(ta),
.blog-page-container :lang(te),
.blog-page-container :lang(kn),
.blog-page-container :lang(hi),
.blog-page-container :lang(mr) {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0;
}
