/*              
   Theme Name:   LegalPicks Child
   Theme URI:    https://legalpicks.com
   Description:  Child theme for LegalPicks — lawyer directory
   Author:       EntitySeal                                                       
   Author URI:   https://entityseal.com
   Template:     generatepress                                                    
   Version:      1.0
  */
/*                                                                                                                                    
   * ============================================================                                                                       
   * RULES — READ BEFORE WRITING ANY CSS                                                                                                
   * ============================================================                                                                       
   *                                                                                                                                    
   * 1. ONE CLASS PER COMPONENT. No variants, no modifiers, no                                                                          
   *    page-specific overrides. If a component looks different                                                                         
   *    on two pages, the component is broken — fix the one class.                                                                      
   *                                                                                                                                    
   * 2. ZERO DUPLICATES. Before writing a new class, search this                                                                        
   *    file for any class that already does the same thing. If                                                                         
   *    one exists, use it. Do not create a second version.                                                                             
   *                                                                                                                                    
   * 3. USE DESIGN SYSTEM VARIABLES. No hardcoded colors (#ccc),                                                                        
   *    no hardcoded radii (4px, 8px), no hardcoded shadows.                                                                            
   *    Every value comes from :root variables.                                                                                         
   *                                                                                                                                    
   * 4. NO HACKS. No negative margins to cancel padding. No                                                                             
   *    !important. No specificity tricks. If a fix requires a                                                                          
   *    hack, the fix is wrong — back it out and rethink.                                                                               
   *                                                                                                                                    
   * 5. CSS = APPEARANCE ONLY. GP Customizer handles layout                                                                             
   *    (container width, content width, breakpoints).                                                                                  
   *                                                                                                                                    
   * 6. ONE LAYOUT SITEWIDE. Every page uses the same container.                                                                        
   *    No page-specific layout overrides.                                                                                              
   *                                                                                                                                    
   * Do not add a single line without checking
   * every rule above.                                                                                                                  
   * ============================================================                                                                       
   */                                


/* ========================================
   DESIGN SYSTEM VARIABLES
   ======================================== */

:root {
    /* Primary Colors */
    --es-primary: #194FAD;
    --es-primary-dark: #0F3A82;
    --es-primary-light: #5A9BFF;
    --es-primary-ultra-light: #EBF2FF;

    /* Status Colors */
    --es-success: #22C55E;
    --es-success-dark: #16A34A;
    --es-success-light: #DCFCE7;
    --es-warning: #D4A017;
    --es-danger: #CC3333;

    /* Text */
    --es-text-primary: #0F172A;
    --es-text-secondary: #475569;
    --es-text-muted: #94A3B8;

    /* Surfaces */
    --es-bg-primary: #FFFFFF;
    --es-bg-secondary: #F8FAFC;
    --es-bg-tertiary: #F1F5F9;

    /* Borders */
    --es-border: #E2E8F0;
    --es-border-light: #F1F5F9;

    /* Shadows */
    --es-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
    --es-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07);
    --es-shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
    --es-shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);

    /* Gradients */
    --es-gradient-hero: linear-gradient(135deg, #0F3A82 0%, #194FAD 50%, #2B5FB8 100%);
    --es-gradient-footer: linear-gradient(180deg, #0F172A 0%, #0A1628 100%);

    /* Radii */
    --es-radius-sm: 6px;
    --es-radius: 10px;
    --es-radius-lg: 16px;
    --es-radius-xl: 24px;
    --es-radius-full: 9999px;

    /* Layout */
    --es-header-height: 72px;
    --es-padding-x: 32px;
    --es-padding-x-mobile: 20px;
}

/* ========================================
   BUTTONS
   ======================================== */

button.es-btn-primary,
.es-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--es-success);
    color: #FFFFFF;
    border: none;
    border-radius: var(--es-radius-full);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}
.es-btn-primary:hover {
    background: var(--es-success-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: #FFFFFF;
}

.es-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--es-primary);
    border: 2px solid var(--es-primary);
    border-radius: var(--es-radius-lg);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.es-btn-secondary:hover {
    background: var(--es-primary-ultra-light);
    color: var(--es-primary);
}

