/*
Theme Name: Formula Premium
Theme URI: http://awplife.com/
Author: awplife.com
Author URI: http://awplife.com/
Description: Formula Premium is a powerful, multipurpose WordPress theme designed for businesses, agencies, portfolios, and WooCommerce stores. With a blazing-fast performance, dark/light mode support, one-click demo imports, and an intuitive customizer, building stunning websites has never been easier — no coding required.
Tags: blog, portfolio, news, grid-Layout, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Version: 3.5.3
Tested upto : 6.8
License URI: awplife.com
License: GNU General Public License v3 or later
Text Domain: formula
*/

/*--------------------------------------------------------------
# Navigations
--------------------------------------------------------------*/

/* Sticky Header */
.sticky-menu.sticky-fixed {
  position: fixed;
  z-index: 999;
  top: -80px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  background-color: var(--thm-black);
  transform: translateY(80px);
  transition:
    transform 500ms ease,
    visibility 500ms ease;
  box-shadow: 0px 10px 60px 0px rgb(0 0 0 / 5%);
  padding-left: 30px;
  padding-right: 30px;
}

/* Boxed Sticky Menu Content Alignment (Full Width Background) */
@media (min-width: 1200px) {
  .container .sticky-menu.sticky-fixed {
    max-width: 100%;
    padding-left: calc(50% - 555px);
    padding-right: calc(50% - 555px);
  }

  .container-full .sticky-menu.sticky-fixed {
    max-width: 100%;
    padding-left: calc(50% - 735px);
    padding-right: calc(50% - 735px);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .container .sticky-menu.sticky-fixed {
    max-width: 100%;
    padding-left: calc(50% - 465px);
    padding-right: calc(50% - 465px);
  }

  .container-full .sticky-menu.sticky-fixed {
    max-width: 100%;
    padding-left: calc(50% - 735px);
    padding-right: calc(50% - 735px);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .container .sticky-menu.sticky-fixed {
    max-width: 100%;
    padding-left: calc(50% - 345px);
    padding-right: calc(50% - 345px);
  }

  .container-full .sticky-menu.sticky-fixed {
    max-width: 100%;
    padding-left: calc(50% - 345px);
    padding-right: calc(50% - 345px);
  }
}

@media (max-width: 767px) {
  .sticky-menu.sticky-fixed {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Adjust sticky fixed menu position when admin bar is present */
.admin-bar .sticky-menu.sticky-fixed {
  top: -48px;
  /* -80px standard offset + 32px admin bar height */
}

@media screen and (max-width: 782px) {
  .admin-bar .sticky-menu.sticky-fixed {
    top: -34px;
    /* -80px standard offset + 46px admin bar height */
  }
}

@media screen and (max-width: 600px) {
  .admin-bar .sticky-menu.sticky-fixed {
    top: -80px;
    /* Admin bar is absolute on <= 600px, so it scrolls out of view */
  }
}

.topheader_bg {
  display: flex;
  background: var(--thm-primary);
  float: left;
  width: 100%;
  height: 50px;
  z-index: 10000;
  padding: 0;
}

.top_header_add {
  float: left;
  line-height: 50px;
  padding-left: 22px;
}

.top_header_add ul {
  margin: 0px;
  padding: 0px;
  width: 100%;
}

.top_header_add li {
  float: left;
  width: auto;
  list-style: none;
  color: #ffffff;
  position: relative;
  font-size: 14px;
  margin-right: 30px;
}

.top_header_add ul li a {
  color: #ffffff;
  font-size: 14px;
  text-transform: lowercase;
}

.top_header_add ul li:first-child:after {
  content: "";
  position: absolute;
  top: 0;
  right: -15px;
  background-color: #e4e4e42b;
  width: 1px;
  height: 100%;
}

.header_btn {
  float: right;
  width: auto;
}

.header_btn a {
  width: 150px;
  height: 50px;
  background: #fff;
  float: left;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 16px;
  color: #3a424a;
  border: 2px solid transparent;
  line-height: 46px;
  -webkit-border-radius: var(--thm-btn-radius, 5px);
  -moz-border-radius: var(--thm-btn-radius, 5px);
  border-radius: var(--thm-btn-radius, 5px);
  font-weight: 600;
  text-transform: var(--thm-text-transform);
  z-index: 1;
  -webkit-backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background-color 0.6s,
    color 0.6s;
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -moz-transition: all 0.6s;
  transition: all 0.6s;
}

.header2_btn a {
  width: 190px;
  height: 50px;
  line-height: 52px;
  background: #000000;
  color: #89879a;
  font-size: 14px;
  border-radius: 0;
  border: 0;
}

.social_links_wrapper {
  margin-left: auto;
}

.social_links {
  float: right;
}

.social_links ul li {
  float: left;
}

.social_links ul li a {
  float: left;
  width: 33px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  position: relative;
  color: #797979;
}

/*---------------- */

.header-top .widget {
  margin: 10px 0;
  padding: 0 !important;

}

.header-top .widget .header-contact-info li a {
  color: #ffffff;
}

.header-contact-info {
  margin: 0;
  list-style: none;
}

.header-contact-info li {
  border-bottom: 0 none;
  word-wrap: break-word;
  font-size: 1rem;
  line-height: 1.75;
  color: #fff;
  margin: 1px 0;
}

.header-contact-info li i.top-icon {
  font-size: 1.125rem;
  line-height: 2;
  text-align: center;
  transition: all 0.3s ease-in-out 0s;
  margin: 0px 15px 0px 0px;
  padding: 0;
  height: 35px;
  width: 35px;
  background-color: #fff;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
}

.header-contact-info li>a {
  color: #ffffff;
  transition: all 0.3s ease-in-out 0s;
}

.header-contact-info li>a:hover,
.header-contact-info li>a:focus {
  color: #ffffff;
}

.text-large {
  font-size: 20px;
  font-weight: 700;
  padding-right: 5px;
  font-style: italic;
}

@media (max-width: 991px) {

  .header-contact-info,
  .social-icons {
    text-align: center;
    display: none;
  }
}

@media (max-width: 768px) {
  .header-top {
    display: none;
  }
}

/*--------------------------------------------------------------*/

/*	Sidebars & Widgets Section — Modern Redesign
/*--------------------------------------------------------------*/

@media (min-width: 991px) {
  .sidebar.space-left {
    padding-left: 30px;
  }

  .sidebar.space-right {
    padding-right: 30px;
  }
}

.sidebar {
  height: 100%;
}

.sidebar .widget,
aside.widget {
  background-color: #ffffff;
  font-size: 0.875rem;
  margin: 0 0 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--thm-primary) !important;
  border-radius: var(--thm-card-radius, 12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
  padding: 30px 20px;
}

.sidebar .widget:hover,
aside.widget:hover {
  border-top: 4px solid var(--thm-primary) !important;
}

/* Sidebar Widget Styles Overrides */
.sidebar.widget-style-soft-card .widget {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar.widget-style-flat .widget {
  border: none;
  box-shadow: none !important;
  background-color: #f9fafb;

}

.theme-dark .sidebar.widget-style-flat .widget {
  background-color: #1a1a24;
}

.sidebar.widget-style-flat .widget:hover {
  transform: none;
  box-shadow: none;
}

.sidebar .widget:last-child {
  margin: 0 0 30px;
}

.widget h1,
.widget h2,
.widget h3,
.widget h4,
.widget h5,
.widget h6 {
  color: #1a1a2e;
  font-weight: 700;
  margin: 0 0 18px;
}

.card-holder .widget,
.card-holder.widget {
  padding: 30px 20px;
}

.sidebar .card-holder {
  margin-left: 0;
}

/* Remove legacy card-holder decorative pseudo-elements */
.sidebar .card-holder::before,
.sidebar .card-holder::after,
.sidebar .card-holder.double .card__image::before,
.sidebar .card-holder.double .card__image::after {
  display: none !important;
}

/* Hide empty Gutenberg widget wrapper elements to prevent ghost borders */
.sidebar .card-holder:not(:has(*)),
.sidebar .card-holder:empty {
  display: none !important;
}

.sidebar .widget-title {
  padding: 0 0 12px;
  margin-bottom: 16px !important;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
  position: relative;
  font-size: 15px;
  letter-spacing: 0.3px;

}

.sidebar .widget-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--thm-primary);
  border-radius: 2px;
}

/*Search*/

button.search-untoggle {
  background-color: var(--thm-primary);
}

.sidebar-search-form {
  position: relative;
  display: block;
}

.widget form input[type="search"],
.wp-block-search__input {
  display: block;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--thm-input-radius, 8px);
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  outline: none;
}

.sidebar-search-form input[type="search"] {
  padding-right: 50px;
}

.widget form input[type="search"]:focus,
.wp-block-search__input:focus {
  border-color: var(--thm-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--thm-primary) 10%, transparent);
}

.widget form button {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  -webkit-appearance: none;
  border: none;
  background-color: var(--thm-primary);
  color: var(--thm-base);
  font-size: 14px;
  font-weight: 700;
  text-transform: var(--thm-text-transform);
  padding: 0px 14px;
  transition: 500ms;
  letter-spacing: 0.1em;
}

.sidebar-search-form button[type="submit"],
.wp-block-search__button {
  background-color: var(--thm-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--thm-btn-radius, 6px);
  transition: background-color 0.25s ease;
  cursor: pointer;
}

.sidebar-search-form button[type="submit"] {
  font-size: 16px;
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  width: 40px;
}

.sidebar-search-form button[type="submit"]:hover,
.wp-block-search__button:hover {
  background-color: #9333ea;
}

/*Address*/

.widget address {
  font-style: normal;
}

.widget p {
  font-size: 0.938rem;
}

.widget i.icon {
  font-size: 1.125rem;
  padding: 0 12px 0 1px;
}

/*Sidebar News*/

.widget .post {
  background: transparent;
  margin: 0 0 14px;
  box-shadow: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0 0 14px;
}

.widget .post:last-child {
  margin: 0px;
  padding: 0px;
  border-bottom: none !important;

}

.widget .post .entry-title {
  margin: 0px 0 -5px;
  line-height: 1.5;
  display: block;
  font-size: 0.875rem;
  word-wrap: break-word;
}

.widget .post .entry-title a {
  color: #1a1a2e;
  transition: all 0.25s ease;
}

.widget a:hover,
.widget a:focus {
  color: var(--thm-primary);
}

/*Widget Paragraph*/

.widget p {
  margin: 0 0 20px;
}

.widget p:last-child {
  margin: 0;
}

/*Sidebar Widget Archive, Widget categories, Widget Links, Widget Meta, widget Nav Menu, 
Widget Pages, Widget Recent Comments, Widget Recent Entries */

.widget ul {
  padding: 0;
  margin: 0;
  list-style: outside none none;
}

.widget ul li {
  margin: 0;
  padding-left: 14px !important;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);

}

