/**
Theme Name: Ahmed Alshamsy
Author: Ahmed Alshamsy
Author URI: https://ahmedalshamsy.com/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ahmed-alshamsy
Template: astra
*/

:root { 
--teal-rgb: 23,100,90; 
--teal:#17645A; 
--teal-dark:#135047; 
--gold:#C5B358; 
--heading-gold-gradient: linear-gradient(180deg, #C5B358, rgba(197,179,88,0.85));
/* --- AIM SIDEBAR GLOBAL STYLES --- */
    --sidebar-teal: #004D40;
    --sidebar-gold: #C5A059;
    --sidebar-bg-light: #F8FBFA;
    --sidebar-text: #333333;
    --sidebar-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* --- AIM SOVEREIGN NAVIGATION --- */
    --nav-teal: #004D40;
    --nav-gold: #C5A059;
    --nav-white: #ffffff;
    --nav-shadow: 0 10px 30px rgba(0, 77, 64, 0.12);

}
/* keyboard-only focus ring (avoid persistent rings on mouse click) */
/* Scope keyboard focus to truly interactive controls (exclude tabindex="-1") */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible),
[tabindex]:not([tabindex="-1"]):focus:not(:focus-visible) {
  outline: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  box-shadow: 0 0 0 4px rgba(var(--teal-rgb),0.16) !important;
  outline: none !important;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

type-post .type-page .type-forum {
    background: #fff;
     padding: 0px !important; 
    -webkit-box-shadow: 0px 8px 15px rgba(23, 100, 90, 0.08) !important;
    box-shadow: 0px 8px 15px rgba(23, 100, 90, 0.08) !important;
    margin: 0 0 1.5em;
    border-radius: 3px;
    position: relative;
    padding-left: 0.54em !important;
    padding-right: 0.54em !important;
}
.type-post .type-page {
  margin: 0px !important
}
.ast-separate-container .ast-blog-layout-4-grid .ast-article-post {
    padding: 0px !important;
}
.ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
	margin: 0px !important;
	
}
.ast-page-builder-template .entry-header {
    margin-top: 0px !important; 
    padding-left: 0px !important;
    padding-right: 0px !important;
}
.ast-single-post-featured-section+article {
	margin-top: 0px !important;
}
/* Feature Image Width with No Siderbar */
@media (min-width: 922px) {
    .ast-no-sidebar .site-content .ast-article-image-container--wide {
        margin-left: 0px !important;
        margin-right: 0px !important;
	}
}

h1 {
    font-size: 34px;
    font-size: 2.125rem;
}

h2 {
    font-size: 25.6px;
    font-size: 1.6rem;
}

h3 {
    font-size: 22.4px;
    font-size: 1.4rem;
}

h4 {
    font-size: 20.8px;
    font-size: 1.3rem;
}

h5 {
    font-size: 19.2px;
    font-size: 1.2rem;
}

h6 {
    font-size: 17.6px;
    font-size: 1.1rem;
}
  /* --- AIM SOVEREIGN NAVIGATION --- */
/* 1. Top Level Menu Links */
.main-header-menu .menu-link {
    color: var(--nav-teal) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    position: relative;
    padding: 10px 15px !important;
    transition: all 0.3s ease !important;
}

/* 2. Interactive Sliding Underline Effect */
.main-header-menu > .menu-item > .menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    background-color: var(--nav-gold);
    transition: width 0.3s ease;
}

.main-header-menu > .menu-item:hover > .menu-link::after,
.main-header-menu > .current-menu-item > .menu-link::after {
    width: calc(100% - 30px);
}

.main-header-menu > .menu-item:hover > .menu-link {
    color: var(--nav-gold) !important;
}

/* 3. Dropdown (Sub-menu) Container */
.main-header-menu .sub-menu {
    background: var(--nav-white) !important;
    border-top: 4px solid var(--nav-gold) !important; /* Sovereign signature gold line */
    box-shadow: var(--nav-shadow) !important;
    border-radius: 0 0 8px 8px !important;
    padding: 10px 0 !important;
    animation: astFadeInUp 0.3s ease forwards;
}

/* 4. Dropdown Links */
.main-header-menu .sub-menu .menu-link {
    padding: 12px 25px !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid rgba(0, 77, 64, 0.05);
    transition: all 0.2s ease !important;
}

.main-header-menu .sub-menu .menu-item:last-child .menu-link {
    border-bottom: none;
}

.main-header-menu .sub-menu .menu-link:hover {
    background: #F8FBFA !important;
    color: var(--nav-gold) !important;
    padding-left: 30px !important; /* Subtle "push" effect on hover */
}

/* 5. Navigation Arrows Styling */
.ast-header-navigation-arrow, 
.ast-icon.icon-arrow svg {
    fill: var(--nav-gold) !important;
    width: 12px !important;
    transition: transform 0.3s ease;
}

.menu-item:hover > .menu-link .ast-header-navigation-arrow {
    transform: rotate(180deg);
}

/* 6. Active/Current Page Highlight */
.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current-menu-ancestor > .menu-link {
    color: var(--nav-teal) !important;
}

/* Animation for dropdown appearance */
@keyframes astFadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 921px) {
    .main-header-menu .menu-link::after { display: none; } /* Disable underline on mobile */
    .main-header-menu .sub-menu { border-top: none !important; border-left: 3px solid var(--nav-gold) !important; }
}

.entry-content h2 {
    font-family: Merriweather, Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.41;
    letter-spacing: 0px;
  /*  font-style: italic; */
    border-bottom: 2px solid #C5B358;
    padding-top: 1rem;
    padding-bottom: .825rem;
}

