/*
Theme Name:   Alfamentor (Alfakom Solucii DOOEL)
Theme URI:    https://alfakom.eu/
Description:  Elementor child theme with Mega Menu, Government and Corporate structure.
Template:     hello-biz
Version:      3.6.0
License:      GNU General Public License v3 or later
Text Domain:  alfamentor
*/

/* =========================================
   1. Variables & Branding (Generic)
   ========================================= */
:root {
    --a-primary: #222255; 
    --a-secondary: #999999;
    --a-accent: #ff9933;
    
    /* Neutrals */
    --a-text: #222222;
    --a-text-light: #555555;
    --a-bg-light: #F9F9F9;
    --a-btn-default: #f5f5f5;
    --a-btn-hover: #eee;
    --a-btn-border: #ccc;
    --a-btn-hover-border: #999;
    --a-border: #E5E7EB;
    /* Spacing */
    --a-spacing-unit: 1rem;


/* =========================================
   1.2 SVG Icons
   ========================================= */

--a-icon-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E");

--a-icon-document: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");

--a-icon-pdf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E");

--a-icon-envelope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%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");

--a-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-5.74-5.74A19.79 19.79 0 0 1 2 4.18 2 2 0 0 1 4.1 2h3.18a2 2 0 0 1 2 1.72a12.84 12.84 0 0 0 .7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.29-1.29a2 2 0 0 1 2.11-.45a12.84 12.84 0 0 0 2.81.7a2 2 0 0 1 1.72 2v3z'/%3E%3C/svg%3E");

--a-icon-map-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");

}



/* =========================================
   2. Global Accessibility
   ========================================= */
*:focus-visible {
    outline: 3px solid var(--a-accent);
    outline-offset: 2px;
}

body {
    color: var(--a-text);
    background-color: var(--a-bg-light);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--a-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover, a:focus {
    color: var(--a-accent);
    text-decoration: underline;
}


/* =========================================
   2.5 Site Logo
   ========================================= */
.elementor-widget-theme-site-logo a img {
  width:50px;
  height:50px;
}


/* =========================================
   3. MEGA MENU STYLING (Scoped to .a-main-menu)
   ========================================= */

/* 3.1 The Mega Menu Wrapper */
.a-main-menu .e-n-menu-content {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    top: 100% !important;
}



/* 3.2 Mega menu Inner Box */
.a-main-menu .e-n-menu-content > .e-con {
    background-color: #fffffff8 !important;
    border-top: 4px solid var(--a-accent) !important;
    box-shadow: 0 10px 40px #0001 !important;
    border-radius: 0 0 10px 10px;
    padding: 2rem !important;
    margin-top: 0 !important;
    width:90vw;	  
    max-width:1265px;
    height:900px;
    max-height:80vh;
    margin: 0 auto;
}

.a-main-menu .e-n-menu-content > .e-con:before {
    content:"";
    display:block;
    width:100%;
    height:900px;
    background: transparent url(/wp-content/uploads/2025/11/logo-bro.png) no-repeat center center/contain !important;
    opacity:0.05;
    z-index:0;
}



/* 3.3 Top Level Text Colors */
.a-main-menu {
    --n-menu-title-color-normal: var(--a-primary);
    --n-menu-title-color-hover: var(--a-accent);
    --n-menu-title-color-active: var(--a-primary); 
}


.a-main-menu .a-main-menu-content-submenu{
  width:100%;
  min-height:320px;
}

.a-main-menu .a-main-menu-content .a-main-menu-content-submenu .elementor-nav-menu{
    display:block;
    width:95%;
}

/* 3.4 The Headings inside the Dropdown */
.a-main-menu .a-main-menu-content-submenu nav .menu-item > a.has-submenu,
.a-main-menu .a-mega-menu-heading .elementor-heading-title {
    color: var(--a-primary);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--a-border);
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-decoration:none !important;
}


/* 3.5 The Icon List Items */
.a-main-menu .a-main-menu-content-submenu nav .menu-item > .sub-menu,
.a-main-menu .elementor-widget-icon-list .elementor-icon-list-item {
    display:block !important;
    margin-bottom: 10px !important;
    align-items: flex-start !important;
    background-color:unset;
    width: 100%;
}

.a-main-menu .a-main-menu-content-submenu nav .menu-item > .sub-menu a,
.a-main-menu .elementor-widget-icon-list .elementor-icon-list-item a {
    color: var(--a-text);
    font-size: 1rem;
    font-weight: 300;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    transition: all 0.2s ease-in-out;
    display: flex;
    padding:10px;
    white-space:unset;
    border:1px solid transparent;
}
.a-main-menu .elementor-widget-icon-list .elementor-icon-list-item a span {
    color: unset;
}
.a-main-menu .a-main-menu-content-submenu nav .menu-item > .sub-menu a:hover,
.a-main-menu .elementor-widget-icon-list .elementor-icon-list-item a:hover {
    color: var(--a-primary);
    transform: translateX(3px);
    text-decoration: none;
    background-color:#fff;
    border:1px solid var(--a-border);
    border-radius:5px;
}

.a-main-menu .a-main-menu-content-submenu nav .menu-item > .sub-menu a.elementor-item-active{
    color: var(--a-accent);
    text-decoration: none;
    background-color:#fff;
    border:1px solid var(--a-primary);
    border-radius:5px;
}

.a-main-menu .a-main-menu-content-submenu nav .menu-item {
    width: 100%; 
    display: block !important;
}

.a-main-menu .a-main-menu-content-submenu nav .menu-item > .sub-menu,
.a-main-menu .elementor-widget-icon-list ul {
    list-style: none;
    padding-left: 0;
}

/* =========================================
   8. Language Switcher (Flat Layout)
   ========================================= */