.widget ul li.wp-social-link {
  padding: 0 !important;

}

.widget_archive li:last-child,
.widget_categories li:last-child,
.widget_links li:last-child,
.widget_meta li:last-child,
.widget_nav_menu li:last-child,
.widget_pages li:last-child,
.widget_recent_comments li:last-child,
.widget_recent_entries li:last-child {
  padding-bottom: 0px;
  border-bottom: none;
}

.widget li a,
.widget_archive li a,
.widget_categories li a,
.widget_links li a,
.widget_meta li a,
.widget_nav_menu li a,
.widget_pages li a,
.widget_recent_comments li a,
.widget_recent_entries li a {
  color: #4b5563;
  transition: all 0.25s ease;
  position: relative;
  font-size: 13.5px;
}

.widget_archive li a:before,
.widget_categories li a:before,
.widget_links li a:before,
.widget_meta li a:before,
.widget_nav_menu li a:before,
.widget_pages li a:before,
.widget_recent_comments li a:before,
.widget_recent_entries li a:before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: auto;
  left: -14px;
  font-size: 12px;
  color: #9ca3af;
  transition: all 0.25s ease;
}

.widget_archive li a:hover:before,
.widget_categories li a:hover:before,
.widget_links li a:hover:before,
.widget_meta li a:hover:before,
.widget_nav_menu li a:hover:before,
.widget_pages li a:hover:before,
.widget_recent_comments li a:hover:before,
.widget_recent_entries li a:hover:before {
  left: -11px;
  color: var(--thm-primary);
}

