/*
Theme Name: Hidayah
Theme URI: https://hoquerdawat.ridowan.online
Author: Ridowan Hossain
Author URI: https://ridowan.online
Description: হিদায়াহ — একটি পরিপূর্ণ ইসলামিক বাংলা ওয়েবসাইট থিম। অডিও লেকচার, ভিডিও, বই, মাসিক ম্যাগাজিন ও আরো অনেক কিছু।
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hidayah
Tags: bangla, islamic, custom-post-types, audio, video, magazine
*/

/* ==========================================
   CSS Variables & Reset Styles
   ========================================== */
:root {
  --primary-green: #065f46;
  --primary-green-dark: #064e3b;
  --primary-green-light: #059669;
  --light-green: #ecfdf5;
  --light-green-alt: #d1fae5;
  --accent-gold: #d4af37;
  --bg-light: #f0fdf4;
  --text-dark: #333;
  --text-light: #444;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --background-dark: #022c22;
}

/* Reveal Animation Styles */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

body {
  margin: 0;
  font-family: "Noto Serif Bengali", serif;
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 18px;
}

/* Typography */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: var(--primary-green-dark);
  transition: var(--transition);
}

/* Base override for linked titles and speaker names */
h3 a,
h4 a,
.audio-speaker a,
.audio-card-speaker a,
.video-meta-item a,
.single-audio-meta-item a {
  color: inherit;
}

h3 a:hover,
h4 a:hover,
.audio-speaker a:hover,
.audio-card-speaker a:hover,
.video-meta-item a:hover,
.single-audio-meta-item a:hover {
  color: var(--primary-green-light) !important;
}

/* ==========================================
   HEADER (Dark Emerald Theme)
   ========================================== */
header {
  background: var(--primary-green-dark);
  color: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.header-wrap {
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  padding: 0 15px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 100px;
}

.header-text h1,
.header-text .site-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

.header-text p:not(.hijri-date) {
  margin: 4px 0 0;
  font-size: 16px;
  opacity: 0.95;
  color: var(--white);
  line-height: 1.5;
}

.hijri-date {
  font-size: 15px !important;
  font-weight: 600;
  color: var(--accent-gold) !important;
  margin-top: 4px !important;
  opacity: 1 !important;
}

.header-right {
  margin-left: auto;
}

.donation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  background: var(--accent-gold);
  border: 1.5px solid var(--accent-gold);
  color: var(--primary-green-dark);
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  line-height: 1;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.donation-btn:hover {
  background: #f3f7f5;
  border-color: #f3f7f5;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
  color: var(--primary-green-dark);
}

.donation-text {
  white-space: nowrap;
}

/* ==========================================
   NAVIGATION (Dark Surface Theme)
   ========================================== */
nav {
  background: var(--primary-green-dark);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
}

.nav-wrap {
  max-width: 1280px;
  margin: auto;
  padding: 0 15px;
}

/* Hide mobile-only elements on desktop */
.nav-header-mobile,
.close-menu,
.mobile-menu-footer,
.m-menu {
  display: none;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  margin-left: -5px;
}

.nav-item {
  position: relative;
}

/* Top Level Links */
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 5px;
  height: auto;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  line-height: 1.5;
}

.nav-item > a:hover {
  color: var(--accent-gold);
}

/* Parent Dropdown Arrow */
.nav-item.has-dropdown > a::before {
  content: "\25BE"; /* Downward small triangle */
  order: 2;
  font-size: 14px;
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

@media (min-width: 993px) {
  .nav-item.has-dropdown:hover > a::before {
    transform: rotate(180deg);
    color: var(--accent-gold);
  }

  .nav-item > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
  }

  .nav-item:hover > a::after {
    width: 100%;
  }

  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 200;
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--primary-green-dark);
  font-size: 14px;
  transition: all 0.2s;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: var(--light-green);
  color: var(--primary-green);
  padding-left: 25px;
}

.dropdown-menu a::after {
  display: none;
}

.m-menu {
  display: none;
}
/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 8px;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* ── Dropdown Toggle Button (mobile arrow) ───────────────────────────── */
.dd-toggle-btn {
  display: none; /* hidden on desktop */
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 6px 8px;
  margin-left: auto;
  line-height: 1;
  transition:
    color 0.2s,
    transform 0.3s;
  flex-shrink: 0;
}

.dd-toggle-btn .material-symbols-outlined {
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* ── Nav Overlay (dark backdrop for mobile) ──────────────────────────── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================================
   RESPONSIVE — Mobile Navigation (≤ 992px)
   ============================================================ */
@media (max-width: 992px) {
  /* Show hamburger toggle */
  .m-menu {
    display: flex;
    align-items: center;
    order: -1; /* leftmost in header-wrap */
    margin-right: auto;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  /* Slide-in nav panel */
  #site-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    z-index: 9999;
    overflow: hidden;
    border-bottom: none;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
    background: var(--primary-green-dark);
  }

  .nav-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Active class toggled by JS */
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-wrap.active {
    transform: translateX(0);
  }

  /* Also slide the nav element itself when JS adds .active */
  #site-navigation.active {
    transform: translateX(0);
  }

  /* Show mobile-only elements */
  .nav-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    height: 70px;
  }

  .nav-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
  }

  .close-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: background 0.2s;
  }

  .close-menu:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  /* Scrollable menu list */
  .nav-menu {
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    flex: 1;
    padding: 8px 0;
    margin-left: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  }

  .nav-menu::-webkit-scrollbar {
    width: 4px;
  }

  .nav-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
  }

  /* Nav item row: link + toggle button side by side */
  .nav-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-item > a {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Show dd-toggle-btn on mobile */
  .dd-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
  }

  /* Rotate arrow when dropdown is open */
  .nav-item.active > .dd-toggle-btn .material-symbols-outlined {
    transform: rotate(180deg);
    color: var(--accent-gold);
  }

  /* Mobile Dropdown — accordion style */
  .dropdown-menu {
    position: static;
    width: 100%;
    flex-basis: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 0;
    /* Hidden by default; revealed when parent has .active */
    display: none;
  }

  .nav-item.active > .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.85);
    padding: 11px 28px 11px 36px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-gold);
    padding-left: 40px;
  }

  .dropdown-menu li:last-child a {
    border-bottom: none;
  }

  /* Mobile footer in nav */
  .mobile-menu-footer {
    display: block;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
  }

  .donation-btn.full-width {
    display: flex;
    width: 100%;
    justify-content: center;
    border-radius: 8px;
  }

  /* Header tweaks on mobile */
  .header-wrap {
    justify-content: flex-start;
    gap: 10px;
  }

  .header-right {
    margin-left: auto;
  }

  /* Underline effect off on mobile */
  .nav-item > a::after {
    display: none;
  }

  /* Arrow off on mobile (using dd-toggle-btn instead) */
  .nav-item.has-dropdown > a::before {
    display: none;
  }

  /* Utility to hide on mobile */
  .hide-m {
    display: none !important;
  }
}

/* ── Very small screens ─────────────────────────────────── */
@media (max-width: 480px) {
  #site-navigation {
    width: 100%;
  }
}

/* Hide prayer widget when menu is active */
body.menu-open .prayer-floating-btn {
  display: none !important;
}

/* ==========================================
   SECTIONS
   ========================================== */
section {
  padding: 50px 15px;
}

.container {
  max-width: 1280px;
  margin: auto;
}

.section-title {
  font-size: 28px;
  color: var(--primary-green-dark);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 700;
}

.section-title:hover {
  color: var(--primary-green-dark) !important;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green-dark), var(--primary-green-light));
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 2px;
}

/* White underline for dark backgrounds */
/* White underline for dark backgrounds */
section[style*="background: linear-gradient(135deg, #065f46"] .section-title::after {
  background: white !important;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1584551246679-0daf3d275d0f?w=1600") center/cover;
  color: var(--white);
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 38px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8);
}

.hero p {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
  line-height: 1.8;
  color: #ffffff;
  opacity: 1;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

/* ==========================================
   CARDS & GRID
   ========================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover img {
  transform: scale(1.05);
}

.card .content {
  padding: 20px;
}

.card h4 {
  margin: 0 0 10px;
  color: var(--primary-green-dark);
  font-size: 20px;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.card .meta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--light-green);
  font-size: 14px;
  color: var(--text-light);
}

/* ==========================================
   NOTICE MARQUEE (Right to Left Scroll)
   ========================================== */
.notice-section {
  padding: 0;
}

.notice-marquee-container {
  background: linear-gradient(135deg, var(--light-green), var(--light-green-alt));
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(6, 95, 70, 0.15);
  padding: 0;
  position: relative;
  overflow: hidden;
  height: 60px;
  display: flex;
  align-items: center;
}

.notice-marquee-container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(to right, var(--light-green), transparent);
  z-index: 2;
  pointer-events: none;
}

.notice-marquee-container::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(to left, var(--light-green-alt), transparent);
  z-index: 2;
  pointer-events: none;
}

.notice-marquee {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.notice-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
  padding: 0 20px;
}

.notice-track:hover {
  animation-play-state: paused;
}

.notice-item {
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 500;
  padding: 0 30px;
  display: inline-block;
  text-shadow: none;
}

.notice-item a {
  color: var(--primary-green-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.notice-item a:hover {
  color: var(--primary-green);
  text-decoration: none;
}

.notice-separator {
  color: var(--accent-gold);
  font-size: 20px;
  font-weight: bold;
  opacity: 0.6;
  padding: 0 10px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: var(--primary-green);
  color: var(--white);
  padding: 40px 15px 20px;
  text-align: center;
  font-size: 14px;
}

footer p {
  margin: 8px 0;
}

footer strong {
  font-size: 18px;
  color: var(--accent-gold);
}

footer a {
  color: var(--light-green-alt);
}

footer a:hover {
  color: var(--white);
}

.footer-links {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 5px 10px;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  background: var(--primary-green-dark);
  border: 1.5px solid var(--primary-green-dark);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: var(--transition);
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.16);
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(6, 95, 70, 0.22);
}

.btn-outline {
  background: var(--white);
  border: 1.5px solid var(--primary-green-dark);
  color: var(--primary-green-dark);
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.12);
}

.btn-outline:hover {
  background: #f3f7f5;
  border-color: var(--primary-green-dark);
  color: var(--primary-green-dark);
}

/* ==========================================
   SECTION-SPECIFIC STYLES
   ========================================== */

/* About Section */
.about-section {
  background: white;
  padding: 50px 15px;
}

.about-intro {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.about-intro p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 25px;
}

.about-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Publications Section */
.publications-section {
  background: radial-gradient(circle at 12% 12%, rgba(212, 175, 55, 0.2), transparent 34%), radial-gradient(circle at 90% 85%, rgba(5, 150, 105, 0.2), transparent 36%), linear-gradient(135deg, #f7fff9, #e5f9ed 45%, #f4fff8 100%);
  padding: 70px 15px;
  position: relative;
  overflow: hidden;
}

.publications-section .container {
  position: relative;
  z-index: 2;
}

.publications-subtitle {
  max-width: 760px;
  margin: -8px auto 34px;
  color: #1f4438;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 0;
  align-items: stretch;
}

/* Current/Special Issue Card Shared */
.current-issue,
.special-issue {
  position: relative;
  border-radius: 22px;
  padding: 34px 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.current-issue:hover,
.special-issue:hover {
  transform: translateY(-8px) scale(1.01);
}

/* Current Issue Card */
.current-issue {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 255, 252, 0.98));
  border: 1px solid rgba(6, 95, 70, 0.14);
  box-shadow: 0 18px 36px rgba(6, 95, 70, 0.12);
}

.current-issue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green-dark), var(--primary-green-light));
}

.current-issue:hover {
  box-shadow: 0 24px 44px rgba(6, 95, 70, 0.18);
  border-color: rgba(6, 95, 70, 0.25);
}

.current-issue h3,
.special-issue h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
  padding-bottom: 16px;
  position: relative;
  border: none;
}

.current-issue h3 {
  color: var(--primary-green-dark);
}

.current-issue h3::after,
.special-issue h3::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 90px;
  height: 3px;
  border-radius: 4px;
}

.current-issue h3::after {
  background: linear-gradient(90deg, var(--primary-green-dark), var(--primary-green-light));
}

.current-issue h4,
.special-issue h4 {
  text-align: center;
  font-size: 21px;
  margin: 14px 0 6px;
}

.current-issue h4 {
  color: var(--primary-green-dark);
}

.current-issue > p,
.special-issue > p {
  text-align: center;
  margin-bottom: 18px;
  font-size: 14px;
}

.current-issue > p {
  color: #4a6359;
}

.publications-section .issue-content {
  background: #f2fdf7;
  border: 1px solid rgba(6, 95, 70, 0.12);
  padding: 20px 18px;
  border-radius: 14px;
  margin-bottom: 22px;
}

.current-issue .issue-content {
  background: #f5fdfa;
  border-color: rgba(6, 95, 70, 0.18);
  box-shadow:
    0 12px 26px rgba(6, 95, 70, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.publications-section .issue-content h5 {
  color: var(--primary-green-dark);
  margin-bottom: 12px;
  font-size: 14px;
}

.publications-section .issue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.75;
  color: #38594d;
}

.publications-section .issue-list li {
  position: relative;
  padding-left: 24px;
}

.publications-section .issue-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 10px;
  background: var(--primary-green-light);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.17);
}

.publications-section .issue-buttons {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.publications-section .issue-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 220px;
  gap: 8px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.16);
}

.publications-section .current-issue .btn-outline {
  background: var(--white);
  border: 1.5px solid var(--primary-green-dark);
  color: var(--primary-green-dark);
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.16);
}

.publications-section .current-issue .btn-outline:hover {
  background: #f3f7f5;
  border-color: var(--primary-green-dark);
  color: var(--primary-green-dark);
  box-shadow: 0 10px 20px rgba(6, 95, 70, 0.18);
  transform: translateY(-2px);
}

.publications-section .current-issue .issue-buttons .btn:not(.btn-outline) {
  background: var(--primary-green-dark);
  border: 1.5px solid var(--primary-green-dark);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.16);
}

.publications-section .current-issue .issue-buttons .btn:not(.btn-outline):hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(6, 95, 70, 0.22);
  transform: translateY(-2px);
}

/* Special Issue Card */
.special-issue {
  background: radial-gradient(circle at 14% 12%, rgba(212, 175, 55, 0.22), transparent 42%), radial-gradient(circle at 90% 86%, rgba(255, 255, 255, 0.1), transparent 38%), linear-gradient(145deg, #022c22, #064e3b 55%, #0a5b43);
  color: white;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 40px rgba(2, 44, 34, 0.35);
}

.special-issue:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 26px 48px rgba(2, 44, 34, 0.42);
}

.special-issue h3 {
  color: white;
}

.special-issue h3::after {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.8), rgba(255, 255, 255, 0.95));
}

.special-issue h4 {
  color: white;
}

.special-issue > p {
  color: rgba(255, 255, 255, 0.9);
}

.special-issue .issue-content {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
}

.special-issue .issue-content h5 {
  color: #fff;
}

.special-issue .issue-list {
  color: rgba(255, 255, 255, 0.95);
}

.special-issue .issue-list li::before {
  background: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

@media (max-width: 768px) {
  .publications-section {
    padding: 58px 15px;
  }

  .publications-subtitle {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 24px;
  }

  .current-issue,
  .special-issue {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .current-issue h3,
  .special-issue h3 {
    font-size: 22px;
  }

  .current-issue h4,
  .special-issue h4 {
    font-size: 19px;
  }

  .publications-section .issue-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .publications-section .issue-buttons .btn {
    width: 100%;
    text-align: center;
    min-width: 0;
    min-height: 46px;
    font-size: 14px;
  }
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}
.article-img-link {
  text-decoration: none;
  display: block;
  overflow: hidden;
}

.article-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-title-link:hover h4 {
  color: var(--primary-green-dark);
}

.meta-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: var(--transition);
}

.meta-link:hover {
  color: var(--primary-green-dark);
}

.book-link,
.glass-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: var(--transition);
}

.book-link:hover .book-header p {
  color: var(--accent-gold);
}

.glass-card-link:hover h3 {
  color: var(--accent-gold);
}

.section-intro {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-light);
}

.btn-sm {
  font-size: 14px;
  min-height: 44px;
  padding: 0 18px;
  margin-top: 10px;
  display: inline-flex;
}

.btn-center {
  text-align: center;
  margin-top: 35px;
}

/* Q&A Section */
.qa-section {
  background: var(--bg-light);
}

.qa-slider-grid {
  display: flex !important;
  overflow-x: auto;
  gap: 24px;
  margin-top: 20px;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.qa-slider-grid::-webkit-scrollbar {
  display: none;
}

.qa-slider-grid .card {
  flex: 0 0 calc(25% - 18px);
  scroll-snap-align: start;
  min-width: 250px;
}

@media (max-width: 1024px) {
  .qa-slider-grid .card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

@media (max-width: 768px) {
  .qa-slider-grid .card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 480px) {
  .qa-slider-grid .card {
    flex: 0 0 85%;
  }
}

/* Darbar & Education Section */
.darbar-education {
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green-light));
  color: white;
  padding: 60px 15px;
}

.darbar-education .section-title {
  color: white;
}

.glass-card {
  background: rgba(6, 95, 70, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card h3 {
  margin: 0 0 15px;
  font-size: 22px;
  color: white;
}

.glass-card p {
  line-height: 1.8;
  opacity: 0.95;
  color: white;
}

.glass-card .btn {
  background: white;
  color: var(--primary-green-dark);
  margin-top: 15px;
}

/* Book Sales Section (Below Media) */
.book-sales-section {
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 45%), linear-gradient(135deg, #f7fff9, #e9fdf2);
  position: relative;
  overflow: hidden;
}

.book-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 0 10px;
}

.book-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  color: var(--primary-green-dark);
  border: 1px solid var(--primary-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 0;
}

.book-slider-btn:hover {
  background: var(--primary-green-dark);
  color: white;
}

.book-slider-btn .material-symbols-outlined {
  font-size: 24px;
}

.book-slider-prev {
  left: -20px;
}

.book-slider-next {
  right: -20px;
}

@media (max-width: 1024px) {
  .book-slider-btn {
    width: 38px;
    height: 38px;
  }
  .book-slider-prev {
    left: -10px;
  }
  .book-slider-next {
    right: -10px;
  }
}

@media (max-width: 768px) {
  .book-slider-btn {
    width: 35px;
    height: 35px;
  }
  .book-slider-btn .material-symbols-outlined {
    font-size: 20px;
  }
  .book-slider-prev {
    left: -5px;
  }
  .book-slider-next {
    right: -5px;
  }
}

.book-sales-grid {
  display: flex !important;
  overflow-x: auto;
  gap: 24px;
  margin-top: 20px;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.book-sales-grid::-webkit-scrollbar {
  display: none;
}

.book-sales-card {
  flex: 0 0 calc(25% - 18px);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(6, 95, 70, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.book-sales-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(6, 95, 70, 0.16);
  border-color: rgba(212, 175, 55, 0.45);
}

.book-sales-link {
  display: block;
}

.book-sales-cover {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #e3f7ec;
}

.book-sales-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.book-sales-card:hover .book-sales-cover img {
  transform: scale(1.08);
}

.book-sales-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 78, 59, 0.92);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.book-sales-content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.book-sales-content h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  color: var(--primary-green-dark);
}

.book-sales-content p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.book-sales-old-price {
  font-size: 14px;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.book-sales-price {
  color: var(--primary-green-dark);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

/* Add to Cart button replacement logic */
.add_to_cart_button.added {
  display: none !important;
}

.book-sales-order-btn,
.book-sales-buy-woo a.add_to_cart_button,
.book-sales-buy-woo a.added_to_cart {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--primary-green-dark);
  color: var(--primary-green-dark) !important;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(6, 95, 70, 0.12);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

/* Icon size within order button */
.book-sales-order-btn .material-symbols-outlined {
  font-size: 18px;
}

.book-sales-order-btn:hover {
  background: #f3f7f5;
  color: var(--primary-green-dark);
  border-color: var(--primary-green-dark);
  box-shadow: 0 10px 20px rgba(6, 95, 70, 0.16);
  transform: translateY(-2px);
}

.book-sales-cta {
  margin-top: 34px;
}

.book-sales-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--primary-green-dark);
  border: 1.5px solid var(--primary-green-dark);
  color: var(--white);
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.2);
}

.book-sales-more-btn:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(6, 95, 70, 0.28);
}

.book-sales-more-btn .material-symbols-outlined {
  font-size: 20px;
}

@media (max-width: 768px) {
  .book-sales-cover {
    height: 190px;
  }

  .book-sales-content h3 {
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .book-sales-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 576px) {
  .book-sales-card {
    flex: 0 0 100%;
  }

  .book-sales-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .book-sales-order-btn {
    gap: 6px;
    width: 100%;
  }
}

/* Fresh Light CTA Section */
.bridge-cta-section {
  background: transparent;
  padding-top: 70px;
  padding-bottom: 70px;
}

.bridge-cta-shell {
  border-radius: 18px;
  border: 1px solid rgba(6, 95, 70, 0.14);
  background: radial-gradient(circle at 92% 12%, rgba(212, 175, 55, 0.16), transparent 35%), linear-gradient(180deg, #fffef9 0%, #f8fcfa 100%);
  box-shadow: 0 10px 26px rgba(2, 44, 34, 0.08);
  padding: 34px 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
}

.bridge-cta-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  color: #705100;
  font-size: 14px;
  font-weight: 700;
}

.bridge-cta-copy h3 {
  color: #163b30;
  font-size: 31px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.bridge-cta-copy > p {
  color: #41544d;
}

.bridge-cta-copy .grand-cta-stat-row {
  justify-content: flex-start;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(6, 95, 70, 0.1);
}

.bridge-cta-copy .grand-stat {
  padding: 0 24px;
  align-items: flex-start;
}

.bridge-cta-copy .grand-stat:first-child {
  padding-left: 0;
}

.bridge-cta-copy .grand-stat-num {
  font-size: 24px;
}

.bridge-cta-copy .grand-stat-label {
  color: #41544d;
}

.bridge-cta-copy .grand-stat-divider {
  background: rgba(6, 95, 70, 0.15);
  height: 36px;
}

.bridge-cta-links {
  display: grid;
  gap: 12px;
}

.bridge-link-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(6, 95, 70, 0.17);
  background: rgba(255, 255, 255, 0.88);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.bridge-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green-dark);
  background: #ebf8f3;
  font-size: 24px;
}

.bridge-link-card h4 {
  margin: 0 0 2px;
  color: #134535;
  font-size: 18px;
}

.bridge-link-card p {
  margin: 0;
  color: #4d5f59;
  font-size: 14px;
  line-height: 1.45;
}

.bridge-link-arrow {
  color: #1c5a47;
  font-size: 22px;
  justify-self: end;
}

.bridge-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 95, 70, 0.35);
  box-shadow: 0 10px 20px rgba(6, 95, 70, 0.12);
}

@media (max-width: 992px) {
  .bridge-cta-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bridge-cta-section {
    padding-bottom: 28px;
  }

  .bridge-cta-shell {
    padding: 24px 16px;
  }

  .bridge-cta-copy h3 {
    font-size: 24px;
  }

  .bridge-cta-copy .grand-cta-stat-row {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
  }

  .bridge-cta-copy .grand-stat {
    padding: 0 16px 0 0;
  }

  .bridge-cta-copy .grand-stat-divider {
    display: none;
  }

  .bridge-link-card {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    padding: 12px;
  }

  .bridge-link-icon {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }
}

/* Promo Wide Banner Styles (Previously used for Ad Section) */
.promo-wide-section {
  background: transparent;
}

.promo-wide-wrapper {
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
  border-radius: 16px;
  padding: 45px 30px;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.promo-wide-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.promo-wide-wrapper::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.promo-wide-content {
  position: relative;
  z-index: 2;
}

.promo-wide-content h3 {
  color: white;
  font-size: 30px;
  margin-bottom: 12px;
}

.promo-wide-content p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact form */
.contact-form {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: "Noto Serif Bengali", serif;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================
   COMPLETE UTILITY CLASSES FOR INLINE REMOVAL
   ========================================== */

/* Text alignment utilities */
.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Margin utilities */
.mb-30 {
  margin-bottom: 30px;
}

.mt-35 {
  margin-top: 35px;
}

.mt-10 {
  margin-top: 10px;
}

/* Display utilities */
.d-inline-block {
  display: inline-block;
}

/* Width utilities */
.max-w-900 {
  max-width: 900px;
  margin: auto;
}

.max-w-800 {
  max-width: 800px;
  margin: auto;
}

/* Color utilities */
.text-gray {
  color: var(--text-light);
}

/* Footer additional classes */
.footer-tagline {
  margin-top: 20px;
  opacity: 0.9;
}

.footer-contact {
  margin-top: 25px;
  font-size: 14px;
  opacity: 0.8;
}

.footer-copyright {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.7;
}

/* White underline for dark background sections */
.darbar-education .section-title::after {
  background: white;
}

/* White Buttons for Gradient Backgrounds */
.btn-white {
  background: white;
  color: var(--primary-green-dark);
  border: 1.5px solid white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: #f3f7f5;
  border-color: #f3f7f5;
  color: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.btn-white-outline {
  background: transparent;
  border: 1.5px solid white;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s ease;
}

.btn-white-outline:hover {
  background: white;
  color: var(--primary-green-dark);
}

/* Default: Hide mobile menu toggle on desktop */
.m-menu,
.mobile-menu-footer {
  display: none;
}

/* Mobile Navigation & Hamburger Styles */
@media (max-width: 992px) {
  .m-menu {
    display: block;
  }

  .header-wrap {
    display: grid;
    grid-template-columns: 1fr auto auto; /* Logo takes space, others auto */
    align-items: center;
    padding: 15px;
    gap: 10px;
  }

  .header-left {
    order: 1; /* Logo First */
    display: flex;
    flex-direction: row; /* Icon and text side-by-side if they fit, or keep styled */
    align-items: center; /* Vertically center */
    justify-content: flex-start; /* Align left */
    text-align: left;
    margin: 0;
    gap: 10px;
  }

  .header-right {
    order: 2; /* Donation Button Second */
    margin: 0;
  }

  .m-menu {
    order: 3; /* Hamburger Menu Last (Far Right) */
    display: block;
    margin-left: 5px;
  }

  .logo {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .header-text h1,
  .header-text .site-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
  }

  .header-text p:not(.hijri-date) {
    margin: 4px 0 0;
    font-size: 16px;
    opacity: 0.95;
    color: var(--white);
    line-height: 1.5;
  }

  .menu-toggle {
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    transition: all 0.3s ease;
  }

  .menu-toggle .material-symbols-outlined {
    font-size: 24px;
  }

  .menu-toggle:hover,
  .menu-toggle.active {
    background: rgba(6, 95, 70, 0.12);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
  }

  section {
    padding: 60px 15px;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero h2 {
    font-size: 26px;
  }

  .hero p {
    font-size: 14px;
  }

  .grid,
  .publications-grid,
  .articles-grid,
  .book-sales-grid,
  .darbar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  .about-buttons {
    flex-direction: column;
    align-items: center;
  }

  nav {
    display: block; /* Remove flex column */
    position: relative;
  }

  .nav-header-mobile {
    display: flex !important; /* Force visibility */
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--primary-green-dark);
    flex-shrink: 0; /* Prevent squashing */
    z-index: 10;
  }

  .nav-title {
    color: var(--accent-gold);
    font-size: 18px;
    font-weight: 700;
  }

  .close-menu {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
  }

  .close-menu .material-symbols-outlined {
    font-size: 24px;
    transition: color 0.3s ease;
  }

  .close-menu:hover .material-symbols-outlined {
    color: var(--accent-gold);
  }

  .nav-wrap {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    height: 100vh;
    background: var(--primary-green);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
    max-height: none; /* Override previous style */
    opacity: 1; /* Override previous style */
    padding: 0;
    overflow-y: auto; /* Ensure menu is scrollable if long */
  }

  /* Admin Bar adjustments for Mobile Menu */
  .admin-bar .nav-wrap {
    top: 32px;
    height: calc(100vh - 32px);
  }

  @media screen and (max-width: 782px) {
    .admin-bar .nav-wrap {
      top: 46px;
      height: calc(100vh - 46px);
    }
  }

  @media screen and (max-width: 600px) {
    .admin-bar .nav-wrap {
      top: 46px; /* Admin bar is usually 46px on small screens */
      height: calc(100vh - 46px);
    }
  }

  .nav-wrap.active {
    transform: translateX(0);
    max-height: none;
  }

  /* Nav Overlay Styles */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark semi-transparent background */
    backdrop-filter: blur(4px); /* Blur effect */
    z-index: 999; /* Below nav-wrap (1000) but above everything else */
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    justify-content: flex-start; /* Override desktop center - THIS was the bug */
    width: 100%;
    gap: 0;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    overflow-anchor: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu-footer {
    display: block; /* Show on mobile */
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--primary-green-dark);
    margin-top: auto; /* Push to bottom */
    flex-shrink: 0; /* Prevent squashing */
  }

  .donation-btn.full-width {
    width: 100%;
    justify-content: center;
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-green-dark);
    display: flex; /* Ensure flex layout */
    align-items: center;
    gap: 8px;
  }

  .donation-text {
    display: inline-block !important; /* Force visibility */
    color: var(--primary-green-dark);
    font-size: 14px;
    font-weight: 700;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-item > a {
    padding: 12px 20px;
    font-size: 14px;
    display: flex;
    justify-content: flex-start; /* Align content to start (left) */
    align-items: center;
    line-height: 1.4;
    gap: 15px; /* Space between icon and text */
  }

  /* Push dropdown arrow to the right */
  .nav-item.has-dropdown > a::before {
    margin-left: auto;
  }

  .nav-item.has-dropdown.active > a::before {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    visibility: visible;
    opacity: 0;
    transform: none;
    display: block;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    padding: 0; /* padding reset */
    transition:
      max-height 0.4s ease-in-out,
      opacity 0.3s ease;
  }

  .nav-item.active .dropdown-menu {
    max-height: 1000px;
    opacity: 1;
  }

  .dropdown-menu a {
    padding: 12px 20px 12px 40px; /* indent for hierarchy */
    font-size: 14px;
    border-bottom: none;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    margin: 2px 0;
    text-align: left; /* Aligned left as requested */
    color: rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 600px) {
  .grid,
  .publications-grid,
  .archive-grid,
  .articles-grid,
  .book-sales-grid,
  .contact-grid,
  .darbar-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Video Thumbnail & Play Button */
.video-thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-thumb img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-thumb::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.card:hover .video-thumb img {
  transform: scale(1.1);
}

.card:hover .video-thumb::after {
  background: rgba(0, 0, 0, 0.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--primary-green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.play-button span {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid white;
  margin-left: 5px;
}

.card:hover .play-button {
  background: #168a54;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Video Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================
   NEW FOOTER COMPONENT
   ========================================== */
.main-footer {
  background: #022c22;
  color: var(--white);
  padding: 80px 0 0;
  font-size: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  text-align: left; /* Override existing footer center alignment */
}

/* Override existing footer padding if necessary */
footer.main-footer {
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  padding: 0 15px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.footer-logo .icon {
  font-size: 32px;
  color: var(--accent-gold);
}

.footer-logo h2 {
  color: var(--white);
  font-size: 24px;
  margin: 0;
  font-weight: 700;
}

.footer-brand-logo {
  max-height: 100px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-gold);
  color: #022c22;
  transform: translateY(-3px);
}

/* Footer Columns */
.footer-heading {
  color: var(--accent-gold);
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 700;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  display: block;
  text-decoration: none;
}

.footer-links-list a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

/* Footer Contact */
.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-contact-info .icon-sm {
  color: var(--accent-gold);
  font-size: 18px;
}

.footer-newsletter {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}

.footer-newsletter input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--white);
  outline: none;
  transition: var(--transition);
  font-family: "Noto Serif Bengali", serif;
}

.footer-newsletter input:focus {
  border-color: var(--accent-gold);
  background: rgba(6, 95, 70, 0.12);
}

.footer-newsletter button {
  background: var(--accent-gold);
  color: #022c22;
  border: none;
  border-radius: 10px;
  width: 48px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-newsletter button:hover {
  background: #f3cf65;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 15px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  background: rgba(0, 0, 0, 0.1);
}

.footer-bottom-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1280px;
  margin: auto;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* ==========================================
   MAHFIL SECTION STYLES
   ========================================== */

/* Animation Keyframes */
@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.live-pulse {
  animation: pulse-red 2s infinite;
}

/* Mahfil Hero Section */
.mahfil-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 0;
  text-align: center;
}

.mahfil-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 50%, var(--accent-gold) 0%, transparent 70%);
}

.mahfil-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.live-dot {
  width: 10px;
  height: 10px;
  background: #dc2626;
  border-radius: 50%;
}

.live-text {
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mahfil-hero h2 {
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.mahfil-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  max-width: 768px;
  line-height: 1.6;
}

/* Featured Live Video Card */
.featured-live-card {
  max-width: 1280px;
  margin: -40px auto 0;
  padding: 0 20px 80px;
  position: relative;
  z-index: 20;
}

.live-video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(212, 175, 55, 0.3);
  position: relative;
}

.live-video-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s;
}

.live-video-cover-bg {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%), url("https://lh3.googleusercontent.com/aida-public/AB6AXuD77dJ_I5-PaRJ18gPNQY4ksd-a_8nEXYHhxv9eTOZSO_UB2uE0g4tfkSVN27ZXV4sQ6ThguV64iHxLsIr-iXhjl5RgVfDSEZYm9MZaFwaDYtL8hUUX9kKFvkyOoQ4SkIzsEW1jM4f0xQJL7peSb08sd3r-o5A1pNWw_J-J0LjDXXCYHn8y3N1uUqX-fwLbq4ITw6vGPjEsXiObdAlokzGB8GLbLJLfgMzeo1L5TUX2fGuGcaXk6cXGNK7uYF9KebJz2QVMV0TftUc");
}

.video-inplace iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 50;
}

