/* ==========================================================================
   GHASAPHULA LITERARY E-MAGAZINE - COMPONENTS & LAYOUTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOP BAR & MASTHEAD HEADER
   -------------------------------------------------------------------------- */
.header-wrapper {
  background-color: var(--bg-body);
  border-bottom: 3px double var(--border-gold);
}

.top-bar {
  background-color: var(--accent-maroon-dark);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.35rem 0;
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.top-bar-divider {
  color: rgba(212, 175, 55, 0.5);
  font-size: 0.7rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-label {
  font-size: 0.725rem;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.28);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.top-social-link:hover {
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  border-color: var(--accent-gold-bright);
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* ==========================================
   COMPACT ELEGANT GOOGLE TRANSLATE STYLING
   ========================================== */

/* Prevent Google Translate from inserting top banner padding or pushing body down */
html, body {
  top: 0 !important;
  margin-top: 0 !important;
  position: static !important;
}

/* Hide Google Translate top banner frame bar completely */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
iframe[id*=":1.container"],
iframe[id*=":2.container"],
iframe[id*="container"]:not(.goog-te-menu-frame),
.goog-te-banner,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Force Google Language Dropdown Menu Popup Frame to be ALWAYS Visible & On Top */
iframe.goog-te-menu-frame {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 9999999 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
  border-radius: 8px !important;
  border: 1px solid var(--accent-gold) !important;
}

/* Sleek Rounded Translator Box in Top Bar */
.top-bar-translate {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  padding: 0.15rem 0.65rem;
  height: 26px;
  transition: all 0.22s ease;
  line-height: 1;
  cursor: pointer;
}

.top-bar-translate:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-gold-bright);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.25);
}

.translate-icon {
  color: var(--accent-gold-bright);
  flex-shrink: 0;
  pointer-events: none;
}

.google-translate-wrapper {
  display: inline-flex;
  align-items: center;
}

/* Hide Default Google Branding & Gadget Text */
.goog-te-gadget {
  font-family: var(--font-sans) !important;
  font-size: 0 !important;
  color: transparent !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.goog-te-gadget > span,
.goog-te-gadget img,
.goog-te-gadget-icon {
  display: none !important;
}

/* Select Dropdown Styling (Default Mode) */
.google-translate-wrapper select.goog-te-combo {
  background: transparent !important;
  color: #FDFBF7 !important;
  border: none !important;
  font-size: 0.735rem !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  outline: none !important;
  height: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Dropdown Option Items - 100% VISIBLE & READABLE */
.google-translate-wrapper select.goog-te-combo option {
  background-color: #2C0E14 !important;
  color: #FFFFFF !important;
  font-size: 0.85rem !important;
  font-family: var(--font-sans) !important;
  padding: 0.4rem 0.6rem !important;
}

/* Simple Gadget Styling (Inline Layout Mode) */
.goog-te-gadget-simple {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-size: 0.735rem !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
}

.goog-te-menu-value {
  color: #FDFBF7 !important;
  font-size: 0.735rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.2rem !important;
  margin: 0 !important;
}

.goog-te-menu-value span {
  color: #FDFBF7 !important;
  font-family: var(--font-sans) !important;
  font-size: 0.735rem !important;
  font-weight: 700 !important;
  border-left: none !important;
}

.goog-te-menu-value img {
  display: none !important;
}

.goog-te-menu-value {
  color: #FDFBF7 !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.2rem !important;
  margin: 0 !important;
  text-transform: none;
}

.goog-te-menu-value span {
  color: #FDFBF7 !important;
  font-family: var(--font-sans) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  border-left: none !important;
}

.goog-te-menu-value img {
  display: none !important;
}

/* Fallback Dropdown Select Element */
.google-translate-wrapper select.goog-te-combo {
  background: transparent !important;
  color: #FDFBF7 !important;
  border: none !important;
  font-size: 0.72rem !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  outline: none !important;
  height: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.google-translate-wrapper select.goog-te-combo option {
  background: #2C0E14 !important;
  color: #FFFFFF !important;
  padding: 0.35rem !important;
}

/* Google Dropdown Frame Styling */
.goog-te-menu-frame {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
  border-radius: 8px !important;
  border: 1px solid var(--accent-gold) !important;
}

.masthead-banner {
  position: relative;
  width: 100%;
  background-color: #fdfbf7;
  background-image: 
    radial-gradient(ellipse at 50% 50%, rgba(253, 251, 247, 0.82) 0%, rgba(253, 251, 247, 0.55) 55%, rgba(247, 239, 226, 0.40) 100%),
    linear-gradient(to right, rgba(253, 251, 247, 0.15) 0%, rgba(253, 251, 247, 0.50) 20%, rgba(253, 251, 247, 0.50) 80%, rgba(253, 251, 247, 0.15) 100%),
    url('../images/header-bg.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 15px rgba(74, 14, 23, 0.05);
}

.masthead-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.5) 30%, rgba(212, 175, 55, 0.8) 50%, rgba(212, 175, 55, 0.5) 70%, transparent 100%);
  pointer-events: none;
}

.masthead {
  padding: 1.25rem 0 0.85rem 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  background: transparent;
  position: relative;
  z-index: 2;
}

.masthead-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.masthead-brand-link:hover {
  transform: translateY(-2px) scale(1.025);
}

@keyframes soothingLogoPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.masthead-logo {
  height: 96px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 0.3rem auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(74, 14, 23, 0.18));
  animation: soothingLogoPulse 4s ease-in-out infinite;
  transition: transform 0.3s ease;
  will-change: transform;
}

.masthead-brand-link:hover .masthead-logo {
  animation-play-state: paused;
  transform: scale(1.08);
}

.masthead-subtitle-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.4rem;
  padding: 0.35rem 1.6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(253, 248, 238, 0.95) 50%, rgba(247, 239, 226, 0.9) 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 50px;
  box-shadow: 
    0 3px 12px rgba(74, 14, 23, 0.07),
    0 1px 3px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.masthead-subtitle-wrapper:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 
    0 4px 16px rgba(74, 14, 23, 0.12),
    0 2px 6px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.masthead-flourish {
  color: var(--accent-gold-dark);
  font-size: 0.95rem;
  line-height: 1;
  text-shadow: 0 0 4px rgba(212, 175, 55, 0.45);
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.masthead-subtitle {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--accent-maroon-dark);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

/* Sticky Navigation & Marquee Dual Header Container */
.sticky-nav-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-paper);
  box-shadow: 0 4px 15px rgba(44, 7, 11, 0.12);
  transition: box-shadow 0.25s ease;
}

/* Primary Navigation Bar */
.main-nav {
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 2px solid rgba(74, 14, 23, 0.08);
  background-color: var(--bg-paper);
  box-shadow: 0 2px 8px rgba(74, 14, 23, 0.03);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  list-style: none;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--ink-heading);
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-maroon);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold-bright), var(--accent-gold));
  border-radius: 3px 3px 0 0;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Blue & Red Smooth Animated Text Highlight for ଲେଖା ପଠାନ୍ତୁ */