/* Redesigned Archive & Category Widget Styles */
.widget_archive ul,
.wp-block-archives-list,
.wp-block-archives,
.widget_categories ul,
.wp-block-categories-list,
.wp-block-categories,
.widget_product_categories ul,
.product-categories,
.wc-block-product-categories-list,
.wp-block-woocommerce-product-categories:not(.is-dropdown) {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

.widget_archive ul li,
.wp-block-archives-list li,
.wp-block-archives li,
.widget_categories ul li,
.wp-block-categories-list li,
.wp-block-categories li,
.widget_product_categories ul li,
.product-categories li,
.wc-block-product-categories-list li,
.wp-block-woocommerce-product-categories:not(.is-dropdown) li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  transition: all 0.25s ease;
  width: 100% !important;
}

/* Style nested subcategory lists */
.widget_categories ul.children,
.wp-block-categories-list ul,
.wp-block-categories ul,
.widget_product_categories ul.children,
.product-categories ul.children,
.wc-block-product-categories-list ul,
.wp-block-woocommerce-product-categories ul {
  width: 100% !important;
  flex-basis: 100% !important;
  padding-left: 20px !important;
  margin: 8px 0 0 !important;
  border-left: none !important;
  list-style: none !important;
}

/* Override nested item padding to prevent spacing accumulation */
.widget_categories ul.children li,
.wp-block-categories-list ul li,
.wp-block-categories ul li,
.widget_product_categories ul.children li,
.product-categories ul.children li,
.wc-block-product-categories-list ul li,
.wp-block-woocommerce-product-categories ul li {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  border-bottom: none !important;
  display: block !important;
}

