/*
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 {
  position: relative;
  max-width: 1856px !important;
  margin: 0 auto;
}

.site-main {
  padding-top: 200px;
}

.site-main-s-m {
  padding-top: 113px;
}

/* ============================================
   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);
  border-radius: 100%;
  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;
  border-radius: 50%;
  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 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

/* Top Bar */
.top-bar {
  background: linear-gradient(
    135deg,
    var(--dark-color) 0%,
    var(--primary-color) 100%
  );
  padding: 10px 0;
  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);
  border-radius: 50%;
  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 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.33);
}

/* Header Scroll Effect */
.fancy-header.header-scrolled .main-header {
  padding: 10px 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.fancy-header.header-scrolled .site-title {
  font-size: 1.8rem;
}

.fancy-header.header-scrolled .primary-menu a {
  padding: 8px 0;
}

.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)
  );
  border-radius: 2px;
}

/* 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);
  border-radius: var(--radius-md);
  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 {
  border-radius: 50%;
}

.user-link:hover {
  color: var(--primary-color);
}

.user-avatar {
  border-radius: 50%;
  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);
  border-radius: 50%;
  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 {
  border-radius: 50%;
  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;
  border-radius: 50%;
  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;
  border-radius: 1px;
}

.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;
  border-radius: var(--radius-lg);
  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);
  border-radius: var(--radius-xl) !important;
  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;
  border-radius: 50%;
  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;
  border-radius: var(--radius-lg);
  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;
  border-radius: 25px;
  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);
  border-radius: 50%;
  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;
  border-radius: 20px;
}

/* ============================================
   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;
  border-radius: 4px;
}

/* 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 {
  background: #8b0a8f;
  border-radius: 15px;
  padding: 2px 10px;
  max-width: max-content;
  display: flex;
  text-align: center;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.card-category a,
.card-category a:hover,
.card-category a:active {
  color: #fff;
  font-size: 95%;
  margin: 0px auto;
  line-height: 25px;
}

.card-category a:visited {
  color: #fff;
}

/* Sections */
.h-section {
  padding: 30px 0;
  position: relative;
}

.first-grid-section,
.second-grid-section,
.category-tabs-section {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.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;
}

.home-slider .caption {
  font-size: 4rem;
}

.home-slider .caption h1,
.home-slider .caption h2,
.home-slider .caption h3,
.home-slider .caption h4,
.home-slider .caption h5,
.home-slider .caption h6 {
  font-size: 100%;
  color: #fff;
  margin: 0.1rem;
  text-shadow: 1px 2px black !important;
}

.home-slider .caption h1:before,
.home-slider .caption h2:before,
.home-slider .caption h3:before,
.home-slider .caption h4:before,
.home-slider .caption h5:before,
.home-slider .caption h6:before {
  content: "";
  display: block;
  width: 75px;
  height: 3px;
  background: #ffffff;
  margin: 0 auto 12px;
}

.home-slider .caption p,
.home-slider .caption div {
  font-size: 50%;
  color: #fff;
  max-width: 35%;
  text-shadow: 1px 2px black !important;
  margin: 0px auto;
  line-height: 1.2;
  text-align: center;
}

.fancy-latest {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.card-category a,
.card-category a:hover,
.card-category a:active {
  color: var(--text-light);
  font-size: 95%;
  margin: 0 auto;
  line-height: 25px;
  text-transform: capitalize;
}

.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;
  border-radius: 16px;
}

/* Grid Post Cards */
/* Fancy grid cards */
.fancy-card {
  border-radius: 16px;
  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;
  border-radius: 16px;
}
.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);
  border-radius: 50%;
  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;
  border-radius: 12px;
  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 {
  border-radius: 12px;
  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;
}

.horizontal-card .card-text {
  color: #6c757d;
  font-size: 0.9rem;
}

.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;
  border-radius: 8px;
  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;
}

.read-more-btn {
  margin-top: 5px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.read-more-btn:hover {
  opacity: 0.8;
}

/* Video Card Styles */
.video-card {
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  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;
  border-radius: 16px;
  overflow: hidden;
  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);
}

.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;
}

.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: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:hover .card-category {
  background: rgba(139, 10, 143, 0.95);
  transform: scale(1.05);
}

.modern-card .card-category {
  transition: all 0.3s ease;
}

.modern-card.small:hover .card-category {
  background: rgba(139, 10, 143, 0.95);
  transform: scale(1.05);
}

.modern-card.small .card-category {
  transition: all 0.3s ease;
}

.modern-card.small .card-title {
  font-size: 1.2rem;
}

/* Section Title with Arrows */
.section-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #8b0a8f, #06003c);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.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);
  border-radius: 50%;
  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;
  border-radius: 50%;
  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;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(139, 10, 143, 0.5);
}

.modern-slider .slick-slide {
  border: 1px solid #e9ecef;
  overflow: hidden;
  border-radius: 16px;
}

/* 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,
.modern-card .card-content {
  width: 100%;
}

.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 {
  position: relative;
  border: 1px solid #e9ecef;
  overflow: hidden;
  border-radius: 16px;
  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;
  margin-bottom: 30px;
  will-change: transform, box-shadow;
}

.stacked-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139, 10, 143, 0.25);
}

.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 {
  //background: linear-gradient(135deg, #3b444b 0%, #2a3138 100%);
  background: linear-gradient(135deg, #8b0a8f 0%, #06003c 100%);
  //background: linear-gradient(135deg, #06003c 0%, #8B0A8F 100%);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.category-tabs-container {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.category-tabs-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(139, 10, 143, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Category Tab Navigation - Enhanced Design */
.category-tab-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: 12px;
  flex-wrap: wrap;
}

.category-tab-nav .nav-item {
  margin: 0;
  list-style: none;
}

.category-tab-nav .nav-link {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 14px 28px;
  border-radius: 50px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  letter-spacing: 0.3px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Ripple effect background */
.category-tab-nav .nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.category-tab-nav .nav-link:hover::before {
  width: 300px;
  height: 300px;
}

.category-tab-nav .nav-link.active::after {
  width: 60%;
}

/* Hover state */
.category-tab-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

/* Active state */
.category-tabs-section .category-tab-nav .nav-link.active {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  border-color: #8b0a8f;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(139, 10, 143, 0.5),
    0 0 0 3px rgba(139, 10, 143, 0.1);
}

.category-tabs-section .category-tab-nav .nav-link.active::before {
  background: rgba(255, 255, 255, 0.15);
}

/* Focus state for accessibility */
.category-tab-nav .nav-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  border-radius: 50px;
}

/* Text content positioning */
.category-tab-nav .nav-link span,
.category-tab-nav .nav-link {
  position: relative;
  z-index: 2;
}

.industry-bites-bg {
  background: url("http://insights.commercis.com/wp-content/uploads/2025/10/Gemini_Generated_Image_d93miqd93miqd93m.png")
    no-repeat;
  background-position: center center;
  background-size: 100%;
}