.entry-content h3 {
    padding-top: 1rem;
}

.ast-primary-header-bar .ast-primary-header .main-header-bar .site-header-focus-item {
    position: relative;
    z-index: 99;
    background: #fafbff;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}
.ast-single-post-featured-section+article {
    padding: 0px !important;
}
/* fixed selector: split types correctly and removed stray "Specificity" text */
.type-post,
.type-page,
.type-forum {
    background: #fff;
    padding: 1rem;
    -webkit-box-shadow: 0px 8px 15px rgba(23,100,90,0.08);
    box-shadow: 0px 8px 15px rgba(23,100,90,0.08);
    margin: 0 0 1.5em;
    border-radius: 3px;
    position: relative;
}
button, .button, input[type=button], input[type=reset], input[type=submit] {
    font-weight: 600;
    line-height: 48px;
    display: inline-block;
    padding: 0 1.5em;
    cursor: pointer;
    -webkit-transition: .2s all ease-in-out;
    transition: .2s all ease-in-out;
    text-decoration: none !important;
    text-transform: uppercase;
    color: #ffffff;
    border: 0;
    border-radius: 40px;
    background: linear-gradient(180deg,#17645A,#135047);
    background-repeat: no-repeat;
    font-size: 16px;
    font-size: 1rem;
}
/* Container centers the button */
.ast-blog-single-element.ast-read-more-container.read-more {
  text-align: center !important;
}

/* Button styles */
.ast-blog-single-element.ast-read-more-container.read-more a {
  display: inline-block;
  background-color: #17645A !important;   /* primary blue */
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  line-height: 1.2;
  margin: 8px auto;
  box-shadow: 0 2px 6px rgba(23,100,90,0.15);
  transition: background-color .18s ease, transform .12s ease;
}

/* Hover and focus */
.ast-blog-single-element.ast-read-more-container.read-more a:hover,
.ast-blog-single-element.ast-read-more-container.read-more a:focus {
  background-color: #135047 !important;   /* darker blue */
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(23,100,90,0.2);
  outline: none;
}

/* Keyboard focus ring */
.ast-blog-single-element.ast-read-more-container.read-more a:focus {
  box-shadow: 0 0 0 3px rgba(23,100,90,0.25);
}

/* Full-width button on small screens (optional) */
@media (max-width: 600px) {
  .ast-blog-single-element.ast-read-more-container.read-more a {
    display: block;
    width: 100%;
    text-align: center;
  }
}
/* === Read More Button Styling (Astra Blog Archive) === */
/* NOTE: duplicate block preserved as in original (no value changes) */

/* === Pagination Styling (Astra) === */
.ast-pagination {
  text-align: center;
  margin-top: 30px;
}

.ast-pagination .page-numbers {
  display: inline-block;
  background-color: #17645A;
  color: #ffffff;
  padding: 2px 14px;
  margin: 4px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color .18s ease, transform .12s ease;
}

.ast-pagination .page-numbers:hover,
.ast-pagination .page-numbers:focus {
  background-color: #135047;
  transform: translateY(-1px);
}

.ast-pagination .page-numbers.current {
  background-color: #135047;
  cursor: default;
}

 .ast-header-breadcrumb {
    background-color: #d9e2ec;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
}
#main {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
}
h1.entry-title {
    font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 2.125rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
    background-color: #17645A;
    color: #ffffff;
    padding:20px;
    border-bottom: 2px solid #C5B358;
}
.ast-header-html-1 .ast-builder-html-element {
   font-style: italic;
  font-family: "Cardo", "Merriweather", serif;
  font-size: 0.95rem;
  letter-spacing: .3px;
}
h1.wp-block-heading {
    font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 2.125rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
    background-color: #17645A;
    color: #ffffff;
    padding:20px;
    border-bottom: 2px solid #C5B358;
}
 .wp-block-heading {
     border-bottom: 2px solid rgba(197,179,88,0.20);
     background-color: #d9e2ec;
     box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
     padding: 20px;
     margin-bottom: 10px;
}
/* small spacing tweak for mobile */
@media (max-width: 600px) {
  .my-reading-time { font-size: .9rem; margin-right: .4rem; }
}

/* ===== Headings: each level its own font + background ===== */
/* H2 — prominent card with subtle gold rim + teal base */
h2.wp-block-heading {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif !important;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
  background: linear-gradient(0deg, rgba(23,100,90,0.06), #F7F6F3);
  color: #043047;
  border: 1px solid rgba(197,179,88,0.16);
  border-bottom: 4px solid #C5B358; /* stronger teal base */
  padding: 22px 24px;
  margin-bottom: 14px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(23,100,90,0.03);
}
h2.wp-block-heading::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 12px;
  vertical-align: middle;
  background: linear-gradient(180deg, #C5B358, rgba(197,179,88,0.85));
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(197,179,88,0.12);
}
/* H3 — airy band with strong teal left accent */
h3.wp-block-heading {
  font-family: Garamond, "Times New Roman", serif !important;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.18;
  background: linear-gradient(0deg, rgba(23,100,90,0.04), #F7F6F3) !important;
  color: #0B3A47 !important;
  border-left: 6px solid #17645A;    
  border-bottom: 1px solid rgba(197,179,88,0.16);
  padding: 18px 20px;
  margin-bottom: 14px;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
h3.wp-block-heading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--heading-gold-gradient);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(197,179,88,0.12);
}
/* H4 — neutral card with teal top rule */
h4.wp-block-heading {
  font-family: "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  background: #F6F8FA; /* neutral surface */
  color: #102A43;
  border-top: 4px solid #135047; /* darker teal top stripe */
  border: 1px solid rgba(197,179,88,0.16);
  padding: 16px 18px;
  margin-bottom: 12px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(23,100,90,0.04);
}
h4.wp-block-heading::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 12px;                 /* rectangle clipped into triangle */
  margin-right: 12px;
  vertical-align: middle;
  background: var(--heading-gold-gradient);
  -webkit-clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
  clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
  border-radius: 1px;
  box-shadow: 0 2px 6px rgba(197,179,88,0.12);
}
@media (max-width: 680px) {
  h2.wp-block-heading::before { width: 9px; height: 9px; margin-right: 10px; }
  h3.wp-block-heading::before { width: 10px; height: 10px; margin-right: 10px; }
  h4.wp-block-heading::before { width: 12px; height: 10px; margin-right: 10px; }
}
/* H5 — warm cream card with subtle gold double underline */
h5.wp-block-heading {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.22;
  background: #FBF7F4; /* warm cream */
  color: #2B2E2B;
  border-bottom: 3px double rgba(197,179,88,0.18); /* gold double line */
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(43,46,43,0.04);
}
/* H6 — compact chip style with inset teal stripe */
h6.wp-block-heading {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: none;
  background: rgba(23,100,90,0.03);
  color: #222222;
  border-left: 4px solid rgba(23,100,90,0.12);
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 6px;
}
/* Responsive tweak: reduce padding on small screens */
@media (max-width: 680px) {
  h2.wp-block-heading { padding: 16px 14px; }
  h3.wp-block-heading { padding: 14px 12px; }
  h4.wp-block-heading, h5.wp-block-heading, h6.wp-block-heading { padding: 10px 12px; }
}
/* Login Page */
.w3eden .wpdm-auth-circles {
    background: #17645a !important;
} 
.w3eden .wpdm-auth-btn {
    background: #17645a !important;
}
.w3eden .wpdm-auth-form-title {
    color: #17645a !important;
} 
.w3eden .wpdm-auth-split input[type="text"], .w3eden .wpdm-auth-split input[type="email"], .w3eden .wpdm-auth-split input[type="password"] {
    border-left: 3px solid #17645a !important;
}
.w3eden .wpdm-auth-forgot {
    color: #17645a !important;
}
.w3eden .wpdm-auth-link a {
    color: #17645a !important;
}
/* Drop cap — only in the main single post/article content (not widgets/TOC/sidebar) */
.single .entry-content > p:first-of-type::first-letter,
article.post .entry-content > p:first-of-type::first-letter {
  float: left;
  font-size: 3.2rem;
  line-height: 0.85;
  padding-right: 0.4rem;
  font-weight: 700;
  color: var(--teal);
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  margin-top: 2px;
}

/* Responsive smaller size on narrow screens */
@media (max-width: 680px) {
  .single .entry-content > p:first-of-type::first-letter,
  article.post .entry-content > p:first-of-type::first-letter {
    font-size: 2.2rem;
    line-height: 0.9;
  }
}

/* Smooth underline animation for content links */
.entry-content a {
  position: relative;
  color: var(--teal);
  text-decoration: none;
  transition: color .16s ease;
}

/* underline bar */
  .entry-content a::after{
  content:"";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg,var(--teal), var(--gold));
  transition: transform .18s ease;
}