.a-menu-lang {
  width: 60px;
}


/* 1. Hide the top-level "Parent" item (The Dropdown Trigger) */
.a-menu-lang .elementor-nav-menu > li > a {
    display: none !important; 
}

/* 2. Force the Submenu to stay visible and flow horizontally */
.a-menu-lang .elementor-nav-menu > li > .sub-menu {
    display: flex !important;           /* Turn list into a flex row */
    flex-direction: row !important;     /* Side by side */
    position: static !important;        /* Remove absolute positioning */
    visibility: visible !important;     /* Override Elementor hiding */
    opacity: 1 !important;
    height: auto !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

/* 3. Style the individual Language Items */
.a-menu-lang .sub-menu li {
    display: flex !important;
    align-items: center;
    margin: 0 8px 0 0 !important; /* Spacing between languages */
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    width: auto !important;
}

/* 4. Style the Links (Flags + Text) */
.a-menu-lang .sub-menu li a {
    display: flex !important;
    align-items: center;
    gap: 6px; /* Space between Flag and Text */
    padding: 6px 10px !important;
    background: transparent !important;
    color: var(--a-text) !important; /* Use standard text color */
    font-size: 13px !important;
    font-weight: 600 !important;
    border: 1px solid transparent;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none !important;
}

/* Active Language Style (Optional) */
.a-menu-lang .sub-menu li.current-menu-item a {
    color: var(--a-primary) !important;
    background-color: rgba(34, 34, 85, 0.05) !important; /* Subtle tint */
}

/* Hover Effect */
.a-menu-lang .sub-menu li a:hover {
    color: var(--a-accent) !important;
    background-color: #fff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* 5. Flag Image Sizing */
.a-menu-lang img.qtranxs-flag {
    width: 20px !important;
    height: auto !important;
    box-shadow: none !important;
    margin: 0 !important;
    position: relative;
    top: -1px; /* Optical alignment */
}

.a-menu-lang{
margin:1rem 0 !important;
}


/* =========================================
   4. Front page sections
   ========================================= */

.a-front-hero .ehp-flex-hero{
  width:100% !important;
  max-width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

.a-front-cta1-content,
.a-front-serviices-content,
.a-front-news-content,
.a-front-cta2-content,
.a-front-team-content,
.a-front-partners > div,
.a-front-cta3-content{
  max-width: 1265px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.a-front-hero-content .ehp-flex-hero__content-container{
  margin-left:calc((100vw - 1265px) / 2)
}
.a-front-hero-content .ehp-flex-hero__image-wrapper{
  margin-right:calc((100vw - 1265px) / 2)
}

.a-front-cta1 {
  min-height:200px
}

.a-front-cta1 .ehp-cta__ctas-container{
  margin-top: 15px;
}

.a-front-cta1-content {
  margin-top:40px
}

.a-front-news .swiper-slide{
  width:395px !important;
  max-width:100%;
}

.a-front-news-card .elementor-widget.elementor-widget-post-info {
  top: 220px;
}

.a-front-cta2{
  min-height:800px;
}

.a-front-management{
  min-height:500px;
}

.a-front-management img{
  width:480px;
  height:270px;
  object-fit:cover;
}

.a-front-partners{
  min-height:400px;
  height:fit-content;
}

.a-front-cta3-content .ehp-cta.has-preset-focus .ehp-cta__text-container {
  width: 50%
}


/* - - - FRONT NEWS CAROUSEL CARD - - - */

.a-front-news .elementor-loop-container{
	padding:50px 20px !important;
}
.elementor-element.a-front-news-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 !important;
    position: relative;
}

.elementor-element.a-front-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.a-front-news-card .elementor-widget.elementor-widget-theme-post-featured-image {
    width: 100%;
    margin-bottom: 0;
    line-height: 0;
    flex-shrink: 0;
}

.a-front-news-card .elementor-widget.elementor-widget-theme-post-featured-image img {
    height: 270px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.elementor-element.a-front-news-card:hover .elementor-widget.elementor-widget-theme-post-featured-image img {
    transform: scale(1.05);
}

.a-front-news-card .elementor-widget:not(.elementor-widget-theme-post-featured-image):not(.elementor-widget-post-info) {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}


/* DATE */
.a-front-news-card .elementor-widget.elementor-widget-post-info {
    position: absolute;
    top: 220px;
    right: 12px;
    background-color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
    margin: 0 !important;
    width: auto !important;
}

.a-front-news-card .elementor-widget-post-info .elementor-icon-list-item,
.a-front-news-card .elementor-widget-post-info .elementor-icon-list-item a,
.a-front-news-card .elementor-widget-post-info .elementor-icon-list-item time{
    font-size: 11px;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--a-accent) !important;
    padding: 0;
}

.a-front-news-card .elementor-widget.elementor-widget-post-info .elementor-icon-list-icon {
    font-size: 11px;
    margin-right: 4px;
    color: var(--a-primary);
}


/* TITLE: Position */
.a-front-news-card .elementor-widget.elementor-widget-theme-post-title {
    height: 70px;
    margin-top: 0px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.a-front-news-card .elementor-widget.elementor-widget-theme-post-title .elementor-heading-title a {
    color: var(--a-primary);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.3 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.a-front-news-card .elementor-widget.elementor-widget-theme-post-title .elementor-heading-title a:hover {
    color: var(--a-accent);
}


/* EXCERPT */
.a-front-news-card .elementor-widget.elementor-widget-theme-post-excerpt {
    margin-bottom: 20px;
    flex-grow: 1;
}

.a-front-news-card .elementor-widget.elementor-widget-theme-post-excerpt{
  height:70px;
}

.a-front-news-card .elementor-widget.elementor-widget-theme-post-excerpt,
.a-front-news-card .elementor-widget.elementor-widget-theme-post-excerpt .elementor-widget-container,
.a-front-news-card .elementor-widget.elementor-widget-theme-post-excerpt p {
    color: var(--a-text) !important;
    font-size: 14px;
    line-height: 1.5 !important;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}







/* =========================================
   5. Sector Page Styling (Typography & Layout)
   ========================================= */

.a-sector-wrapper {
    width: 960px !important;
    max-width:100% !important;
    margin: 0 auto;
}

.a-sector-intro p {
    margin-bottom: 1.5rem;
    color: var(--a-text);
}

.a-lead-text p,
p.a-lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--a-primary) !important;
    line-height: 1.6;
    border-left: 4px solid var(--a-accent);
    padding-left: 1rem;
}

.a-section-title h3{
    font-size: 1.5rem !important;
    font-weight:400 !important;
    color: var(--a-primary) !important;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--a-border);
    padding-bottom: 0.5rem;
}



/* Department Cards Grid */

.a-sector-structure{
  margin:3rem auto
}

.a-dept-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch; 
}

@media (min-width: 768px) {
    .a-dept-grid {
        /* Explicitly define 3 columns to prevent accidental wrapping */
        grid-template-columns: repeat(3, 1fr); 
    }
}

.a-dept-card {
    background: #fff;
    border: 1px solid var(--a-border);
    border-top: 4px solid var(--a-primary);
    padding: 1.5rem;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%; 
/* Make sure it fills grid height */
}

.a-dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-top-color: var(--a-accent);
}

