/* Elementor Hamburger Menu Widget Styles */

/* Prevent horizontal scrolling caused by fixed side panel */
html {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
}

/* Ensure all container elements respect viewport width */
#page,
#content,
.elementor,
.elementor-section {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.ehm-widget-wrapper {
    position: relative;
    display: inline-block;
}

body.ehm-hamburger-ready {
    overflow-x: hidden;
}

/* Hamburger Button - Override global button styles */
.ehm-widget-wrapper .ehm-hamburger-button,
.ehm-widget-wrapper button.ehm-hamburger-button {
    background-color: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    color: #4172A0 !important;
    display: flex !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 15px 20px !important;
    text-align: left !important;
    transition: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
    white-space: normal !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: visible !important;
    cursor: pointer !important;
    align-items: center !important;
    gap: 12px !important;
}

.ehm-widget-wrapper .ehm-hamburger-button::before,
.ehm-widget-wrapper button.ehm-hamburger-button::before {
    display: none !important;
}

.ehm-widget-wrapper .ehm-hamburger-button:hover::before,
.ehm-widget-wrapper button.ehm-hamburger-button:hover::before {
    display: none !important;
}

.ehm-widget-wrapper .ehm-hamburger-button:hover,
.ehm-widget-wrapper button.ehm-hamburger-button:hover {
    transform: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    border: none !important;
    color: #4172A0 !important;
}

.ehm-widget-wrapper .ehm-hamburger-button:active,
.ehm-widget-wrapper button.ehm-hamburger-button:active {
    transform: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    border: none !important;
    color: #4172A0 !important;
}

.ehm-widget-wrapper .ehm-hamburger-button:focus,
.ehm-widget-wrapper button.ehm-hamburger-button:focus {
    background-color: transparent !important;
    border: none !important;
    color: #4172A0 !important;
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

.ehm-hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 28px;
    height: 28px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.ehm-hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    border-radius: 2px;
}

.ehm-hamburger-text {
    font-weight: 600;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: white !important;
}

/* Overlay */
.ehm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    backdrop-filter: blur(8px);
}

.ehm-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Side Panel */
.ehm-side-panel {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 350px;
    background: #FFFFFF;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ehm-side-panel.ehm-side-left {
    left: 0;
    transform: translateX(-100%);
    border-radius: 0 8px 8px 0;
}

.ehm-side-panel.ehm-side-right {
    right: 0;
    transform: translateX(100%);
    border-radius: 8px 0 0 8px;
}

.ehm-side-panel.active {
    transform: translateX(0);
}

/* Panel Header */
.ehm-panel-header {
    display: flex;
    justify-content: flex-end;
    padding: 25px 25px 15px;
    border-bottom: 2px solid #E2E2E2;
    margin-bottom: 25px;
    background: #264573;
    position: relative;
}

.ehm-side-panel.ehm-side-left .ehm-panel-header {
    border-radius: 0 8px 0 0;
}

.ehm-side-panel.ehm-side-right .ehm-panel-header {
    border-radius: 8px 0 0 0;
}

/* Close Button - Professional styling */
.ehm-close-button,
.ehm-widget-wrapper .ehm-close-button,
.ehm-widget-wrapper button.ehm-close-button {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    font-size: 20px !important;
    cursor: pointer !important;
    color: white !important;
    padding: 8px !important;
    line-height: 1 !important;
    transition: border-color 0.2s ease !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px;
    text-align: center !important;
    white-space: nowrap !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
}

.ehm-close-button:hover,
.ehm-widget-wrapper .ehm-close-button:hover,
.ehm-widget-wrapper button.ehm-close-button:hover {
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: transparent !important;
    transform: none !important;
    color: white !important;
}


.sfc-logo {
    margin-top: 20px;
    text-align: center;
}

.sfc-logo img {
    max-width: 150px;
    height: auto;
    opacity: 0.9;
} 


/* Panel Content */
.ehm-panel-content {
    flex: 1;
    padding: 0 25px 25px;
    display: flex;
    flex-direction: column;
}

/* Menu Styles */
.ehm-menu {
    flex: 1;
}

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

