/* ============================================
   eHostingServer v2.0 — Theme CSS
   No Bootstrap. Pure CSS Grid/Flexbox.
============================================ */

/* ============================================
   1. CSS VARIABLES
============================================ */
:root {
    /* Colors */
    --ehs-primary: #1746A2;
    --ehs-primary-dark: #0F3180;
    --ehs-primary-light: #E8EEFB;
    --ehs-accent: #FF6B35;
    --ehs-accent-hover: #E85A25;
    --ehs-dark: #0B1B3D;
    --ehs-text: #3D4F6F;
    --ehs-text-light: #7B8FB2;
    --ehs-border: #E2E8F0;
    --ehs-bg: #F6F8FC;
    --ehs-white: #FFFFFF;
    --ehs-success: #10B981;

    /* Gradients */
    --ehs-gradient: linear-gradient(135deg, #1746A2 0%, #0B1B3D 100%);
    --ehs-gradient-accent: linear-gradient(135deg, #FF6B35 0%, #FF8F65 100%);

    /* Shadows */
    --ehs-shadow-sm: 0 1px 3px rgba(11,27,61,0.06);
    --ehs-shadow-md: 0 4px 16px rgba(11,27,61,0.08);
    --ehs-shadow-lg: 0 12px 40px rgba(11,27,61,0.12);
    --ehs-shadow-xl: 0 20px 60px rgba(11,27,61,0.15);

    /* Spacing & Radius */
    --ehs-radius: 12px;
    --ehs-radius-lg: 20px;
    --ehs-radius-full: 50px;
    --ehs-container: 1200px;

    /* Typography */
    --ehs-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --ehs-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --ehs-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ehs-transition: all 0.3s var(--ehs-ease);
}

/* ============================================
   2. RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--ehs-font-body);
    color: var(--ehs-text);
    line-height: 1.6;
    background: var(--ehs-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--ehs-transition); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ehs-font-heading);
    color: var(--ehs-dark);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 700;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

/* ============================================
   3. CONTAINER & LAYOUT
============================================ */
.ehs-container {
    max-width: var(--ehs-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   4. BUTTONS
============================================ */
.ehs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--ehs-radius-full);
    font-family: var(--ehs-font-heading);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: var(--ehs-transition);
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1;
}
.ehs-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.ehs-btn-primary {
    background: var(--ehs-accent);
    color: #fff;
    border-color: var(--ehs-accent);
    box-shadow: 0 4px 14px rgba(255,107,53,0.35);
}
.ehs-btn-primary:hover {
    background: var(--ehs-accent-hover);
    border-color: var(--ehs-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.45);
    color: #fff;
}

.ehs-btn-outline {
    background: transparent;
    color: var(--ehs-primary);
    border-color: var(--ehs-primary);
}
.ehs-btn-outline:hover {
    background: var(--ehs-primary);
    color: #fff;
    transform: translateY(-2px);
}

.ehs-btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    padding: 8px 20px;
    font-size: 13px;
}
.ehs-btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.ehs-btn-white {
    background: rgba(255,255,255,0.95);
    color: var(--ehs-primary);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.ehs-btn-white:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    color: var(--ehs-primary-dark);
}

.ehs-btn-sm { padding: 10px 24px; font-size: 14px; }
.ehs-btn-block { width: 100%; }

/* ============================================
   5. SECTION TITLES
============================================ */
.ehs-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ehs-primary-light);
    color: var(--ehs-primary);
    font-family: var(--ehs-font-heading);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--ehs-radius-full);
    margin-bottom: 16px;
}
.ehs-section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}
.ehs-section-title span { color: var(--ehs-primary); }
.ehs-section-subtitle {
    font-size: 17px;
    color: var(--ehs-text-light);
    max-width: 600px;
    line-height: 1.7;
}
.ehs-section-header {
    text-align: center;
    margin-bottom: 56px;
}
.ehs-section-header .ehs-section-subtitle { margin: 0 auto; }

/* ============================================
  6 MEGA MENU STYLES
   Add this to the END of css/theme.css
   (replacing old nav styles from section 6)
============================================ */

/* --- Header Base --- */
.ehs-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 0;
}
.ehs-header.is-scrolled {
    background: var(--ehs-dark);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.ehs-main { padding-top: 0; }

/* Pages without a hero section need top padding */
.ehs-main--has-header-gap { padding-top: 80px; }
.admin-bar .ehs-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ehs-header { top: 46px; } }