.leadership-tips-bg {
  background: url("http://insights.commercis.com/wp-content/uploads/2025/10/Gemini_Generated_Image_sb569jsb569jsb56.png")
    no-repeat;
  background-position: center center;
  background-size: 100%;
}

.navbar .binduz-er-navbar-btn .binduz-er-toggle-btn {
  background: #fff !important;
  color: #000 !important;
}

/* ============================================
   Modern Pagination Design
   ============================================ */

.category-pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.pagination-item {
  display: flex;
}

.pagination-item a,
.pagination-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  background: #ffffff;
  color: #8b0a8f;
  box-shadow: 0 2px 8px rgba(139, 10, 143, 0.1);
}

.pagination-item a:hover {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.3);
  border-color: rgba(139, 10, 143, 0.2);
}

.pagination-item span.current {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  border-color: rgba(139, 10, 143, 0.3);
  box-shadow: 0 4px 16px rgba(139, 10, 143, 0.25);
  font-weight: 700;
}

.pagination-item .prev,
.pagination-item .next {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #8b0a8f;
  border: 2px solid rgba(139, 10, 143, 0.2);
  font-weight: 600;
  min-width: 56px;
}

.pagination-item .prev:hover,
.pagination-item .next:hover {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.3);
}

.pagination-item .dots {
  background: transparent !important;
}

.btn-insights.btn-read-more,
.btn-insights.btn-toggle-content {
  background: none !important;
  border: none !important;
  color: #8b0a8f;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive Pagination */
@media (max-width: 768px) {
  .site-main {
    padding-top: 150px;
  }

  .category-pagination-wrapper {
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .category-pagination.pagination-modern {
    padding: 16px;
  }

  .pagination-list {
    gap: 6px;
  }

  .pagination-item a,
  .pagination-item span {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .pagination-item .prev,
  .pagination-item .next {
    min-width: 48px;
  }
}

@media (max-width: 480px) {
  .pagination-list {
    gap: 4px;
  }

  .pagination-item a,
  .pagination-item span {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 0.85rem;
  }

  .pagination-item .prev,
  .pagination-item .next {
    min-width: 44px;
  }
}

/* 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;
  border-radius: 50%;
}

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 {
  border-radius: 25px;
  font-size: 0.8rem;
}

ul.page-numbers .prev {
  border-radius: 25px;
  font-weight: 600;
  padding-top: 20px;
  font-size: 0.8rem;
}

ul.page-numbers .next:hover {
  background: #8b0a8f;
  color: #fff;
}

/* Tablet view */
@media (min-width: 769px) and (max-width: 991px) {
  .category-tab-nav {
    gap: 10px;
  }

  .category-tab-nav .nav-link {
    padding: 13px 24px;
    font-size: 0.85rem;
  }
}

/* Large screen responsiveness for category tabs */
@media (min-width: 992px) {
  .category-tab-nav {
    justify-content: flex-end;
  }

  .category-tab-nav .nav-link {
    padding: 14px 32px;
    font-size: 0.9rem;
  }
}

/* Click animation */
.category-tab-nav .nav-link:active {
  transform: translateY(-1px) scale(0.98);
  transition: transform 0.1s ease;
}

/* Responsive Grid Improvements */
.first-grid-section .row,
.second-grid-section .row {
  align-items: flex-start;
}

/* Better Card Spacing */
.mb-20 {
  margin-bottom: 30px !important;
}

@media (max-width: 768px) {
  .h-section {
    padding: 20px 0px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .modern-card .card-title {
    font-size: 1.2rem;
  }

  .modern-card .card-content {
    padding: 25px;
  }

  .category-tabs-section {
    padding: 40px 0;
  }

  .category-tab-nav {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }

  .category-tab-nav .nav-item {
    flex: 1 1 calc(50% - 4px);
    min-width: calc(50% - 4px);
    margin: 0;
  }

  .category-tab-nav .nav-link {
    padding: 12px 20px;
    font-size: 0.8rem;
    width: 100%;
    justify-content: center;
    border-width: 1.5px;
  }

  .category-tab-nav .nav-link.active {
    transform: translateY(-2px) scale(1.02);
  }

  .category-tab-nav .nav-link::after {
    height: 2px;
  }

  .category-tabs-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-tabs-container::-webkit-scrollbar {
    display: none;
  }

  .horizontal-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .horizontal-card .card-text {
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .social-links {
    flex-direction: column;
  }
  .social-item {
    width: 100%;
    height: 200px;
    padding-left: 30px;
  }

  .home-slider .caption {
    font-size: 1rem;
  }

  .video-embed {
    border-radius: 12px;
  }
}

.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;
  border-radius: 16px;
  box-shadow: 0px 5px 15px #8b0a8f6e;
  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 {
  //display: flex;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 10;
  max-width: 450px;
  min-height: 200px;
  margin: 0 auto;
  transition: transform 0.5s ease;
  position: absolute;
  top: 18%;
  left: 2%;
  width: calc(100% - 5%);
  transform: translateY(-50%);
}

.slider-swiper .slide-content h1 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.slider-swiper .slide-content p {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.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;
  border-radius: 50px;
  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);
  border-radius: 50%;
  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;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.slider-swiper .swiper-pagination-progressbar-fill {
  background: linear-gradient(90deg, #8b0a8f, #06003c);
  border-radius: 4px;
}

/* Bullets (Mobile) */
.slider-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  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;
  border-radius: 12px;
  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 */
@media (prefers-color-scheme: dark) {
  .slider-swiper .slide-content {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .slider-swiper .btn-learn-more {
    background: linear-gradient(45deg, #a714d0, #ff1493);
  }

  .slider-swiper .btn-learn-more:hover {
    background: linear-gradient(45deg, #ff1493, #a714d0);
  }
}

/* Mobile Swiper Improvements */
@media (max-width: 768px) {
  .slider-swiper .slide-content {
    left: 5%;
    right: 5%;
    top: auto;
    bottom: 80px;
    transform: none;
    width: auto;
    max-width: 90%;
    padding: 1.5rem 1.25rem;
    height: auto;
    min-height: auto;
    max-height: calc(100% - 100px);
    overflow-y: auto;
  }

  .slider-swiper .slide-content h1 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }

  .slider-swiper .slide-content p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .slider-swiper .btn-learn-more {
    padding: 12px 24px;
    font-size: 0.85rem;
    width: auto;
    display: inline-block;
  }

  /* Larger navigation buttons for mobile */
  .slider-swiper .swiper-button-next,
  .slider-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
  }

  .slider-swiper .swiper-button-next {
    right: 10px;
  }

  .slider-swiper .swiper-button-prev {
    left: 10px;
  }

  .slider-swiper .swiper-button-next::after,
  .slider-swiper .swiper-button-prev::after {
    font-size: 18px;
  }

  /* Pagination bullets for mobile */
  .slider-swiper .swiper-pagination {
    bottom: 15px;
    width: 100%;
    left: 0;
    transform: none;
  }

  .slider-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }

  .slider-swiper .swiper-pagination-bullet-active {
    width: 20px;
  }

  /* Hide progress bar on mobile */
  .slider-swiper .swiper-pagination-progressbar {
    display: none;
  }
}

/* ============================================
   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-banner > * {
  position: relative;
  z-index: 2;
}

.insights-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.insights-hero-content {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  max-width: 900px;
}

.insights-hero-content p {
  margin-bottom: 15px;
}

/* Latest Post Section */
.insights-latest-post {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(139, 10, 143, 0.1);
}

.insights-latest-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139, 10, 143, 0.2);
}

.latest-post-image {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.latest-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.insights-latest-post:hover .latest-post-image img {
  transform: scale(1.05);
}

.latest-post-content {
  padding: 40px;
}

.latest-post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.latest-post-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
}

.latest-post-meta i {
  color: #8b0a8f;
}

.latest-post-meta .post-category a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.latest-post-meta .post-category a:hover {
  color: #06003c;
}

.latest-post-meta .post-sub-category {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8b0a8f;
  font-weight: 600;
  font-size: 0.9rem;
}

.latest-post-meta .post-sub-category a {
  color: #8b0a8f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.latest-post-meta .post-sub-category a:hover {
  color: #06003c;
}

.latest-post-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.latest-post-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.latest-post-title a:hover {
  color: #8b0a8f;
}

.latest-post-excerpt {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Grid Section */
.grid-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #8b0a8f, #06003c) 1;
  text-transform: capitalize;
}

.insights-posts-grid {
  margin-bottom: 40px;
}

.insights-grid-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(139, 10, 143, 0.1);
}

.insights-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(139, 10, 143, 0.2);
  border-color: rgba(139, 10, 143, 0.3);
}

.grid-card-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.grid-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.insights-grid-card:hover .grid-card-image img {
  transform: scale(1.1);
}

.grid-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.grid-card-meta {
  margin-bottom: 12px;
}

.grid-post-date {
  font-size: 0.85rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
}

.grid-post-date i {
  color: #8b0a8f;
  font-size: 0.75rem;
}

.grid-post-category {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8b0a8f;
  font-weight: 600;
  font-size: 0.85rem;
}

.grid-post-category a {
  color: #8b0a8f;
  text-decoration: none;
  transition: color 0.3s ease;
  text-transform: capitalize;
}

.grid-post-category a:hover {
  color: #06003c;
}

.grid-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  min-height: 55px;
}

.grid-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.grid-card-title a:hover {
  color: #8b0a8f;
}

.grid-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  min-height: 100px;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-line-clamp 0.3s linear;
}