.live-video-wrapper:hover .live-video-cover {
  transform: scale(1.05);
}

.live-play-btn-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.live-play-btn {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.7);
  color: var(--background-dark);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.live-play-btn:hover {
  transform: scale(1.1);
  background: var(--accent-gold);
}

.live-play-btn .material-symbols-outlined {
  font-size: 48px;
}

.live-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, black, rgba(0, 0, 0, 0.8), transparent);
}

.live-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.live-indicator {
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-indicator-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.live-title {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.live-viewer-count {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.live-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  margin-top: 16px;
}

.live-progress {
  height: 100%;
  background: var(--accent-gold);
  border-radius: 9999px;
  width: 65%;
  position: relative;
}

.live-progress::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}

/* YouTube Style Layout - New Video Section */
.mahfil-video-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

/* Main Video Section */
.mahfil-main-video {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-meta-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-status {
  display: flex;
  align-items: center;
  gap: 15px;
}

.live-badge-sm {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #ef4444;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.video-meta-details {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 500;
}

.video-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sidebar Videos (Playlist Style) */
.mahfil-sidebar-videos {
  display: flex;
  flex-direction: column;
}

.sidebar-heading {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-video-card {
  display: flex;
  gap: 12px;
  background: transparent;
  padding: 8px 0;
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
  transition: all 0.2s ease;
  cursor: pointer;
}

.sidebar-video-card:last-child {
  border-bottom: none;
}

.sidebar-video-card:hover {
  background: rgba(6, 95, 70, 0.03);
}

/* Redesigned Video Layout Components */
.video-player-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 30px;
}

.video-main-info {
  padding: 24px;
  border-top: 1px solid #f0f0f0;
}

.video-title-main {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.3;
  margin-bottom: 20px;
}

.video-stats-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f5f5f5;
}

.vs-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.vs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.vs-item.speaker span:last-child {
  font-weight: 600;
  color: var(--primary-green);
}

.vs-item .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary-green);
}

.video-actions-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.vs-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  color: #475569;
}

.vs-tags a {
  color: var(--primary-green);
  font-weight: 600;
}

.video-description-section {
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  margin-bottom: 30px;
}

.video-tag-box {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.v-nav-card {
  padding: 16px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.v-nav-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-green);
  box-shadow: 0 6px 18px rgba(22, 101, 52, 0.1);
}

.v-dir {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}

.v-nav-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-green);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v-nav-card.next { text-align: right; }
.v-nav-card.next .v-dir { justify-content: flex-end; }

/* Playlist Sidebar Widget */
.playlist-widget-card {
  padding: 0 !important;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.widget-title-flex {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px !important;
}

.widget-title-flex span:last-child {
  font-size: 14px;
}

.playlist-entries {
  max-height: 480px;
  overflow-y: auto;
}

.playlist-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  color: #475569;
  text-decoration: none !important;
}

.playlist-entry:last-child { border-bottom: none; }

.playlist-entry:hover {
  background: #f8fafc;
  color: var(--primary-green);
}

.playlist-entry.is-active {
  background: #f0fdf4;
  color: var(--primary-green);
  border-left: 4px solid var(--primary-green);
}

.playlist-entry .idx {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  width: 20px;
}

.playlist-entry .title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.playlist-entry .play-icon, 
.playlist-entry .now-icon {
  font-size: 18px;
}

/* Sidebar Highlight Widget */
.speaker-highlight-widget {
  text-align: center;
  padding: 30px 24px !important;
}

.shw-avatar {
  background: #f0fdf4;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.shw-avatar .material-symbols-outlined {
  font-size: 40px;
  color: var(--primary-green);
}

.shw-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 5px;
}

.shw-role {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.shw-stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 20px;
}

.shw-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-green);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.shw-btn:hover {
  background: var(--dark-green);
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.2);
}

.section-title-alt {
  margin-bottom: 20px;
  border-left: 5px solid var(--primary-green);
  padding-left: 15px;
}

.section-title-alt h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-green);
}

.related-meta-sm {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  margin-top: 5px;
}

.related-meta-sm .dot {
  width: 4px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 50%;
}


.sidebar-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-video-card .sidebar-thumb-wrapper {
  width: 120px;
  min-width: 120px;
}

.sidebar-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-card-content {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-card-content h4 {
  color: var(--text-dark);
  font-size: 14px;
  margin: 0 0 4px;
  line-height: 1.5;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-meta {
  color: var(--text-light);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sidebar-thumb-wrapper .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: all 0.3s ease;
}

.sidebar-video-card:hover .play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.sidebar-thumb-wrapper .play-icon-lg {
  font-size: 32px;
  color: var(--accent-gold);
  opacity: 0.8;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.sidebar-video-card:hover .play-icon-lg {
  opacity: 1;
  transform: scale(1.1);
}

.sidebar-view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s ease;
}

.sidebar-view-more-btn:hover {
  background: var(--white);
  color: var(--primary-green-dark);
  border-color: var(--white);
}

.sidebar-view-more-btn .material-symbols-outlined {
  font-size: 18px;
}

/* Moved Inline Styles */
.featured-audio-card {
  margin-bottom: 20px;
}

.audio-badge .material-symbols-outlined,
.video-badge .material-symbols-outlined {
  font-size: 14px;
}

.video-status-title {
  margin: 0;
  font-size: 20px;
  color: white;
}

.audio-status-details {
  margin-left: 20px;
  color: white;
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 14px;
}

.audio-status-details .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
}

.audio-title-icon {
  vertical-align: middle;
  margin-right: 5px;
}

.sidebar-player-btn-reset {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin-right: 10px !important;
}

.live-video-cover {
  position: absolute;
  inset: 0;
}

.live-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* Schedule Section */
.mahfil-schedule-section {
  width: 100%;
  position: relative;
  z-index: 1;
}

.schedule-list {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.section-header h2 {
  color: var(--white);
  font-size: 30px;
  font-weight: 700;
  margin: 0;
}

.schedule-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.schedule-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.schedule-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  text-align: center;
  border-right: 1px solid rgba(212, 175, 55, 0.2);
  padding-right: 24px;
}

.date-day {
  display: block;
  color: var(--accent-gold);
  font-size: 30px;
  font-weight: 700;
}

.date-month {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.schedule-info {
  flex: 1;
  flex: 1;
  text-align: left;
}

.schedule-info h4 {
  color: var(--white);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 8px;
}

.schedule-location {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}

.schedule-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 140px;
}

.time-text {
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
}

.day-text {
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 500;
}

.reminder-btn {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  color: var(--white);
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-top: 10px;
  font-family: inherit;
}

.reminder-btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--primary-green-dark);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .schedule-card {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Mahfil Utilities */
.mahfil-section-full {
  padding-bottom: 20px;
}

.mahfil-main-container {
  max-width: 1280px;
  margin: 40px auto 0;
  position: relative;
  z-index: 20;
}

.live-icon-filled {
  font-variation-settings: "FILL" 1;
}

.live-icon-sm {
  font-size: 14px;
}

.schedule-header-icon {
  color: var(--accent-gold);
  font-size: 36px;
}

.schedule-location-icon {
  color: var(--accent-gold);
}

/* Past Schedule Card Styles */
.schedule-card.past-event {
  opacity: 0.8;
}

.schedule-card.past-event .date-day,
.schedule-card.past-event .schedule-location,
.schedule-card.past-event .day-text,
.schedule-card.past-event .material-symbols-outlined {
  color: rgba(255, 255, 255, 0.4);
}

.schedule-card.past-event .schedule-info h4,
.schedule-card.past-event .time-text {
  color: var(--primary-green-dark);
}

/* ==========================================
   MEDIA TABS (Video / Audio)
   ========================================== */
.unified-media-section {
  background-color: var(--background-dark);
  position: relative;
  overflow: hidden;
  padding: 50px 0 30px 0;
}

.unified-media-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 50%, var(--accent-gold) 0%, transparent 70%);
  z-index: 0;
}

.media-tabs-wrapper {
  position: relative;
  z-index: 1;
}

.media-tab-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.media-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s ease;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.media-tab-btn .material-symbols-outlined {
  font-size: 22px;
  transition: color 0.35s ease;
}

.media-tab-btn:hover {
  background: rgba(6, 95, 70, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.media-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-gold), #c9952e);
  color: #1a1a2e;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.media-tab-btn.active .material-symbols-outlined {
  color: #1a1a2e;
}

/* Tab Content */
.media-tab-content {
  display: none;
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.media-tab-content.active {
  display: block;
  animation: tabFadeIn 0.4s ease;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   AUDIO SECTION
   ========================================== */
.audio-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.mahfil-audio-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 30px;
}

.audio-main-content {
  display: flex;
  flex-direction: column;
}

.audio-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Updated Audio Card for Sidebar */
.audio-card-sidebar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.audio-card-sidebar:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.audio-card-sidebar h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.4;
}

.audio-card-sidebar .player-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.audio-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.audio-section-header .material-symbols-outlined {
  color: var(--accent-gold);
  font-size: 36px;
}

.audio-section-header h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

/* Featured Audio Player */
.featured-audio-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 20px;
  display: flex;
  gap: 28px;
  align-items: center;
  transition: all 0.3s ease;
}

.featured-audio-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.featured-audio-cover {
  width: 180px;
  height: 180px;
  min-width: 180px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.featured-audio-cover::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(255, 255, 255, 0.05) 4px, rgba(255, 255, 255, 0.05) 6px);
}

.featured-audio-cover .material-symbols-outlined {
  font-size: 64px;
  color: var(--accent-gold);
  z-index: 1;
}

.featured-audio-info {
  flex: 1;
}

.title-badge-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 12px;
}

.featured-audio-info .audio-badge,
.video-status .audio-badge,
.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.featured-audio-info h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.speaker-details-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}

.featured-audio-info .audio-speaker {
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.featured-audio-info .audio-details {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.featured-audio-info .audio-details span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.featured-audio-info .audio-details .material-symbols-outlined {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.audio-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent-gold), #c9952e);
  color: #1a1a2e;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.audio-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.audio-play-btn .material-symbols-outlined {
  font-size: 22px;
  color: #1a1a2e;
}

/* Inline Audio Player */
.audio-player {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.featured-audio-card .audio-player {
  margin-top: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* For grid cards top alignment */
.audio-card-top .player-controls {
  margin-left: auto;
  gap: 8px;
}

.player-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  background: transparent;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.player-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--accent-gold);
  transform: scale(1.08);
}

.player-btn .material-symbols-outlined {
  font-size: 20px;
}

.player-btn-main {
  width: 46px;
  height: 46px;
  background: var(--accent-gold);
  color: #1a1a2e;
  border-color: var(--accent-gold);
}

.player-btn-main:hover {
  background: #e6c344;
  border-color: #e6c344;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}

/* Fix for Sidebar audio player buttons */
.audio-card .player-btn-main {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--accent-gold) !important;
  padding: 0;
  width: auto;
  height: auto;
}

.audio-card .player-btn-main:hover {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--white) !important;
  transform: scale(1.1);
}

.player-btn-main .material-symbols-outlined {
  font-size: 24px;
}

.player-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.audio-card .player-progress {
  margin-top: 15px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.player-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 500;
  min-width: 35px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.player-seek {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: rgba(6, 95, 70, 0.12);
  outline: none;
  cursor: pointer;
}

.player-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 1.5px solid #fff;
  cursor: pointer;
}

.player-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 1.5px solid #fff;
  cursor: pointer;
}

/* Audio Grid */
.audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.audio-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.featured-audio-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.title-badge-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 12px;
}

.speaker-details-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}

/* Featured Player Refinement */
#featured-audio-player.audio-player {
  background: rgba(255, 255, 255, 0.04);
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  align-items: center;
}

#featured-audio-player .player-controls {
  justify-content: center;
  margin-bottom: 12px;
}

/* Grid Player Refinement */
.audio-card .player-progress {
  margin-top: 15px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.audio-card-top .player-controls {
  margin-left: auto;
}

.audio-card-top .player-btn {
  width: 34px;
  height: 34px;
}

.audio-card-top .player-btn-main {
  width: 40px;
  height: 40px;
}

.audio-card-top .player-btn .material-symbols-outlined {
  font-size: 18px;
}

.audio-card-top .player-btn-main .material-symbols-outlined {
  font-size: 22px;
}

.audio-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.audio-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-card-icon .material-symbols-outlined {
  font-size: 26px;
  color: var(--accent-gold);
}

.audio-card-duration {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 500;
}

.audio-card-duration .material-symbols-outlined {
  font-size: 14px;
  vertical-align: text-bottom;
  margin-right: 3px;
}

.audio-card h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  margin: 0 0 6px;
  line-height: 1.5;
}

.audio-card .audio-card-speaker {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.audio-card .audio-card-speaker .material-symbols-outlined {
  font-size: 14px;
  color: var(--accent-gold);
}

/* Small Audio Card Play Button */
.audio-card-play-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--accent-gold);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.audio-card-play-btn .material-symbols-outlined {
  font-size: 32px;
  opacity: 0.8;
}

.audio-card-play-btn:hover {
  transform: scale(1.1);
}

.audio-card-play-btn:hover .material-symbols-outlined {
  opacity: 1;
}

/* Small Audio Player Adjustment */
.audio-player-small {
  margin-top: 15px;
  padding: 12px 15px;
  gap: 10px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.audio-player-small .player-btn-main {
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.audio-player-small .player-btn-main .material-symbols-outlined {
  font-size: 22px;
}

.audio-player-small .player-progress {
  gap: 8px;
}

.audio-player-small .player-time {
  font-size: 11px;
  min-width: 32px;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

/* Max Width 1024px */
@media (max-width: 1024px) {
  .mahfil-video-layout {
    grid-template-columns: 1fr;
  }

  .mahfil-audio-layout {
    grid-template-columns: 1fr;
  }

  .recent-mahfil-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Max Width 992px */
@media (max-width: 992px) {
  .unified-media-section {
    padding: 50px 15px;
  }
}

/* Max Width 768px */
@media (max-width: 768px) {
  /* Header & Donation */
  .header-wrap {
    justify-content: space-between;
  }

  .donation-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  .donation-btn .material-symbols-outlined {
    font-size: 20px;
  }

  .donation-text {
    display: none;
  }

  /* Mahfil Hero */
  .mahfil-hero h2 {
    font-size: 28px;
  }
  .mahfil-hero p {
    font-size: 14px;
  }

  /* Live Video */
  .live-title {
    font-size: 18px;
  }
  .live-play-btn {
    width: 64px;
    height: 64px;
  }
  .live-play-btn .material-symbols-outlined {
    font-size: 32px;
  }
  .live-info-overlay {
    padding: 20px;
  }

  /* Section Header */
  .section-header h2 {
    font-size: 24px;
  }

  /* Audio Section */
  .featured-audio-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .featured-audio-cover {
    width: 140px;
    height: 140px;
    min-width: 140px;
  }

  .featured-audio-info .audio-details {
    justify-content: center;
    flex-wrap: wrap;
  }

  .video-info-bar {
    text-align: center;
  }

  .video-meta-left {
    align-items: center;
    width: 100%;
  }

  .video-status {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .video-status-title {
    font-size: 18px;
    line-height: 1.4;
  }

  .audio-status-details {
    margin-left: 0;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 5px;
    width: 100%;
    margin-bottom: 20px;
  }

  .video-meta-details {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .media-tab-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .audio-grid {
    grid-template-columns: 1fr;
  }

  .schedule-date {
    border-right: none;
    padding-right: 0;
  }

  .schedule-info {
    text-align: center;
  }

  .schedule-location {
    justify-content: center;
  }

  .schedule-time {
    align-items: center;
  }
}

/* Max Width 640px */
@media (max-width: 640px) {
  .recent-mahfil-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Max Width 480px */
@media (max-width: 480px) {
  .donation-btn {
    padding: 8px 10px;
  }

  .donation-btn .material-symbols-outlined {
    font-size: 18px;
  }
}

.grand-cta-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(6, 95, 70, 0.1);
}

.grand-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 40px;
}

.grand-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-green-dark);
  line-height: 1.2;
}

.grand-stat-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.grand-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(6, 95, 70, 0.12);
}

/* Stats Row Responsive */
@media (max-width: 768px) {
  .grand-cta-stat-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .grand-stat-divider {
    display: none;
  }

  .grand-stat {
    padding: 0 20px;
  }
}

/* ==========================================
   PRAYER FLOATING WIDGET
   ========================================== */
.prayer-floating-btn {
  position: fixed;
  left: 24px;
  right: auto;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50px;
  background: linear-gradient(135deg, #054735, #043426);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(2, 44, 34, 0.45);
  cursor: pointer;
  z-index: 2100;
  transition: all 0.3s ease;
  font-family: inherit;
}

.prayer-floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(2, 44, 34, 0.5);
}

.prayer-floating-btn.is-right {
  left: auto;
  right: 24px;
  bottom: 92px; /* avoids overlap with existing scroll-top button */
}

.prayer-floating-btn.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.prayer-floating-icon {
  font-size: 24px;
  color: var(--accent-gold);
}

.prayer-floating-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

#prayer-floating-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

#prayer-floating-countdown {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.prayer-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 24, 18, 0.42);
  z-index: 2190;
}

.prayer-bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 20px;
  right: auto;
  width: min(420px, calc(100vw - 40px));
  background: var(--white);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -14px 36px rgba(2, 44, 34, 0.25);
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
  z-index: 2200;
  pointer-events: none;
}

.prayer-bottom-sheet.is-right {
  left: auto;
  right: 20px;
}

.prayer-bottom-sheet.open {
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 769px) {
  .prayer-bottom-sheet {
    top: auto;
    bottom: 96px;
    left: 24px;
    right: auto;
    width: 380px;
    border-radius: 20px;
    transform: translateY(15px) scale(0.95);
    opacity: 0;
    padding: 20px 24px;
    box-shadow: 0 14px 40px rgba(2, 44, 34, 0.25);
    transform-origin: bottom left;
  }

  .prayer-bottom-sheet.is-right {
    left: auto;
    right: 24px;
    bottom: 164px;
    transform-origin: bottom right;
  }

  .prayer-bottom-sheet.open {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .prayer-sheet-handle {
    display: none;
  }
}

.prayer-sheet-handle {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: #d6ddd9;
  margin: 2px auto 12px;
}

.prayer-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.prayer-sheet-header h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
  color: var(--primary-green-dark);
}

#prayer-sheet-location {
  margin: 6px 0 0;
  font-size: 14px;
  color: #60746c;
}

.prayer-sheet-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #eef7f2;
  color: var(--primary-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.prayer-sheet-meta {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #f5faf7;
  display: grid;
  gap: 4px;
  font-size: 14px;
  color: #335a4a;
}

#prayer-sheet-next {
  font-weight: 700;
  color: var(--primary-green-dark);
}

.prayer-times-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 46vh;
  overflow: auto;
}

.prayer-time-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dbece3;
  border-radius: 12px;
  background: #fbfdfc;
}

.prayer-time-item .prayer-name {
  font-size: 14px;
  color: #24483a;
}

.prayer-time-item .prayer-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.prayer-time-item.is-next {
  border-color: #9ed5bd;
  background: #ecf9f2;
}

.prayer-time-item.is-passed {
  opacity: 0.56;
}

.prayer-time-item.is-meta {
  background: #fff8e6;
  border-color: #f1ddb0;
}

@media (max-width: 768px) {
  .prayer-floating-btn {
    left: 14px;
    bottom: 14px;
    padding: 9px 12px;
    min-height: 54px;
  }

  .prayer-floating-btn.is-right {
    right: 14px;
    bottom: 82px;
  }

  .prayer-bottom-sheet {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    padding: 10px 14px calc(14px + env(safe-area-inset-bottom));
  }

  .prayer-bottom-sheet.is-right {
    right: 0;
  }

  /* Hide logo on mobile */
  .logo {
    display: none !important;
  }

  .header-right {
    display: flex;
    align-items: center;
  }
}

/* ==========================================
   CART & TOAST STYLES
   ========================================== */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--white);
  transition: color 0.3s ease;
  margin-right: 5px;
}
.header-cart-btn:hover {
  color: var(--accent-gold);
}
.header-cart-btn .cart-icon {
  font-size: 28px;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--accent-gold);
  color: #000;
  font-size: 12px;
  font-weight: bold;
  height: 20px;
  min-width: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Cart Modal */
.cart-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999; /* High enough to be over most things */
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* Handle WordPress Admin Bar overlap */
.admin-bar .cart-modal-overlay {
  top: 32px;
  height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .cart-modal-overlay {
    top: 46px;
    height: calc(100vh - 46px);
  }
}

@media screen and (max-width: 600px) {
  .admin-bar .cart-modal-overlay {
    top: 0;
    height: 100vh;
  }
}
.cart-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-modal-content {
  background: #fff;
  width: 100%;
  max-width: 400px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.cart-modal-overlay.active .cart-modal-content {
  transform: translateX(0);
}
.cart-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  background: #f8f6f1;
}
.cart-modal-header h2 {
  margin: 0;
  font-size: 20px;
  color: var(--primary-green-dark);
}
.cart-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-close-btn:hover {
  color: #d32f2f;
}
.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.empty-cart-msg {
  text-align: center;
  color: #888;
  margin-top: 50px;
}
.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}
.cart-item img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 15px;
  border: 1px solid #ddd;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-size: 14px;
  margin: 0 0 5px;
  color: #333;
  line-height: 1.3;
}
.cart-item-price {
  font-weight: bold;
  color: var(--primary-green);
}
.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.cart-qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}
.cart-qty-btn {
  background: #f8f6f1;
  border: none;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  transition: background 0.2s;
}
.cart-qty-btn:hover {
  background: #e5e5e5;
}
.cart-qty-text {
  width: 30px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #d32f2f;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: background 0.2s;
}
.cart-item-remove:hover {
  background: #fee2e2;
}
.cart-modal-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-green-dark);
}
.cart-checkout-btn {
  display: block;
  text-align: center;
  background: var(--primary-green);
  color: #fff;
  text-decoration: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}
.cart-checkout-btn:hover {
  background: var(--primary-green-dark);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast-message {
  background: var(--primary-green-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  animation:
    toastFadeIn 0.3s forwards,
    toastFadeOut 0.3s forwards 2.7s;
  font-size: 14px;
  font-weight: bold;
}
.toast-message .material-symbols-outlined {
  color: var(--accent-gold);
}

@keyframes toastFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toastFadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* ==========================================
   AUDIO ARCHIVE PAGE
   ========================================== */

/* Archive Hero */
.archive-hero {
  background:
    linear-gradient(rgba(6, 78, 59, 0.92), rgba(2, 44, 34, 0.95)),
    url("https://images.unsplash.com/photo-1584551246679-0daf3d275d0f?w=1600") center/cover;
  color: var(--white);
  text-align: center;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}

.archive-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent);
  pointer-events: none;
}

.archive-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.archive-hero h2 {
  font-size: 36px;
  margin-bottom: 14px;
  font-weight: 700;
  color: #ffffff;
}

.archive-hero p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
}

/* Archive Section */
.archive-section {
  background: #f7faf8;
  padding: 40px 15px 80px;
}

/* Breadcrumb */
.archive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  background: #f7faf8;
}

.archive-breadcrumb a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.archive-breadcrumb a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

.breadcrumb-sep {
  font-size: 14px;
  color: #aaa;
}

.breadcrumb-current {
  color: var(--text-light);
  font-weight: 500;
}

/* Archive Layout (2.75fr : 1.25fr) */
.archive-layout {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.archive-layout .archive-main {
  flex: 2.75;
  position: relative;
  min-width: 0;
}

.archive-layout .archive-sidebar {
  flex: 1.25;
  position: relative;
  min-width: 0;
  max-width: 100%;
}

/* Archive Main Column */
.archive-main {
  min-width: 0;
}

/* Toolbar */
.archive-toolbar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.archive-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 12px;
  padding: 10px 16px;
  transition: border-color 0.3s;
}

.archive-search-bar:focus-within {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

/* Year Filter Dropdown */
.archive-count-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 20px;
}

.year-dropdown {
  position: relative;
  display: inline-block;
}

.year-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light-green);
  border: 1px solid rgba(6, 95, 70, 0.12);
  padding: 6px 18px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--primary-green-dark);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  line-height: 1;
}

.year-dropdown-btn:hover {
  background: var(--light-green-alt);
  border-color: rgba(6, 95, 70, 0.25);
}

.year-dropdown-btn .material-symbols-outlined {
  font-size: 18px;
}

.year-dropdown-btn .arrow {
  transition: transform 0.3s ease;
}

.year-dropdown.active .year-dropdown-btn .arrow {
  transform: rotate(180deg);
}

.year-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  border-radius: 10px;
  z-index: 100;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: fadeInDown 0.2s ease-out;
}

.year-dropdown.active .year-dropdown-content {
  display: block;
}

.year-dropdown-content a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.2s;
}

.year-dropdown-content a:last-child {
  border-bottom: none;
}

.year-dropdown-content a:hover {
  background: var(--light-green);
  color: var(--primary-green-dark);
}

.year-dropdown-content a.active {
  background: var(--primary-green-dark);
  color: var(--white);
}

.year-dropdown-content a .count {
  opacity: 0.6;
  font-size: 12px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.archive-search-bar .material-symbols-outlined {
  color: var(--primary-green);
  font-size: 22px;
}

.archive-search-input {
  border: none;
  outline: none;
  flex: 1;
  font-family: "Noto Serif Bengali", serif;
  font-size: 14px;
  color: var(--text-dark);
  background: transparent;
}

.archive-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.archive-sort-select {
  font-family: "Noto Serif Bengali", serif;
  font-size: 14px;
  padding: 10px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 10px;
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s;
  min-height: 44px;
}

.archive-sort-select:focus {
  border-color: var(--primary-green);
}

.archive-view-toggle {
  display: flex;
  overflow: hidden;
  background: var(--white);
}

@media (max-width: 768px) {
  .archive-view-toggle {
    display: none !important;
  }
}

.view-toggle-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.view-toggle-btn .material-symbols-outlined {
  font-size: 22px;
}

.view-toggle-btn.active {
  background: var(--primary-green-dark);
  color: var(--white);
}

.view-toggle-btn:not(.active):hover {
  background: var(--light-green);
  color: var(--primary-green-dark);
}

/* Audio Count Badge */
.archive-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-green);
  color: var(--primary-green-dark);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  border: 1px solid rgba(6, 95, 70, 0.12);
  line-height: 1;
}

.archive-count-badge .material-symbols-outlined {
  font-size: 18px;
}

/* Featured Audio on Archive */
.archive-featured {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.12);
  box-shadow: 0 8px 24px rgba(6, 95, 70, 0.08);
}

.archive-featured .featured-audio-cover {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
}

.archive-featured .featured-audio-info h3 {
  color: var(--primary-green-dark);
}

.archive-featured .audio-badge {
  background: rgba(6, 95, 70, 0.1);
  color: var(--primary-green-dark);
}

.archive-featured .audio-speaker {
  color: var(--primary-green);
}

.archive-featured .audio-details {
  color: var(--text-light);
}

.archive-featured .audio-details .material-symbols-outlined {
  color: var(--primary-green-light);
}

.archive-featured .audio-player,
.single-audio-player-card .audio-player {
  background: transparent;
  border: none;
}

.archive-featured .player-time,
.single-audio-player-card .player-time {
  color: var(--text-light);
}

.archive-featured .player-seek,
.single-audio-player-card .player-seek {
  background: rgba(6, 95, 70, 0.15);
}

.archive-featured .player-btn,
.single-audio-player-card .player-btn {
  border-color: rgba(6, 95, 70, 0.25);
  color: var(--primary-green-dark);
}

.archive-featured .player-btn:hover,
.single-audio-player-card .player-btn:hover {
  background: rgba(6, 95, 70, 0.1);
  border-color: var(--primary-green);
}

.archive-featured .player-btn-main,
.single-audio-player-card .player-btn-main {
  background: var(--primary-green-dark);
  color: var(--white);
  border-color: var(--primary-green-dark);
}

.archive-featured .player-btn-main:hover,
.single-audio-player-card .player-btn-main:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
}

/* Archive Audio Grid */
.archive-audio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Archive Audio Card */
.archive-audio-card {
  background: var(--white) !important;
  border: 1.5px solid rgba(6, 95, 70, 0.1) !important;
  border-radius: 16px;
  padding: 22px !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(6, 95, 70, 0.06);
}

.archive-audio-card:hover {
  border-color: rgba(6, 95, 70, 0.25) !important;
  box-shadow: 0 8px 24px rgba(6, 95, 70, 0.12);
  transform: translateY(-3px);
}

.archive-audio-card.special-highlight,
.archive-video-card.special-highlight {
  border: 1.5px solid var(--accent-gold) !important;
  background: linear-gradient(135deg, #ffffff, #fffdf0) !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15) !important;
}

.archive-audio-card.special-highlight .audio-card-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
}

.archive-audio-card.special-highlight .audio-card-icon .material-symbols-outlined {
  color: #b8860b;
}

