/*
Theme Name:         Commercis Media
Theme URI:          https://commercis.com
Description:        Commercis Media is a modern WordPress theme for media and content websites
Author:             Commercis Media Team
Author URI:         https://commercis.com
Version:            1.0.0
Text Domain:        commercis-media
*/

:root {
  --primary-color: #8b0a8f;
  --secondary-color: #a014b5;
  --dark-color: #06003c;
  --light-bg: #f8f8f8;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-gray: #666;
  --border-color: #e9ecef;
  --shadow: 0 4px 16px rgba(139, 10, 143, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 50px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--light-bg) !important;
  font-family: "Roboto", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.container,
.container-fluid,
.elementor-container {
  padding: 0;
  position: relative;
  max-width: 100% !important;
  margin: 0 auto;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-top: 0;
}

a,
a:focus,
a:hover {
  color: unset;
  text-decoration: none;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--dark-color) 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader-inner {
  text-align: center;
  color: var(--text-light);
}

.spinner {
  margin: 0 auto 20px;
  width: 70px;
  text-align: center;
}

.spinner>div {
  width: 18px;
  height: 18px;
  background-color: var(--text-light);
  display: inline-block;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  animation-delay: -0.16s;
}

.spinner .bounce3 {
  animation-delay: 0s;
}

@keyframes sk-bouncedelay {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

.preloader-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top,
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.back-to-top:hover,
.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.4);
  background: linear-gradient(135deg,
      var(--secondary-color) 0%,
      var(--primary-color) 100%);
}

/* ============================================
   FANCY HEADER
   ============================================ */
.fancy-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.commercis-presto-player .skin-modern.presto-player__wrapper button.plyr__control.plyr__control--overlaid {
  padding: 2% !important;
  width: auto !important;
}