.grid-card-excerpt.expanded {
  -webkit-line-clamp: unset;
  max-height: none;
}

/* Buttons */
.btn-insights {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-insights.btn-sm {
  font-size: 0.875rem;
}

.btn-insights.btn-primary {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(139, 10, 143, 0.3);
}

.btn-insights.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;
}

.btn-insights.btn-external {
  background: #ffffff;
  color: #8b0a8f;
  border: 2px solid #8b0a8f;
}

.btn-insights.btn-external:hover {
  background: #8b0a8f;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-insights.btn-read-more {
  background: none;
  color: #8b0a8f;
  padding: 0;
  border: none;
}

.btn-insights i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.btn-insights:hover i {
  transform: translateX(3px);
}

.btn-insights.btn-read-more:hover i {
  transform: translateY(2px);
}

/* Pagination */
.insights-pagination {
  margin-top: 50px;
}

.insights-pagination .page-numbers {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.insights-pagination .page-numbers li a,
.insights-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.insights-pagination .page-numbers li a {
  background: #ffffff;
  color: #8b0a8f;
  border-color: rgba(139, 10, 143, 0.2);
}

.insights-pagination .page-numbers li a:hover {
  background: #8b0a8f;
  color: #ffffff;
  border-color: #8b0a8f;
  transform: translateY(-2px);
}

.insights-pagination .page-numbers li .current {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  border-color: #8b0a8f;
}

/* No Posts */
.no-posts-found {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.no-posts-found p {
  font-size: 1.1rem;
  color: #666;
}

/* Responsive Design */
@media (max-width: 991px) {
  .insights-hero-title {
    font-size: 2.25rem;
  }

  .insights-hero-content {
    font-size: 1.1rem;
  }

  .latest-post-title {
    font-size: 2rem;
  }

  .grid-card-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .insights-hero-banner {
    padding: 40px 24px !important;
    border-radius: 12px;
  }

  .insights-hero-title {
    font-size: 1.875rem;
  }

  .insights-hero-content {
    font-size: 1rem;
  }

  .latest-post-image {
    height: 250px;
  }

  .latest-post-content {
    padding: 30px 24px;
  }

  .latest-post-title {
    font-size: 1.75rem;
  }

  .latest-post-excerpt {
    font-size: 1rem;
  }

  .grid-section-title {
    font-size: 1.75rem;
  }

  .grid-card-image {
    height: 180px;
  }

  .grid-card-content {
    padding: 20px;
  }

  .insights-grid-card {
    margin-bottom: 24px;
  }

  .latest-post-meta {
    font-size: 0.85rem;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .insights-hero-title {
    font-size: 1.5rem;
  }

  .latest-post-title {
    font-size: 1.5rem;
  }

  .grid-section-title {
    font-size: 1.5rem;
  }

  .btn-insights {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   Single Post Template Styles - Enhanced Design
   ============================================ */

.single-post-page {
  background: #f8f8f8;
}

/* Single Post Hero Section */
.single-post-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b0a8f 0%, #06003c 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 10, 143, 0.3) 0%,
    rgba(6, 0, 60, 0.7) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  padding: 80px 0;
}

/* Post Categories */
.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #8b0a8f;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.category-badge:hover {
  background: #06003c;
  color: #ffffff;
}

.category-badge i {
  font-size: 0.7rem;
}

/* Post Title */
.post-title {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

/* Post Meta */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.meta-item i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.meta-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.meta-item a:hover {
  color: #ffffff;
}

/* Post Content Section */
.post-content-section {
  padding: 30px;
  background: #ffffff;
}

.single-post-content {
  margin: 0 auto;
}

/* Featured Video */
.featured-video {
  margin-bottom: 40px;
}

.video-wrapper {
  position: relative;
  max-width: 50%;
  height: 500px;
  background: #000;
  margin: 0px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

.content-restriction-overlay {
  position: relative;
  margin: 40px 0;
}

.restriction-message {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid rgba(139, 10, 143, 0.2);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(139, 10, 143, 0.1);
  position: relative;
  overflow: hidden;
}

.restriction-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 10, 143, 0.03) 0%,
    rgba(6, 0, 60, 0.03) 100%
  );
  z-index: 1;
}

.restriction-message > * {
  position: relative;
  z-index: 2;
}

.restriction-icon {
  margin-bottom: 24px;
}

.restriction-icon i {
  font-size: 3rem;
  color: #8b0a8f;
  background: linear-gradient(135deg, #8b0a8f, #a014b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.restriction-message h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.restriction-message p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.restriction-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-login,
.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-login {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
}

.btn-login:hover {
  background: linear-gradient(135deg, #a014b5 0%, #8b0a8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.3);
  color: #ffffff;
}

.btn-register {
  background: #ffffff;
  color: #8b0a8f;
  border: 2px solid #8b0a8f;
}

.btn-register:hover {
  background: #8b0a8f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.3);
}

.restriction-benefits {
  padding-top: 20px;
  border-top: 1px solid rgba(139, 10, 143, 0.1);
}

.restriction-benefits span {
  font-size: 0.9rem;
  color: #8b0a8f;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.restriction-benefits span::before {
  content: "✨";
  font-size: 1rem;
}

/* Responsive Content Restriction */
@media (max-width: 860px) {
  .video-wrapper {
    max-width: 100%;
  }
}

/* Responsive Content Restriction */
@media (max-width: 768px) {
  .restriction-message {
    padding: 30px 24px;
  }

  .restriction-icon i {
    font-size: 2.5rem;
  }

  .restriction-message h3 {
    font-size: 1.5rem;
  }

  .restriction-message p {
    font-size: 1rem;
  }

  .restriction-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-login,
  .btn-register {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  .video-wrapper {
    max-width: 100%;
    height: 300px;
  }

  .main-header {
    padding: 10px 0;
  }

  .top-social {
    justify-content: center;
    margin: 0.2rem 0;
  }
  .subscribe-wrap {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .restriction-message {
    padding: 24px 20px;
  }

  .restriction-message h3 {
    font-size: 1.25rem;
  }

  .restriction-message p {
    font-size: 0.95rem;
  }
}

/* Social Share */
.social-share {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.social-share-top {
  margin-top: 40px;
}

.social-share-bottom {
  margin-top: 40px;
}

.share-label {
  font-weight: 600;
  color: #8b0a8f;
  font-size: 0.95rem;
}

.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.share-btn.facebook {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.share-btn.twitter {
  background: linear-gradient(135deg, #1da1f2, #42a5f5);
}

.share-btn.linkedin {
  background: linear-gradient(135deg, #0077b5, #42a5f5);
}

.share-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #4caf50);
}

.share-btn.telegram {
  background: linear-gradient(135deg, #0088cc, #42a5f5);
}

.share-btn.copy-link {
  background: linear-gradient(135deg, #6c757d, #9e9e9e);
}

/* Post Body */
.post-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

.post-body p {
  margin-bottom: 24px;
}

.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.post-body h2 {
  font-size: 2rem;
}

.post-body h3 {
  font-size: 1.75rem;
}

.post-body h4 {
  font-size: 1.5rem;
}

.post-body ul,
.post-body ol {
  margin-bottom: 24px;
  padding-left: 30px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body blockquote {
  border-left: 4px solid #8b0a8f;
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: #666;
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.post-body .wp-block-image {
  margin: 32px 0;
}

.post-body .wp-block-image img {
  border-radius: 12px;
}

/* Page Links */
.page-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.page-links a,
.page-links span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #f8f9fa;
  color: #8b0a8f;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-links span {
  background: #8b0a8f;
  color: #ffffff;
}

/* Post Tags */
.post-tags {
  margin: 40px 0;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.post-tags h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #8b0a8f;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(139, 10, 143, 0.2);
  transition: all 0.3s ease;
}

.tag-item:hover {
  background: #8b0a8f;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 24px;
  padding: 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  margin: 40px 0;
  border: 1px solid #dee2e6;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.author-info h4 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-info h4 a:hover {
  color: #8b0a8f;
}

.author-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.author-social {
  display: flex;
  gap: 12px;
}

.author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #8b0a8f;
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.author-social a:hover {
  background: #06003c;
  transform: translateY(-2px);
}

/* Related Posts Section */
.related-posts-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #8b0a8f, #06003c);
  border-radius: 2px;
}

/* Related Post Cards */
.related-post-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid rgba(139, 10, 143, 0.1);
}

.related-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(139, 10, 143, 0.2);
  border-color: rgba(139, 10, 143, 0.3);
}

.related-post-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-post-card:hover .related-post-image img {
  transform: scale(1.1);
}

.related-post-content {
  padding: 24px;
}

.related-post-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.related-post-content h4 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
  color: #8b0a8f;
}

.related-post-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8b0a8f;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.read-more-link:hover {
  color: #06003c;
  transform: translateX(4px);
}

.read-more-link i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.read-more-link:hover i {
  transform: translateX(2px);
}

/* Comments Section */
.comments-section {
  padding: 80px 0;
  background: #ffffff;
}

/* Responsive Design */
@media (max-width: 991px) {
  .post-title {
    font-size: 2.75rem;
  }

  .meta-item {
    font-size: 0.9rem;
  }

  .post-meta {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .single-post-hero {
    min-height: 50vh;
  }

  .hero-content {
    padding: 60px 0;
  }

  .post-title {
    font-size: 2.25rem;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .post-content-section {
    padding: 60px 0;
  }

  .social-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .share-buttons {
    gap: 8px;
  }

  .share-btn {
    width: 40px;
    height: 40px;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .related-posts-section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.875rem;
  }

  .post-categories {
    justify-content: center;
  }

  .category-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .post-body {
    font-size: 1rem;
  }

  .related-post-content {
    padding: 20px;
  }

  .related-post-content h4 {
    font-size: 1.1rem;
  }
}

/* ============================================
   Video Thumbnail with Floating Play Button
   ============================================ */

.video-thumbnail-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  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);
  border-radius: 50%;
  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 */
@media (max-width: 768px) {
  .play-button-circle {
    width: 60px;
    height: 60px;
  }

  .play-button-circle i {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .play-button-circle {
    width: 50px;
    height: 50px;
  }

  .play-button-circle i {
    font-size: 16px;
  }
}

/* ============================================
   Category Template Styles - Enhanced Design
   ============================================ */

.category-template-page {
  background: #f8f8f8;
  margin-top: 130px;
}

/* Category Hero Title - White and Bold */
.category-hero-title {
  font-weight: 900 !important;
  color: #ffffff !important;
  padding: 0 40px;
}

/* Category Latest Post Section */
.category-latest-post {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(139, 10, 143, 0.1);
  display: flex;
  flex-direction: column;
}

.category-latest-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139, 10, 143, 0.2);
}

.latest-post-image {
  position: relative;
  overflow: hidden;
  height: 400px;
  width: 100%;
}

.latest-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-latest-post:hover .latest-post-image img {
  transform: scale(1.05);
}

.latest-post-content {
  padding: 40px;
  flex-grow: 1;
}

.latest-post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.latest-post-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
}

.latest-post-meta i {
  color: #8b0a8f;
}

.latest-post-meta .post-category a {
  color: #8b0a8f;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.latest-post-meta .post-category a:hover {
  color: #06003c;
}

.latest-post-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.latest-post-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.latest-post-title a:hover {
  color: #8b0a8f;
}

/* Category Posts Grid */
.category-posts-grid {
  margin-bottom: 40px;
}

.category-grid-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(139, 10, 143, 0.1);
}

.category-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(139, 10, 143, 0.2);
  border-color: rgba(139, 10, 143, 0.3);
}

/* Category Page Styles - Enhanced Design */
.category-page {
  background: #f8f8f8;
}

/* Category Hero Section */
.category-hero-section {
  margin-bottom: 50px;
  margin-top: 30px;
}

.category-hero-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  box-shadow: 0 12px 40px rgba(139, 10, 143, 0.15);
  background: linear-gradient(135deg, #8b0a8f 0%, #06003c 100%);
}

.category-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.category-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 10, 143, 0.85) 0%,
    rgba(6, 0, 60, 0.85) 100%
  );
  z-index: 2;
}

.category-hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  padding: 0px 40px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.category-hero-content > * {
  color: #fff;
}
.category-hero-content > h2 {
  font-size: 1.7rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.category-hero-content > h3,
.category-hero-content > p {
  font-size: 1.3rem;
  line-height: 1.8rem;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-badge i {
  font-size: 1.2rem;
}

.category-hero-content .category-title,
.category-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.category-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.category-description p {
  margin-bottom: 15px;
}

.category-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.category-meta .post-count {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 50px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.category-meta .post-count i {
  color: rgba(255, 255, 255, 0.9);
}

/* Category Page Content */
.category-page .qs__blog__content {
  background: transparent;
}

.category-page .qs__blog__archives {
  animation: fadeInUp 0.6s ease-out;
}

/* Enhanced Category Cards */
.category-page article.horizontal-card,
.category-page .modern-card {
  margin-bottom: 30px;
}

.category-page .horizontal-card:hover,
.category-page .modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(139, 10, 143, 0.25);
}

/* Category Page Grid Layout Enhancement */
.category-page .qs__blog__content article {
  margin-bottom: 30px;
}

/* Responsive Category Hero */
@media (max-width: 991px) {
  .category-hero-content .category-title,
  .category-hero-content h1 {
    font-size: 2.5rem;
  }

  .category-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .category-hero-banner {
    flex-direction: column;
    justify-content: center;
  }

  .category-hero-content {
    padding: 40px 24px;
  }

  .category-hero-content .category-title,
  .category-hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .category-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .category-badge {
    font-size: 0.95rem;
    padding: 10px 20px;
    margin-bottom: 20px;
  }

  .category-meta {
    gap: 15px;
  }

  .category-meta .post-count {
    font-size: 0.85rem;
    padding: 8px 18px;
  }
}

@media (max-width: 480px) {
  .category-hero-content .category-title,
  .category-hero-content h1 {
    font-size: 1.75rem;
  }

  .category-badge {
    font-size: 0.875rem;
    padding: 8px 16px;
  }
}

/* ============================================
   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%
  );
  border-radius: 50%;
  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%
  );
  border-radius: 50%;
  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 */
}

/* ============================================
   SINGLE POST AUDIO PLAYER STYLES
   ============================================ */

.featured-audio {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1px solid rgba(139, 10, 143, 0.1);
  box-shadow: 0 8px 24px rgba(139, 10, 143, 0.08);
}

.audio-player-container {
  max-width: 800px;
  margin: 0 auto;
}

.custom-audio-player {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(139, 10, 143, 0.1);
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.play-pause-btn {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 10, 143, 0.3);
}

.play-pause-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(139, 10, 143, 0.4);
  background: linear-gradient(135deg, #a014b5 0%, #8b0a8f 100%);
}

.play-pause-btn.playing i:before {
  content: "\f04c"; /* Pause icon */
}

.audio-progress {
  flex: 1;
  min-width: 200px;
}

.progress-bar {
  height: 6px;
  background: rgba(139, 10, 143, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b0a8f, #a014b5);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s ease;
}

.audio-time {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #666;
  font-weight: 500;
  min-width: 80px;
}

.audio-volume {
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-btn {
  background: none;
  border: none;
  color: #8b0a8f;
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
  transition: color 0.3s ease;
}

.volume-btn:hover {
  color: #a014b5;
}

.volume-slider {
  width: 80px;
}

.volume-bar {
  height: 4px;
  background: rgba(139, 10, 143, 0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.volume-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b0a8f, #a014b5);
  border-radius: 2px;
  width: 100%;
  transition: width 0.1s ease;
}

/* Hide default audio controls */
audio {
  display: none !important;
}

/* Responsive Audio Player */
@media (max-width: 768px) {
  .featured-audio {
    margin: 30px 0;
    padding: 20px;
  }

  .custom-audio-player {
    padding: 15px;
  }

  .audio-controls {
    gap: 15px;
  }

  .play-pause-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .audio-progress {
    min-width: 150px;
  }

  .audio-time {
    font-size: 13px;
    min-width: 70px;
  }

  .volume-slider {
    width: 60px;
  }
}

@media (max-width: 480px) {
  .audio-controls {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .audio-progress {
    width: 100%;
    min-width: unset;
  }

  .audio-time {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .audio-volume {
    order: 4;
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   BREADCRUMB STYLES
   ============================================ */

.breadcrumb-nav {
  margin-bottom: 15px;
}

.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: 60px 0;
  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 {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form {
  position: relative;
}

.newsletter-email {
  padding: 15px 25px !important;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a !important;
  font-size: 1rem;
  border-radius: 50px 0 0 50px !important;
  transition: all 0.3s ease;
  text-indent: 20px;
}

.newsletter-email:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(139, 10, 143, 0.2);
}

.newsletter-submit {
  padding: 15px 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;
  border-radius: 0 50px 50px 0 !important;
  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%);
  transform: translateX(2px);
  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;
  border-radius: 8px;
  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: 80px 0 40px;
  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);
  border-radius: 50%;
  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);
  border-radius: 2px;
}

/* 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;
  border-radius: 8px;
  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%);
  border-radius: 50%;
  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: 30px 0;
  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;
  border-radius: 20px;
  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;
  border-radius: 50%;
  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;
  border-radius: 50%;
  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;
  border-radius: 50%;
  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 */
@media (max-width: 991px) {
  .footer-newsletter {
    padding: 50px 0;
  }

  .newsletter-title {
    font-size: 2rem;
  }

  .newsletter-subtitle {
    font-size: 1rem;
  }

  .main-footer {
    padding: 60px 0 30px;
  }

  .footer-widget {
    margin-bottom: 30px;
  }

  .footer-bottom-right {
    justify-content: center;
    margin-top: 20px;
  }

  .copyright {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-newsletter {
    padding: 40px 0;
  }

  .newsletter-title {
    font-size: 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .newsletter-form-wrapper {
    max-width: 100%;
  }

  .form-group {
    flex-direction: column;
    border-radius: 12px;
  }

  .newsletter-email {
    border-radius: 12px 12px 0 0;
  }

  .newsletter-submit {
    border-radius: 0 0 12px 12px;
    justify-content: center;
  }

  .main-footer {
    padding: 50px 0 20px;
  }

  .footer-widget {
    text-align: center;
  }

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

  .contact-icon {
    align-self: center;
  }

  .footer-bottom .row {
    text-align: center;
  }

  .footer-bottom-right {
    flex-direction: column;
    gap: 15px;
  }

  .footer-badges {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-newsletter {
    padding: 30px 20px;
  }

  .newsletter-title {
    font-size: 1.5rem;
  }

  .newsletter-subtitle {
    font-size: 0.95rem;
  }

  .main-footer {
    padding: 40px 0 15px;
  }

  .footer-logo .site-title {
    font-size: 1.5rem;
  }

  .widget-title {
    font-size: 1.1rem;
  }

  .footer-menu a {
    font-size: 0.9rem;
  }

  .contact-details span {
    font-size: 0.9rem;
  }

  .copyright p {
    font-size: 0.85rem;
  }

  .badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}

/* ============================================
   SEARCH PAGE STYLES
   ============================================ */

/* Search Hero Section */
@media (max-width: 768px) {
  .search-hero-section {
    padding: 40px 20px;
  }
  .search-hero-content {
    text-align: left;
  }
}

.search-hero-section {
  background: linear-gradient(135deg, #8b0a8f 0%, #06003c 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.search-hero-section::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;
}

.search-hero-section > * {
  position: relative;
  z-index: 2;
}

.search-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  color: #fff;
  align-items: center;
  gap: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.search-title i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 2.5rem;
}

.search-query-display {
  margin-bottom: 15px;
}

.search-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-right: 10px;
}

.search-term {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.search-stats {
  margin-top: 20px;
}

.results-count {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-block;
}

/* Search Results Section */
.search-results-section {
  padding: 50px 0;
  background: #f8f8f8;
}

.search-results-content {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-bottom: 40px;
}

/* Search Result Items */
.search-result-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.search-result-item:hover {
  background: rgba(139, 10, 143, 0.02);
  border-radius: 12px;
}

.search-result-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.search-result-content {
  flex: 1;
}

.search-result-thumbnail {
  flex-shrink: 0;
  width: 200px;
}

.search-thumbnail-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.search-result-item:hover .search-thumbnail-img {
  transform: scale(1.05);
}

/* Search Result Meta */
.search-result-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.post-type-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-type-badge i {
  font-size: 0.7rem;
}

.post-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 0.9rem;
}

.post-date i {
  color: #8b0a8f;
}

/* Search Result Title */
.search-result-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.search-result-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.search-result-title a:hover {
  color: #8b0a8f;
}

.search-result-title mark {
  background: linear-gradient(135deg, #8b0a8f, #a014b5);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Search Result Excerpt */
.search-result-excerpt {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}

.search-result-excerpt mark {
  background: rgba(139, 10, 143, 0.1);
  color: #8b0a8f;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
}

/* Search Result Footer */
.search-result-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.read-more-link .btn-insights {
  font-size: 0.9rem;
  padding: 8px 16px;
}

.post-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post-categories i {
  color: #8b0a8f;
  font-size: 0.8rem;
}

/* Search Pagination */
.search-pagination {
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.search-pagination::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8b0a8f, #a014b5);
  border-radius: 2px;
}

.search-pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(139, 10, 143, 0.1);
}

.search-pagination .page-numbers li {
  display: flex;
}

.search-pagination .page-numbers li a,
.search-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.search-pagination .page-numbers li a {
  background: rgba(139, 10, 143, 0.05);
  color: #8b0a8f;
  border-color: rgba(139, 10, 143, 0.2);
}

.search-pagination .page-numbers li a:hover {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.4);
  border-color: rgba(139, 10, 143, 0.3);
}

.search-pagination .page-numbers li a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 10, 143, 0.2);
}

.search-pagination .page-numbers li .current {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  border-color: #8b0a8f;
  box-shadow: 0 4px 16px rgba(139, 10, 143, 0.3);
  font-weight: 700;
  transform: scale(1.05);
}

.search-pagination .page-numbers li .current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 6px;
}

.search-pagination .page-numbers li .prev,
.search-pagination .page-numbers li .next {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #8b0a8f;
  border: 2px solid rgba(139, 10, 143, 0.2);
  font-weight: 600;
  min-width: 56px;
  position: relative;
}

.search-pagination .page-numbers li .prev::before,
.search-pagination .page-numbers li .next::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 10, 143, 0.05) 0%,
    rgba(139, 10, 143, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 6px;
}

.search-pagination .page-numbers li .prev:hover::before,
.search-pagination .page-numbers li .next:hover::before {
  opacity: 1;
}

.search-pagination .page-numbers li .prev:hover,
.search-pagination .page-numbers li .next:hover {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.4);
  border-color: rgba(139, 10, 143, 0.3);
}

.search-pagination .page-numbers li .dots {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  color: #6c757d;
  font-weight: 400;
  cursor: default;
  pointer-events: none;
  font-size: 1.2rem;
  min-width: auto;
  height: auto;
  padding: 0 8px;
}

.search-pagination .page-numbers li .dots:hover {
  transform: none !important;
  background: transparent !important;
  color: #6c757d !important;
}

/* Responsive Search Pagination */
@media (max-width: 768px) {
  .binduz-er-back-to-top {
    right: -78px !important;
  }

  .search-pagination {
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .search-pagination .page-numbers {
    padding: 15px;
    gap: 4px;
  }

  .search-pagination .page-numbers li a,
  .search-pagination .page-numbers li span {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .search-pagination .page-numbers li .prev,
  .search-pagination .page-numbers li .next {
    min-width: 50px;
  }
}

@media (max-width: 480px) {
  .search-pagination {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .search-pagination .page-numbers {
    padding: 12px;
    gap: 2px;
    border-radius: 8px;
  }

  .search-pagination .page-numbers li a,
  .search-pagination .page-numbers li span {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .search-pagination .page-numbers li .prev,
  .search-pagination .page-numbers li .next {
    min-width: 46px;
  }

  .search-pagination .page-numbers li .current {
    transform: scale(1.02);
  }
}

/* No Search Results */
.no-search-results {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  border: 2px solid rgba(139, 10, 143, 0.1);
}

.no-results-icon {
  margin-bottom: 30px;
}

.no-results-icon i {
  font-size: 4rem;
  color: #8b0a8f;
  background: linear-gradient(135deg, #8b0a8f, #a014b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.no-results-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.no-results-message {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Suggestions */
.search-suggestions {
  margin-bottom: 40px;
}

.search-suggestions h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.search-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.search-suggestions li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.search-suggestions li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8b0a8f;
  font-weight: bold;
}

/* New Search Form */
.new-search-form {
  margin-bottom: 40px;
}

.new-search-form h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.new-search-form .search-input-group {
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.new-search-form .search-field {
  flex: 1;
  padding: 15px 25px;
  border: none;
  outline: none;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 1rem;
}

.new-search-form .search-submit {
  padding: 15px 25px;
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.new-search-form .search-submit:hover {
  background: linear-gradient(135deg, #a014b5 0%, #8b0a8f 100%);
  transform: scale(1.05);
}

/* Popular Categories */
.popular-categories {
  margin-bottom: 40px;
}

.popular-categories h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.category-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.15);
  border-color: rgba(139, 10, 143, 0.3);
}

.category-icon {
  margin-bottom: 15px;
}

.category-icon i {
  font-size: 2rem;
  color: #8b0a8f;
}

.category-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.category-info span {
  font-size: 0.85rem;
  color: #666;
}

/* Search Sidebar */
.search-sidebar {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 30px;
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  margin-bottom: 40px;
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-widget .widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget .widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #8b0a8f, #a014b5);
  border-radius: 2px;
}

/* Sidebar Search Form */
.search-widget .search-input-group {
  position: relative;
  display: flex;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-widget .search-field {
  flex: 1;
  padding: 12px 20px;
  border: none;
  outline: none;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.search-widget .search-submit {
  padding: 12px 20px;
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-widget .search-submit:hover {
  background: linear-gradient(135deg, #a014b5 0%, #8b0a8f 100%);
  transform: scale(1.05);
}

/* Recent Posts Widget */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-post-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-thumbnail {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.recent-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.recent-post-content {
  flex: 1;
}

.recent-post-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.3;
}

.recent-post-content h4 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
  color: #8b0a8f;
}

.recent-post-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #666;
}

.recent-post-date i {
  color: #8b0a8f;
  font-size: 0.7rem;
}

/* Categories Widget */
.categories-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-item .category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #1a1a1a;
}

.category-item .category-link:hover {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  transform: translateX(5px);
}

.category-name {
  font-weight: 500;
}

.category-count {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Tags Widget */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-link {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(139, 10, 143, 0.1);
  color: #8b0a8f;
  text-decoration: none;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 10, 143, 0.2);
}

.tag-link:hover {
  background: #8b0a8f;
  color: #ffffff;
  transform: scale(1.05);
}

/* Responsive Search Page */
@media (max-width: 991px) {
  .search-hero-section {
    padding: 60px 0;
    margin-top: 80px;
  }

  .search-title {
    font-size: 2.5rem;
  }

  .search-term {
    font-size: 1.1rem;
  }

  .search-results-section {
    padding: 60px 0;
  }

  .search-results-content {
    padding: 30px 20px;
  }

  .search-result-item {
    flex-direction: column;
    gap: 20px;
  }

  .search-result-thumbnail {
    width: 100%;
    align-self: center;
  }

  .search-thumbnail-img {
    height: 200px;
  }

  .search-sidebar {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .search-hero-section {
    padding: 50px 0;
    margin-top: 60px;
  }

  .search-title {
    font-size: 2rem;
    gap: 10px;
    align-items: flex-start;
  }

  .search-title i {
    font-size: 2rem;
  }

  .search-term {
    font-size: 1rem;
  }

  .results-count {
    font-size: 0.9rem;
  }

  .search-results-section {
    padding: 40px 0;
  }

  .search-results-content {
    padding: 25px 15px;
    border-radius: 12px;
  }

  .search-result-item {
    padding: 25px 0;
  }

  .search-result-item:hover {
    padding: 35px 15px;
    margin: 5px 0;
  }

  .search-result-title {
    font-size: 1.5rem;
  }

  .search-result-meta {
    gap: 15px;
  }

  .post-type-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .search-sidebar {
    padding: 25px;
    border-radius: 12px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .category-card {
    padding: 15px;
  }

  .no-search-results {
    padding: 40px 20px;
  }

  .no-results-title {
    font-size: 2rem;
  }

  .new-search-form .search-input-group {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .search-hero-section {
    padding: 40px 0;
    margin-top: 40px;
  }

  .search-title {
    font-size: 1.75rem;
  }

  .search-query-display {
    flex-direction: column;
    gap: 10px;
  }

  .search-label {
    font-size: 1rem;
  }

  .search-term {
    font-size: 0.95rem;
  }

  .search-results-section {
    padding: 30px 0;
  }

  .search-result-title {
    font-size: 1.25rem;
  }

  .search-result-excerpt {
    font-size: 0.95rem;
  }

  .search-sidebar {
    padding: 20px;
  }

  .sidebar-widget .widget-title {
    font-size: 1.1rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .no-results-title {
    font-size: 1.75rem;
  }

  .no-results-message {
    font-size: 1rem;
  }
}

/* ============================================
   TAG PAGE STYLES
   ============================================ */

/* Tag Hero Section */
.tag-hero-section {
  background: linear-gradient(135deg, #8b0a8f 0%, #06003c 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.tag-hero-section::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;
}

.tag-hero-section > * {
  position: relative;
  z-index: 2;
}

.tag-hero-content {
  text-align: left;
  color: #ffffff;
  margin: 0 auto;
}

.tag-hero-main {
  display: flex;
  align-items: center;
  gap: 30px;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 25px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-badge i {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.tag-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.tag-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.tag-stats {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  min-width: 120px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Tag Posts Section */
.tag-posts-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.tag-posts-content {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-bottom: 40px;
}

/* Tag Posts Grid */
.tag-posts-grid {
  display: grid;
  gap: 40px;
}

/* Tag Post Card */
.tag-post-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(139, 10, 143, 0.1);
}

.tag-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(139, 10, 143, 0.2);
  border-color: rgba(139, 10, 143, 0.3);
}

/* Post Thumbnail */
.post-thumbnail {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-post-card:hover .post-image {
  transform: scale(1.1);
}

.category-link {
  color: #8b0a8f;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  padding: 4px 8px;
}

.category-link:hover {
  background: linear-gradient(135deg, #a014b5 0%, #8b0a8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 10, 143, 0.4);
  color: #ffffff;
}

/* Post Content */
.post-content {
  padding: 30px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.post-date,
.post-author {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 0.9rem;
}

.post-date i,
.post-author i {
  color: #8b0a8f;
  font-size: 0.8rem;
}

.post-author a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-author a:hover {
  color: #8b0a8f;
}

.post-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.post-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #8b0a8f;
}

.post-excerpt {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* Post Footer */
.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.read-more .btn-insights {
  font-size: 0.9rem;
  padding: 10px 20px;
}

.post-stats {
  display: flex;
  gap: 15px;
}

.post-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
  font-size: 0.85rem;
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
}

.post-stats .stat-item i {
  color: #8b0a8f;
  font-size: 0.8rem;
}

/* Tag Pagination */
.tag-pagination {
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.tag-pagination::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8b0a8f, #a014b5);
  border-radius: 2px;
}

.tag-pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(139, 10, 143, 0.1);
}

.tag-pagination .page-numbers li {
  display: flex;
}

.tag-pagination .page-numbers li a,
.tag-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.tag-pagination .page-numbers li a {
  background: rgba(139, 10, 143, 0.05);
  color: #8b0a8f;
  border-color: rgba(139, 10, 143, 0.2);
}

.tag-pagination .page-numbers li a:hover {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.4);
  border-color: rgba(139, 10, 143, 0.3);
}

.tag-pagination .page-numbers li a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 10, 143, 0.2);
}

.tag-pagination .page-numbers li .current {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  border-color: #8b0a8f;
  box-shadow: 0 4px 16px rgba(139, 10, 143, 0.3);
  font-weight: 700;
  transform: scale(1.05);
}

.tag-pagination .page-numbers li .current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 6px;
}

.tag-pagination .page-numbers li .prev,
.tag-pagination .page-numbers li .next {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #8b0a8f;
  border: 2px solid rgba(139, 10, 143, 0.2);
  font-weight: 600;
  min-width: 56px;
  position: relative;
}

.tag-pagination .page-numbers li .prev::before,
.tag-pagination .page-numbers li .next::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 10, 143, 0.05) 0%,
    rgba(139, 10, 143, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 6px;
}

.tag-pagination .page-numbers li .prev:hover::before,
.tag-pagination .page-numbers li .next:hover::before {
  opacity: 1;
}

.tag-pagination .page-numbers li .prev:hover,
.tag-pagination .page-numbers li .next:hover {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(139, 10, 143, 0.4);
  border-color: rgba(139, 10, 143, 0.3);
}

.tag-pagination .page-numbers li .dots {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  color: #6c757d;
  font-weight: 400;
  cursor: default;
  pointer-events: none;
  font-size: 1.2rem;
  min-width: auto;
  height: auto;
  padding: 0 8px;
}

.tag-pagination .page-numbers li .dots:hover {
  transform: none !important;
  background: transparent !important;
  color: #6c757d !important;
}

/* No Tag Posts */
.no-tag-posts {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  border: 2px solid rgba(139, 10, 143, 0.1);
}

.no-posts-icon {
  margin-bottom: 30px;
}

.no-posts-icon i {
  font-size: 4rem;
  color: #8b0a8f;
  background: linear-gradient(135deg, #8b0a8f, #a014b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.no-posts-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.no-posts-message {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.no-posts-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Tag Sidebar */
.tag-sidebar {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 30px;
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  margin-bottom: 40px;
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-widget .widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget .widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #8b0a8f, #a014b5);
  border-radius: 2px;
}

/* Tag Info Widget */
.tag-info-content {
  background: linear-gradient(
    135deg,
    rgba(139, 10, 143, 0.05) 0%,
    rgba(139, 10, 143, 0.02) 100%
  );
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(139, 10, 143, 0.1);
}

.current-tag {
  display: flex;
  align-items: center;
  gap: 15px;
}

.tag-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(139, 10, 143, 0.3);
}

.tag-details h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.tag-details p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.tag-description-full {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.tag-description-full p {
  margin: 0;
}

/* Related Tags Widget */
.related-tags-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-tag-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #1a1a1a;
  border: 1px solid rgba(139, 10, 143, 0.1);
}

.related-tag-link:hover {
  background: linear-gradient(135deg, #8b0a8f 0%, #a014b5 100%);
  color: #ffffff;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(139, 10, 143, 0.2);
}

.tag-name {
  font-weight: 500;
}

.tag-count {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Popular Tags Widget */
.popular-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.popular-tag-link {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(139, 10, 143, 0.1);
  color: #8b0a8f;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 10, 143, 0.2);
  position: relative;
}

.popular-tag-link:hover {
  background: #8b0a8f;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(139, 10, 143, 0.3);
}

/* Recent Posts Widget */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-post-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-thumbnail {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.recent-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.recent-post-content {
  flex: 1;
}

.recent-post-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.3;
}

.recent-post-content h4 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
  color: #8b0a8f;
}

.recent-post-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #666;
}

.recent-post-date i {
  color: #8b0a8f;
  font-size: 0.7rem;
}

/* Responsive Tag Page */
@media (max-width: 991px) {
  .tag-hero-section {
    padding: 60px 0;
    margin-top: 80px;
  }

  .tag-title {
    font-size: 2.5rem;
  }

  .tag-description {
    font-size: 1.1rem;
  }

  .tag-stats {
    gap: 20px;
  }

  .stat-item {
    min-width: 100px;
    padding: 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .tag-posts-section {
    padding: 60px 0;
  }

  .tag-posts-content {
    padding: 30px 20px;
  }

  .tag-post-card {
    margin-bottom: 30px;
  }

  .tag-sidebar {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .tag-hero-section {
    padding: 50px 0;
    margin-top: 60px;
  }

  .tag-title {
    font-size: 2rem;
  }

  .tag-badge {
    font-size: 0.8rem;
    padding: 10px 20px;
  }

  .tag-description {
    font-size: 1rem;
  }

  .tag-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-item {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .tag-posts-section {
    padding: 40px 0;
  }

  .tag-posts-content {
    padding: 25px 15px;
    border-radius: 12px;
  }

  .post-thumbnail {
    height: 200px;
  }

  .post-content {
    padding: 25px;
  }

  .post-title {
    font-size: 1.25rem;
  }

  .tag-sidebar {
    padding: 25px;
    border-radius: 12px;
  }

  .current-tag {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .related-tag-link {
    padding: 10px 12px;
  }

  .popular-tag-link {
    padding: 6px 12px;
  }

  .no-posts-actions {
    flex-direction: column;
    align-items: center;
  }

  .no-posts-actions .btn-insights {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .newsletter-email {
    padding: 10px !important;
    border-radius: 50px !important;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
  .newsletter-submit {
    border-radius: 50px !important;
  }
}

@media (max-width: 480px) {
  .tag-hero-section {
    padding: 40px 0;
    margin-top: 40px;
  }

  .tag-title {
    font-size: 1.75rem;
  }

  .tag-badge {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .tag-description {
    font-size: 0.95rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .tag-posts-section {
    padding: 30px 0;
  }

  .post-content {
    padding: 20px;
  }

  .post-title {
    font-size: 1.1rem;
  }

  .post-excerpt {
    font-size: 0.95rem;
  }

  .tag-sidebar {
    padding: 20px;
  }

  .sidebar-widget .widget-title {
    font-size: 1.1rem;
  }

  .no-posts-title {
    font-size: 2rem;
  }

  .no-posts-message {
    font-size: 1rem;
  }
}

/* ============================================
   PAGE TEMPLATE STYLES
   ============================================ */

.page-content-wrapper {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.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-top: 1.5em;
  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;
  margin-bottom: 1.5em;
}

.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%;

  border-radius: 30px;
  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;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.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;
  border-radius: 8px !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;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-indent: 20px;
}