.es-btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #FFFFFF;
    color: var(--es-primary);
    border: none;
    border-radius: var(--es-radius-lg);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--es-shadow-lg);
}
.es-btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--es-shadow-xl);
    color: var(--es-primary);
}

.es-btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--es-radius-lg);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.es-btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
}

.es-btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.es-btn-row {                                                                                                        
    display: flex;
    gap: 16px;                                                                                                       
    flex-wrap: wrap;                                                                                                 
}

.es-btn-row + .es-fine-print {
    margin-top: 20px;                                                                                                
}

/* ========================================
   CARDS
   ======================================== */

.es-card {
    background: var(--es-bg-primary);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-xl);
    padding: 28px;
    transition: all 0.3s ease;
}
.es-card:hover {
    border-color: var(--es-primary);
    box-shadow: var(--es-shadow-lg);
    transform: translateY(-4px);
}

.es-card-elevated {
    background: var(--es-bg-primary);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-xl);
    padding: 28px;
    box-shadow: var(--es-shadow);
    transition: all 0.3s ease;
}
.es-card-elevated:hover {
    transform: translateY(-4px);
    box-shadow: var(--es-shadow-lg);
}

.es-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--es-text-primary);
    margin: 0 0 12px;
}

.es-card-text {
    font-size: 15px;
    color: var(--es-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.es-grid-5 .es-card-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.es-grid-5 .es-card-text {
    font-size: 14px;
}

/* ========================================
   SCORE
   ======================================== */

.es-score-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--es-gradient-hero);
    border-radius: 50%;
    font-family: inherit;
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
}

/* ========================================
   FORMS
   ======================================== */

.es-form-field {
    margin-bottom: 24px;
}

.es-form-label {
    display: block;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--es-text-primary);
    margin-bottom: 8px;
}

input.es-form-input,
.es-form-input { 
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--es-text-primary);
    background: var(--es-bg-primary);
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.es-form-input:focus {
    outline: none;
    border-color: var(--es-primary);
    background: var(--es-primary-ultra-light);
}

.es-form-description {
    font-family: inherit;
    font-size: 13px;
    color: var(--es-text-muted);
    margin-top: 4px;
}

.es-form-step-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}
.es-form-step-indicator .step {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--es-border);
}
.es-form-step-indicator .step.active {
    background: var(--es-primary);
}

/* ========================================
   PROFILE
   ======================================== */

.es-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.es-profile-section {
    padding: 24px 0;
    border-top: 1px solid var(--es-border-light);
}

.es-profile-field {
    margin-bottom: 16px;
}
.es-profile-field dt {
    font-family: inherit;
    font-size: 13px;
    color: var(--es-text-muted);
    margin-bottom: 4px;
}
.es-profile-field dd {
    font-family: inherit;
    font-size: 15px;
    color: var(--es-text-primary);
    margin: 0;
}

.es-profile-credential {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--es-success-light);
    border-radius: var(--es-radius);
    margin-bottom: 8px;
}

/* ========================================
   LAYOUT
   ======================================== */

.es-section {
    padding: 80px var(--es-padding-x);
}

.es-hero {                                                                                                                            
    position: relative;                                                                                                                                                                                                           
    display: flex;
    align-items: center;                                                                                                              
    background: var(--es-gradient-hero);
    overflow: hidden;                                                                                                                 
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

body.home .es-hero:first-child {                                                                                                                
    padding-top: var(--es-header-height);                                                                                             
}

.es-hero a:not(.es-btn-hero-primary):not(.es-btn-hero-secondary) {                                                                                  
    color: rgba(255, 255, 255, 0.8);                                                                                                                
    text-decoration: underline;                                                                                                                     
    text-underline-offset: 3px;                                                                                                                     
}                                                                                                                                                   
                
.es-hero a:not(.es-btn-hero-primary):not(.es-btn-hero-secondary):hover {
    color: #FFFFFF;
}

.es-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.es-hero > .grid-container {                                                                                                          
    position: relative;     
    z-index: 1;        
    text-align: center;
    padding: 60px var(--es-padding-x) 80px;
}

.es-hero .es-eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.es-hero-title {
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    margin: 0 0 24px;
}

h1.es-hero-title {
    font-size: 48px;
}

h2.es-hero-title {
    font-size: 40px;
}

.es-hero-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0 0 12px;
}