/* hover/focus: slide in */
.entry-content a:hover,
.entry-content a:focus {
  color: var(--teal-dark);
}
.entry-content a:hover::after,
.entry-content a:focus::after {
  transform: scaleX(1);
}

 .sidebar-main {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
}
 .widget_block {
   padding: 20px !important;
} 
 .widget-title {
     background-color: #d9e2ec;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
    padding:20px;
    margin-bottom: 10px;
}

/* FORCE WPDM Buttons to be Sovereign Teal */
.aim-archive-download-wrapper .w3eden .btn,
.aim-archive-download-wrapper .w3eden .btn-primary,
.aim-archive-download-wrapper .w3eden .btn-info {
    background-color: #004D40 !important;
    border: 1px solid #004D40 !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Hover State */
.aim-archive-download-wrapper .w3eden .btn:hover {
    background-color: #00695C !important;
    border-color: #00695C !important;
}

/* Fix WPDM Container Margins */
.aim-archive-download-wrapper .w3eden {
    margin: 0 !important; 
    padding: 0 !important;
}
h2.wp-block-heading.has-text-align-center {
  font-family: Merriweather, Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #072724 0%, #031919 100%); 
  background-color: #060606;
  padding:20px;
  margin-bottom: 10px;
  margin-right: -20px !important;
  margin-left: -20px !important;
  color: #dffbf6;
  border-bottom: 2px solid rgba(197,179,88,0.20);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.02);
  border-radius: 8px;
  background-size: cover;
}
h2.wp-block-heading.has-text-align-center::before {
    content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 12px;
  vertical-align: middle;
  background: linear-gradient(180deg, #C5B358, rgba(197,179,88,0.85));
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(197,179,88,0.12);
}
h3.wp-block-heading.has-text-align-center {
   font-family: Merriweather, Arial, Helvetica, sans-serif;
   box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
   background: #17645A !important;   
   color: #ffffff !important;
   border-bottom: 2px solid rgba(197,179,88,0.20);
   padding:20px;
   margin-bottom: 10px;
}
/* AIM SOVEREIGN H4 STYLING */

/* 1. The Text Container */
h4.wp-block-heading.has-text-align-center {
    display: flex;           /* Enables the lines on the sides */
    align-items: center;     /* Vertically centers the lines */
    justify-content: center;
    text-align: center;
    
    /* Typography */
    color: #d4af37 !important; /* AIM Gold */
    font-family: inherit;      /* Keeps your site font */
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 3px;       /* Wide, authoritative spacing */
    font-size: 1.1rem !important; /* Compact but readable */
    line-height: 1.4;
    
    /* Spacing */
    margin-top: 50px !important;
    margin-bottom: 30px !important;
    padding: 0 10px;
    
    /* Glow Effect */
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* 2. The Left Line (Fading In) */
h4.wp-block-heading.has-text-align-center::before {
    content: '';
    flex: 1;                 /* Takes up available space */
    height: 1px;             /* Thin elegant line */
    background: linear-gradient(90deg, transparent, #d4af37); /* Fade in from transparent to gold */
    margin-right: 20px;      /* Space between line and text */
    opacity: 0.6;
}

/* 3. The Right Line (Fading Out) */
h4.wp-block-heading.has-text-align-center::after {
    content: '';
    flex: 1;                 /* Takes up available space */
    height: 1px;
    background: linear-gradient(90deg, #d4af37, transparent); /* Fade out from gold to transparent */
    margin-left: 20px;       /* Space between text and line */
    opacity: 0.6;
}

/* 4. Mobile Adjustment */
@media (max-width: 600px) {
    h4.wp-block-heading.has-text-align-center {
        font-size: 0.9rem !important;
        letter-spacing: 1.5px;
    }
    h4.wp-block-heading.has-text-align-center::before,
    h4.wp-block-heading.has-text-align-center::after {
        margin: 0 10px; /* Tighter spacing on mobile */
    }
}
.aim-gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #C5A059, transparent);
    margin: 2rem 0;
}
.steel-thread {
    border-left: 3px solid #C5A059;
    padding-left: 15px;
    font-style: italic;
    color: #004D40;
}
.jetpack-search-form {
    margin-bottom: 10px;
}
.ast-archive-entry-banner {
  font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(135deg, #072724 0%, #031919 100%); 
  background-color: #060606;
  color: #dffbf6;
  border: 1px solid #C5B358;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.02);
  border-radius: 8px;
  background-size: cover;
}
.ast-archive-entry-banner p
 {
    color: #ffffff !important;
}
.read-more-link .ast-read-more-container .read-more { 
    background-color: #17645A; /* Button background color */
    color: #ffffff; /* Button text color */
    padding: 10px 20px; /* Padding inside the button */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Ensure it behaves like a block element */
}
.entry-meta { 
  background: #F7F3EE;       /* soft beige */
  color: #2B2E2B !important;
  border-bottom: 2px solid #C5B358;
  line-height: 2rem !important;
  padding: 12px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(43,46,43,0.04);
}
.entry-meta * {
     text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}
span.ast-terms-link {
    margin-left: -12px;
}
.ast-author-avatar {
    padding-left: 170px;
}
@media (max-width: 375px) {
 .ast-author-avatar {
    padding-left: 70px;
}
  }
.author-name {
  font-style: italic;
  font-family: "Cardo", "Merriweather", serif;
  font-size: 0.95rem;
  letter-spacing: .3px;
}
p.ast-terms-link {
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  padding: 8px 12px;
  border-radius: 20px;
  background: rgba(23,100,90,0.04) !important;
  border: 1px solid rgba(197,179,88,0.18) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  color: inherit;
  text-decoration: none;
  margin: 0 6px 6px 0;
  transition: transform .12s ease, box-shadow .12s ease;
  width: 100%;
}

p.ast-terms-link:hover,
p.ast-terms-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(var(--teal-rgb),0.16) !important;
  outline: none !important;
}

p.ast-terms-link:focus-visible {
 box-shadow: 0 0 0 4px rgba(var(--teal-rgb),0.16) !important;
}

.read-more-link:hover {
    background-color: #135047; /* Hover background color */
}
.wp-block-uagb-inline-notice { 
    background:#F7F0E6; 
    border-left: 4px solid #17645A !important;  
    color:#233238; 
    padding: 0px 0px; 
    border-radius:6px;
    margin-bottom: 20px;
    margin-top: 20px;
}
.wp-block-uagb-inline-notice a { 
    color:#17645A; 
    text-decoration:underline; 
}
.uagb-notice-title {
    color: #ffffff !important; 
    background-color: #135047 !important;
}
.uagb-notice-text {
    border: 2px solid #17645A !important;
}
.wp-block-uagb-image {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
    margin-bottom: 20px;
}
.wp-block-uagb-blockquote {
    margin-bottom: 20px;
}
.uagb-blockquote { 
  background: rgba(23,100,90,0.03);              /* soft ice blue */
  border-color: #17645A !important; /* Twitter blue accent */
  border-bottom: 2px solid #17645A;
  color: #233238;                   /* readable neutral text */
  padding: 0;
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 10px !important;
}
.uagb-blockquote__content {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 20px !important;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-style: italic;
}
.uagb-blockquote__author-wrap {
  display:block;
  margin-top:0.6rem;
  font-size:18px;
  font-variant: small-caps;
  font-style: normal;
}
 a.uagb-blockquote__tweet-button {
    background: linear-gradient(135deg, #072724 0%, #031919 100% 100%) !important;
}
.wp-block-quote { 
  background: #ECF7F2;              /* pale mint-sage green */
  border-color: #17645A !important; /* muted emerald accent */
  border-top: 2px solid #17645A;
  color: #233238;
  padding: 0;
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 5px !important;
}
.wp-block-quote p {
  font-family: "Cardo", "Merriweather", serif;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0;
  font-weight: 400;
  padding: 5px;
}
/* make block quotes react slightly on hover for micro-interaction */
.uagb-blockquote, .wp-block-quote {
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  will-change: transform;
}

.uagb-blockquote:hover, .wp-block-quote:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 30px rgba(var(--teal-rgb),0.08);
  background-color: rgba(var(--teal-rgb),0.04);
}
#rank-math-toc {
  /* very dark, nearly solid background that pairs with teal/gold accents */
  background: linear-gradient(135deg, #072724 0%, #031919 100%); 
  background-color: #000000;
  color: #ffffff;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #C5B358;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.02);
  border-radius: 8px;
  background-size: cover;
}

#rank-math-toc h2 {
  border-bottom: 2px solid #C5B358;
  color: #d4af37;
  padding-bottom: 0.6rem;
  margin-top: 0;
  text-align: center;
}
.wp-block-rank-math-toc-block li::marker {
    color: #C5B358;
}
#rank-math-toc a {
  color: #dffbf6;
  /* color: #e6f7f4; */            
  text-decoration: none;
  transition: color .12s ease, transform .08s ease;
}
#rank-math-toc a:hover,
#rank-math-toc a:focus {
  outline: 3px dashed rgba(var(--teal-rgb),0.32);
  outline-offset: 4px;
  box-shadow: none;
  color: #4CC1AE;
  transform: translateX(2px);
}
p {
    padding-left: 20px;
    padding-right: 20px;
}
.wp-block-list {
    padding-left: 40px;
    padding-right: 20px;
}
#rank-math-faq {
    padding-left: 20px;
    padding-right: 20px;
}
/* --- AIM CANONICAL DOWNLOAD CARD --- */
/* 1. Main Card Container */
.link-template-default.card.mb-2 {
    background: rgba(0, 26, 18, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-top: 2px solid #d4af37 !important; /* Gold Header Accent */
    border-radius: 4px !important;
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important;
    margin-bottom: 25px !important;
    display: block !important;
}

/* 2. Layout Fix: Prevent "Letter per Row" / Vertical Stacking */
.link-template-default.card.mb-2 .media {
    display: flex !important;
    flex-direction: row !important; /* Forces horizontal */
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* 3. Icon Container */
.link-template-default.card.mb-2 .img-48 {
    flex: 0 0 48px !important; /* Prevents icon from shrinking */
    margin-right: 15px !important;
    background: rgba(212, 175, 55, 0.1) !important;
    padding: 8px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

/* 4. Text Content Area */
.link-template-default.card.mb-2 .media-body {
    flex: 1 !important;
    min-width: 0 !important; /* Critical fix for text wrapping */
    padding: 0 10px !important;
}

/* 5. Title Styling (Gold & Bold) */
.link-template-default.card.mb-2 .package-title {
    margin: 0 0 5px 0 !important;
    font-family: inherit !important;
}

.link-template-default.card.mb-2 .package-title a {
    color: #f7e08a !important; /* Bright Gold */
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    display: block !important;
}

/* 6. File Details (Muted Teal-Gray) */
.link-template-default.card.mb-2 .text-muted {
    color: #8fa39f !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* 7. Download Button (The CTA) */
.link-template-default.card.mb-2 .wpdm-download-link {
    background: #d4af37 !important; /* Gold */
    color: #001a12 !important; /* Deep Teal text */
    font-weight: 900 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 10px 20px !important;
    border-radius: 2px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.link-template-default.card.mb-2 .wpdm-download-link:hover {
    background: #f7e08a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4) !important;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .link-template-default.card.mb-2 .media {
        flex-direction: column !important;
        text-align: center !important;
    }
    .link-template-default.card.mb-2 .img-48 { margin: 0 0 10px 0 !important; }
    .link-template-default.card.mb-2 .media-body { margin-bottom: 15px !important; }
}
.wp-block-footnotes {
    padding-left: 50px;
    padding-right: 20px;
}
/* Forminator AIM Custom Styling */
.forminator-ui.forminator-custom-form {
    background: #00120d !important; 
    border: 2px solid #d4af37 !important; 
    padding: 35px !important;
    border-radius: 15px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6) !important;
}

.forminator-ui .forminator-label {
    color: #d4af37 !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    font-size: 13px !important;
    margin-bottom: 10px !important;
}

.forminator-ui .forminator-input, 
.forminator-ui .forminator-textarea,
.forminator-ui .forminator-select .select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease !important;
}

.forminator-ui .forminator-input:focus, 
.forminator-ui .forminator-textarea:focus {
    background-color: rgba(212, 175, 55, 0.05) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2) !important;
}

.forminator-ui .forminator-button-submit {
    background: linear-gradient(90deg, #b8860b, #d4af37, #b8860b) !important;
    background-size: 200% auto !important;
    color: #00120d !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    padding: 18px !important;
    border-radius: 50px !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3) !important;
    transition: 0.5s !important;
}

.forminator-ui .forminator-button-submit:hover {
    background-position: right center !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5) !important;
}