.a-dept-icon {
    font-size: 2rem;
    font-weight: 900;
    color: var(--a-border);
    opacity: 0.5;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.a-dept-content h4 {
    font-size: 1.1rem;
    color: var(--a-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.a-dept-content p {
    font-size: 0.9rem;
    color: var(--a-text-light);
    margin-bottom: 0;
    line-height: 1.5;
}



/* Managers Contact Card */
.a-manager-card {
    background-color: var(--a-bg-light);
    border-left: 5px solid var(--a-accent);
    padding: 1.5rem 2rem;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0 4px 4px 0;
}

/* Tablet and up */
@media (min-width: 768px) {
    .a-manager-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}


.a-manager-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--a-text-light);
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .a-manager-label {
        margin-bottom: 0;
        margin-right: 2rem;
        width: 35%;
    }
}


.a-manager-info {
    flex-grow: 1;
    border-left:1px solid var(--a-primary);
    padding-left:1rem;
}

.a-manager-name h4{
    font-size: 1.3rem !important;
    color: var(--a-primary) !important;
    margin: 0 0 0.25rem 0;
    font-weight: 700 !important;
}

.a-manager-contacts a span,
.a-manager-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--a-text) !important;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.a-manager-contacts a span:hover {
    color: var(--a-accent) !important;
}

.a-manager-email::before {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: var(--a-text-light);
    -webkit-mask-image: var(--a-icon-envelope);
    mask-image: var(--a-icon-envelope);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.a-manager-email:hover::before{
    background-color: var(--a-accent);
}



/* =========================================
   4. Shortcode Styles
   ========================================= */
.a-mega-menu-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.a-mega-menu-list a {
    color: var(--a-text-light);
    font-size: 0.95rem;
    padding: 4px 0;
    display: block;
}

.a-mega-menu-list a:hover {
    color: var(--a-accent);
    transform: translateX(5px);
}

.a-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--a-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.a-download-btn:hover {
    background-color: var(--a-accent);
    text-decoration: none;
    color: white !important;
}


/* Meta Info (Gazette/Date) */
.a-meta-box {
    font-size: 0.85rem;
    color: var(--a-text-light);
    background: #f0f0f0;
    padding: 6px 12px;
    border-left: 3px solid var(--a-secondary);
    display: inline-block;
    margin-top: 5px;
}






/* =========================================
   1. GLOBAL VARIABLES
   ========================================= */
:root {
    --a-primary: #222255;
    --a-secondary: #999999;
    --a-accent: #ff9933;
    --a-text-white: #ffffff;
    --a-text-dark: #222255;
    --a-bg-body: #ffffff;
    --a-border-color: #E5E7EB;
    
    /* Layout */
    --a-max-width: 1265px;
    --a-text-width: 960px;
    --a-gutter: 20px;
}





/* =========================================
   2. HERO SECTION
   ========================================= */

.a-hero-section {
    background-color: var(--a-primary);
    position: relative;
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 0px; 
}



/* Strict Grid */
.a-hero-grid {
    width: var(--a-max-width);
    max-width: 100%;
    margin: 0 auto;
    padding-left: var(--a-gutter);
    padding-right: var(--a-gutter);
    position: relative;
    z-index: 10;
}



/* Breadcrumbs */
.a-hero-breadcrumbs {
    font-size: 14px;
    color: var(--a-text-white);
    opacity: 0.8;
    margin-bottom: 2rem;
    font-weight: 500;
}
.a-hero-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}
.a-hero-breadcrumbs a:hover {
    text-decoration: underline;
    opacity: 1;
}



/* --- Category Label --- */
.a-hero-category {
    display: inline-block;
    background-color: var(--a-secondary);
    color: var(--a-primary);
    padding: 0 20px 0 0 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    position: relative;
    margin-bottom: 3rem;
    line-height: 1;
    align-self: flex-start;
    width: fit-content;
    white-space: nowrap;
}
.a-hero-category::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%; 
    width: 100px; 
    background-color: var(--a-secondary);
    pointer-events: none;
}
.a-hero-category a {
    color: var(--a-primary) !important;
    font-size: 1.5rem !important;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
    display: block;
}