.es-hero-hint {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 24px 0;
}

.es-eyebrow {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--es-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.es-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.es-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.es-section-alt {
    background: var(--es-bg-secondary);
}

.es-content-narrow {                                                                                                 
    max-width: 720px;                                                                                                
    margin-left: auto;                                                                                               
    margin-right: auto;                                                                                              
}

.es-check-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 24px;
    max-width: 640px;
}

.es-check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--es-text-secondary);
}

.es-check-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--es-success);
    font-weight: 700;
    font-size: 18px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.es-text-center {
    text-align: center;
}

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

.es-section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--es-text-primary);
    line-height: 1.2;
    margin: 0 0 24px;
}

.es-section-title-spaced {
    margin-bottom: 48px;
}

.es-section-text {
    font-size: 17px;
    color: var(--es-text-secondary);
    line-height: 1.8;
    margin: 0 0 20px;
}

.es-section-text strong {
    color: var(--es-text-primary);
}

.es-grid-3 + .es-section-text {                                                                                                                     
    margin: 32px 0 0;                                                                                                                               
}                                                                                                                                                   
                
.es-grid-3 + .es-fine-print {                                                                                                                       
    margin: 32px 0 32px;
}

.es-section-emphasis {
    font-size: 17px;
    color: var(--es-text-primary);
    font-weight: 700;
    margin: 0;
}

.es-fine-print {
    font-size: 14px;
    color: var(--es-text-muted);
    margin: 0 0 24px;
}

/* ========================================
   STATS
   ======================================== */

.es-stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--es-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.es-stat-label {
    font-size: 15px;
    color: var(--es-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   HEADER
   ======================================== */

.es-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

.admin-bar .es-site-header {
    top: 32px;
}

.es-site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--es-shadow);
}

.es-site-header.light {
    background: #FFFFFF;
    box-shadow: var(--es-shadow-sm);
}

.es-header-inner {
    height: var(--es-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--es-padding-x);
}

.es-header-logo,
.es-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.es-header-logo:hover,
.es-footer-logo:hover {
    opacity: 0.85;
}

.es-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--es-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.es-logo-icon svg {
    width: 20px;
    height: 20px;
    color: #FFFFFF;
}

.es-logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--es-text-primary);
}

/* Logo on transparent header (front page hero) */
.es-site-header:not(.light):not(.scrolled) .es-logo-text {
    color: #FFFFFF;
}

/* Logo in footer */
.es-footer-logo .es-logo-text {
    color: #FFFFFF;
}

.es-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.es-header-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.es-header-menu > li {
    position: relative;
}

.es-header-menu > li > a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: var(--es-radius);
    transition: all 0.2s ease;
}

.es-header-menu > li > a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.es-site-header.scrolled .es-header-menu > li > a,
.es-site-header.light .es-header-menu > li > a {
    color: var(--es-text-secondary);
}

.es-site-header.scrolled .es-header-menu > li > a:hover,
.es-site-header.light .es-header-menu > li > a:hover {
    color: var(--es-primary);
    background: var(--es-primary-ultra-light);
}

.es-site-header.scrolled .es-header-logo,
.es-site-header.light .es-header-logo {
    color: var(--es-text-primary);
}

/* Dropdown chevron */
.es-header-menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

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

/* Dropdown submenu */
.es-header-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: #FFFFFF;
    border-radius: var(--es-radius-lg);
    box-shadow: var(--es-shadow-lg);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.es-header-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.es-header-menu .sub-menu li a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--es-text-secondary);
    text-decoration: none;
    border-radius: var(--es-radius);
    transition: all 0.15s ease;
}

.es-header-menu .sub-menu li a:hover {
    background: var(--es-primary-ultra-light);
    color: var(--es-primary);
}

/* Header CTA - size override only, inherits from .es-btn-primary */
.es-header-cta {
    padding: 12px 24px;
    font-size: 14px;
    margin-left: 16px;
}

/* Mobile toggle */
.es-header-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--es-radius);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.es-site-header.scrolled .es-header-mobile-toggle,
.es-site-header.light .es-header-mobile-toggle {
    background: var(--es-bg-secondary);
}