.archive-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.archive-audio-card .audio-card-icon {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.1), rgba(6, 95, 70, 0.05));
}

.archive-audio-card .audio-card-icon .material-symbols-outlined {
  color: var(--primary-green);
}

.archive-card-info {
  flex: 1;
  min-width: 0;
}

.archive-card-info h4 {
  color: var(--primary-green-dark) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  margin: 0 0 6px !important;
  line-height: 1.5;
}

.archive-audio-card .audio-card-speaker {
  color: var(--text-light) !important;
  font-size: 14px;
}

.archive-audio-card .audio-card-speaker .material-symbols-outlined {
  color: var(--primary-green-light) !important;
}

.archive-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
}

.archive-audio-card .audio-card-duration {
  color: var(--text-light);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.archive-audio-card .audio-card-duration .material-symbols-outlined {
  font-size: 14px;
  color: var(--primary-green-light);
}

.archive-audio-card .player-progress {
  background: var(--light-green) !important;
  border-radius: 10px;
  padding: 10px 14px !important;
  margin-top: 0 !important;
}

.archive-audio-card .player-time {
  color: var(--text-light) !important;
}

.archive-audio-card .player-btn-main {
  color: var(--primary-green-dark) !important;
}

.archive-audio-card .player-btn-main:hover {
  color: var(--primary-green) !important;
}

/* List View */
.archive-audio-grid.list-view {
  grid-template-columns: 1fr;
}

.archive-audio-grid.list-view .archive-audio-card {
  display: grid;
  grid-template-columns: 1fr auto 320px;
  gap: 15px;
  align-items: center;
}

.archive-audio-grid.list-view .archive-card-top {
  margin-bottom: 0;
}

.archive-audio-grid.list-view .archive-card-meta {
  margin: 0;
  padding: 0;
  border: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.archive-audio-grid.list-view .player-progress {
  margin: 0;
  min-width: 200px;
  padding: 12px 18px;
  background: rgba(6, 95, 70, 0.04);
  border-radius: 12px;
}

/* Pagination */
.archive-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 10px;
  background: var(--white);
  color: var(--primary-green-dark);
  font-family: "Noto Serif Bengali", serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  gap: 6px;
}

.pagination-btn:hover {
  background: var(--light-green);
  border-color: var(--primary-green);
  transform: translateY(-1px);
}

.pagination-btn.active {
  background: var(--primary-green-dark);
  color: var(--white);
  border-color: var(--primary-green-dark);
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.2);
}

.pagination-dots {
  color: var(--text-light);
  font-size: 18px;
  padding: 0 4px;
}

.pagination-next .material-symbols-outlined {
  font-size: 18px;
}

/* ==========================================
   ARCHIVE SIDEBAR
   ========================================== */

/* Pure CSS Sticky Column Inner */
.col-inner {
  position: -webkit-sticky;
  position: sticky;
  top: 20px;
}
.sidebar-widget {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

.sidebar-widget:hover {
  border-color: rgba(6, 95, 70, 0.2);
}

.sidebar-widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-green);
}

.sidebar-widget-title .material-symbols-outlined {
  font-size: 22px;
  color: var(--primary-green);
}
/* Sidebar Filter List (Speakers) */
.sidebar-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-filter-list li {
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
}

.sidebar-filter-list li:last-child {
  border-bottom: none;
}

.sidebar-filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-dark);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-filter-list a:hover {
  color: var(--primary-green-dark);
  padding-left: 6px;
}

.filter-count {
  background: var(--light-green);
  color: var(--primary-green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  min-width: 30px;
  text-align: center;
}

/* Sidebar Tags (Categories) */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-green-dark);
  text-decoration: none;
  transition: all 0.25s;
  background: var(--white);
}

.sidebar-tag:hover {
  background: var(--primary-green-dark);
  color: var(--white);
  border-color: var(--primary-green-dark);
  transform: translateY(-1px);
}

/* Sidebar Date Filter */
.sidebar-date-select {
  width: 100%;
  font-family: "Noto Serif Bengali", serif;
  font-size: 14px;
  padding: 10px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.12);
  border-radius: 10px;
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s;
  min-height: 44px;
}

.sidebar-date-select:focus {
  border-color: var(--primary-green);
}

/* Popular Audio List */
.sidebar-popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-popular-list li {
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
}

.sidebar-popular-list li:last-child {
  border-bottom: none;
}

.sidebar-popular-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-popular-list a:hover {
  padding-left: 4px;
}

.popular-rank {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: var(--light-green);
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-popular-list li:first-child .popular-rank {
  background: var(--primary-green-dark);
  color: var(--white);
}

.popular-info {
  flex: 1;
  min-width: 0;
}

.popular-info h5 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.popular-info span {
  font-size: 12px;
  color: var(--text-light);
}

.popular-play {
  font-size: 26px;
  color: var(--primary-green-light);
  opacity: 0.6;
  transition: all 0.2s;
}

.sidebar-popular-list a:hover .popular-play {
  opacity: 1;
  color: var(--primary-green-dark);
  transform: scale(1.1);
}

/* Recent Uploads List */
.sidebar-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-recent-list li {
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
}

.sidebar-recent-list li:last-child {
  border-bottom: none;
}

.sidebar-recent-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-recent-list a:hover {
  padding-left: 4px;
}

.recent-icon {
  font-size: 22px;
  color: var(--primary-green);
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.recent-info {
  flex: 1;
  min-width: 0;
}

.recent-info h5 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.recent-info span {
  font-size: 12px;
  color: var(--text-light);
}

/* Newsletter Widget */
.sidebar-newsletter {
  background: linear-gradient(135deg, #f0fdf4, #e5f9ed) !important;
  text-align: center;
  border-color: rgba(6, 95, 70, 0.15) !important;
}

.sidebar-newsletter-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.sidebar-newsletter-icon .material-symbols-outlined {
  font-size: 28px;
}

.sidebar-newsletter h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0 0 8px;
}

.sidebar-newsletter p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 16px;
}

.sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-newsletter-form input {
  width: 100%;
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: "Noto Serif Bengali", serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  text-align: center;
}

.sidebar-newsletter-form input:focus {
  border-color: var(--primary-green);
}

.sidebar-newsletter-form .btn {
  width: 100%;
}

/* Related Video Card */
.related-video-card {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.related-video-card:hover {
  transform: translateY(-2px);
}

.related-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.related-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.related-video-card:hover .related-video-thumb img {
  transform: scale(1.05);
}

.related-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.related-video-card:hover .related-video-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.related-video-overlay .material-symbols-outlined {
  font-size: 48px;
  color: var(--white);
  opacity: 0.9;
}

.related-video-info {
  margin-bottom: 8px;
}

.related-video-info h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-green-dark);
}

.related-video-info p {
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
}

.related-arrow {
  color: var(--primary-green);
  font-size: 20px;
}

/* ==========================================
   ARCHIVE RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .archive-layout {
    display: block;
  }

  .col-inner {
    position: static !important;
    width: auto !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }

  .archive-audio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .archive-hero {
    padding: 60px 20px 45px;
  }

  .archive-hero h2 {
    font-size: 28px;
  }

  .archive-hero p {
    font-size: 14px;
  }

  .archive-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .archive-toolbar-right {
    justify-content: space-between;
  }

  .archive-audio-grid {
    grid-template-columns: 1fr;
  }

  .archive-featured {
    flex-direction: column;
    text-align: center;
    padding: 24px !important;
  }

  .archive-featured .featured-audio-cover {
    width: 120px;
    height: 120px;
    min-width: 120px;
    margin: 0 auto;
  }

  .archive-featured .speaker-details-wrapper {
    justify-content: center;
  }

  .archive-featured .audio-details {
    justify-content: center;
    flex-wrap: wrap;
  }

  .archive-audio-grid.list-view .archive-audio-card {
    grid-template-columns: 1fr;
  }

  .archive-audio-grid.list-view .player-progress {
    min-width: 0;
  }

  .archive-pagination {
    gap: 6px;
    margin-bottom: 40px;
  }

  .pagination-btn {
    min-width: 38px;
    min-height: 38px;
    font-size: 14px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .archive-card-meta {
    gap: 10px;
  }
}

/* ==========================================
   VIDEO ARCHIVE PAGE (video-archive.html)
   ========================================== */

/* Archive Video Grid */
.archive-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

/* Archive Video Card */
.archive-video-card {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.archive-video-card:hover {
  border-color: rgba(6, 95, 70, 0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.archive-video-thumb-wrap {
  position: relative;
}

.archive-video-thumb-wrap .sidebar-thumb-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: 14px;
}

.archive-video-thumb-wrap .sidebar-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.archive-video-card:hover .archive-video-thumb-wrap img {
  transform: scale(1.05);
}

/* Duration badge over thumbnail */
.video-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: "Noto Serif Bengali", serif;
  z-index: 2;
  pointer-events: none;
}

.archive-video-card-info {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-video-card-info h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-video-card-info h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.archive-video-card-info h4 a:hover {
  color: var(--primary-green-dark);
}

.archive-video-speaker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
}

.archive-video-speaker .material-symbols-outlined {
  font-size: 14px;
  color: var(--primary-green);
}

.archive-video-speaker a {
  color: var(--primary-green-dark);
  text-decoration: none;
  font-weight: 500;
}

.archive-video-speaker a:hover {
  text-decoration: underline;
}

.archive-video-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.archive-video-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-light);
}

.archive-video-meta .material-symbols-outlined {
  font-size: 14px;
  color: var(--primary-green-light);
}

/* List-view toggle for video grid */
.archive-video-grid.list-view {
  grid-template-columns: 1fr;
}

.archive-video-grid.list-view .archive-video-card {
  flex-direction: row;
  align-items: flex-start;
}

.archive-video-grid.list-view .archive-video-thumb-wrap {
  width: 50%;
}

.archive-video-grid.list-view .archive-video-card-info {
  padding: 15px 20px;
}

/* YouTube Subscribe Card */
.sidebar-youtube-card {
  background: linear-gradient(135deg, #fff1f1, #ffe4e4) !important;
  border-color: rgba(255, 0, 0, 0.12) !important;
  text-align: center;
}

.youtube-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ff0000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.youtube-card-icon .material-symbols-outlined {
  font-size: 30px;
}

.sidebar-youtube-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #c00;
  margin: 0 0 8px;
}

.sidebar-youtube-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 12px;
}

.youtube-subscriber-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.youtube-subscriber-count .material-symbols-outlined {
  font-size: 18px;
  color: #c00;
}

.youtube-subscriber-count strong {
  color: #c00;
}

.youtube-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff0000;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-family: "Noto Serif Bengali", serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.3s,
    transform 0.2s;
}

.youtube-subscribe-btn:hover {
  background: #c00;
  transform: translateY(-1px);
  color: #fff;
}

.youtube-subscribe-btn .material-symbols-outlined {
  font-size: 20px;
}

/* Upcoming Mahfil Schedule Card */
.sidebar-schedule-card .sidebar-schedule-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.sidebar-schedule-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(6, 95, 70, 0.07);
}

.sidebar-schedule-item:last-child {
  border-bottom: none;
}

.sidebar-schedule-date {
  min-width: 48px;
  width: 48px;
  height: 52px;
  background: var(--primary-green-dark);
  color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.schedule-day-num {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.schedule-month-name {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}

.sidebar-schedule-info {
  flex: 1;
  min-width: 0;
}

.sidebar-schedule-info h5 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.sidebar-schedule-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 5px;
}

.sidebar-schedule-time .material-symbols-outlined {
  font-size: 14px;
  color: var(--primary-green);
}

.sidebar-schedule-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}

.live-soon-badge {
  background: rgba(255, 68, 0, 0.1);
  color: #e53e00;
}

.sidebar-schedule-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  background: transparent;
  color: var(--primary-green-dark);
  font-family: "Noto Serif Bengali", serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
}

.sidebar-schedule-more-btn:hover {
  background: var(--primary-green-dark);
  color: #fff;
  border-color: var(--primary-green-dark);
}

.sidebar-schedule-more-btn .material-symbols-outlined {
  font-size: 18px;
}

/* Video Archive Responsive */
@media (max-width: 1024px) {
  .archive-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .archive-video-grid {
    grid-template-columns: 1fr;
  }

  .archive-video-grid.list-view .archive-video-card {
    flex-direction: column;
  }

  .archive-video-grid.list-view .archive-video-thumb-wrap {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================
   SINGLE AUDIO PAGE (single-audio.html)
   ========================================== */

/* Layout */
.single-audio-layout {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.single-audio-layout .single-audio-main {
  flex: 2.75;
  position: relative;
  min-width: 0;
}

.single-audio-layout .single-audio-sidebar {
  flex: 1.25;
  position: relative;
  min-width: 0;
}

/* Sticky sidebar handled by .col-inner mutual sticky logic */

/* ----- Full-size Player Card ----- */
.single-audio-player-card {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #e2f0ea;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.single-audio-cover {
  width: 110px;
  min-width: 110px;
  height: 110px;
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.single-audio-cover .material-symbols-outlined {
  font-size: 52px;
  width: auto;
  height: auto;
}

.single-audio-player-info {
  flex: 1;
  min-width: 0;
}

.single-audio-title {
  font-size: 1.35rem;
  color: var(--primary-green-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.single-audio-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 1rem;
}

.single-audio-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  color: #555;
}

.single-audio-meta-item .material-symbols-outlined {
  font-size: 14px;
  color: var(--primary-green);
}

/* ----- Section headings inside left column ----- */
.section-heading-sm {
  font-size: 1.05rem;
  color: var(--primary-green-dark);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ----- Share Section (Main Column) ----- */
.single-audio-share-wrap {
  background: #fff;
  border: 1px solid #e2f0ea;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.main-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.main-share-buttons .share-btn {
  flex: 1;
  min-width: 140px;
  justify-content: center;
}

@media (max-width: 480px) {
  .main-share-buttons .share-btn {
    min-width: 100%;
  }
}

/* ==========================================
   HQ SHARE SECTION — সব Single Page এর জন্য
   ========================================== */
.hq-share-section {
  background: #fff;
  border: 1px solid #e2f0ea;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hq-share-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-gold);
}

.hq-share-header h3 {
  font-size: 1rem;
  color: var(--primary-green-dark);
  margin: 0;
  font-weight: 700;
}

.hq-share-header .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-green);
}

.hq-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hq-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: "Noto Serif Bengali", serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  flex: 1;
  min-width: 130px;
  justify-content: center;
  white-space: nowrap;
}

.hq-share-facebook {
  background: #1877f2;
  color: #fff !important;
}

.hq-share-facebook:hover {
  background: #1464d8;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.3);
}

.hq-share-whatsapp {
  background: #25d366;
  color: #fff !important;
}

.hq-share-whatsapp:hover {
  background: #1ab553;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.hq-share-copy {
  background: var(--bg-light);
  color: var(--primary-green-dark);
  border: 1.5px solid #d1e8da;
}

.hq-share-copy:hover {
  background: var(--light-green-alt);
  border-color: var(--primary-green-light);
  transform: translateY(-2px);
}

.hq-share-copy.copied {
  background: var(--primary-green-dark);
  color: #fff;
  border-color: var(--primary-green-dark);
}

@media (max-width: 480px) {
  .hq-share-btn {
    min-width: 100%;
    flex: 1 1 100%;
  }
}

/* Download button (Audio page) */
.hq-share-download-wrap {
  margin-top: 8px;
  margin-bottom: 20px;
}

.hq-share-download {
  background: var(--primary-green-dark);
  color: #fff !important;
  flex: none;
  width: 100%;
}

.hq-share-download:hover {
  background: var(--primary-green);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(6, 95, 70, 0.25);
}

.section-heading-sm .material-symbols-outlined {
  font-size: 20px;
}

/* ----- Tags ----- */
.single-audio-tags {
  background: #fff;
  border: 1px solid #e2f0ea;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* ----- Prev/Next Navigation ----- */
.single-audio-nav {
  display: flex;
  gap: 20px;
  margin: 40px 0;
}

.single-audio-nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  min-width: 0; /* Important for ellipsis */
}

.single-audio-nav-btn:hover {
  background: #fdfdfd;
  border-color: var(--primary-green-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(6, 95, 70, 0.08);
}

.single-audio-nav-btn .material-symbols-outlined {
  font-size: 24px;
  color: var(--primary-green);
  transition: transform 0.3s ease;
}

.single-audio-nav-prev:hover .material-symbols-outlined {
  transform: translateX(-5px);
}

.single-audio-nav-next:hover .material-symbols-outlined {
  transform: translateX(5px);
}

.single-audio-nav-next {
  justify-content: flex-end;
  text-align: right;
}

.single-audio-nav-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.nav-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  opacity: 0.8;
}

.nav-title-sm {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .single-audio-nav {
    flex-direction: column;
    gap: 12px;
  }

  .single-audio-nav-btn {
    padding: 16px;
  }

  .single-audio-nav-next {
    flex-direction: row-reverse;
    justify-content: flex-start;
    text-align: left;
  }
}

/* ----- Related Audios Grid ----- */
.single-audio-related {
  background: #fff;
  border: 1px solid #e2f0ea;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.related-audio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.related-audio-card {
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ----- Comments ----- */
.single-audio-comments {
  background: #fff;
  border: 1px solid #e2f0ea;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.comment-item {
  display: flex;
  gap: 12px;
}

.comment-avatar {
  width: 42px;
  min-width: 42px;
  height: 42px;
  background: var(--light-green-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
}

.comment-avatar .material-symbols-outlined {
  font-size: 22px;
}

.comment-body {
  flex: 1;
  background: var(--bg-light);
  border-radius: 10px;
  padding: 12px 16px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 4px;
}

.comment-name {
  font-weight: 600;
  color: var(--primary-green-dark);
  font-size: 0.92rem;
}

.comment-date {
  font-size: 0.78rem;
  color: #888;
}

.comment-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* Comment Form */
.comment-form-wrap {
  border-top: 1px solid #e2f0ea;
  padding-top: 1.5rem;
}

.comment-form-title {
  font-size: 1rem;
  color: var(--primary-green-dark);
  margin-bottom: 1rem;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.comment-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.comment-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.comment-form-group input,
.comment-form-group textarea {
  padding: 10px 14px;
  border: 1px solid #c8e0d0;
  border-radius: 8px;
  font-family: "Noto Serif Bengali", serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  background: #fff;
}

.comment-form-group input:focus,
.comment-form-group textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.comment-form-group textarea {
  resize: vertical;
}

/* ===== RIGHT SIDEBAR - Speaker Card ===== */
.single-speaker-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
  color: #fff;
  border-radius: 12px;
  padding: 20px;
}

.single-speaker-card .sidebar-widget-title {
  display: none;
}

.speaker-avatar {
  width: 60px;
  min-width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.speaker-avatar .material-symbols-outlined {
  font-size: 32px;
}

.speaker-name {
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 4px;
}

.speaker-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.speaker-stats {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  gap: 4px;
  align-items: center;
}

.speaker-stats .material-symbols-outlined {
  font-size: 14px;
}

/* Speaker's other audios list */
.sidebar-speaker-audios {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-speaker-audios li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 8px;
  color: var(--text-dark);
  transition: var(--transition);
}

.sidebar-speaker-audios li a:hover {
  background: var(--bg-light);
  color: var(--primary-green-dark);
}

.sidebar-audio-icon {
  font-size: 22px !important;
  color: var(--primary-green);
  min-width: 22px;
}

.sidebar-audio-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sidebar-audio-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-audio-meta {
  font-size: 0.75rem;
  color: #888;
}

/* Playlist widget */
.sidebar-playlist-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.playlist-item:hover {
  background: var(--bg-light);
}

.active-playlist-item {
  background: var(--light-green-alt);
}

.playlist-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: #888;
  min-width: 18px;
}

.active-playlist-item .playlist-num {
  color: var(--primary-green);
}

.playlist-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.playlist-title {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-dark);
}

.active-playlist-item .playlist-title {
  color: var(--primary-green-dark);
  font-weight: 600;
}

.playlist-dur {
  font-size: 0.72rem;
  color: #999;
}

.playlist-playing-icon {
  font-size: 18px !important;
  color: var(--primary-green);
  animation: pulse-playing 1.2s ease-in-out infinite;
}

@keyframes pulse-playing {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.playlist-play-icon {
  font-size: 18px !important;
  color: #bbb;
}

.playlist-item:hover .playlist-play-icon {
  color: var(--primary-green);
}

/* Share buttons */
.sidebar-share-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: "Noto Serif Bengali", serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.share-facebook {
  background: #1877f2;
  color: #fff;
}

.share-facebook:hover {
  background: #1464d8;
  color: #fff;
}

.share-whatsapp {
  background: #25d366;
  color: #fff;
}

.share-whatsapp:hover {
  background: #1ab553;
  color: #fff;
}

.share-copy {
  background: var(--bg-light);
  color: var(--primary-green-dark);
  border: 1px solid #d1e8da;
  width: 100%;
  text-align: right;
  justify-content: flex-start;
}

.share-copy:hover {
  background: var(--light-green-alt);
}

/* Download button */
.sidebar-download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--primary-green-dark);
  color: #fff;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  flex-wrap: wrap;
}

.sidebar-download-btn:hover {
  background: var(--primary-green);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.download-count {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-right: auto;
}

/* All Audios CTA */
.sidebar-cta-widget {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sidebar-all-audios-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}

.sidebar-all-audios-btn:hover {
  opacity: 0.9;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.sidebar-all-audios-btn .material-symbols-outlined:last-child {
  margin-right: auto;
}

/* ===== RESPONSIVE Ã¢â‚¬â€ Single Audio ===== */
@media (max-width: 1024px) {
  .related-audio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .single-audio-layout {
    display: block;
  }

  .single-audio-player-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .single-audio-meta-row {
    justify-content: center;
  }

  .single-audio-nav {
    flex-direction: row;
    gap: 0.5rem;
  }

  .single-audio-nav-btn {
    padding: 12px 10px;
  }

  .nav-title-sm {
    font-size: 0.75rem;
  }

  .related-audio-grid {
    grid-template-columns: 1fr;
  }

  .comment-form-row {
    grid-template-columns: 1fr;
  }

  .title-badge-wrapper {
    justify-content: center;
  }
}

/* ==========================================
   SINGLE VIDEO PAGE (single-video.html)
   ========================================== */

/* Layout Ã¢â‚¬â€ reuses archive-section spacing; define unique grid */
.single-video-layout {
  display: grid;
  grid-template-columns: 2.75fr 1.25fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.single-video-main {
  position: relative;
  min-width: 0;
}

.single-video-sidebar {
  position: relative;
  min-width: 0;
}

/* Video Player Wrap */
.single-video-player-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  margin-bottom: 0;
  box-shadow: var(--shadow-md);
}

.single-video-player-wrap .live-video-wrapper {
  border-radius: 0;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.single-video-player-wrap .live-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.single-video-player-wrap .live-video-wrapper:hover .live-video-thumb {
  transform: scale(1.02);
}

/* Video Info Bar */
.single-video-info-bar {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 18px 22px 16px;
  margin-bottom: 16px;
}

.single-video-title-row {
  margin-bottom: 12px;
}

.single-video-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  line-height: 1.45;
  margin: 0 0 8px;
}

.single-video-meta-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.single-video-meta-details .video-meta-item a {
  color: var(--primary-green-dark);
  text-decoration: none;
  font-weight: 600;
}

.single-video-meta-details .video-meta-item a:hover {
  text-decoration: underline;
}

/* Meta Strip */
.single-video-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.sv-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--light-green);
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.sv-meta-chip .material-symbols-outlined {
  font-size: 14px;
  color: var(--primary-green);
}

/* Description */
.single-video-description {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.08);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
}

.single-video-description p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.8;
}

.single-video-description p:last-child {
  margin-bottom: 0;
}

/* Related Videos Grid (main column Ã¢â‚¬â€ 4 cards) */
.single-video-related {
  margin-bottom: 28px;
}

.related-video-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-vid-card {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.related-vid-card:hover {
  border-color: rgba(6, 95, 70, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.related-vid-thumb .sidebar-thumb-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
}

.related-vid-thumb .sidebar-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.related-vid-card:hover .related-vid-thumb img {
  transform: scale(1.05);
}

.related-vid-info {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-vid-info h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-vid-info h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.related-vid-info h4 a:hover {
  color: var(--primary-green-dark);
}

/* Related Audio Link Card (sidebar) */
.related-audio-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--light-green);
  padding: 14px;
  transition: all 0.3s;
}

.related-audio-link-card:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
}

.related-audio-link-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--primary-green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.related-audio-link-card:hover .related-audio-link-icon {
  background: rgba(255, 255, 255, 0.2);
}

.related-audio-link-icon .material-symbols-outlined {
  font-size: 26px;
}

.related-audio-link-info {
  flex: 1;
  min-width: 0;
}

.related-audio-link-info h5 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
  transition: color 0.3s;
}

.related-audio-link-card:hover .related-audio-link-info h5 {
  color: #fff;
}

.related-audio-link-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-light);
  transition: color 0.3s;
}

.related-audio-link-card:hover .related-audio-link-info p {
  color: rgba(255, 255, 255, 0.8);
}

.related-audio-link-card .related-arrow {
  color: var(--primary-green);
  font-size: 20px;
  transition: color 0.3s;
}

.related-audio-link-card:hover .related-arrow {
  color: #fff;
}

/* ===== RESPONSIVE Ã¢â‚¬â€ Single Video ===== */
@media (max-width: 1024px) {
  .single-video-layout {
    grid-template-columns: 1fr;
  }

  .single-video-sidebar .col-inner {
    position: static !important;
  }

  .related-video-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .single-video-title {
    font-size: 1.1rem;
  }

  .single-video-meta-strip {
    gap: 8px;
  }

  .sv-meta-chip {
    font-size: 12px;
    padding: 5px 10px;
  }

  .related-video-grid-cards {
    grid-template-columns: 1fr;
  }

  .single-audio-nav {
    flex-direction: row;
    gap: 0.5rem;
  }

  .single-audio-nav-btn {
    padding: 12px 10px;
  }
}

/* ==============================================
   BOOK ARCHIVE (book-archive.html)
   ============================================== */

/* ---- Book Archive Grid ---- */
.book-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 4px;
}

.book-archive-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(6, 95, 70, 0.09);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.book-archive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(6, 95, 70, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
}

/* ---- Star Ratings ---- */
.book-star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.book-star-rating .star {
  font-size: 17px;
  font-variation-settings:
    "FILL" 1,
    "wght" 400;
}

.book-star-rating .star.filled {
  color: #d4af37;
  font-variation-settings:
    "FILL" 1,
    "wght" 400;
}

.book-star-rating .star.half {
  color: #d4af37;
  font-variation-settings:
    "FILL" 0,
    "wght" 400;
}

.book-star-rating .star.empty {
  color: #c8d6ce;
  font-variation-settings:
    "FILL" 0,
    "wght" 300;
}

.star-count {
  font-size: 14px;
  color: var(--text-light);
  margin-left: 3px;
}

/* ---- Out-of-stock badge variant ---- */
.book-badge-out {
  background: rgba(185, 28, 28, 0.88) !important;
  border-color: rgba(185, 28, 28, 0.4) !important;
}

/* ---- Add-to-Cart button (icon + text) ---- */
.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.add-to-cart-btn .material-symbols-outlined {
  font-size: 18px;
}

.add-to-cart-btn:hover {
  background: var(--primary-green-dark);
  color: var(--white);
  border-color: var(--primary-green-dark);
  box-shadow: 0 10px 20px rgba(6, 95, 70, 0.2);
  transform: translateY(-2px);
}

/* ---- Disabled order button ---- */
.book-sales-order-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Top bar (count badge + filter chips row) ---- */
.book-archive-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.book-archive-topbar .archive-count-badge {
  margin-bottom: 0;
}

/* ---- Active filter chips ---- */
.active-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 107, 63, 0.08);
  border: 1px solid rgba(15, 107, 63, 0.25);
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px 6px 15px;
  border-radius: 999px;
  line-height: 1;
}

.filter-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--primary-green-dark);
  line-height: 1;
  margin-left: 2px;
}

.filter-chip-remove .material-symbols-outlined {
  font-size: 18px;
}

.clear-all-filters {
  background: none;
  border: none;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
}

.clear-all-filters:hover {
  background: rgba(185, 28, 28, 0.07);
}

/* ---- Price Range Filter ---- */
.price-range-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-green-dark);
}

.price-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary-green-dark) 0%, var(--primary-green-dark) 50%, #d1e8dc 50%);
  outline: none;
  cursor: pointer;
}

.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-green-dark);
  border: 2.5px solid white;
  box-shadow: 0 2px 8px rgba(6, 95, 70, 0.3);
  cursor: pointer;
}

.price-range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-green-dark);
  border: 2.5px solid white;
  box-shadow: 0 2px 8px rgba(6, 95, 70, 0.3);
  cursor: pointer;
}

.price-filter-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-green-dark);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  align-self: flex-start;
}

.price-filter-apply-btn:hover {
  background: var(--primary-green);
  transform: translateY(-1px);
}

.price-filter-apply-btn .material-symbols-outlined {
  font-size: 17px;
}

/* ---- Popular Books Sidebar ---- */
.sidebar-popular-books {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-popular-books li a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 6px 0;
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
  transition: color 0.2s;
}

.sidebar-popular-books li:last-child a {
  border-bottom: none;
}

.sidebar-popular-books li a:hover {
  color: var(--primary-green-dark);
}

.popular-book-thumb {
  width: 46px;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e3f7ec;
  border: 1px solid rgba(6, 95, 70, 0.1);
}

.popular-book-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-book-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popular-book-info h5 {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-dark);
}

.popular-book-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

/* ---- Bestsellers Sidebar ---- */
.sidebar-bestsellers {
  /* inherits .sidebar-widget */
}

.sidebar-bestseller-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bestseller-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(6, 95, 70, 0.08);
  background: rgba(15, 107, 63, 0.03);
  transition:
    background 0.2s,
    border-color 0.2s;
}

.bestseller-item:hover {
  background: rgba(15, 107, 63, 0.07);
  border-color: rgba(15, 107, 63, 0.18);
}

.bestseller-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-accent);
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bestseller-cover {
  width: 40px;
  height: 52px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e3f7ec;
}

.bestseller-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bestseller-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.bestseller-info h5 {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bestseller-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.bestseller-sales {
  font-size: 11px;
  color: var(--text-light);
}

/* ---- Mini Cart Sidebar ---- */
.sidebar-mini-cart {
  /* inherits .sidebar-widget */
}

.mini-cart-content {
  min-height: 48px;
}

.mini-cart-empty {
  color: var(--text-light);
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
  margin: 0;
}

.mini-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.07);
  padding-bottom: 8px;
}

.mini-cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mini-cart-item-title {
  flex: 1;
  color: var(--text-dark);
  line-height: 1.4;
}

.mini-cart-item-price {
  font-weight: 700;
  color: var(--primary-green-dark);
  white-space: nowrap;
}

.mini-cart-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1.5px solid rgba(6, 95, 70, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.mini-cart-total-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

/* ---- Delivery Info Sidebar ---- */
.sidebar-delivery-info {
  /* inherits .sidebar-widget */
}

.delivery-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.delivery-icon {
  font-size: 20px;
  color: var(--primary-green-dark);
  margin-top: 2px;
  flex-shrink: 0;
}

.delivery-info-list div strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.3;
}

.delivery-info-list div p {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--text-light);
}

/* ---- List View toggle ---- */
.book-archive-grid.list-view {
  grid-template-columns: 1fr;
}

.book-archive-grid.list-view .book-archive-card {
  flex-direction: row;
}