@keyframes blueRedColorShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.nav-link.nav-link-highlight .highlight-text-anim,
.drawer-nav-link.nav-link-highlight .highlight-text-anim {
  display: inline-block;
  font-weight: 800;
  background: linear-gradient(90deg, #1e40af 0%, #dc2626 25%, #2563eb 50%, #b91c1c 75%, #1e40af 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: blueRedColorShift 7s ease-in-out infinite;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-link.nav-link-highlight:hover .highlight-text-anim,
.drawer-nav-link.nav-link-highlight:hover .highlight-text-anim {
  transform: translateY(-1px);
  filter: drop-shadow(0 2px 6px rgba(220, 38, 38, 0.35));
}

.nav-link.nav-link-highlight::after {
  background: linear-gradient(90deg, #1e40af, #dc2626);
}

/* Desktop Header Category Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-caret {
  font-size: 0.75em;
  margin-left: 2px;
  color: var(--accent-gold-dark);
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

.nav-item-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
  color: var(--accent-maroon);
}

.nav-item-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--bg-paper, #FFFDF9);
  border: 1px solid var(--border-vintage, #E8DCC4);
  border-top: 3px solid var(--accent-maroon, #4A0E17);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 6px 6px;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-body, #2A2421);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: rgba(74, 14, 23, 0.06);
  color: var(--accent-maroon, #4A0E17);
}

.dropdown-badge {
  background: var(--bg-body, #F9F6F0);
  color: var(--accent-maroon, #4A0E17);
  border: 1px solid var(--border-vintage, #E8DCC4);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 12px;
}

.dropdown-item:hover .dropdown-badge,
.dropdown-item.active .dropdown-badge {
  background: var(--accent-maroon, #4A0E17);
  color: #FFFFFF;
  border-color: var(--accent-maroon, #4A0E17);
}

/* Mobile Drawer Category Submenu */
.drawer-dropdown-item {
  border-bottom: 1px dotted var(--border-vintage, #E8DCC4);
}

.drawer-dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-align: left;
}

.drawer-dropdown-plus {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-muted, #766B63);
  transition: transform 0.25s ease, color 0.25s ease;
}

.drawer-dropdown-item.open .drawer-dropdown-plus {
  transform: rotate(45deg);
  color: var(--accent-maroon, #4A0E17);
}

.drawer-subnav-menu {
  display: none;
  list-style: none;
  padding: 0 0 0.5rem 1.2rem;
  margin: 0;
}

.drawer-dropdown-item.open .drawer-subnav-menu {
  display: block;
}

.drawer-subnav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-body, #2A2421);
  text-decoration: none;
  border-radius: 4px;
}

.drawer-subnav-link:hover,
.drawer-subnav-link.active {
  color: var(--accent-maroon, #4A0E17);
  background-color: rgba(74, 14, 23, 0.05);
}

.drawer-subnav-badge {
  font-size: 0.725rem;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
}

/* Category Filter Bar on Posts Page */
.category-filter-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-vintage, #E8DCC4);
  flex-wrap: wrap;
}

.filter-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted, #766B63);
  flex-shrink: 0;
}

.category-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--ink-body, #2A2421);
  background-color: var(--bg-paper, #FFFDF9);
  border: 1px solid var(--border-vintage, #E8DCC4);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.category-pill:hover {
  border-color: var(--accent-gold, #D4AF37);
  color: var(--accent-maroon, #4A0E17);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(74, 14, 23, 0.08);
}

.category-pill.active {
  background: linear-gradient(135deg, var(--accent-maroon, #4A0E17), #6b1723);
  color: #FFFFFF;
  border-color: var(--accent-maroon, #4A0E17);
  box-shadow: 0 3px 10px rgba(74, 14, 23, 0.2);
}

.pill-count {
  font-size: 0.725rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.08);
  padding: 0.05rem 0.45rem;
  border-radius: 10px;
}

.category-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.search-form-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.header-search-input {
  padding: 0.45rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  width: 200px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background-color: #FDFBF7;
  color: var(--ink-heading);
  border-radius: 20px;
  outline: none;
  text-align: left;
  transition: all 0.25s ease;
}

.header-search-input::placeholder {
  text-align: left;
  color: var(--ink-light);
  font-size: 0.82rem;
}

.header-search-input:focus {
  border-color: var(--accent-gold);
  background-color: var(--bg-paper);
  width: 230px;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2), 0 2px 8px rgba(74, 14, 23, 0.06);
}

.header-search-btn {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark));
  color: #FDFBF7;
  border: 1px solid var(--accent-gold);
  padding: 0.42rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(74, 14, 23, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-search-btn:hover {
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  border-color: var(--accent-gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* --------------------------------------------------------------------------
   1.5 MOBILE HEADER BAR & SLIDE-OUT NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.mobile-header-bar {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: 0.5rem 0;
  min-height: 68px;
}

.mobile-menu-toggle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background-color: var(--bg-surface);
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--ink-heading);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 0 auto;
}

.mobile-brand-logo {
  height: 80px;
  width: auto;
  max-height: 68px;
  filter: drop-shadow(0 3px 10px rgba(74, 14, 23, 0.22));
  transition: transform 0.25s ease;
}

.mobile-brand-logo:hover {
  transform: scale(1.05);
}

.mobile-search-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.mobile-search-input {
  flex: 1;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--border-vintage);
  border-radius: 20px;
  outline: none;
  background: var(--bg-paper);
}

.mobile-search-submit {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark));
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  padding: 0.5rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 20px;
  cursor: pointer;
}

/* Mobile Navigation Drawer Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 4, 7, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Slide-out Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background-color: #FFFFFF;
  color: var(--ink-body);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 30px rgba(74, 14, 23, 0.25);
  border-right: 2px solid var(--accent-gold);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-vintage);
  background: var(--bg-surface);
  min-height: 72px;
}

.drawer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.drawer-logo {
  height: 52px;
  width: auto;
  max-height: 60px;
  filter: drop-shadow(0 2px 8px rgba(74, 14, 23, 0.18));
}

.drawer-close-btn {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--accent-maroon);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  min-width: 44px;
  min-height: 44px;
}

.drawer-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-search-form {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.drawer-search-input {
  width: 100%;
  text-align: center;
  padding: 0.6rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border: 1px solid var(--border-vintage);
  background: #FFFFFF;
  color: var(--ink-body);
  border-radius: 20px;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.drawer-search-input::placeholder {
  color: var(--ink-light);
  text-align: center;
}

.drawer-search-btn {
  background: linear-gradient(135deg, var(--accent-maroon) 0%, var(--accent-maroon-dark) 100%);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  padding: 0.55rem 1.1rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  border-radius: 20px;
  cursor: pointer;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--ink-heading);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
  background: var(--bg-surface);
  color: var(--accent-maroon);
  border-left: 3.5px solid var(--accent-gold);
}

.drawer-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.drawer-meta-section {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-vintage);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
}

.drawer-edition-badge {
  font-size: 0.75rem;
  color: var(--accent-maroon);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-social-links {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.drawer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-maroon-dark), var(--accent-maroon));
  color: var(--accent-gold-bright);
  border: 1px solid var(--accent-gold);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(74, 14, 23, 0.15);
}

.drawer-social-icon:hover {
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  border-color: var(--accent-gold-bright);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}




/* --------------------------------------------------------------------------
   2. MARQUEE / TICKER RIBBON
   -------------------------------------------------------------------------- */
.marquee-wrapper {
  background-color: var(--accent-maroon-dark);
  color: var(--bg-body);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--accent-gold);
  height: 38px;
}

.marquee-badge {
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.marquee-badge-text-desktop {
  display: inline;
}

.marquee-badge-text-mobile {
  display: none;
}

@media (max-width: 768px) {
  .marquee-wrapper {
    height: 34px;
  }

  .marquee-badge {
    padding: 0 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .marquee-item {
    font-size: 0.8rem;
  }

  .marquee-track {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .marquee-badge {
    padding: 0 0.45rem;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    font-weight: 800;
  }

  .marquee-badge-text-desktop {
    display: none;
  }

  .marquee-badge-text-mobile {
    display: inline;
  }
}

.marquee-content-box {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  color: #F5EFE4;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
}

.marquee-item:hover {
  color: var(--accent-gold-bright);
}

.marquee-bullet {
  color: var(--accent-gold);
  margin-right: 0.75rem;
  font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   3. HERO LEAD STORY GRID & CATEGORY SECTIONS
   -------------------------------------------------------------------------- */
.home-category-section {
  margin-bottom: 2rem;
}
.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.featured-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.featured-showcase-box {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-vintage);
  box-shadow: var(--shadow-subtle);
  padding: 0.75rem 1.15rem;
  border-radius: 6px;
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
  flex: 1;
}

.featured-showcase-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  width: 100%;
  gap: inherit;
  align-items: center;
}

.showcase-cover-col {
  flex: 0 0 125px;
  max-width: 125px;
  align-self: center;
}

.showcase-cover-frame {
  width: 100%;
  aspect-ratio: 1 / 1.5;
  border: 1px solid var(--border-vintage);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
  background-color: #1c1917;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-cover-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.showcase-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}

.showcase-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sepia);
  margin-bottom: 0.2rem;
}

.showcase-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.showcase-title a {
  color: var(--ink-heading);
}

.showcase-title a:hover {
  color: var(--accent-sepia);
}

.showcase-excerpt {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.showcase-meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--ink-light);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.showcase-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0;
}

.showcase-read-btn {
  padding: 0.45rem 1.25rem;
  font-size: 0.8rem;
  border-radius: 25px;
}

.category-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-sepia);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.hero-excerpt {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-light);
  font-weight: 700;
  border-top: 1px solid var(--border-vintage);
  padding-top: 0.75rem;
  margin-top: auto;
}