.ehs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.ehs-logo a { display: flex; align-items: center; text-decoration: none; }
.ehs-logo img { max-height: 38px; width: auto; }
.ehs-logo-text {
    font-family: var(--ehs-font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

/* --- Mega Nav Triggers --- */
.ehs-mega-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex: 1;
}
.ehs-mega-trigger {
    cursor: pointer;
    position: relative;
}
.ehs-mega-trigger span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.75);
    font-family: var(--ehs-font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 22px 18px;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.ehs-mega-trigger:hover span,
.ehs-mega-trigger.is-active span {
    color: #fff;
}
.ehs-mega-trigger.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--ehs-accent);
    border-radius: 2px;
}
.ehs-mega-trigger svg {
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.2s;
}
.ehs-mega-trigger.is-active svg {
    transform: rotate(180deg);
    opacity: 0.8;
}

/* --- Header Actions --- */
.ehs-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}
.ehs-header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.ehs-header-phone:hover { color: #fff; }
.ehs-header-login {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 22px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s;
}
.ehs-header-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
}

/* --- Mega Panel --- */
.ehs-mega-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ehs-mega-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.ehs-mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.ehs-mega-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ehs-mega-panel-inner {
    display: flex;
    gap: 0;
    padding: 28px 0;
}
.ehs-mega-main {
    flex: 1;
    border-right: 1px solid #eee;
    padding-right: 28px;
}

/* Group Labels */
.ehs-mega-group-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    padding: 0 16px;
    margin-bottom: 8px;
}
.ehs-mega-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 10px 16px;
}