.book-archive-grid.list-view .book-archive-card .book-sales-link {
  flex-shrink: 0;
  width: 130px;
}

.book-archive-grid.list-view .book-archive-card .book-sales-cover {
  height: 100%;
  min-height: 170px;
}

/* ---- View toggle button active state ---- */
.archive-view-toggle {
  display: flex;
  gap: 4px;
}

@media (max-width: 768px) {
  .archive-view-toggle {
    display: none !important;
  }
}

.view-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid rgba(6, 95, 70, 0.18);
  background: white;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.view-toggle-btn.active,
.view-toggle-btn:hover {
  background: var(--primary-green-dark);
  color: white;
  border-color: var(--primary-green-dark);
}

.view-toggle-btn .material-symbols-outlined {
  font-size: 20px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .book-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .book-archive-grid {
    grid-template-columns: 1fr;
  }

  .book-archive-topbar {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .book-archive-grid.list-view .book-archive-card {
    flex-direction: column;
  }

  .book-archive-grid.list-view .book-archive-card .book-sales-link {
    width: 100%;
  }

  .book-archive-grid.list-view .book-archive-card .book-sales-cover {
    min-height: 200px;
    height: 200px;
  }
}

/* ==============================================
   SINGLE BOOK (single-book.html)
   ============================================== */

/* ---- Book Cover Gallery ---- */
.sb-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.sb-main-cover {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  background: #e3f7ec;
  border: 1px solid rgba(6, 95, 70, 0.1);
  box-shadow: 0 8px 28px rgba(6, 95, 70, 0.12);
  cursor: zoom-in;
}

.sb-main-cover img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sb-main-cover:hover img {
  transform: scale(1.07);
}

.sb-gallery-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.sb-main-cover:hover .sb-gallery-zoom-hint {
  opacity: 1;
}

.sb-gallery-zoom-hint .material-symbols-outlined {
  font-size: 14px;
}

.sb-thumb-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sb-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #e3f7ec;
  cursor: pointer;
  padding: 0;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.sb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-thumb.active,
.sb-thumb:hover {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* ---- Lightbox ---- */
.sb-lightbox-content {
  max-width: 1000px;
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sb-lightbox-img-container {
  background: white;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sb-lightbox-img-container img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

.sb-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.sb-lightbox-nav:hover {
  background: white;
  color: var(--primary-green-dark);
}

.sb-prev {
  left: -80px;
}

.sb-next {
  right: -80px;
}

@media (max-width: 1100px) {
  .sb-prev {
    left: 10px;
  }
  .sb-next {
    right: 10px;
  }
  .sb-lightbox-nav {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.5);
  }
}

/* ---- Share Buttons ---- */
.sb-share-buttons-wrap {
  margin: 0 0 28px;
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  width: 100%;
}

.sb-share-grid-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sb-share-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-green-dark);
  margin-bottom: 0;
  white-space: nowrap;
}

.sb-share-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.sb-share-actions .share-btn {
  flex: 0 1 auto;
  min-width: 110px;
  padding: 8px 12px;
  font-size: 13px;
  justify-content: center;
}

@media (max-width: 991px) {
  .sb-share-grid-full {
    flex-direction: column;
    align-items: flex-start;
  }
  .sb-share-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .sb-share-actions .share-btn {
    flex: 1;
    min-width: calc(33.333% - 8px);
  }
}

@media (max-width: 480px) {
  .sb-share-title {
    margin-bottom: 12px;
  }
  .sb-share-actions .share-btn {
    min-width: 100%;
  }
}

/* ---- Title Block ---- */
.sb-title-block {
  margin-bottom: 16px;
}

.sb-title {
  font-size: 2rem;
  line-height: 1.3;
  color: var(--primary-green-dark);
  margin: 0 0 8px;
}

.sb-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-light);
  margin: 0 0 12px;
}

.sb-meta-icon {
  font-size: 18px;
  color: var(--primary-green-dark);
}

.sb-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sb-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light-green);
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(6, 95, 70, 0.15);
  transition: all 0.2s ease;
}

.sb-meta-chip:hover {
  background: var(--light-green-alt);
  border-color: rgba(6, 95, 70, 0.25);
  transform: translateY(-1px);
}

.sb-meta-chip .material-symbols-outlined {
  font-size: 14px;
  color: var(--primary-green-dark);
}

/* ---- Rating Summary ---- */
.sb-rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.1);
}

.sb-rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sb-rating-stars .star {
  font-size: 20px;
}

.sb-rating-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin-left: 4px;
}

.sb-rating-count {
  font-size: 14px;
  color: var(--text-light);
}

.sb-rating-link {
  font-size: 14px;
  color: var(--primary-green-dark);
  text-decoration: underline;
  font-weight: 600;
}

/* ---- Purchase Box ---- */
.sb-purchase-box {
  background: linear-gradient(135deg, #f0fdf7, #e8f9f1);
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sb-pricing {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sb-old-price {
  color: #7c8a83;
  font-size: 18px;
  font-weight: 500;
  text-decoration: line-through;
}

.sb-price {
  color: var(--primary-green-dark);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.sb-discount-badge {
  background: #b91c1c;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.sb-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
}

.sb-stock-ok {
  background: rgba(6, 95, 70, 0.1);
  color: var(--primary-green-dark);
}

.sb-stock-low {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
}

.sb-stock-out {
  background: rgba(185, 28, 28, 0.1);
  color: #b91c1c;
}

.sb-stock-badge .material-symbols-outlined {
  font-size: 18px;
}

/* ---- Buy Controls ---- */
.sb-buy-controls {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
}

.sb-qty-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-qty-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.sb-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(6, 95, 70, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.sb-qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-green-dark);
  transition: background 0.2s;
}

.sb-qty-btn:hover {
  background: rgba(6, 95, 70, 0.08);
}

.sb-qty-btn .material-symbols-outlined {
  font-size: 18px;
}

.sb-qty-input {
  width: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid rgba(6, 95, 70, 0.15);
  border-right: 1px solid rgba(6, 95, 70, 0.15);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: white;
  height: 36px;
  outline: none;
  -moz-appearance: textfield;
}

.sb-qty-input::-webkit-outer-spin-button,
.sb-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.sb-add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--primary-green-dark);
  background: var(--primary-green-dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.22);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.sb-add-to-cart-btn:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 95, 70, 0.3);
}

.sb-add-to-cart-btn .material-symbols-outlined {
  font-size: 19px;
}

.sb-buy-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-accent);
  background: var(--gold-accent);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(212, 175, 55, 0.3);
  transition:
    background 0.2s,
    transform 0.2s;
}

.sb-buy-now-btn:hover {
  background: #c9a227;
  border-color: #c9a227;
  transform: translateY(-2px);
}

.sb-buy-now-btn .material-symbols-outlined {
  font-size: 18px;
}

/* ---- Generic Section ---- */
.sb-section {
  margin-bottom: 36px;
}

.sb-section-title {
  font-size: 1.25rem;
  color: var(--primary-green-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
}

.sb-description p {
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 12px;
}

/* ---- Details Table ---- */
.sb-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sb-details-table th,
.sb-details-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(6, 95, 70, 0.07);
}

.sb-details-table th {
  width: 140px;
  font-weight: 600;
  color: var(--text-light);
  background: rgba(6, 95, 70, 0.03);
}

.sb-details-table td {
  color: var(--text-dark);
}

.sb-details-table tr:last-child th,
.sb-details-table tr:last-child td {
  border-bottom: none;
}

/* ---- Table of Contents ---- */
.sb-toc-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 95, 70, 0.05);
  border: 1px solid rgba(6, 95, 70, 0.15);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-green-dark);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.2s;
}

.sb-toc-toggle:hover {
  background: rgba(6, 95, 70, 0.1);
}

.sb-toc-toggle .material-symbols-outlined {
  font-size: 20px;
}

.sb-toc-arrow {
  margin-left: auto;
  transition: transform 0.3s;
}

.sb-toc-list {
  margin: 12px 0 0;
  padding: 0 0 0 20px;
  display: none;
  flex-direction: column;
  gap: 8px;
}

.sb-toc-list li {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(6, 95, 70, 0.1);
}

.sb-toc-list.open {
  display: flex;
}

.sb-toc-toggle.active .sb-toc-arrow {
  transform: rotate(180deg);
}

.sb-toc-list ol {
  list-style: none;
  counter-reset: toc-counter;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sb-toc-list ol li {
  counter-increment: toc-counter;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  padding: 10px 12px;
  border-bottom: 1px dashed rgba(6, 95, 70, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}

.sb-toc-list ol li:hover {
  background: rgba(6, 95, 70, 0.04);
}

.sb-toc-list ol li::before {
  content: counter(toc-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: var(--light-green);
  color: var(--primary-green-dark);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.sb-toc-list ol li:last-child {
  border-bottom: none;
}

.sb-toc-list p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.8;
  margin: 0 0 8px;
}

.sb-toc-list p:last-child {
  margin-bottom: 0;
}

/* ---- Preview Strip ---- */
.sb-preview-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sb-preview-thumb {
  position: relative;
  width: calc(33.333% - 10px);
  min-width: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: #e3f7ec;
  display: block;
  border: 1px solid rgba(6, 95, 70, 0.1);
  box-shadow: 0 4px 14px rgba(6, 95, 70, 0.09);
}

.sb-preview-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sb-preview-thumb:hover img {
  transform: scale(1.06);
}

.sb-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.sb-preview-thumb:hover .sb-preview-overlay {
  opacity: 1;
}

.sb-preview-overlay .material-symbols-outlined {
  font-size: 32px;
  color: white;
}

/* ---- Rating Overview ---- */
.sb-rating-overview {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(6, 95, 70, 0.03);
  border-radius: 14px;
  border: 1px solid rgba(6, 95, 70, 0.08);
}

.sb-rating-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 100px;
}

.sb-rating-big-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  line-height: 1;
}

.sb-rating-total {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}

.sb-rating-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}

.sb-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.sb-rating-bar-row > span:first-child {
  width: 32px;
  text-align: right;
}

.sb-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(6, 95, 70, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.sb-bar-fill {
  height: 100%;
  background: var(--gold-accent);
  border-radius: 999px;
}

.sb-rating-bar-row > span:last-child {
  width: 20px;
}

/* ---- Review List ---- */
.sb-review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sb-review-card {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 3px 12px rgba(6, 95, 70, 0.06);
}

.sb-review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.sb-reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-green-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.sb-reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.sb-reviewer-info strong {
  font-size: 14px;
  color: var(--text-dark);
}

.sb-review-stars {
  display: flex;
  gap: 1px;
}

.sb-review-stars .star {
  font-size: 14px;
}

.sb-review-date {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  margin-left: auto;
}

.sb-review-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.8;
}

/* ---- Review Form ---- */
.sb-review-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(6, 95, 70, 0.02);
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 14px;
  padding: 24px;
}

.sb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sb-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sb-form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.sb-form-label .required {
  color: #b91c1c;
}

.sb-form-input,
.sb-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.sb-form-input:focus,
.sb-form-textarea:focus {
  border-color: var(--primary-green-dark);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.sb-form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* ---- Star Picker ---- */
.sb-star-picker {
  display: flex;
  gap: 6px;
}

.sb-star-pick {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: #d1d5db;
  transition:
    color 0.15s,
    transform 0.15s;
}

.sb-star-pick .material-symbols-outlined {
  font-size: 28px;
  font-variation-settings:
    "FILL" 0,
    "wght" 300;
}

.sb-star-pick.active .material-symbols-outlined {
  font-variation-settings:
    "FILL" 1,
    "wght" 400;
  color: var(--gold-accent);
}

.sb-star-pick:hover {
  transform: scale(1.15);
}

/* ---- Submit Button ---- */
.sb-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--primary-green-dark);
  border: 1.5px solid var(--primary-green-dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.2);
  transition:
    background 0.2s,
    transform 0.2s;
  font-family: inherit;
}

.sb-submit-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
}

.sb-submit-btn .material-symbols-outlined {
  font-size: 19px;
}

/* ---- Author Card (Sidebar) ---- */
.sb-author-card .sb-author-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sb-author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(6, 95, 70, 0.15);
  background: #e3f7ec;
}

.sb-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-author-meta {
  flex: 1;
}

.sb-author-meta h5 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--primary-green-dark);
  line-height: 1.4;
}

.sb-author-meta p {
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Share Buttons ---- */
.sb-share-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sb-share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    opacity 0.2s,
    transform 0.2s;
  font-family: inherit;
}

.sb-share-btn:hover {
  transform: translateX(3px);
  opacity: 0.9;
}

.sb-share-btn .material-symbols-outlined {
  font-size: 18px;
}

.sb-share-fb {
  background: #1877f2;
  color: white;
}

.sb-share-wa {
  background: #25d366;
  color: white;
}

.sb-share-copy {
  background: rgba(6, 95, 70, 0.07);
  color: var(--primary-green-dark);
  border-color: rgba(6, 95, 70, 0.2);
}

/* ---- Return Policy Card ---- */
.sb-policy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
}

.sb-policy-list .material-symbols-outlined {
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sb-policy-list li:has(.material-symbols-outlined:first-child):nth-child(n) .material-symbols-outlined {
  color: var(--primary-green-dark);
}

/* Simpler approach for check/close icons */
.sb-policy-list li .material-symbols-outlined {
  color: var(--primary-green-dark);
}

/* ---- All Books CTA ---- */
.sb-all-books-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--primary-green-dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
  text-align: center;
}

.sb-all-books-cta:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
}

.sb-all-books-cta .material-symbols-outlined {
  font-size: 20px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .sb-main-cover img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .sb-title {
    font-size: 1.5rem;
  }

  .sb-price {
    font-size: 28px;
  }

  .sb-form-row {
    grid-template-columns: 1fr;
  }

  .sb-preview-thumb {
    width: calc(50% - 7px);
  }

  .sb-buy-controls {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    flex-direction: column;
  }

  .sb-main-cover {
    max-width: 100%;
  }

  .sb-rating-overview {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==============================================
   CART PAGE (cart.html)
   ============================================== */

.cart-page-layout {
  margin-top: 8px;
}

/* ---- Empty State ---- */
.cart-empty-state {
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cart-empty-icon .material-symbols-outlined {
  font-size: 72px;
  color: rgba(6, 95, 70, 0.18);
}

.cart-empty-state h3 {
  font-size: 1.5rem;
  color: var(--primary-green-dark);
  margin: 0;
}

.cart-empty-state p {
  color: var(--text-light);
  margin: 0;
}

/* ---- Cart Table ---- */
.cart-table-wrap {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(6, 95, 70, 0.1);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(6, 95, 70, 0.07);
  margin-bottom: 20px;
  overflow-x: auto;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.2fr 1fr 60px;
  gap: 0;
  background: rgba(6, 95, 70, 0.05);
  border-bottom: 1px solid rgba(6, 95, 70, 0.1);
  min-width: 560px;
}

.cart-th {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-table-body {
  display: flex;
  flex-direction: column;
  min-width: 560px;
}

.cart-table-row {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.2fr 1fr 60px;
  gap: 0;
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
  align-items: center;
}

.cart-table-row:last-child {
  border-bottom: none;
}

.cart-td {
  padding: 16px;
  font-size: 14px;
  color: var(--text-dark);
}

.cart-td-product .cart-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-product-cover {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(6, 95, 70, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-product-cover .material-symbols-outlined {
  font-size: 26px;
  color: var(--primary-green-dark);
}

.cart-product-meta strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.4;
}

.cart-td-price,
.cart-td-sub {
  font-weight: 600;
  color: var(--primary-green-dark);
}

.cart-td-remove {
  display: flex;
  justify-content: center;
}

.cart-remove-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(185, 28, 28, 0.3);
  background: none;
  color: #b91c1c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-remove-btn:hover {
  background: rgba(185, 28, 28, 0.08);
}

.cart-remove-btn .material-symbols-outlined {
  font-size: 17px;
}

/* ---- Cart Actions Bar ---- */
.cart-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-left: 16px;
  flex-wrap: wrap;
}

.cart-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-green-dark);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  background: white;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.cart-continue-btn:hover {
  background: rgba(6, 95, 70, 0.05);
  border-color: var(--primary-green-dark);
}

.cart-continue-btn .material-symbols-outlined {
  font-size: 18px;
}

.cart-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #b91c1c;
  background: none;
  border: 1.5px solid rgba(185, 28, 28, 0.25);
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-clear-btn:hover {
  background: rgba(185, 28, 28, 0.06);
}

.cart-clear-btn .material-symbols-outlined {
  font-size: 18px;
}

/* ---- Bottom Grid: coupon + totals ---- */
.cart-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.cart-coupon-box,
.cart-totals-card {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(6, 95, 70, 0.07);
}

.cart-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary-green-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
}

.cart-box-title .material-symbols-outlined {
  font-size: 20px;
}

.cart-coupon-row {
  display: flex;
  gap: 10px;
}

.cart-coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.cart-coupon-input:focus {
  border-color: var(--primary-green-dark);
}

.cart-coupon-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary-green-dark);
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.cart-coupon-apply-btn:hover {
  background: var(--primary-green);
}

.cart-coupon-apply-btn .material-symbols-outlined {
  font-size: 14px;
}

.cart-coupon-msg {
  margin: 8px 0 0;
  font-size: 14px;
  min-height: 18px;
}

/* ---- Cart Totals ---- */
.cart-totals-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.07);
}

.cart-totals-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-totals-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.cart-discount-val {
  color: #b91c1c;
  font-weight: 700;
}

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: var(--primary-green-dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 20px rgba(6, 95, 70, 0.25);
  transition:
    background 0.2s,
    transform 0.2s;
  margin-bottom: 12px;
}

.cart-checkout-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
}

.cart-checkout-btn .material-symbols-outlined {
  font-size: 20px;
}

.cart-shop-more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}

.cart-shop-more-link:hover {
  color: var(--primary-green-dark);
}

.cart-shop-more-link .material-symbols-outlined {
  font-size: 14px;
}

/* ---- Trust Strip ---- */
.cart-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.cart-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.08);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(6, 95, 70, 0.05);
}

.cart-trust-badge .material-symbols-outlined {
  font-size: 32px;
  color: var(--primary-green-dark);
}

.cart-trust-badge strong {
  font-size: 14px;
  color: var(--text-dark);
}

.cart-trust-badge p {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
}

/* ---- Recently Viewed ---- */
.cart-recently-viewed {
  margin-top: 12px;
}

.cart-section-heading {
  font-size: 1.3rem;
  color: var(--primary-green-dark);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
}

.cart-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---- Responsive Cart ---- */
@media (max-width: 768px) {
  .cart-bottom-grid {
    grid-template-columns: 1fr;
  }

  .cart-trust-strip {
    grid-template-columns: 1fr;
  }

  .cart-recent-grid {
    grid-template-columns: 1fr;
  }

  .cart-actions-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==============================================
   CHECKOUT PAGE (checkout.html)
   ============================================== */

/* ---- Checkout Steps ---- */
.co-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 32px;
  max-width: 560px;
}

.co-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.co-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(6, 95, 70, 0.2);
  background: white;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.co-step.active .co-step-icon {
  background: var(--primary-green-dark);
  border-color: var(--primary-green-dark);
  color: white;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.28);
}

.co-step.done .co-step-icon {
  background: rgba(6, 95, 70, 0.1);
  border-color: var(--primary-green-dark);
  color: var(--primary-green-dark);
}

.co-step-icon .material-symbols-outlined {
  font-size: 20px;
}

.co-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.co-step.active .co-step-label {
  color: var(--primary-green-dark);
}

.co-step-line {
  flex: 1;
  height: 2px;
  background: rgba(6, 95, 70, 0.12);
  margin: 0 4px;
  margin-bottom: 22px;
  min-width: 40px;
}

.co-step-line.done {
  background: var(--primary-green-dark);
}

/* ---- Checkout Layout ---- */
.co-layout {
  align-items: start;
}

/* ---- Form Sections ---- */
.co-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.co-form-section {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.09);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px rgba(6, 95, 70, 0.06);
}

.co-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary-green-dark);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
}

.co-section-title .material-symbols-outlined {
  font-size: 20px;
}

.co-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.co-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.co-form-group.co-full {
  grid-column: 1 / -1;
}

.co-form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.co-form-label .required {
  color: #b91c1c;
}

.co-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  outline: none;
  font-family: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}

.co-input:focus {
  border-color: var(--primary-green-dark);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.co-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f6b3f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.co-textarea {
  resize: vertical;
  min-height: 80px;
}

/* ---- Radio Cards ---- */
.co-radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.co-radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  background: white;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.co-radio-card input[type="radio"] {
  display: none;
}

.co-radio-card.active {
  border-color: var(--primary-green-dark);
  background: rgba(6, 95, 70, 0.04);
}

.co-radio-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(6, 95, 70, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 700;
}

.co-radio-icon .material-symbols-outlined {
  font-size: 20px;
}

.co-radio-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.co-radio-info strong {
  font-size: 14px;
  color: var(--text-dark);
}

.co-radio-info span {
  font-size: 12px;
  color: var(--text-light);
}

/* ---- Payment Methods ---- */
.co-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-payment-option {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.co-payment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  background: white;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.co-payment-card.active {
  border-color: var(--primary-green-dark);
  background: rgba(6, 95, 70, 0.04);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.co-pay-icon {
  width: 48px;
  height: 36px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.co-pay-bkash {
  background: #e2136e;
  color: white;
}

.co-pay-nagad {
  background: #f7941d;
  color: white;
}

.co-pay-rocket {
  background: #8b2fc9;
  color: white;
}

.co-pay-cod {
  background: rgba(6, 95, 70, 0.1);
  color: var(--primary-green-dark);
}

.co-payment-fields {
  border: 1.5px solid var(--primary-green-dark);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 16px;
  background: rgba(6, 95, 70, 0.02);
}

.co-payment-instruction {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.co-payment-instruction .material-symbols-outlined {
  font-size: 18px;
  color: #b45309;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Terms Row ---- */
.co-terms-row {
  background: none !important;
  border: none !important;
  padding: 4px 0 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.co-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  line-height: 1.5;
}

.co-checkbox-label input[type="checkbox"] {
  display: none;
}

.co-checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid rgba(6, 95, 70, 0.35);
  background: white;
  flex-shrink: 0;
  margin-top: 2px;
  transition:
    background 0.2s,
    border-color 0.2s;
  position: relative;
}

.co-checkbox-label input[type="checkbox"]:checked ~ .co-checkbox-box {
  background: var(--primary-green-dark);
  border-color: var(--primary-green-dark);
}

.co-checkbox-label input[type="checkbox"]:checked ~ .co-checkbox-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.co-checkbox-label a {
  color: var(--primary-green-dark);
  font-weight: 600;
}

/* ---- Order Summary (Right) ---- */
.co-summary-card {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 22px rgba(6, 95, 70, 0.1);
  margin-bottom: 20px;
}

.co-summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: var(--primary-green-dark);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
}

.co-summary-title .material-symbols-outlined {
  font-size: 20px;
}

.co-summary-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
}

.co-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.co-summary-item-title {
  color: var(--text-dark);
  flex: 1;
  line-height: 1.4;
}

.co-summary-item-title em {
  font-style: normal;
  color: var(--text-light);
  font-size: 12px;
}

.co-summary-item-price {
  font-weight: 700;
  color: var(--primary-green-dark);
  white-space: nowrap;
}

/* Coupon in checkout */
.co-coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.co-coupon-input {
  flex: 1;
  padding: 9px 12px;
  border: 1.5px solid rgba(6, 95, 70, 0.18);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  color: var(--text-dark);
  background: white;
}

.co-coupon-apply {
  padding: 9px 14px;
  background: var(--primary-green-dark);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
}

.co-coupon-apply:hover {
  background: var(--primary-green);
}

.co-coupon-msg {
  font-size: 12px;
  min-height: 16px;
  margin: 0 0 14px;
}

/* Summary Totals */
.co-summary-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.co-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.07);
}

.co-summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.co-summary-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.co-discount-val {
  color: #b91c1c;
  font-weight: 700;
}

/* Place Order Button */
.co-place-order-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 999px;
  background: var(--primary-green-dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 20px rgba(6, 95, 70, 0.25);
  transition:
    background 0.2s,
    transform 0.2s;
  margin-bottom: 12px;
}

.co-place-order-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
}

.co-place-order-btn .material-symbols-outlined {
  font-size: 20px;
}

.co-back-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}

.co-back-to-cart:hover {
  color: var(--primary-green-dark);
}

.co-back-to-cart .material-symbols-outlined {
  font-size: 14px;
}

/* Trust Badges in Checkout */
.co-trust-widget {
  margin-bottom: 16px;
}

.co-trust-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
}

.co-trust-item .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-green-dark);
  flex-shrink: 0;
}

/* ETA Card */
.co-eta-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-eta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.co-eta-row .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary-green-dark);
  flex-shrink: 0;
}

.co-eta-row strong {
  font-size: 14px;
  color: var(--text-dark);
}

.co-eta-row span {
  color: var(--text-light);
}

/* ---- Responsive Checkout ---- */
@media (max-width: 768px) {
  .co-steps {
    max-width: 100%;
  }

  .co-form-grid {
    grid-template-columns: 1fr;
  }

  .co-radio-cards {
    grid-template-columns: 1fr;
  }

  .co-step-label {
    font-size: 10px;
  }
}

/* ============================================================
   === MONTHLY HD ARCHIVE & SINGLE ===
   ============================================================ */

/* Arabic text */
.arabic-text {
  font-family: "Scheherazade New", "Amiri", serif;
  font-size: 1.25rem;
  line-height: 2;
  direction: rtl;
  text-align: right;
  color: var(--text-dark);
}

/* Magazine Grid */
.mhd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.mhd-grid.list-view {
  grid-template-columns: 1fr;
}

.mhd-grid.list-view .mhd-card {
  flex-direction: row;
  align-items: stretch;
  min-height: 200px;
}

.mhd-grid.list-view .mhd-cover {
  width: 280px;
  min-width: 280px;
  aspect-ratio: auto;
}

.mhd-grid.list-view .mhd-info {
  padding: 24px 32px;
  justify-content: center;
}

.mhd-grid.list-view .mhd-actions {
  margin-top: 16px;
  max-width: 360px;
}

@media (max-width: 900px) {
  .mhd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .mhd-grid {
    grid-template-columns: 1fr;
  }

  .mhd-grid.list-view .mhd-card {
    flex-direction: column;
  }

  .mhd-grid.list-view .mhd-cover {
    width: 100%;
    min-width: 100%;
    aspect-ratio: 3/4;
  }
}

.mhd-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.mhd-card:hover {
  box-shadow: 0 6px 24px rgba(15, 107, 63, 0.13);
  transform: translateY(-3px);
}

.mhd-cover {
  position: relative;
  aspect-ratio: 3/2.5;
  overflow: hidden;
  background: #e8f5e9;
}

.mhd-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.mhd-card:hover .mhd-cover img {
  transform: scale(1.04);
}

.mhd-page-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15, 107, 63, 0.88);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mhd-page-badge .material-symbols-outlined {
  font-size: 14px;
}

.mhd-special {
  border: 2px solid var(--gold-accent);
}

.mhd-special-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--gold-accent);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}

.mhd-info {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mhd-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

.mhd-date {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
}

.mhd-date .material-symbols-outlined {
  font-size: 14px;
}

.mhd-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mhd-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-green-dark);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
}

.mhd-read-btn:hover {
  background: #054d32;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.2);
  transform: translateY(-1px);
}

.mhd-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-green-dark);
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
}

.mhd-dl-btn:hover {
  background: var(--light-green);
  border-color: var(--primary-green-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

/* Latest Issue Sidebar Card */
.mhd-latest-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mhd-latest-card:last-child {
  border-bottom: none;
}

.mhd-latest-card img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.mhd-latest-info {
  flex: 1;
}

.mhd-latest-info h5 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-dark);
  line-height: 1.4;
}

.mhd-latest-info span {
  font-size: 11px;
  color: var(--text-light);
}

/* Single Magazine */
.mhd-single-header {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mhd-single-cover {
  flex: 0 0 calc(50% - 16px);
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.mhd-single-cover img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.mhd-single-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.mhd-single-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 16px;
  line-height: 1.3;
}

.mhd-single-chips {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}

.mhd-dl-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-green-dark);
  color: #fff;
  border-radius: 50px;
  padding: 12px 28px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  margin-top: 6px;
  margin-bottom: 24px;
}

.mhd-dl-primary:hover {
  background: #054d32;
  box-shadow: 0 4px 15px rgba(6, 95, 70, 0.2);
  transform: translateY(-2px);
}

.mhd-dl-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.mhd-single-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin: 10px 0 12px;
}

.mhd-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.mhd-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(15, 107, 63, 0.08);
  color: var(--primary-green-dark);
  border: 1px solid rgba(15, 107, 63, 0.2);
  font-weight: 500;
}

/* PDF Viewer */

.mhd-pdf-viewer {
  background: #f5f7f5;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #e0e0e0;
}

.mhd-pdf-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-light);
}

.mhd-pdf-placeholder .material-symbols-outlined {
  font-size: 56px;
  color: var(--primary-green-dark);
  opacity: 0.5;
}

.mhd-pdf-placeholder p {
  margin: 0;
  font-size: 14px;
}

/* Table of Contents */
.mhd-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mhd-toc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: var(--text-dark);
  gap: 12px;
}

.mhd-toc-list li:last-child {
  border-bottom: none;
}

.mhd-toc-list li a {
  color: var(--primary-green-dark);
  text-decoration: none;
  flex: 1;
}

.mhd-toc-list li a:hover {
  text-decoration: underline;
}

.mhd-toc-list li span {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
}

/* Article Summaries */
.mhd-article-summaries {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mhd-article-summary {
  padding: 16px;
  background: #f9faf9;
  border-radius: 10px;
  border-left: 3px solid var(--primary-green-dark);
}

.mhd-article-summary h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.mhd-article-summary p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Editorial */
.mhd-editorial {
  background: linear-gradient(135deg, #f0faf4, #e8f5e9);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #c8e6c9;
}

.mhd-editorial h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0 0 12px;
}

.mhd-editorial p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.8;
  margin: 0 0 12px;
}

.mhd-editorial-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-green-dark);
  margin-top: 4px;
}

.mhd-editorial-author .material-symbols-outlined {
  font-size: 14px;
}

/* ============================================================
   === PROBONDHO ARCHIVE & SINGLE ===
   ============================================================ */

/* Category Badge */
.probondho-cat-badge {
  display: inline-block;
  background: var(--primary-green-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* Meta Strip */
.probondho-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  align-items: center;
}

.probondho-meta-strip .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
  margin-right: 2px;
}

/* Read More Link */
.probondho-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.probondho-read-more:hover {
  gap: 8px;
}

.probondho-read-more .material-symbols-outlined {
  font-size: 14px;
}

/* Article Cards List */
.probondho-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.probondho-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.probondho-card:hover {
  box-shadow: 0 5px 20px rgba(15, 107, 63, 0.12);
  transform: translateY(-2px);
}

@media (max-width: 560px) {
  .probondho-card {
    grid-template-columns: 1fr;
  }
}

.probondho-card-img {
  overflow: hidden;
}

.probondho-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 130px;
  transition: transform 0.3s;
}

.probondho-card:hover .probondho-card-img img {
  transform: scale(1.06);
}

.probondho-card-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.probondho-card-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.probondho-card-content h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.probondho-card-content h3 a:hover {
  color: var(--primary-green-dark);
}