.forminator-ui .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
}

.forminator-ui .forminator-icon-chevron-down,
.forminator-ui .forminator-icon-calendar {
    color: #d4af37 !important;
}

.forminator-ui.forminator-design--material .forminator-floating--input {
    color: #fff !important;
}
/*sharedaddy*/
.sharedaddy {
    padding-left: 20px;
    padding-right: 20px;
}
.jp-relatedposts {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
    padding:20px;
}
h4.jp-relatedposts-post-title {
    padding: 5px !important;
}
.jp-relatedposts-post-title a {
    font-size: 18px !important;
    font-weight: 500 !important;
}
@media only screen and (max-width: 640px) {
    #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
        width: 100% !important;
    }
}
#subscribe-submit.is-link a {
    color: #FFD700 !important;
}
.ast-related-posts-title-section {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
    background-color: #17645A;
    color: #ffffff !important;
    padding:20px !important;
    margin-bottom: 10px !important;
}
.ast-related-posts-title {
    color: #ffffff !important;
    padding-top: 15px !important;
    margin-bottom: 15px !important;
}
.ast-related-post-content {
    padding: 0px 20px !important;
}
.ast-single-related-posts-container.ast-container--fallback
{
    padding: 0px !important;
}
.site .comments-area {
    padding-bottom: 0px !important;
}
.comment-respond {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
    padding: 20px !important;
}
.comment-reply-title {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1), inset 0 1px 0 0 rgba(229, 229, 229, .004);
    background-color: #17645A;
    color: #ffffff !important;
    padding:20px !important;
    margin-bottom: 10px !important;
    text-align: center;
    margin: 10px -20px !important;
}
/* === Single Post Previous / Next Navigation (match buttons) === */