.hero-side-list {
  background-color: #FFFFFF;
  border: 1px solid var(--border-vintage);
  border-radius: 8px;
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.side-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--accent-maroon);
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
}

.side-title-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trending-fire-icon {
  font-size: 1.2rem;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 100, 0, 0.4)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 6px rgba(255, 60, 0, 0.8)); }
}

.side-posts-container {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.side-post-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem;
  border-radius: 6px;
  background-color: var(--bg-paper);
  border: 1px solid rgba(230, 219, 201, 0.6);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.side-post-item:hover {
  background-color: var(--bg-body);
  border-color: var(--accent-gold);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(74, 14, 23, 0.08);
}

.side-post-thumb-wrap {
  position: relative;
  flex: 0 0 72px;
  width: 72px;
  aspect-ratio: 1 / 1.5;
  height: auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-vintage);
  background-color: #1c1917;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-post-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.side-post-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.side-post-item:hover .side-post-thumb-img {
  transform: scale(1.1);
}

.side-post-rank-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: linear-gradient(135deg, var(--accent-maroon-dark), var(--accent-maroon));
  color: var(--accent-gold-bright);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.4);
  letter-spacing: 0.04em;
}

.side-post-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.side-post-content .category-tag {
  font-size: 0.68rem;
  margin-bottom: 0.2rem;
}

.side-post-title {
  font-family: var(--font-serif);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-post-title a {
  color: var(--ink-heading);
  transition: color 0.2s ease;
}

.side-post-item:hover .side-post-title a {
  color: var(--accent-maroon);
}

.side-post-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  color: var(--ink-muted);
  font-weight: 700;
}

.side-post-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.side-post-meta .meta-icon {
  font-style: normal;
  font-size: 0.72rem;
}

.side-post-meta .meta-dot {
  color: var(--ink-light);
}

/* --------------------------------------------------------------------------
   3.5 HERO WRITING SUBMISSION CARD
   -------------------------------------------------------------------------- */
.hero-submission-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-vintage);
  border-radius: 8px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.submission-card-header {
  border-bottom: 2px solid var(--accent-maroon);
  padding-bottom: 0.45rem;
  margin-bottom: 0.65rem;
}

.home-submission-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  justify-content: space-between;
}

.form-group-compact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.form-row-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

@media (max-width: 600px) {
  .form-row-compact {
    grid-template-columns: 1fr;
  }
}

.compact-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-heading);
  font-family: var(--font-sans);
}

.compact-input {
  width: 100%;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-family: var(--font-sans);
  border: 1px solid var(--border-vintage);
  border-radius: 6px;
  background-color: var(--bg-body);
  color: var(--ink-body);
  transition: all 0.2s ease;
}

.compact-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.file-upload-dropzone {
  position: relative;
  border: 2px dashed #d1c7b7;
  border-radius: 6px;
  background-color: var(--bg-body);
  padding: 0.6rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-upload-dropzone:hover,
.file-upload-dropzone.dragover {
  border-color: var(--accent-maroon);
  background-color: #fbf8f2;
}

.file-upload-dropzone.has-file {
  border-color: #10b981;
  background-color: #ecfdf5;
}

.file-upload-dropzone.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.file-hidden-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  pointer-events: none;
}

.dropzone-icon {
  font-size: 1.35rem;
}

.dropzone-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-heading);
}

.dropzone-hint {
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.submission-submit-btn {
  padding: 0.55rem;
  font-size: 0.88rem;
  border-radius: 6px;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Submission Upload Progress Bar & Success Card
   -------------------------------------------------------------------------- */
.submission-progress-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border-vintage);
  border-radius: 8px;
  padding: 0.85rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  animation: fadeInProgress 0.3s ease forwards;
}

@keyframes fadeInProgress {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.progress-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.progress-status-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-maroon);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.progress-percent-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--accent-maroon);
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.progress-percent-badge.badge-complete {
  background: #10B981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.progress-bar-track {
  width: 100%;
  height: 8px;
  background-color: #EAE3D6;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4A0E17 0%, #801826 60%, #D4AF37 100%);
  border-radius: 6px;
  transition: width 0.25s ease;
  position: relative;
}

.progress-bar-fill.progress-complete {
  background: linear-gradient(90deg, #059669 0%, #10B981 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.45);
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-size: 20px 20px;
  animation: moveStripes 1s linear infinite;
}

@keyframes moveStripes {
  0% { background-position: 0 0; }
  100% { background-position: 20px 0; }
}

.submission-success-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FBF9F4 100%);
  border: 1.5px solid #10B981;
  border-radius: 10px;
  padding: 1.5rem 1.15rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
  animation: successScaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes successScaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon-circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.success-card-title {
  font-family: 'Noto Serif Oriya', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #065F46;
  margin-bottom: 0.45rem;
}

.success-card-msg {
  font-size: 0.825rem;
  color: #374151;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.success-details-pill {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #047857;
  display: inline-block;
  text-align: left;
  margin-bottom: 0.75rem;
  max-width: 100%;
}