.probondho-card-content p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Tag Cloud */
.probondho-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.probondho-tag {
  display: inline-block;
  background: #f0faf4;
  color: var(--primary-green-dark);
  border: 1px solid #c8e6c9;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.probondho-tag:hover {
  background: var(--primary-green-dark);
  color: #fff;
}

/* Single Probondho: Reading Progress Bar */
.probondho-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(15, 107, 63, 0.12);
  z-index: 10000;
}

.probondho-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-accent);
  transition: width 0.1s linear;
}

/* Article Header */
.probondho-article-header {
  margin-bottom: 24px;
}

.probondho-article-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0 0 14px;
}

/* Author Strip */
.probondho-author-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.probondho-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-green-dark);
  flex-shrink: 0;
  overflow: hidden;
}

.probondho-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.probondho-author-strip-info {
  flex: 1;
}

.probondho-author-strip-info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}

.probondho-strip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.probondho-strip-meta .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
}

/* Font Size Control */
.probondho-font-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-light);
}

.probondho-font-btn {
  background: #f5f7f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.probondho-font-btn:hover,
.probondho-font-btn.active {
  background: var(--primary-green-dark);
  color: #fff;
  border-color: var(--primary-green-dark);
}

/* Featured Image Wrap */
.probondho-featured-img-wrap {
  margin-bottom: 24px;
}

.probondho-featured-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: initial;
  border-radius: 12px;
  display: block;
}

.probondho-featured-img-wrap figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

/* Article Body */
.probondho-article-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dark);
}

.probondho-article-body h2,
.probondho-article-body h3 {
  color: var(--primary-green-dark);
  margin-top: 28px;
  margin-bottom: 10px;
}

.probondho-article-body blockquote {
  border-left: 4px solid var(--gold-accent);
  padding: 12px 16px;
  margin: 20px 0;
  background: #f9faf9;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--text-dark);
}

.probondho-article-body p {
  margin-bottom: 14px;
}

/* Related Articles Grid */
.probondho-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}

@media (max-width: 700px) {
  .probondho-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   === DINI JIGGASA ARCHIVE & SINGLE ===
   ============================================================ */

/* Tabs */
.jiggasa-tabs {
  display: flex;
  gap: 0;
  background: #f5f7f5;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
  width: fit-content;
}

.jiggasa-tab {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
}

.jiggasa-tab.active {
  background: var(--primary-green-dark);
  color: #fff;
}

/* Question Cards */
.jiggasa-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.jiggasa-list.list-view {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .jiggasa-list {
    grid-template-columns: 1fr;
  }
}

.jiggasa-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  border-left: 4px solid transparent;
}

.jiggasa-card:hover {
  box-shadow: 0 5px 20px rgba(15, 107, 63, 0.12);
  transform: translateY(-2px);
}

.jiggasa-card.answered {
  border-left-color: var(--primary-green-dark);
}

.jiggasa-card.pending {
  border-left-color: #f59e0b;
}

.jiggasa-card-header,
.jiggasa-cat-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.jiggasa-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}

.jiggasa-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.jiggasa-card h3 a:hover {
  color: var(--primary-green-dark);
}

.jiggasa-cat-badge {
  display: inline-block;
  background: #e8f5e9;
  color: var(--primary-green-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.jiggasa-cat-badge.aqida-badge {
  background: #e3f2fd;
  color: #1565c0;
}

.jiggasa-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.jiggasa-status .material-symbols-outlined {
  font-size: 14px;
}

.answered-badge {
  background: #e8f5e9;
  color: var(--primary-green-dark);
}

.pending-badge {
  background: #fff8e1;
  color: #b45309;
}

.jiggasa-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.jiggasa-meta .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
  margin-right: 2px;
}

.jiggasa-read-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.jiggasa-read-link:hover {
  gap: 8px;
}

.jiggasa-read-link .material-symbols-outlined {
  font-size: 14px;
}

/* Stats Card */
.jiggasa-stats-card {
  background: #f9faf9;
}

.jiggasa-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  margin-top: 8px;
}

.jiggasa-stat-item {
  padding: 12px 6px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jiggasa-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.jiggasa-stat-num.answered-num {
  color: var(--primary-green-dark);
}

.jiggasa-stat-num.pending-num {
  color: #b45309;
}

.jiggasa-stat-label {
  font-size: 11px;
  color: var(--text-light);
}

/* Single Jiggasa Ã¢â‚¬â€ Question Box */
.jiggasa-question-box {
  background: linear-gradient(135deg, #f0faf4, #e8f5e9);
  border: 1px solid #c8e6c9;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.jiggasa-question-box h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 14px;
  line-height: 1.5;
}

.jiggasa-question-asker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
}

.jiggasa-question-asker .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
}

/* Answer Box */
.jiggasa-answer-box {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  margin-bottom: 24px;
}

.jiggasa-answer-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin-bottom: 16px;
}

.jiggasa-answer-label .material-symbols-outlined {
  font-size: 20px;
}

.jiggasa-answer-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dark);
}

.jiggasa-answer-body p {
  margin-bottom: 14px;
}

.jiggasa-arabic-ref {
  background: #f9faf9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
  text-align: right;
  direction: rtl;
}

.jiggasa-arabic-ref p {
  font-family: "Scheherazade New", "Amiri", serif;
  font-size: 1.2rem;
  line-height: 2;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.jiggasa-arabic-ref small {
  font-size: 12px;
  color: var(--text-light);
  direction: ltr;
  display: block;
  text-align: right;
}

/* Voting */
.jiggasa-vote-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  padding: 16px 20px;
  background: #f9faf9;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-dark);
}

.jiggasa-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
  background: #fff;
}

.jiggasa-vote-btn.yes:hover,
.jiggasa-vote-btn.yes.voted {
  background: #e8f5e9;
  border-color: var(--primary-green-dark);
  color: var(--primary-green-dark);
}

.jiggasa-vote-btn.no:hover,
.jiggasa-vote-btn.no.voted {
  background: #fef2f2;
  border-color: #ef4444;
  color: #ef4444;
}

.jiggasa-vote-btn .material-symbols-outlined {
  font-size: 14px;
}

/* Uttordata Card Sidebar */
.jiggasa-uttordata-card {
  text-align: center;
  padding: 20px;
}

.jiggasa-uttordata-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-green-dark);
  margin: 0 auto 12px;
  display: block;
}

.jiggasa-uttordata-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px;
}

.jiggasa-uttordata-card p {
  font-size: 12px;
  color: var(--text-light);
  margin: 0 0 8px;
}

.jiggasa-uttordata-count {
  display: inline-block;
  background: #e8f5e9;
  color: var(--primary-green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}

/* ============================================================
   === QUESTION & DOA FORM PAGE ===
   ============================================================ */

.qdform-wrap {
  max-width: 800px;
  margin: 0 auto;
}

/* Tabs */
.qdform-tabs {
  display: flex;
  gap: 0;
  background: #f5f7f5;
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 24px;
}

.qdform-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.7;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qdform-tab:hover:not(.active) {
  opacity: 1;
  background: rgba(15, 107, 63, 0.05);
  color: var(--primary-green-dark);
}

.qdform-tab .material-symbols-outlined {
  font-size: 20px;
}

.qdform-tab.active {
  background: var(--primary-green-dark);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 107, 63, 0.2);
}

/* Panel */
.qdform-panel {
  display: none;
}

.qdform-panel.active {
  display: block;
}

/* Guideline Box */
.qdform-guideline {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.qdform-guideline h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 10px;
}

.qdform-guideline h4 .material-symbols-outlined {
  font-size: 18px;
  color: #d97706;
}

.qdform-guideline ul {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  color: #78350f;
  line-height: 2;
}

/* Form Elements */
.qdform {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.qdform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .qdform-grid {
    grid-template-columns: 1fr;
  }
}

.qdform-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qdform-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.qdform-label .required {
  color: #ef4444;
}

.qdform-label .optional {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
}

.qdform-input {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.18s;
  box-sizing: border-box;
}

.qdform-input:focus {
  outline: none;
  border-color: var(--primary-green-dark);
  box-shadow: 0 0 0 3px rgba(15, 107, 63, 0.1);
}

.qdform-textarea {
  resize: vertical;
  min-height: 120px;
}

.qdform-hint {
  font-size: 12px;
  color: var(--text-light);
}

/* File Drop */
.qdform-file-drop {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  background: #fafafa;
  color: var(--text-light);
  transition: border-color 0.18s;
}

.qdform-file-drop:hover {
  border-color: var(--primary-green-dark);
}

.qdform-file-drop .material-symbols-outlined {
  font-size: 36px;
  color: var(--primary-green-dark);
  opacity: 0.6;
  display: block;
  margin-bottom: 8px;
}

.qdform-file-drop p {
  font-size: 14px;
  margin: 0 0 4px;
}

.qdform-file-browse {
  color: var(--primary-green-dark);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* Captcha Placeholder */
.qdform-captcha {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f7f5;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-light);
}

.qdform-captcha .material-symbols-outlined {
  font-size: 22px;
  color: var(--primary-green-dark);
}

/* Privacy Note */
.qdform-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
}

.qdform-privacy .material-symbols-outlined {
  font-size: 14px;
  color: var(--primary-green-dark);
}

/* Submit Button */
.qdform-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 14px;
  padding: 14px 32px;
}

/* Success State */
.qdform-success {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, #f0faf4, #e8f5e9);
  border-radius: 16px;
  border: 1px solid #c8e6c9;
}

.qdform-success-icon {
  font-size: 64px !important;
  color: var(--primary-green-dark);
  display: block;
  margin-bottom: 16px;
}

.qdform-success h3 {
  font-size: 22px;
  color: var(--primary-green-dark);
  margin: 0 0 10px;
}

.qdform-success p {
  font-size: 14px;
  color: var(--text-dark);
  margin: 0 0 20px;
}

/* Radio Group */
.qdform-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qdform-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
}

.qdform-radio input[type="radio"] {
  accent-color: var(--primary-green-dark);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Contact Card */
.qdform-contact-card {
  background: #f9faf9;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 24px;
  margin-top: 32px;
}

.qdform-contact-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 16px;
}

.qdform-contact-card h4 .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-green-dark);
}

.qdform-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .qdform-contact-grid {
    grid-template-columns: 1fr;
  }
}

.qdform-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.qdform-contact-item .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-green-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.qdform-contact-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qdform-contact-item strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.qdform-contact-item span {
  color: var(--text-light);
}

/* ============================================================
   === PHOTO GALLERY ARCHIVE & SINGLE ===
   ============================================================ */

/* Featured Album */
.gallery-featured-album {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.09);
  margin-bottom: 28px;
}

@media (max-width: 700px) {
  .gallery-featured-album {
    grid-template-columns: 1fr;
  }
}

.gallery-featured-cover {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.gallery-featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-photo-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gallery-photo-count .material-symbols-outlined {
  font-size: 14px;
}

.gallery-featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold-accent);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.gallery-featured-info {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.gallery-featured-info h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.gallery-featured-info h2 a {
  color: var(--text-dark);
  text-decoration: none;
}

.gallery-featured-info h2 a:hover {
  color: var(--primary-green-dark);
}

.gallery-featured-info p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

.gallery-album-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  align-items: center;
}

.gallery-album-meta .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
  margin-right: 2px;
}

/* Preview Thumbnails */
.gallery-preview-thumbs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.gallery-preview-thumbs img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.gallery-preview-thumbs.small img {
  width: 48px;
  height: 36px;
}

/* Album Card Grid */
.gallery-album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .gallery-album-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .gallery-album-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-album-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.gallery-album-card:hover {
  box-shadow: 0 5px 20px rgba(15, 107, 63, 0.13);
  transform: translateY(-3px);
}

.gallery-album-cover-link {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.gallery-album-cover-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.gallery-album-card:hover .gallery-album-cover-link img {
  transform: scale(1.06);
}

.gallery-album-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-album-hover .material-symbols-outlined {
  font-size: 36px;
  color: #fff;
}

.gallery-album-card:hover .gallery-album-hover {
  opacity: 1;
}

.gallery-album-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.gallery-album-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.gallery-album-info h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.gallery-album-info h3 a:hover {
  color: var(--primary-green-dark);
}

/* Sidebar Thumbnails */
.gallery-sidebar-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-sidebar-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}

.gallery-sidebar-thumb:hover {
  color: var(--primary-green-dark);
}

.gallery-sidebar-thumb img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Single Gallery */
.gallery-single-header {
  margin-bottom: 20px;
}

.gallery-single-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
  line-height: 1.4;
}

.gallery-single-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Photo Grid */
.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.gallery-photo-grid.list-view {
  grid-template-columns: 1fr;
}

.gallery-photo-grid.list-view .gallery-photo-item {
  aspect-ratio: 16/9;
}

@media (max-width: 600px) {
  .gallery-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-photo-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: #e8f5e9;
}

.gallery-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-photo-item:hover img {
  transform: scale(1.06);
}

.gallery-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-photo-overlay .material-symbols-outlined {
  font-size: 32px;
  color: #fff;
}

.gallery-photo-item:hover .gallery-photo-overlay {
  opacity: 1;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.gallery-lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.gallery-lightbox-img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox-nav.prev {
  left: 16px;
}
.gallery-lightbox-nav.next {
  right: 16px;
}

.gallery-lightbox-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 14px;
  z-index: 2;
}

.gallery-lightbox-caption {
  flex: 1;
}

.gallery-lightbox-counter {
  font-size: 12px;
  opacity: 0.7;
}

.gallery-lightbox-dl {
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.gallery-lightbox-dl:hover {
  opacity: 1;
}

/* ============================================================
   === NOTICE ARCHIVE & SINGLE ===
   ============================================================ */

/* Pinned Section */
.notice-pinned-section {
  margin-bottom: 28px;
}

.notice-pinned-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin-bottom: 12px;
}

.notice-pinned-label .material-symbols-outlined {
  font-size: 18px;
  color: var(--gold-accent);
}

/* Notice Cards */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.notice-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  border-left: 4px solid var(--primary-green-dark);
  margin-bottom: 20px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.notice-card:hover {
  box-shadow: 0 5px 20px rgba(15, 107, 63, 0.12);
  transform: translateY(-2px);
}

.notice-card.urgent,
.notice-card.important,
.notice-card.general {
  border-left-color: var(--primary-green-dark);
}

/* First Pinned Notice highlight */
.notice-pinned-section .notice-card:first-of-type {
  border-left-color: #ef4444;
}

.notice-card.pinned {
  border-top: 2px solid rgba(212, 175, 55, 0.1);
}

.notice-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.notice-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.4;
}

.notice-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.notice-card h3 a:hover {
  color: var(--primary-green-dark);
}

.notice-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0 0 12px;
  line-height: 1.6;
}

.notice-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.notice-date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-light);
}

.notice-date .material-symbols-outlined {
  font-size: 14px;
}

.notice-read-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.notice-read-link:hover {
  gap: 8px;
}

.notice-read-link .material-symbols-outlined {
  font-size: 14px;
}

/* Urgency Badges */
.notice-urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.notice-urgency-badge .material-symbols-outlined {
  font-size: 14px;
}

.notice-urgency-badge.urgent,
.notice-urgency-badge.important,
.notice-urgency-badge.general {
  background: #e8f5e9;
  color: var(--primary-green-dark);
}

/* First Pinned Notice badge colors */
.notice-pinned-section .notice-card:first-of-type .notice-urgency-badge {
  background: #fef2f2;
  color: #ef4444;
}

/* Category Badge */
.notice-cat-badge {
  display: inline-block;
  background: #f5f7f5;
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Attach Icon */
.notice-attach-icon {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--text-light);
}

.notice-attach-icon .material-symbols-outlined {
  font-size: 14px;
}

/* Urgency Dot (sidebar) */
.notice-urgency-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.notice-urgency-dot.urgent {
  background: #ef4444;
}
.notice-urgency-dot.important {
  background: #f59e0b;
}
.notice-urgency-dot.general {
  background: var(--primary-green-dark);
}

/* Event List (sidebar) */
.notice-event-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice-event-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-event-date {
  min-width: 52px;
  background: var(--primary-green-dark);
  color: #fff;
  border-radius: 8px;
  padding: 6px;
  text-align: center;
  flex-shrink: 0;
}

.notice-event-date.urgent-date {
  background: #ef4444;
}

.event-day {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 10px;
  opacity: 0.85;
  margin-top: 2px;
}

.notice-event-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notice-event-info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.notice-event-info span {
  font-size: 11px;
  color: var(--text-light);
}

/* Download List */
.notice-download-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notice-download-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f9faf9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  transition: background 0.18s;
}

.notice-download-list li a:hover {
  background: #e8f5e9;
}

.notice-download-list li a .material-symbols-outlined:first-child {
  font-size: 22px;
  color: #e53935;
  flex-shrink: 0;
}

.notice-download-list li a > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.notice-download-list li a > div small {
  font-size: 11px;
  color: var(--text-light);
}

.notice-download-list li a .material-symbols-outlined:last-child {
  font-size: 18px;
  color: var(--primary-green-dark);
  flex-shrink: 0;
}

/* Single Notice */
.notice-single-header {
  margin-bottom: 24px;
}

.notice-single-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0 0 14px;
}

.notice-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-light);
}

.notice-single-meta .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
  margin-right: 2px;
}

.notice-single-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.notice-single-body h3 {
  color: var(--primary-green-dark);
  font-size: 17px;
  margin: 24px 0 10px;
}

.notice-single-body p {
  margin-bottom: 14px;
}

.notice-single-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
  line-height: 2;
}

/* Notice Table */
.notice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 14px 0;
}

.notice-table th {
  background: var(--primary-green-dark);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
}

.notice-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e0e0e0;
  color: var(--text-dark);
}

.notice-table tr:hover td {
  background: #f5faf7;
}

/* Important Dates */
.notice-important-dates {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.notice-important-dates h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 14px;
}

.notice-important-dates h3 .material-symbols-outlined {
  font-size: 18px;
  color: #d97706;
}

.notice-dates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notice-date-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
}

.notice-date-item strong {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
}

.notice-date-item span {
  font-size: 11px;
  color: var(--text-light);
}

/* Attachments */
.notice-attachments {
  margin-bottom: 20px;
}

.notice-attachments h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.notice-attachments h3 .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-green-dark);
}

.notice-attach-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-attach-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f9faf9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-dark);
  transition: background 0.18s;
}

.notice-attach-item:hover {
  background: #e8f5e9;
}

.notice-attach-icon-lg {
  font-size: 36px !important;
  color: #e53935;
  flex-shrink: 0;
}

.notice-attach-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notice-attach-info strong {
  font-size: 14px;
  font-weight: 700;
}

.notice-attach-info span {
  font-size: 12px;
  color: var(--text-light);
}

.notice-attach-item > .material-symbols-outlined:last-child {
  font-size: 22px;
  color: var(--primary-green-dark);
  flex-shrink: 0;
}

/* ============================================================
   === ADMISSION INFO PAGE ===
   ============================================================ */

.adm-section {
  margin-bottom: 36px;
}

.adm-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f5e9;
}

.adm-section-title .material-symbols-outlined {
  font-size: 22px;
  color: var(--primary-green-dark);
}

/* Steps */
.adm-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.adm-steps::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-green-dark), #c8e6c9);
}

.adm-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 24px;
  position: relative;
}

.adm-step:last-child {
  padding-bottom: 0;
}

.adm-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-green-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #e8f5e9;
}

.adm-step-content {
  padding-top: 8px;
}

.adm-step-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px;
}

.adm-step-content p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Table wrap */
.adm-table-wrap {
  overflow-x: auto;
}

/* Checklist */
.adm-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adm-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  padding: 10px 14px;
  background: #f9faf9;
  border-radius: 8px;
}

.adm-check-icon {
  color: var(--primary-green-dark);
  font-size: 20px !important;
}

/* Scholarship */
.adm-scholarship {
  background: linear-gradient(135deg, #f9faf9, #f0faf4);
  border: 1px solid #c8e6c9;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.adm-scholarship h3 {
  font-size: 20px;
  color: var(--primary-green-dark);
  margin: 0 0 10px;
}

.adm-scholarship p {
  font-size: 14px;
  color: var(--text-dark);
  margin: 0 0 16px;
  line-height: 1.7;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Hostel Grid */
.adm-hostel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 560px) {
  .adm-hostel-grid {
    grid-template-columns: 1fr;
  }
}

.adm-hostel-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f9faf9;
  border-radius: 10px;
  padding: 14px;
}

.adm-hostel-item .material-symbols-outlined {
  font-size: 24px;
  color: var(--primary-green-dark);
  flex-shrink: 0;
}

.adm-hostel-item > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.adm-hostel-item strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.adm-hostel-item span {
  font-size: 12px;
  color: var(--text-light);
}

/* Testimonials */
.adm-testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-testimonial {
  display: flex;
  gap: 14px;
  background: #f9faf9;
  border-radius: 12px;
  padding: 16px;
  align-items: flex-start;
}

.adm-testimonial img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--primary-green-dark);
}

.adm-testimonial p {
  font-size: 14px;
  font-style: italic;
  color: var(--text-dark);
  margin: 0 0 6px;
  line-height: 1.7;
}

.adm-testimonial strong {
  font-size: 12px;
  color: var(--primary-green-dark);
}

/* FAQ */
.adm-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adm-faq-item {
  background: #f9faf9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}

.adm-faq-item summary {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}

.adm-faq-item summary::-webkit-details-marker {
  display: none;
}

.adm-faq-item summary::after {
  content: "expand_more";
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  color: var(--primary-green-dark);
  transition: transform 0.2s;
}

.adm-faq-item[open] summary::after {
  transform: rotate(180deg);
}

.adm-faq-item summary:hover {
  background: #e8f5e9;
}

.adm-faq-item p {
  padding: 12px 18px 16px;
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
  border-top: 1px solid #e0e0e0;
}

/* Dates Card */
.adm-dates-card {
  background: #f9faf9;
}

/* Helpline */
.adm-helpline {
  margin: 20px 0;
  background: var(--primary-green-dark);
  color: #fff;
  border-radius: 40px;
  padding: 10px 14px;
  font-size: 14px;
  text-align: center;
}

.adm-helpline strong {
  font-size: 18px;
  color: var(--gold-accent);
}

/* Map Placeholder */
.adm-map-placeholder {
  background: #f0faf4;
  border: 1px dashed #c8e6c9;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: var(--text-light);
}

.adm-map-placeholder .material-symbols-outlined {
  font-size: 36px;
  color: var(--primary-green-dark);
  display: block;
  margin-bottom: 8px;
}

.adm-map-placeholder p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
  color: var(--text-dark);
}

/* ============================================================
   === PREVIEW PAGE ===
   ============================================================ */

.preview-warning-bar {
  background: #fffbeb;
  border-bottom: 2px solid #fde68a;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #92400e;
  font-weight: 600;
  position: relative;
}

.preview-warning-bar .material-symbols-outlined:first-child {
  font-size: 20px;
  color: #d97706;
}

.preview-warning-dismiss {
  margin-left: auto;
  color: #92400e;
  display: flex;
  align-items: center;
}

.preview-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.preview-type-badge.probondho {
  background: #e8f5e9;
  color: var(--primary-green-dark);
}

.preview-type-badge.audio {
  background: #e3f2fd;
  color: #1565c0;
}

.preview-type-badge.video {
  background: #fce4ec;
  color: #c62828;
}

.preview-type-badge .material-symbols-outlined {
  font-size: 14px;
}

.preview-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.preview-status-badge.draft {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.preview-status-badge.published {
  background: #e8f5e9;
  color: var(--primary-green-dark);
}

.preview-status-badge .material-symbols-outlined {
  font-size: 14px;
}

/* ============================================================
   === DARBAR INTRO PAGE ===
   ============================================================ */

/* Heritage Banner */
.darbar-heritage-banner {
  position: relative;
  height: 380px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .darbar-heritage-banner {
    height: 220px;
  }
}

.darbar-heritage-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.darbar-heritage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 32px 24px;
  text-align: center;
}

.darbar-heritage-overlay h1 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .darbar-heritage-overlay h1 {
    font-size: 18px;
  }
}

.darbar-heritage-overlay p {
  font-size: 14px;
  color: var(--gold-accent);
  margin: 0;
  font-weight: 600;
}

/* Section */
.darbar-section {
  margin-bottom: 36px;
}

.darbar-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f5e9;
}

.darbar-section-title .material-symbols-outlined {
  font-size: 22px;
  color: var(--primary-green-dark);
}

/* Lead Text */
.darbar-lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dark);
  border-left: 4px solid var(--gold-accent);
  padding-left: 16px;
  margin: 0;
}

/* Timeline */
.darbar-timeline {
  position: relative;
  padding-left: 60px;
}

.darbar-timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-green-dark), #c8e6c9);
}

.darbar-tl-item {
  position: relative;
  margin-bottom: 28px;
  display: flex;
  gap: 0;
}

.darbar-tl-item:last-child {
  margin-bottom: 0;
}

.darbar-tl-year {
  position: absolute;
  left: -60px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-green-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #e8f5e9;
  z-index: 1;
}

.darbar-tl-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px;
  padding-top: 10px;
}

.darbar-tl-content p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Mission/Vision Grid */
.darbar-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .darbar-mv-grid {
    grid-template-columns: 1fr;
  }
}

.darbar-mv-card {
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}

.darbar-mv-card.mission {
  background: linear-gradient(135deg, #e8f5e9, #f0faf4);
  border: 1px solid #c8e6c9;
}

.darbar-mv-card.vision {
  background: linear-gradient(135deg, #fff8e1, #fffbeb);
  border: 1px solid #fde68a;
}

.darbar-mv-card .material-symbols-outlined {
  font-size: 40px;
  color: var(--primary-green-dark);
  display: block;
  margin-bottom: 12px;
}

.darbar-mv-card.vision .material-symbols-outlined {
  color: #d97706;
}

.darbar-mv-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
}

.darbar-mv-card p {
  font-size: 14px;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.7;
}

/* Activities Grid */
.darbar-activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .darbar-activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .darbar-activities-grid {
    grid-template-columns: 1fr;
  }
}

.darbar-activity-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.darbar-activity-card:hover {
  box-shadow: 0 5px 20px rgba(15, 107, 63, 0.13);
  transform: translateY(-3px);
}

.darbar-activity-card .material-symbols-outlined {
  font-size: 36px;
  color: var(--primary-green-dark);
  display: block;
  margin-bottom: 10px;
}

.darbar-activity-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.darbar-activity-card p {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* Murshid Section */
.darbar-murshid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  align-items: flex-start;
}

@media (max-width: 680px) {
  .darbar-murshid {
    grid-template-columns: 1fr;
  }
}

.darbar-murshid-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.darbar-murshid-info h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px;
  line-height: 1.4;
}

/* Gallery Carousel (simple grid) */
.darbar-gallery-carousel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

@media (max-width: 768px) {
  .darbar-gallery-carousel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .darbar-gallery-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
}

.darbar-gallery-carousel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s;
  cursor: pointer;
}

.darbar-gallery-carousel img:hover {
  transform: scale(1.05);
}

/* Video embed */
.darbar-video-embed {
  border-radius: 14px;
  overflow: hidden;
  background: #1a1a2e;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Donation Section */
.darbar-donation {
  background: linear-gradient(135deg, #f0faf4, #e8f5e9);
  border: 1px solid #c8e6c9;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.darbar-donation h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0 0 10px;
}

.darbar-donation p {
  font-size: 14px;
  color: var(--text-dark);
  margin: 0 0 20px;
  line-height: 1.7;
}

.darbar-donation-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 4px;
}

.darbar-donation-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
}

.darbar-donation-item .material-symbols-outlined {
  font-size: 22px;
  color: var(--primary-green-dark);
}

.darbar-donation-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.darbar-donation-item strong {
  font-weight: 700;
  color: var(--text-dark);
}

.darbar-donation-item span {
  color: var(--text-light);
}

/* Visitor Guide */
.darbar-visitor-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.darbar-visitor-item {
  display: flex;
  gap: 14px;
  background: #f9faf9;
  border-radius: 10px;
  padding: 16px;
  align-items: flex-start;
}

.darbar-visitor-item .material-symbols-outlined {
  font-size: 28px;
  color: var(--primary-green-dark);
  flex-shrink: 0;
}

.darbar-visitor-item > div strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.darbar-visitor-item > div p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Pulse animation for live status */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* ============================================================
   === CONTACT PAGE ===
   ============================================================ */

.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .contact-page-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Left Column: Info Cards --- */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e8ede8;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(15, 107, 63, 0.06);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.contact-info-card:hover {
  box-shadow: 0 5px 18px rgba(15, 107, 63, 0.13);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-green-dark), #1b8a52);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon .material-symbols-outlined {
  font-size: 22px;
  color: #fff;
}

.contact-info-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-info-body p {
  font-size: 14px;
  color: var(--text-dark);
  margin: 0 0 2px;
  line-height: 1.6;
}

.contact-info-body p:last-child {
  margin: 0;
}

.contact-info-body a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-info-body a:hover {
  color: var(--primary-green-dark);
}

/* --- Social Box --- */
.contact-social-box {
  background: #fff;
  border: 1px solid #e8ede8;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(15, 107, 63, 0.06);
}

.contact-social-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 14px;
}

.contact-social-title .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-green-dark);
}

.contact-social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-social-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    opacity 0.18s,
    transform 0.18s;
  color: #fff;
}

.contact-social-item:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.contact-social-item .material-symbols-outlined {
  font-size: 18px;
}

.contact-social-fb {
  background: linear-gradient(135deg, #1877f2, #1060d0);
}

.contact-social-yt {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}

.contact-social-tg {
  background: linear-gradient(135deg, #229ed9, #1a85b8);
}

/* --- Map Box --- */
.contact-map-box {
  background: #fff;
  border: 1px solid #e8ede8;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(15, 107, 63, 0.06);
  overflow: hidden;
}

.contact-section-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 14px;
}

.contact-section-heading .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-green-dark);
}

.contact-map-embed {
  border-radius: 10px;
  overflow: hidden;
}

.contact-map-embed iframe {
  width: 100%;
  border: none;
  display: block;
  border-radius: 10px;
}

/* --- Right Column: Form Box --- */
.contact-form-box {
  background: #fff;
  border: 1px solid #e8ede8;
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 3px 16px rgba(15, 107, 63, 0.08);
  margin-bottom: 24px;
}

.contact-form-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.contact-form-title .material-symbols-outlined {
  font-size: 24px;
  color: var(--primary-green-dark);
}

.contact-form-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin: 0 0 20px;
  line-height: 1.7;
}

/* --- FAQ Box --- */
.contact-faq-box {
  background: #fff;
  border: 1px solid #e8ede8;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(15, 107, 63, 0.07);
}

.contact-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}

.contact-faq-item {
  border-bottom: 1px solid #efefef;
}

.contact-faq-item:last-child {
  border-bottom: none;
}

.contact-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: right;
  gap: 10px;
  transition: color 0.15s;
}

.contact-faq-q:hover {
  color: var(--primary-green-dark);
}

.contact-faq-icon {
  font-size: 20px !important;
  flex-shrink: 0;
  color: var(--primary-green-dark);
  transition: transform 0.2s;
}

.contact-faq-a {
  display: none;
  padding: 0 0 14px;
}

.contact-faq-a p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.8;
}

.contact-faq-item.open .contact-faq-a {
  display: block;
}

.contact-faq-item.open .contact-faq-icon {
  transform: rotate(180deg);
}

.contact-faq-item.open .contact-faq-q {
  color: var(--primary-green-dark);
}