.es-mobile-toggle-icon {
    width: 24px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.es-mobile-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.es-site-header.scrolled .es-mobile-toggle-line,
.es-site-header.light .es-mobile-toggle-line {
    background: var(--es-text-primary);
}

/* Mobile nav panel */
.es-mobile-nav {
    display: none;
    position: fixed;
    top: var(--es-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    padding: 24px;
    z-index: 999;
    overflow-y: auto;
}

.admin-bar .es-mobile-nav {
    top: calc(var(--es-header-height) + 32px);
}

.es-mobile-nav.active {
    display: block;
}

.es-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.es-mobile-menu li a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--es-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--es-border-light);
}

.es-mobile-menu li a:hover {
    color: var(--es-primary-dark);
}

.es-mobile-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 20px;
    display: none;
}

.es-mobile-menu .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
}

.es-mobile-menu .sub-menu li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--es-text-secondary);
    padding: 12px 0;
}

.es-mobile-menu .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.es-mobile-menu .menu-item-has-children > a::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.es-mobile-menu .menu-item-has-children.submenu-open > a::after {
    transform: rotate(-135deg);
}

.es-mobile-nav-cta {
    display: block;
    margin-top: 24px;
    text-align: center;
}

/* Body offset for fixed header */
body:not(.home) {
    padding-top: var(--es-header-height);
}

body.admin-bar:not(.home) {
    padding-top: calc(var(--es-header-height) + 32px);
}

/* ========================================
   FOOTER
   ======================================== */

.es-site-footer {
    background: var(--es-gradient-footer);
    color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow: hidden;
}

.es-site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.es-footer-inner {
    position: relative;
    z-index: 1;
    padding: 80px var(--es-padding-x) 40px;
}

.es-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.es-footer-brand {
    max-width: 300px;
}

.es-footer-logo {
    margin-bottom: 20px;
}

.es-footer-tagline-box {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--es-radius);
    margin-bottom: 24px;
}

.es-footer-tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
}

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

.es-footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--es-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.es-footer-social-link:hover {
    background: var(--es-primary);
    transform: translateY(-2px);
}

.es-footer-social-link svg {
    width: 18px;
    height: 18px;
    color: #FFFFFF;
}

.es-footer-column-title {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.es-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.es-footer-links li {
    margin-bottom: 14px;
}

.es-footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
}

.es-footer-links a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.es-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
}

.es-footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.es-footer-legal {
    display: flex;
    gap: 24px;
}

.es-footer-legal a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.es-footer-legal a:hover {
    color: #FFFFFF;
}

/* ========================================
   PRICING PAGE
   ======================================== */

.es-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.es-pricing-card {
    background: var(--es-bg-primary);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-xl);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.es-pricing-card-featured {
    background: var(--es-bg-primary);
    border: 2px solid var(--es-primary);
    border-radius: var(--es-radius-xl);
    padding: 40px 32px;
    padding-top: 52px;
    box-shadow: var(--es-shadow-xl);
    z-index: 2;
    transform: scale(1.04);
}

.es-pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--es-primary);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 0 0 var(--es-radius-sm) var(--es-radius-sm);
}

.es-pricing-tier {
    font-size: 22px;
    font-weight: 800;
    color: var(--es-text-primary);
    margin: 0 0 4px;
}

.es-pricing-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--es-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 20px;
}

.es-pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--es-text-primary);
    line-height: 1;
    margin: 0 0 4px;
}

.es-pricing-price-sub {
    font-size: 16px;
    font-weight: 500;
    color: var(--es-text-muted);
}

.es-pricing-desc {
    font-size: 15px;
    color: var(--es-text-secondary);
    line-height: 1.7;
    margin: 16px 0 24px;
}

.es-pricing-divider {
    width: 100%;
    height: 1px;
    background: var(--es-border);
    margin: 0 0 24px;
}

.es-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}

.es-pricing-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--es-text-secondary);
}

.es-pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--es-success);
    font-weight: 700;
    font-size: 16px;
}

.es-pricing-best-for {
    font-size: 13px;
    color: var(--es-text-muted);
    margin: 0 0 24px;
    padding-top: 16px;
    border-top: 1px solid var(--es-border-light);
}