/* Simple, clean em-dash indicator for Categories hierarchy */
.widget_categories ul.children li::before,
.wp-block-categories-list ul li::before,
.wp-block-categories ul li::before,
.widget_product_categories ul.children li::before,
.product-categories ul.children li::before,
.wc-block-product-categories-list ul li::before,
.wp-block-woocommerce-product-categories ul li::before {
  content: "—" !important;
  margin-right: 8px !important;
  color: rgba(0, 0, 0, 0.25) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  border: none !important;
}

.theme-dark .widget_categories ul.children li::before,
.theme-dark .wp-block-categories-list ul li::before,
.theme-dark .wp-block-categories ul li::before,
.theme-dark .widget_product_categories ul.children li::before,
.theme-dark .product-categories ul.children li::before,
.theme-dark .wc-block-product-categories-list ul li::before,
.theme-dark .wp-block-woocommerce-product-categories ul li::before {
  color: rgba(255, 255, 255, 0.25) !important;
}

.widget_archive ul li:last-child,
.wp-block-archives-list li:last-child,
.wp-block-archives li:last-child,
.widget_categories ul li:last-child,
.wp-block-categories-list li:last-child,
.wp-block-categories li:last-child,
.widget_product_categories ul li:last-child,
.product-categories li:last-child,
.wc-block-product-categories-list li:last-child,
.wp-block-woocommerce-product-categories li:last-child {
  border-bottom: none !important;
}

.widget_archive ul li a,
.wp-block-archives-list li a,
.wp-block-archives li a,
.widget_categories ul li a,
.wp-block-categories-list li a,
.wp-block-categories li a,
.widget_product_categories ul li a,
.product-categories li a,
.wc-block-product-categories-list li a,
.wp-block-woocommerce-product-categories li a {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.25s ease;
  display: inline-block;
}