.btn-submit-another {
  background-color: transparent;
  color: var(--accent-maroon);
  border: 1.5px solid var(--accent-maroon);
  border-radius: 6px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit-another:hover {
  background-color: var(--accent-maroon);
  color: #FFFFFF;
}

.submission-submit-btn.btn-uploading {
  opacity: 0.85;
  cursor: not-allowed;
  pointer-events: none;
}

.submission-submit-btn {
  background: linear-gradient(135deg, var(--accent-maroon-dark), var(--accent-maroon));
  color: #FFFFFF;
  border: 1px solid var(--accent-gold);
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.submission-submit-btn:hover {
  background: linear-gradient(135deg, var(--accent-maroon), #5e121e);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 14, 23, 0.25);
}

.submission-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   4. POST CARDS & OVERLAY DESIGN (Text on Image & Hover Details)
   -------------------------------------------------------------------------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

/* Horizontal Scrollable Grid for Related Publications & Showcase Carousels (Hidden Scrollbar) */
.posts-grid-horizontal {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 1.15rem !important;
  padding-bottom: 0.85rem !important;
  margin-bottom: 2.5rem !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.posts-grid-horizontal::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.posts-grid-horizontal > * {
  flex: 0 0 calc(20% - 0.95rem) !important;
  min-width: 190px !important;
  max-width: 260px !important;
  scroll-snap-align: start;
}

@media (max-width: 1100px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .posts-grid-horizontal > * {
    flex: 0 0 calc(28% - 0.85rem) !important;
    min-width: 180px !important;
  }
}

@media (max-width: 768px) {
  .posts-grid-horizontal {
    gap: 0.85rem !important;
    padding-bottom: 0.65rem !important;
  }
  .posts-grid-horizontal > * {
    flex: 0 0 45% !important;
    min-width: 155px !important;
    max-width: 200px !important;
    display: block !important;
  }
  .posts-grid-horizontal > *:nth-child(n+5) {
    display: block !important;
  }
}

@media (max-width: 480px) {
  .posts-grid-horizontal > * {
    flex: 0 0 48% !important;
    min-width: 145px !important;
    max-width: 180px !important;
  }
}


.story-card.overlay-card {
  position: relative;
  background-color: var(--bg-paper);
  border: 1px solid var(--border-vintage);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.story-card.overlay-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-paper);
  border-color: var(--accent-sepia);
}

.card-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.5;
  overflow: hidden;
  background-color: #1c1917;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-cover-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.story-card.overlay-card:hover .card-cover-wrap img {
  transform: scale(1.05);
}

/* Play Button Overlay on Post Cover Wrap */
.card-cover-wrap .play-btn-overlay {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-maroon) 0%, var(--accent-maroon-dark) 100%);
  color: var(--accent-gold-bright);
  border: 1.5px solid var(--accent-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(74, 14, 23, 0.5), 0 0 10px rgba(212, 175, 55, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
}

.card-cover-wrap .play-btn-overlay svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.story-card.overlay-card:hover .play-btn-overlay {
  transform: translate(-50%, -50%) scale(1.12);
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
  border-color: #FFFFFF;
}

/* Gradient Overlay on Image (Compact & Minimally Intrusive) */
.card-overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 0.65rem 0.5rem 0.65rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0) 100%);
  color: #FFFFFF;
  z-index: 2;
  transition: opacity 0.35s ease;
}

.category-tag-overlay {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FBBF24;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  margin-bottom: 0.1rem;
}

.card-title-overlay {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.15rem;
  color: #FFFFFF !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title-overlay,
.card-title-overlay a,
.card-title-overlay span {
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  text-decoration: none;
}

.card-title-overlay a:hover,
.card-title-overlay span:hover {
  color: #FBBF24 !important;
}

.card-meta-overlay,
.card-meta-overlay span {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: #E5E7EB !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Hover Details Panel (Revealed on Mouseover exclusively on Desktop screens > 992px) */
.card-hover-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 25, 23, 0.92);
  color: #FFFFFF;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 3;
}

@media (min-width: 993px) and (hover: hover) {
  .story-card.overlay-card:hover .card-hover-details {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 992px), (hover: none) {
  .card-hover-details {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.hover-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.hover-excerpt {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #F9FAFB !important;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.hover-metrics {
  font-family: var(--font-sans);
  font-size: 0.775rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  gap: 0.5rem;
}

.hover-read-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.hover-read-btn:hover {
  background: #FFFFFF;
  color: var(--accent-maroon-dark);
  transform: scale(1.06);
  box-shadow: 0 5px 16px rgba(255, 215, 0, 0.45);
}

.js-play-video {
  cursor: pointer !important;
}

/* --------------------------------------------------------------------------
   5. POST DETAIL ARTICLE READER PAGE & INLINE PDF CANVAS
   -------------------------------------------------------------------------- */
.article-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.5rem auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-vintage);
}

.article-category {
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-sepia);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.article-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 700;
  flex-wrap: wrap;
}

/* Likes Meta Wrapper & Thumbs Toggle Button */
.likes-meta-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.thumbs-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-paper);
  color: var(--accent-maroon);
  border: 1px solid var(--accent-gold);
  padding: 0.28rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(74, 14, 23, 0.12);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}

.thumbs-toggle-btn .thumbs-icon {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), fill 0.25s ease, stroke 0.25s ease;
}

.thumbs-toggle-btn:hover {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark));
  color: var(--accent-gold-bright);
  border-color: var(--accent-gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 14, 23, 0.25);
}

.thumbs-toggle-btn:hover .thumbs-icon {
  transform: scale(1.2) rotate(-10deg);
}

.thumbs-toggle-btn.liked {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark)) !important;
  color: var(--accent-gold-bright) !important;
  border-color: var(--accent-gold-bright) !important;
  box-shadow: 0 4px 14px rgba(74, 14, 23, 0.3) !important;
}

.thumbs-toggle-btn.liked .thumbs-icon,
.like-btn.liked .thumbs-icon {
  fill: var(--accent-gold-bright);
  stroke: var(--accent-gold-bright);
  animation: thumbsPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes thumbsPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.45) rotate(-14deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Share Dropdown Wrapper & Trigger Button */
.share-popover-wrapper {
  position: relative;
  display: inline-flex;
}

.share-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark));
  color: var(--accent-gold-bright);
  border: 1px solid var(--accent-gold);
  padding: 0.3rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(74, 14, 23, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-trigger-btn:hover {
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  border-color: var(--accent-gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.share-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-paper);
  border: 1.5px solid var(--accent-maroon);
  color: var(--accent-maroon);
  padding: 0.65rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(74, 14, 23, 0.08);
  transition: all 0.25s ease;
}

.share-action-btn:hover {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark));
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(74, 14, 23, 0.25);
}

/* Share Popover Menu */
.share-popover-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 220px;
  background-color: var(--bg-paper);
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(44, 7, 11, 0.25);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.share-popover-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.share-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-vintage);
  padding-bottom: 0.4rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-maroon);
}

.share-popover-close {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-muted);
}

.share-popover-close:hover {
  color: var(--accent-maroon);
}

.share-popover-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.share-menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.65rem;
  border-radius: 5px;
  background-color: var(--bg-surface);
  color: var(--ink-heading);
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.2s ease;
}