/* container centering */
.post-navigation,
.nav-links,
.ast-single-post-navigation,
.single-post .post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  align-items: center;
}

/* style both prev/next links (covers common selectors) */
.post-navigation .nav-previous a,
.post-navigation .nav-next a,
.nav-links .prev,
.nav-links .next,
.ast-single-post-navigation a,
.single-post .nav-links a {
  display: inline-block;
  background-color: #17645A !important;
  color: #ffffff !important;
  padding: 1px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color .18s ease, transform .12s ease;
}

/* hover / focus */
.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover,
.nav-links .prev:hover,
.nav-links .next:hover,
.ast-single-post-navigation a:hover,
.single-post .nav-links a:hover,
.post-navigation .nav-previous a:focus,
.post-navigation .nav-next a:focus {
  background-color: #135047 !important;
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 4px 10px rgba(23,100,90,0.18);
}

/* disabled / no-link state (if applicable) */
.post-navigation .nav-previous a[aria-disabled="true"],
.post-navigation .nav-next a[aria-disabled="true"],
.post-navigation .nav-previous:empty,
.post-navigation .nav-next:empty {
  background-color: rgba(23,100,90,0.15) !important;
  pointer-events: none;
  opacity: 0.85;
  transform: none;
}

/* ensure small screens stack nicely */
@media (max-width: 680px) {
  .post-navigation,
  .nav-links,
  .ast-single-post-navigation,
  .single-post .post-navigation {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .post-navigation .nav-previous a,
  .post-navigation .nav-next a,
  .nav-links .prev,
  .nav-links .next,
  .ast-single-post-navigation a,
  .single-post .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
  }
}
/* 1. PMPro Login & Member Navigation (User Menu) */
/* Container */
#pmpro_login.pmpro_section{
  padding: 0px !important;
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:980px;
  margin:28px auto;
}

