:root {
  --green: #1f7a45;
  --green-dark: #145a33;
  --saffron: #ff9933;
  --blue: #1f4d8f;
  --white: #ffffff;
  --bg: #f4f8f5;
  --text: #1c2c1f;
  --muted: #5f6f62;
  --card: #ffffff;
  --danger: #c53030;
  --warning: #b7791f;
  --success: #2f855a;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(20, 58, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #f8fff9 0%, #eef6ff 60%, #f7faf7 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.ad-slot {
  min-height: 90px;
  border: 2px solid #9bbca5;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbfefb 0%, #f0faf5 100%);
  display: grid;
  place-items: center;
  margin: 1.5rem 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.top-leaderboard {
  margin-top: 0.6rem;
  margin-bottom: 0.8rem;
}

.ad-slot-wrapper {
  margin: 0.8rem auto;
}

.ad-slot-side {
  min-height: 250px;
  width: 100%;
  margin: 0;
}

.side-ad-rail {
  position: fixed;
  top: 112px;
  width: 170px;
  z-index: 10;
  display: grid;
  gap: 0.8rem;
  pointer-events: none;
  margin: 0;
  max-height: calc(100vh - 132px);
  overflow: auto;
}

.side-ad-rail-right {
  right: 14px;
}

.side-ad-rail .ad-slot {
  margin: 0;
  pointer-events: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(90deg, var(--green-dark), var(--green), var(--blue));
  color: var(--white);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--saffron), #ffbf73);
  color: #4a2500;
}

.brand h1 {
  margin: 0;
  font-size: 1.1rem;
}

.brand p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a,
.nav-links button,
.nav-links select {
  border: 0;
  background: transparent;
  color: var(--white);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  font-weight: 700;
}

.site-notification-bar {
  background: linear-gradient(90deg, #eff8f1, #f9fcfa);
  border-bottom: 1px solid #d7e6db;
  color: var(--green-dark);
}

.site-notification-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  font-size: 0.92rem;
}

.site-notification-inner strong {
  color: var(--green);
}

main {
  scroll-margin-top: 5.5rem;
}

main > .container:first-child {
  margin-top: 1rem;
}

.hero {
  padding: 0;
}

.hero-stage {
  width: 100%;
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 92px);
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #e9f2ea;
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 92px);
  object-fit: cover;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(7, 20, 11, 0.08) 0%, rgba(7, 20, 11, 0.55) 58%, rgba(7, 20, 11, 0.82) 100%);
  color: var(--white);
}

.hero-banner-copy {
  max-width: 780px;
}

.hero-title {
  margin: 0.2rem 0 0.3rem;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.95;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  max-width: 52ch;
}

.hero-summary {
  margin: 0 0 1rem;
  max-width: 58ch;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-banner-actions {
  margin-top: 0.2rem;
}

.hero-badge {
  align-self: flex-start;
  margin-top: 0.25rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
}

.village-name-large {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hero-card {
  background: linear-gradient(130deg, rgba(31, 122, 69, 0.95), rgba(31, 77, 143, 0.92));
  color: var(--white);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.village-slider-card {
  padding: 1.05rem;
  border: 1px solid #d8e7dc;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf7 100%);
}

.village-slider-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.slider-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.slider-badge {
  align-self: center;
  background: #e9f6ee;
  color: var(--green-dark);
  border: 1px solid #cfe8d7;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.village-slider-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 360px;
  box-shadow: 0 12px 28px rgba(20, 58, 33, 0.15);
  background: #e9f2ea;
}

.village-slider-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.village-slider-image.is-visible {
  opacity: 1;
  transform: scale(1);
}

.village-slider-overlay {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 31, 16, 0.05), rgba(8, 31, 16, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  backdrop-filter: blur(4px);
}

.village-slider-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.05;
}

.village-slider-caption {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.hero h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--saffron), #fcae53);
  color: #402000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline {
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
  background: transparent;
}

.btn:focus-visible,
.nav-links a:focus-visible,
.nav-links button:focus-visible,
.nav-links select:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 153, 51, 0.42);
  outline-offset: 2px;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section {
  padding: 1.25rem 0 1.75rem;
}

.section h3 {
  margin: 0 0 0.8rem;
  color: var(--green-dark);
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.sarpanch-card {
  border: 1px solid #d7e8db;
}

.sarpanch-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1rem;
  align-items: start;
}

.sarpanch-photo-wrap {
  margin: 0;
  text-align: center;
}

.sarpanch-photo {
  width: 100%;
  max-width: 280px;
  border-radius: 14px;
  border: 3px solid #d5e9db;
  box-shadow: 0 10px 24px rgba(20, 58, 33, 0.2);
  object-fit: cover;
}

.sarpanch-photo-wrap figcaption {
  margin-top: 0.6rem;
  font-weight: 700;
  color: var(--blue);
}

.member-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.member-profile-card {
  border: 1px solid #d8e8dc;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(20, 58, 33, 0.04);
}

.member-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(20, 58, 33, 0.12);
  border-color: var(--green);
}