/* Grid */
.ehs-mega-grid { display: grid; gap: 0; }
.ehs-mega-grid-2 { grid-template-columns: 1fr 1fr; }
.ehs-mega-grid-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Menu Item */
.ehs-mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease;
}
.ehs-mega-item:hover {
    background: #f8f9fb;
}
.ehs-mega-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ehs-mega-icon.blue { background: #E8EEFB; color: var(--ehs-primary); }
.ehs-mega-icon.orange { background: #FFF0E9; color: var(--ehs-accent); }
.ehs-mega-icon.green { background: #ECFDF5; color: #10B981; }
.ehs-mega-icon.purple { background: #F3EEFF; color: #7C3AED; }
.ehs-mega-icon.amber { background: #FAEEDA; color: #BA7517; }
.ehs-mega-icon svg { width: 18px; height: 18px; }

.ehs-mega-text { min-width: 0; }
.ehs-mega-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ehs-dark);
    margin-bottom: 2px;
}
.ehs-mega-text span {
    display: block;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}
.ehs-mega-item:hover .ehs-mega-text strong { color: var(--ehs-primary); }

/* Sidebar */
.ehs-mega-sidebar {
    width: 220px;
    padding-left: 28px;
    flex-shrink: 0;
}
.ehs-mega-sidebar-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    margin-bottom: 14px;
}
.ehs-mega-sidebar-card {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}
.ehs-mega-stars {
    color: #FBBF24;
    font-size: 12px;
    margin-bottom: 6px;
}
.ehs-mega-quote {
    font-size: 13px;
    color: var(--ehs-dark);
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
}
.ehs-mega-author {
    font-size: 11px;
    color: #999;
}
.ehs-mega-sidebar-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ehs-mega-sidebar-checks span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}
.ehs-mega-sidebar-checks span svg { color: #10B981; flex-shrink: 0; }

/* TLD List */
.ehs-mega-tld-list { display: flex; flex-direction: column; gap: 10px; }
.ehs-mega-tld {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.ehs-mega-tld span:first-child { font-weight: 700; color: var(--ehs-dark); }
.ehs-mega-tld span:last-child { color: #888; }
.ehs-mega-tld .free { color: #10B981; font-weight: 600; }

/* --- Hamburger --- */
.ehs-hamburger {
    display: none;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    padding: 0;
}
.ehs-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}
.ehs-hamburger span:nth-child(1) { top: 2px; }
.ehs-hamburger span:nth-child(2) { top: 11px; }
.ehs-hamburger span:nth-child(3) { top: 20px; }
.ehs-hamburger.is-active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.ehs-hamburger.is-active span:nth-child(2) { opacity: 0; }
.ehs-hamburger.is-active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* --- Mobile Menu --- */
.ehs-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--ehs-dark);
    z-index: 1001;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 80px 24px 32px;
}
.ehs-mobile-menu.is-open { right: 0; }

.ehs-mobile-group { border-bottom: 1px solid rgba(255,255,255,0.08); }
.ehs-mobile-group-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    color: #fff;
    font-family: var(--ehs-font-heading);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}
.ehs-mobile-group-label svg {
    color: rgba(255,255,255,0.4);
    transition: transform 0.3s ease;
}
.ehs-mobile-group.open .ehs-mobile-group-label svg { transform: rotate(180deg); }
.ehs-mobile-group-links {
    display: none;
    padding: 0 0 12px 16px;
}
.ehs-mobile-group.open .ehs-mobile-group-links { display: block; }
.ehs-mobile-group-links a {
    display: block;
    padding: 10px 0;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.2s;
}
.ehs-mobile-group-links a:hover { color: #fff; }
.ehs-mobile-group-links a:last-child { border-bottom: none; }

.ehs-mobile-actions {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ehs-mobile-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .ehs-mega-nav,
    .ehs-header-actions { display: none; }
    .ehs-hamburger { display: block; }
    .ehs-mega-panel { display: none !important; }
    .ehs-mega-overlay { display: none !important; }
    .ehs-header { background: var(--ehs-dark) !important; }

    /* Ensure hero content clears the fixed header on mobile */
    .ehs-main > section:first-child {
        margin-top: 0 !important;
        padding-top: 160px !important;
    }
}
@media (min-width: 1025px) {
    .ehs-mobile-menu { display: none !important; }
    .ehs-hamburger { display: none !important; }
}

/* When a panel is open, darken header */
.ehs-header:has(.ehs-mega-panel.is-open) {
    background: var(--ehs-dark);
}
/* Fallback for browsers without :has() — JS adds this class */
.ehs-header.mega-open {
    background: var(--ehs-dark);
}

/* Support panel contact list */
.ehs-mega-contact-list { display: flex; flex-direction: column; gap: 12px; }
.ehs-mega-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.15s ease;
}
.ehs-mega-contact-item:hover { background: #f8f9fb; }

/* Force dark header on pages without a dark hero */
body.has-light-hero .ehs-header {
    background: var(--ehs-dark);
}

/* Mega menu checklist */
.ehs-mega-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
}
.ehs-mega-checklist span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ehs-text);
    font-weight: 500;
}
.ehs-mega-checklist span svg { color: #10B981; flex-shrink: 0; }

/* Mega menu addon links */
.ehs-mega-addon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
    margin-bottom: 4px;
}
.ehs-mega-addon:hover { background: #f8f9fb; }
.ehs-mega-addon-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ehs-mega-addon-icon.blue { background: #E8EEFB; color: var(--ehs-primary); }
.ehs-mega-addon-icon.orange { background: #FFF0E9; color: var(--ehs-accent); }
.ehs-mega-addon-icon.amber { background: #FAEEDA; color: #BA7517; }
.ehs-mega-addon-icon svg { width: 14px; height: 14px; }
.ehs-mega-addon strong {
    display: block;
    font-size: 13px;
    color: var(--ehs-dark);
    font-weight: 700;
}
.ehs-mega-addon span {
    font-size: 11px;
    color: var(--ehs-accent);
    font-weight: 600;
}
/* ============================================
   7. FOOTER
============================================ */
.ehs-footer { background: var(--ehs-dark); color: rgba(255,255,255,0.7); }
.ehs-footer a { color: rgba(255,255,255,0.7); }
.ehs-footer a:hover { color: #fff; }

.ehs-footer-top { padding: 70px 0 40px; }
.ehs-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.ehs-footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}
.ehs-footer-widget { font-size: 14px; line-height: 1.8; }
.ehs-footer-widget ul { list-style: none; }
.ehs-footer-widget ul li { margin-bottom: 8px; }

.ehs-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}
.ehs-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}
.ehs-social-links { display: flex; gap: 16px; }
.ehs-social-links a { font-weight: 500; }
.ehs-social-links a:hover { color: var(--ehs-accent); }
.ehs-copyright { margin: 0; opacity: 0.6; }
.ehs-vat-notice { margin: 0; opacity: 0.4; font-size: 12px; }

/* ============================================
   8. SCROLL TO TOP
============================================ */
.ehs-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ehs-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--ehs-transition);
    box-shadow: var(--ehs-shadow-md);
    z-index: 99;
}
.ehs-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ehs-scroll-top:hover {
    background: var(--ehs-primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   9. STARS / RATINGS
============================================ */
.ehs-stars { display: inline-flex; gap: 2px; color: #FBBF24; }

/* ============================================
   10. RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .ehs-hamburger { display: block; }
    .ehs-header-phone span { display: none; }

    .ehs-nav-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--ehs-dark);
        padding: 80px 24px 32px;
        overflow-y: auto;
        transition: right 0.35s var(--ehs-ease);
        z-index: 999;
    }
    .ehs-nav-menu.is-open { right: 0; }

    .ehs-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .ehs-nav-link {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        border-radius: 0;
    }
    .ehs-dropdown {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.03);
        border: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease;
    }
    .has-dropdown.dropdown-open > .ehs-dropdown {
        max-height: 400px;
    }
    .ehs-dropdown-link {
        color: rgba(255,255,255,0.7);
        border-radius: 0;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .ehs-dropdown-link:hover {
        background: rgba(255,255,255,0.05);
        color: #fff;
    }

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

@media (max-width: 768px) {
    .ehs-currency-toggle { display: none; }
    .ehs-header-phone { display: none; }

    .ehs-footer-grid { grid-template-columns: 1fr; }
    .ehs-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   11. UTILITY CLASSES
============================================ */
.ehs-bg-light { background: var(--ehs-bg); }
.ehs-bg-white { background: var(--ehs-white); }
.ehs-bg-dark { background: var(--ehs-dark); color: #fff; }
.ehs-bg-gradient { background: var(--ehs-gradient); }

.ehs-section { padding: 90px 0; }
.ehs-section-sm { padding: 60px 0; }

.ehs-text-center { text-align: center; }
.ehs-text-left { text-align: left; }
.ehs-mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   12. WORDPRESS CORE OVERRIDES
============================================ */
.wp-block-image img { border-radius: var(--ehs-radius); }
.entry-content { font-size: 16px; line-height: 1.8; }
.entry-content h2 { margin-top: 2em; }
.entry-content a { color: var(--ehs-primary); text-decoration: underline; }
.entry-content a:hover { color: var(--ehs-accent); }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.5em; }
.entry-content li { margin-bottom: 0.5em; }

/* Pagination */
.ehs-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.ehs-pagination a, .ehs-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--ehs-transition);
}
.ehs-pagination a { background: var(--ehs-bg); color: var(--ehs-text); }
.ehs-pagination a:hover { background: var(--ehs-primary-light); color: var(--ehs-primary); }
.ehs-pagination .current { background: var(--ehs-primary); color: #fff; }

/* ============================================
   FOOTER STYLES
   Add to the end of css/theme.css
   (replacing old footer section)
============================================ */

/* --- Main Footer --- */
.ehs-footer-main {
    background: var(--ehs-dark);
    padding: 64px 0 48px;
}
.ehs-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}

/* About Column */
.ehs-footer-about .ehs-footer-logo { margin-bottom: 20px; }
.ehs-footer-about .ehs-footer-logo img { max-height: 40px; width: auto; filter: brightness(0) invert(1); }
.ehs-footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 20px;
}
.ehs-footer-company {
    margin-bottom: 20px;
}
.ehs-footer-company strong {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 4px;
}
.ehs-footer-company span {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}
.ehs-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ehs-footer-contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}
.ehs-footer-contacts a:hover { color: #fff; }
.ehs-footer-contacts svg { flex-shrink: 0; opacity: 0.5; }

/* Link Columns */
.ehs-footer-heading {
    font-family: var(--ehs-font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ehs-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ehs-footer-links li { margin-bottom: 10px; }
.ehs-footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.ehs-footer-links a:hover {
    color: var(--ehs-accent);
    padding-left: 4px;
}

/* --- Payment Methods --- */
.ehs-footer-payments {
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}
.ehs-footer-payments-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ehs-footer-payments-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ehs-footer-payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.ehs-pay-badge {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 5px 14px;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.2s;
}
.ehs-pay-badge:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.15);
}

/* --- Bottom Bar --- */
.ehs-footer-bottom {
    background: var(--ehs-dark);
    padding: 20px 0;
}
.ehs-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.ehs-footer-social {
    display: flex;
    gap: 12px;
}
.ehs-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    transition: all 0.2s;
}
.ehs-footer-social a:hover {
    background: var(--ehs-primary);
    color: #fff;
    transform: translateY(-2px);
}
.ehs-footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}
.ehs-footer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ehs-vat-notice {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}
.ehs-footer-sep {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.12);
}
.ehs-currency-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.ehs-currency-indicator svg { opacity: 0.5; }
.ehs-currency-indicator strong { color: #10B981; }

/* --- Scroll to Top --- */
.ehs-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ehs-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(23,70,162,0.3);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.ehs-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ehs-scroll-top:hover {
    background: var(--ehs-primary-dark);
    transform: translateY(-3px);
}

/* --- Footer Responsive --- */
@media (max-width: 1024px) {
    .ehs-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}
@media (max-width: 768px) {
    .ehs-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ehs-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .ehs-footer-social { justify-content: center; }
    .ehs-footer-meta { justify-content: center; }
    .ehs-footer-payments-inner { flex-direction: column; }
}