.es-pricing-best-for strong {
    color: var(--es-text-secondary);
}

.es-pricing-cta {
    margin-top: auto;
}

.es-pricing-cta .es-btn-primary {
    display: block;
    text-align: center;
    padding: 16px 28px;
    font-size: 16px;
}

.es-pricing-cta .es-btn-secondary {
    display: block;
    text-align: center;
    padding: 16px 28px;
    font-size: 16px;
    border-radius: var(--es-radius-full);
}

.es-pricing-tagline {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px var(--es-padding-x) 0;
    text-align: center;
}

.es-pricing-tagline p {
    font-size: 18px;
    font-weight: 600;
    color: var(--es-text-secondary);
    line-height: 1.7;
    margin: 0;
}

.es-pricing-tagline span {
    color: var(--es-primary);
    font-weight: 700;
}

/* ========================================
   BLOG ARCHIVE
   ======================================== */

.es-blog-header {
    padding-bottom: 0;
}

.es-blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.es-blog-filter {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--es-text-secondary);
    text-decoration: none;
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-full);
    transition: all 0.2s ease;
}

.es-blog-filter:hover {
    color: var(--es-primary);
    border-color: var(--es-primary);
    background: var(--es-primary-ultra-light);
}

.es-blog-filter.active {
    color: #FFFFFF;
    background: var(--es-primary);
    border-color: var(--es-primary);
}

.es-blog-card {
    background: var(--es-bg-primary);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.es-blog-card:hover {
    box-shadow: var(--es-shadow-lg);
    transform: translateY(-4px);
}

.es-blog-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.es-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.es-blog-card:hover .es-blog-card-image img {
    transform: scale(1.03);
}

.es-blog-card-body {
    padding: 24px;
}

.es-blog-card-category {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 8px;
}

.es-blog-card-category:hover {
    color: var(--es-primary-dark);
}

.es-blog-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}

.es-blog-card-title a {
    color: var(--es-text-primary);
    text-decoration: none;
}

.es-blog-card-title a:hover {
    color: var(--es-primary);
}

.es-blog-card-excerpt {
    font-size: 14px;
    color: var(--es-text-secondary);
    line-height: 1.6;
    margin: 0 0 16px;
}

.es-blog-card-meta {
    font-size: 13px;
    color: var(--es-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.es-blog-card-meta-sep {
    font-size: 8px;
}

/* ========================================
   SINGLE POST
   ======================================== */

.es-post-header {
    padding-bottom: 0;
}

.es-post-category {
    display: inline-block;
    text-decoration: none;
    margin: 0 4px 12px;
}

.es-post-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--es-text-primary);
    line-height: 1.15;
    margin: 0 0 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.es-post-meta {
    font-size: 15px;
    color: var(--es-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.es-post-meta-sep {
    font-size: 8px;
}

.es-post-featured {
    padding-top: 24px;
    padding-bottom: 0;
}

.es-post-featured-figure {
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.es-post-featured-figure img {
    width: 100%;
    height: auto;
    border-radius: var(--es-radius-lg);
}

.es-post-featured-caption {
    font-size: 13px;
    color: var(--es-text-muted);
    text-align: center;
    margin-top: 12px;
}

.es-post-body {
    padding-top: 40px;
}

.es-post-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--es-text-primary);
    margin: 48px 0 20px;
    line-height: 1.25;
}

.es-post-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--es-text-primary);
    margin: 36px 0 16px;
    line-height: 1.3;
}

.es-post-content p {
    font-size: 17px;
    color: var(--es-text-secondary);
    line-height: 1.8;
    margin: 0 0 24px;
}