.member-profile-main {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.member-profile-small h4,
.member-profile-main h4 {
  margin: 0 0 0.45rem;
  color: var(--green-dark);
}

.member-profile-small p,
.member-profile-main p {
  margin: 0.25rem 0;
  font-size: 0.92rem;
}

.member-photo-wrap {
  width: 100%;
  max-width: 170px;
  height: 170px;
  border-radius: 14px;
  border: 2px solid #d5e6d9;
  overflow: hidden;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-photo-fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  font-size: 1.35rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member-profile-small {
  display: grid;
  gap: 0.4rem;
}

.member-profile-small .member-photo-wrap {
  width: 84px;
  height: 84px;
  max-width: 84px;
  border-radius: 50%;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.9rem 0 1rem;
}

.map-embed-wrap {
  border: 1px solid #d7e8db;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(20, 58, 33, 0.08);
}

.map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.contact-info-box {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0;
  margin: 0.6rem 0 0.9rem;
  border-top: 1px solid #dde9df;
  border-bottom: 1px solid #dde9df;
}

.contact-info-box p {
  margin: 0;
}

.official-contact-card {
  border: 1px solid #d8e8dc;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.official-photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid #d4e6d9;
  overflow: hidden;
  margin: 0.3rem 0 0.9rem;
  box-shadow: 0 8px 18px rgba(20, 58, 33, 0.14);
}

.official-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.complaint-page-wrap {
  max-width: 900px;
  display: grid;
  gap: 1rem;
}

.complaint-form-card,
.complaint-list-card {
  width: 100%;
}

.complaint-feed {
  display: grid;
  gap: 0.75rem;
}

.complaint-item {
  border: 1px solid #d9e7dc;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  background: #f8fcf9;
}

.complaint-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.3rem;
}

.complaint-item h4 {
  margin: 0;
  color: var(--green-dark);
}

.complaint-item p {
  margin: 0;
}

.metric {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blue);
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfded1;
  border-radius: 10px;
  padding: 0.7rem;
  font-size: 0.95rem;
  background: #fff;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  border-bottom: 1px solid #e3ece5;
  text-align: left;
  padding: 0.65rem;
  font-size: 0.92rem;
  transition: background-color 0.15s ease;
}

th {
  background: #eff8f1;
  color: var(--green-dark);
}

tbody tr {
  transition: background-color 0.15s ease;
}

tbody tr:hover {
  background-color: #effcf3 !important;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-pending {
  background: #fef3c7;
  color: #92400e;
}

.badge-progress {
  background: #dbeafe;
  color: #1e40af;
}

.badge-approved,
.badge-resolved,
.badge-completed {
  background: #dcfce7;
  color: #166534;
}

.alert {
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.92rem;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
}

.site-footer {
  margin-top: 1.5rem;
  padding: 1.2rem 0;
  background: #11321f;
  color: #e5f1ea;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 0.85rem;
  font-size: 0.9rem;
}

.policy-links a {
  color: #d7f0df;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-accepted .cookie-banner {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 24px));
  background: rgba(17, 50, 31, 0.98);
  color: #edf8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(10, 30, 18, 0.28);
  z-index: 60;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner-content {
  display: grid;
  gap: 0.25rem;
}

.cookie-banner-content strong {
  font-size: 1rem;
}

.cookie-banner-content p {
  margin: 0;
  line-height: 1.45;
  color: #d5eadc;
}

.cookie-banner-content a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-banner .btn-outline {
  color: #edf8f0;
  border-color: rgba(255, 255, 255, 0.35);
}

.cookie-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
}

.footer-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1.5fr 1fr 1fr;
}

.loader {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #bfdbfe;
  border-top-color: var(--blue);
  animation: spin 1s linear infinite;
}

.blog-intro {
  margin-bottom: 1rem;
  border-left: 5px solid var(--saffron);
}

.blog-listing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.blog-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid #e4ece6;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(17, 60, 35, 0.18);
}

.blog-card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 1rem;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  background: #e7effc;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  margin-bottom: 0.55rem;
}

.blog-cover {
  border-radius: 14px;
  overflow: hidden;
  margin: 0.5rem 0 1rem;
}

.blog-cover img {
  width: 100%;
  height: clamp(200px, 42vw, 360px);
  object-fit: cover;
  display: block;
}

.blog-cover figcaption {
  background: #edf4ef;
  color: #385043;
  font-size: 0.82rem;
  padding: 0.45rem 0.7rem;
}

.blog-article {
  max-width: 860px;
  margin: 0 auto;
}

.blog-article p {
  line-height: 1.72;
}

.blog-suggest {
  margin-top: 1.3rem;
  border-top: 1px solid #dce9df;
  padding-top: 1rem;
}

.blog-suggest h3 {
  margin-bottom: 0.7rem;
}

.suggest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.suggest-list a {
  display: block;
  border: 1px solid #d7e5da;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: #f8fcf9;
}