.ehm-menu-list li {
    margin: 0;
    padding: 0;
    position: relative;
}

.ehm-menu-list li::before {
    display: none;
}

.ehm-menu-list li a {
    display: block;
    padding: 18px 20px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #E2E2E2;
    font-weight: 500;
    position: relative;
    z-index: 2;
    border-radius: 8px;
    margin: 2px 0;
    text-align: center;
    background: transparent;
}

.ehm-menu-list li a:hover {
    color: #4172A0;
    background: rgba(196, 224, 229, 0.1);
    transform: none;
    padding: 18px 20px;
}

.ehm-menu-list li:last-child a {
    border-bottom: none;
}

/* Bottom Content */
.ehm-bottom-content {
    margin-top: auto;
    padding: 25px 0;
    background: #264573;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.ehm-bottom-content.ehm-position-top {
    margin-top: 0;
    margin-bottom: 25px;
    padding: 20px;
    border-top: none;
    border-bottom: 2px solid #E2E2E2;
    border-radius: 8px;
}

.ehm-bottom-text {
    font-size: 15px;
    line-height: 1.7;
    color: white;
    text-align: center;
    font-style: italic;
}

.ehm-bottom-image {
    text-align: center;
}

.ehm-bottom-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ehm-bottom-image img:hover {
    transform: scale(1.05);
}

.ehm-bottom-html {
    font-size: 15px;
    line-height: 1.7;
    color: white;
}

/* SFC Aside styles for white text */
.ehm-bottom-content .sfc-aside {
    color: white;
}

.ehm-bottom-content .sfc-aside .sfc-cred {
    color: Black;
    font-size: 0.8rem;
    margin: 0 0 15px 0;
    text-align: center;
    justify-content: center;
}

.ehm-bottom-content .sfc-aside .sfc-contacts {
    color: white;
    margin: 0 0 20px 0;
    padding: 0;
}

.ehm-bottom-content .sfc-aside .sfc-contacts li {
    margin: 0 0 8px 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.ehm-bottom-content .sfc-aside .sfc-contacts li:last-child {
    margin-bottom: 0;
}

.ehm-bottom-content .sfc-aside .sfc-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 0;
}

.ehm-bottom-content .sfc-aside .sfc-link svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.ehm-bottom-content .sfc-aside .sfc-link span {
    white-space: nowrap;
}

.ehm-bottom-content .sfc-aside .sfc-link:hover,
.ehm-bottom-content .sfc-aside .sfc-link:focus-visible {
    color: white;
    opacity: 0.8;
}

.ehm-bottom-content .sfc-aside .sfc-link:active {
    color: white;
}

/* Center the navigation menu */
.ehm-menu {
    flex: 1;
    text-align: center;
}

.ehm-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.ehm-menu-list li {
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
}

.ehm-menu-list li a {
    display: block;
    padding: 18px 20px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #E2E2E2;
    font-weight: 500;
    position: relative;
    z-index: 2;
    border-radius: 8px;
    margin: 2px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ehm-widget-wrapper {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
    }

    .ehm-widget-wrapper .ehm-hamburger-button,
    .ehm-widget-wrapper button.ehm-hamburger-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 48px !important;
    }

    .ehm-hamburger-icon span {
        background-color: #ffffff !important;
    }
}