.es-post-content a {
    color: var(--es-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.es-post-content a:hover {
    color: var(--es-primary-dark);
}

.es-post-content ul,
.es-post-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.es-post-content li {
    font-size: 17px;
    color: var(--es-text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.es-post-content blockquote {
    border-left: 3px solid var(--es-primary);
    margin: 32px 0;
    padding: 16px 24px;
    background: var(--es-bg-secondary);
    border-radius: 0 var(--es-radius) var(--es-radius) 0;
}

.es-post-content blockquote p {
    color: var(--es-text-primary);
    font-style: italic;
    margin: 0;
}

.es-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--es-radius);
    margin: 24px 0;
}

.es-post-content strong {
    color: var(--es-text-primary);
}
/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .es-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .es-footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .es-footer-brand {
        grid-column: span 2;
        max-width: none;
    }

    .es-header-inner {
        padding: 0 var(--es-padding-x-mobile);
    }

    .es-header-nav {
        display: none;
    }

    .es-header-cta {
        display: none;
    }

    .es-header-mobile-toggle {
        display: flex;
    }
}

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

    .admin-bar .es-mobile-nav {
        top: calc(var(--es-header-height) + 46px);
    }

    body.admin-bar:not(.home) {
        padding-top: calc(var(--es-header-height) + 46px);
    }
}

@media (max-width: 768px) {
    .es-grid-3 {
        grid-template-columns: 1fr;
    }

    .es-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .es-section {                                                                        
        padding: 48px var(--es-padding-x-mobile);                                        
    } 

    .es-footer-inner {
        padding: 60px var(--es-padding-x-mobile) 32px;
    }

    .es-footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .es-footer-brand {
        grid-column: span 1;
    }

    .es-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .es-footer-legal {
        justify-content: center;
    }

    h1.es-hero-title {
        font-size: 32px;
    }

    h2.es-hero-title {
        font-size: 28px;
    }

    .es-hero > .grid-container {
        padding: 40px var(--es-padding-x-mobile);
    }

    .es-section-title {
        font-size: 28px;
    }

    .es-stat-number {
        font-size: 32px;
    }

    .es-hero-text {
        font-size: 16px;
    }

    .es-section-text {
        font-size: 16px;
    }

    .es-pricing-hero {
        padding: 60px var(--es-padding-x-mobile) 32px;
    }

    .es-pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 440px;
    }

    .es-pricing-card {
        border-radius: var(--es-radius-xl);
        border: 1px solid var(--es-border);
    }

    .es-pricing-card:first-child {
        border-radius: var(--es-radius-xl);
        border-right: 1px solid var(--es-border);
    }

    .es-pricing-card:last-child {
        border-radius: var(--es-radius-xl);
        border-left: 1px solid var(--es-border);
    }

    .es-pricing-card-featured {
        transform: none;
    }

    .es-pricing-tagline {
        padding: 32px var(--es-padding-x-mobile) 0;
    }

    .es-pricing-tagline p {
        font-size: 16px;
    }

    .es-pricing-price {
        font-size: 40px;
    }

    .es-blog-filters {                                                                             
        gap: 6px;                                                                                  
    }                                                                                              
                                                          
    .es-blog-filter {                                                                              
        padding: 6px 14px;
        font-size: 13px;                                                                           
    }

    .es-post-title {                                                                                                                
        font-size: 28px;                                                                                                            
    }                                                                                                                               
                                                                                                                                    
    .es-post-meta {                                                                                                                 
        flex-wrap: wrap;
        justify-content: center;                                                                                                    
    }                                                     

    .es-post-content h2 {
        font-size: 24px;
    }

    .es-post-content h3 {
        font-size: 19px;
    }

    .es-lead-capture-form {                                                           
        flex-direction: column;                                                       
    }    
    
    .es-lead-capture-form button.es-btn-primary {                                         
        justify-content: center;                                                          
        width: 100%;                                                                      
    }
}

/* ========================================
   PRINT
   ======================================== */