/* --- Main Title --- */
.a-hero-title {
    color: var(--a-text-white);
    font-size: clamp(2.5rem, 5vw, 3.3rem) !important;
    margin-top: 2rem !important;
    margin-bottom: 0rem !important;
    max-width: 100% !important;
    font-weight: 500;
    line-height: 1.1;
}

.a-hero-title h1,
.a-hero-title .elementor-heading-title {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}



/* --- Content Row (Text + Image) --- */
.a-hero-content-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    top: 50px; 
}

/* Left Text */
.a-hero-excerpt {
    flex: 1;
    color: var(--a-text-white);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 480px !important;
    height:500px;
    max-height:100%;
    opacity: 0.9;
}


/* - - - BREADCRUMBS - - - */

.a-breadcrumb {
  position:absolute;
  top:180px;
  width:480px;
  max-width:100%;
}

.a-breadcrumb,
.a-breadcrumb span,
.a-breadcrumb a{
  font-size:0.8rem;
  line-height:1.3 !important;
  color:var(--a-secondary);
}

.a-breadcrumb .breadcrumb_last{
  color:#fff;
}

.a-breadcrumb a:hover{
  color:var(--a-accent);
  text-decoration:none;
}



/* --- Featured Image Fixes --- */
.a-hero-featured-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
}
.a-hero-featured-image .elementor-widget-container {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}
.a-hero-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    background: transparent !important;
    padding: 0 !important;
    object-fit: cover;
    border-radius: 2px;
    border: 16px solid #fff;
    box-shadow: none;
}

/* --- Diagonal Block --- */
.a-hero-decoration-bottom {
    position: absolute;
    bottom: 150px; 
    left: 0;
    width: 100%;
    height: 80px; 
    z-index: 5;
    line-height: 0;
    pointer-events: none;
    overflow: visible;
}
/* Solid white block below the diagonal */
.a-hero-decoration-bottom::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 500px; 
    background-color: var(--a-bg-body);
}
.a-hero-decoration-bottom svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: var(--a-bg-body);
    preserveAspectRatio: none;
}




/* =========================================
   3. BODY SECTION
   ========================================= */

.a-body-section {
    width: 100%;
    position: relative;
    background-color: var(--a-bg-body);
    padding-bottom: 100px;
    z-index: 1;
    top: 100px;
}

.a-body-text > .e-con > .e-con-inner {
    max-width: 1265px;
    margin: 0 auto;
}

.a-body-grid {
    width: var(--a-max-width);
    max-width: 100%;
    margin: 0 auto;
    padding-left: var(--a-gutter);
    padding-right: var(--a-gutter);
}

.a-body-text {
    color: var(--a-text-dark);
    font-size: 1rem;
    line-height: 1.7;
}

.a-body-text div::not(.e-loop-item) h3,
.a-body-text h3.a-section-title{
    font-size: 1.5rem !important;
    font-weight:400 !important;
    color: var(--a-primary) !important;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--a-border);
    padding-bottom: 0.5rem;
}




/* - - - GALLERY IMPORT - - - */

.single-post .elementor-widget-theme-post-content .gallery{
  display:block;
  width:100%;
  min-height: 260px;
  height:fit-content;
  padding:20px 10px;
  margin:50px auto;
  background-color:#ffffff;
  border: 1px solid var(--a-accent);
  border-width: 1px 0;
}
.single-post .elementor-widget-theme-post-content .gallery .gallery-item{
  display: inline-block;
  width: 32.334%;
  margin:1%;
  margin-left:0;
}

.single-post .elementor-widget-theme-post-content .gallery .gallery-item:nth-child(3n){
  margin-right:0;
}

.single-post .elementor-widget-theme-post-content .gallery .gallery-item img{
  width:100%;
  height:175px;
  object-fit:cover;
  box-shadow:0 0 5px #0004;
  filter: saturate(0.15);
  border: 1px solid #777;
  transition: all 0.3s ease-in-out;
}

.single-post .elementor-widget-theme-post-content .gallery .gallery-item:hover img{
  filter:none;
  box-shadow:0;
  border:1px solid var(--a-accent);
}



/* - NEWS INLINE GALLERY - */

.e-con-full.a-body-section .a-body-text img{
  display:inline-block;
  width:480px;
  height:270px;
  object-fit:cover;
  padding:0px !important;
  margin:20px!important;
  border:1px solid var(--a-border);
  box-shadow:0 0 15px #0002
}

.e-con-full.a-body-section .a-body-text a img{
  display:inline-block;
  width:240px;
  height:135px;
  object-fit:cover;
  padding:0 !important;
  margin:10px !important;
  border:1px solid var(--a-border);
  box-shadow:0 0 10px #0002;
}

.a-full img{
  display:block !important;
  width:960px !important;
  height:540px !important;
  object-fit:cover;
  padding:0 !important;
  margin:50px auto !important;
  border:1px solid var(--a-border);
  box-shadow:0 0 30px #00000016;
}


/* =========================================
   4. RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .a-hero-section {
        padding-top: 100px;
    }
    .a-hero-content-row {
        flex-direction: column;
        gap: 3rem;
        top: 0;
    }
    .a-hero-featured-image img {
        border-width: 8px; 
    }
    .a-hero-decoration-bottom {
        height: 60px; 
    }
}












/* =========================================
   6. Document Lists Styling
   ========================================= */

.a-file-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .a-file-list {
        grid-template-columns: 1fr 1fr;
    }
}

