/**
Theme Name: HEAL-Legal
Author: Zisis Simaioforidis
Author URI: http://wpastra.com/about/
Description: HEAL-Legal
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heal-legal
Template: astra
*/


/* HEADER STYLING*/
.ast-site-identity {
  padding: 0.3em 0;
}
.header-main-layout-2 .site-branding
{
    padding-bottom: 0px;
}

.main-header-bar{
    line-height: 2;
}

/* --- 1. DESKTOP MENU (Μεγάλες οθόνες > 1301px) --- */
@media (min-width: 1301px) {
    .main-navigation .main-header-menu .menu-item {
        padding: 0 1px !important;
        position: relative;
        display: flex;
        align-items: center;
    }

    .main-navigation .main-header-menu .menu-link {
        font-size: 0.98rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        padding: 10px 12px 2px 12px !important;
        transition: color 0.3s ease-in-out;
        position: relative;
    }
}

/* --- 2. TABLET/SMALL LAPTOP MENU (922px - 1300px) --- 
   Εδώ γίνονται οι ρυθμίσεις για να χωράει το μενού σε αναλύσεις όπως 1265px
*/
@media (min-width: 922px) and (max-width: 1300px) {
    .main-navigation .main-header-menu {
        flex-wrap: nowrap !important;
    }

    .main-navigation .main-header-menu .menu-item {
        padding: 0 !important;
    }

    .main-navigation .main-header-menu .menu-link {
        font-size: 0.82rem !important; /* Μικρότερη γραμματοσειρά */
        font-weight: 600 !important;
        color: #ffffff !important;
        padding: 10px 7px 2px 7px !important; /* Πολύ μικρότερα κενά */
        letter-spacing: -0.2px; /* Σφίξιμο γραμμάτων */
    }
    
    /* Μείωση απόστασης του search icon */
    .ast-search-menu-icon {
        padding-left: 5px !important;
    }
}

/* --- 3. ΚΟΙΝΑ DESKTOP ΣΤΟΙΧΕΙΑ (πάνω από 922px) --- */
@media (min-width: 922px) {
    .main-navigation .main-header-menu .menu-link::before {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: 0;
        height: 3px;
        background-color: #71cde2;
        transition: all 0.3s ease-in-out;
        transform: translateX(-50%);
        border-radius: 4px;
    }

    .main-navigation .main-header-menu .menu-item:hover > .menu-link::before,
    .main-navigation .main-header-menu .current-menu-item > .menu-link::before {
        width: 90%;
    }

    .main-navigation .main-header-menu .menu-item:not(:last-child):not(.search-custom-menu-item)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 14px;
        width: 1px;
        background-color: rgba(255, 255, 255, 0.15);
    }
    
    .ast-search-menu-icon.slide-search .ast-icon svg {
        fill: #ffffff;
    }
}

/* --- 4. MOBILE MENU (Κάτω από 921px) --- */
@media (max-width: 921px) {
    .main-navigation .main-header-menu .menu-link {
        color: #333333 !important;
        font-size: 1rem !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation .main-header-menu .menu-item:hover > .menu-link,
    .main-navigation .main-header-menu .current-menu-item > .menu-link {
        color: #71cde2 !important;
        background-color: #f9f9f9;
    }

    .main-navigation .main-header-menu .menu-link::before {
        display: none !important;
    }
    
    .ast-search-menu-icon.slide-search .ast-icon svg {
        fill: #333333;
    }
}

/* --- 5. ΚΑΘΟΛΙΚΑ HOVER COLORS --- */
.main-navigation .main-header-menu .menu-item:hover > .menu-link,
.main-navigation .main-header-menu .current-menu-item > .menu-link {
    color: #71cde2 !important;
}

.ast-search-menu-icon.slide-search .ast-icon svg {
    width: 18px;
    transition: fill 0.3s ease;
}

.ast-search-menu-icon.slide-search:hover .ast-icon svg {
    fill: #71cde2 !important;
}







/* --- TABLES STYLING --- */
.wp-custom-gdpr-table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    font-size: 15px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    table-layout: auto;
}

.wp-custom-gdpr-table th,
.wp-custom-gdpr-table td {
    padding: 12px 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
    vertical-align: middle;
    line-height: 1.4;
}

.wp-custom-gdpr-table thead th {
    background-color: #f8fafc !important;
    color: #334155;
    font-weight: 600;
}

.wp-custom-gdpr-table td:first-child,
.wp-custom-gdpr-table th:first-child {
    min-width: 160px;
}

.wp-custom-gdpr-table td:not(:first-child) {
    min-width: 60px;
}

.wp-custom-gdpr-table.align-left td:first-child {
    text-align: left;
    background-color: #fcfcfc;
}