.widget_archive ul li a:before,
.wp-block-archives-list li a:before,
.wp-block-archives li a:before,
.widget_categories ul li a:before,
.wp-block-categories-list li a:before,
.wp-block-categories li a:before,
.widget_product_categories ul li a:before,
.product-categories li a:before,
.wc-block-product-categories-list li a:before,
.wp-block-woocommerce-product-categories li a:before {
  display: none !important;
}

.widget_archive ul li a:hover,
.wp-block-archives-list li a:hover,
.wp-block-archives li a:hover,
.widget_categories ul li a:hover,
.wp-block-categories-list li a:hover,
.wp-block-categories li a:hover,
.widget_product_categories ul li a:hover,
.product-categories li a:hover,
.wc-block-product-categories-list li a:hover,
.wp-block-woocommerce-product-categories li a:hover {
  color: var(--thm-primary, #7b40c0) !important;
  transform: translateX(4px) !important;
}

.widget_archive .post-count-badge,
.wp-block-archives-list .post-count-badge,
.wp-block-archives .post-count-badge,
.widget_categories .post-count-badge,
.wp-block-categories-list .post-count-badge,
.wp-block-categories .post-count-badge,
.widget_product_categories .count,
.product-categories .count,
.wc-block-product-categories__item-count,
.wc-block-product-categories-list .count {
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  min-width: 22px;
  padding: 0 8px;
  border-radius: var(--thm-badge-radius, 12px);
  background-color: rgba(0, 0, 0, 0.05);
  color: #4b5563;
  transition: all 0.25s ease;
  align-self: center;
}

.widget_archive ul li a:hover+.post-count-badge,
.wp-block-archives-list li a:hover+.post-count-badge,
.wp-block-archives li a:hover+.post-count-badge,
.widget_categories ul li a:hover+.post-count-badge,
.wp-block-categories-list li a:hover+.post-count-badge,
.wp-block-categories li a:hover+.post-count-badge,
.widget_product_categories ul li a:hover+.count,
.product-categories li a:hover+.count,
.widget_archive .post-count-badge:hover,
.wp-block-archives-list .post-count-badge:hover,
.wp-block-archives .post-count-badge:hover,
.widget_categories .post-count-badge:hover,
.wp-block-categories-list .post-count-badge:hover,
.wp-block-categories .post-count-badge:hover,
.widget_product_categories .count:hover,
.product-categories .count:hover,
.wc-block-product-categories__item-count:hover {
  background-color: var(--thm-primary, #7b40c0);
  color: #ffffff;
}

/* Dark mode compatibility */
.theme-dark .widget_archive ul li a,
.theme-dark .wp-block-archives-list li a,
.theme-dark .wp-block-archives li a,
.theme-dark .widget_categories ul li a,
.theme-dark .wp-block-categories-list li a,
.theme-dark .wp-block-categories li a,
.theme-dark .widget_product_categories ul li a,
.theme-dark .product-categories li a,
.theme-dark .wc-block-product-categories-list li a,
.theme-dark .wp-block-woocommerce-product-categories li a {
  color: #cbd5e1;
}

.theme-dark .widget_archive ul li a:hover,
.theme-dark .wp-block-archives-list li a:hover,
.theme-dark .wp-block-archives li a:hover,
.theme-dark .widget_categories ul li a:hover,
.theme-dark .wp-block-categories-list li a:hover,
.theme-dark .wp-block-categories li a:hover,
.theme-dark .widget_product_categories ul li a:hover,
.theme-dark .product-categories li a:hover,
.theme-dark .wc-block-product-categories-list li a:hover,
.theme-dark .wp-block-woocommerce-product-categories li a:hover {
  color: var(--thm-primary, #7b40c0) !important;
}

.theme-dark .widget_archive .post-count-badge,
.theme-dark .wp-block-archives-list .post-count-badge,
.theme-dark .wp-block-archives .post-count-badge,
.theme-dark .widget_categories .post-count-badge,
.theme-dark .wp-block-categories-list .post-count-badge,
.theme-dark .wp-block-categories .post-count-badge,
.theme-dark .widget_product_categories .count,
.theme-dark .product-categories .count,
.theme-dark .wc-block-product-categories__item-count,
.theme-dark .wc-block-product-categories-list .count {
  background-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.theme-dark .widget_archive ul li a:hover+.post-count-badge,
.theme-dark .wp-block-archives-list li a:hover+.post-count-badge,
.theme-dark .wp-block-archives li a:hover+.post-count-badge,
.theme-dark .widget_categories ul li a:hover+.post-count-badge,
.theme-dark .wp-block-categories-list li a:hover+.post-count-badge,
.theme-dark .wp-block-categories li a:hover+.post-count-badge,
.theme-dark .widget_product_categories ul li a:hover+.count,
.theme-dark .product-categories li a:hover+.count,
.theme-dark .widget_archive .post-count-badge:hover,
.theme-dark .wp-block-archives-list .post-count-badge:hover,
.theme-dark .wp-block-archives .post-count-badge:hover,
.theme-dark .widget_categories .post-count-badge:hover,
.theme-dark .wp-block-categories-list .post-count-badge:hover,
.theme-dark .wp-block-categories .post-count-badge:hover,
.theme-dark .widget_product_categories .count:hover,
.theme-dark .product-categories .count:hover,
.theme-dark .wc-block-product-categories__item-count:hover {
  background-color: var(--thm-primary, #7b40c0);
  color: #ffffff;
}

/* Redesigned Recent Posts / Recent Entries Widget Styles */
.widget_recent_entries ul,
.wp-block-latest-posts,
.wp-block-latest-posts__list {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  width: 100% !important;

}

.widget_recent_entries ul li,
.wp-block-latest-posts li,
.wp-block-latest-posts__list li {
  padding: 12px 20px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  transition: all 0.25s ease;
  width: 100% !important;
  display: block !important;
  box-sizing: border-box;

}

.widget_recent_entries ul li:last-child,
.wp-block-latest-posts li:last-child,
.wp-block-latest-posts__list li:last-child {
  border-bottom: none !important;

}

.widget_recent_entries ul li a,
.wp-block-latest-posts li a,
.wp-block-latest-posts__list li a {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  display: block !important;
  line-height: 1.4 !important;
  margin-bottom: 4px !important;

}

.widget_recent_entries ul li a:before,
.wp-block-latest-posts li a:before,
.wp-block-latest-posts__list li a:before {
  display: none !important;

}

.widget_recent_entries ul li a:hover,
.wp-block-latest-posts li a:hover,
.wp-block-latest-posts__list li a:hover {
  color: var(--thm-primary, #7b40c0) !important;
  transform: translateX(4px) !important;

}

.widget_recent_entries .post-date,
.wp-block-latest-posts__post-date {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #9ca3af !important;
  margin-top: 2px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;

}

.widget_recent_entries .post-date::before,
.wp-block-latest-posts__post-date::before {
  content: "\f073" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
  margin-right: 6px !important;
  font-size: 11px !important;
  color: #9ca3af !important;

}

.wp-block-latest-posts.wp-block-latest-posts__featured-image {
  display: flex !important;
  flex-direction: column !important;

}

.wp-block-latest-posts li.has-post-thumbnail {
  display: flex !important;
  flex-direction: row !important;
  gap: 15px !important;
  align-items: flex-start !important;

}

.wp-block-latest-posts li.has-post-thumbnail .wp-block-latest-posts__featured-image {
  flex-shrink: 0 !important;
  margin: 0 !important;
  border-radius: var(--thm-card-radius, 8px) !important;
  overflow: hidden !important;
  width: 60px !important;
  height: 60px !important;

}

.wp-block-latest-posts li.has-post-thumbnail .wp-block-latest-posts__featured-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;

}

/* Dark mode compatibility */
.theme-dark .widget_recent_entries ul li a,
.theme-dark .wp-block-latest-posts li a,
.theme-dark .wp-block-latest-posts__list li a {
  color: #cbd5e1 !important;

}

.theme-dark .widget_recent_entries ul li a:hover,
.theme-dark .wp-block-latest-posts li a:hover,
.theme-dark .wp-block-latest-posts__list li a:hover {
  color: var(--thm-primary, #7b40c0) !important;

}

.theme-dark .widget_recent_entries .post-date,
.theme-dark .wp-block-latest-posts__post-date {
  color: #8892b0 !important;

}

.theme-dark .widget_recent_entries .post-date::before,
.theme-dark .wp-block-latest-posts__post-date::before {
  color: #8892b0 !important;

}

/* Redesigned Pages List Block Styles */
.wp-block-page-list,
.wp-block-pages-list__submenu {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  width: 100% !important;

}

.wp-block-pages-list__item {
  display: block !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  transition: all 0.25s ease;
  width: 100% !important;
  box-sizing: border-box;

}

.wp-block-page-list>.wp-block-pages-list__item:last-child {
  border-bottom: none;
}

.wp-block-pages-list__item a {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none !important;

}

.wp-block-pages-list__item a:hover {
  color: var(--thm-primary, #7b40c0) !important;
  transform: translateX(4px) !important;

}

/* Styled nested subpage menus */
.wp-block-page-list ul {
  width: 100% !important;
  flex-basis: 100% !important;
  padding-left: 20px !important;
  margin: 8px 0 0 !important;
  border-left: none !important;
  list-style: none !important;

}

/* Overrides for nested items */
.wp-block-page-list ul li {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  border-bottom: none !important;
  display: block !important;

}

/* Simple, clean em-dash indicator for hierarchy */
.wp-block-page-list ul li::before {
  content: "—" !important;
  margin-right: 8px !important;
  color: rgba(0, 0, 0, 0.25) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  border: none !important;

}

.theme-dark .wp-block-page-list ul li::before {
  color: rgba(255, 255, 255, 0.25) !important;

}

/* Dark mode compatibility */
.theme-dark .wp-block-pages-list__item a {
  color: #cbd5e1;
}

.theme-dark .wp-block-pages-list__item a:hover {
  color: var(--thm-primary, #7b40c0) !important;

}

/* Redesigned Dropdown Widget Styles */
.wp-block-archives-dropdown {
  padding: 15px 20px !important;
  width: 100% !important;
  box-sizing: border-box;

}

.wp-block-archives-dropdown__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
}

.theme-dark .wp-block-archives-dropdown__label {
  color: #cbd5e1;
}

.widget select,
.wp-block-archives-dropdown select {
  width: 100%;
  padding: 12px 16px !important;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  background-color: #f9fafb;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--thm-input-radius, 10px);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: all 0.25s ease;
  cursor: pointer;

}

.widget select:focus,
.wp-block-archives-dropdown select:focus {
  outline: none;
  border-color: var(--thm-primary, #7b40c0);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--thm-primary, #7b40c0) 15%, transparent);
}

/* Dark mode compatibility */
.theme-dark .widget select,
.theme-dark .wp-block-archives-dropdown select {
  color: #cbd5e1;
  background-color: #242424;
  border-color: rgba(255, 255, 255, 0.08);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239CA3AF' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
}

.theme-dark .widget select:focus,
.theme-dark .wp-block-archives-dropdown select:focus {
  background-color: var(--thm-black);
}

/* Redesigned Modern Calendar Widget Styles */
.wp-block-calendar,
.widget_calendar {
  width: 100%;
}

.widget #wp-calendar,
.wp-block-calendar table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 15px 0 0 !important;
  font-size: 13px !important;
  table-layout: fixed !important;

}

.widget #wp-calendar caption,
.wp-block-calendar table caption {
  background-color: var(--thm-primary, #7b40c0) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 12px 0 !important;
  border-radius: 10px 10px 0 0 !important;
  margin: 0 !important;
  caption-side: top !important;
  text-align: center !important;

}

.widget #wp-calendar th,
.wp-block-calendar table th {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #6b7280 !important;
  text-transform: uppercase !important;
  padding: 10px 0 !important;
  border: none !important;
  text-align: center !important;
  background: transparent !important;

}

.widget #wp-calendar td,
.wp-block-calendar table td {
  padding: 8px 0 !important;
  text-align: center !important;
  border: none !important;
  color: #4b5563 !important;
  font-weight: 500 !important;

}

/* Day hover and active links styling */
.widget #wp-calendar td a,
.wp-block-calendar table td a {
  color: var(--thm-primary, #7b40c0) !important;
  font-weight: 700 !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: color-mix(in srgb,
      var(--thm-primary, #7b40c0) 10%,
      transparent);
  transition: all 0.25s ease;

}

.widget #wp-calendar td a:hover,
.wp-block-calendar table td a:hover {
  background-color: var(--thm-primary, #7b40c0) !important;
  color: #ffffff !important;

}

/* Style today's date with a modern soft card look */
.widget #wp-calendar td#today,
.wp-block-calendar table td#today {
  background-color: var(--thm-primary, #7b40c0) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;

}

.widget #wp-calendar td#today a,
.wp-block-calendar table td#today a {
  color: #ffffff !important;
  background-color: transparent !important;

}

/* Calendar navigation footer */
.widget #wp-calendar tfoot,
.wp-block-calendar table tfoot {
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;

}

.widget #wp-calendar #prev,
.widget #wp-calendar #next,
.wp-block-calendar table #prev,
.wp-block-calendar table #next {
  padding: 12px 0 0 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;

}

.widget #wp-calendar #prev a,
.widget #wp-calendar #next a,
.wp-block-calendar table #prev a,
.wp-block-calendar table #next a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 5px 10px !important;
  border-radius: 6px !important;
  background-color: rgba(0, 0, 0, 0.04) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #4b5563 !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;

}

.widget #wp-calendar #prev a:hover,
.widget #wp-calendar #next a:hover,
.wp-block-calendar table #prev a:hover,
.wp-block-calendar table #next a:hover {
  background-color: var(--thm-primary, #7b40c0) !important;
  color: #ffffff !important;

}

/* Dark mode compatibility */
.theme-dark .widget #wp-calendar th,
.theme-dark .wp-block-calendar table th {
  color: #9ca3af !important;

}

.theme-dark .widget #wp-calendar td,
.theme-dark .wp-block-calendar table td {
  color: #cbd5e1 !important;

}

.theme-dark .widget #wp-calendar tfoot,
.theme-dark .wp-block-calendar table tfoot {
  border-top-color: rgba(255, 255, 255, 0.08) !important;

}

.theme-dark .widget #wp-calendar #prev a,
.theme-dark .widget #wp-calendar #next a,
.theme-dark .wp-block-calendar table #prev a,
.theme-dark .wp-block-calendar table #next a {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #cbd5e1 !important;

}

.theme-dark .widget #wp-calendar #prev a:hover,
.theme-dark .widget #wp-calendar #next a:hover,
.theme-dark .wp-block-calendar table #prev a:hover,
.theme-dark .wp-block-calendar table #next a:hover {
  background-color: var(--thm-primary, #7b40c0) !important;
  color: #ffffff !important;

}

/*--------------------------------------------------------------*/

/*	Page Scroll Up
/*--------------------------------------------------------------*/

.page-scroll-up {
  background-color: var(--thm-primary);
  border-radius: 50%;
  bottom: 30px;
  display: none;
  height: 48px;
  width: 48px;
  position: fixed;
  right: 30px;
  z-index: 9999;
  color: #ffffff;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--thm-primary) 35%, transparent);
  text-align: center;
  line-height: 46px;
  /* Centering vertically equal to height minus border */
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}

.page-scroll-up i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-scroll-up:hover,
.page-scroll-up:focus {
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--thm-primary) 50%, transparent);
}

.page-scroll-up:hover i {
  transform: translate(-50%, -70%);
}

@media only screen and (max-width: 767px) {
  .notfound .notfound-404 {
    height: 142px;
  }

  .notfound .notfound-404 h1 {
    font-size: 112px;
  }
}

/* Align Page typography with Blog typography */
.page .entry-content,
.page .entry-content p {
  font-size: 15px;
  line-height: 1.7;
}