.share-menu-item:hover {
  background-color: var(--bg-body);
  border-color: var(--accent-gold);
  color: var(--accent-maroon);
  transform: translateX(2px);
}

.share-item-icon {
  font-size: 0.9rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   5. POST DETAIL SPLIT SHOWCASE LAYOUT (Left PDF / Right Suggestion Form)
   -------------------------------------------------------------------------- */
.post-split-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.post-left-col {
  display: flex;
  flex-direction: column;
  /* gap: 1.5rem; */
  width: 100%;
}

.post-right-col {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-box-sticky {
  position: sticky;
  top: 1.5rem;
}

.form-box-sticky::-webkit-scrollbar {
  width: 4px;
}

.form-box-sticky::-webkit-scrollbar-thumb {
  background: var(--accent-maroon);
  border-radius: 4px;
}

.pdf-viewer-section {
  width: 100%;
  margin: 0;
  background-color: var(--bg-paper);
  border: 1px solid var(--border-vintage);
  box-shadow: var(--shadow-paper);
  border-radius: 6px;
  overflow: hidden;
}

.pdf-viewer-header {
  background: linear-gradient(135deg, var(--accent-maroon-dark), var(--accent-maroon));
  color: #FDFBF7;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdf-viewer-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold-bright);
}

.pdf-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pdf-header-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.2;
}

.pdf-header-btn.pdf-download-btn {
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  border: 1px solid var(--accent-gold-bright);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pdf-header-btn.pdf-download-btn:hover {
  background: #FFFFFF;
  color: var(--accent-maroon);
  border-color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.pdf-header-btn.pdf-fullscreen-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pdf-header-btn.pdf-fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  color: var(--accent-gold-bright);
  border-color: var(--accent-gold-bright);
  transform: translateY(-1px);
}

.pdf-viewer-container {
  width: 100%;
  height: 720px;
  background-color: #323639;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.pdf-canvas-container {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: #323639;
  padding: 1rem 0.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pdf-page-wrapper {
  width: 100%;
  max-width: 900px;
  margin-bottom: 1rem;
  background-color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.pdf-page-canvas {
  display: block;
  width: 100%;
  height: auto;
}

.pdf-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
  color: #FDFBF7;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.pdf-inline-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #323639;
  display: block;
}

.pdf-canvas-wrap {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background-color: #525659;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
  box-sizing: border-box;
}

.pdf-canvas-render {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  background-color: #FFFFFF;
  max-width: 100%;
}

.pdf-js-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pdf-page-indicator {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #FDFBF7;
  padding: 0 0.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.pdf-header-btn.pdf-nav-btn,
.pdf-header-btn.pdf-zoom-btn,
.pdf-header-btn.pdf-toggle-mode-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.pdf-header-btn.pdf-nav-btn:hover,
.pdf-header-btn.pdf-zoom-btn:hover,
.pdf-header-btn.pdf-toggle-mode-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--accent-gold-bright);
  border-color: var(--accent-gold-bright);
}

.pdf-fallback-msg {
  padding: 3rem;
  text-align: center;
  color: #FFFFFF;
  font-family: var(--font-sans);
}

.article-featured-img {
  width: 100%;
  margin: 0;
  border: 1px solid var(--border-vintage);
  box-shadow: var(--shadow-paper);
  border-radius: 6px;
  overflow: hidden;
}

.article-featured-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background-color: var(--bg-surface);
}

.article-layout {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background-color: var(--bg-paper);
  border: 1px solid var(--border-vintage);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-subtle);
  border-radius: 6px;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-body);
  margin-bottom: 1rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

/* Drop Cap for Literary Effect */
.article-body p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  float: left;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 10px;
  padding-bottom: 2px;
  color: var(--accent-maroon);
  font-weight: 900;
}

.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-vintage);
  margin-bottom: 1.75rem;
}

.like-btn {
  background-color: var(--bg-paper);
  border: 1.5px solid var(--accent-maroon);
  color: var(--accent-maroon);
  padding: 0.65rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(74, 14, 23, 0.08);
  transition: all 0.25s ease;
}

.like-btn:hover {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark));
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(74, 14, 23, 0.25);
}

.like-btn.liked {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark)) !important;
  color: var(--accent-gold-bright) !important;
  border-color: var(--accent-gold) !important;
  box-shadow: 0 4px 14px rgba(74, 14, 23, 0.3) !important;
}

.pdf-trigger-btn {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark));
  color: #FDFBF7;
  border: 1px solid var(--accent-gold);
  padding: 0.65rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 3px 10px rgba(74, 14, 23, 0.2);
  transition: all 0.25s ease;
}

.pdf-trigger-btn:hover {
  background: linear-gradient(135deg, var(--accent-gold-bright), var(--accent-gold));
  color: var(--accent-maroon-dark);
  border-color: var(--accent-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

/* --------------------------------------------------------------------------
   6. SUGGESTION & CONTACT FORMS
   -------------------------------------------------------------------------- */
.form-box {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-vintage);
  box-shadow: var(--shadow-paper);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 0;
}

.form-header-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-vintage);
}

.badge-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.form-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink-heading);
  margin-bottom: 0.2rem;
}

.form-subtitle {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.35;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  color: var(--ink-heading);
}

.form-control {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid var(--border-vintage);
  background-color: var(--bg-body);
  color: var(--ink-body);
  border-radius: 4px;
  outline: none;
  transition: var(--transition-smooth);
}

textarea.form-control {
  min-height: 80px;
  max-height: 120px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
  background-color: var(--bg-paper);
}

.form-submit-btn {
  width: 100%;
  margin-top: 0.35rem;
}

/* Reader Suggestions & Feedback List */
.suggestions-list-box {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-vintage);
}

.suggestions-list-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-heading);
  margin-bottom: 0.75rem;
}

/* Scrollable Reader Feedback Items Container */
.suggestions-items-scroll {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.5rem;
  margin-top: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-maroon) #f1f5f9;
}

.suggestions-items-scroll::-webkit-scrollbar {
  width: 6px;
}

.suggestions-items-scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.suggestions-items-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-maroon));
  border-radius: 4px;
}

.suggestions-items-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--accent-maroon-dark);
}