@media print {
    .es-site-header,
    .es-site-footer,
    .es-mobile-nav {
        display: none;
    }

    body {
        padding-top: 0;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes esFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.es-animate {
    opacity: 0;
    transform: translateY(25px);
}

.es-animate.es-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.es-delay-1 { transition-delay: 0.1s; }
.es-delay-2 { transition-delay: 0.2s; }
.es-delay-3 { transition-delay: 0.3s; }
.es-delay-4 { transition-delay: 0.4s; }
.es-delay-5 { transition-delay: 0.5s; }

  /* Lead capture block — audit results */
  .es-lead-capture-block {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: var(--es-bg-secondary);
    border-radius: var(--es-radius);
}
.es-lead-capture-title {
    margin-bottom: 10px;
}
.es-lead-capture-text {
    margin-bottom: 20px;
}
.es-lead-capture-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}
.es-lead-capture-input {
    padding: 12px;
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-sm);
    flex-grow: 1;
}
.es-lead-error {
    color: var(--es-danger);
    font-size: 14px;
    margin-top: 12px;
    text-align: center;
}

 /* ========================================
     PAID MEMBERSHIPS PRO OVERRIDES
     ======================================== */

  /* Remap PMPro variables to EntitySeal design system */
  .pmpro {
    --pmpro--base--border-radius: var(--es-radius);
    --pmpro--base--spacing--small: 12px;
    --pmpro--base--spacing--medium: 20px;
    --pmpro--base--spacing--large: 36px;
    --pmpro--color--accent: var(--es-primary);
    --pmpro--color--accent--variation: var(--es-primary-dark);
    --pmpro--color--base: var(--es-bg-primary);
    --pmpro--color--base-2: var(--es-bg-tertiary);
    --pmpro--color--contrast: var(--es-text-primary);
    --pmpro--color--border: var(--es-border);
    --pmpro--color--border--variation: var(--es-border-light);
    --pmpro--box-shadow: var(--es-shadow);
    --pmpro--color--success-background: var(--es-success-light);
    --pmpro--color--success-border: var(--es-success);
    --pmpro--color--success-text: var(--es-success-dark);
    --pmpro--color--error-background: #FEE2E2;
    --pmpro--color--error-border: var(--es-danger);
    --pmpro--color--error-text: var(--es-danger);
    --pmpro--color--alert-background: #FEF9E7;
    --pmpro--color--alert-border: var(--es-warning);
    --pmpro--color--alert-text: #92710C;
}

/* Section titles */
.pmpro .pmpro_section_title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--es-text-primary);
    line-height: 1.2;
}

/* Cards */
.pmpro .pmpro_card {
    border-radius: var(--es-radius-xl);
    border-color: var(--es-border);
    box-shadow: var(--es-shadow);
}

.pmpro .pmpro_card_title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--es-text-primary);
}

.pmpro .pmpro_card_actions {
    background-color: var(--es-bg-secondary);
    border-color: var(--es-border-light);
}

/* Buttons — primary */
.pmpro .pmpro_btn {
    background-color: var(--es-success);
    border: none;
    border-radius: var(--es-radius-full);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    transition: all 0.2s ease;
}

.pmpro .pmpro_btn:hover,
.pmpro .pmpro_btn:focus {
    background-color: var(--es-success-dark);
    border: none;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Buttons — outline / secondary */
.pmpro .pmpro_btn-outline {
    background-color: transparent;
    border: 2px solid var(--es-primary);
    color: var(--es-primary);
    box-shadow: none;
}

.pmpro .pmpro_btn-outline:hover,
.pmpro .pmpro_btn-outline:focus {
    background-color: var(--es-primary-ultra-light);
    border-color: var(--es-primary);
    color: var(--es-primary);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Buttons — cancel */
.pmpro .pmpro_btn-cancel {
    background-color: transparent;
    border: 2px solid var(--es-border);
    color: var(--es-text-secondary);
    box-shadow: none;
}

.pmpro .pmpro_btn-cancel:hover,
.pmpro .pmpro_btn-cancel:focus {
    background-color: var(--es-bg-tertiary);
    border-color: var(--es-border);
    color: var(--es-text-primary);
    transform: none;
    box-shadow: none;
}

/* Buttons — delete */
.pmpro .pmpro_btn-delete {
    background-color: var(--es-danger);
    border-color: var(--es-danger);
}

.pmpro .pmpro_btn-delete:hover,
.pmpro .pmpro_btn-delete:focus {
    background-color: #B22929;
    border-color: #B22929;
}

/* Select button on levels page — full width in cell */
.pmpro .pmpro_level .pmpro_btn {
    display: block;
    text-align: center;
}

/* Form inputs */
.pmpro .pmpro_form_input {
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--es-text-primary);
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.pmpro .pmpro_form_input-text:focus,
.pmpro .pmpro_form_input-email:focus,
.pmpro .pmpro_form_input-url:focus,
.pmpro .pmpro_form_input-password:focus,
.pmpro .pmpro_form_input-search:focus,
.pmpro .pmpro_form_input-select:focus,
.pmpro .pmpro_form_input-number:focus,
.pmpro .pmpro_form_input-date:focus,
.pmpro .pmpro_form_input-textarea:focus {
    border-color: var(--es-primary);
    background-color: var(--es-primary-ultra-light);
    box-shadow: none;
}

/* Form labels */
.pmpro .pmpro_form_label:not(.pmpro_form_label-inline) {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--es-text-primary);
}

/* Form hints */
.pmpro .pmpro_form_hint {
    font-size: 13px;
    color: var(--es-text-muted);
}

/* Form headings */
.pmpro .pmpro_form_heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--es-text-primary);
}