/* Nav active link */
nav .nav-item a.active,
nav .nav-item a.active span {
  color: var(--primary-green-dark);
  font-weight: 700;
}

/* Inline to External Transfer Classes */
.mb-0 {
  margin-bottom: 0 !important;
}
.promo-wide-gradient {
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green)) !important;
}
.flex-center-wrap {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.qa-action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Admission Page Transfer Classes */
.text-muted-xs {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
}
.btn-inline-flex {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.adm-download-card {
  background: linear-gradient(135deg, #f0faf4, #e8f5e9);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid #c8e6c9;
}
.adm-dates-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.adm-countdown-box {
  background: #fef2f2;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  margin-top: 14px;
}
.adm-countdown-label {
  font-size: 12px;
  color: #b91c1c;
}
.adm-countdown-time {
  font-size: 20px;
  font-weight: 700;
  color: #ef4444;
  font-variant-numeric: tabular-nums;
}

/* Sidebar & Apply CTA Transfer Classes */
.sidebar-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.sidebar-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  text-decoration: none;
}
.sidebar-contact-icon {
  font-size: 18px;
  color: var(--primary-green-dark);
}
.sidebar-contact-icon.whatsapp {
  color: #25d366;
}

.adm-apply-cta-widget {
  background: linear-gradient(135deg, #0f6b3f, #065f3e);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(6, 95, 70, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.adm-apply-cta-icon {
  font-size: 44px;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin: 0 auto 10px;
}
.adm-apply-cta-title {
  color: #ffffff !important;
  margin: 0 0 10px 0;
  font-size: 19px;
  font-weight: 800;
}
.adm-apply-cta-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0 20px;
  line-height: 1.6;
}
.adm-apply-cta-btn {
  width: fit-content;
  min-height: auto;
  margin: 10px auto 0;
  background: #ffffff !important;
  color: #0f6b3f !important;
  font-weight: 800;
  border: none;
  padding: 8px 20px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Darbar Intro Page Transfer Classes */
.darbar-profile-badge {
  margin-bottom: 10px;
  display: inline-block;
}
.darbar-profile-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.darbar-profile-bio {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.darbar-quote-box {
  border-left: 4px solid var(--gold-accent);
  padding: 12px 16px;
  background: #f9faf9;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 14px;
  color: var(--text-dark);
  margin: 0;
}
.darbar-centered-link {
  text-align: center;
  margin-top: 14px;
}
.darbar-video-placeholder {
  background: #1a1a2e;
  color: #fff;
}
.darbar-video-placeholder span {
  color: var(--gold-accent);
  opacity: 1;
}
.darbar-video-placeholder p {
  color: rgba(255, 255, 255, 0.8);
}
.darbar-video-placeholder small {
  opacity: 0.6;
}
.darbar-video-archive-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.darbar-donation-icon-main {
  font-size: 48px;
  color: var(--gold-accent);
  display: block;
  margin-bottom: 12px;
}
.darbar-donation-action-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-badge-open {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #e8f5e9;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
}
.status-dot-pulse {
  width: 10px;
  height: 10px;
  background: var(--primary-green-dark);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.sidebar-list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.sidebar-list-item-flex {
  display: flex;
  gap: 8px;
}
.sidebar-list-icon-sm {
  font-size: 17px;
  color: var(--primary-green-dark);
  flex-shrink: 0;
}
.sidebar-list-text-muted {
  color: var(--text-light);
}

/* Contact Page Social Icons */
.contact-social-list {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.social-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  color: white !important;
}
.social-icon-circle:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.social-icon-circle .material-symbols-outlined {
  font-size: 24px;
}
.icon-facebook {
  background: #1877f2;
}
.icon-youtube {
  background: #ff0000;
}
.icon-chat {
  background: #25d366;
}

/* Contact Page Specific Styles */
.contact-layout-top {
  margin-top: 30px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.contact-form-group {
  margin-bottom: 20px;
}
.contact-form-group-last {
  margin-bottom: 25px;
}
.contact-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-input,
.contact-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}
.contact-textarea {
  resize: vertical;
}
.contact-submit-btn {
  padding: 14px 30px;
  font-weight: 700;
}

/* Modern Contact Form */
.contact-form-section {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px rgba(15, 107, 63, 0.06);
}

.contact-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.contact-form-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-green-dark), #168a54);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 107, 63, 0.3);
}

.contact-form-icon-badge .material-symbols-outlined {
  font-size: 26px;
  color: #fff;
}

.contact-form-modern {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.contact-field-icon {
  position: absolute;
  left: 14px;
  font-size: 20px;
  color: var(--primary-green-dark);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.contact-field-input {
  width: 100%;
  padding: 13px 14px 13px 46px;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  background: #fafafa;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  box-sizing: border-box;
}

.contact-field-input:focus {
  outline: none;
  border-color: var(--primary-green-dark);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 107, 63, 0.1);
}

.contact-field-input::placeholder {
  color: var(--text-light);
}

.contact-field-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-textarea-wrap {
  align-items: flex-start;
}

.contact-form-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-form-note {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.contact-map-container {
  width: 100%;
  height: 400px;
  background: #eee;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #ddd;
}
.contact-section-spacer {
  margin-top: 40px;
}
.contact-info-text {
  margin: 0;
  color: var(--text-light);
  font-size: 13px;
}

/* Global Utility Classes for Clean HTML */
.hidden {
  display: none !important;
}
.flex {
  display: flex;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-item-center {
  display: flex;
  align-items: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-5 {
  gap: 5px;
}
.gap-8 {
  gap: 8px;
}
.gap-10 {
  gap: 10px;
}
.gap-12 {
  gap: 12px;
}
.gap-15 {
  gap: 15px;
}
.gap-20 {
  gap: 20px;
}

.mt-5 {
  margin-top: 5px;
}
.mt-10 {
  margin-top: 10px;
}
.mt-15 {
  margin-top: 15px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-30 {
  margin-top: 30px;
}
.mt-40 {
  margin-top: 40px;
}

.mb-0 {
  margin-bottom: 0 !important;
}
.mb-5 {
  margin-bottom: 5px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-12 {
  margin-bottom: 12px;
}
.mb-15 {
  margin-bottom: 15px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-25 {
  margin-bottom: 25px;
}
.mb-30 {
  margin-bottom: 30px;
}

.p-0 {
  padding: 0 !important;
}
.p-10 {
  padding: 10px;
}
.p-15 {
  padding: 15px;
}
.p-20 {
  padding: 20px;
}

.fs-11 {
  font-size: 11px;
}
.fs-12 {
  font-size: 12px;
}
.fs-13 {
  font-size: 13px;
}
.fs-14 {
  font-size: 14px;
}
.fs-15 {
  font-size: 14px;
}
.fs-16 {
  font-size: 14px;
}

.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}

.h-100 {
  height: 100%;
}

.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-muted {
  color: var(--text-light);
}
.text-dark {
  color: var(--text-dark);
}
.lh-1-8 {
  line-height: 1.8;
}
.opacity-06 {
  opacity: 0.6;
}
.opacity-08 {
  opacity: 0.8;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.v-middle {
  vertical-align: middle;
}

/* Admission Page Specific Remaining */
.adm-info-text {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.7;
}
.adm-card-title-sm {
  font-size: 20px;
  color: var(--primary-green-dark);
  margin: 10px 0;
}
.adm-card-desc {
  color: var(--text-dark);
  font-size: 14px;
  margin: 0 0 16px;
}
.adm-icon-large {
  font-size: 48px;
  color: var(--primary-green-dark);
  display: block;
  margin: 0 auto 10px;
}
.adm-icon-gold-large {
  font-size: 36px;
  color: var(--gold-accent);
  display: block;
  margin: 0 auto 10px;
  text-align: center;
}

/* Sidebar Widget Specifics */
.sidebar-green-promo {
  background: linear-gradient(135deg, #0f6b3f, #065f3e);
  border-radius: 12px;
  padding: 20px;
  color: white;
  text-align: center;
}
.sidebar-green-promo span.material-symbols-outlined {
  font-size: 36px;
  color: var(--gold-accent);
}
.sidebar-green-promo h4 {
  color: white;
  margin: 8px 0;
  font-size: 17px;
}
.sidebar-green-promo p {
  font-size: 13px;
  opacity: 0.85;
  margin: 0 0 10px;
}
.sidebar-green-promo .btn {
  background: var(--gold-accent);
  color: #1a1a1a;
  width: 100%;
}

.sidebar-live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #e8f5e9;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
}
.live-dot {
  width: 10px;
  height: 10px;
  background: var(--primary-green-dark);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.sidebar-contact-flex {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.sidebar-contact-flex-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  text-decoration: none;
}
.sidebar-contact-flex-item .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary-green-dark);
}
.icon-whatsapp {
  color: #25d366 !important;
}
.fs-12 {
  font-size: 12px;
}
.opacity-06 {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   NEW REFACTORED CLASSES
   ========================================== */

.hidden {
  display: none !important;
}

.m-0 {
  margin: 0 !important;
}

.mt-8 {
  margin-top: 8px !important;
}

.mt-14 {
  margin-top: 14px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-12 {
  margin-bottom: 12px !important;
}

.fs-11 {
  font-size: 11px !important;
}

.fs-12 {
  font-size: 12px !important;
}

.fs-13 {
  font-size: 13px !important;
}

.fs-15 {
  font-size: 15px !important;
}

.fs-17 {
  font-size: 17px !important;
}

.fs-18 {
  font-size: 18px !important;
}

.fs-20 {
  font-size: 20px !important;
}

.opacity-06 {
  opacity: 0.6 !important;
}

.opacity-085 {
  opacity: 0.85 !important;
}

.shrink-0 {
  flex-shrink: 0 !important;
}

.flex-gap-6 {
  display: flex !important;
  gap: 6px !important;
}

.flex-gap-8 {
  display: flex !important;
  gap: 8px !important;
}

.text-white {
  color: white !important;
}

.text-primary {
  color: var(--primary-green-dark) !important;
}

.whatsapp-color {
  color: #25d366 !important;
}

/* Component Classes */
.apply-online-btn {
  padding: 10px 20px !important;
  border-radius: 10px !important;
}

.video-archive-btn-link {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
}

.sidebar-live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #e8f5e9;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--primary-green-dark);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.sidebar-contact-v-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.sidebar-contact-iv-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  text-decoration: none;
}

.sidebar-widget-promo {
  background: linear-gradient(135deg, #0f6b3f, #065f3e);
  border-radius: 12px;
  padding: 16px;
  color: white;
  text-align: center;
}

.sidebar-widget-promo-icon {
  font-size: 32px !important;
  color: var(--gold-accent) !important;
}

.gold-btn-w100 {
  background: var(--gold-accent) !important;
  color: #1a1a1a !important;
  width: 100% !important;
}

.sidebar-subscribe-input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 13px;
}

.sidebar-green-promo {
  background: linear-gradient(135deg, #0f6b3f, #065f3e) !important;
  border-radius: 14px !important;
  padding: 20px !important;
  color: white !important;
}

.notice-promo-icon {
  font-size: 36px !important;
  color: var(--gold-accent) !important;
}

.sidebar-subscribe-tel-input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: none !important;
  font-family: inherit;
  font-size: 13px;
}

/* ==========================================
   PROBONDHO (ARTICLE) ARCHIVE PAGE
   ========================================== */

.probondho-cat-badge {
  display: inline-flex;
  align-items: center;
  background: var(--light-green);
  color: var(--primary-green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(6, 95, 70, 0.18);
  letter-spacing: 0.3px;
  width: fit-content;
}

.probondho-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-light);
}

.probondho-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.probondho-meta-strip .material-symbols-outlined {
  font-size: 16px;
  color: var(--primary-green-light);
}

.probondho-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    gap 0.2s,
    color 0.2s;
  margin-top: 4px;
  width: fit-content;
}

.probondho-read-more:hover {
  color: var(--primary-green-dark);
  gap: 10px;
}

.probondho-read-more .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.2s;
}

.probondho-read-more:hover .material-symbols-outlined {
  transform: translateX(4px);
}

.probondho-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.probondho-list.list-view {
  grid-template-columns: 1fr;
}

.probondho-list.list-view .probondho-card {
  flex-direction: row;
}

.probondho-list.list-view .probondho-card-img {
  width: 350px;
  min-width: 350px;
  height: 280px;
}

.probondho-list.list-view .probondho-card-content {
  flex: 1;
}

.probondho-card {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(6, 95, 70, 0.06);
  display: flex;
  flex-direction: column;
}

.probondho-card:hover {
  border-color: rgba(6, 95, 70, 0.25);
  box-shadow: 0 10px 28px rgba(6, 95, 70, 0.13);
  transform: translateY(-4px);
}

.probondho-card-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

.probondho-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.probondho-card:hover .probondho-card-img img {
  transform: scale(1.06);
}

.probondho-card-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.probondho-card-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0;
  line-height: 1.5;
}

.probondho-card-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.probondho-card-content h3 a:hover {
  color: var(--primary-green);
}

.probondho-card-content p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.probondho-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.probondho-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--light-green);
  color: var(--primary-green-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(6, 95, 70, 0.15);
  transition: all 0.2s ease;
}

.probondho-tag:hover {
  background: var(--primary-green-dark);
  color: var(--white);
  border-color: var(--primary-green-dark);
  transform: translateY(-2px);
}

.probondho-submit-cta {
  background: linear-gradient(135deg, var(--primary-green-dark), #0a7a52) !important;
  text-align: center;
  color: white !important;
}

.probondho-submit-icon {
  font-size: 42px !important;
  color: var(--accent-gold) !important;
  display: block;
  margin: 0 auto 15px !important;
}

.probondho-submit-title {
  color: var(--white) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
  margin-bottom: 15px;
  padding-bottom: 8px;
  justify-content: center;
}

.probondho-submit-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0 20px;
  line-height: 1.7;
}

.probondho-submit-cta .btn {
  background: var(--accent-gold) !important;
  color: var(--primary-green-dark) !important;
  font-weight: 700 !important;
  border: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  padding: 10px 24px !important;
  width: auto !important;
  border-radius: 99px !important; /* Rounded for better look */
}

.probondho-submit-cta .btn:hover {
  background: #f1c40f !important; /* Lighter gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .probondho-list {
    grid-template-columns: 1fr;
  }

  .probondho-list.list-view .probondho-card {
    flex-direction: column;
  }

  .probondho-list.list-view .probondho-card-img {
    width: 100%;
    min-width: 100%;
    height: 220px;
  }
}

@media (max-width: 600px) {
}

/* ==========================================
   SINGLE BOOK PAGE
   ========================================== */

/* Hero: image left + info right */
.sb-hero {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 36px;
}

/* Gallery (left column ~42%) */
.sb-gallery {
  flex: 0 0 42%;
  max-width: 42%;
}

.sb-main-cover {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(6, 95, 70, 0.15);
  background: #f0f0f0;
}

.sb-main-cover img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sb-main-cover:hover img {
  transform: scale(1.04);
}

.sb-gallery-zoom-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.sb-main-cover:hover .sb-gallery-zoom-hint {
  opacity: 1;
}

.sb-gallery-zoom-hint .material-symbols-outlined {
  font-size: 16px;
}

.sb-thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.sb-thumb {
  flex: 0 0 calc(25% - 6px);
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.sb-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.sb-thumb:hover {
  border-color: var(--primary-green-light);
  transform: translateY(-2px);
}

.sb-thumb.active {
  border-color: var(--primary-green-dark);
}

/* Info (right column) */
.sb-info {
  flex: 1;
  min-width: 0;
}

.sb-title-block {
  margin-bottom: 16px;
}

.sb-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0 0 10px;
  line-height: 1.4;
}

.sb-author {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 15px;
  margin: 0 0 14px;
}

.sb-meta-icon {
  font-size: 18px;
  color: var(--primary-green);
}

.sb-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sb-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light-green);
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(6, 95, 70, 0.15);
  transition: all 0.2s ease;
}

.sb-meta-chip:hover {
  background: var(--light-green-alt);
  border-color: rgba(6, 95, 70, 0.25);
  transform: translateY(-1px);
}

.sb-meta-chip .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary-green-dark);
}

/* Rating Summary */
.sb-rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--light-green);
  border-radius: 12px;
  border: 1px solid rgba(6, 95, 70, 0.1);
}

.sb-rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sb-rating-stars .star {
  font-size: 20px;
  font-variation-settings: "FILL" 1;
}

.sb-rating-stars .star.filled {
  color: #f59e0b;
}
.sb-rating-stars .star.half {
  color: #f59e0b;
}
.sb-rating-stars .star.empty {
  color: #cbd5e1;
}

.sb-rating-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin-left: 4px;
}

.sb-rating-count {
  font-size: 13px;
  color: var(--text-light);
}

.sb-rating-link {
  font-size: 13px;
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: none;
}

.sb-rating-link:hover {
  text-decoration: underline;
}

/* Purchase Box */
.sb-purchase-box {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.12);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sb-pricing {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sb-old-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.sb-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.sb-discount-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.sb-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.sb-stock-ok {
  color: #16a34a;
}

.sb-stock-ok .material-symbols-outlined {
  font-size: 18px;
  font-variation-settings: "FILL" 1;
}

.sb-buy-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-qty-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-qty-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.sb-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.sb-qty-btn {
  background: var(--light-green);
  border: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-green-dark);
  transition: background 0.2s;
}

.sb-qty-btn:hover {
  background: rgba(6, 95, 70, 0.15);
}

.sb-qty-input {
  width: 52px;
  text-align: center;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--white);
  padding: 0;
}

.sb-qty-input::-webkit-inner-spin-button,
.sb-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.sb-add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-green-dark);
  color: var(--white);
  border: none;
  border-radius: 40px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
}

.sb-add-to-cart-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
}

.sb-buy-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-gold);
  color: var(--primary-green-dark);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.3s,
    transform 0.2s;
}

.sb-buy-now-btn:hover {
  background: #f1c40f;
  transform: translateY(-2px);
}

/* Section headings below hero */
.sb-section {
  margin-bottom: 30px;
}

.sb-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-green);
}

.sb-description p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dark);
  margin: 0 0 14px;
}

/* Details Table */
.sb-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sb-details-table tr {
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
}

.sb-details-table th {
  text-align: left;
  padding: 12px 20px;
  color: var(--text-light);
  font-weight: 600;
  width: 150px;
  background: rgba(6, 95, 70, 0.03);
}

.sb-details-table td {
  padding: 12px 20px;
  color: var(--text-dark);
  font-weight: 500;
}

/* TOC */
.sb-toc-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light-green);
  border: 1px solid rgba(6, 95, 70, 0.15);
  border-radius: 10px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-green-dark);
  cursor: pointer;
  width: 100%;
  text-align: right;
  justify-content: space-between;
  transition: background 0.2s;
}

.sb-toc-toggle:hover {
  background: rgba(6, 95, 70, 0.1);
}

.sb-toc-list {
  margin: 12px 0 0 0;
  padding: 0 0 0 24px;
  display: none;
}

.sb-toc-list.open {
  display: flex;
}

.sb-toc-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
}

/* Preview Strip */
.sb-preview-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sb-preview-thumb {
  flex: 0 0 calc(33.33% - 8px);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
}

.sb-preview-thumb img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.sb-preview-thumb:hover img {
  transform: scale(1.05);
}

.sb-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
}

.sb-preview-thumb:hover .sb-preview-overlay {
  opacity: 1;
}

/* Rating Overview */
.sb-rating-overview {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
  background: #f8faf9;
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 36px;
}

.sb-rating-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 2px solid rgba(6, 95, 70, 0.06);
  padding-right: 10px;
}

.sb-rating-big-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--primary-green-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.sb-rating-big .sb-rating-stars {
  margin-bottom: 10px;
}

.sb-rating-total {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.sb-rating-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: var(--text-dark);
}

.sb-rating-bar-row span:first-child {
  min-width: 32px;
  font-weight: 600;
}

.sb-bar-track {
  flex: 1;
  height: 10px;
  background: #eaefec;
  border-radius: 999px;
  overflow: hidden;
}

.sb-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 999px;
}

.sb-rating-bar-row span:last-child {
  min-width: 20px;
  text-align: left;
  font-weight: 600;
  color: var(--text-light);
}

@media (max-width: 600px) {
  .sb-rating-overview {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px;
  }
  .sb-rating-big {
    border-right: none;
    border-bottom: 2px solid rgba(6, 95, 70, 0.06);
    padding-right: 0;
    padding-bottom: 24px;
  }
}

/* Review List */
.sb-review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sb-review-card {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 14px;
  padding: 20px;
}

.sb-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sb-reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.sb-reviewer-info {
  flex: 1;
}

.sb-reviewer-info strong {
  font-size: 15px;
  color: var(--text-dark);
  display: block;
  margin-bottom: 3px;
}

.sb-review-stars {
  display: flex;
  gap: 2px;
}

.sb-review-stars .star {
  font-size: 16px;
  font-variation-settings: "FILL" 1;
}

.sb-review-stars .star.filled {
  color: #f59e0b;
}
.sb-review-stars .star.empty {
  color: #cbd5e1;
}

.sb-review-date {
  font-size: 13px;
  color: var(--text-light);
  margin-left: auto;
}

.sb-review-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dark);
  margin: 0;
}

/* Review Form */
.sb-review-form {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.sb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.sb-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.sb-form-row .sb-form-group {
  margin-bottom: 0;
}

.sb-form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.sb-form-label .required {
  color: #dc2626;
}

.sb-form-input,
.sb-form-textarea {
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}

.sb-form-input:focus,
.sb-form-textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.sb-star-picker {
  display: flex;
  gap: 4px;
}

.sb-star-pick {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #cbd5e1;
  transition:
    color 0.2s,
    transform 0.15s;
}

.sb-star-pick:hover,
.sb-star-pick.selected {
  color: #f59e0b;
}

.sb-star-pick:hover {
  transform: scale(1.2);
}

.sb-star-pick .material-symbols-outlined {
  font-size: 28px;
  font-variation-settings: "FILL" 1;
}

.sb-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-green-dark);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
}

.sb-submit-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
}

/* Responsive single-book */
@media (max-width: 768px) {
  .sb-hero {
    flex-direction: column;
  }
  .sb-gallery {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .sb-form-row {
    grid-template-columns: 1fr;
  }
}

/* Mobile responsive adjustments for single pages */
@media (max-width: 600px) {
  .single-audio-nav {
    flex-wrap: wrap; /* Ensuring they can stay side-by-side if they fit, or wrap if not, but user wants half-half */
    flex-direction: row !important;
    gap: 10px;
  }

  .single-audio-nav-btn {
    flex: 1 1 calc(50% - 5px) !important;
    padding: 12px 10px !important;
    min-width: 0;
  }

  .nav-title-sm {
    font-size: 0.75rem;
  }

  .title-badge-wrapper {
    justify-content: center !important;
    flex-wrap: wrap;
    text-align: center;
  }

  .single-audio-title,
  .single-video-title {
    width: 100%;
    text-align: center;
  }
}

.topbar-filter-select {
  min-height: 36px !important;
  padding: 5px 10px !important;
  background-color: #f8faf9;
  font-size: 13px;
  border-radius: 8px;
  margin-left: 5px;
}
.sb-review-author {
  display: block;
  margin-bottom: 3px;
}

.sb-review-stars {
  display: flex;
  gap: 2px;
}

.sb-review-stars .star {
  font-size: 16px;
  font-variation-settings: "FILL" 1;
}

.sb-review-stars .star.filled {
  color: #f59e0b;
}
.sb-review-stars .star.empty {
  color: #cbd5e1;
}

.sb-review-date {
  font-size: 13px;
  color: var(--text-light);
  margin-left: auto;
}

.sb-review-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dark);
  margin: 0;
}

/* Review Form */
.sb-review-form {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.sb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.sb-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.sb-form-row .sb-form-group {
  margin-bottom: 0;
}

.sb-form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.sb-form-label .required {
  color: #dc2626;
}

.sb-form-input,
.sb-form-textarea {
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}

.sb-form-input:focus,
.sb-form-textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.sb-star-picker {
  display: flex;
  gap: 4px;
}

.sb-star-pick {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #cbd5e1;
  transition:
    color 0.2s,
    transform 0.15s;
}

.sb-star-pick:hover,
.sb-star-pick.selected {
  color: #f59e0b;
}

.sb-star-pick:hover {
  transform: scale(1.2);
}

.sb-star-pick .material-symbols-outlined {
  font-size: 28px;
  font-variation-settings: "FILL" 1;
}

.sb-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-green-dark);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
}

.sb-submit-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
}

/* Responsive single-book */
@media (max-width: 768px) {
  .sb-hero {
    flex-direction: column;
  }
  .sb-gallery {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .sb-form-row {
    grid-template-columns: 1fr;
  }
}

/* Mobile responsive adjustments for single pages */
@media (max-width: 600px) {
  .single-audio-nav {
    flex-wrap: wrap; /* Ensuring they can stay side-by-side if they fit, or wrap if not, but user wants half-half */
    flex-direction: row !important;
    gap: 10px;
  }

  .single-audio-nav-btn {
    flex: 1 1 calc(50% - 5px) !important;
    padding: 12px 10px !important;
    min-width: 0;
  }

  .nav-title-sm {
    font-size: 0.75rem;
  }

  .title-badge-wrapper {
    justify-content: center !important;
    flex-wrap: wrap;
    text-align: center;
  }

  .single-audio-title,
  .single-video-title {
    width: 100%;
    text-align: center;
  }
}

.topbar-filter-select {
  min-height: 36px !important;
  padding: 5px 10px !important;
  background-color: #f8faf9;
  font-size: 13px;
  border-radius: 8px;
  margin-left: 5px;
}

@media (max-width: 768px) {
  .topbar-filter-select {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }
}

.sb-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #555;
  margin: 0 0 16px;
}

.sb-author a {
  color: inherit;
  text-decoration: none;
}

/* Responsive for single-monthly-hd */
/* ==============================================
   CHECKOUT COMPONENT STYLING (NEW STRUCTURE)
   ============================================== */

/* Summary Card Title Icon Fix */
.co-summary-title {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--primary-green-dark) !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.2) !important;
  padding-left: 0 !important;
}

.co-summary-title:before {
  display: none !important;
}

.co-summary-title .material-symbols-outlined {
  font-size: 22px;
  color: var(--accent-gold);
}

/* Coupon box inside summary card */
.co-sidebar-coupon-box-inner {
  padding: 15px 0;
  border-top: 1px dashed rgba(6, 95, 70, 0.15);
  margin-top: 15px;
}

.co-sidebar-coupon-fields {
  display: flex;
  gap: 10px;
}

.co-sidebar-coupon-fields input.input-text {
  flex: 1;
  height: 42px !important;
  padding: 0 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}

.co-sidebar-coupon-fields button#apply_sidebar_coupon {
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  background: var(--primary-green-dark) !important;
  color: white !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 13px !important;
}

/* Submit Section on Right Card */
.co-checkout-submit-wrap {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1.5px solid rgba(212, 175, 55, 0.2);
}

.co-place-order-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 15px !important;
  background: var(--primary-green-dark) !important;
  color: white !important;
  border: none !important;
  border-radius: 99px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 10px 25px rgba(6, 95, 70, 0.2) !important;
  transition: all 0.3s !important;
  margin-top: 15px !important;
}

.co-place-order-btn:hover {
  background: var(--primary-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(6, 95, 70, 0.3) !important;
}

.co-place-order-btn .material-symbols-outlined {
  font-size: 22px !important;
  font-variation-settings: "FILL" 1 !important;
}

/* Back to cart link styling */
.co-back-to-cart {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin-top: 20px !important;
  color: var(--text-light) !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.co-back-to-cart:hover {
  color: var(--primary-green-dark) !important;
}

/* Fixes for checkout headers on left column */
.hd-co-left h3.co-section-title {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding-left: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--primary-green-dark) !important;
  margin: 25px 0 15px !important;
  padding-bottom: 10px !important;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.2) !important;
}

.hd-co-left h3.co-section-title:before {
  display: none !important;
}

.hd-co-left h3.co-section-title .material-symbols-outlined {
  font-size: 20px;
  color: var(--accent-gold);
}

/* Adjustments for payment methods on left */
#hd-co-payment-method #payment {
  background: white !important;
  border: 1px solid rgba(6, 95, 70, 0.1) !important;
  padding: 0 !important;
}

#hd-co-payment-method .co-wc-payment-list {
  margin-bottom: 0 !important;
}

/* Adjustments for shipping methods on left */
.hd-co-shipping-list {
  background: white;
  border-radius: 12px;
}

.hd-co-shipping-list ul#shipping_method {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hd-co-shipping-list ul#shipping_method li {
  background: #f8faf9;
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 10px;
  padding: 12px;
  margin: 0 !important;
}

.hd-co-shipping-list ul#shipping_method li input {
  margin-right: 8px;
}

.hd-co-shipping-list ul#shipping_method li label {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 600px) {
  .hd-co-shipping-list ul#shipping_method {
    grid-template-columns: 1fr;
  }
}

/* Notice expiry warning */
.notice-expiry-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 12px;
  background: #ecfdf5;
  border: 1px solid rgba(6, 95, 70, 0.2);
  color: var(--primary-green-dark);
}

.notice-expiry-warning.expired {
  background: #fef2f2;
  border-color: rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

.notice-expiry-warning .material-symbols-outlined {
  font-size: 20px;
}

/* Print styles for Dini Jiggasa */
@media print {
  header,
  nav,
  footer,
  .archive-hero,
  .archive-breadcrumb,
  .archive-sidebar,
  .single-audio-share-wrap,
  .jiggasa-vote-row,
  .single-audio-nav,
  .probondho-font-ctrl,
  .comments-area,
  .comment-respond,
  .sidebar-widget {
    display: none !important;
  }

  .archive-layout,
  .archive-main {
    width: 100% !important;
    max-width: 100% !important;
  }

  .jiggasa-answer-body {
    font-size: 14pt;
  }
}

/* ---- Single Book Lightbox Fixes ---- */
.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 3000;
}

.sb-lightbox-content {
  max-width: 1000px;
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sb-lightbox-img-container {
  background: transparent;
  padding: 8px;
  border-radius: 12px;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sb-lightbox-img-container img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

.sb-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.sb-lightbox-nav:hover {
  background: white;
  color: var(--primary-green-dark);
}

.sb-prev {
  left: -20px;
}

.sb-next {
  right: -20px;
}

@media (max-width: 1100px) {
  .sb-prev {
    left: 10px;
  }
  .sb-next {
    right: 10px;
  }
  .sb-lightbox-nav {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.5);
  }
}

/* Review Form Heading Spacing */
.sb-review-form-container .sb-section-title {
  margin-top: 48px;
  margin-bottom: 32px;
}

/* Related Books Sidebar Layout */
.sidebar-popular-books {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-popular-books li a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 6px 0;
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
  transition: color 0.2s;
}

.sidebar-popular-books li:last-child a {
  border-bottom: none;
}

.sidebar-popular-books li a:hover {
  color: var(--primary-green-dark);
}

.popular-book-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-book-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popular-book-info h5 {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-dark);
}

.popular-book-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

/* Single Book PDF Preview */
.sb-pdf-preview {
  margin-top: 5px;
  background: #fff;
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.sb-pdf-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  background: #f8fdfa;
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
  flex-wrap: wrap;
  gap: 15px;
}

.sb-pdf-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sb-pdf-icon {
  font-size: 36px;
  color: #e53935;
  background: #fff;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.15);
}

.sb-pdf-text h4 {
  margin: 0 0 4px;
  font-size: 19px;
  color: var(--primary-green-dark);
  font-weight: 700;
}