/* Card */
.pmpro_card.pmpro_login_wrap{
  background:linear-gradient(180deg, rgba(255,255,255,0.85), #ffffff);
  border-radius:14px;
/*  border:1px solid rgba(2,40,36,0.04); */
  box-shadow:0 10px 30px rgba(0,77,64,0.08);
  overflow:hidden;
  padding:10px;
  box-sizing:border-box;
  position:relative;
  backdrop-filter:saturate(120%) blur(6px);
  -webkit-backdrop-filter:saturate(120%) blur(6px);
}

/* Decorative top accent */
.pmpro_card.pmpro_login_wrap::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:8px;
  background:linear-gradient(90deg,#C5A059,#00695C);
  opacity:0.95;
  border-top-left-radius:14px;
  border-top-right-radius:14px;
}

/* Title */
.pmpro_card_title.pmpro_font-large{
  margin:0 0 10px 0;
  font-family:"Playfair Display", Georgia, serif;
  font-size:1.7rem;
  color:#004D40;
  letter-spacing:-0.5px;
  text-align:left;
  display:inline-block;
  position:relative;
}

/* Subtle underline accent under title */
.pmpro_card_title.pmpro_font-large::after{
  content:"";
  display:block;
  height:4px;
  width:120px;
  margin-top:10px;
  border-radius:4px;
  background:linear-gradient(90deg, rgba(197,160,89,0.22), rgba(0,77,64,0.12));
}

/* Card content layout */
.pmpro_card_content{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin-top:12px;
  align-items:stretch;
}

/* Google Sign-in special container: center nicely */
.googlesitekit-sign-in-with-google__frontend-output-button{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  gap:12px;
}

/* Inputs */
.pmpro_card_content .input,
#user_login,
#user_pass{
  width:100%;
  display:block;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid rgba(2,40,36,0.06);
  background:linear-gradient(180deg,#ffffff,#fbfdfe);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.6);
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#1f2d2b;
  font-size:0.98rem;
  box-sizing:border-box;
  transition:box-shadow 200ms cubic-bezier(.2,.9,.2,1), transform 200ms cubic-bezier(.2,.9,.2,1), border-color 200ms cubic-bezier(.2,.9,.2,1);
}

/* Labels */
.pmpro_card_content label{
  display:block;
  margin:8px 0 6px;
  font-weight:700;
  font-size:0.9rem;
  color:#004D40;
  letter-spacing:0.2px;
}

/* Input focus */
.pmpro_card_content .input:focus,
#user_login:focus,
#user_pass:focus{
  outline:none;
  border-color:#00695C;
  box-shadow:0 6px 20px rgba(0,105,92,0.06), 0 0 0 4px rgba(0,105,92,0.06);
  transform:translateY(-1px);
}