.wp-custom-gdpr-table img.emoji {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    display: inline-block !important;
    margin: 0 auto !important;
    vertical-align: middle !important;
    box-shadow: none !important;
    border: none !important;
}

.wp-custom-gdpr-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.wp-custom-gdpr-table tbody tr:hover {
    background-color: #f1f5f9;
}

@media screen and (max-width: 768px) {
    .wp-custom-gdpr-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.elementor-headline--style-highlight svg path{
    stroke : #71cde2 !important;
}

/* --- SEARCH RESULTS CUSTOM CSS --- */
.search-results .ast-primary-header,
.search-results .ast-main-header-wrap,
.search-results .ast-main-header-wrap .main-header-bar,
.search-results header.site-header,
.search-results .ast-primary-header-bar,
.search-results .main-header-bar {
    background-color: #3f4a4e !important;
}

.search-results .ast-theme-transparent-header .main-header-bar,
.search-results .ast-theme-transparent-header .ast-main-header-wrap,
.search-results .ast-theme-transparent-header .ast-primary-header-bar {
    background-color: #3f4a4e !important;
}

.search-results .main-header-menu > .menu-item > a,
.search-results .ast-builder-menu .main-header-menu > .menu-item > a {
    color: #ffffff !important;
}

.search-results .main-header-menu > .menu-item:hover > a,
.search-results .main-header-menu > .menu-item.current-menu-item > a {
    color: #4db8c7 !important;
}

.search-results .ast-search-icon .astra-search-icon,
.search-results .ast-header-search .astra-search-icon {
    color: #ffffff !important;
}

.search-results .site-logo-img img,
.search-results .custom-logo-link img,
.search-results .ast-site-identity img {
    display: block !important;
    visibility: visible !important;
    max-width: 248px !important;
    max-height: 70px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.search-results .entry-meta,
.search-results .ast-blog-meta-container,
.search-results article .entry-meta,
.search-results .posted-by,
.search-results .byline {
    display: none !important;
}

.heal-search-banner {
    background-color: #3f4a4e;
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
    margin: 0;
    width: 100%;
}

.heal-search-banner-inner {
    max-width: 900px;
    margin: 0 auto;
}

.heal-search-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
    letter-spacing: 0.02em;
}

.heal-search-term {
    color: #a8c4cb;
    font-weight: 400;
    font-style: italic;
}

.search-results .ast-archive-description,
.search-results .page-header {
    display: none !important;
}

.search-results #content,
.search-results .site-content {
    padding-top: 0 !important;
}

.search-results .site-content .ast-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.search-results article {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.8rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.search-results article:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.search-results article .entry-title,
.search-results article .entry-title a {
    font-size: 1.25rem;
    color: #1e73be;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.search-results article .entry-title a:hover {
    color: #0d5aa7;
    text-decoration: underline;
}

.search-results article .entry-content p,
.search-results article .entry-summary p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.search-results .read-more a,
.search-results .ast-read-more-container a,
.search-results article a.more-link {
    display: inline-block;
    margin-top: 0.8rem;
    color: #1e73be;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.search-results .read-more a:hover,
.search-results .ast-read-more-container a:hover,
.search-results article a.more-link:hover {
    border-bottom-color: #1e73be;
}

mark.search-highlight {
    background-color: #fff3cd;
    color: inherit;
    padding: 0.1em 0.25em;
    border-radius: 3px;
    font-style: normal;
}

.search-results .no-results .page-content p {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    padding: 2rem 0;
}

.search-results .ast-pagination,
.search-results nav.pagination {
    margin-top: 2rem;
    text-align: center;
}

.search-results .ast-pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.3rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    color: #1e73be;
    text-decoration: none;
    transition: all 0.2s;
}

.search-results .ast-pagination .page-numbers.current,
.search-results .ast-pagination .page-numbers:hover {
    background-color: #1e73be;
    color: #fff;
    border-color: #1e73be;
}

.search-results .heal-elementor-footer-search {
    display: block !important;
    visibility: visible !important;
    width: 100%;
}

.search-results .site-below-footer-wrap {
    order: 2;
}

@media (max-width: 768px) {
    .heal-search-banner {
        padding: 1.8rem 1rem 1.5rem;
    }

    .heal-search-title {
        font-size: 1.3rem;
    }

    .search-results article {
        padding: 1.2rem 1.4rem;
        margin-bottom: 1rem;
    }

    .search-results article .entry-title,
    .search-results article .entry-title a {
        font-size: 1.1rem;
    }

    .search-results .site-content .ast-container {
        padding: 1rem;
    }

    .search-results .site-logo-img img,
    .search-results .custom-logo-link img {
        max-width: 180px !important;
        max-height: 50px !important;
    }
}


.legal_faqs .elementor-widget-text-editor

{
    color : #000; 
      text-align: justify;
  
}