.suggestion-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-vintage);
  padding: 1rem 1.15rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.suggestion-author {
  font-size: 0.85rem;
  color: var(--ink-heading);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.suggestion-author span {
  color: var(--ink-muted);
  font-weight: normal;
}

.suggestion-text {
  font-size: 0.9rem;
  color: var(--ink-body);
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.admin-reply-box {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  background-color: var(--bg-paper);
  border-left: 3.5px solid var(--accent-maroon);
  border-radius: 6px;
  font-size: 0.875rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.admin-reply-box strong {
  color: var(--accent-maroon);
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.admin-reply-box p {
  margin: 0;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.form-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--ink-heading);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--border-vintage);
  background-color: var(--bg-paper);
  color: var(--ink-body);
  border-radius: 4px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-sepia);
  box-shadow: 0 0 0 3px rgba(140, 109, 70, 0.15);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-maroon) 0%, var(--accent-maroon-dark) 100%);
  color: #FDFBF7;
  border: 1px solid var(--accent-gold);
  padding: 0.75rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 28px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(74, 14, 23, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  border-color: var(--accent-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

/* --------------------------------------------------------------------------
   7. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background-color: #23050a;
  background-image: 
    radial-gradient(ellipse at 50% 50%, rgba(35, 5, 10, 0.85) 0%, rgba(35, 5, 10, 0.70) 60%, rgba(35, 5, 10, 0.35) 100%),
    linear-gradient(to right, rgba(35, 5, 10, 0.20) 0%, rgba(35, 5, 10, 0.80) 25%, rgba(35, 5, 10, 0.80) 75%, rgba(35, 5, 10, 0.20) 100%),
    url('../images/footer-bg.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #E8E2D9;
  border-top: 4px double var(--accent-gold);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  font-size: 0.9rem;
  box-shadow: inset 0 10px 25px rgba(0, 0, 0, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 0.75rem;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
}

.footer-logo {
  height: 95px;
  width: auto;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
}

.footer-desc {
  line-height: 1.65;
  color: #D2C8BC;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #E2D8CC;
}

.footer-links a:hover {
  color: var(--accent-gold-bright);
}

/* Compact Footer Social Icons */
.footer-social-wrap {
  margin-top: 0.85rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.footer-social-icon:hover {
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  border-color: var(--accent-gold-bright);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.footer-bottom {
  border-top: 1px solid #38332E;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.825rem;
  color: #8C847C;
}

/* Designed & Developed Credit Line */
.footer-credit {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: #6B6460;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  letter-spacing: 0.01em;
}

.footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
  font-family: var(--font-sans);
}

.footer-credit-link:hover {
  color: var(--accent-gold-bright);
  letter-spacing: 0.04em;
}

.footer-credit-icon {
  color: var(--accent-gold);
  transition: transform 0.4s ease, color 0.25s ease;
  fill: var(--accent-gold);
  stroke: var(--accent-gold);
}

.footer-credit-link:hover .footer-credit-icon {
  fill: var(--accent-gold-bright);
  stroke: var(--accent-gold-bright);
  transform: rotate(72deg) scale(1.2);
}

@media (max-width: 1200px) and (min-width: 993px) {
  .nav-links {
    gap: 0.95rem;
  }
  .nav-link {
    font-size: 0.92rem;
    padding: 0.8rem 0.1rem;
  }
  .header-search-input {
    width: 150px;
  }
  .header-search-input:focus {
    width: 175px;
  }
}

/* Responsive Adjustments & Mobile Breakpoints */
@media (max-width: 992px) {
  /* Hide redundant desktop top-bar and large masthead on mobile/tablet */
  .top-bar,
  .masthead-banner,
  .masthead {
    display: none !important;
  }

  .desktop-nav-links,
  .desktop-search-form {
    display: none !important;
  }

  .mobile-header-bar {
    display: flex;
  }

  .mobile-search-container {
    display: block;
  }

  .top-bar-inner {
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  .masthead {
    padding: 0.5rem 0 0.25rem 0;
  }

  .masthead-logo {
    height: 64px;
  }

  .masthead-subtitle-wrapper {
    gap: 0.5rem;
    padding: 0.25rem 1.1rem;
  }

  .masthead-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
  }

  /* Layout Grids */
  .hero-editorial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .post-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-box-sticky {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Prevent iOS input auto-zooming */
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  textarea,
  select {
    font-size: 16px !important;
  }

  .top-bar-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.25rem;
    padding: 0.2rem 0;
  }

  .top-bar-left, .top-bar-right {
    justify-content: center;
  }

  .masthead-logo {
    height: 54px;
  }

  .masthead-subtitle-wrapper {
    gap: 0.4rem;
    padding: 0.2rem 0.9rem;
  }

  .masthead-subtitle {
    font-size: 0.88rem;
    white-space: nowrap;
  }

  /* Article Header & Typography */
  .article-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
  }

  .article-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .article-meta-bar {
    font-size: 1.2rem;
    gap: 0.65rem;
  }

  .article-layout {
    padding: 1.25rem 1rem;
  }

  .action-bar {
    gap: 0.5rem;
    padding-bottom: 1.15rem;
    margin-bottom: 1.25rem;
  }

  .like-btn,
  .share-action-btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 0.55rem 0.4rem;
    font-size: 0.8rem;
    white-space: nowrap;
    border-radius: 25px;
    gap: 0.35rem;
  }

  /* Reader PDF Viewer Canvas */
  .pdf-viewer-container {
    height: 420px;
  }

  .pdf-viewer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .pdf-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  /* Hero Showcase List */
  .featured-showcase-box {
    padding: 1rem;
    gap: 1rem;
  }

  .showcase-title {
    font-size: 1.2rem;
  }

  .showcase-meta {
    display: none !important;
  }

  /* Posts Grid Layout (Mobile Magazine 2-Column Grid: 4 Cards Max) */
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .posts-grid > *:nth-child(n+5) {
    display: none !important;
  }

  /* Audio Search Bar (Hidden on Mobile) */
  .audio-search-bar-wrap {
    display: none !important;
  }

  /* Audio Grid (Force 2-Column Mobile Layout & Premium Card Ergonomics) */
  .audio-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    margin-bottom: 2.5rem;
  }

  .audio-card {
    border-radius: 6px;
    border: 1px solid var(--border-vintage);
    background-color: var(--bg-paper);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .audio-thumbnail-wrap {
    aspect-ratio: 1 / 1.5 !important;
    width: 100% !important;
    background-color: #1c1917 !important;
  }

  .audio-thumbnail-wrap img {
    object-fit: contain !important;
  }

  .play-btn-overlay {
    width: 34px !important;
    height: 34px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35) !important;
  }

  .play-btn-overlay svg {
    width: 15px !important;
    height: 15px !important;
  }

  .duration-badge {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.5rem !important;
    top: 0.5rem !important;
    right: 0.5rem !important;
    bottom: auto !important;
    height: auto !important;
    width: auto !important;
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.85) !important;
    border: 1px solid rgba(251, 191, 36, 0.6) !important;
  }

  .audio-card-body {
    padding: 0.65rem 0.55rem !important;
    gap: 0.2rem;
  }

  .audio-author-tag {
    font-size: 0.625rem !important;
    font-weight: 800 !important;
    color: var(--accent-maroon) !important;
    margin-bottom: 0.15rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
  }

  .audio-card-title {
    font-size: 0.825rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .audio-card-excerpt {
    display: none !important;
  }

  .audio-card-meta {
    font-size: 0.65rem !important;
    color: var(--ink-muted) !important;
    margin-bottom: 0.5rem !important;
    gap: 0.25rem !important;
    flex-wrap: wrap !important;
  }

  .btn-play-trigger {
    padding: 0.45rem 0.35rem !important;
    font-size: 0.725rem !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-logo {
    height: 75px;
  }

  /* Share Popover Menu */
  .share-popover-menu {
    position: fixed;
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90vw;
    max-width: 340px;
  }

  .share-popover-menu.show {
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 576px) {
  /* Hero Showcase Cards (Compact Mobile Row with Uncropped Full Cover) */
  .featured-showcase-box {
    flex-direction: row !important;
    align-items: center !important;
    padding: 0.85rem !important;
    gap: 0.85rem !important;
    border-radius: 8px !important;
  }

  .showcase-cover-col {
    flex: 0 0 90px !important;
    max-width: 90px !important;
    width: 90px !important;
  }

  .showcase-cover-frame {
    max-height: 125px !important;
    border-radius: 6px !important;
    background-color: #FAF7F2 !important;
    border: 1px solid var(--border-vintage) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  }

  .showcase-cover-frame img {
    width: 100% !important;
    height: auto !important;
    max-height: 125px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .showcase-badge {
    font-size: 0.625rem !important;
    margin-bottom: 0.2rem !important;
  }

  .showcase-title {
    font-size: 1.025rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.25rem !important;
  }

  .showcase-excerpt {
    font-size: 0.775rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.35rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .showcase-meta {
    display: none !important;
  }

  .showcase-actions {
    margin-top: 0.2rem !important;
  }

  .showcase-read-btn {
    width: auto !important;
    display: inline-flex !important;
    padding: 0.3rem 0.75rem !important;
    font-size: 0.725rem !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
  }

  .side-post-thumb-wrap {
    flex: 0 0 64px;
    width: 64px;
    height: 80px;
  }

  .side-post-title {
    font-size: 0.875rem;
  }

  .video-modal-backdrop {
    padding: 0.75rem;
  }

  .video-modal-close {
    font-size: 2.2rem;
    padding: 0.4rem;
  }

  .contact-card-box,
  .google-map-box {
    padding: 1.15rem;
  }
}

@media (max-width: 360px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------------------------------------
   8. PAGINATION STYLING (Minimal & Modern)
   -------------------------------------------------------------------------- */
.pagination-wrapper {
  margin-top: 3rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.custom-pagination {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
}

.custom-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.6rem;
  border: 1px solid var(--border-vintage);
  background-color: var(--bg-paper);
  color: var(--ink-heading);
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.custom-pagination a.page-link:hover {
  background: linear-gradient(135deg, var(--accent-gold-bright), var(--accent-gold));
  color: var(--accent-maroon-dark);
  border-color: var(--accent-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.custom-pagination .page-link.active {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark));
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 3px 8px rgba(74, 14, 23, 0.25);
}

.custom-pagination .page-link.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background-color: var(--bg-surface);
  border-color: var(--border-vintage);
}

/* --------------------------------------------------------------------------
   9. CONTACT PAGE & GOOGLE MAPS LAYOUT
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-card-box {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-vintage);
  box-shadow: var(--shadow-paper);
  border-radius: 6px;
  padding: 1.75rem;
}

.contact-box-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink-heading);
  margin-bottom: 0.3rem;
}

.contact-box-desc {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--border-vintage);
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-maroon-dark), var(--accent-maroon));
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(74, 14, 23, 0.15);
}

.info-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-maroon);
  margin-bottom: 0.2rem;
}

.info-value {
  font-family: var(--font-sans);
  font-size: 0.925rem;
  color: var(--ink-body);
  line-height: 1.45;
}

.info-value a {
  color: var(--ink-heading);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.info-value a:hover {
  color: var(--accent-gold-dark);
}

.google-map-box {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-vintage);
  box-shadow: var(--shadow-paper);
  border-radius: 6px;
  overflow: hidden;
  padding: 1.25rem;
}

.map-box-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.map-container {
  width: 100%;
  height: 260px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-vintage);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-card {
  margin-top: 0;
}

.form-error-msg {
  color: #DC2626;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 500;
  margin-top: 0.25rem;
  display: block;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   10. ABOUT US PAGE LAYOUT & PILLAR CARDS
   -------------------------------------------------------------------------- */
.about-page-layout {
  max-width: 1040px;
  margin: 0 auto 3.5rem auto;
}

.about-main-article {
  max-width: 100%;
  border-radius: 8px;
}

.about-hero-badge {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-vintage);
}

.about-brand-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 0.5rem auto;
  filter: drop-shadow(0 4px 12px rgba(74, 14, 23, 0.2));
}

.badge-tagline {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-maroon);
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.pillar-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-vintage);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-paper);
  border-color: var(--accent-gold);
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  line-height: 1;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink-heading);
  margin-bottom: 0.4rem;
}

