/*
Theme Name: Business Formula
Theme URI: https://awplife.com/wordpress-free-theme/business-formula/
Template: formula
Author: A WP Life
Author URI: https://awplife.com/
Description: Business Formula is a high-performance, responsive child theme for the Formula WordPress theme. Tailored specifically for corporate websites, business agencies, financial consultants, startups, and professional services, Business Formula offers a refined modern corporate aesthetic, customized default styling, and seamless Elementor page builder integration.
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, flexible-header, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready
Version: 0.1.1
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: business-formula

Business Formula WordPress Theme, Copyright 2026 A WP Life
Business Formula is distributed under the terms of the GNU GPL.
*/

/*--------------------------------------------------------------
# Business Formula Custom Overrides
--------------------------------------------------------------*/

:root {
  --thm-font: 'Inter', sans-serif;
  --thm-primary: #8a2be2;
  --thm-primary-rgb: 138, 43, 226;
  --thm-black: #0f172a;
  --thm-gray: #64748b;
  --thm-light: #f8fafc;
}

/* ==========================================================================
   ACCESSIBILITY & KEYBOARD FOCUS INDICATORS (WCAG 2.4.7)
   ========================================================================== */

a:focus,
a:focus-visible,
button:focus-visible,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="url"]:focus-visible,
input[type="password"]:focus-visible,
input[type="search"]:focus-visible,
input[type="number"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="submit"]:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--thm-primary, #8a2be2);
  outline-offset: 2px;
}