/* Password toggle button */
.pmpro_form_field-password-toggle{
  margin-top:8px;
}
.pmpro_btn.pmpro_btn-plain{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:8px;
  border:1px solid rgba(2,40,36,0.06);
  background:linear-gradient(180deg,#fff,#fbfbfb);
  color:#004D40;
  cursor:pointer;
  transition:all 200ms cubic-bezier(.2,.9,.2,1);
  font-weight:700;
  font-size:0.9rem;
}
.pmpro_btn.pmpro_btn-plain:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 20px rgba(0,77,64,0.06);
  color:#C5A059;
  border-color:rgba(197,160,89,0.4);
}

/* Eye icon color */
.pmpro_icon .feather{
  stroke:#00695C;
}
.pmpro_btn.pmpro_btn-plain:hover .feather{
  stroke:#C5A059;
}

/* Remember checkbox */
.login-remember label{
  font-size:0.95rem;
  color:#1f2d2b;
  font-weight:600;
  display:inline-flex;
  gap:8px;
  align-items:center;
}

/* Primary submit button */
.button.button-primary,
#wp-submit{
  appearance:none;
  border:0;
  cursor:pointer;
  background:linear-gradient(180deg,#004D40,#00695C);
  color:#fff;
  padding:12px 20px;
  border-radius:10px;
  font-weight:800;
  box-shadow:0 8px 24px rgba(0,77,64,0.18);
  transition:transform 200ms cubic-bezier(.2,.9,.2,1), box-shadow 200ms cubic-bezier(.2,.9,.2,1);
  letter-spacing:0.4px;
  font-size:1rem;
}
.button.button-primary:hover,
#wp-submit:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(0,77,64,0.22);
}

/* Links under card */
.pmpro_card_actions{
  margin-top:10px;
  display:flex;
  justify-content:flex-start;
  gap:12px;
  align-items:center;
  font-weight:700;
}
.pmpro_card_actions a{
  color:#004D40;
  text-decoration:none;
  padding:6px 0;
  transition:color 200ms cubic-bezier(.2,.9,.2,1);
}
.pmpro_card_actions a:hover{
  color:#C5A059;
  text-decoration:underline;
}

/* Small helper styles */
.pmpro_form_field-password-toggle-state{
  font-size:0.9rem;
  color:#718096;
}

/* Card inner spacing on small screens */
@media (max-width:720px){
  #pmpro_login.pmpro_section{ padding:18px; margin:18px auto; }
  .pmpro_card.pmpro_login_wrap{ padding:16px; border-radius:12px; }
  .pmpro_card_title.pmpro_font-large{ font-size:1.45rem; }
  .pmpro_card_content{ gap:12px; }
  .googlesitekit-sign-in-with-google__frontend-output-button iframe{ width:100% !important; max-width:320px; }
}

/* Very small screens - stack and enlarge targets */
@media (max-width:420px){
  .pmpro_card_content .input{ padding:12px; font-size:1rem; }
  .button.button-primary{ width:100%; padding:14px; }
  .pmpro_card_actions{ flex-direction:column; align-items:flex-start; gap:8px; }
}
/* PMPRO User Menu after login */
    .pmpro_card_content {
    padding: 0px !important;
        text-align: center;
    }
#pmpro-member-navigation {
    background: #ffffff;
 /*   border: 1px solid rgba(0, 77, 64, 0.1);
 /*   border-radius: 8px;
  /*  padding: 15px; */
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

#pmpro-member-navigation ul.menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#pmpro-member-navigation .menu-item {
    margin-bottom: 5px;
}

#pmpro-member-navigation .menu-link {
    display: block;
    padding: 10px 15px;
    color: var(--sidebar-teal) !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--sidebar-transition);
    border-left: 3px solid transparent;
}

/* Hover Effect */
#pmpro-member-navigation .menu-link:hover {
    background: var(--sidebar-bg-light);
    color: var(--sidebar-gold) !important;
    border-left: 3px solid var(--sidebar-gold);
    padding-left: 20px;
}

/* Active State */
#pmpro-member-navigation .current-menu-item .menu-link {
    background: var(--sidebar-teal);
    color: #ffffff !important;
    border-left: 3px solid var(--sidebar-gold);
}

/* 2. Latest Posts Styling */
ul.wp-block-latest-posts {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

ul.wp-block-latest-posts li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: var(--sidebar-transition);
}

ul.wp-block-latest-posts li:last-child {
    border-bottom: none;
}

.wp-block-latest-posts__post-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: var(--sidebar-teal) !important;
    text-decoration: none !important;
    display: block;
    transition: var(--sidebar-transition);
}

ul.wp-block-latest-posts li:hover .wp-block-latest-posts__post-title {
    color: var(--sidebar-gold) !important;
    transform: translateX(5px);
}