.a-file-list li {
    display: flex;
    height: 100%;
}
.a-file-list a,
.a-file-list span {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--a-border);
    border-left: 4px solid var(--a-secondary);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    color: var(--a-primary);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.4;
}
.a-file-list a:hover {
    background-color: #f9f9f9;
    border-left-color: var(--a-accent);
    color: var(--a-accent);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-decoration: none;
}
.a-file-list a::before,
.a-file-list span::before {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    margin-top: 3px;
    background-color: var(--a-text-light);    
    -webkit-mask-image: var(--a-icon-link);
    mask-image: var(--a-icon-link);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.a-file-list a:hover::before {
    background-color: var(--a-accent);
}

.a-file-list span {
    background-color: var(--a-bg-light);
    border-left-color: var(--a-border);
    cursor: default;
}



/* - - - A FILE LINK - - - */

.a-file-link .elementor-icon-list-item {
  margin-bottom:1.5rem;
  padding:1rem;
  border:1px solid var(--a-border);
  border-left:2px solid var(--a-primary);
  border-radius:5px;
  box-shadow:0 1px 5px #0001;
  transition:all 0.3s ease-in-out;
}

.a-file-link .elementor-icon-list-item:hover {
  border:1px solid var(--a-primary);
  border-left:2px solid var(--a-accent);
  transform: translateX(3px);
  background-color:var(--abg-light);
}

.a-file-link .elementor-icon-list-item a .elementor-icon-list-text{
  color:var(--a-secondary);
}

.a-file-link .elementor-icon-list-item:hover a{
  text-decoration:none;
}

.a-file-link .elementor-icon-list-item:hover a .elementor-icon-list-text{
  color:var(--a-text);
}

.a-file-link .elementor-icon-list-item .elementor-icon-list-icon{
  background-color:var(--a-bg-light);
  width:40px;
  height:40px;
  border:2px solid var(--a-accent);
  border-radius:50%;
  padding:7px 3px 5px 9px;
  box-shadow:0 0 5px #0003;
  margin-right:10px;
}

.a-file-link .elementor-icon-list-item .elementor-icon-list-icon svg{
  width:21px;
  height:21px;
}

.a-file-link .elementor-icon-list-item:hover .elementor-icon-list-icon{
  border-color:var(--a-primary);
}

.a-file-link .elementor-icon-list-item:hover .elementor-icon-list-icon svg{
  fill:var(--a-accent);
}




/* SUBCATEGORY - Podkategorii 2025 */
/* --- Main Container --- */
.a-podkategorii-cpt {
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Elementor Override (Scoped) --- */
.a-podkategorii-cpt .elementor-widget-shortcode {
    width: 100% !important;
    flex-grow: 1 !important;
}

/* --- Table Layout --- */
.custom-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    table-layout: fixed;
}

/* --- Cell Styling --- */
.custom-data-table th, 
.custom-data-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    word-wrap: break-word;
    vertical-align: middle;
}

/* --- Column Widths --- */
.custom-data-table th:nth-child(1),
.custom-data-table td:nth-child(1) {
    width: 60px;
    text-align: center;
}

.custom-data-table th:nth-child(3),
.custom-data-table td:nth-child(3) {
    width: 130px;
    text-align: center;
}

.custom-data-table th:nth-child(2),
.custom-data-table td:nth-child(2) {
    width: auto;
}

/* --- Headers --- */
.custom-data-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

/* --- Zebra Striping Fix --- */
.custom-data-table tbody > tr:nth-child(odd) > td,
.custom-data-table tbody > tr:nth-child(odd) > th {
    background-color: #ffffff; 
}

.custom-data-table tbody > tr:nth-child(even) > td,
.custom-data-table tbody > tr:nth-child(even) > th {
    background-color: #fcfcfc;
}

/* --- Hover Effect --- */
.custom-data-table tbody tr:hover > td,
.custom-data-table tbody tr:hover > th {
    background-color: var(--a-bg-light);
    transition: background-color 0.2s ease;
}

/* --- Buttons --- */
.btn-download, 
.btn-browse {
    background-color: var(--a-btn-default);
    color: var(--a-text) !important;
    padding: 10px 20px;
    text-decoration: none !important;
    border-radius: 4px;
    display: inline-block;
    font-size: 14px;
    transition: background 0.3s ease;
    border: 1px solid var(--a-btn-border);
    cursor: pointer;
    white-space: nowrap;
}

.btn-download:hover, 
.btn-browse:hover {
    background-color: var(--a-btn-hover);
    color: #000 !important;
    border: 1px solid var(--a-btn-hover-border);
}


/* --- Breadcrumbs --- */
.custom-breadcrumbs {
    background: #000;
    color: #fff;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 4px;
}
.custom-breadcrumbs p {
    margin: 0;
    font-size: 14px;
}

/* --- Back Link --- */
.table-actions a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}
.table-actions a:hover {
    text-decoration: underline;
}




/* =========================================
   7. Staff / Manager Profile Styling
   ========================================= */

/* --- Main Layout Spacing --- */
.a-staff-container {
    width:960px;
    max-width:100%;
    gap: 40px;
    margin:0 auto 3rem;
}

/* --- 1. Photo Section --- */
.a-staff-photo img {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(34, 34, 85, 0.1); /* Subtle Navy Shadow */
    border: 1px solid var(--a-border);
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Optional: Add the signature left border accent */
    border-left: 4px solid var(--a-accent); 
}

/* --- 2. Contact List (Under Photo) --- */
.a-staff-contacts {
    margin-top: 1.5rem;
}

.a-staff-contacts .elementor-icon-list-item {
    margin-bottom: 2px !important;
    align-items: center;
}

.a-staff-contacts .elementor-icon-list-item a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.a-staff-contacts .elementor-icon-list-item a span{
    color: var(--a-text-light);
    font-size: 0.9rem;
}

.a-staff-contacts .elementor-icon-list-item a:hover span {
    color: var(--a-accent);
}