.suggest-list a:hover {
  border-color: #9dc8ae;
  background: #eef8f1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Multilingual Language Switcher Styles */
#languageSwitch {
  width: auto !important;
  display: inline-block;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0.6rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
  outline: none;
}

#languageSwitch:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.6);
}

#languageSwitch option {
  background-color: var(--green-dark);
  color: var(--white);
}

@media (max-width: 960px) {
  #languageSwitch {
    margin-left: auto;
    background: #f0faf4 !important;
    color: var(--green-dark) !important;
    border: 1px solid #cce5d4;
    padding: 0.4rem 0.65rem;
  }
  #languageSwitch option {
    background-color: #fff;
    color: var(--text);
  }
}

/* Premium Blog Page Styles */
.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
  border-color: var(--green-light);
}

.blog-card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-tag {
  align-self: flex-start;
  background: rgba(31, 122, 69, 0.09);
  color: var(--green-dark);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.blog-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.2em;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-card .btn {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
}

/* Single Blog Post Template and Articles */
.blog-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem !important;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.blog-cover {
  max-width: 860px;
  margin: 0 auto 2rem auto;
  padding: 0 !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.blog-cover img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.blog-cover figcaption {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  background: #f8faf9;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  text-align: center;
}

.blog-article h2 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.blog-meta-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.blog-meta-text strong {
  color: var(--text-dark);
  display: block;
}

.blog-article h3,
.blog-post-content h3,
.blog-post-content h4 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2.6rem;
  margin-bottom: 1.1rem;
  border-left: 4px solid var(--green-light);
  padding-left: 0.75rem;
}

.blog-article p,
.blog-post-content p,
.blog-post-content div {
  font-size: 1.06rem;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 1.9rem;
}

.blog-article ul, 
.blog-article ol,
.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 1.8rem;
  padding-left: 1.5rem;
}

.blog-article li,
.blog-post-content li {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.blog-article blockquote {
  border-left: 4px solid var(--green-light);
  background: rgba(31, 122, 69, 0.04);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

.blog-suggest {
  background: linear-gradient(135deg, rgba(31, 122, 69, 0.04), rgba(247, 148, 29, 0.03));
  border: 1px solid rgba(31, 122, 69, 0.08);
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.blog-suggest h3 {
  border-left: none;
  padding-left: 0;
  margin-top: 0;
}

.blog-share-box {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.blog-share-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.blog-share-btns {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.share-btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.share-btn.native-share {
  background: var(--green-dark);
  color: #fff;
  border: none;
  cursor: pointer;
}

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .blog-article {
    padding: 1.5rem !important;
    border-radius: 12px;
  }
  
  .blog-cover {
    border-radius: 12px;
  }
  
  .blog-article h2 {
    font-size: 1.6rem;
  }
}

/* Premium Responsive Blog Table Styles */
.blog-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 2.5rem 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  -webkit-overflow-scrolling: touch;
}

.blog-table-wrapper table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.blog-table-wrapper th {
  background: var(--green-dark);
  color: var(--white);
  font-weight: 700;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

.blog-table-wrapper td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text);
  line-height: 1.6;
  vertical-align: top;
}

.blog-table-wrapper tr:last-child td {
  border-bottom: none;
}

.blog-table-wrapper tr:nth-child(even) {
  background: rgba(31, 122, 69, 0.03);
}

/* Premium Likes & Comments Styles */
.blog-interactions-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid rgba(31, 122, 69, 0.1);
}

.like-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.like-btn {
  background: var(--white);
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
  padding: 0.85rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(31, 122, 69, 0.1);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-btn:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(31, 122, 69, 0.2);
}

.like-btn.liked {
  background: #e11d48;
  border-color: #e11d48;
  color: var(--white);
}

.like-btn.liked .like-icon {
  animation: heartbeat 0.35s ease;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.comment-box-card {
  background: rgba(31, 122, 69, 0.02);
  border: 1px solid rgba(31, 122, 69, 0.08);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.01);
}

.comment-box-card h4 {
  margin: 0 0 0.5rem;
  color: var(--green-dark);
  font-size: 1.25rem;
}

.comment-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.comment-form {
  display: grid;
  gap: 1.2rem;
}

.comment-form .form-group {
  display: grid;
  gap: 0.5rem;
}

.comment-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.comment-form input,
.comment-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 122, 69, 0.1);
}

.btn-submit-comment {
  justify-self: start;
  padding: 0.8rem 2rem;
  font-weight: 700;
}

.comments-list-container h4 {
  margin-bottom: 1.5rem;
  color: var(--green-dark);
  border-bottom: 2px solid rgba(31, 122, 69, 0.05);
  padding-bottom: 0.5rem;
}

.comments-list {
  display: grid;
  gap: 1rem;
}

.comment-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease;
}

.comment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 800;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.comment-author {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.95rem;
}

.comment-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.comment-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  white-space: pre-wrap;
}

.no-comments-text {
  text-align: center;
  color: var(--text-light);
  padding: 2rem 0;
  font-style: italic;
  font-size: 0.95rem;
}