/* Add a small gold indicator before each title on hover */
ul.wp-block-latest-posts li::before {
    content: "•";
    color: var(--sidebar-gold);
    font-weight: bold;
    display: inline-block; 
    width: 0;
    opacity: 0;
    transition: var(--sidebar-transition);
}

ul.wp-block-latest-posts li:hover::before {
    width: 15px;
    opacity: 1;
}

/* 3. Category List Styling */
ul.wp-block-categories {
    list-style: none !important;
    padding: 0 !important;
}

ul.wp-block-categories li {
    margin-bottom: 8px;
}

ul.wp-block-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--sidebar-bg-light);
    color: var(--sidebar-teal) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid rgba(0, 77, 64, 0.05);
    transition: var(--sidebar-transition);
}

ul.wp-block-categories li a:hover {
    background: #ffffff;
    border-color: var(--sidebar-gold);
    color: var(--sidebar-gold) !important;
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.2);
}

/* Style for Category Post Counts (if enabled in widget) */
ul.wp-block-categories li span {
    background: var(--sidebar-teal);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
}
/* Footer */
.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"] {
    margin-top: -16px;
    margin-bottom: -20px;
}
.site-above-footer-wrap[data-section="section-above-footer-builder"] 
{
  background: linear-gradient(135deg, #072724 0%, #031919 100%) !important;
  background-color: #05211F !important;
}
/* NUCLEAR OPTION: Force #block-67 to absolute zero */

/* 1. Target the main container and all its aliases */
#block-67,
.widget#block-67,
div#block-67,
aside#block-67 {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* 2. Target the inner section/content directly */
#block-67 > section,
#block-67 > div,
#block-67 .widget-wrap,
#block-67 .wp-block-group {
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Kill margins on any heading or paragraph inside it */
#block-67 h1, #block-67 h2, #block-67 h3, #block-67 h4, 
#block-67 p, #block-67 ul, #block-67 li {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* 4. ASTRA SPECIFIC: Remove the bottom margin Astra puts on widgets */
.ast-separate-container .ast-article-single .widget-area .widget#block-67,
.ast-separate-container .ast-archive-description .widget#block-67 {
    margin-bottom: 0 !important;
}

/* 5. If it's inside a flex container (Gutenberg), remove the gap */
#block-67 {
    display: block !important; /* Prevents flex gap issues */
}
.footer-bar-navigation {
    width: max-content;
}
.site-footer {
  font-family: Merriweather, Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #072724 0%, #031919 100%) !important; 
  background-color: #05211F !important;
  color: #dffbf6;
  border-top: 1px solid #C5B358;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.02);
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s;
  border-radius: 8px;
  background-size: cover;
}
.site-below-footer {
  font-family: Merriweather, Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #072724 0%, #031919 100%) !important;
  background-color: #05211F !important;
  color: #dffbf6;
}
.ast-footer-copyright a:link { color: #4CC1AE !important; }
.ast-footer-copyright a:visited { color: #4CC1AE !important; }
.ast-footer-copyright a:hover { color: #C5B358 !important; }
.footer-nav-wrap a:link { color: #4CC1AE !important; }
.footer-nav-wrap a:visited { color: #4CC1AE !important; }
.footer-nav-wrap a:hover { color: #C5B358 !important; }

/* Accessibility & small polish additions (append) */

/* Make sure inline tag-like buttons (p.ast-terms-link) show keyboard focus clearly */
p.ast-terms-link:focus,
p.ast-terms-link:focus-visible {
  box-shadow: 0 0 0 4px rgba(var(--teal-rgb),0.16) !important;
  outline: none !important;
}

/* Extra safety: ensure content links are always readable on pale cards */
.wp-block-heading a,
.entry-content a {
  color: var(--teal);
}
.wp-block-heading a:hover,
.entry-content a:hover,
.entry-content a:focus {
  color: var(--teal-dark);
}

/* Keep gold used as accent/border only — if any body text accidentally uses gold, this makes that explicit */
body :where(p, li, dt, dd) {
  /* prefer dark teal for main text; uncomment the next line if you want to enforce */
  /* color: #135047 !important; */
}
@media (max-width: 680px) {
  .site-footer,
  #rank-math-toc,
  .ast-archive-entry-banner,
  .wp-block-heading,
  .type-post,
  .type-page,
  .type-forum {
    box-shadow: 0 6px 12px rgba(0,0,0,0.18);
  }
}

/* LARGE DESKTOP (> 1440px) — Only here do we go to 18px */
@media (min-width: 1441px) {
  .entry-content,
  .ast-article-single .entry-content,
  .single .entry-content {
    font-size: 1.125rem !important; /* 18px */
    line-height: 1.75; /* Increased slightly for the larger text */
  }
}

/* LAPTOP & TABLET LANDSCAPE (922px - 1440px) — The sweet spot */
@media (min-width: 922px) and (max-width: 1440px) {
  .entry-content,
  .ast-article-single .entry-content,
  .single .entry-content {
    font-size: 1.0625rem !important; /* 17px */
    line-height: 1.7;
  }
}

/* TABLET PORTRAIT (600px - 921px) */
@media (min-width: 600px) and (max-width: 921px) {
  .entry-content,
  .ast-article-single .entry-content,
  .single .entry-content {
    font-size: 1.03125rem !important; /* 16.5px */
    line-height: 1.65;
  }
}

/* MOBILE (<= 599px) */
@media (max-width: 599px) {
  .entry-content,
  .ast-article-single .entry-content,
  .single .entry-content {
    font-size: 1rem !important; /* 17px */
    line-height: 1.6;
  }
}