/* Top Bar */
.top-bar {
  background: linear-gradient(135deg,
      var(--dark-color) 0%,
      var(--primary-color) 100%);
  padding: 10px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.top-info {
  display: flex;
  gap: 30px;
  align-items: center;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-item i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.top-social {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Main Header */
.main-header {
  padding: 20px;
}

/* Header Scroll Effect */
.fancy-header.header-scrolled .main-header {
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fancy-header.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
  scroll-behavior: smooth;
  will-change: transform, background-color, box-shadow;
}

.fancy-header.header-scrolled .site-title {
  font-size: 1.8rem;
  transition: font-size 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fancy-header.header-scrolled .primary-menu a {
  padding: 8px 0;
  transition: padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.custom-logo-link {
  text-decoration: none;
}

.site-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.main-navigation {
  display: flex;
  justify-content: center;
}

.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.primary-menu li {
  position: relative;
  margin: 0 15px;
}

.primary-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 0;
  transition: all 0.3s ease;
  position: relative;
}

.primary-menu a:hover,
.primary-menu .current-menu-item a {
  color: var(--primary-color);
}

.primary-menu .current-menu-item a::after,
.primary-menu a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
      var(--primary-color),
      var(--secondary-color));
}

/* Submenu */
.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.primary-menu li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-menu .sub-menu li {
  margin: 0;
}

.primary-menu .sub-menu a {
  padding: 12px 20px;
  display: block;
  font-weight: 500;
  color: var(--text-gray);
  border: none;
}

.primary-menu .sub-menu a:hover {
  color: var(--primary-color);
  background: rgba(139, 10, 143, 0.05);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

/* User Profile Styles */
.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.user-link img {}

.user-link:hover {
  color: var(--primary-color);
}

.user-avatar {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.user-link:hover .user-avatar {
  transform: scale(1.1);
}

.user-name {
  white-space: nowrap;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-profile-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(139, 10, 143, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
}

.user-profile-mobile:hover {
  background: rgba(139, 10, 143, 0.2);
  transform: scale(1.1);
}

.mobile-avatar {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border: 1px solid rgba(139, 10, 143, 0.3);
}

.search-toggle,
.mobile-menu-toggle {
  background: none;
  border: 2px solid var(--border-color);
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: all 0.3s ease;
  font-size: 1rem;
  flex-direction: column;
  padding: 0;
}

.search-toggle:hover,
.mobile-menu-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  position: relative;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 3px 0;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   OVERLAYS
   ============================================ */
/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-content {
  background: #ffffff;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  position: relative;
  text-align: center;
}

.search-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-gray);
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-close:hover {
  color: var(--primary-color);
}

.search-input-wrapper {
  position: relative;
  margin-top: 20px;
}

.search-input {
  width: 100%;
  padding: 15px 60px 15px 20px !important;
  border: 2px solid var(--border-color);
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary-color);
}

.search-submit {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  color: var(--text-light);
  border: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(139, 10, 143, 0.3);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  background: #ffffff;
  width: 90%;
  max-width: 400px;
  padding: 30px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-gray);
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-close:hover {
  color: var(--primary-color);
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list a {
  display: block;
  padding: 15px 0;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-menu-list a:hover {
  color: var(--primary-color);
}

.mobile-social {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.mobile-social .sign-in-button {
  background: linear-gradient(135deg,
      rgba(139, 10, 143, 0.1) 0%,
      rgba(160, 20, 181, 0.1) 100%);
  border: 2px solid var(--primary-color);
  padding: 12px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary-color);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(139, 10, 143, 0.15);
}

.mobile-social .sign-in-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.mobile-social .sign-in-button:hover::before {
  left: 100%;
}

.mobile-social .sign-in-button:hover {
  border-color: var(--secondary-color);
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  color: var(--text-light);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(139, 10, 143, 0.4);
}

.mobile-social .sign-in-button:active {
  transform: translateY(0) scale(0.98);
}

.mobile-social .sign-in-button i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.mobile-social .sign-in-button:hover i {
  transform: translateX(2px);
}

.mobile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(139, 10, 143, 0.1);
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-social-link:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: scale(1.1);
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,60 0,100"/></svg>');
  background-size: cover;
  background-repeat: no-repeat;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
}

.page-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-title span {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 15px;
}

/* ============================================
   INTERACTIONS & EFFECTS
   ============================================ */

/* Universal Card Image Hover Effect */
article .post-thumbnail,
article .entry-thumbnail,
.widget .post-thumbnail {
  overflow: hidden;
  position: relative;
}

article .post-thumbnail img,
article .entry-thumbnail img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

article:hover .post-thumbnail img,
article:hover .entry-thumbnail img {
  transform: scale(1.1);
}

/* Enhanced Focus States */
a:focus-visible,
button:focus,
button:focus-visible {
  outline: none;
  outline-offset: 2px;
}

/* HR Divider Enhancement */
.h-section hr {
  border: none;
  border-top: 2px solid #e9ecef;
  margin: 30px 0;
  position: relative;
  transition: border-color 0.3s ease;
}

.h-section hr::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #8b0a8f, transparent);
  transition: width 0.3s ease;
}

.h-section hr:hover::after {
  width: 100%;
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ============================================
   NAVIGATION & HEADER
   ============================================ */

.navbar-brand.logo img {
  height: 50px;
}

.navbar .navbar-nav .nav-item .sub-menu>li:hover>a a {
  color: #8b0a8f !important;
}

.binduz-er-breadcrumb-area {
  padding: 20px 0 0 0;
  margin: 0 !important;
  border-bottom: none !important;
}

/* ============================================
   COMPONENTS
   ============================================ */

/* Cards */
.card-category {
  color: #8b0a8f;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Sections */
.h-section {
  padding: 30px 0;
  position: relative;
}

.first-grid-section::before,
.second-grid-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Theme Elements */
.binduz-er-author-item .binduz-er-content .binduz-er-meta-item .binduz-er-meta-categories a {
  background: #8b0a8f !important;
  color: #fff !important;
}

.binduz-er-back-to-top {
  background: #8b0a8f !important;
}

.widget_search .binduz-er-input-box button {
  background: #8b0a8f !important;
}

/* Latest Post Fancy Design */
.metaslider .flexslider {
  margin: 0 !important;
}


.fancy-latest img {
  object-fit: cover;
  height: 500px;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

.fancy-latest:hover img {
  transform: scale(1.12);
}

.latest-overlay {
  background: linear-gradient(to top, #8b0a8f, transparent);
}

.latest-title {
  color: #ffffff !important;
  font-size: 2.5rem;
  font-weight: 700;
}

.latest-excerpt {
  font-size: 1.1rem;
  max-width: 80%;
}

/* Video Embed Enhancement */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #000;
}

.video-embed:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(139, 10, 143, 0.25);
}

.video-embed iframe,
.video-embed>* {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Grid Post Cards */
/* Fancy grid cards */
.fancy-card {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.fancy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Image container */
.grid-item-image {
  position: relative;
  overflow: hidden;
}

.grid-item-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

.fancy-card:hover .grid-item-image img {
  transform: scale(1.12);
}

/* Overlay */
.grid-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, #8b0a8f, transparent);
  color: #fff;
  transition: background 0.3s ease;
}

.fancy-card:hover .grid-hover-overlay {
  background: linear-gradient(to top, #8b0a8f, rgba(139, 10, 143, 0.1));
}

/* Pagination Styles */

.qs__blog__comments__pagination ul li a:hover,
.qs__blog__comments__pagination ul li span.current,
.qs__blog__posts__pagination ul li a:hover,
.qs__blog__posts__pagination ul li span.current {
  background-color: #8b0a8f !important;
  border-color: #8b0a8f !important;
}

/* Video Post Item Styles */
.video-post-item .video-thumbnail {
  position: relative;
  cursor: pointer;
}

.video-post-item .video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.video-post-item .video-thumbnail .play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-post-item .video-thumbnail:hover .play-icon-overlay {
  opacity: 1;
}

.video-post-item .video-thumbnail .play-icon-overlay i {
  color: #fff;
  font-size: 32px;
}

.video-post-item .entry-header {
  margin-top: 15px;
}

.video-post-item .entry-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.video-post-item .entry-title a {
  text-decoration: none;
  color: #333;
}

.video-post-item .entry-title a:hover {
  color: #8b0a8f;
}

/* Horizontal Card Styles */
.horizontal-card {
  background-color: #fff;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 20px;
  margin-bottom: 25px;
}

.horizontal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(139, 10, 143, 0.2);
  border-color: rgba(139, 10, 143, 0.3);
}

.horizontal-card .card-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.horizontal-card .card-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

.horizontal-card:hover .card-image img,
.horizontal-card:hover img {
  transform: scale(1.12);
}

.horizontal-card .card-body {
  transition: all 0.3s ease;
}

.horizontal-card:hover .card-body {
  transform: translateX(4px);
}

.horizontal-card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.horizontal-card .card-title a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.horizontal-card .card-title a:hover {
  color: #8b0a8f;
}

.horizontal-card:hover .card-title a {
  color: #8b0a8f;
}

.horizontal-card:hover .card-category {
  background: rgba(139, 10, 143, 0.15);
  transform: scale(1.05);
}

.horizontal-card .card-category {
  transition: all 0.3s ease;
}

/* Flexbox Cards Grid for Equal Height */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(410px, 1fr));
}

.card-item {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.cards-grid .card-item:not(:last-child) {
  border-right: 1px solid #eee;
}

.card-item .cards-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-item .modern-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-item .modern-card .card-body {
  flex: 1;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.card-item .modern-card .card-image {
  overflow: hidden;
}

.card-item .modern-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-item .modern-card .card-text {
  flex: 1;
  height: 100px;
  overflow: hidden;
}

/* Two-column layout for podcast section */
.podcast-section .cards-grid .card-item {
  flex: 1 1 calc(50% - 24px);
}

.podcast-section .cards-grid .card-item.stacked {
  flex: 1 1 calc(50% - 24px);
}

/* Latest Post Flexbox Layout */
.latest-post-container {
  display: flex;
  align-items: stretch;
}

.latest-post-image {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.latest-post-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
}

.latest-post-content .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.latest-post-content .modern-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.latest-post-content .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.latest-post-content .card-text {
  flex: 1;
  height: 100px;
  overflow: hidden;
}

.horizontal-card .card-text {
  color: #6c757d;
  font-size: 0.9rem;
  height: 100px;
}

.excerpt-2-lines {
  display: -webkit-box;
  /* Fallback for Safari/Chrome */
  -webkit-line-clamp: 2;
  /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.excerpt-3-lines {
  display: -webkit-box;
  /* Fallback for Safari/Chrome */
  -webkit-line-clamp: 3;
  /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.excerpt-4-lines {
  display: -webkit-box;
  /* Fallback for Safari/Chrome */
  -webkit-line-clamp: 4;
  /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid-item-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  height: 50px;
}

/* Button */
.grid-hover-overlay .btn {
  font-size: 0.75rem;
  font-weight: 600;
  background: #ffffffcc;
  color: #000;
  padding: 6px 12px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.grid-hover-overlay .btn:hover {
  background: #fff;
  transform: translateY(-2px);
}

.grid-item-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.4;
}

.grid-item-excerpt.expanded {
  -webkit-line-clamp: unset;
}

/* Unified More Link Button Styles */
/* Buttons */
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0;
}

.read-more-link.btn-sm {
  font-size: 0.875rem;
}

.read-more-link.btn-primary {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(139, 10, 143, 0.3);
}

.read-more-link.btn-primary:hover {
  background: linear-gradient(135deg, #a014b5 0%, #8b0a8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 10, 143, 0.4);
  color: #ffffff;
}

.read-more-link.btn-external {
  background: #ffffff;
  color: #8b0a8f;
  border: 2px solid #8b0a8f;
  padding: 0.3rem;
  font-size: 0.875rem;
}

.read-more-link.btn-external:hover {
  background: #8b0a8f;
  color: #ffffff;
  transform: translateY(-2px);
}

.read-more-link.btn-read-more {
  background: none;
  color: #8b0a8f;
  padding: 0;
  border: none;
}

.read-more-link i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.read-more-link:hover i {
  transform: translateX(3px);
}

.read-more-link.btn-read-more:hover i {
  transform: translateY(2px);
}

.read-more-link.btn-read-more,
.read-more-link.btn-toggle-content {
  background: none !important;
  border: none !important;
  color: #8b0a8f;
}

.btn-insights.read-more-link {
  padding: 5px 10px;
}

/* Video Card Styles */
.video-card {
  background-color: #fff;
  border: 1px solid #e9ecef;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.video-card .video-player-container {
  position: relative;
  width: 100%;
  background-color: #000;
  overflow: hidden;
}

.video-card .video-player-container iframe,
.video-card .video-player-container video,
.video-card .video-player-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

.video-card:hover .video-player-container img,
.video-card:hover .video-player-container video {
  transform: scale(1.1);
}

.video-card .card-body {
  padding: 20px;
  flex-grow: 1;
}

.video-card .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0;
}

.video-card .card-title a {
  text-decoration: none;
  color: #333;
}

.video-card .card-title a:hover {
  color: #8b0a8f;
}

.video-card .card-footer {
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.plyr__control--overlaid {
  background: #8b0a8f;
  background: var(--plyr-video-control-background-hover,
      var(--plyr-color-main, var(--plyr-color-main, #8b0a8f)));
}

.plyr--full-ui input[type="range"] {
  color: #8b0a8f;
}

/* Modern Card Slider */
.modern-card {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(139, 10, 143, 0.25);
  border-color: rgba(139, 10, 143, 0.4);
}

.modern-card .card-image {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.modern-slider.featured .card-image {
  height: 400px;
}

.modern-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

.modern-card .card-image img.card-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

.modern-card:hover .card-image img,
.modern-card.small:hover .card-image img {
  transform: scale(1.1);
}

.modern-card .card-content {
  padding: 40px;
  background: linear-gradient(to bottom, #ffffff, #fafafa);
  transition: background 0.4s ease;
}

.modern-card:hover .card-content {
  background: linear-gradient(to bottom, #ffffff, #f8f8f8);
}

.modern-card .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.modern-card .card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.modern-card .card-title a:hover {
  color: #8b0a8f;
}

.modern-card .card-category {
  transition: all 0.3s ease;
}

.modern-card.small:hover .card-category {
  transform: translateY(5px);
}

.modern-card.small .card-category {
  transition: all 0.3s ease;
}

.modern-card.small .card-title {
  font-size: 1.2rem;
}

.modern-card .card-body {
  flex: 1;
  display: flex;
  gap: 10px;
  flex-direction: column;
  padding: 24px;
}

.modern-card .card-text {
  flex: 1;
  height: 100px;
  overflow: hidden;
}

.stacked .modern-card .card-body {
  min-height: auto;
}

.section-title {
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  padding: 2rem 1rem;
  letter-spacing: -0.5px;
  color: #1a1a1a;
  margin: 0;
}

.section-title-container:hover .section-title::after {
  width: 100px;
}

.section-title.text-white {
  color: #ffffff;
}

.section-title.text-white::after {
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.6));
}

/* Swiper Navigation for Podcasts */
.podcast-swiper .swiper-button-next,
.podcast-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  color: #8b0a8f;
  border: 2px solid rgba(139, 10, 143, 0.2);
}

.podcast-swiper .swiper-button-next {
  right: 15px;
}

.podcast-swiper .swiper-button-prev {
  left: 15px;
}

.podcast-swiper .swiper-button-next:hover,
.podcast-swiper .swiper-button-prev:hover {
  background: #8b0a8f;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(139, 10, 143, 0.3);
}

.podcast-swiper .swiper-button-next::after,
.podcast-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* Swiper Pagination for Podcasts */
.podcast-swiper .swiper-pagination {
  position: absolute;
  bottom: 15px;
  left: 50%;
  z-index: 10;
  display: none;
}

.podcast-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.podcast-swiper .swiper-pagination-bullet-active {
  background: #ffffff;
  width: 24px;
  box-shadow: 0 2px 8px rgba(139, 10, 143, 0.5);
}

.modern-slider .slick-slide {
  border: 1px solid #e9ecef;
  overflow: hidden;
}

/* Slick Slider Image Hover Effects */
.modern-slider .slick-slide .card-image {
  overflow: hidden;
}

.modern-slider .slick-slide .card-image img,
.modern-slider .slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

.modern-slider .slick-slide:hover .card-image img,
.modern-slider .slick-slide:hover img,
.modern-slider .slick-slide .modern-card:hover .card-image img,
.modern-slider .slick-slide:hover .modern-card .card-image img {
  transform: scale(1.1);
}

/* Slick List Hover Effects - Matching Modern Card Style */
.modern-slider .slick-slide {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(139, 10, 143, 0.1);
  will-change: transform, box-shadow;
}

.modern-slider .slick-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(139, 10, 143, 0.25);
  border-color: rgba(139, 10, 143, 0.4);
}

/* Modern Card Vertical Layout */
.modern-card .card-inner {
  display: flex;
  flex-direction: column;
}

.modern-card .card-image {
  max-height: 240px;
  overflow: hidden;
}

.podcast .modern-card .card-image {
  max-height: 500px;
}

.modern-card .card-image,
.modern-card .card-content {
  width: 100%;
  height: 250px;
}

.modern-card .card-image img {
  height: 100%;
  object-fit: cover;
}

.modern-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modern-card.small {
  margin-bottom: 30px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
}

.modern-card.small:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(139, 10, 143, 0.2);
  border-color: rgba(139, 10, 143, 0.4);
}

.modern-card.small .card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.modern-card.small .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

.modern-card.small .card-content {
  padding: 20px;
  transition: all 0.4s ease;
}

.modern-card.small:hover .card-content {
  background: linear-gradient(to bottom, #ffffff, #f8f8f8);
}

.modern-card.small .card-title {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* Card Meta */
.card-meta {
  margin-bottom: 15px;
  font-size: 0.8rem;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  gap: 15px;
  flex-wrap: wrap;
}

.publish-date {
  color: #999;
  font-size: 0.75rem;
  font-weight: 500;
}

.card-meta .post-type {
  color: #8b0a8f;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.stacked-box {
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 30px;
  will-change: transform, box-shadow;
}

.stacked-box .img-fluid {
  height: 100%;
  object-fit: cover;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

.stacked-box:hover .img-fluid {
  transform: scale(1.1);
}

.stacked-box .card-body {
  padding: 30px 0px;
  z-index: 1;
  position: relative;
}

.stacked-box .card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-decoration: none;
  color: #ffffff;
}

.stacked-box .card-text p {
  color: #ffffff;
  font-size: 1.2rem;
  min-height: 130px;
}

.stacked-box .card-date {
  color: #fff;
}

.stacked-box-overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-content: flex-end;
  z-index: 0;
}

.category-tabs-section {
  position: relative;
  overflow: hidden;
}

/* Category Tab Navigation - Moved to category.css */

.banners-section .card-item {
  flex: 1 1 50%;
}

.navbar .binduz-er-navbar-btn .binduz-er-toggle-btn {
  background: #fff !important;
  color: #000 !important;
}

/* Legacy Pagination Support */
ul.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  list-style: none;
  margin: 50px 0 !important;
}

ul.page-numbers li {
  display: inline-block;
}

ul.page-numbers a,
ul.page-numbers span {
  background: #fff;
  box-shadow: none !important;
  color: #fff;
  text-decoration: none;
  padding-top: 0px !important;
  width: 30px;
  line-height: 50px !important;
  height: auto;
}

ul.page-numbers a:hover {
  background: #fff;
  color: #000;
  box-shadow: none;
}

ul.page-numbers .current {
  background: #8b0a8f;
  color: #fff;
  font-weight: 700;
  border: none;
}

ul.page-numbers .next {
  font-size: 0.8rem;
}

ul.page-numbers .prev {
  font-weight: 600;
  padding-top: 20px;
  font-size: 0.8rem;
}

ul.page-numbers .next:hover {
  background: #8b0a8f;
  color: #fff;
}

/* Responsive Grid Improvements */
.first-grid-section .row,
.second-grid-section .row {
  align-items: flex-start;
}

/* Better Card Spacing */
.mb-20 {
  margin-bottom: 30px !important;
}

.binduz-er-author-item .binduz-er-content .binduz-er-title a:hover {
  color: #8b0a8f;
}

/* Modern Swiper Slider Styles */
.slider-swiper {
  width: 100%;
  max-height: 75vh;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.slider-swiper .swiper-wrapper {
  height: 100%;
}

.slider-swiper .swiper-slide {
  width: 100%;
  max-height: 75vh;
  position: relative;
  display: flex;
  align-items: anchor-center;
  justify-content: center;
}

.slider-swiper .slide-media {
  width: 100%;
  height: 100%;
}

.slider-swiper .slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-swiper .slide-media video {
  width: 100%;
  height: 100%;
  display: block;
  margin-top: -10%;
}

.slider-swiper .media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(139, 10, 143, 0.4) 0%,
      rgba(0, 0, 150, 0.4) 100%);
  z-index: 1;
}

.slider-swiper .slide-content {
  position: absolute;
  bottom: 0;
  gap: 10px;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 3rem 0.8rem;
  background: rgba(0, 0, 0, .8);
  z-index: 10;
  font-size: 1.7rem;
}

.slider-swiper .slide-content h1 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  font-size: 1.3rem;
}

.slider-swiper .slide-content p {
  color: #ffffff;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-size: 1.2rem;
  margin: 0
}

.slider-swiper .btn-learn-more {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(45deg, #06003c, #8b0a8f);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slider-swiper .btn-learn-more:hover {
  background: linear-gradient(45deg, #8b0a8f, #06003c);
  box-shadow: 0 8px 25px rgba(139, 10, 143, 0.5);
  transform: translateY(-2px);
}

/* Swiper Navigation Arrows */
.slider-swiper .swiper-button-next,
.slider-swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transition: all 0.3s ease;
  z-index: 20;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
}

.slider-swiper .swiper-button-next {
  right: 15px;
}

.slider-swiper .swiper-button-prev {
  left: 15px;
}

.slider-swiper .swiper-button-next:hover,
.slider-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #8b0a8f;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.slider-swiper .swiper-button-next::after,
.slider-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

.slider-swiper .swiper-button-disabled {
  opacity: 0.35;
  cursor: auto;
  pointer-events: none;
}

/* Swiper Pagination */
.slider-swiper .swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 20;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* Progress Bar (Desktop) */
.slider-swiper .swiper-pagination-progressbar {
  width: 70%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.slider-swiper .swiper-pagination-progressbar-fill {
  background: linear-gradient(90deg, #8b0a8f, #06003c);
}

/* Bullets (Mobile) */
.slider-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-swiper .swiper-pagination-bullet-active {
  background: #ffffff;
  width: 24px;
  box-shadow: 0 2px 8px rgba(139, 10, 143, 0.5);
}

.slider-swiper .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Dark Mode Support */


/* Mobile Swiper Improvements */


/* ============================================
   CONTENT TOGGLE STYLES
   ============================================ */

.content-toggle-container {
  position: relative;
}

.content-toggle-container .excerpt-content,
.content-toggle-container .full-content {
  display: none;
  transition: opacity 0.2s ease;
}

.content-toggle-container .excerpt-content.active,
.content-toggle-container .full-content.active {
  display: block;
  opacity: 1;
}

.hero-banner-video {
  max-height: 400px;
}

/* Insights Hero Styles - Moved to insights.css */
/* Insights Latest Post and Grid Styles - Moved to insights.css */
/* Insights Button and Pagination Styles - Moved to insights.css */

/* No Posts */
.no-posts-found {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.no-posts-found p {
  font-size: 1.1rem;
  color: #666;
}

/* Responsive Design */






/* ============================================
   Single Post Template Styles - Moved to single.css
   ============================================ */

/* ============================================
   Video Thumbnail with Floating Play Button
   ============================================ */

.video-thumbnail-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-thumbnail-container:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-button-floating {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-button-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.9) 100%);
  border: 3px solid rgba(139, 10, 143, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(139, 10, 143, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-button-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(139, 10, 143, 0.2);
  border-color: rgba(139, 10, 143, 0.5);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.95) 100%);
}

.play-button-circle:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.play-button-circle i {
  color: #8b0a8f;
  font-size: 24px;
  margin-left: 3px;
  /* Center the play icon */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: color 0.3s ease;
}

.play-button-circle:hover i {
  color: #06003c;
}

/* Responsive video thumbnail */




/* ============================================
   Category Template Styles - Moved to category.css
   ============================================ */


/* ============================================
   PODCAST AUDIO STYLES
   ============================================ */

/* Podcast Play Button Overlay */
.podcast-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.podcast-play-button {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,
      rgba(139, 10, 143, 0.9) 0%,
      rgba(160, 20, 181, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(139, 10, 143, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.podcast-play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(139, 10, 143, 0.7);
  background: linear-gradient(135deg,
      rgba(160, 20, 181, 0.9) 0%,
      rgba(139, 10, 143, 0.9) 100%);
}

.podcast-play-button i {
  color: #ffffff;
  font-size: 20px;
  margin-left: 3px;
  /* Center the play icon */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.podcast-play-button.playing i:before {
  content: "\f04c";
  /* Pause icon */
}

.podcast-thumbnail {
  transition: all 0.3s ease;
  position: relative;
}

/* Small Play Button Beside Title (for vertical cards) */
.small-play-button-inline {
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.small-play-btn {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg,
      rgba(139, 10, 143, 0.95) 0%,
      rgba(160, 20, 181, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(139, 10, 143, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.small-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(139, 10, 143, 0.6);
  background: linear-gradient(135deg,
      rgba(160, 20, 181, 0.95) 0%,
      rgba(139, 10, 143, 0.95) 100%);
}

.small-play-btn i {
  color: #ffffff;
  font-size: 10px;
  margin-left: 1px;
  /* Center the play icon */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.small-play-btn.playing i:before {
  content: "\f04c";
  /* Pause icon */
}

/* ============================================
   BREADCRUMB STYLES
   ============================================ */

.breadcrumb-nav {
  padding: 1rem;
}

.breadcrumb {
  background: none;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "/";
  color: #8b0a8f;
  margin: 0 12px;
  font-weight: 600;
}

.breadcrumb-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.breadcrumb-item a:hover {
  color: #8b0a8f;
}

.breadcrumb-item.active {
  color: #8b0a8f;
  font-weight: 600;
}

.breadcrumb-item i {
  margin-right: 5px;
}

/* ============================================
   FANCY FOOTER STYLES
   ============================================ */

/* Fancy Footer */
.fancy-footer {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  overflow: hidden;
}

.subscribe-wrap p {
  display: flex;
}

/* Newsletter Section */
.footer-newsletter {
  background: linear-gradient(135deg, #8b0a8f 0%, #06003c 100%);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer-newsletter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.05)"><polygon points="0,0 1000,0 1000,60 0,100"/></svg>');
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.footer-newsletter>* {
  position: relative;
  z-index: 2;
}

.newsletter-content {
  margin-bottom: 30px;
}

.newsletter-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  line-height: 1.2;
}

.newsletter-title i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 2rem;
}

.newsletter-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.newsletter-form-wrapper {}

.newsletter-form {
  position: relative;
}

.newsletter-email {
  padding: 15px 25px !important;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a !important;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.newsletter-email:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(139, 10, 143, 0.2);
}

.newsletter-submit {
  padding: 10px 30px !important;
  background: linear-gradient(135deg, #a014b5 0%, #8b0a8f 100%) !important;
  color: #ffffff !important;
  border: none !important;
  outline: none;
  cursor: pointer !important;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.newsletter-submit:hover {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  box-shadow: 0 6px 20px rgba(139, 10, 143, 0.4);
}

.newsletter-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-feedback {
  margin-top: 15px;
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  text-align: center;
}

.form-feedback.success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-feedback.error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Main Footer */
.main-footer {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.footer-widget {
  margin-bottom: 40px;
}

/* Footer Logo */
.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .site-title {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  background: linear-gradient(135deg, #8b0a8f, #a014b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* Footer Social */
.footer-social h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links {
  gap: 12px;
  display: flex;
  flex-direction: row;
}

.social-links .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links .social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-links .social-link.facebook:hover {
  background: #1877f2;
}

.social-links .social-link.twitter:hover {
  background: #1da1f2;
}

.social-links .social-link.linkedin:hover {
  background: #0077b5;
}

.social-links .social-link.instagram:hover {
  background: linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
}

.social-links .social-link.youtube:hover {
  background: #ff0033;
}

/* Footer Widget Title */
.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  text-align: left;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #8b0a8f, #a014b5);
}

/* Footer Menu */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-menu li {
  margin-bottom: 8px;
  margin-right: 50px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  text-transform: capitalize;
}

.footer-menu a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-menu a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b0a8f, #a014b5);
  transition: width 0.3s ease;
}

.footer-menu a:hover::before {
  width: 100%;
}

/* Contact Widget */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.contact-item.hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(139, 10, 143, 0.3);
}

.contact-details span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  display: block;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.copyright {
  margin: 0;
}

.copyright p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 10px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #8b0a8f;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.back-to-top-btn {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 10, 143, 0.3);
}

.back-to-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.4);
  background: linear-gradient(135deg, #a014b5 0%, #8b0a8f 100%);
}

/* Footer Decoration */
.footer-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.decoration-shape {
  position: absolute;
  background: linear-gradient(135deg,
      rgba(139, 10, 143, 0.1) 0%,
      rgba(160, 20, 181, 0.1) 100%);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: -3%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 10, 143, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.4);
  background: linear-gradient(135deg, #a014b5 0%, #8b0a8f 100%);
}

/* Responsive Footer */

/* ============================================
   PAGE TEMPLATE STYLES
   ============================================ */

.page-content-wrapper {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem 1rem;
}

.page-content-wrapper .entry-content h1,
.page-content-wrapper .entry-content h2,
.page-content-wrapper .entry-content h3,
.page-content-wrapper .entry-content h4,
.page-content-wrapper .entry-content h5,
.page-content-wrapper .entry-content h6 {
  margin-bottom: 0.5em;
  font-weight: 700;
  color: #1a1a1a;
}

.page-content-wrapper .entry-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.page-content-wrapper .entry-content a {
  color: #8b0a8f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-content-wrapper .entry-content a:hover {
  color: #06003c;
}

.fancy-btn {
  display: flex;
  align-items: center;
  padding: 2% 4%;

  background: linear-gradient(135deg, #8b0a8f, #06003c);
  color: #fff;
  font-weight: 600;
  font-size: 90%;

  text-decoration: none;
  transition: all 0.3s ease;

  position: relative;
  overflow: hidden;
}

/* Hover lift */
.fancy-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 8px 22px rgba(139, 10, 143, 0.45);
}

/* Shine animation */
.fancy-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;

  background: rgba(255, 255, 255, 0.15);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.fancy-btn:hover::after {
  left: 220%;
}

.avatar-container {
  width: 200px;
  height: 200px;
  overflow: hidden;
  margin: 0 auto;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.avatar-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #6c757d;
  background: #e9ecef;
}

.member-name {
  color: #06003c;
}

.member-photo,
.member-photo-placeholder {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Primary buttons */
.um .um-button,
.um input[type="submit"],
.um input[type="button"],
.um a.um-button {
  background-color: #80298f !important;
  border-color: #80298f !important;
  color: #fff !important;
}

.um a.um-button.um-alt {
  background-color: #eee !important;
  border-color: #eee !important;
  color: #000 !important;
}

/* Hover */
.um .um-button:hover,
.um input[type="submit"]:hover,
.um input[type="button"]:hover,
.um a.um-button:not(.um-alt):hover {
  background-color: #5e1f6e !important;
  border-color: #5e1f6e !important;
  color: #fff !important;
}

.breadcrumb-item {
  text-transform: capitalize;
}

.no-content {
  max-width: 600px;
  margin: 0 auto;
  min-height: 400px;
}

.no-content-title {
  font-size: 1.8rem;
  font-weight: 600;
}

.no-content-text {
  font-size: 1rem;
  line-height: 1.6;
}

.no-content-search input {
  margin-top: 20px;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-indent: 20px;
}