/* Style the Icons */
.a-staff-contacts .elementor-icon-list-icon {
    margin-right: 10px;
    background-color: var(--a-bg-light);
    width: 32px;
    height: 32px;
    padding-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Circular icons */
    color: var(--a-primary); /* Navy Icon */
    transition: background-color 0.2s ease, color 0.2s ease;
}

.a-staff-contacts .elementor-icon-list-item a:hover .elementor-icon-list-icon {
    background-color: var(--a-accent);
    color: #fff;
}

.a-staff-contacts .elementor-icon-list-item a svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* --- 3. Name & Position (Header) --- */
.a-staff-name h2.elementor-heading-title {
    color: var(--a-primary);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.a-staff-position h4.elementor-heading-title {
    color: var(--a-accent); /* Orange Title */
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--a-border);
    display: inline-block;
}

/* Lead Text (Short Bio) */
.a-staff-lead p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--a-text);
    font-weight: 400;
    margin-bottom: 2rem;
}

/* --- 4. Content Sections (Education, Experience) --- */
.a-staff-content {
    width:960px;
    max-width:100%;
    margin:0 auto 2rem;
}

.a-staff-content:last-child {
    border-bottom: none;
}

/* Section Headers (e.g., "Education") */
.a-staff-content-header h3.elementor-heading-title {
    color: var(--a-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

/* Optional: Add a small square bullet before section headers */
.a-staff-content-header h3.elementor-heading-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--a-accent);
    margin-right: 12px;
    border-radius: 1px;
}