.pillar-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.about-contact-banner {
  background: linear-gradient(135deg, var(--accent-maroon-dark), var(--accent-maroon));
  color: #FDFBF7;
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  padding: 2rem 2.25rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-paper);
}

.banner-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
  margin-bottom: 0.4rem;
}

.banner-desc {
  font-size: 0.9rem;
  color: #E2D8CC;
  margin-bottom: 1rem;
}

.banner-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: #F5EFE4;
}

.banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-secondary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--accent-gold-bright);
  border: 1.5px solid var(--accent-gold);
  padding: 0.75rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-secondary-gold:hover {
  background: rgba(255, 215, 0, 0.15);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

@media (max-width: 800px) {
  .about-contact-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem;
    gap: 1.35rem;
  }
  .banner-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }
  .banner-actions .btn-primary,
  .banner-actions .btn-secondary-gold {
    width: 100%;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
  }
}

/* --------------------------------------------------------------------------
   11. AUDIO STORIES GRID & YOUTUBE MODAL PLAYER
   -------------------------------------------------------------------------- */
.audio-search-bar-wrap {
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.audio-search-form {
  display: flex;
  gap: 0.5rem;
}

.audio-search-input {
  border-radius: 25px;
}

.search-submit-btn {
  border-radius: 25px;
  flex-shrink: 0;
}

.audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.audio-card {
  background-color: var(--bg-paper);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 4px 14px rgba(74, 14, 23, 0.06);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.audio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.12);
  border-color: var(--accent-gold);
}

.audio-thumbnail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.5;
  background-color: #1c1917;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.audio-card:hover .audio-thumbnail-wrap img {
  transform: scale(1.05);
}

.audio-cover-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(44, 7, 11, 0.65) 0%, rgba(44, 7, 11, 0.05) 60%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.duration-badge {
  position: absolute;
  top: 0.6rem !important;
  right: 0.6rem !important;
  bottom: auto !important;
  left: auto !important;
  height: auto !important;
  width: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85) !important;
  color: #FBBF24 !important;
  border: 1px solid rgba(251, 191, 36, 0.6);
  padding: 0.25rem 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-maroon) 0%, var(--accent-maroon-dark) 100%);
  color: var(--accent-gold-bright);
  border: 1.5px solid var(--accent-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(74, 14, 23, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
}

.play-btn-overlay svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.audio-card:hover .play-btn-overlay {
  transform: translate(-50%, -50%) scale(1.12);
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: var(--accent-maroon-dark);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.5);
  border-color: #FFFFFF;
}

.audio-card-body {
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.audio-author-tag {
  font-family: var(--font-sans);
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-maroon);
  margin-bottom: 0.25rem;
  display: inline-block;
}

.audio-card-title {
  font-family: var(--font-serif);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-heading);
  margin-bottom: 0.35rem;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.audio-card-title:hover {
  color: var(--accent-maroon);
}

.audio-card-excerpt {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.4;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.audio-card-meta {
  font-family: var(--font-sans);
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--ink-light);
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: auto;
  margin-bottom: 0.65rem;
}

.audio-card-action {
  margin-top: 0.15rem;
}