.sb-pdf-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
}

.sb-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--primary-green-dark);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.2);
}

.sb-pdf-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.28);
  color: #fff !important;
}

.sb-pdf-embed-wrapper {
  background: #ffffff;
  padding: 0;
  max-width: 100%;
  margin: 0;
  border: none;
  position: relative;
}

.sb-pdf-js-container {
  max-height: 900px;
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-green-light) #f0f0f0;
}

.sb-pdf-js-container::-webkit-scrollbar {
  width: 8px;
}

.sb-pdf-js-container::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.sb-pdf-js-container::-webkit-scrollbar-thumb {
  background-color: var(--primary-green-light);
  border-radius: 20px;
}

.sb-pdf-page {
  max-width: 100%;
  height: auto !important;
  background: #fff;
  box-shadow: none;
  border-radius: 0;
  display: block;
}

.sb-pdf-loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-light);
  width: 100%;
}

.sb-pdf-spinner {
  width: 45px;
  height: 45px;
  border: 3.5px solid #f3f3f3;
  border-top: 3.5px solid var(--primary-green);
  border-radius: 50%;
  animation: sb-pdf-spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes sb-pdf-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
  .sb-pdf-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .sb-pdf-btn {
    width: 100%;
    justify-content: center;
  }
  .sb-pdf-meta {
    width: 100%;
  }
}

/* Final Overrides */
.sb-discount-badge {
  background: #ebf8f3 !important;
  color: #065f46 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(6, 95, 70, 0.1) !important;
}
.sb-author {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 15px !important;
  color: #555 !important;
  margin: 0 0 16px !important;
}
.sb-author a {
  color: inherit !important;
  text-decoration: none !important;
}

/* Single Product Page Fixes */
.sb-buy-controls form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
}
.sb-buy-controls .quantity {
  margin: 0 !important;
}
.button.single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 48px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  border: 1.5px solid var(--primary-green-dark) !important;
  background: var(--primary-green-dark) !important;
  color: white !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.22) !important;
  transition: all 0.2s ease !important;
}
.button.single_add_to_cart_button:hover {
  background: var(--primary-green) !important;
  transform: translateY(-2px) !important;
}
.button.single_add_to_cart_button::before {
  content: "add_shopping_cart";
  font-family: "Material Symbols Outlined";
  font-size: 18px;
  margin-right: 2px;
}

/* CART PAGE (cart.html)
   ============================================== */
.cart-page-layout {
  margin-top: 8px;
}

/* ---- Empty State ---- */
.cart-empty-state {
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cart-empty-icon .material-symbols-outlined {
  font-size: 72px;
  color: rgba(6, 95, 70, 0.18);
}

.cart-empty-state h3 {
  font-size: 1.5rem;
  color: var(--primary-green-dark);
  margin: 0;
}

.cart-empty-state p {
  color: var(--text-light);
  margin: 0;
}

/* ---- Cart Table ---- */
.cart-table-wrap {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(6, 95, 70, 0.1);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(6, 95, 70, 0.07);
  margin-bottom: 20px;
  overflow-x: auto;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.2fr 1fr 60px;
  gap: 0;
  background: rgba(6, 95, 70, 0.05);
  border-bottom: 1px solid rgba(6, 95, 70, 0.1);
  min-width: 560px;
}

.cart-th {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-table-body {
  display: flex;
  flex-direction: column;
  min-width: 560px;
}

.cart-table-row {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.2fr 1fr 60px;
  gap: 0;
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
  align-items: center;
}

.cart-table-row:last-child {
  border-bottom: none;
}

.cart-td {
  padding: 16px;
  font-size: 14px;
  color: var(--text-dark);
}

.cart-td-product .cart-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-product-cover {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(6, 95, 70, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-product-cover .material-symbols-outlined {
  font-size: 26px;
  color: var(--primary-green-dark);
}

.cart-product-meta strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.4;
}

.cart-td-price,
.cart-td-sub {
  font-weight: 600;
  color: var(--primary-green-dark);
}

.cart-td-remove {
  display: flex;
  justify-content: center;
}

.cart-remove-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(185, 28, 28, 0.3) !important;
  background: none;
  color: #b91c1c !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s;
  box-sizing: border-box !important;
  line-height: 1 !important;
}

.cart-remove-btn:hover {
  background: rgba(185, 28, 28, 0.08);
}

.cart-remove-btn .material-symbols-outlined {
  font-size: 17px;
}

/* ---- Cart Actions Bar ---- */
.cart-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cart-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-green-dark);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  background: white;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.cart-continue-btn:hover {
  background: rgba(6, 95, 70, 0.05);
  border-color: var(--primary-green-dark);
}

.cart-continue-btn .material-symbols-outlined {
  font-size: 18px;
}

.cart-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #b91c1c;
  background: none;
  border: 1.5px solid rgba(185, 28, 28, 0.25);
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-clear-btn:hover {
  background: rgba(185, 28, 28, 0.06);
}

.cart-clear-btn .material-symbols-outlined {
  font-size: 18px;
}

/* ---- Bottom Grid: coupon + totals ---- */
.cart-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.cart-coupon-box,
.cart-totals-card {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(6, 95, 70, 0.07);
}

.cart-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary-green-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
}

.cart-box-title .material-symbols-outlined {
  font-size: 20px;
}

.cart-coupon-row {
  display: flex;
  gap: 10px;
}

.cart-coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.cart-coupon-input:focus {
  border-color: var(--primary-green-dark);
}

.cart-coupon-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary-green-dark);
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.cart-coupon-apply-btn:hover {
  background: var(--primary-green);
}

.cart-coupon-apply-btn .material-symbols-outlined {
  font-size: 14px;
}

.cart-coupon-msg {
  margin: 8px 0 0;
  font-size: 14px;
  min-height: 18px;
}

/* ---- Cart Totals ---- */
.cart-totals-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.07);
}

.cart-totals-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-totals-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.cart-discount-val {
  color: #b91c1c;
  font-weight: 700;
}

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: var(--primary-green-dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 20px rgba(6, 95, 70, 0.25);
  transition:
    background 0.2s,
    transform 0.2s;
  margin-bottom: 12px;
}

.cart-checkout-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
}

.cart-checkout-btn .material-symbols-outlined {
  font-size: 20px;
}

.cart-shop-more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}

.cart-shop-more-link:hover {
  color: var(--primary-green-dark);
}

.cart-shop-more-link .material-symbols-outlined {
  font-size: 14px;
}

/* ---- Trust Strip ---- */
.cart-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.cart-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.08);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(6, 95, 70, 0.05);
}

.cart-trust-badge .material-symbols-outlined {
  font-size: 32px;
  color: var(--primary-green-dark);
}

.cart-trust-badge strong {
  font-size: 14px;
  color: var(--text-dark);
}

.cart-trust-badge p {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
}

/* ---- Recently Viewed ---- */
.cart-recently-viewed {
  margin-top: 12px;
}

.cart-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary-green-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
}

.cart-box-title .material-symbols-outlined {
  font-size: 20px;
}

.cart-coupon-row {
  display: flex;
  gap: 10px;
}

.cart-coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.cart-coupon-input:focus {
  border-color: var(--primary-green-dark);
}

.cart-coupon-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary-green-dark);
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.cart-coupon-apply-btn:hover {
  background: var(--primary-green);
}

.cart-coupon-apply-btn .material-symbols-outlined {
  font-size: 14px;
}

.cart-coupon-msg {
  margin: 8px 0 0;
  font-size: 14px;
  min-height: 18px;
}

/* ---- Cart Totals (Order Summary) ---- */
.cart-totals-card {
  background: #ffffff;
  border: 1px solid rgba(6, 95, 70, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(6, 95, 70, 0.04);
}

.cart-totals-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-dark);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.05);
}

.cart-totals-row:last-of-type {
  border-bottom: none;
}

.cart-totals-row > span:first-child {
  font-weight: 600;
  color: #4b5563;
}

/* Shipping adjustments */
.cart-totals-row.shipping {
  flex-direction: column;
  gap: 8px;
}

.cart-totals-row.shipping > span:first-child {
  width: 100%;
}

ul#shipping_method {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

ul#shipping_method li {
  padding: 0 !important;
  margin: 0 0 8px 0 !important;
}

ul#shipping_method li:before {
  display: none !important;
}

.woocommerce-shipping-destination {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.shipping-calculator-button {
  color: var(--primary-green-dark) !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}

/* Grand Total */
.cart-totals-total {
  background: rgba(6, 95, 70, 0.03);
  margin-top: 10px;
  padding: 16px !important;
  border-radius: 12px;
  border-bottom: none !important;
}

.cart-totals-total span:first-child {
  color: var(--primary-green-dark) !important;
  font-size: 16px !important;
}

.cart-totals-total strong {
  font-size: 20px;
  color: var(--primary-green-dark);
}

/* Checkout Button override */
.wc-proceed-to-checkout .checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 16px !important;
  border-radius: 15px !important;
  background: var(--primary-green-dark) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(6, 95, 70, 0.2) !important;
  transition: all 0.3s ease !important;
  margin-bottom: 15px !important;
  border: none !important;
}

.wc-proceed-to-checkout .checkout-button:hover {
  background: var(--primary-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(6, 95, 70, 0.3) !important;
}

/* Proceed info */
.wc-proceed-to-checkout .checkout-button::before {
  content: "\e8cc"; /* Shopping basket icon */
  font-family: "Material Symbols Outlined";
  font-size: 20px;
}

.cart-shop-more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  margin-top: 10px;
  transition: color 0.2s;
}

.cart-shop-more-link:hover {
  color: var(--primary-green-dark);
}

.cart-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---- Responsive Cart ---- */
@media (max-width: 768px) {
  .cart-bottom-grid {
    grid-template-columns: 1fr;
  }
  .cart-trust-strip {
    grid-template-columns: 1fr;
  }
  .cart-recent-grid {
    grid-template-columns: 1fr;
  }
  .cart-actions-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- WooCommerce AJAX Cart Loader Overlay ---- */
#hidayah-cart-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

#hidayah-cart-loading-overlay .hcl-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(6, 95, 70, 0.15);
  border-top-color: #065f46;
  border-radius: 50%;
  animation: hidayah_spinner 0.7s linear infinite;
  box-shadow: 0 4px 20px rgba(6, 95, 70, 0.15);
}
@keyframes hidayah_spinner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==============================================
   WOOCOMMERCE CHECKOUT STYLING
   ============================================== */

/* ==============================================
   CUSTOM CHECKOUT PAGE DESIGN (hd-co-*)
   Matches hoquerdawat-html/checkout.html
   ============================================== */

.hd-checkout-section {
  padding-top: 30px;
  padding-bottom: 60px;
}

/* ---- Checkout Steps ---- */
.co-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 32px;
  max-width: 560px;
}

.co-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.co-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(6, 95, 70, 0.2);
  background: white;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.co-step.active .co-step-icon {
  background: var(--primary-green-dark);
  border-color: var(--primary-green-dark);
  color: white;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.28);
}

.co-step.done .co-step-icon {
  background: rgba(6, 95, 70, 0.1);
  border-color: var(--primary-green-dark);
  color: var(--primary-green-dark);
}

.co-step-icon .material-symbols-outlined {
  font-size: 20px;
}

.co-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.co-step.active .co-step-label {
  color: var(--primary-green-dark);
}

.co-step-line {
  flex: 1;
  height: 2px;
  background: rgba(6, 95, 70, 0.12);
  margin: 0 4px;
  margin-bottom: 22px;
  min-width: 40px;
}

.co-step-line.done {
  background: var(--primary-green-dark);
}

/* ---- Checkout Layout ---- */
.co-layout {
  align-items: start;
}

/* ---- Form Sections wrapper ---- */
.hd-co-form-wrap .co-form-section {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.09);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px rgba(6, 95, 70, 0.06);
}

.co-section-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: var(--primary-green-dark) !important;
  margin: 0 0 18px !important;
  padding-bottom: 12px !important;
  padding-left: 0 !important;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3) !important;
  position: static !important;
}

.co-section-title::before {
  display: none !important;
}

.co-section-title .material-symbols-outlined {
  font-size: 20px;
}

/* Billing/Shipping fields inside our sections - strip their own box */
.hd-co-billing-fields .woocommerce-billing-fields,
.hd-co-billing-fields .woocommerce-shipping-fields,
.hd-co-order-notes .woocommerce-additional-fields {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

/* Hide duplicate h3 headings inside our custom sections */
.hd-co-billing-fields h3,
.hd-co-order-notes h3 {
  display: none !important;
}

/* Two-column grid for billing field wrapper */
.hd-co-billing-fields .woocommerce-billing-fields__field-wrapper,
.hd-co-billing-fields .woocommerce-shipping-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

.hd-co-billing-fields .woocommerce-billing-fields__field-wrapper .form-row-first,
.hd-co-billing-fields .woocommerce-billing-fields__field-wrapper .form-row-last {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
}

.hd-co-billing-fields .woocommerce-billing-fields__field-wrapper .form-row-wide {
  grid-column: 1 / -1 !important;
}

/* Terms section overrides */
.co-terms-row {
  background: none !important;
  border: none !important;
  padding: 4px 0 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.co-terms-row .woocommerce-terms-and-conditions-wrapper {
  font-size: 14px;
  color: var(--text-dark);
}

.co-terms-row .woocommerce-terms-and-conditions-checkbox-text a {
  color: var(--primary-green-dark);
  font-weight: 600;
}

/* ---- Order Summary Card (sidebar right) ---- */
.co-summary-card {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 22px rgba(6, 95, 70, 0.1);
  margin-bottom: 20px;
}

.co-summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: var(--primary-green-dark);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
}

.co-summary-title .material-symbols-outlined {
  font-size: 20px;
}

/* Summary item rows */
.co-summary-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
}

.co-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.co-summary-item-title {
  color: var(--text-dark);
  flex: 1;
  line-height: 1.4;
}

.co-summary-item-title em {
  font-style: normal;
  color: var(--text-light);
  font-size: 12px;
}

.co-summary-item-price {
  font-weight: 700;
  color: var(--primary-green-dark);
  white-space: nowrap;
}

/* Summary Totals */
.co-summary-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.co-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.07);
}

.co-summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.co-summary-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.co-discount-row .co-discount-val {
  color: #b91c1c;
  font-weight: 700;
}

/* Place Order Button */
.co-place-order-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 999px;
  background: var(--primary-green-dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 20px rgba(6, 95, 70, 0.25);
  transition:
    background 0.2s,
    transform 0.2s;
  margin-bottom: 12px;
}

.co-place-order-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 95, 70, 0.3);
}

.co-place-order-btn .material-symbols-outlined {
  font-size: 20px;
}

/* Back to Cart */
.co-back-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
  margin-top: 10px;
}

.co-back-to-cart:hover {
  color: var(--primary-green-dark);
}

.co-back-to-cart .material-symbols-outlined {
  font-size: 14px;
}

/* Trust Badges */
.co-trust-widget {
  margin-bottom: 16px;
}

.co-trust-list {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 3px 12px rgba(6, 95, 70, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
}

.co-trust-item .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-green-dark);
  flex-shrink: 0;
}

/* ETA Card */
.co-eta-card {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 3px 12px rgba(6, 95, 70, 0.06);
}

.co-eta-card .sidebar-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary-green-dark);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.co-eta-card .sidebar-widget-title .material-symbols-outlined {
  font-size: 18px;
}

.co-eta-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-eta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.co-eta-row .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary-green-dark);
  flex-shrink: 0;
}

.co-eta-row strong {
  font-size: 14px;
  color: var(--text-dark);
}

.co-eta-row span {
  color: var(--text-light);
}

/* ---- WooCommerce payment methods list (custom review-order.php) ---- */
.co-wc-payment-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-wc-payment-list > li {
  background: white;
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  transition:
    border-color 0.2s,
    background 0.2s;
  list-style: none !important;
}

.co-wc-payment-list > li::before {
  display: none !important;
}

.co-wc-payment-list > li.woocommerce-PaymentMethod--active {
  border-color: var(--primary-green-dark);
  background: rgba(6, 95, 70, 0.04);
}

.co-wc-payment-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-dark);
}

.co-wc-payment-list .payment_box {
  margin-top: 12px;
  padding: 12px;
  background: rgba(6, 95, 70, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(6, 95, 70, 0.1);
  font-size: 13px;
  color: var(--text-light);
}

/* Place order form row */
.co-summary-card .form-row.place-order {
  margin-top: 16px;
  padding: 0;
}

/* ---- WooCommerce default field styling (overrides) ---- */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  outline: none;
  font-family: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: var(--primary-green-dark);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.woocommerce-checkout select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f6b3f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.woocommerce-checkout .form-row {
  margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.woocommerce-checkout .form-row label .required {
  color: #b91c1c;
}

/* Place order button (WooCommerce default) */
.woocommerce-checkout #place_order {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 999px;
  background: var(--primary-green-dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 20px rgba(6, 95, 70, 0.25);
  transition:
    background 0.2s,
    transform 0.2s;
  margin-bottom: 12px;
}

.woocommerce-checkout #place_order:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 95, 70, 0.3);
}

/* Coupon / login notices */
.hd-co-form-wrap .woocommerce-info {
  background: rgba(6, 95, 70, 0.05);
  border-left: 4px solid var(--primary-green-dark);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-dark);
  list-style: none;
}

.hd-co-form-wrap .woocommerce-info a {
  color: var(--primary-green-dark);
  font-weight: 600;
}

.hd-co-form-wrap .woocommerce-form-login,
.hd-co-form-wrap .woocommerce-form-coupon {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.09);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(6, 95, 70, 0.05);
}

.hd-co-form-wrap .woocommerce-form-coupon .form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}

.hd-co-form-wrap .woocommerce-form-coupon button {
  padding: 10px 20px;
  background: var(--primary-green-dark);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.hd-co-form-wrap .woocommerce-form-coupon button:hover {
  background: var(--primary-green);
}

/* Woocommerce notices on checkout */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
}

/* ---- Responsive Checkout ---- */
@media (max-width: 768px) {
  .co-steps {
    max-width: 100%;
  }

  .co-step-label {
    font-size: 10px;
  }

  .hd-co-billing-fields .woocommerce-billing-fields__field-wrapper,
  .hd-co-billing-fields .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }

  .hd-co-billing-fields .woocommerce-billing-fields__field-wrapper .form-row-first,
  .hd-co-billing-fields .woocommerce-billing-fields__field-wrapper .form-row-last,
  .hd-co-billing-fields .woocommerce-billing-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1 !important;
    float: none !important;
    width: 100% !important;
  }

  .hd-co-form-wrap .woocommerce-form-coupon .form-row {
    flex-direction: column;
  }
}

.woocommerce-checkout .archive-section {
  padding-top: 30px;
  padding-bottom: 60px;
}

/* Make checkout layout match theme */
.woocommerce-checkout .checkout-page-layout-woo {
  max-width: 1280px;
  margin: 0 auto;
}

/* Style the checkout columns - preserve WooCommerce's default float layout */
.woocommerce-checkout .col2-set {
  display: block;
  overflow: hidden;
  margin-bottom: 30px;
}

.woocommerce-checkout .col2-set:after {
  content: "";
  display: table;
  clear: both;
}

.woocommerce-checkout .col2-set .col-1 {
  width: 58%;
  float: left;
  margin-right: 4%;
}

.woocommerce-checkout .col2-set .col-2 {
  width: 38%;
  float: right;
}

@media (max-width: 768px) {
  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
    margin-right: 0;
  }
}

/* Style the billing/shipping forms */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.09);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px rgba(6, 95, 70, 0.06);
}

/* Style checkout headings with theme colors */
.woocommerce-checkout h3 {
  font-size: 14px;
  color: var(--primary-green-dark);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
  position: relative;
  padding-left: 32px;
}

.woocommerce-checkout h3:before {
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

.woocommerce-billing-fields h3:before {
  content: "person";
}

.woocommerce-shipping-fields h3:before {
  content: "location_on";
}

.woocommerce-additional-fields h3:before {
  content: "notes";
}

/* Style form rows */
.woocommerce-checkout .form-row {
  margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.woocommerce-checkout .form-row label .required {
  color: #b91c1c;
}

/* Style form inputs to match theme */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  outline: none;
  font-family: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: var(--primary-green-dark);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.woocommerce-checkout select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f6b3f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Style the order review section */
.woocommerce-checkout #order_review {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.09);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 3px 14px rgba(6, 95, 70, 0.06);
}

.woocommerce-checkout #order_review h3 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 20px;
}

.woocommerce-checkout #order_review h3:before {
  content: "shopping_cart";
}

/* Style the order table */
.woocommerce-checkout .shop_table {
  width: 100%;
  border: none;
  margin-bottom: 20px;
}

.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(6, 95, 70, 0.07);
  vertical-align: top;
}

.woocommerce-checkout .shop_table th {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.woocommerce-checkout .shop_table td {
  font-size: 14px;
}

.woocommerce-checkout .shop_table .product-name {
  font-weight: 500;
}

.woocommerce-checkout .shop_table .product-total {
  text-align: right;
  font-weight: 600;
}

/* Style payment methods */
.woocommerce-checkout #payment {
  background: rgba(6, 95, 70, 0.03);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(6, 95, 70, 0.1);
}

.woocommerce-checkout #payment .payment_methods {
  border-bottom: 1px solid rgba(6, 95, 70, 0.1);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.woocommerce-checkout #payment .payment_methods li {
  margin-bottom: 10px;
}

.woocommerce-checkout #payment .payment_methods label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* Style place order button */
.woocommerce-checkout #place_order {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 999px;
  background: var(--primary-green-dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 20px rgba(6, 95, 70, 0.25);
  transition:
    background 0.2s,
    transform 0.2s;
  margin-bottom: 12px;
}

.woocommerce-checkout #place_order:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 95, 70, 0.3);
}

.woocommerce-checkout #place_order:before {
  content: "lock";
  font-family: "Material Symbols Outlined";
  font-size: 18px;
}

/* Style coupon form */
/* Sidebar Coupon Box Styling */
.co-sidebar-coupon-box {
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.09);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 3px 14px rgba(6, 95, 70, 0.06);
}

.co-sidebar-title {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--primary-green-dark) !important;
  margin-bottom: 15px !important;
  border-bottom: none !important;
  padding: 0 !important;
}

.co-sidebar-title .material-symbols-outlined {
  font-size: 20px;
  color: var(--accent-gold);
}

.co-sidebar-coupon-fields {
  display: flex;
  gap: 8px;
}

.co-sidebar-coupon-fields input.input-text {
  flex: 1;
  height: 45px;
  padding: 0 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
}

.co-sidebar-coupon-fields button#apply_sidebar_coupon {
  height: 45px;
  padding: 0 16px;
  background: var(--primary-green-dark);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.co-sidebar-coupon-fields button#apply_sidebar_coupon:hover {
  background: var(--primary-green);
  transform: translateY(-1px);
}

#sidebar_coupon_message {
  margin-top: 10px;
  font-size: 13px;
  display: none;
  padding: 8px 12px;
  border-radius: 6px;
}

#sidebar_coupon_message.success {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

#sidebar_coupon_message.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Hide standard WC coupon toggle notice on checkout */
.hd-co-notices-top .woocommerce-form-coupon-toggle {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_review {
    padding: 18px;
  }

  .woocommerce-checkout .woocommerce-form-coupon .form-row {
    flex-direction: column;
  }
}

/* ==============================================
   CHECKOUT SIDEBAR & PAYMENT - OVERFLOW FIXES
   ============================================== */

/* Ensure all content inside sidebar wraps properly */
.archive-layout .archive-sidebar .col-inner {
  min-width: 0;
  width: 100%;
  overflow: hidden;
  word-break: break-word;
}

/* Force payment section to be constrained */
.co-summary-card #payment,
.woocommerce-checkout-review-order #payment,
#payment {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden;
  word-break: break-word;
}

/* Force ul.payment_methods to fit within container */
.woocommerce-checkout-review-order ul.payment_methods,
.co-wc-payment-list {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* WooCommerce checkout review order wrapper  */
.woocommerce-checkout-review-order {
  min-width: 0 !important;
  overflow: hidden;
}

/* Ensure all table cells in order review wrap */
.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td,
.co-summary-items,
.co-summary-totals {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Payment method images should not cause overflow */
.woocommerce-checkout .payment_methods img,
.co-wc-payment-list img {
  max-width: 60px;
  height: auto;
}

/* Sticky sidebar on large screens */
@media (min-width: 1024px) {
  .archive-layout .archive-sidebar .col-inner {
    position: sticky;
    top: 20px;
  }
}

/* Checkout coupon box - full width fix */
.hd-co-form-wrap .woocommerce-form-coupon-toggle,
.hd-co-form-wrap .woocommerce-NoticeGroup {
  max-width: 100%;
}

/* WooCommerce notices inside checkout */
.woocommerce-checkout ul.woocommerce-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  list-style: disc;
  padding-left: 36px;
}

/* Payment method description box */
.woocommerce-checkout .payment_box p {
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* ==============================================
   HD CHECKOUT GRID LAYOUT
   Independent of WooCommerce form CSS
   ============================================== */
.hd-co-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

.hd-co-left {
  min-width: 0;
}

.hd-co-right {
  min-width: 0;
  width: 100%;
}

/* Sticky right sidebar */
@media (min-width: 1024px) {
  .hd-co-right {
    position: sticky;
    top: 20px;
  }
}

/* Form inside left column - should be full width */
.hd-co-left .hd-co-form-wrap {
  width: 100%;
  display: block;
}

/* Remove WooCommerce's default form.woocommerce-checkout float/width */
form.checkout.woocommerce-checkout.hd-co-form-wrap {
  width: 100% !important;
  float: none !important;
  display: block !important;
}

/* #order_review inside right column - force full width */
.hd-co-right .woocommerce-checkout-review-order,
.hd-co-right #order_review {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .hd-co-grid {
    grid-template-columns: 1fr;
  }

  .hd-co-right {
    position: static;
  }
}

@media (max-width: 768px) {
  .hd-co-grid {
    gap: 20px;
  }
}
/* ==============================================
   FINAL UI POLISH (STEPS & INPUTS)
   ============================================== */

/* Progress Steps UI */
.co-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.co-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  flex: 0 0 100px;
}

.co-step-icon {
  width: 50px;
  height: 50px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.co-step.active .co-step-icon {
  border-color: var(--primary-green);
  background: var(--primary-green);
  color: white;
  box-shadow: 0 0 0 4px rgba(16, 122, 71, 0.15);
}

.co-step.done .co-step-icon {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.co-step-label {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.co-step.active .co-step-label {
  color: var(--primary-green-dark);
}

.co-step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: -25px -40px 0;
  z-index: 1;
}

.co-step-line.done {
  background: var(--primary-green);
}

/* Global Input Polish for Checkout */
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.select2-container--default .select2-selection--single {
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--primary-green) !important;
  box-shadow: 0 0 0 3px rgba(16, 122, 71, 0.1) !important;
}

/* Sticky sidebar on large screens */
@media (min-width: 1024px) {
  .archive-layout .archive-sidebar .col-inner {
    position: sticky;
    top: 20px;
  }
}

/* Checkout coupon box - full width fix */
.hd-co-form-wrap .woocommerce-form-coupon-toggle,
.hd-co-form-wrap .woocommerce-NoticeGroup {
  max-width: 100%;
}

/* WooCommerce notices inside checkout */
.woocommerce-checkout ul.woocommerce-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  list-style: disc;
  padding-left: 36px;
}

/* Payment method description box */
.woocommerce-checkout .payment_box p {
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* ==============================================
   HD CHECKOUT GRID LAYOUT
   Independent of WooCommerce form CSS
   ============================================== */
.hd-co-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

.hd-co-left {
  min-width: 0;
}

.hd-co-right {
  min-width: 0;
  width: 100%;
}

/* Sticky right sidebar */
@media (min-width: 1024px) {
  .hd-co-right {
    position: sticky;
    top: 20px;
  }
}

/* Form inside left column - should be full width */
.hd-co-left .hd-co-form-wrap {
  width: 100%;
  display: block;
}

/* Remove WooCommerce's default form.woocommerce-checkout float/width */
form.checkout.woocommerce-checkout.hd-co-form-wrap {
  width: 100% !important;
  float: none !important;
  display: block !important;
}

/* #order_review inside right column - force full width */
.hd-co-right .woocommerce-checkout-review-order,
.hd-co-right #order_review {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .hd-co-grid {
    grid-template-columns: 1fr;
  }

  .hd-co-right {
    position: static;
  }
}

@media (max-width: 768px) {
  .hd-co-grid {
    gap: 20px;
  }
}
/* ==============================================
   FINAL UI POLISH (STEPS & INPUTS)
   ============================================== */

/* Progress Steps UI */
.co-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.co-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  flex: 0 0 100px;
}

.co-step-icon {
  width: 50px;
  height: 50px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.co-step.active .co-step-icon {
  border-color: var(--primary-green);
  background: var(--primary-green);
  color: white;
  box-shadow: 0 0 0 4px rgba(16, 122, 71, 0.15);
}

.co-step.done .co-step-icon {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.co-step-label {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.co-step.active .co-step-label {
  color: var(--primary-green-dark);
}

.co-step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: -25px -40px 0;
  z-index: 1;
}

.co-step-line.done {
  background: var(--primary-green);
}
/* Global Input Polish for Checkout */
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.select2-container--default .select2-selection--single {
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--primary-green) !important;
  box-shadow: 0 0 0 3px rgba(16, 122, 71, 0.1) !important;
}

/* Place Order Button - Ensure fixed size and icons */
.co-place-order-btn {
  height: 54px;
  border-radius: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.co-place-order-btn .material-symbols-outlined {
  font-size: 20px;
}

/* Sidebar Payment Section Styling */
.co-sidebar-payment-section {
  padding: 15px 0;
  border-top: 1px dashed rgba(6, 95, 70, 0.15);
  margin-top: 10px;
}

#hd-co-sidebar-payment #payment {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

#hd-co-sidebar-payment .payment_methods {
  border-bottom: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

#hd-co-sidebar-payment .payment_methods li {
  background: #f8faf9 !important;
  border: 1.5px solid rgba(6, 95, 70, 0.1) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  transition: all 0.2s !important;
  list-style: none !important;
}

#hd-co-sidebar-payment .payment_methods li:before {
  display: none !important;
}

#hd-co-sidebar-payment .payment_methods li:hover {
  border-color: var(--primary-green) !important;
  background: white !important;
}

#hd-co-sidebar-payment .payment_methods li label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--primary-green-dark) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  margin: 0 !important;
}

#hd-co-sidebar-payment .payment_methods li input[type="radio"] {
  margin: 0 !important;
}

#hd-co-sidebar-payment .payment_box {
  background: white !important;
  border: 1px solid rgba(6, 95, 70, 0.08) !important;
  padding: 10px !important;
  margin-top: 8px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  color: var(--text-light) !important;
  line-height: 1.5 !important;
}

#hd-co-sidebar-payment .payment_box p {
  margin: 0 !important;
}

/* ==========================================
   MONTHLY HD FINAL DESIGN (SCOPED)
   ========================================== */

.archive-section {
  background: #f8f9fa !important;
  padding: 60px 0 !important;
}

.mhd-single-header {
  display: flex !important;
  gap: 40px !important;
  background: #fff !important;
  padding: 35px !important;
  border-radius: 24px !important;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 40px !important;
  align-items: flex-start !important;
}

.mhd-single-cover {
  flex: 0 0 320px !important;
  max-width: 320px !important;
}