.skip-link:focus,
.skip-link:focus-visible {
  background-color: var(--thm-black, #0f172a);
  color: #ffffff;
  outline: 2px solid var(--thm-primary, #8a2be2);
  outline-offset: 2px;
  top: 15px;
  left: 15px;
  z-index: 999999;
}

.nav-design-glass .menu>li>a:focus,
.nav-design-glass .menu>li>a:focus-visible,
.header-top-info a:focus,
.header-top-info a:focus-visible,
.topheader_bg a:focus,
.topheader_bg a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-design-glass .shopping-cart .cart-icon:focus,
.nav-design-glass .shopping-cart .cart-icon:focus-visible,
.shopping-cart .cart-icon:focus,
.shopping-cart .cart-icon:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* ==========================================================================
   EXACT FORMULA PREMIUM GLASSMORPHISM DESIGN
   ========================================================================== */

.section-header {
  padding: 0px;
}

header.nav-design-glass,
#site-header.nav-design-glass {
  background: transparent;
  box-shadow: none;
  border: none;
}

.nav-design-glass .nav-wrap {
  background: rgba(18, 18, 29, 0.50);
  border-radius: 0 0 16px 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.nav-design-glass .topheader_bg {
  background: rgba(18, 18, 29, 0.50);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
}

.nav-design-glass .header-top-info {
  background: transparent;
}

.nav-design-glass .header2_btn a {
  background: transparent;
  color: #ffffff;
}

.nav-design-glass .search-toggle-wrapper a.fa-search {
  color: #ffffff;
}

.nav-design-glass .header2_btn a:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ─── SPOTLIGHT SEARCH MODAL (GLOBAL) ───────────────────────────── */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  background: rgba(18, 18, 29, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: none;
  display: none;
}

.admin-bar .search-modal {
  top: 32px;
  height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {

  .admin-bar .search-modal {
    top: 46px;
    height: calc(100vh - 46px);
  }
}

.search-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.search-modal .search-modal-inner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
}

.search-modal .search-form .search-field,
.search-modal input[type="search"] {
  color: #ffffff;
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  margin-bottom: 0;
  height: 50px;
}

.search-modal .search-form .search-field:focus,
.search-modal .search-form .search-field:focus-visible,
.search-modal input[type="search"]:focus,
.search-modal input[type="search"]:focus-visible {
  border-bottom: 2px solid var(--thm-primary, #8a2be2);
  outline: none;
}

.search-modal button.search-untoggle,
.search-modal .search-submit {
  background-color: transparent;
  background: transparent;
  color: #ffffff;
  margin-bottom: 0;
  transition: color 0.2s ease, outline 0.2s ease;
}

.search-modal button.search-untoggle:focus,
.search-modal button.search-untoggle:focus-visible,
.search-modal .search-submit:focus,
.search-modal .search-submit:focus-visible {
  outline: 2px solid var(--thm-primary, #8a2be2);
  outline-offset: 2px;
  border-radius: 4px;
  color: var(--thm-primary, #8a2be2);
}

/* Slightly more opaque when sticky for content readability */
.nav-design-glass .nav-wrap.sticky-menu {
  background: rgba(18, 18, 29, 0.50);
}

/* Ensure header has consistent height & vertical alignment even if 0 menu items exist */
.nav-design-glass .nav-wrap,
.nav-design-glass .header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-design-glass .header-titles-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-design-glass .header-titles {
  display: flex;
  align-items: center;
}

.nav-design-glass .header-navigation-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.nav-design-glass .primary-menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-design-glass .search-toggle-wrapper {
  display: flex;
  align-items: center;
  margin-left: 16px;
}

/* ─── STRUCTURAL GLASS OVERRIDES ─── */
.nav-design-glass.header .menu>li>a {
  padding: 10px 0;
}

.nav-design-glass.header .menu>li>span.icon {
  top: calc(50% - 7.5px);
}

/* ─── GLOWING ANIMATED UNDERLINE (PRIMARY MENU) ─────────────────────── */
.nav-design-glass.header .menu>li:hover>a,
.nav-design-glass.header .menu>li.current-menu-item>a,
.nav-design-glass.header .menu>li.current-menu-ancestor>a,
.nav-design-glass.header .menu>li.current_page_ancestor>a,
.nav-design-glass.header .menu>li.current_page_item>a,
.nav-design-glass.header .menu>li.active>a {
  color: #ffffff;
}

.nav-design-glass .menu>li {
  position: relative;
  padding: 24px 0;
}

.nav-design-glass .menu>li::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 10%;
  width: 0;
  height: 2px;
  background-color: var(--thm-primary, #8a2be2);
  box-shadow: 0 0 12px 2px var(--thm-primary, #8a2be2);
  transition: all 0.3s ease;
  opacity: 0;
  border-radius: 4px;
  z-index: 9999;
  display: block;
  pointer-events: none;
}

.nav-design-glass .menu>li:hover::after,
.nav-design-glass .menu>li.current-menu-item::after,
.nav-design-glass .menu>li.current-menu-ancestor::after,
.nav-design-glass .menu>li.current_page_item::after,
.nav-design-glass .menu>li.active::after {
  width: 80%;
  opacity: 1;
}

/* ─── DISABLE PARENT THEME DROPDOWN TOP TRIANGLE CARETS ─────────────────── */
.header .menu .sub-menu::before,
.header .menu .sub-menu::after,
.primary-menu ul::before,
.primary-menu ul::after,
ul.dropdown-menu.sub-menu::before,
ul.dropdown-menu.sub-menu::after,
.nav-wrap .menu .sub-menu::before,
.nav-wrap .menu .sub-menu::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

/* ─── DROPDOWN CHEVRON INDICATORS ───────────────────────────────────────── */
.header .menu>li.menu-item-has-children>a::after,
.primary-menu>li.menu-item-has-children>a::after,
.nav-wrap .menu>li.menu-item-has-children>a::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free", "FontAwesome", "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease;
  color: inherit;
}

.header .menu>li.menu-item-has-children:hover>a::after,
.primary-menu>li.menu-item-has-children:hover>a::after,
.nav-wrap .menu>li.menu-item-has-children:hover>a::after {
  transform: rotate(180deg);
}

/* Nested Sub-Menu Arrow Right Indicator */
.header .menu .sub-menu .menu-item-has-children>a::after,
.primary-menu .sub-menu .menu-item-has-children>a::after,
.nav-wrap .menu .sub-menu .menu-item-has-children>a::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free", "FontAwesome", "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
  opacity: 0.6;
  transition: all 0.2s ease;
  display: inline-block;
}

.header .menu .sub-menu .menu-item-has-children>a:hover::after,
.primary-menu .sub-menu .menu-item-has-children>a:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(3px);
}

/* ─── SUB-MENU CONTAINER & TEXT OVERFLOW CONTAINMENT (GLASSMORPHISM) ───── */
.nav-design-glass .menu .sub-menu,
.nav-design-glass .nav-wrap .menu .sub-menu {
  background: rgba(18, 18, 29, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 8px 6px;
  min-width: 260px;
  width: max-content;
  max-width: 320px;
  box-sizing: border-box;

  /* Snappy Physics Reveal Animations */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top center;
}

/* First-Level Dropdown Alignment */
.nav-design-glass .menu>li>.sub-menu {
  left: 0;
  right: auto;
  top: 100%;
  margin-top: unset;
  transform-origin: top left;
}

/* Hover & Focus Reveal States */
.nav-design-glass .menu li:hover>.sub-menu,
.nav-design-glass .menu li:focus>.sub-menu,
.nav-design-glass .menu li:focus-within>.sub-menu,
.nav-design-glass .menu li.focus>.sub-menu,
.nav-design-glass .menu li.focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-design-glass .menu .sub-menu li {
  width: 100%;
  display: block;
  box-sizing: border-box;
  margin: 2px 0;
  position: relative;
}

.nav-design-glass .menu .sub-menu li a,
.nav-design-glass .header-inner .menu .sub-menu li a,
.nav-design-glass.header .menu .sub-menu li a {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  padding: 10px 18px;
  padding-right: 32px;
  border-radius: 8px;
  line-height: 1.45;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border-bottom: none;
  box-shadow: none;
  text-transform: none;
}

/* Hover & Focus Accent Highlight (Standard Sub-Menu Item) */
.nav-design-glass.header .menu .sub-menu li a:hover,
.nav-design-glass.header .menu .sub-menu li a:focus,
.nav-design-glass .header-inner .menu .sub-menu li a:hover,
.nav-design-glass .menu .sub-menu li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding-left: 20px;
}

/* Previous Level Highlight (Theme Default Color) ONLY when cursor enters nested child submenu */
.nav-design-glass.header .menu .sub-menu li.menu-item-has-children:has(> .sub-menu:hover)>a,
.nav-design-glass.header .menu .sub-menu li.menu-item-has-children:has(> .sub-menu:focus-within)>a,
.nav-design-glass .header-inner .menu .sub-menu li.menu-item-has-children:has(> .sub-menu:hover)>a,
.nav-design-glass .header-inner .menu .sub-menu li.menu-item-has-children:has(> .sub-menu:focus-within)>a,
.nav-design-glass .menu .sub-menu li.menu-item-has-children:has(> .sub-menu:hover)>a,
.nav-design-glass .menu .sub-menu li.menu-item-has-children:has(> .sub-menu:focus-within)>a,
.header .menu .sub-menu li.menu-item-has-children:has(> .sub-menu:hover)>a,
.primary-menu .sub-menu li.menu-item-has-children:has(> .sub-menu:hover)>a,
.nav-wrap .menu .sub-menu li.menu-item-has-children:has(> .sub-menu:hover)>a {
  background: var(--thm-primary, #8a2be2);
  color: #ffffff;
  padding-left: 20px;
}

.header .menu .sub-menu .menu-item-has-children:has(> .sub-menu:hover)>a::after,
.primary-menu .sub-menu .menu-item-has-children:has(> .sub-menu:hover)>a::after,
.nav-wrap .menu .sub-menu .menu-item-has-children:has(> .sub-menu:hover)>a::after,
.nav-design-glass .menu .sub-menu li.menu-item-has-children:has(> .sub-menu:hover)>a::after {
  opacity: 1;
  color: #ffffff;
  transform: translateY(-50%) translateX(3px);
}

/* Active / Current Page Sub-Menu Item */
.nav-design-glass.header .menu .sub-menu li.current-menu-item>a,
.nav-design-glass.header .menu .sub-menu li.current_page_item>a,
.nav-design-glass .header-inner .menu .sub-menu li.current-menu-item>a,
.nav-design-glass .header-inner .menu .sub-menu li.current_page_item>a,
.nav-design-glass .menu .sub-menu li.current-menu-item>a,
.nav-design-glass .menu .sub-menu li.current_page_item>a,
.header .menu .sub-menu li.current-menu-item>a,
.primary-menu .sub-menu li.current-menu-item>a,
.header .menu .sub-menu li.current_page_item>a {
  background: var(--thm-primary, #8a2be2);
  color: #ffffff;
  padding-left: 20px;
}

/* ─── NESTED SUB-MENU GLASSMORPHISM (DEPTH 3 & 4) ───────────────────────── */
.nav-design-glass .menu .sub-menu .sub-menu,
.nav-design-glass .header .menu>li>.sub-menu li>.sub-menu,
.header .menu>li>.sub-menu li>.sub-menu,
.nav-wrap .menu>li>.sub-menu li>.sub-menu {
  background: rgba(18, 18, 29, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 8px 6px;
  min-width: 240px;
  width: max-content;
  max-width: 320px;
  box-sizing: border-box;
  left: 100%;
  top: -8px;
  margin-top: 0;
  margin-left: 8px;
  transform-origin: left top;
}

/* Nested Sub-Menu Link Styling & Color Override */
.nav-design-glass .menu .sub-menu .sub-menu li a,
.nav-design-glass .header .menu>li>ul.sub-menu>li .sub-menu>li>a,
.header .menu>li>ul.sub-menu>li .sub-menu>li>a,
.nav-wrap .menu>li>ul.sub-menu>li .sub-menu>li>a {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  width: 100%;
  padding: 10px 18px;
  border-radius: 8px;
  line-height: 1.45;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  transition: all 0.2s ease;
  text-decoration: none;
  background: transparent;
  border-bottom: none;
}

.nav-design-glass .menu .sub-menu .sub-menu li a:hover,
.nav-design-glass .header .menu>li>ul.sub-menu>li .sub-menu>li:hover>a,
.header .menu>li>ul.sub-menu>li .sub-menu>li:hover>a,
.nav-wrap .menu>li>ul.sub-menu>li .sub-menu>li:hover>a {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding-left: 20px;
}

/* Hover Bridge for smooth mouse movement into nested dropdown */
.nav-design-glass .menu .sub-menu li.menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 25px;
  height: 100%;
  background: transparent;
  display: block;
  z-index: 999;
}

/* Admin bar header fix */
.admin-bar #site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #site-header {
    top: 46px;
  }
}

/* ==========================================================================
   SLEEK FRAMELESS SEARCH BUTTON & COMPACT CART BADGE HOVER FIX
   ========================================================================== */

/* ─── 1. Header Navigation Wrapper Tight Gap ────────────────────────────── */
.header-navigation-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── 2. Search Toggle Icon Button Spacing & Size Fix ────────────────────── */
.nav-search-btn,
.search-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  margin-right: 0;
}

.search-toggle-wrapper button.search-toggle,
.search-toggle-wrapper .desktop-search-toggle,
button.search-toggle {
  background: transparent;
  background-color: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  padding: 4px 6px;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  transition: color 0.3s ease, outline 0.2s ease;
}

.search-toggle::before,
button.search-toggle::before {
  content: none;
  display: none;
}

.search-toggle-wrapper button.search-toggle:hover,
button.search-toggle:hover {
  color: var(--thm-primary, #8a2be2);
}

.search-toggle-wrapper button.search-toggle:focus,
.search-toggle-wrapper button.search-toggle:focus-visible,
.search-toggle-wrapper .desktop-search-toggle:focus,
.search-toggle-wrapper .desktop-search-toggle:focus-visible,
button.search-toggle:focus,
button.search-toggle:focus-visible {
  outline: 2px solid var(--thm-primary, #8a2be2);
  outline-offset: 3px;
  border-radius: 4px;
  color: var(--thm-primary, #8a2be2);
}

.search-toggle-wrapper button.search-toggle i,
.search-toggle-wrapper button.search-toggle .toggle-inner i,
button.search-toggle i {
  color: #ffffff;
  font-size: 16px;
  transition: color 0.3s ease;
}

.search-toggle-wrapper button.search-toggle:hover i,
.search-toggle-wrapper button.search-toggle:focus i,
.search-toggle-wrapper button.search-toggle:focus-visible i,
.search-toggle-wrapper .desktop-search-toggle:focus i,
.search-toggle-wrapper .desktop-search-toggle:focus-visible i,
button.search-toggle:hover i,
button.search-toggle:focus i,
button.search-toggle:focus-visible i {
  color: var(--thm-primary, #8a2be2);
}

/* ─── 3. WooCommerce Shopping Cart Icon & Compact Badge ──────────────────── */
.nav-design-glass .shopping-cart,
.shopping-cart.menu-item,
li.shopping-cart,
div.shopping-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  margin-right: 0;
  padding: 0;
}

.nav-design-glass .shopping-cart .cart-icon,
.nav-design-glass .menu .shopping-cart .cart-icon,
.header .menu .shopping-cart .cart-icon,
.shopping-cart .cart-icon {
  width: 36px;
  height: 36px;
  font-size: 15px;
  margin: 0;
  margin-left: 0;
  margin-right: 0;
  background: var(--thm-primary, #8a2be2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  border: none;
}

.shopping-cart .cart-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
  color: #ffffff;
}

/* Balanced gap between Cart and Search Icon when Cart is present */
.nav-design-glass .header-navigation-wrapper:has(.shopping-cart) .search-toggle-wrapper,
.nav-design-glass .primary-menu-wrapper:has(.shopping-cart)+.search-toggle-wrapper {
  margin-left: 10px;
}

/* Prevent cart-total number from disappearing or turning white on hover */
.shopping-cart .cart-total,
.shopping-cart .cart-total:hover,
.shopping-cart:hover .cart-total,
.shopping-cart a.cart-total,
.shopping-cart a.cart-total:hover,
.menu .shopping-cart:hover .cart-total,
.header .menu .shopping-cart:hover .cart-total {
  position: absolute;
  top: 17px;
  right: -5px;
  background: #ffffff;
  color: #0f172a;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 99;
  opacity: 1;
  visibility: visible;
  text-decoration: none;
  pointer-events: none;
}

/* ==========================================================================
   FORMULA PREMIUM EXACT PORTFOLIO DESIGN (WITH ROUNDED CORNERS)
   ========================================================================== */
.portfolio {
  padding: 80px 0;
}

.portfolio .portfolio-thumbnail {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  background: #0b0c14;
  transition: box-shadow 0.4s ease;
}

.portfolio .post:hover .portfolio-thumbnail {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.portfolio .portfolio-thumbnail img {
  border-radius: 16px 16px 0 0;
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio .post:hover .portfolio-thumbnail img {
  transform: scale(1.04);
}

/* Action Icons Overlay Badge (Flush directly above figcaption) */
.portfolio-thumbnail figcaption .portfolio-overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  top: auto;
  right: auto;
  width: auto;
  height: auto;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
  z-index: 10;
  line-height: 0;
  font-size: 0;
  margin: 0;
  padding: 0;
}

.portfolio .post:hover .portfolio-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}

.portfolio-thumbnail .portfolio-overlay-inner {
  display: block;
  line-height: 0;
  font-size: 0;
  margin: 0;
  padding: 0;
}

.portfolio-thumbnail .portfolio-icons {
  background: #12121d;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px 4px 0 0;
  vertical-align: bottom;
  line-height: 1;
  margin: 0;
}

/* Individual Icon Link Style */
.portfolio-thumbnail .portfolio-icons a {
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

/* Only the individually hovered icon button turns solid purple */
.portfolio-thumbnail .portfolio-icons a:hover {
  background: var(--thm-primary, #8a2be2);
  color: #ffffff;
  opacity: 1;
  transform: none;
}

/* Bottom Figcaption Box */
.portfolio .portfolio-thumbnail figcaption {
  position: relative;
  width: 100%;
  padding: 20px 20px 40px 20px;
  background: #0b0c14;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  transition: background 0.3s ease;
  text-align: left;
  border-radius: 0 0 16px 16px;
}

/* Subtitle / Category Tag */
.portfolio .portfolio-thumbnail figcaption p.branding {
  color: #a855f7;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 4px 0;
  padding: 0;
  line-height: 1.2;
  transition: color 0.3s ease;
}

/* Entry Title Directly Below Category */
.portfolio .portfolio-thumbnail figcaption .entry-title {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.portfolio .portfolio-thumbnail figcaption .entry-title a {
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}

/* Title Underline Accent Line (Stays fixed below title) */
.portfolio .portfolio-thumbnail figcaption .entry-title a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

/* On hover, line extends to the right smoothly */
.portfolio .post:hover figcaption .entry-title a::after {
  width: 55px;
}

/* ==========================================================================
   FORMULA PREMIUM EXACT SERVICES SECTION DESIGN
   ========================================================================== */
section.service,
#service-selector-scroll.service {
  background-color: #06070d;
  padding: 100px 0;
  position: relative;
}

/* Universal Section Subtitle Matching Formula Premium */
.section-header .section-subtitle,
.service .section-header .section-subtitle,
.home-news .section-header .section-subtitle,
.home-team .section-header .section-subtitle,
.portfolio .section-header .section-subtitle,
.testimonial .section-header .section-subtitle,
.funfact .section-header .section-subtitle {
  color: var(--thm-primary, #8a2be2);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  display: inline-block;
}

.service .section-header .section-title {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  position: relative;
}

.service .section-header .divider-line {
  width: 50px;
  height: 3px;
  background-color: var(--thm-primary, #8a2be2);
  margin: 0 auto 50px auto;
  border-radius: 2px;
}

/* Service Box Cards Grid */
.service .service-box {
  margin-bottom: 30px;
}

.service .service-box article.post {
  background: #0d0e17;
  border-radius: 16px;
  padding: 50px 40px 90px 32px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card Header Title */
.service .service-box .entry-header .entry-title,
.service .service-box .entry-header .entry-title a {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin: 0 0 20px 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Card Content Body Text */
.service .service-box .entry-content p {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

/* More Link with Accent Line */
.service .service-box .entry-content .more-link {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

/* Remove parent theme ::before on service more-link so only ::after stays */
.service .service-box .entry-content .more-link::before,
.service .post .more-link::before,
.service .more-link::before {
  display: none;
  content: none;
}

.service .service-box .entry-content .more-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 15px;
  height: 2px;
  background-color: #94a3b8;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.service .service-box article.post:hover .entry-content .more-link::after {
  width: 25px;
  background-color: #ffffff;
}

/* Bottom-Right Icon Badge (Unhovered Normal State) */
.service .service-box .service-icon {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease, transform 0.35s ease;
}

.service .service-box .service-icon i,
.service .service-box .service-icon a i {
  color: var(--thm-primary, #8a2be2);
  font-size: 18px;
  transition: color 0.35s ease;
}

/* SOLID PURPLE CARD HOVER STATE */
.service .service-box article.post:hover {
  background: var(--thm-primary, #8a2be2);
  transform: translateY(-5px);
  border-color: var(--thm-primary, #8a2be2);
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.35);
}

.service .service-box article.post:hover .entry-header .entry-title,
.service .service-box article.post:hover .entry-header .entry-title a {
  color: #ffffff;
}

.service .service-box article.post:hover .entry-content p {
  color: rgba(255, 255, 255, 0.85);
}

.service .service-box article.post:hover .entry-content .more-link {
  color: #ffffff;
}

/* On Card Hover: Icon Badge turns semi-transparent white/purple with white icon */
.service .service-box article.post:hover .service-icon {
  background: rgba(255, 255, 255, 0.18);
}

.service .service-box article.post:hover .service-icon i,
.service .service-box article.post:hover .service-icon a i {
  color: #ffffff;
}

/* ==========================================================================
   FORMULA PREMIUM EXACT FUNFACTS SECTION DESIGN MATCH
   ========================================================================== */
section.funfact,
#section.funfact {
  position: relative;
  background-color: #06070d;
  padding: 150px 0;
}

.funfact .funfact-inner {
  position: relative;
  background: #000000;
  padding: 35px 25px;
  border-bottom: 2px solid var(--thm-primary, #8a2be2);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funfact .funfact-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.funfact i.funfact-icon {
  font-size: 48px;
  color: var(--thm-primary, #8a2be2);
  line-height: 1;
  margin-bottom: 15px;
  display: block;
}

.funfact .funfact-title {
  font-size: 38px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
  margin-top: 10px;
  letter-spacing: -0.5px;
}

.funfact .funfact-inner .description {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 2px;
}

/* ==========================================================================
   FORMULA PREMIUM EXACT BLOG SECTION DESIGN MATCH
   ========================================================================== */
section.home-news,
#blog-selector-scroll.home-news {
  background-color: #ffffff;
  padding: 100px 0;
  position: relative;
}

/* Remove parent theme ::after pseudo-element on blog section */
.blog.home-news::after,
.blog.home-news.blog-modern::after,
.blog-modern.home-news.blog::after,
.home-news.blog::after,
.blog-modern::after {
  display: none !important;
  content: none !important;
}

/* Header Row & Left Alignment */
.home-news .section-header-row {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.home-news .section-header.text-left {
  text-align: left;
  margin-bottom: 0;
}

.home-news .section-header .section-title {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  text-align: left;
  position: relative;
}

.home-news .section-header .divider-line {
  width: 50px;
  height: 3px;
  background-color: var(--thm-primary, #8a2be2);
  margin: 0;
  border-radius: 2px;
}

/* Top-Right Header Action Link */
.home-news .header-button-col {
  text-align: right;
  margin-bottom: 10px;
}

.home-news .blog-header-link {
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.home-news .blog-header-link:hover {
  color: var(--thm-primary, #8a2be2);
}

/* Modern Blog Layout Grid & Cards */
.modern-blog-wrapper {
  margin-bottom: 40px;
}

@media (min-width: 992px) {

  .modern-blog-wrapper,
  .home-news .col-md-4,
  .home-news .col-xl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    width: 33.333333%;
    float: left;
  }
}

.modern-post {
  transition: all 400ms ease;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.modern-post:hover {
  transform: translateY(-10px);
}

.modern-post-thumbnail {
  position: relative;
  margin: 0 0 20px 0;
  overflow: hidden;
  border-radius: 0px;
}

.modern-post-thumbnail img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}

.modern-post:hover .modern-post-thumbnail img {
  transform: scale(1.05);
}

.modern-cat-tags-wrap {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
  max-width: calc(100% - 40px);
}

.modern-cat-tag {
  display: inline-block;
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.25s ease;
}

.modern-cat-tag:hover {
  background-color: #ffffff;
  color: var(--thm-primary, #8a2be2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.modern-blog-content {
  padding: 20px 0 0;
  display: block;
}

.modern-entry-meta {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: transparent;
}

.meta-separator {
  margin: 0 10px;
  color: #cbd5e1;
}

.modern-entry-title {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 15px 0;
  letter-spacing: -0.5px;
}

.modern-entry-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 300ms ease;
}

.modern-entry-title a:hover {
  color: var(--thm-primary, #8a2be2);
}

.modern-entry-content {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 15px;
}

/* Hide parent theme's auto-injected more-link from the_excerpt to prevent duplicate buttons */
.modern-entry-content .more-link {
  display: none !important;
}

.modern-read-more {
  margin-top: 5px;
}

.modern-btn-link {
  color: var(--thm-primary, #8a2be2);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 300ms ease;
}

.modern-btn-link .arrow {
  margin-left: 8px;
  transition: transform 300ms ease;
}

.modern-btn-link:hover .arrow {
  transform: translateX(5px);
}

.modern-btn-link:hover {
  letter-spacing: 0.5px;
}

/* ==========================================================================
   FORMULA PREMIUM EXACT MEET THE TEAM SECTION DESIGN MATCH
   ========================================================================== */
section.home-team,
#team-selector-scroll.home-team {
  background-color: #ffffff;
  padding: 100px 0;
  position: relative;
}

.home-team .section-header {
  margin-bottom: 50px;
}

.home-team .section-header .section-title {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.home-team .section-header .divider-line {
  width: 50px;
  height: 3px;
  background-color: var(--thm-primary, #8a2be2);
  margin: 0 auto;
  border-radius: 2px;
}

/* Team Grid Columns */
@media (min-width: 992px) {
  .home-team .team-col {
    flex: 0 0 25%;
    max-width: 25%;
    width: 25%;
    float: left;
  }
}

/* Team Module & Avatar */
.team-module {
  background-color: transparent;
  padding: 0;
  margin: 0 0 40px;
  position: relative;
  width: 100%;
  border-radius: 16px;
}

.team-avatar {
  text-align: center;
  position: relative;
  line-height: 0;
  font-size: 0;
  width: 100%;
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
}

.team-avatar img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 600ms ease;
}

.team-module:hover .team-avatar img {
  transform: scale(1.04);
}

/* Dark Floating Bottom-Left Caption Box */
.team-caption {
  position: absolute;
  display: block;
  background-color: #06070d;
  padding: 20px 30px 30px;
  transition: background 400ms ease, transform 400ms ease;
  max-width: 80%;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  border-radius: 0 16px 0 16px;
}

.team-module:hover .team-caption {
  background-color: var(--thm-primary, #8a2be2);
}

/* Social Icons Slide-Up Overlay */
.team-caption .team-social-icons {
  position: absolute;
  top: -37px;
  left: 0;
  display: flex;
  margin-top: 0;
  z-index: 5;
  overflow: hidden;
}

.team-caption .team-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  background-color: #06070d;
  height: 37px;
  width: 37px;
  transition: transform 0.35s ease, background-color 0.25s ease, opacity 0.35s ease;
  transform: translateY(70px);
  opacity: 0;
}

.team-module:hover .team-caption .team-social-icons a {
  transform: translateY(0);
  opacity: 1;
}

.team-caption .team-social-icons a:hover {
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
}

.team-caption .team-social-icons a i {
  font-size: 13px;
  line-height: 1;
}

/* Designation & Member Name */
.team-caption .designation {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 4px 0;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 400ms ease;
}

.team-module:hover .team-caption .designation {
  color: #ffffff;
}

.team-caption .name {
  position: relative;
  font-size: 18px;
  color: #ffffff;
  line-height: 1.3;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.3px;
  display: inline-block;
  cursor: pointer;
}

.team-caption .name:before {
  content: "" !important;
  height: 2px !important;
  width: 15px !important;
  background-color: #ffffff !important;
  transition: width 400ms ease !important;
}

.team-module:hover .team-caption .name:before {
  width: 100% !important;
}

/* ==========================================================================
   FORMULA PREMIUM EXACT CALLOUT TO ACTION (CTA) SECTION DESIGN MATCH
   ========================================================================== */
section.callout-to-action,
#cta-selector-scroll.callout-to-action {
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
  padding: 110px 0;
  width: 100%;
}

/* Dark Backdrop Overlay */
section.callout-to-action::before,
#cta-selector-scroll.callout-to-action::before {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background-color: rgba(2, 6, 23, 0.95);
}

.callout-to-action .row,
.callout-to-action .callout-inner-txt,
.callout-to-action .m-top-40 {
  position: relative;
  z-index: 2;
}

/* CTA Title */
.callout-to-action .title {
  font-size: 52px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: -0.5px;
}

/* CTA Subtitle / Description */
.callout-to-action .subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto 40px auto;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  display: block;
}

/* CTA Pill Button */
.callout-to-action .m-top-40 {
  margin-top: 40px;
  text-align: center;
}

.callout-to-action .thm-btn {
  display: inline-block;
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  padding: 16px 44px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(138, 43, 226, 0.35);
  border: none;
}

.callout-to-action .thm-btn:hover {
  background-color: #ffffff;
  color: #06070d;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   FORMULA PREMIUM EXACT CLIENT / SPONSORS SECTION DESIGN MATCH
   ========================================================================== */
section.sponsors,
#client-selector-scroll.sponsors {
  background-color: #ffffff;
  padding: 100px 0 120px 0;
  position: relative;
  overflow: hidden;
}

.sponsors .section-header {
  margin-bottom: 50px;
}

.sponsors .section-header .section-title {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.sponsors .section-header .divider-line {
  width: 50px;
  height: 3px;
  background-color: var(--thm-primary, #8a2be2);
  margin: 0 auto;
  border-radius: 2px;
}

/* Partner Card Item Structure */
.sponsors .item,
.sponsors .partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
}

/* Fixed Height Logo Container for Consistent Vertical Alignment */
.client-logo-wrap,
.partner-logo {
  height: 140px;
  min-height: 140px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

/* Grayscale to Full-Color Logo Hover Transition */
.sponsors .item img,
.partner-logo img,
.client-logo-wrap img {
  opacity: 0.5;
  filter: grayscale(100%);
  margin: 0 auto;
  width: 75%;
  max-width: 220px;
  max-height: 180px;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 400ms ease, filter 400ms ease, transform 400ms ease;
}

.sponsors .item:hover img,
.partner-card:hover img,
.partner-logo:hover img,
.client-logo-wrap:hover img {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* Partner Title & Subtitle Typography */
.client-title,
.partner-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

/* ==========================================================================
   FORMULA PREMIUM EXACT FOOTER & FOOTER WIDGETS DESIGN MATCH
   ========================================================================== */
footer#footer.footer,
footer.footer.theme-dark {
  background-color: #06070d;
  color: #8f8da0;
  position: relative;
}

.site-footer {
  padding-bottom: 20px;
}

/* Glassmorphism Footer Widget Card Surface */
.site-footer .widget,
.footer-nav-widgets-wrapper .widget,
.footer-widgets-outer-wrapper .widget {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  border-top: 4px solid var(--thm-primary, #8a2be2);
  padding: 30px 24px;
  margin-bottom: 30px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  display: block;
}

.site-footer .widget:hover,
.footer-nav-widgets-wrapper .widget:hover,
.footer-widgets-outer-wrapper .widget:hover {
  border-color: rgba(255, 255, 255, 0.15);
  border-top-color: var(--thm-primary, #8a2be2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Widget Title Styling */
.site-footer .widget-title,
.site-footer .widget .widget-title,
.footer-nav-widgets-wrapper .widget-title,
.footer-widgets-outer-wrapper .widget-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: none;
  padding-bottom: 0;
}

.site-footer .widget-title::after {
  display: none;
}

/* Widget List Items & Clean Divider Lines */
.site-footer .widget ul,
.site-footer .widget_categories ul,
.site-footer .widget_archive ul,
.site-footer .widget_nav_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .widget ul li,
.site-footer .widget_categories ul li,
.site-footer .widget_archive ul li,
.site-footer .widget_nav_menu ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 10px 0;
  margin: 0;
}

.site-footer .widget ul li:last-child,
.site-footer .widget_categories ul li:last-child,
.site-footer .widget_archive ul li:last-child,
.site-footer .widget_nav_menu ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.site-footer .widget ul li a,
.site-footer .widget_categories ul li a,
.site-footer .widget_archive ul li a,
.site-footer .widget_nav_menu ul li a {
  color: #8f8da0;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

.site-footer .widget ul li a::before,
.site-footer .widget_nav_menu ul li a::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  transition: color 0.25s ease;
}

.site-footer .widget ul li a:hover,
.site-footer .widget_categories ul li a:hover,
.site-footer .widget_archive ul li a:hover,
.site-footer .widget_nav_menu ul li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.site-footer .widget ul li a:hover::before,
.site-footer .widget_nav_menu ul li a:hover::before {
  color: var(--thm-primary, #8a2be2);
}

/* Text / Brand Profile Widget Typography */
.site-footer p,
.site-footer .widget p,
.site-footer .widget address {
  color: #8f8da0;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.site-footer .widget p a,
.site-footer .widget address a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer .widget p a:hover,
.site-footer .widget address a:hover {
  color: var(--thm-primary, #8a2be2);
}

/* Tag Cloud Widget Capsule Badges with Post Counts */
.site-footer .widget_tag_cloud .tagcloud,
.site-footer .wp-block-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer .widget_tag_cloud .tagcloud a,
.site-footer .wp-block-tag-cloud a {
  font-size: 12px;
  font-weight: 600;
  color: #8f8da0;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .widget_tag_cloud .tagcloud a:hover,
.site-footer .wp-block-tag-cloud a:hover {
  background-color: rgba(138, 43, 226, 0.15);
  color: #ffffff;
  border-color: var(--thm-primary, #8a2be2);
  transform: translateY(-2px);
}

/* Footer Copyrights Bar & Flex Alignment */
.footer-copyrights {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding: 30px 0;
  position: relative;
}

.footer-copyrights-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyrights-inner.alignment-split {
  justify-content: space-between;
}

.footer-copyrights-inner.alignment-left {
  justify-content: flex-start;
  gap: 30px;
}

.footer-copyrights-inner.alignment-right {
  justify-content: flex-end;
  gap: 30px;
}

.footer-copyrights-inner.alignment-center {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 15px;
}

.footer-copyrights .site-info {
  color: #8f8da0;
  font-size: 14px;
  margin: 0;
}

.footer-copyrights .site-info a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-copyrights .site-info a:hover {
  color: var(--thm-primary, #8a2be2);
}

/* Footer Social Icons Circular Pill Badges */
.footer-social-icons {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 12px;
}

.footer-social-icons li {
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 14px;
  color: #8f8da0;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.footer-social-icons a:hover,
.footer-social-icons a:focus {
  color: #ffffff;
  background-color: var(--thm-primary, #8a2be2);
  border-color: var(--thm-primary, #8a2be2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

@media (max-width: 767px) {
  .footer-copyrights-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* ==========================================================================
   FORMULA PREMIUM COMPLETE SIDEBAR & SIDEBAR WIDGETS DESIGN SYSTEM MATCH
   ========================================================================== */

/* Main Site Content Flexbox Layout & Sticky Sidebar Container */
.site-content>.container>.row,
.site-content>.container-full>.row {
  display: flex;
  flex-wrap: wrap;
}

/* Sticky Sidebar Mode */
.sidebar>.widget-sticky,
.sidebar>div:has(.widget-sticky) {
  position: -webkit-sticky;
  position: sticky;
  top: 150px;
  z-index: 10;
  height: max-content;
}

/* Sidebar Widget Clean Surface Card Box */
#secondary .widget,
.sidebar .widget {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  border-top: 4px solid var(--thm-primary, #8a2be2);
  padding: 28px 24px;
  margin-bottom: 30px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  display: block;
}

#secondary .widget:hover,
.sidebar .widget:hover {
  border-color: #cbd5e1;
  border-top-color: var(--thm-primary, #8a2be2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Sidebar Widget Title Accent (Classic & Gutenberg Blocks) */
#secondary .widget-title,
#secondary .widget .widget-title,
#secondary .widgettitle,
.sidebar .widget-title,
.sidebar .widget .widget-title,
.sidebar .widgettitle,
#secondary .wp-block-heading,
.sidebar .wp-block-heading,
.widget_block .wp-block-heading,
.widget_block h2,
.widget_block h3,
.widget_block h4,
.sidebar .widget_block .wp-block-group .wp-block-heading,
.sidebar .widget_block .is-layout-flow>.wp-block-heading,
#secondary .widget_block .is-layout-flow>.wp-block-heading,
#secondary .wp-block-search .wp-block-search__label,
.sidebar .wp-block-search .wp-block-search__label,
.widget_block .wp-block-search .wp-block-search__label {
  padding: 0 0 12px;
  margin-top: 0;
  margin-bottom: 24px;
  margin-block-end: 24px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: block;
  width: 100%;
}

#secondary .widget-title::after,
#secondary .widgettitle::after,
.sidebar .widget-title::after,
.sidebar .widgettitle::after,
#secondary .wp-block-heading::after,
.sidebar .wp-block-heading::after,
.widget_block .wp-block-heading::after,
.widget_block h2::after,
.widget_block h3::after,
.widget_block h4::after,
.sidebar .widget_block .wp-block-group .wp-block-heading::after,
.sidebar .widget_block .is-layout-flow>.wp-block-heading::after,
#secondary .widget_block .is-layout-flow>.wp-block-heading::after,
#secondary .wp-block-search .wp-block-search__label::after,
.sidebar .wp-block-search .wp-block-search__label::after,
.widget_block .wp-block-search .wp-block-search__label::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--thm-primary, #8a2be2);
  position: absolute;
  bottom: -2px;
  left: 0;
  border-radius: 2px;
  display: block;
}

/* Ensure all widget body content & lists have clean top clearance from title underline */
#secondary .widget>ul,
.sidebar .widget>ul,
#secondary .widget>ol,
.sidebar .widget>ol,
#secondary .widget_block>ul,
.sidebar .widget_block>ul,
#secondary .widget_block>ol,
.sidebar .widget_block>ol,
#secondary .wp-block-heading+*,
.sidebar .wp-block-heading+*,
.widget_block .wp-block-heading+*,
.sidebar .widget_block .is-layout-flow>.wp-block-heading+*,
#secondary .widget_block .is-layout-flow>.wp-block-heading+*,
.widget_block .widget-title+*,
#secondary .wp-block-latest-posts,
.sidebar .wp-block-latest-posts,
.widget_block .wp-block-latest-posts,
.sidebar .widget_block .wp-block-latest-posts,
#secondary .wp-block-latest-comments,
.sidebar .wp-block-latest-comments,
.widget_block .wp-block-latest-comments,
.sidebar .widget_block .wp-block-latest-comments,
#secondary .wp-block-categories,
.sidebar .wp-block-categories,
.widget_block .wp-block-categories,
.sidebar .widget_block .wp-block-categories,
#secondary .wp-block-archives,
.sidebar .wp-block-archives,
.widget_block .wp-block-archives,
.sidebar .widget_block .wp-block-archives,
#secondary .wp-block-tag-cloud,
.sidebar .wp-block-tag-cloud,
.widget_block .wp-block-tag-cloud,
#secondary .tagcloud,
.sidebar .tagcloud {
  margin-top: 24px;
  margin-block-start: 24px;
  padding-top: 0;
}

/* Sidebar Search Widget Form (Formula Pro Exact Match - Classic & Gutenberg Block Search) */
#secondary .widget_search form,
.sidebar .widget_search form,
#secondary .search-form,
.sidebar .search-form,
#secondary .wp-block-search,
.sidebar .wp-block-search,
.widget_block .wp-block-search {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
}

/* Explicitly disable ::after on the outer .wp-block-search container to prevent duplicate icons */
#secondary .wp-block-search::after,
.sidebar .wp-block-search::after,
.widget_block .wp-block-search::after,
#secondary form.wp-block-search::after,
.sidebar form.wp-block-search::after {
  display: none;
  content: none;
}

#secondary .wp-block-search .wp-block-search__inside-wrapper,
.sidebar .wp-block-search .wp-block-search__inside-wrapper,
.widget_block .wp-block-search .wp-block-search__inside-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
}

#secondary .widget_search form label,
.sidebar .widget_search form label,
#secondary .search-form label,
.sidebar .search-form label {
  width: 100%;
  margin-bottom: 0;
  display: block;
}

#secondary .widget_search form label:last-child,
.sidebar .widget_search form label:last-child,
#secondary .search-form label:last-child,
.sidebar .search-form label:last-child {
  width: auto;
  position: static;
}

/* Single Icon on Classic Search form and Gutenberg inside-wrapper ONLY */
#secondary .widget_search form:not(.wp-block-search)::after,
.sidebar .widget_search form:not(.wp-block-search)::after,
#secondary .search-form:not(.wp-block-search)::after,
.sidebar .search-form:not(.wp-block-search)::after,
#secondary .wp-block-search .wp-block-search__inside-wrapper::after,
.sidebar .wp-block-search .wp-block-search__inside-wrapper::after,
.widget_block .wp-block-search .wp-block-search__inside-wrapper::after {
  content: "\f002";
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  font-size: 14px;
  color: #94a3b8;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.25s ease;
  z-index: 1;
}

#secondary .widget_search form:not(.wp-block-search):hover::after,
.sidebar .widget_search form:not(.wp-block-search):hover::after,
#secondary .search-form:not(.wp-block-search):hover::after,
.sidebar .search-form:not(.wp-block-search):hover::after,
#secondary .widget_search form:not(.wp-block-search):focus-within::after,
.sidebar .widget_search form:not(.wp-block-search):focus-within::after,
#secondary .wp-block-search .wp-block-search__inside-wrapper:hover::after,
.sidebar .wp-block-search .wp-block-search__inside-wrapper:hover::after,
#secondary .wp-block-search .wp-block-search__inside-wrapper:focus-within::after,
.sidebar .wp-block-search .wp-block-search__inside-wrapper:focus-within::after,
.widget_block .wp-block-search .wp-block-search__inside-wrapper:hover::after,
.widget_block .wp-block-search .wp-block-search__inside-wrapper:focus-within::after {
  color: var(--thm-primary, #8a2be2);
}

#secondary .widget_search input[type="search"],
.sidebar .widget_search input[type="search"],
#secondary .widget_search input[type="text"],
.sidebar .widget_search input[type="text"],
#secondary .search-field,
.sidebar .search-field,
#secondary .wp-block-search__input,
.sidebar .wp-block-search__input,
.widget_block .wp-block-search__input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 50px 12px 16px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
  height: 48px;
  box-shadow: none;
  box-sizing: border-box;
}

#secondary .widget_search input[type="search"]:focus,
.sidebar .widget_search input[type="search"]:focus,
#secondary .widget_search input[type="text"]:focus,
.sidebar .widget_search input[type="text"]:focus,
#secondary .search-field:focus,
.sidebar .search-field:focus,
#secondary .wp-block-search__input:focus,
.sidebar .wp-block-search__input:focus,
.widget_block .wp-block-search__input:focus {
  border-color: var(--thm-primary, #8a2be2);
  background: #ffffff;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.12);
}

/* Single Frameless Submit Click Overlay (Classic & Gutenberg Blocks) */
#secondary .widget_search button[type="submit"],
.sidebar .widget_search button[type="submit"],
#secondary .widget_search input[type="submit"],
.sidebar .widget_search input[type="submit"],
#secondary .search-submit,
.sidebar .search-submit,
#secondary .wp-block-search__button,
.sidebar .wp-block-search__button,
.widget_block .wp-block-search__button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: transparent;
  font-size: 0;
  padding: 0;
  margin: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  cursor: pointer;
  z-index: 3;
  box-shadow: none;
}

#secondary .widget_search button[type="submit"]:hover,
.sidebar .widget_search button[type="submit"]:hover,
#secondary .widget_search input[type="submit"]:hover,
.sidebar .widget_search input[type="submit"]:hover,
#secondary .search-submit:hover,
.sidebar .search-submit:hover,
#secondary .wp-block-search__button:hover,
.sidebar .wp-block-search__button:hover,
.widget_block .wp-block-search__button:hover {
  background: transparent;
  color: transparent;
}

/* Sidebar Widget List Items & Dividers (Classic & Gutenberg Blocks) */
#secondary .widget ul,
.sidebar .widget ul,
#secondary .widget_block ul,
.sidebar .widget_block ul,
.widget_block .wp-block-categories,
.widget_block .wp-block-archives,
.widget_block .wp-block-latest-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

#secondary .widget ul li,
.sidebar .widget ul li,
#secondary .widget_block ul li,
.sidebar .widget_block ul li {
  border-bottom: 1px solid #f1f5f9;
  padding: 11px 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#secondary .widget ul li:last-child,
.sidebar .widget ul li:last-child,
#secondary .widget_block ul li:last-child,
.sidebar .widget_block ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#secondary .widget ul li a,
.sidebar .widget ul li a,
#secondary .widget_block ul li a,
.sidebar .widget_block ul li a {
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease, color 0.25s ease;
}

#secondary .widget ul li a::before,
.sidebar .widget ul li a::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
  color: #94a3b8;
  font-size: 12px;
  transition: color 0.25s ease;
}

#secondary .widget ul li a:hover,
.sidebar .widget ul li a:hover {
  color: var(--thm-primary, #8a2be2);
  transform: translateX(4px);
}

#secondary .widget ul li a:hover::before,
.sidebar .widget ul li a:hover::before {
  color: var(--thm-primary, #8a2be2);
}

/* Category & Archive Count Badges */
#secondary .widget ul li .post-count,
.sidebar .widget ul li .post-count,
#secondary .widget_categories ul li span,
.sidebar .widget_categories ul li span,
#secondary .widget_archive ul li span,
.sidebar .widget_archive ul li span {
  color: var(--thm-primary, #8a2be2);
  font-size: 12px;
  font-weight: 600;
  background: rgba(138, 43, 226, 0.08);
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 8px;
}

/* ==========================================================================
   SIDEBAR RECENT POSTS WIDGET (FORMULA PREMIUM EXACT MATCH)
   ========================================================================== */
#secondary .widget_recent_entries ul,
.sidebar .widget_recent_entries ul,
#secondary .wp-block-latest-posts,
.sidebar .wp-block-latest-posts {
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
}

#secondary .widget_recent_entries ul li,
.sidebar .widget_recent_entries ul li,
#secondary .wp-block-latest-posts li,
.sidebar .wp-block-latest-posts li {
  padding: 13px 0;
  margin: 0;
  border-bottom: 1px solid #f1f5f9;
  display: block;
  width: 100%;
  transition: all 0.25s ease;
}

#secondary .widget_recent_entries ul li:last-child,
.sidebar .widget_recent_entries ul li:last-child,
#secondary .wp-block-latest-posts li:last-child,
.sidebar .wp-block-latest-posts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#secondary .widget_recent_entries ul li a,
.sidebar .widget_recent_entries ul li a,
#secondary .wp-block-latest-posts li a,
.sidebar .wp-block-latest-posts li a {
  font-size: 14.5px;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  display: block;
  line-height: 1.45;
  margin-bottom: 4px;
  transition: all 0.25s ease;
}

#secondary .widget_recent_entries ul li a::before,
.sidebar .widget_recent_entries ul li a::before,
#secondary .wp-block-latest-posts li a::before,
.sidebar .wp-block-latest-posts li a::before {
  display: none;
  content: none;
}

#secondary .widget_recent_entries ul li a:hover,
.sidebar .widget_recent_entries ul li a:hover,
#secondary .wp-block-latest-posts li a:hover,
.sidebar .wp-block-latest-posts li a:hover {
  color: var(--thm-primary, #8a2be2);
  transform: translateX(4px);
}

#secondary .widget_recent_entries .post-date,
.sidebar .widget_recent_entries .post-date,
#secondary .wp-block-latest-posts__post-date,
.sidebar .wp-block-latest-posts__post-date,
#secondary .wp-block-latest-posts li time,
.sidebar .wp-block-latest-posts li time {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

#secondary .widget_recent_entries .post-date::before,
.sidebar .widget_recent_entries .post-date::before,
#secondary .wp-block-latest-posts__post-date::before,
.sidebar .wp-block-latest-posts__post-date::before,
#secondary .wp-block-latest-posts li time::before,
.sidebar .wp-block-latest-posts li time::before {
  content: "\f073";
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  margin-right: 6px;
  font-size: 11px;
  color: #94a3b8;
}

/* ==========================================================================
   SIDEBAR RECENT COMMENTS WIDGET (FORMULA PREMIUM EXACT MATCH)
   ========================================================================== */
#secondary .widget_recent_comments ul,
.sidebar .widget_recent_comments ul,
#secondary .wp-block-latest-comments,
.sidebar .wp-block-latest-comments {
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
}

#secondary .widget_recent_comments ul li,
.sidebar .widget_recent_comments ul li,
#secondary .wp-block-latest-comments li,
.sidebar .wp-block-latest-comments li {
  padding: 12px 0 12px 24px;
  margin: 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  position: relative;
  display: block;
}

#secondary .widget_recent_comments ul li:last-child,
.sidebar .widget_recent_comments ul li:last-child,
#secondary .wp-block-latest-comments li:last-child,
.sidebar .wp-block-latest-comments li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#secondary .widget_recent_comments ul li::before,
.sidebar .widget_recent_comments ul li::before,
#secondary .wp-block-latest-comments li::before,
.sidebar .wp-block-latest-comments li::before {
  content: "\f075";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 15px;
  font-size: 12px;
  color: var(--thm-primary, #8a2be2);
}

#secondary .widget_recent_comments ul li a,
.sidebar .widget_recent_comments ul li a,
#secondary .wp-block-latest-comments li a,
.sidebar .wp-block-latest-comments li a {
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  transition: color 0.25s ease;
  display: inline;
}

#secondary .widget_recent_comments ul li a::before,
.sidebar .widget_recent_comments ul li a::before,
#secondary .wp-block-latest-comments li a::before,
.sidebar .wp-block-latest-comments li a::before {
  display: none;
  content: none;
}

#secondary .widget_recent_comments ul li a:hover,
.sidebar .widget_recent_comments ul li a:hover,
#secondary .wp-block-latest-comments li a:hover,
.sidebar .wp-block-latest-comments li a:hover {
  color: var(--thm-primary, #8a2be2);
}

#secondary .widget_recent_comments .comment-author-link,
.sidebar .widget_recent_comments .comment-author-link,
#secondary .wp-block-latest-comments .comment-author-link,
.sidebar .wp-block-latest-comments .comment-author-link {
  font-weight: 600;
  color: #0f172a;
}

/* Sidebar Tag Cloud Capsule Badges */
#secondary .widget_tag_cloud .tagcloud,
.sidebar .widget_tag_cloud .tagcloud,
#secondary .wp-block-tag-cloud,
.sidebar .wp-block-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#secondary .widget_tag_cloud .tagcloud a,
.sidebar .widget_tag_cloud .tagcloud a,
#secondary .wp-block-tag-cloud a,
.sidebar .wp-block-tag-cloud a {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background-color: #f1f5f9;
  padding: 6px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
}

#secondary .widget_tag_cloud .tagcloud a:hover,
.sidebar .widget_tag_cloud .tagcloud a:hover,
#secondary .wp-block-tag-cloud a:hover,
.sidebar .wp-block-tag-cloud a:hover {
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  border-color: var(--thm-primary, #8a2be2);
  transform: translateY(-2px);
}

/* Dark Theme Overrides for Sidebar Widgets */
.theme-dark #secondary .widget,
.theme-dark .sidebar .widget,
body.theme-dark #secondary .widget,
body.theme-dark .sidebar .widget {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.theme-dark #secondary .widget-title,
.theme-dark .sidebar .widget-title,
body.theme-dark #secondary .widget-title,
body.theme-dark .sidebar .widget-title {
  color: #ffffff;
}

.theme-dark #secondary .widget ul li a,
.theme-dark .sidebar .widget ul li a,
body.theme-dark #secondary .widget ul li a,
body.theme-dark .sidebar .widget ul li a {
  color: #8f8da0;
}

.theme-dark #secondary .widget ul li a:hover,
.theme-dark .sidebar .widget ul li a:hover,
body.theme-dark #secondary .widget ul li a:hover,
body.theme-dark .sidebar .widget ul li a:hover {
  color: #ffffff;
}

.theme-dark #secondary .widget_search input[type="search"],
.theme-dark .sidebar .widget_search input[type="search"],
body.theme-dark #secondary .search-field,
body.theme-dark .sidebar .search-field,
body.theme-dark #secondary .wp-block-search__input,
body.theme-dark .sidebar .wp-block-search__input,
body.theme-dark .widget_block .wp-block-search__input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Remove Parent Theme Card Holder Offset Shadow Lines (Left & Bottom Lines) */
.card-holder::before,
.card-holder::after,
.card-holder .card__image::before,
.card-holder .card__image::after,
.card-holder.double::before,
.card-holder.double::after,
.card-holder.double .card__image::before,
.card-holder.double .card__image::after,
.sidebar .card-holder::before,
.sidebar .card-holder::after,
.sidebar .card-holder.double .card__image::before,
.sidebar .card-holder.double .card__image::after {
  display: none;
  content: none;
}

/* ==========================================================================
   BLOG PAGE & NORMAL PAGE CONTAINER FULL LAYOUT MATCH
   ========================================================================== */
.site-content>.container,
.site-content>.container-full,
.blog .site-content .container,
.single-post .site-content .container,
.archive .site-content .container,
.search .site-content .container,
.page .site-content .container {
  width: 100%;
  max-width: 1500px;
  padding-left: 30px;
  padding-right: 30px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {

  .site-content>.container,
  .site-content>.container-full,
  .blog .site-content .container,
  .single-post .site-content .container,
  .archive .site-content .container,
  .page .site-content .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Remove Any Unnecessary Post Max-Width Constraints */
div.blog,
div.blog .post,
.blog .post,
.single-post .post,
.site-content .blog,
.site-content .post,
.entry-content,
.full-content {
  width: 100%;
  max-width: 100%;
}

/* ==========================================================================
   SIDEBAR CALENDAR WIDGET (FORMULA PREMIUM EXACT MATCH)
   ========================================================================== */
#secondary .widget #wp-calendar,
.sidebar .widget #wp-calendar,
#secondary .wp-block-calendar table,
.sidebar .wp-block-calendar table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  margin: 10px 0 0;
  font-size: 13px;
  table-layout: fixed;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

#secondary .widget #wp-calendar caption,
.sidebar .widget #wp-calendar caption,
#secondary .wp-block-calendar table caption,
.sidebar .wp-block-calendar table caption {
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 11px 0;
  border-radius: 8px 8px 0 0;
  margin: 0;
  caption-side: top;
  text-align: center;
}

#secondary .widget #wp-calendar th,
.sidebar .widget #wp-calendar th,
#secondary .wp-block-calendar table th,
.sidebar .wp-block-calendar table th {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  padding: 8px 0;
  border: none;
  text-align: center;
  background: transparent;
}

#secondary .widget #wp-calendar td,
.sidebar .widget #wp-calendar td,
#secondary .wp-block-calendar table td,
.sidebar .wp-block-calendar table td {
  padding: 0;
  text-align: center;
  vertical-align: middle;
  height: 30px;
  border: none;
  color: #475569;
  font-weight: 500;
}

#secondary .widget #wp-calendar tbody td a,
.sidebar .widget #wp-calendar tbody td a,
#secondary .wp-block-calendar table tbody td a,
.sidebar .wp-block-calendar table tbody td a,
#secondary #wp-calendar td a,
.sidebar #wp-calendar td a {
  color: var(--thm-primary, #8a2be2);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 28px;
  border-radius: 6px;
  background-color: rgba(138, 43, 226, 0.12);
  transition: all 0.25s ease;
  text-decoration: none;
  transform: none;
}

#secondary .widget #wp-calendar td a::before,
.sidebar .widget #wp-calendar td a::before,
#secondary .wp-block-calendar table td a::before,
.sidebar .wp-block-calendar table td a::before {
  display: none;
  content: none;
}

#secondary .widget #wp-calendar tbody td a:hover,
.sidebar .widget #wp-calendar tbody td a:hover,
#secondary .wp-block-calendar table tbody td a:hover,
.sidebar .wp-block-calendar table tbody td a:hover,
#secondary #wp-calendar td a:hover,
.sidebar #wp-calendar td a:hover {
  background-color: rgba(138, 43, 226, 0.22);
  color: var(--thm-primary, #8a2be2);
  transform: none;
}

/* Today's Date Highlight Badge (Equal Size & Isolated Spacing) */
#secondary .widget #wp-calendar tbody td#today,
.sidebar .widget #wp-calendar tbody td#today,
#secondary .wp-block-calendar table tbody td#today,
.sidebar .wp-block-calendar table tbody td#today,
#secondary #wp-calendar td#today,
.sidebar #wp-calendar td#today {
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  font-weight: 700;
  border-radius: 6px;
  height: 28px;
  vertical-align: middle;
  text-align: center;
}

#secondary .widget #wp-calendar tbody td#today a,
.sidebar .widget #wp-calendar tbody td#today a,
#secondary .wp-block-calendar table tbody td#today a,
.sidebar .wp-block-calendar table tbody td#today a,
#secondary #wp-calendar td#today a,
.sidebar #wp-calendar td#today a {
  color: #ffffff;
  background-color: transparent;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#secondary .widget #wp-calendar tfoot,
.sidebar .widget #wp-calendar tfoot,
#secondary .wp-block-calendar table tfoot,
.sidebar .wp-block-calendar table tfoot {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

#secondary .widget #wp-calendar #prev,
.sidebar .widget #wp-calendar #prev,
#secondary .widget #wp-calendar #next,
.sidebar .widget #wp-calendar #next,
#secondary .wp-block-calendar table #prev,
.sidebar .wp-block-calendar table #prev,
#secondary .wp-block-calendar table #next,
.sidebar .wp-block-calendar table #next {
  padding: 12px 0 0;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
}

#secondary .widget #wp-calendar #prev a,
.sidebar .widget #wp-calendar #prev a,
#secondary .widget #wp-calendar #next a,
.sidebar .widget #wp-calendar #next a,
#secondary .wp-block-calendar table #prev a,
.sidebar .wp-block-calendar table #prev a,
#secondary .wp-block-calendar table #next a,
.sidebar .wp-block-calendar table #next a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.04);
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  transition: all 0.25s ease;
  text-decoration: none;
}

#secondary .widget #wp-calendar #prev a::before,
.sidebar .widget #wp-calendar #prev a::before,
#secondary .widget #wp-calendar #next a::before,
.sidebar .widget #wp-calendar #next a::before,
#secondary .wp-block-calendar table #prev a::before,
.sidebar .wp-block-calendar table #prev a::before,
#secondary .wp-block-calendar table #next a::before,
.sidebar .wp-block-calendar table #next a::before {
  display: none;
  content: none;
}

#secondary .widget #wp-calendar #prev a:hover,
.sidebar .widget #wp-calendar #prev a:hover,
#secondary .widget #wp-calendar #next a:hover,
.sidebar .widget #wp-calendar #next a:hover,
#secondary .wp-block-calendar table #prev a:hover,
.sidebar .wp-block-calendar table #prev a:hover,
#secondary .wp-block-calendar table #next a:hover,
.sidebar .wp-block-calendar table #next a:hover {
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
}

/* ==========================================================================
   SIDEBAR & WIDGET BUTTON STYLING (PRESERVES TEXT CONTRAST ON HOVER)
   ========================================================================== */
#secondary .widget .btn,
.sidebar .widget .btn,
#secondary .widget .button,
.sidebar .widget .button,
#secondary .widget a.btn,
.sidebar .widget a.btn,
#secondary .widget a.button,
.sidebar .widget a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
  transform: none;
}

#secondary .widget .btn::before,
.sidebar .widget .btn::before,
#secondary .widget .button::before,
.sidebar .widget .button::before,
#secondary .widget a.btn::before,
.sidebar .widget a.btn::before,
#secondary .widget a.button::before,
.sidebar .widget a.button::before {
  display: none;
  content: none;
}

#secondary .widget .btn:hover,
.sidebar .widget .btn:hover,
#secondary .widget .button:hover,
.sidebar .widget .button:hover,
#secondary .widget a.btn:hover,
.sidebar .widget a.btn:hover,
#secondary .widget a.button:hover,
.sidebar .widget a.button:hover {
  background-color: #701eb8 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.25);
  text-decoration: none;
}

.btn-primary,
.button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
  transform: none;
}

.btn-primary:hover,
.button.primary:hover {
  background-color: #701eb8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.25);
  text-decoration: none;
}

/* ==========================================================================
   MODERN BLOG POST CARD SYSTEM (INDEX, ARCHIVE & SINGLE POST)
   ========================================================================== */
.modern-post-card,
div.blog>.modern-post.modern-post-card,
.site-content div.blog>.modern-post,
.site-content .modern-post-card,
.single-post .site-content .modern-post-card,
.blog .site-content .modern-post-card,
.archive .site-content .modern-post-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 40px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modern-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.single-post .modern-post-card:hover {
  transform: none;
}

.modern-post-thumbnail {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 16px 16px 0 0;
  width: 100%;
}

.modern-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.modern-post-card:hover .modern-post-thumbnail img {
  transform: scale(1.04);
}

.modern-cat-tags-wrap {
  position: absolute;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 2;
  max-width: calc(100% - 40px);
}

.single-post .modern-cat-tags-wrap {
  top: auto;
  bottom: 20px;
  left: 24px;
}

.modern-cat-tag {
  display: inline-block;
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 5px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.25s ease;
}

.modern-cat-tag:hover {
  background-color: #ffffff;
  color: var(--thm-primary, #8a2be2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.modern-inline-cat-tag {
  display: inline-block;
  background-color: color-mix(in srgb, var(--thm-primary, #8a2be2) 8%, transparent);
  color: var(--thm-primary, #8a2be2);
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.modern-inline-cat-tag:hover {
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.25);
  text-decoration: none;
}

.modern-blog-content {
  padding: 28px 32px 32px;
  display: block;
}

/* Front-Page Modern Blog Layout (Flush with Grid Column) */
.home-news .modern-blog-content,
.blog-modern .modern-blog-content {
  padding: 20px 0 0;
  display: block;
}

.home-news .modern-post.no-thumbnail .modern-blog-content,
.blog-modern .modern-post.no-thumbnail .modern-blog-content {
  padding-top: 0;
}

.single-post .modern-blog-content {
  padding: 35px 40px;
}

@media (max-width: 767px) {

  .modern-post-card .modern-blog-content,
  .single-post .modern-blog-content {
    padding: 20px;
  }
}

.modern-entry-meta {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.5;
}

.modern-entry-meta a {
  color: #64748b;
  transition: color 0.25s ease;
  text-decoration: none;
}

.modern-entry-meta a:hover {
  color: var(--thm-primary, #8a2be2);
}

.modern-entry-meta .meta-separator {
  color: #cbd5e1;
  font-size: 12px;
  margin: 0 2px;
}

.modern-entry-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 0;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.modern-entry-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.25s ease;
}

.modern-entry-title a:hover {
  color: var(--thm-primary, #8a2be2);
}

.single-post .modern-entry-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--thm-black, #1e293b);
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}

.modern-entry-content {
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.modern-entry-content p {
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Modern Read More Link Button */
.modern-read-more-wrap {
  margin-top: 6px;
}

.modern-btn-link {
  color: var(--thm-primary, #8a2be2);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.modern-btn-link .arrow {
  margin-left: 8px;
  transition: transform 0.25s ease;
  display: inline-block;
}

.modern-btn-link:hover {
  color: #701eb8;
  text-decoration: none;
}

.modern-btn-link:hover .arrow {
  transform: translateX(5px);
}

/* Dark Mode Overrides for Modern Post Card */
body.theme-dark .modern-post-card,
.theme-dark .modern-post-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

body.theme-dark .modern-post-card:hover,
.theme-dark .modern-post-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.theme-dark .modern-entry-title a {
  color: #ffffff;
}

body.theme-dark .modern-entry-title a:hover {
  color: var(--thm-primary, #8a2be2);
}

body.theme-dark .modern-entry-content,
body.theme-dark .modern-entry-content p {
  color: #94a3b8;
}

@media (max-width: 767px) {
  .single-post .modern-entry-title {
    font-size: 26px;
  }
}

/* Single Post Content Typography */
.single-post .modern-entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
}

.single-post .modern-entry-content p {
  margin-bottom: 24px;
}

.single-post .modern-entry-content h1,
.single-post .modern-entry-content h2,
.single-post .modern-entry-content h3,
.single-post .modern-entry-content h4,
.single-post .modern-entry-content h5,
.single-post .modern-entry-content h6 {
  color: var(--thm-black, #1e293b);
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.single-post .modern-entry-content blockquote {
  border-left: 4px solid var(--thm-primary, #8a2be2);
  padding: 16px 24px;
  margin: 30px 0;
  background-color: #f8fafc;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #334155;
}

/* Entry Footer for Single Page Tags (Formula Premium Exact Match) */
.single-post .entry-footer,
.entry-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #e2e8f0;
}

.single-post .entry-footer .tag-links,
.tag-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
}

.single-post .entry-footer .tag-links i,
.single-post .entry-footer .tag-links svg,
.tag-links i {
  color: #94a3b8;
  margin-right: 4px;
  font-size: 14px;
}

.single-post .entry-footer .tag-links a,
.tag-links a {
  display: inline-block;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  line-height: 1.4;
  transition: all 0.3s ease;
  text-decoration: none;
}

.single-post .entry-footer .tag-links a:hover,
.tag-links a:hover {
  background-color: var(--thm-primary, #8a2be2);
  border-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  transform: none;
  text-decoration: none;
}

/* ==========================================================================
   MODERN BLOG AUTHOR CARD (FORMULA PREMIUM EXACT MATCH)
   ========================================================================== */
.modern-blog-author {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 40px;
  margin: 0 0 50px;
  display: flex;
  gap: 30px;
  align-items: center;
}

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

.modern-author-avatar img {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border: 4px solid #f1f5f9;
  display: block;
}

.modern-author-content {
  flex-grow: 1;
}

.modern-author-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--thm-black, #1e293b);
  margin-bottom: 10px;
}

.modern-author-bio {
  color: #64748b;
  line-height: 1.7;
  font-size: 14.5px;
  margin-bottom: 20px;
}

.modern-author-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.modern-author-socials {
  display: flex;
  gap: 10px;
}

.modern-author-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f1f5f9;
  color: #64748b;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 14px;
  text-decoration: none;
}

.modern-author-socials a:hover {
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  transform: translateY(-2px);
}

.modern-author-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--thm-primary, #8a2be2);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.modern-author-link:hover {
  color: var(--thm-black, #1e293b);
}

.modern-author-link i {
  transition: transform 0.3s ease;
}

.modern-author-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 575px) {
  .modern-blog-author {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .modern-author-footer {
    justify-content: center;
  }
}

/* ==========================================================================
   MODERN COMMENTS & COMMENT FORM (FORMULA PREMIUM EXACT MATCH)
   ========================================================================== */
.comment-section {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 35px 40px;
  margin-bottom: 45px;
}

.comment-title {
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.comment-title h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--thm-black, #1e293b);
  margin: 0;
}

.comment-box {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.comment-box:last-child {
  border-bottom: none;
}

.pull-left-comment img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f1f5f9;
}

.comment-detail-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--thm-black, #1e293b);
  margin-bottom: 4px;
}

.comment-date {
  font-size: 12px;
  color: #94a3b8;
  display: block;
  margin-bottom: 12px;
}

.reply a {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background-color: rgba(138, 43, 226, 0.1);
  color: var(--thm-primary, #8a2be2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
  text-decoration: none;
}

.reply a:hover {
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
}

/* Modern Comment Form */
.modern-comment-form {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 35px 40px;
  margin-bottom: 45px;
}

#commentform {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
}

.modern-comment-field {
  width: 100%;
  margin-bottom: 22px;
}

.modern-comment-author,
.modern-comment-email {
  width: calc(50% - 12px);
}

@media (max-width: 575px) {

  .modern-comment-author,
  .modern-comment-email {
    width: 100%;
  }
}

.modern-comment-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 8px;
}

.modern-comment-field .blog-form-control,
.modern-comment-field .blog-form-control-textarea {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--thm-black, #1e293b);
  font-size: 14px;
  transition: all 0.25s ease;
}

.modern-comment-field .blog-form-control:focus,
.modern-comment-field .blog-form-control-textarea:focus {
  background-color: #ffffff;
  border-color: var(--thm-primary, #8a2be2);
  box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.1);
  outline: none;
}

.modern-comment-cookies {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.modern-comment-cookies input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--thm-primary, #8a2be2);
}

.modern-comment-cookies label {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  cursor: pointer;
}

.modern-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modern-submit-btn:hover {
  background-color: #701eb8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.25);
}

/* Dark Mode Overrides for Blog Single Page */
.theme-dark .single-post .modern-post-card,
.theme-dark .modern-blog-author,
.theme-dark .comment-section,
.theme-dark .modern-comment-form {
  background-color: #1e293b;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.theme-dark .single-post .modern-entry-title,
.theme-dark .modern-author-name,
.theme-dark .comment-title h3,
.theme-dark .comment-detail-title {
  color: #ffffff;
}

.theme-dark .single-post .modern-entry-content {
  color: #cbd5e1;
}

.theme-dark .modern-author-bio,
.theme-dark .single-post .modern-entry-meta {
  color: #94a3b8;
}

.theme-dark .modern-comment-field .blog-form-control,
.theme-dark .modern-comment-field .blog-form-control-textarea {
  background-color: #0f172a;
  border-color: #334155;
  color: #ffffff;
}

.theme-dark .modern-author-avatar img {
  border-color: #334155;
}

.theme-dark .modern-author-socials a {
  background-color: #334155;
  color: #94a3b8;
}

.theme-dark .single-post .modern-entry-content blockquote {
  background-color: #0f172a;
  color: #cbd5e1;
}

/* Fix page header background color hiding the header image */
.page-title-module:before,
.page-title-module .overlay {
  opacity: 0.8 !important;
}

/* ==========================================================================
   TESTIMONIAL SECTION ROBUST RESPONSIVE LAYOUT
   ========================================================================== */

.testimonial .section-header {
  text-align: left;
  margin-bottom: 25px;
}

.testimonial .section-header .section-title {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 20px;
  word-break: break-word;
}

.testimonial .section-header .divider-line {
  margin: 15px 0 25px;
}

@media (min-width: 1200px) {
  .testimonial .row {
    position: relative;
  }

  .testimonial .owl-carousel .owl-nav {
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: 15px;
    left: -44%;
    margin: 0;
    padding: 0;
    z-index: 5;
  }

  .testimonial .owl-carousel .owl-prev,
  .testimonial .owl-carousel .owl-next {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--thm-black, #0f172a);
    color: #ffffff;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }

  .testimonial .owl-carousel .owl-prev:hover,
  .testimonial .owl-carousel .owl-next:hover {
    background-color: var(--thm-primary, #8a2be2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.35);
  }
}

@media (max-width: 1199px) {
  .testimonial .owl-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    position: static;
  }

  .testimonial .owl-carousel .owl-prev,
  .testimonial .owl-carousel .owl-next {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--thm-black, #0f172a);
    color: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .testimonial .owl-carousel .owl-prev:hover,
  .testimonial .owl-carousel .owl-next:hover {
    background-color: var(--thm-primary, #8a2be2);
    color: #ffffff;
  }
}

/* ==========================================================================
   HERO SLIDER BUTTON STYLING
   ========================================================================== */
.hero-slider .slider-caption .thm-btn,
.slider-caption .thm-btn,
#slider-demo .thm-btn {
  border-radius: 16px;
}

/* ==========================================================================
   WORDPRESS CORE ALIGNMENTS, CAPTIONS & AUTHOR STYLES
   ========================================================================== */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption-text,
.gallery-caption {
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
  padding: 0.5em 0;
  text-align: center;
}

.bypostauthor {
  display: block;
}

/* ==========================================================================
   FORMULA PREMIUM EXACT PAGE LOADER (GLOWING CORE DESIGN)
   ========================================================================== */
.page-loader {
  position: fixed;
  background-color: var(--thm-black, #0f1013);
  background-position: center center;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modern-loader {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-loader .glow-bg {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle,
      rgba(36, 236, 255, 0.15) 0%,
      rgba(228, 28, 248, 0.05) 50%,
      transparent 70%);
  filter: blur(10px);
  animation: glow-pulse 3s ease-in-out infinite alternate;
}

.modern-loader .ring-track {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.03);
}

.modern-loader .spinning-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top: 3px solid var(--thm-primary, #8a2be2);
  border-right: 3px solid var(--thm-primary, #8a2be2);
  animation: loader-spin 1.2s cubic-bezier(0.5, 0.1, 0.1, 0.9) infinite;
}

.modern-loader .inner-pulse {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--thm-primary, #8a2be2);
  box-shadow: 0 0 20px var(--thm-primary, #8a2be2);
  animation: core-pulse 1.5s ease-in-out infinite alternate;
}

.loader-title {
  color: #ffffff;
  font-family: "Montserrat", "Inter", "Outfit", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 8px;
  text-indent: 8px;
  margin: 10px 0 5px 0;
  text-transform: uppercase;
  background: linear-gradient(to right,
      #ffffff 30%,
      var(--thm-primary, #8a2be2) 70%,
      #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shine 3s linear infinite;
}

.loader-subtitle {
  color: rgba(255, 255, 255, 0.4);
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-indent: 4px;
  text-transform: uppercase;
  animation: fade-pulse 2s ease-in-out infinite alternate;
}

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

@keyframes core-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.05);
    opacity: 1;
    box-shadow:
      0 0 30px var(--thm-primary, #8a2be2),
      0 0 50px var(--thm-primary, #8a2be2);
  }
}

@keyframes glow-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes text-shine {
  to {
    background-position: 200% center;
  }
}

@keyframes fade-pulse {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.7;
  }
}

/* ==========================================================================
   FORMULA PREMIUM PAGE BOX & COMMENT CARD DESIGN
   ========================================================================== */

/* Page Content Card Container */
.page #main-content article.post,
.page .site-content article.post,
.single #main-content article.post,
.single .site-content article.post {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  box-sizing: border-box;
}

/* Responsive Padding for Page Box */
@media (max-width: 768px) {

  .page #main-content article.post,
  .page .site-content article.post,
  .single #main-content article.post,
  .single .site-content article.post {
    padding: 24px 18px;
    border-radius: 12px;
  }
}

/* Page Typography */
.page .entry-content,
.page .entry-content p,
.single .entry-content,
.single .entry-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4,
.page .entry-content h5,
.page .entry-content h6 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

/* ==========================================================================
   ELEGANT & ACCESSIBLE CONTENT LINK TYPOGRAPHY
   Overrides parent theme uppercase/small font-size/inline-block on blog links
   ========================================================================== */

div.blog .entry-content a,
.blog .entry-content a,
.entry-content a,
.modern-entry-content a,
.comment-content a,
.comment-detail a:not(.comment-edit-link):not(.comment-reply-link) {
  display: inline;
  position: static;
  font-size: inherit;
  font-weight: 600;
  text-transform: inherit;
  letter-spacing: inherit;
  color: var(--thm-primary, #8a2be2);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--thm-primary, #8a2be2) 40%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

div.blog .entry-content a::before,
.blog .entry-content a::before {
  display: none;
  content: none;
}

div.blog .entry-content a:hover,
div.blog .entry-content a:focus,
.blog .entry-content a:hover,
.blog .entry-content a:focus,
.entry-content a:hover,
.entry-content a:focus,
.modern-entry-content a:hover,
.modern-entry-content a:focus,
.comment-content a:hover,
.comment-content a:focus,
.comment-detail a:hover:not(.comment-edit-link):not(.comment-reply-link),
.comment-detail a:focus:not(.comment-edit-link):not(.comment-reply-link) {
  color: var(--thm-primary, #8a2be2);
  text-decoration: underline;
  text-decoration-color: var(--thm-primary, #8a2be2);
}

/* Exclude UI elements, badges, images, buttons, and titles from content underline */
.entry-content .wp-block-button__link,
.entry-content .button,
.entry-content .btn,
.entry-content .modern-cat-tag,
.entry-content .modern-inline-cat-tag,
.modern-entry-content .modern-cat-tag,
.modern-entry-content .modern-inline-cat-tag,
.entry-content a.more-link,
.modern-entry-content a.more-link,
.entry-content h1 a,
.entry-content h2 a,
.entry-content h3 a,
.entry-content h4 a,
.entry-content h5 a,
.entry-content h6 a,
.entry-content .page-numbers,
.entry-content a:has(img) {
  text-decoration: none;
  font-weight: inherit;
}

/* Dark Mode Content Links */
.theme-dark div.blog .entry-content a,
.theme-dark .entry-content a,
.theme-dark .modern-entry-content a,
.theme-dark .comment-content a,
body.theme-dark .entry-content a,
body.theme-dark .modern-entry-content a,
body.theme-dark .comment-content a {
  color: var(--thm-primary, #8a2be2);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--thm-primary, #8a2be2) 45%, transparent);
}

.theme-dark div.blog .entry-content a:hover,
.theme-dark div.blog .entry-content a:focus,
.theme-dark .entry-content a:hover,
.theme-dark .entry-content a:focus,
.theme-dark .modern-entry-content a:hover,
.theme-dark .modern-entry-content a:focus,
body.theme-dark .entry-content a:hover,
body.theme-dark .entry-content a:focus {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* Comments Section & Respond Box */
.comment-respond,
.comment-section,
.comments-area {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  box-sizing: border-box;
}

@media (max-width: 768px) {

  .comment-respond,
  .comment-section,
  .comments-area {
    padding: 24px 18px;
    border-radius: 12px;
  }
}

.comment-respond .comment-reply-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: #1e293b;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  background: #ffffff;
  border-color: var(--thm-primary, #8a2be2);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--thm-primary, #8a2be2) 15%, transparent);
}

.comment-form .form-submit input[type="submit"],
.comment-form input[type="submit"] {
  background: var(--thm-primary, #8a2be2);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-form .form-submit input[type="submit"]:hover,
.comment-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--thm-primary, #8a2be2) 35%, transparent);
}

/* Dark Mode Page Box & Comments */
.theme-dark .page #main-content article.post,
.theme-dark .page .site-content article.post,
.theme-dark .single #main-content article.post,
.theme-dark .single .site-content article.post,
.theme-dark .comment-respond,
.theme-dark .comment-section,
.theme-dark .comments-area,
body.theme-dark .page #main-content article.post,
body.theme-dark .comment-respond {
  background: #14151b;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: #cbd5e1;
}

.theme-dark .page .entry-content,
.theme-dark .page .entry-content p,
body.theme-dark .page .entry-content,
body.theme-dark .page .entry-content p {
  color: #cbd5e1;
}

.theme-dark .page .entry-content h1,
.theme-dark .page .entry-content h2,
.theme-dark .page .entry-content h3,
.theme-dark .page .entry-content h4,
.theme-dark .page .entry-content h5,
.theme-dark .page .entry-content h6,
.theme-dark .comment-respond .comment-reply-title,
body.theme-dark .comment-respond .comment-reply-title {
  color: #ffffff;
}

.theme-dark .comment-form input[type="text"],
.theme-dark .comment-form input[type="email"],
.theme-dark .comment-form input[type="url"],
.theme-dark .comment-form textarea,
body.theme-dark .comment-form input[type="text"],
body.theme-dark .comment-form textarea {
  background: #1a1b23;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

/* ==========================================================================
   PAGINATION MODERNIZATION (EXACT FORMULA PREMIUM MIRROR)
   ========================================================================== */

.navigation.pagination,
.portfolio-pagination,
.blog-pagination,
.pagination,
.woocommerce-pagination {
  margin: 40px auto;
  text-align: center;
  width: 100%;
  clear: both;
}

.navigation.pagination .nav-links,
ul.page-numbers,
.pagination,
.woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px auto;
  padding: 0;
  list-style: none;
}

.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span,
.navigation.pagination .page-numbers,
ul.page-numbers li span,
ul.page-numbers li a,
.pagination a,
.pagination span,
.woocommerce .woocommerce-pagination .page-numbers li span,
.woocommerce .woocommerce-pagination .page-numbers li a,
.woocommerce-page .woocommerce-pagination .page-numbers li span,
.woocommerce-page .woocommerce-pagination .page-numbers li a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 50px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  background-color: #f0f4f8;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1;
  border: none;
  box-sizing: border-box;
}

.navigation.pagination .nav-links a:hover,
.navigation.pagination .nav-links span.current,
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current,
ul.page-numbers li a:hover,
ul.page-numbers li span.current,
.pagination a:hover,
.pagination span.current,
.pagination a.active,
.woocommerce .woocommerce-pagination .page-numbers li a:hover,
.woocommerce .woocommerce-pagination .page-numbers li span.current,
.woocommerce-page .woocommerce-pagination .page-numbers li a:hover,
.woocommerce-page .woocommerce-pagination .page-numbers li span.current {
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px color-mix(in srgb, var(--thm-primary, #8a2be2) 30%, transparent);
}

.navigation.pagination .nav-links span.dots,
.navigation.pagination .page-numbers.dots,
ul.page-numbers li span.dots,
.pagination span.dots,
.woocommerce .woocommerce-pagination .page-numbers li span.dots,
.woocommerce-page .woocommerce-pagination .page-numbers li span.dots {
  background-color: transparent;
  color: #94a3b8;
  box-shadow: none;
  transform: none;
}

/* Dark Mode Pagination Overrides */
.theme-dark .navigation.pagination .nav-links a,
.theme-dark .navigation.pagination .nav-links span,
.theme-dark .navigation.pagination .page-numbers,
.theme-dark ul.page-numbers li span,
.theme-dark ul.page-numbers li a,
.theme-dark .pagination a,
.theme-dark .pagination span,
body.theme-dark .navigation.pagination .nav-links a,
body.theme-dark .navigation.pagination .nav-links span,
body.theme-dark .navigation.pagination .page-numbers,
body.theme-dark ul.page-numbers li span,
body.theme-dark ul.page-numbers li a,
body.theme-dark .woocommerce .woocommerce-pagination .page-numbers li span,
body.theme-dark .woocommerce .woocommerce-pagination .page-numbers li a {
  color: #cbd5e1;
  background-color: #1e293b;
}

.theme-dark .navigation.pagination .nav-links a:hover,
.theme-dark .navigation.pagination .nav-links span.current,
.theme-dark .navigation.pagination .page-numbers:hover,
.theme-dark .navigation.pagination .page-numbers.current,
.theme-dark ul.page-numbers li a:hover,
.theme-dark ul.page-numbers li span.current,
.theme-dark .pagination a:hover,
.theme-dark .pagination span.current,
.theme-dark .pagination a.active,
body.theme-dark .navigation.pagination .nav-links a:hover,
body.theme-dark .navigation.pagination .nav-links span.current,
body.theme-dark .navigation.pagination .page-numbers:hover,
body.theme-dark .navigation.pagination .page-numbers.current,
body.theme-dark ul.page-numbers li a:hover,
body.theme-dark ul.page-numbers li span.current,
body.theme-dark .woocommerce .woocommerce-pagination .page-numbers li a:hover,
body.theme-dark .woocommerce .woocommerce-pagination .page-numbers li span.current {
  background-color: var(--thm-primary, #8a2be2);
  color: #ffffff;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--thm-primary, #8a2be2) 35%, transparent);
}

.theme-dark .navigation.pagination .nav-links span.dots,
.theme-dark .navigation.pagination .page-numbers.dots,
.theme-dark ul.page-numbers li span.dots,
body.theme-dark .navigation.pagination .nav-links span.dots,
body.theme-dark .navigation.pagination .page-numbers.dots,
body.theme-dark ul.page-numbers li span.dots,
body.theme-dark .woocommerce .woocommerce-pagination .page-numbers li span.dots {
  background-color: transparent;
  color: #64748b;
  box-shadow: none;
  transform: none;
}