.btn-play-trigger {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark));
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.45rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-play-trigger:hover {
  background: linear-gradient(135deg, var(--accent-gold-bright), var(--accent-gold));
  color: var(--accent-maroon-dark);
  border-color: var(--accent-gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* YOUTUBE VIDEO MODAL */
.video-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 4, 7, 0.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeInModal 0.25s ease forwards;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.video-modal-container {
  width: 100%;
  max-width: 900px;
  background: var(--accent-maroon-dark);
  border: 1px solid var(--accent-gold);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.video-modal-header {
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, var(--accent-maroon-dark), var(--accent-maroon));
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-modal-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
  margin: 0;
}

.video-modal-close {
  background: transparent;
  border: none;
  color: var(--accent-gold-bright);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.5rem;
  transition: transform 0.2s ease;
}

.video-modal-close:hover {
  transform: scale(1.2);
  color: #FFFFFF;
}

.video-modal-body {
  background-color: #000000;
  width: 100%;
}

.iframe-responsive-aspect {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.iframe-responsive-aspect iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.form-control.input-error,
.compact-input.input-error,
.file-upload-dropzone.input-error {
  border-color: #DC2626 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25) !important;
  color: #991B1B !important;
}

.field-error-text {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 500;
  color: #DC2626;
  margin-top: 0.25rem;
  animation: fadeInError 0.25s ease forwards;
}

@keyframes fadeInError {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.shake-vibrate {
  animation: shakeField 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeField {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-7px, 0, 0); }
  40%, 60% { transform: translate3d(7px, 0, 0); }
}

/* --------------------------------------------------------------------------
   13. FLOATING TOP-RIGHT TOAST NOTIFICATION SYSTEM
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  width: calc(100vw - 48px);
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: linear-gradient(135deg, rgba(74, 14, 23, 0.96), rgba(45, 8, 14, 0.98));
  color: #FDFBF7;
  border: 1.5px solid var(--accent-gold-bright);
  padding: 1rem 1.15rem;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: toastSlideIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: all 0.35s ease;
}

.toast-item.toast-hiding {
  animation: toastSlideOut 0.35s ease forwards;
}

.toast-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold-bright), var(--accent-gold));
  color: var(--accent-maroon-dark);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.4);
  margin-top: 0.1rem;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.toast-message {
  font-family: var(--font-sans);
  font-size: 0.825rem;
  color: #E6DCCD;
  line-height: 1.4;
  margin: 0;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--accent-gold-bright);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-close-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

@keyframes toastSlideIn {
  0% {
    opacity: 0;
    transform: translateX(100px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastSlideOut {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(120px) scale(0.85);
  }
}

@media (max-width: 576px) {
  .toast-container {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   8. SKELETAL IMAGE PLACEHOLDER & LAZY LOADING SYSTEM (PROFESSIONAL DIAGONAL SLOW SHIMMER)
   -------------------------------------------------------------------------- */
@keyframes skeleton-diagonal-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-loader,
.img-skeleton-wrap {
  position: relative;
  overflow: hidden;
  background-color: #f1ede6;
  background-image: linear-gradient(
    115deg,
    rgba(241, 235, 226, 0.7) 0%,
    rgba(241, 235, 226, 0.7) 35%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(241, 235, 226, 0.7) 65%,
    rgba(241, 235, 226, 0.7) 100%
  );
  background-size: 300% 100%;
  animation: skeleton-diagonal-shimmer 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Smooth, elegant fade-in for image when loaded */
.img-skeleton-wrap img,
img.skeleton-img {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease-in-out;
  will-change: opacity;
}

/* Loaded state */
.img-skeleton-wrap.img-loaded,
img.skeleton-img.img-loaded,
img.img-loaded {
  opacity: 1 !important;
}

/* Remove skeleton shimmer background once loaded */
.img-skeleton-wrap.img-loaded {
  animation: none !important;
  background-image: none !important;
  background-color: transparent !important;
}

/* ==========================================
   GLOBAL FLOATING ACTION BUTTONS (WHATSAPP & TOP)
   ========================================== */
.floating-action-bar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-sizing: border-box;
}

.float-whatsapp-btn {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.float-whatsapp-btn:hover {
  background-color: #20BA5A;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.65);
}

.float-scroll-top-btn {
  background: linear-gradient(135deg, var(--accent-maroon-dark), #6B002B);
  color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 14px rgba(92, 6, 28, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
}

.float-scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.float-scroll-top-btn:hover {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent-maroon-dark));
  color: var(--accent-gold-bright);
  border-color: var(--accent-gold-bright);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.35);
}

@media (max-width: 768px) {
  .floating-action-bar {
    bottom: 1.15rem;
    right: 1.15rem;
    gap: 0.55rem;
  }
  
  .floating-btn {
    width: 44px;
    height: 44px;
  }
}

/* Real-Time Live Search Dropdown Styles */
.live-search-wrapper {
  position: relative;
  width: 100%;
}

.live-search-results-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 320px;
  max-width: 420px;
  background-color: var(--bg-paper, #FFFDF9);
  border: 1px solid var(--border-vintage, #E8DCC4);
  border-top: 3px solid var(--accent-maroon, #4A0E17);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  overflow: hidden;
}

.live-search-results-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drawer-search-form .live-search-results-dropdown {
  position: static;
  min-width: 100%;
  max-width: 100%;
  box-shadow: none;
  border-radius: 6px;
  margin-top: 6px;
}

.live-search-header {
  padding: 0.5rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted, #766B63);
  background-color: var(--bg-body, #F9F6F0);
  border-bottom: 1px solid var(--border-vintage, #E8DCC4);
}

.live-search-list {
  max-height: 340px;
  overflow-y: auto;
}

.live-search-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 220, 196, 0.4);
  transition: background-color 0.2s ease;
}

.live-search-item:last-child {
  border-bottom: none;
}

.live-search-item:hover,
.live-search-item.active-nav {
  background-color: rgba(74, 14, 23, 0.06);
}

.live-search-thumb {
  width: 44px;
  aspect-ratio: 1 / 1.5;
  height: auto;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-vintage, #E8DCC4);
  background-color: #1c1917;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.live-search-details {
  flex: 1;
  min-width: 0;
}

.live-search-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.725rem;
  margin-bottom: 0.15rem;
}

.live-search-cat {
  font-weight: 700;
  color: var(--accent-maroon, #4A0E17);
  text-transform: uppercase;
}

.live-search-date {
  color: var(--ink-muted, #766B63);
}

.live-search-title {
  font-family: var(--font-serif, serif);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-body, #2A2421);
  margin: 0 0 0.2rem 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-search-item:hover .live-search-title {
  color: var(--accent-maroon, #4A0E17);
}

.live-search-desc {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--ink-muted, #766B63);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.live-search-footer {
  display: block;
  padding: 0.6rem 0.9rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-maroon, #4A0E17);
  background-color: var(--bg-body, #F9F6F0);
  border-top: 1px solid var(--border-vintage, #E8DCC4);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.live-search-footer:hover {
  background-color: var(--accent-maroon, #4A0E17);
  color: #FFFFFF;
}

.live-search-loading,
.live-search-empty {
  padding: 1rem 0.9rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.825rem;
  color: var(--ink-muted, #766B63);
}

.live-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.search-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(74, 14, 23, 0.2);
  border-top-color: var(--accent-maroon, #4A0E17);
  border-radius: 50%;
  animation: searchSpinnerSpin 0.6s linear infinite;
  display: inline-block;
}

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