@media (max-width: 768px) {
    .ehm-side-panel {
        width: 100%;
        max-width: 350px;
        border-radius: 0;
    }
    
    .ehm-side-panel.ehm-side-left {
        border-radius: 0;
    }
    
    .ehm-side-panel.ehm-side-right {
        border-radius: 0;
    }
    
    .ehm-side-panel.ehm-side-left .ehm-panel-header {
        border-radius: 0;
    }
    
    .ehm-side-panel.ehm-side-right .ehm-panel-header {
        border-radius: 0;
    }
    
    .ehm-widget-wrapper .ehm-hamburger-button,
    .ehm-widget-wrapper button.ehm-hamburger-button {
        padding: 12px 16px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
        background-color: transparent !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }
    
    .ehm-hamburger-icon {
        width: 36px;
        height: 36px;
        gap: 11px;
    }

    .ehm-hamburger-text {
        color: #ffffff !important;
    }
    
    .ehm-panel-header {
        padding: 20px 20px 15px;
        border-radius: 0;
    }
    
    .ehm-panel-content {
        padding: 0 20px 20px;
    }
    
    .ehm-menu-list li a {
        padding: 15px 0 15px 15px;
        font-size: 15px;
    }
    
    .ehm-menu-list li a:hover {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .ehm-side-panel {
        width: 100%;
        max-width: 100%;
    }
    
    .ehm-hamburger-text {
        display: none;
    }
    
    .ehm-widget-wrapper .ehm-hamburger-button,
    .ehm-widget-wrapper button.ehm-hamburger-button {
        padding: 12px !important;
        border-radius: 8px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        justify-content: center !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .ehm-panel-header {
        padding: 15px 15px 10px;
    }
    
    .ehm-panel-content {
        padding: 0 15px 15px;
    }

    .ehm-hamburger-icon {
        width: 33px;
        height: 33px;
        gap: 10px;
    }
}

/* Animation for hamburger icon */
.ehm-widget-wrapper.active .ehm-hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.ehm-widget-wrapper.active .ehm-hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.ehm-widget-wrapper.active .ehm-hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Body scroll lock when menu is open */
body.ehm-menu-open {
    overflow: hidden;
}

/* Custom scrollbar for side panel */
.ehm-side-panel::-webkit-scrollbar {
    width: 8px;
}

.ehm-side-panel::-webkit-scrollbar-track {
    background: #E2E2E2;
    border-radius: 4px;
}

.ehm-side-panel::-webkit-scrollbar-thumb {
    background: #5885AF;
    border-radius: 4px;
    border: 2px solid #E2E2E2;
}

.ehm-side-panel::-webkit-scrollbar-thumb:hover {
    background: #4172A0;
}

/* Focus states for accessibility */
.ehm-hamburger-button:focus,
.ehm-close-button:focus,
.ehm-menu-list li a:focus {
    outline: 3px solid #4172A0;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(65, 114, 160, 0.3);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .ehm-side-panel {
        border: 3px solid #000;
    }
    
    .ehm-menu-list li a {
        border-bottom: 2px solid #000;
    }
    
    .ehm-bottom-content {
        border-top: 2px solid #000;
    }
    
    .ehm-hamburger-button {
        border: 2px solid #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .ehm-side-panel,
    .ehm-overlay,
    .ehm-hamburger-button,
    .ehm-hamburger-icon span,
    .ehm-close-button,
    .ehm-menu-list li a,
    .ehm-bottom-image img {
        transition: none;
        transform: none;
    }
}

/* Print styles */
@media print {
    .ehm-hamburger-button,
    .ehm-overlay,
    .ehm-side-panel {
        display: none !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .ehm-side-panel {
        background: #000000;
        color: #FFFFFF;
    }
    
    .ehm-panel-header {
        background: #274573;
        border-bottom-color: #4172A0;
    }
    
    .ehm-menu-list li a {
        color: #C4E0E5;
        border-bottom-color: #4172A0;
    }
    
    .ehm-menu-list li a:hover {
        background: rgba(196, 224, 229, 0.1);
        color: #FFFFFF;
    }
    
    .ehm-bottom-content {
        background: #274573;
        border-top-color: #4172A0;
    }
    
    .ehm-bottom-text,
    .ehm-bottom-html {
        color: #C4E0E5;
    }
}

/* Loading animation */
.ehm-widget-wrapper.loading .ehm-hamburger-button {
    pointer-events: none;
}

.ehm-widget-wrapper.loading .ehm-hamburger-icon span {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Success state */
.ehm-widget-wrapper.success .ehm-hamburger-button {
    background: #4172A0 !important;
    box-shadow: 0 8px 25px rgba(65, 114, 160, 0.3) !important;
}

/* Error state */
.ehm-widget-wrapper.error .ehm-hamburger-button {
    background: #4172A0 !important;
    box-shadow: 0 8px 25px rgba(65, 114, 160, 0.3) !important;
}

/* Glow effect for active menu items */
.ehm-menu-list li a:active {
    box-shadow: 0 0 20px rgba(65, 114, 160, 0.3);
    transform: scale(0.98);
}

/* Ripple effect for buttons */
.ehm-hamburger-button,
.ehm-close-button {
    position: relative;
    overflow: hidden;
}

.ehm-hamburger-button::after,
.ehm-close-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ehm-hamburger-button:active::after,
.ehm-close-button:active::after {
    width: 300px;
    height: 300px;
}



.sfc-aside{font:500 .95rem/1.4 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";color:#1a1a1a}
.sfc-cred{margin:0 0 .5rem;display:flex;align-items:center;gap:.5rem;font-size:.85rem;opacity:.85}
.sfc-contacts{list-style:none;margin:0;padding:0;display:grid;gap:.25rem}
.sfc-link{display:flex;align-items:center;gap:.5rem;text-decoration:none;padding:.35rem .5rem;border-radius:.5rem;transition:background .2s ease,transform .05s ease;color:#264573}
.sfc-link:hover,.sfc-link:focus-visible{background:rgba(38,69,115,.1);outline:none;color:#264573}
.sfc-link:active{transform:translateY(1px)}
/* === School Fees Company bespoke styling === */
body .ehm-widget-wrapper .ehm-hamburger-button,
body .ehm-widget-wrapper button.ehm-hamburger-button {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    gap: 10px !important;
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
    vertical-align: middle;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    box-shadow: none !important;
    transition: color 0.25s ease !important;
}

body .ehm-widget-wrapper .ehm-hamburger-button:hover,
body .ehm-widget-wrapper button.ehm-hamburger-button:hover {
    color: #9ac7e3 !important;
}

@media (max-width: 1024px) {
    body .ehm-widget-wrapper .ehm-hamburger-button,
    body .ehm-widget-wrapper button.ehm-hamburger-button {
        background: transparent !important;
        border-radius: 8px !important;
        padding: 12px 16px !important;
        box-shadow: none !important;
        color: #ffffff !important;
    }

    body .ehm-widget-wrapper .ehm-hamburger-button:hover,
    body .ehm-widget-wrapper button.ehm-hamburger-button:hover {
        color: #c7def0 !important;
    }

    body .ehm-hamburger-icon span {
        background-color: #ffffff !important;
    }

    body .ehm-hamburger-text {
        color: #ffffff !important;
    }
}

body .ehm-widget-wrapper .ehm-hamburger-button:active,
body .ehm-widget-wrapper button.ehm-hamburger-button:active {
    color: #7aaed2 !important;
}

body .ehm-widget-wrapper .ehm-hamburger-button:focus,
body .ehm-widget-wrapper button.ehm-hamburger-button:focus {
    box-shadow: none !important;
}

body .ehm-hamburger-icon span {
    background: #ffffff !important;
    border-radius: 999px !important;
}

body .ehm-hamburger-text {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.03em;
}

body .ehm-overlay {
    background: rgba(8, 18, 34, 0.72) !important;
    backdrop-filter: blur(8px);
}

body .ehm-side-panel {
    background: #ffffff !important;
    color: #1f2d3d !important;
    box-shadow: 0 18px 38px rgba(10, 20, 40, 0.18) !important;
    border-left: none;
    border-right: none;
}

body .ehm-panel-header {
    background: transparent !important;
    border-bottom: none !important;
    padding: 26px 32px 18px !important;
}

body .ehm-close-button,
body .ehm-widget-wrapper .ehm-close-button,
body .ehm-widget-wrapper button.ehm-close-button {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #1f2d3d !important;
    width: 52px !important;
    height: 52px !important;
    font-size: 24px !important;
    line-height: 1 !important;
    transition: color 0.2s ease, background 0.2s ease !important;
    outline: none !important;
}

body .ehm-close-button:hover,
body .ehm-widget-wrapper .ehm-close-button:hover,
body .ehm-widget-wrapper button.ehm-close-button:hover {
    color: #0f2747 !important;
    background: rgba(15, 39, 71, 0.1) !important;
}

body .ehm-close-button:focus,
body .ehm-widget-wrapper .ehm-close-button:focus,
body .ehm-widget-wrapper button.ehm-close-button:focus {
    outline: none !important;
    box-shadow: none !important;
    background: rgba(15, 39, 71, 0.08) !important;
    color: #0f2747 !important;
}

body .ehm-panel-content {
    padding: 0 32px 36px !important;
    gap: 28px !important;
}

body .ehm-menu-list {
    display: grid;
    gap: 0;
}

body .ehm-menu-list li a {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(16, 31, 55, 0.08) !important;
    color: #1f2d3d !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em;
    text-align: left !important;
    padding: 16px 0 !important;
    border-radius: 0 !important;
    transition: color 0.2s ease, border-color 0.2s ease !important;
}

body .ehm-menu-list li:first-child a {
    padding-top: 0 !important;
}

body .ehm-menu-list li a:hover,
body .ehm-menu-list li a:focus-visible {
    color: #3c5a7c !important;
    border-color: rgba(60, 90, 124, 0.35) !important;
    transform: none;
}

body .ehm-menu-list li:last-child a {
    border-bottom: none !important;
}

body .ehm-bottom-content {
    padding: 8px 0 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    display: grid;
    gap: 18px;
}

body .ehm-bottom-html,
body .ehm-bottom-text {
    color: #2f3f55 !important;
    font-size: 16px;
    line-height: 1.6;
}

body .ehm-bottom-content .sfc-aside {
    color: #2f3f55 !important;
    display: grid;
    gap: 18px;
    text-align: left;
    align-content: start;
}

body .ehm-bottom-content .sfc-contacts {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
}

body .ehm-bottom-content .sfc-contacts li {
    list-style: none;
    margin: 0;
}

body .ehm-bottom-content .sfc-link {
    color: #103356 !important;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 22px;
    border-radius: 8px;
    border: 1px solid rgba(16, 51, 86, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(238, 244, 250, 0.96) 100%);
    box-shadow: 0 16px 34px rgba(16, 51, 86, 0.1);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body .ehm-bottom-content .sfc-link:hover,
body .ehm-bottom-content .sfc-link:focus-visible {
    color: #0b1d33 !important;
    border-color: rgba(16, 51, 86, 0.38);
    box-shadow: 0 20px 46px rgba(16, 51, 86, 0.16);
}

body .ehm-bottom-content .sfc-link::before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 4px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    filter: grayscale(1);
}

body .ehm-bottom-content .sfc-contacts li:first-child .sfc-link::before {
    background-color: transparent;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="%232f3f55" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"%3E%3Cpath d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 3.15 9.81 19.79 19.79 0 0 1 .08 1.18 2 2 0 0 1 2.07 0h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L6 7a16 16 0 0 0 7 7l.36-.32a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/%3E%3C/svg%3E');
}

body .ehm-bottom-content .sfc-contacts li:nth-child(2) .sfc-link::before {
    background-color: transparent;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="%232f3f55" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"%3E%3Cpath d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2Z"/%3E%3Cpolyline points="22,6 12,13 2,6"/%3E%3C/svg%3E');
}

body .ehm-bottom-content .sfc-link span {
    display: block;
    font-size: 1.04rem;
    color: inherit;
}

body .ehm-bottom-content .sfc-cred {
    color: rgba(47, 63, 85, 0.75);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body .sfc-logo {
    margin-top: 6px;
}

body .sfc-logo img {
    max-width: 140px;
    filter: none;
}

@media (max-width: 768px) {
    body .ehm-side-panel {
        max-width: 360px;
    }

    body .ehm-panel-header {
        padding: 20px 24px 14px !important;
    }

    body .ehm-panel-content {
        padding: 0 24px 32px !important;
    }

    body .ehm-menu-list li a {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    body .ehm-widget-wrapper .ehm-hamburger-button,
    body .ehm-widget-wrapper button.ehm-hamburger-button {
        padding: 12px 16px !important;
    }

    body .ehm-panel-content {
        padding: 0 20px 28px !important;
    }

    body .ehm-bottom-content {
        gap: 14px;
    }
}

body .ehm-bottom-content .sfc-link:hover::before,
body .ehm-bottom-content .sfc-link:focus-visible::before {
    filter: brightness(1.1);
}