.mhd-single-cover img {
  width: 320px !important;
  height: 320px !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
  display: block !important;
}

.mhd-single-info {
  flex: 1 !important;
}

.mhd-single-title {
  font-size: 36px !important;
  font-weight: 800 !important;
  margin-bottom: 15px !important;
  color: #1a1a1a !important;
  line-height: 1.2 !important;
}

.mhd-single-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 25px !important;
}

.sb-meta-chip {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #f1f5f9 !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-weight: 600 !important;
}

.mhd-tag {
  display: inline-block !important;
  padding: 4px 14px !important;
  background: rgba(15, 107, 63, 0.08) !important;
  color: #0f6b3f !important;
  border-radius: 30px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.mhd-dl-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #0f6b3f !important;
  color: #ffffff !important;
  padding: 18px 45px !important;
  border-radius: 16px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  box-shadow: 0 8px 25px rgba(15, 107, 63, 0.25) !important;
  transition: all 0.3s ease !important;
}

.mhd-dl-primary:hover {
  background: #054d2e !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(15, 107, 63, 0.35) !important;
  color: #ffffff !important;
}

.hidayah-post-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.mhd-nav-item {
  display: flex !important;
  /* ==========================================
   CARDS & GRID
   ========================================== */

  .grid {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  flex: 1 !important;
}

.mhd-nav-content span {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #64748b !important;
  display: block !important;
  margin-bottom: 2px !important;
}

.mhd-nav-content h5 {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

.mhd-sidebar-widget {
  background: #fff !important;
  border: 1.5px solid #f1f5f9 !important;
  border-radius: 20px !important;
  padding: 25px !important;
  margin-bottom: 25px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

.mhd-toc-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mhd-toc-list li {
  padding: 12px 0 !important;
  border-bottom: 1px dashed #e2e8f0 !important;
  display: flex !important;
  gap: 12px !important;
  color: #334155 !important;
  font-size: 15px !important;
}

.mhd-toc-list li::before {
  content: "\e5cc" !important;
  font-family: "Material Symbols Outlined" !important;
  color: #0f6b3f !important;
  font-size: 20px !important;
}

@media (max-width: 991px) {
  .mhd-single-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 25px !important;
  }
}

.mhd-editorial p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .archive-layout {
    flex-direction: column !important;
  }
  .mhd-single-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 16px;
  }
  .mhd-single-cover {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 320px !important;
  }
  .mhd-single-chips {
    justify-content: center;
  }
}

/* ==============================================
   ARCHIVE HERO BANNER
   ============================================== */

.archive-hero {
  background:
    linear-gradient(rgba(6, 78, 59, 0.92), rgba(2, 44, 34, 0.95)),
    url("https://images.unsplash.com/photo-1584551246679-0daf3d275d0f?w=1600") center/cover;
  color: var(--white);
  text-align: center;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}

.archive-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent);
  pointer-events: none;
}

.archive-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.archive-hero h2 {
  font-size: 36px;
  margin-bottom: 14px;
  font-weight: 700;
  color: #ffffff;
}

.archive-hero p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .archive-hero {
    padding: 50px 16px 40px;
  }
  .archive-hero h2 {
    font-size: 24px;
  }
  .archive-hero p {
    font-size: 15px;
  }
}

/* ==============================================
   ARCHIVE SECTION & LAYOUT (global)
   ============================================== */

.archive-section {
  background: #f7faf8;
  padding: 40px 15px 80px;
}

.archive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.archive-breadcrumb a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.archive-breadcrumb a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

.breadcrumb-sep {
  font-size: 14px;
  color: #aaa;
}

.breadcrumb-current {
  color: var(--text-light);
  font-weight: 500;
}

.archive-layout {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.archive-layout .archive-main {
  flex: 2.75;
  position: relative;
  min-width: 0;
}

.archive-layout .archive-sidebar {
  flex: 1.25;
  position: relative;
  min-width: 0;
}

@media (max-width: 900px) {
  .archive-layout {
    flex-direction: column;
  }
}

/* ==============================================
   MHD TOC LIST LINK STYLE
   ============================================== */

.mhd-toc-list li a {
  color: var(--primary-green-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.mhd-toc-list li a:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

/* ==============================================
   HIDAYAH CUSTOM COMMENTS SECTION
   ============================================== */

.hidayah-comments-section {
  margin-top: 36px;
}

/* Product review form uses custom star picker; hide Woo injected default stars if present. */
.hidayah-comments-section .hc-form .comment-form-rating,
.hidayah-comments-section .hc-form p.stars {
  display: none !important;
}

/* ---- Section titles ---- */
.hc-title,
.hc-form-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
}

.hc-title .material-symbols-outlined,
.hc-form-title .material-symbols-outlined {
  font-size: 22px;
  color: var(--accent-gold);
}

.hc-count {
  background: var(--primary-green-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 10px;
  margin-right: 4px;
}

.hc-rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(6, 95, 70, 0.05);
  border: 1px solid rgba(6, 95, 70, 0.12);
}

.hc-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.hc-rating-star {
  font-size: 18px;
  line-height: 1;
}

.hc-rating-star.filled,
.hc-rating-star.half {
  color: var(--gold-accent);
  font-variation-settings: "FILL" 1;
}

.hc-rating-star.empty {
  color: #cbd5e1;
  font-variation-settings: "FILL" 0;
}

.hc-rating-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.hc-rating-note {
  font-size: 13px;
  color: var(--text-light);
}

/* ---- Comments wrapper ---- */
.hc-comments-wrap {
  background: #fff;
  border: 1px solid rgba(6, 95, 70, 0.09);
  border-radius: 18px;
  padding: 28px 28px 16px;
  box-shadow: 0 4px 18px rgba(6, 95, 70, 0.06);
  margin-bottom: 24px;
}

/* ---- Comment list ---- */
.hc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hc-comment-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(6, 95, 70, 0.07);
}

.hc-comment-item:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

/* Nested replies */
.hc-list .children {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 40px;
}

.hc-list .children .hc-comment-item {
  background: rgba(6, 95, 70, 0.025);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(6, 95, 70, 0.07);
  margin-bottom: 10px;
}

/* ---- Avatar ---- */
.hc-comment-avatar {
  flex-shrink: 0;
}

.hc-comment-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(6, 95, 70, 0.15);
  object-fit: cover;
}

/* ---- Comment body ---- */
.hc-comment-body {
  flex: 1;
  min-width: 0;
}

.hc-comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hc-comment-author {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-green-dark);
}

.hc-comment-date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #888;
}

.hc-comment-rating {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.hc-comment-rating .hc-rating-star {
  font-size: 16px;
}

.hc-comment-date .material-symbols-outlined {
  font-size: 14px;
}

.hc-awaiting-moderation {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #d97706;
  background: rgba(217, 119, 6, 0.1);
  padding: 2px 10px;
  border-radius: 20px;
}

.hc-awaiting-moderation .material-symbols-outlined {
  font-size: 14px;
}

.hc-comment-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.hc-comment-text p {
  margin: 0 0 8px;
}

.hc-comment-text p:last-child {
  margin-bottom: 0;
}

/* ---- Comment actions ---- */
.hc-comment-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hc-reply-link a,
.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-green-dark);
  background: rgba(6, 95, 70, 0.07);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(6, 95, 70, 0.15);
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.hc-reply-link a:hover,
.comment-reply-link:hover {
  background: var(--primary-green-dark);
  color: #fff;
  border-color: var(--primary-green-dark);
}

.hc-edit-link a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #888;
  transition: color 0.2s;
}

.hc-edit-link a:hover {
  color: var(--primary-green-dark);
}

.hc-edit-link .material-symbols-outlined {
  font-size: 14px;
}

/* ---- Replying to notice ---- */
.hc-replying-to {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary-green-dark);
  background: rgba(6, 95, 70, 0.06);
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hc-replying-to .material-symbols-outlined {
  font-size: 18px;
}

.hc-cancel-reply {
  margin-left: auto;
  font-size: 13px;
  color: #b91c1c;
  text-decoration: none;
}

/* ---- Logged in info ---- */
.hc-logged-in-as {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  padding: 10px 16px;
  background: rgba(6, 95, 70, 0.04);
  border-radius: 10px;
  margin-bottom: 20px;
}

.hc-logged-in-as .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-green-dark);
}

/* ---- Pagination ---- */
.hc-pagination {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid rgba(6, 95, 70, 0.18);
  color: var(--primary-green-dark);
  text-decoration: none;
  transition: all 0.2s;
}

.hc-pagination .page-numbers:hover,
.hc-pagination .page-numbers.current {
  background: var(--primary-green-dark);
  color: #fff;
  border-color: var(--primary-green-dark);
}

/* ---- Comments closed ---- */
.hc-closed {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 24px;
  background: rgba(6, 95, 70, 0.04);
  border-radius: 12px;
  border: 1px dashed rgba(6, 95, 70, 0.2);
  margin-top: 20px;
}

/* ---- Comment form wrapper ---- */
.hc-form-wrap {
  background: #fff;
  border: 1px solid rgba(6, 95, 70, 0.09);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 18px rgba(6, 95, 70, 0.06);
  margin-top: 24px;
}

/* ---- Form grid ---- */
.hc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.hc-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.hc-form-grid .hc-field-group {
  margin-bottom: 0;
}

.hc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.hc-required {
  color: #b91c1c;
  margin-right: 2px;
}

/* ---- Inputs ---- */
.hc-input-wrap {
  position: relative;
}

.hc-input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: rgba(6, 95, 70, 0.4);
  pointer-events: none;
}

.hc-input {
  width: 100%;
  padding: 11px 44px 11px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.18);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: #fafafa;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}

.hc-input:focus {
  border-color: var(--primary-green-dark);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.hc-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(6, 95, 70, 0.18);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: #fafafa;
  outline: none;
  resize: vertical;
  min-height: 130px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}

.hc-textarea:focus {
  border-color: var(--primary-green-dark);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.hc-star-picker {
  gap: 2px;
  margin-bottom: 8px;
}

.hc-star-picker .sb-star-pick {
  padding: 2px;
}

.hc-star-picker .sb-star-pick .material-symbols-outlined {
  font-size: 28px;
}

.hc-rating-error {
  color: #b91c1c;
  font-size: 12px;
  display: none;
  margin-top: 4px;
}

/* ---- Cookie consent ---- */
.hc-cookie-consent {
  margin-bottom: 16px;
}

.hc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
}

.hc-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--primary-green-dark);
}

/* ---- Submit button ---- */
.hc-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--primary-green-dark);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(6, 95, 70, 0.25);
}

.hc-submit-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(6, 95, 70, 0.32);
}

.hc-submit-btn .material-symbols-outlined {
  font-size: 20px;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .hc-form-grid {
    grid-template-columns: 1fr;
  }

  .hc-comments-wrap,
  .hc-form-wrap {
    padding: 20px 16px;
  }

  .hc-list .children {
    margin-left: 16px;
  }

  .hc-comment-meta {
    gap: 8px;
  }
}
.probondho-cat-badge {
  display: inline-flex;
  align-items: center;
  background: var(--light-green);
  color: var(--primary-green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(6, 95, 70, 0.18);
  letter-spacing: 0.3px;
  width: fit-content;
}

.probondho-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-light);
}

.probondho-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.probondho-meta-strip .material-symbols-outlined {
  font-size: 16px;
  color: var(--primary-green-light);
}

.probondho-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    gap 0.2s,
    color 0.2s;
  margin-top: 4px;
  width: fit-content;
}

.probondho-read-more:hover {
  color: var(--primary-green-dark);
  gap: 10px;
}

.probondho-read-more .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.2s;
}

.probondho-read-more:hover .material-symbols-outlined {
  transform: translateX(4px);
}

.probondho-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.probondho-list.list-view {
  grid-template-columns: 1fr;
}

.probondho-list.list-view .probondho-card {
  flex-direction: row;
}

.probondho-list.list-view .probondho-card-img {
  width: 350px;
  min-width: 350px;
  height: 280px;
}

.probondho-list.list-view .probondho-card-content {
  flex: 1;
}

.probondho-card {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(6, 95, 70, 0.06);
  display: flex;
  flex-direction: column;
}

.probondho-card:hover {
  border-color: rgba(6, 95, 70, 0.25);
  box-shadow: 0 10px 28px rgba(6, 95, 70, 0.13);
  transform: translateY(-4px);
}

.probondho-card-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

.probondho-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.probondho-card:hover .probondho-card-img img {
  transform: scale(1.06);
}

.probondho-card-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.probondho-card-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0;
  line-height: 1.5;
}

.probondho-card-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.probondho-card-content h3 a:hover {
  color: var(--primary-green);
}

.probondho-card-content p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.probondho-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.probondho-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--light-green);
  color: var(--primary-green-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(6, 95, 70, 0.15);
  transition: all 0.2s ease;
}

.probondho-tag:hover {
  background: var(--primary-green-dark);
  color: var(--white);
  border-color: var(--primary-green-dark);
  transform: translateY(-2px);
}

.probondho-submit-cta {
  background: linear-gradient(135deg, var(--primary-green-dark), #0a7a52) !important;
  text-align: center;
  color: white !important;
}

.probondho-submit-icon {
  font-size: 42px !important;
  color: var(--accent-gold) !important;
  display: block;
  margin: 0 auto 15px !important;
}

.probondho-submit-title {
  color: var(--white) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
  margin-bottom: 15px;
  padding-bottom: 8px;
  justify-content: center;
}

.probondho-submit-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0 20px;
  line-height: 1.7;
}

.probondho-submit-cta .btn {
  background: var(--accent-gold) !important;
  color: var(--primary-green-dark) !important;
  font-weight: 700 !important;
  border: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  padding: 10px 24px !important;
  width: auto !important;
  border-radius: 99px !important; /* Rounded for better look */
}

.probondho-submit-cta .btn:hover {
  background: #f1c40f !important; /* Lighter gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .probondho-list {
    grid-template-columns: 1fr;
  }

  .probondho-list.list-view .probondho-card {
    flex-direction: column;
  }

  .probondho-list.list-view .probondho-card-img {
    width: 100%;
    min-width: 100%;
    height: 220px;
  }
}

@media (max-width: 600px) {
}

/* ==========================================
   SINGLE BOOK PAGE
   ========================================== */

/* Hero: image left + info right */
.sb-hero {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 36px;
}

/* Gallery (left column ~42%) */
.sb-gallery {
  flex: 0 0 42%;
  max-width: 42%;
}

.sb-main-cover {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(6, 95, 70, 0.15);
  background: #f0f0f0;
}

.sb-main-cover img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sb-main-cover:hover img {
  transform: scale(1.04);
}

.sb-gallery-zoom-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.sb-main-cover:hover .sb-gallery-zoom-hint {
  opacity: 1;
}

.sb-gallery-zoom-hint .material-symbols-outlined {
  font-size: 16px;
}

.sb-thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.sb-thumb {
  flex: 0 0 calc(25% - 6px);
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.sb-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.sb-thumb:hover {
  border-color: var(--primary-green-light);
  transform: translateY(-2px);
}

.sb-thumb.active {
  border-color: var(--primary-green-dark);
}

/* Info (right column) */
.sb-info {
  flex: 1;
  min-width: 0;
}

.sb-title-block {
  margin-bottom: 16px;
}

.sb-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0 0 10px;
  line-height: 1.4;
}

.sb-author {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 15px;
  margin: 0 0 14px;
}

.sb-meta-icon {
  font-size: 18px;
  color: var(--primary-green);
}

.sb-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sb-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light-green);
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(6, 95, 70, 0.15);
  transition: all 0.2s ease;
}

.sb-meta-chip:hover {
  background: var(--light-green-alt);
  border-color: rgba(6, 95, 70, 0.25);
  transform: translateY(-1px);
}

.sb-meta-chip .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary-green-dark);
}

/* Rating Summary */
.sb-rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--light-green);
  border-radius: 12px;
  border: 1px solid rgba(6, 95, 70, 0.1);
}

.sb-rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sb-rating-stars .star {
  font-size: 20px;
  font-variation-settings: "FILL" 1;
}

.sb-rating-stars .star.filled {
  color: #f59e0b;
}
.sb-rating-stars .star.half {
  color: #f59e0b;
}
.sb-rating-stars .star.empty {
  color: #cbd5e1;
}

.sb-rating-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin-left: 4px;
}

.sb-rating-count {
  font-size: 13px;
  color: var(--text-light);
}

.sb-rating-link {
  font-size: 13px;
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: none;
}

.sb-rating-link:hover {
  text-decoration: underline;
}

/* Purchase Box */
.sb-purchase-box {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.12);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sb-pricing {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sb-old-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.sb-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.sb-discount-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.sb-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.sb-stock-ok {
  color: #16a34a;
}

.sb-stock-ok .material-symbols-outlined {
  font-size: 18px;
  font-variation-settings: "FILL" 1;
}

.sb-buy-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-qty-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-qty-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.sb-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.sb-qty-btn {
  background: var(--light-green);
  border: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-green-dark);
  transition: background 0.2s;
}

.sb-qty-btn:hover {
  background: rgba(6, 95, 70, 0.15);
}

.sb-qty-input {
  width: 52px;
  text-align: center;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--white);
  padding: 0;
}

.sb-qty-input::-webkit-inner-spin-button,
.sb-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.sb-add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-green-dark);
  color: var(--white);
  border: none;
  border-radius: 40px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
}

.sb-add-to-cart-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
}

.sb-buy-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-gold);
  color: var(--primary-green-dark);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.3s,
    transform 0.2s;
}

.sb-buy-now-btn:hover {
  background: #f1c40f;
  transform: translateY(-2px);
}

/* Section headings below hero */
.sb-section {
  margin-bottom: 30px;
}

.sb-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-green);
}

.sb-description p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dark);
  margin: 0 0 14px;
}

/* Details Table */
.sb-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sb-details-table tr {
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
}

.sb-details-table th {
  text-align: left;
  padding: 12px 20px;
  color: var(--text-light);
  font-weight: 600;
  width: 150px;
  background: rgba(6, 95, 70, 0.03);
}

.sb-details-table td {
  padding: 12px 20px;
  color: var(--text-dark);
  font-weight: 500;
}

/* TOC */
.sb-toc-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light-green);
  border: 1px solid rgba(6, 95, 70, 0.15);
  border-radius: 10px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-green-dark);
  cursor: pointer;
  width: 100%;
  text-align: right;
  justify-content: space-between;
  transition: background 0.2s;
}

.sb-toc-toggle:hover {
  background: rgba(6, 95, 70, 0.1);
}

.sb-toc-list {
  margin: 12px 0 0 0;
  padding: 0 0 0 24px;
  display: none;
}

.sb-toc-list.open {
  display: block;
}

.sb-toc-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
}

/* Preview Strip */
.sb-preview-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sb-preview-thumb {
  flex: 0 0 calc(33.33% - 8px);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
}

.sb-preview-thumb img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.sb-preview-thumb:hover img {
  transform: scale(1.05);
}

.sb-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
}

.sb-preview-thumb:hover .sb-preview-overlay {
  opacity: 1;
}

/* Rating Overview */
.sb-rating-overview {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
  background: #f8faf9;
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 36px;
}

.sb-rating-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 2px solid rgba(6, 95, 70, 0.06);
  padding-right: 10px;
}

.sb-rating-big-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--primary-green-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.sb-rating-big .sb-rating-stars {
  margin-bottom: 10px;
}

.sb-rating-total {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.sb-rating-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: var(--text-dark);
}

.sb-rating-bar-row span:first-child {
  min-width: 32px;
  font-weight: 600;
}

.sb-bar-track {
  flex: 1;
  height: 10px;
  background: #eaefec;
  border-radius: 999px;
  overflow: hidden;
}

.sb-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 999px;
}

.sb-rating-bar-row span:last-child {
  min-width: 20px;
  text-align: left;
  font-weight: 600;
  color: var(--text-light);
}

@media (max-width: 600px) {
  .sb-rating-overview {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px;
  }
  .sb-rating-big {
    border-right: none;
    border-bottom: 2px solid rgba(6, 95, 70, 0.06);
    padding-right: 0;
    padding-bottom: 24px;
  }
}

/* Review List */
.sb-review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sb-review-card {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 14px;
  padding: 20px;
}

.sb-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sb-reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.sb-reviewer-info {
  flex: 1;
}

.sb-reviewer-info strong {
  font-size: 15px;
  color: var(--text-dark);
  display: block;
  margin-bottom: 3px;
}

.sb-review-stars {
  display: flex;
  gap: 2px;
}

.sb-review-stars .star {
  font-size: 16px;
  font-variation-settings: "FILL" 1;
}

.sb-review-stars .star.filled {
  color: #f59e0b;
}
.sb-review-stars .star.empty {
  color: #cbd5e1;
}

.sb-review-date {
  font-size: 13px;
  color: var(--text-light);
  margin-left: auto;
}

.sb-review-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dark);
  margin: 0;
}

/* Review Form */
.sb-review-form {
  background: var(--white);
  border: 1.5px solid rgba(6, 95, 70, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.sb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.sb-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.sb-form-row .sb-form-group {
  margin-bottom: 0;
}

.sb-form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.sb-form-label .required {
  color: #dc2626;
}

.sb-form-input,
.sb-form-textarea {
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}

.sb-form-input:focus,
.sb-form-textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.sb-star-picker {
  display: flex;
  gap: 4px;
}

.sb-star-pick {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #cbd5e1;
  transition:
    color 0.2s,
    transform 0.15s;
}

.sb-star-pick:hover,
.sb-star-pick.selected {
  color: #f59e0b;
}

.sb-star-pick:hover {
  transform: scale(1.2);
}

.sb-star-pick .material-symbols-outlined {
  font-size: 28px;
  font-variation-settings: "FILL" 1;
}

.sb-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-green-dark);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
}

.sb-submit-btn:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
}

/* Responsive single-book */
@media (max-width: 768px) {
  .sb-hero {
    flex-direction: column;
  }
  .sb-gallery {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .sb-form-row {
    grid-template-columns: 1fr;
  }
}

/* Mobile responsive adjustments for single pages */
@media (max-width: 600px) {
  .single-audio-nav {
    flex-wrap: wrap; /* Ensuring they can stay side-by-side if they fit, or wrap if not, but user wants half-half */
    flex-direction: row !important;
    gap: 10px;
  }

  .single-audio-nav-btn {
    flex: 1 1 calc(50% - 5px) !important;
    padding: 12px 10px !important;
    min-width: 0;
  }

  .nav-title-sm {
    font-size: 0.75rem;
  }

  .title-badge-wrapper {
    justify-content: center !important;
    flex-wrap: wrap;
    text-align: center;
  }

  .single-audio-title,
  .single-video-title {
    width: 100%;
    text-align: center;
  }
}

.topbar-filter-select {
  min-height: 36px !important;
  padding: 5px 10px !important;
  background-color: #f8faf9;
  font-size: 13px;
  border-radius: 8px;
  margin-left: 5px;
}

@media (max-width: 768px) {
  .topbar-filter-select {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Responsive for single-monthly-hd */
@media (max-width: 768px) {
  .mhd-single-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 16px;
  }
  .mhd-single-cover {
    flex: 0 0 100%;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .mhd-single-chips {
    justify-content: center;
  }
}

/* References (?????????) List Alignment Fix */
.mhd-toc-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
.mhd-toc-list li {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  padding: 10px 0 !important;
  border-bottom: 1px dashed rgba(6, 95, 70, 0.1) !important;
  font-size: 15px !important;
  color: var(--text-dark) !important;
  gap: 12px !important;
  text-align: left !important;
}
.mhd-toc-list li::before {
  content: "chevron_right";
  font-family: "Material Symbols Outlined";
  font-size: 18px !important;
  color: var(--primary-green-light) !important;
}

/* ============================================================
   === PROBONDHO ARCHIVE & SINGLE ===
   ============================================================ */

/* Category Badge */
.probondho-cat-badge {
  display: inline-block;
  background: var(--primary-green-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* Meta Strip */
.probondho-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  align-items: center;
}

.probondho-meta-strip .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
  margin-right: 2px;
}

/* Read More Link */
.probondho-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.probondho-read-more:hover {
  gap: 8px;
}

.probondho-read-more .material-symbols-outlined {
  font-size: 14px;
}

/* Article Cards List */
.probondho-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.probondho-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.probondho-card:hover {
  box-shadow: 0 5px 20px rgba(15, 107, 63, 0.12);
  transform: translateY(-2px);
}

@media (max-width: 560px) {
  .probondho-card {
    grid-template-columns: 1fr;
  }
}

.probondho-card-img {
  overflow: hidden;
}

.probondho-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 130px;
  transition: transform 0.3s;
}

.probondho-card:hover .probondho-card-img img {
  transform: scale(1.06);
}

.probondho-card-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.probondho-card-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.probondho-card-content h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.probondho-card-content h3 a:hover {
  color: var(--primary-green-dark);
}

.probondho-card-content p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Tag Cloud */
.probondho-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.probondho-tag {
  display: inline-block;
  background: #f0faf4;
  color: var(--primary-green-dark);
  border: 1px solid #c8e6c9;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.probondho-tag:hover {
  background: var(--primary-green-dark);
  color: #fff;
}

/* Single Probondho: Reading Progress Bar */
.probondho-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(15, 107, 63, 0.12);
  z-index: 10000;
}

.probondho-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-accent);
  transition: width 0.1s linear;
}

/* Article Header */
.probondho-article-header {
  margin-bottom: 24px;
}

.probondho-article-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0 0 14px;
}

/* Author Strip */
.probondho-author-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.probondho-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-green-dark);
  flex-shrink: 0;
  overflow: hidden;
}

.probondho-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.probondho-author-strip-info {
  flex: 1;
}

.probondho-author-strip-info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}

.probondho-strip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.probondho-strip-meta .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
}

/* Font Size Control */
.probondho-font-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-light);
}

.probondho-font-btn {
  background: #f5f7f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.probondho-font-btn:hover,
.probondho-font-btn.active {
  background: var(--primary-green-dark);
  color: #fff;
  border-color: var(--primary-green-dark);
}

/* Featured Image Wrap */
.probondho-featured-img-wrap {
  margin-bottom: 24px;
}

.probondho-featured-img-wrap img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.probondho-featured-img-wrap figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

/* Article Body */
.probondho-article-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dark);
}

.probondho-article-body h2,
.probondho-article-body h3 {
  color: var(--primary-green-dark);
  margin-top: 28px;
  margin-bottom: 10px;
}

.probondho-article-body blockquote {
  border-left: 4px solid var(--gold-accent);
  padding: 12px 16px;
  margin: 20px 0;
  background: #f9faf9;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--text-dark);
}

.probondho-article-body p {
  margin-bottom: 14px;
}

/* Related Articles Grid */
.probondho-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}

@media (max-width: 700px) {
  .probondho-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   === DINI JIGGASA ARCHIVE & SINGLE ===
   ============================================================ */

/* Tabs */
.jiggasa-tabs {
  display: flex;
  gap: 0;
  background: #f5f7f5;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
  width: fit-content;
}

.jiggasa-tab {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
}

.jiggasa-tab.active {
  background: var(--primary-green-dark);
  color: #fff;
}

/* Question Cards */
.jiggasa-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.jiggasa-list.list-view {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .jiggasa-list {
    grid-template-columns: 1fr;
  }
}

.jiggasa-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  border-left: 4px solid transparent;
}

.jiggasa-card:hover {
  box-shadow: 0 5px 20px rgba(15, 107, 63, 0.12);
  transform: translateY(-2px);
}

.jiggasa-card.answered {
  border-left-color: var(--primary-green-dark);
}

.jiggasa-card.pending {
  border-left-color: #f59e0b;
}

.jiggasa-card-header,
.jiggasa-cat-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.jiggasa-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}

.jiggasa-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.jiggasa-card h3 a:hover {
  color: var(--primary-green-dark);
}

.jiggasa-cat-badge {
  display: inline-block;
  background: #e8f5e9;
  color: var(--primary-green-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.jiggasa-cat-badge.aqida-badge {
  background: #e3f2fd;
  color: #1565c0;
}

.jiggasa-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.jiggasa-status .material-symbols-outlined {
  font-size: 14px;
}

.answered-badge {
  background: #e8f5e9;
  color: var(--primary-green-dark);
}

.pending-badge {
  background: #fff8e1;
  color: #b45309;
}

.jiggasa-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.jiggasa-meta .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
  margin-right: 2px;
}

.jiggasa-read-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-green-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.jiggasa-read-link:hover {
  gap: 8px;
}

.jiggasa-read-link .material-symbols-outlined {
  font-size: 14px;
}

/* Stats Card */
.jiggasa-stats-card {
  background: #f9faf9;
}

.jiggasa-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  margin-top: 8px;
}

.jiggasa-stat-item {
  padding: 12px 6px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jiggasa-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.jiggasa-stat-num.answered-num {
  color: var(--primary-green-dark);
}

.jiggasa-stat-num.pending-num {
  color: #b45309;
}

.jiggasa-stat-label {
  font-size: 11px;
  color: var(--text-light);
}

/* Single Jiggasa Ã¢â‚¬â€ Question Box */
.jiggasa-question-box {
  background: linear-gradient(135deg, #f0faf4, #e8f5e9);
  border: 1px solid #c8e6c9;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.jiggasa-question-box h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 14px;
  line-height: 1.5;
}

.jiggasa-question-asker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
}

.jiggasa-question-asker .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
}

/* Answer Box */
.jiggasa-answer-box {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  margin-bottom: 24px;
}

.jiggasa-answer-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin-bottom: 16px;
}

.jiggasa-answer-label .material-symbols-outlined {
  font-size: 20px;
}

.jiggasa-answer-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dark);
}

.jiggasa-answer-body p {
  margin-bottom: 14px;
}

.jiggasa-arabic-ref {
  background: #f9faf9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
  text-align: right;
  direction: rtl;
}

.jiggasa-arabic-ref p {
  font-family: "Scheherazade New", "Amiri", serif;
  font-size: 1.2rem;
  line-height: 2;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.jiggasa-arabic-ref small {
  font-size: 12px;
  color: var(--text-light);
  direction: ltr;
  display: block;
  text-align: right;
}

/* Voting */
.jiggasa-vote-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  padding: 16px 20px;
  background: #f9faf9;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-dark);
}

.jiggasa-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid rgba(6, 95, 70, 0.15);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.jiggasa-vote-btn .material-symbols-outlined {
  font-size: 18px;
  color: var(--text-light);
}

.jiggasa-vote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.jiggasa-vote-btn.yes:hover {
  border-color: var(--primary-green-dark);
  color: var(--primary-green-dark);
}

.jiggasa-vote-btn.yes:hover .material-symbols-outlined {
  color: var(--primary-green-dark);
}

.jiggasa-vote-btn.no:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.jiggasa-vote-btn.no:hover .material-symbols-outlined {
  color: #ef4444;
}

.jiggasa-vote-btn.active.yes {
  background: var(--primary-green-dark);
  color: white;
  border-color: var(--primary-green-dark);
}

.jiggasa-vote-btn.active.yes .material-symbols-outlined {
  color: white;
}

.jiggasa-vote-btn.active.no {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.jiggasa-vote-btn.active.no .material-symbols-outlined {
  color: white;
}

/* Homepage Sidebar White Text */
.sidebar-card-content h4 a, 
.sidebar-card-content h4 { 
  color: #ffffff !important; 
}
.sidebar-meta { 
  color: rgba(255, 255, 255, 0.7) !important; 
}
.sidebar-video-card:hover { 
  background: rgba(255, 255, 255, 0.05); 
}