/* Login form inputs */
.pmpro .pmpro_section #loginform .input {
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--es-text-primary);
    padding: 12px 16px;
}

.pmpro .pmpro_section #loginform .input:focus {
    border-color: var(--es-primary);
    background-color: var(--es-primary-ultra-light);
    box-shadow: none;
}

/* Login form submit */
.pmpro .pmpro_section #loginform .login-submit .button {
    background-color: var(--es-success);
    border: none;
    border-radius: var(--es-radius-full);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    transition: all 0.2s ease;
}

.pmpro .pmpro_section #loginform .login-submit .button:hover,
.pmpro .pmpro_section #loginform .login-submit .button:focus {
    background-color: var(--es-success-dark);
    border: none;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Tables */
.pmpro .pmpro_table {
    border-radius: var(--es-radius-xl);
    overflow: hidden;
}

.pmpro .pmpro_table thead th {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--es-text-primary);
    padding: 16px 20px;
}

.pmpro .pmpro_table tbody td {
    font-size: 15px;
    color: var(--es-text-primary);
    padding: 16px 20px;
    border-color: var(--es-border-light);
}

/* Levels table specifically */
.pmpro .pmpro_levels_table {
    border-radius: var(--es-radius-xl);
    border: 1px solid var(--es-border);
    box-shadow: var(--es-shadow);
}

/* Tags */
.pmpro .pmpro_tag {
    border-radius: var(--es-radius-full);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
}

/* Messages */
.pmpro .pmpro_message {
    border-radius: var(--es-radius);
    font-size: 15px;
    box-shadow: none;
}

/* Password toggle link color */
.pmpro .pmpro_form_field-password-toggle button,
.pmpro .pmpro_form_field-password-toggle button:hover {
    color: var(--es-primary);
}

/* Account page list items */
.pmpro .pmpro_list_item_label {
    font-size: 13px;
    color: var(--es-text-muted);
}

.pmpro .pmpro_list-with-labels .pmpro_list_item_value {
    font-size: 15px;
    color: var(--es-text-primary);
}

/* Card action links */
.pmpro .pmpro_card_action {
    color: var(--es-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.pmpro .pmpro_card_action:hover {
    color: var(--es-primary-dark);
}

/* Font size overrides */
.pmpro .pmpro_font-x-large {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.pmpro .pmpro_font-large {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

/* Stripe card fields */
.pmpro .pmpro_checkout_gateway-stripe form.pmpro_form #pmpro_payment_information_fields
div#AccountNumber,
.pmpro .pmpro_checkout_gateway-stripe form.pmpro_form #pmpro_payment_information_fields div#Expiry,
.pmpro .pmpro_checkout_gateway-stripe form.pmpro_form #pmpro_payment_information_fields div#CVV {
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius);
}

/* Navigation links */
.pmpro .pmpro_actions_nav a {
    color: var(--es-primary);
    font-weight: 600;
    text-decoration: none;
}

.pmpro .pmpro_actions_nav a:hover {
    color: var(--es-primary-dark);
}

/* ========================================                                                 
     ABOUT PAGE                                                                               
     ======================================== */                                              
                                                                                              
  /* Hide GP page title — custom H1 in page content */                                        
  body.page-slug-about .entry-title {                                                         
    display: none;                     
}
                         
/* CTA wrapper spacing */
.es-about-cta-wrapper {                                                                     
    margin-top: 32px;                     
}