/* Section Body Text */
.a-staff-content-text p {
    font-size: 0.95rem;
    color: var(--a-text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .a-staff-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .a-staff-photo img {
        width: 150px; /* Limit size on mobile so it's not huge */
        margin-bottom: 1rem;
    }
    
    .a-staff-name h2.elementor-heading-title {
        font-size: 1.75rem;
    }
}

.e-con-full.a-body-grid .a-body-text .a-staff-container .a-staff-photo img{
  width:200px;
  height:200px;
  object-fit:cover;
  border:1px solid var(--a-border);
}
.e-con-full.a-body-grid .a-body-text .a-staff-contacts{
  width:200px;
  max-width:100%;
  margin:0 auto;
}




/* --- CONTACT TABLES --- */
.a-contact .custom-data-table th:nth-child(1),
.a-contact .custom-data-table td:nth-child(1) {
    width: 40%;
    text-align: center;
}

.a-contact .custom-data-table th:nth-child(2),
.a-contact .custom-data-table td:nth-child(2) {
    width: 60%;
    text-align: center;
}

.a-contact .custom-data-table th:nth-child(3),
.a-contact .custom-data-table td:nth-child(3) {
    width: 80%;
    text-align: center;
}





































/* - - -  FOOTER - - -  */
.ehp-flex-footer__group--business-details .ehp-flex-footer__site-title {
  text-transform:uppercase;
}

.ehp-flex-footer__group--business-details .ehp-flex-footer__site-link-container{
  margin:0;
}

.ehp-flex-footer__group--business-details .ehp-flex-footer__subheading {
  text-transform:uppercase;
  color:var(--a-secondary);
  font-size:0.8rem !important;
  margin:0 0 1rem;
}














/* =========================================
   MOBILE & TABLET MEGA MENU FIX & STYLING
   ========================================= */

/* RESTRICT TO MOBILE AND TABLET (UP TO 1024PX) */
@media (max-width: 1024px) {

    /* --- 0. MAIN HEADER CONTAINER (FIXED & LAYOUT) --- */
    
    /* Using FIXED instead of sticky because sticky fails if any parent has overflow:hidden */
    .elementor-element-28d3697 {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background-color: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        overflow: visible !important;
        height: auto !important; 
        padding: 0 10px !important; /* Add slight padding to edges */
    }

    /* FIX: Target the inner wrapper that holds the Logo and Menu */
    .elementor-element-28d3697 > .e-con-inner {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important; /* Pushes items apart */
        align-items: center !important;
        width: 100% !important;
    }

    /* SPECIFIC FIX: Logo Container -> Force Left */
    .elementor-element-5800472 {
        display: flex !important;
        justify-content: flex-start !important;
        width: auto !important; /* Shrink to fit content */
        margin-right: auto !important; /* Push everything else right */
        flex-grow: 0 !important;
    }

    /* SPECIFIC FIX: Menu/Burger Container -> Force Right */
    .elementor-element-0cf9a2f {
        display: flex !important;
        justify-content: flex-end !important;
        width: auto !important; /* Shrink to fit content */
        margin-left: auto !important; /* Push itself to the right */
        flex-grow: 0 !important;
    }

    /* Ensure direct children of the header container behave if structure varies */
    .elementor-element-28d3697 .elementor-widget-wrap,
    .elementor-element-28d3697 .elementor-column,
    .elementor-element-28d3697 .e-con {
        margin-bottom: 0 !important;
    }

    /* Remove empty vertical space between menu containers */
    .a-main-menu .e-n-menu-content {
        padding-top: 0px !important;
    }

header > .elementor-element{
  background-color:var(--a-primary) !important;
  color:#fff !important;
  border-bottom:1px solid var(--a-accent);
}

header > .elementor-element:first-child{
  display:none;
}

header .elementor-widget-theme-site-logo a img{
  top:10px
}

header .elementor-widget-n-menu .e-n-menu-toggle-icon svg{
  fill:#fff !important;
}

header .elementor-widget-n-menu svg{
  fill:var(--a-accent) !important;
}

header > .elementor-element:nth-child(2) .e-con-inner > .elementor-element:first-child{
  padding-top:10px;
}


    /* --- 1. RESET DESKTOP STYLES (CRITICAL) --- */
    
    /* Reset the Mega Menu Inner Box */
    .a-main-menu .e-n-menu-content > .e-con {
        background-color: #ffffff !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-height: none !important;
    }

    /* Hide the background logo image */
    .a-main-menu .e-n-menu-content > .e-con:before {
        display: none !important;
    }

    /* --- 2. STRUCTURAL FIXES --- */

    /* Hide the Hamburger Toggle button on inner menus */
    .a-main-menu-content-submenu .elementor-menu-toggle {
        display: none !important;
    }

    /* Force the dropdown container to be SCROLLABLE */
    .a-main-menu-content-submenu .elementor-nav-menu--dropdown {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        
        /* SCROLL FIX UPDATED */
        max-height: calc(100vh - 100px) !important; 
        overflow-y: scroll !important; 
        overscroll-behavior: contain !important; 
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
        /* SCROLL FIX ENDS */

        top: auto !important;
        left: auto !important;
        margin: 0 !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
        border: none !important;
        transform: none !important;
        padding: 0 !important;
    }

    /* Reset the List Layout */
    .a-main-menu-content-submenu .elementor-nav-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 0 150px 0 !important;
        margin: 0 !important;
        background-color: #ffffff !important; 
    }

    .a-main-menu-content-submenu .elementor-nav-menu li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* --- 3. DESIGN: HEADERS (Top Level Items) --- */
    .a-main-menu-content-submenu .elementor-nav-menu > li > a {
        color: var(--a-primary, #1f2124) !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px !important;
        
        border-bottom: 1px solid var(--a-border, #e0e0e0) !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        margin-bottom: 0px !important; 
        margin-top: 0px !important;
        
        background: #ffffff !important;
        display: block !important;
        text-decoration: none !important;
        pointer-events: none;
    }

    /* --- 4. DESIGN: SUB-LINKS --- */
    .a-main-menu-content-submenu .sub-menu li a {
        color: var(--a-text, #555) !important;
        font-size: 1rem !important;
        font-weight: 400 !important;
        text-decoration: none !important;
        
        display: flex !important;
        align-items: center !important;
        padding: 15px 15px !important;
        margin-bottom: 0px !important;
        white-space: unset !important;
        border-bottom: 1px solid #f0f0f0 !important;
        
        background: #ffffff !important;
        transition: padding 0.2s ease, color 0.2s ease, background-color 0.2s ease !important;
    }

    /* --- 5. DESIGN: HOVER & ACTIVE STATES --- */
    .a-main-menu-content-submenu .sub-menu li a:hover,
    .a-main-menu-content-submenu .sub-menu li a:active,
    .a-main-menu-content-submenu .sub-menu li a.elementor-item-active {
        color: var(--a-accent, #58d0f5) !important;
        background-color: #f9f9f9 !important;
        padding-left: 20px !important;
        text-decoration: none !important;
    }

    /* --- 6. SUB-MENU CONTAINER --- */
    .a-main-menu-content-submenu .sub-menu {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        padding-left: 0 !important; 
        list-style: none !important;
        margin: 0 !important;
        background: #ffffff !important;
        box-shadow: none !important;
        border: none !important;
        top: auto !important;
        left: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* --- 7. CLEANUP --- */
    .a-main-menu-content-submenu .sub-arrow {
        display: none !important;
    }




/* ===========================================
          MOBY V2 RULES
============================================ */

/* - MOBY MENU - */
#menubar-173 {
  margin-top:25px;
}

#menubar-173 .e-n-menu-title{
  min-height:50px;
  border-bottom:1px solid #eee;
}

.a-main-menu .a-main-menu-content .a-main-menu-content-submenu .elementor-nav-menu{
  width:100%;
}

.a-main-menu-content-submenu .elementor-nav-menu > li > a {
  background-color:var(--a-bg-light) !important;
}



    /* 1. MAKE THE MAIN WRAPPER SCROLLABLE */
    .a-main-menu .e-n-menu-wrapper {
        max-height: calc(100vh - 90px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain !important;
        padding-bottom: 50px !important;
        position: absolute !important;
        top: 100% !important; 
        background-color: #ffffff !important;
    }

    /* 2. UNLOCK THE INNER DROPDOWNS */
    .a-main-menu-content-submenu .elementor-nav-menu--dropdown {
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* 3. CLEANUP LIST PADDING */
    .a-main-menu-content-submenu .elementor-nav-menu {
        padding-bottom: 20px !important;
    }


    /* 1. Define the Animation Keyframes */
    @keyframes menuRevealDown {
        0% {
            opacity: 0;
            clip-path: inset(0 0 100% 0);
            transform: translateY(-20px);
        }
        100% {
            opacity: 1;
            clip-path: inset(0 0 0 0);
            transform: translateY(0);
        }
    }

    /* 2. Apply it to the Main Menu Wrapper */
    .a-main-menu .e-n-menu-wrapper {
        animation: menuRevealDown 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
        transform-origin: top center !important;
    }

.a-main-menu .e-n-menu-content > .e-con {
  height:auto !important;
}


/* =========================================
   11. MOBILE HEADER ADJUSTMENTS
   ========================================= */
@media (max-width: 767px) {
    /* 1. Force Absolute Positioning to Center */
    .a-menu-lang {
        position: absolute !important;
        /* Adjust 'top' to align vertically with your specific logo height */
        top: 25px; 
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001; /* Ensure it sits on top of other elements */
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. Force White Text & Transparent Backgrounds */
    .a-menu-lang .sub-menu li a,
    .a-menu-lang .sub-menu li.current-menu-item a,
    .a-menu-lang .sub-menu li a:hover {
        color: #ffffff !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* 3. Reduce spacing for tight mobile screens */
    .a-menu-lang .sub-menu li {
        margin: 0 2px !important;
    }
    
    .a-menu-lang .sub-menu li a {
        padding: 5px !important;
        font-size: 14px !important; /* Slightly larger for touch targets */
        font-weight: 700 !important;
    }
    
    /* 4. Fix Flag Vertical Alignment */
    .a-menu-lang img.qtranxs-flag {
        margin-top: -2px !important;
    }
}

.a-menu-lang nav{
  background-color:transparent;
  margin-top:0 !important;
}






/* - MOBY FRONT HERO - */
.a-front-hero {
  top: 70px;
  min-height:750px;
}

.a-front-cta1-content,
.a-front-serviices-content,
.a-front-news-content,
.a-front-cta2-content,
.a-front-team-content,
.a-front-partners > div,
.a-front-cta3-content{
  max-width: 100% !important;
}

.a-front-hero-content .ehp-flex-hero__content-container,
.a-front-hero-content .ehp-flex-hero__image-wrapper{
  margin:0 !important;
  padding:0 10px;
}

.a-front-hero-content .ehp-flex-hero__intro{
  font-size:0.85rem !important;
  font-weight:400;
  text-transform:uppercase;
  text-align:center;
}

.a-front-hero-content h1{
  font-size:1.95rem !important;
  text-transform:uppercase;
  text-align:center;
}

.a-front-hero-content .ehp-flex-hero__subheading{
  text-align:justify;
}







/* - MOBY FRONT CTA1 - */
.a-front-cta1{
  margin-top:50px;
}

.a-front-cta1 h3,
.a-front-cta1 p{
  text-align:center !important;
}

.a-front-cta1 .ehp-cta__description{
  text-transform:uppercase;
  font-size:1.8rem !important;
}





/* - MOBY FRONT NEWS CAROUSEL - */
.a-front-news .swiper-slide{
  width:320px !important;
  max-width:100%;
}
.a-front-news-card .elementor-widget.elementor-widget-theme-post-excerpt{
  height: 65px;
}







/* - MOBY FRONT CTA2 - */
.a-front-cta2{
  margin:0 0 20%;
}

.a-front-cta2 h3,
.a-front-cta2 p{
  text-align:center !important;
}

.a-front-cta2 h2{
  text-transform:uppercase;
  font-size:1.7rem !important;
}






/* - MOBY FRONT MANAGEMENT - */
.a-front-management{
  padding:0;
}

.a-front-team-content > .elementor-element:nth-child(2){
  margin-top:10%;
  padding:10% 0;
  background-color:var(--a-bg-light)
}





/* - MOBY FRONT PARTNERS CAROUSEL - */
.a-front-partners{
  margin-bottom:0
}
.a-front-partners-carousel,
.a-front-partners-carousel .elementor-widget-text-editor p{
  margin:0 !important;
}


/* - MOBY FRONT CTA3 - */
.a-front-cta3-content > .elementor-element{
  padding:0;
}
.a-front-cta3-content .ehp-cta.has-preset-focus .ehp-cta__text-container {
  width: 100%
}





/* - - - MOBY SINGLE HERO - - - */

.a-hero-grid {
  padding:0;
}

.a-hero-section .a-hero-content-row {
  flex-direction:column;
  height: 450px;
}

.a-hero-section .a-hero-title h1.elementor-heading-title{
  padding:10px;
  font-weight:400 !important;
}

.a-hero-section .a-hero-excerpt {
  font-size: 1rem;
  line-height: 1.3;
  padding:10px !important;
}

.a-hero-section .a-hero-featured-image img {
    width: 90% !important;
    margin:-100px auto;

}


/* - - - MOBY SINGLE BODY - - - */
.a-body-section{
  top:0;
}

.a-body-section .a-sector-wrapper .a-lead-text p,
.a-body-section .a-sector-wrapper p.a-lead-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    padding-left: 10px;
}

.a-sector-structure{
  margin:0 auto
}






/* - - - - - MOBY DOKUMENTACIJA - - - - - */
.category-dokumentacija .a-body-grid{
  padding:1px;
}

/* --- Column Widths --- */
.custom-data-table th:nth-child(1),
.custom-data-table td:nth-child(1) {
  width: 30px;
  padding: 0px;
}

.custom-data-table th:nth-child(3),
.custom-data-table td:nth-child(3) {
    width: 70px;
    padding: 0;
}

.custom-data-table th:nth-child(2),
.custom-data-table td:nth-child(2) {
    width: auto;
    padding: 5px;
    /* font-size: 16px; */
}

.btn-download, 
.btn-browse {
  padding: 5px ;
  font-size: 11px;
}



/* - MOBY FOOTER - */
.elementor-10950 .elementor-widget-ehp-flex-footer .ehp-flex-footer__groups-row{
  padding:0;
}

.elementor-10950 .elementor-widget-ehp-flex-footer .ehp-flex-footer__site-title {
  text-transform:uppercase;
  font-size:1.7rem !important;
}

.elementor-10950 .ehp-flex-footer__subheading{
  text-transform:uppercase;
}

.elementor-10950 .ehp-flex-footer__group--business-details .ehp-flex-footer__subheading{
  text-transform:uppercase;
  font-size:0.8rem !important;
  color:var(--a-secondary);
}

.elementor-10950 .elementor-widget-ehp-flex-footer .ehp-flex-footer__site-link-container{
  margin-bottom:0;
}

.elementor-10950 .ehp-flex-footer__copyright{
  background-color:var(--a-primary);
  margin:20% 0 0;
  padding:0;
  text-align:center;
}
.elementor-10950 .ehp-flex-footer__copyright-text-container{
  margin:0;
  padding:5px;
}

.elementor-10950 .ehp-flex-footer__copyright-text{
  color:#fff;
}

.elementor-10950 .elementor-element{
  margin-bottom:0;
}





} /*  - - - - - - - - - - - - - - - - - - - - - END MEDIA QUERY */
