/*
 Theme Name:   Theme Child  
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     solak
 Version:      1.0
 Tags:         two-columns, three-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, theme-options, editor-style, featured-images, microformats, post-formats,  sticky-post, threaded-comments, translation-ready
 Text Domain:  solak-child
*/

/*  [ Add your custom css below ] 
- - - - - - - - - - - - - - - - - - - - */

@media (max-width: 1024px) {
    .elementor-417 .elementor-element.elementor-element-3ba2ca6e {
        --min-height: 0px !important;
        display: flex !important;
        --flex-wrap: none !important;
        justify-content: flex-end !important;
    }

    .elementor-417 .elementor-element.elementor-element-5ea8edb3 {
        --min-height: 0px !important;
        --justify-content: center !important;
        --margin-top: 0px !important;
        --margin-bottom: 0px !important;
        --margin-left: 0px !important;
        text-align: right !important;
        display: flex !important;
        margin-right: 10px !important; /* Adjusted from 0 to 10px */
        right: 0 !important;
        --margin-right: 0px !important;
        align-content: center !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
    }

    /* Mutat stilurile de imagine si padding aici */
    .elementor-417 .elementor-element.elementor-element-79d8c7a0 img {
        width: 60% !important;
    }

    .elementor-417 .elementor-element.elementor-element-44441fc5 {
        padding: 10px !important;
    }
} 

@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-417 .elementor-element.elementor-element-3ba2ca6e {
        --width: auto !important;
    }
}

@media (min-width: 768px) {
    .elementor-417 .elementor-element.elementor-element-2cf14de {
        --width: 100% !important;
    }
}

@media (max-width: 767px) {
    .elementor-417 .elementor-element.elementor-element-79d8c7a0 {
        width: auto !important;
        --container-widget-width: auto !important;
    }

    .elementor-417 .elementor-element.elementor-element-2cf14de {
        --flex-wrap: none !important;
    }
}

@media (max-width: 767px) {
    /* Section Title typography refinement */
    .elementor-23 .elementor-element.elementor-element-7eca56c2 .elementskit-section-title-wraper .elementskit-section-title span:last-child, 
    .elementor-23 .elementor-element.elementor-element-7eca56c2 .elementskit-section-title-wraper .elementskit-section-title > span {
        font-size: 25px !important;
        line-height: var(--e-global-typography-db48b8b-line-height);
    }
}

/* ── Small Devices (Sub 400px) ── */
@media (max-width: 400px) {
    /* Prevent buttons from being too wide/stiff */
    .elementor-element-6760ec9d .elementor-button {
        padding: 10px 15px !important;
        font-size: 13px !important;
        width: auto !important;
        white-space: normal !important; /* Allow wrapping if needed */
        text-align: center;
    }

    .elementor-element-6760ec9d .e-con-inner {
        gap: 10px !important;
    }

    /* Badge Text refinements: Allow wrapping on two lines for small screens */
    .emyra-badge__text {
        font-size: 10px !important;
        letter-spacing: .14em !important;
        text-transform: uppercase !important;
        line-height: 1.4 !important; /* Increased for better legibility on 2 lines */
        font-weight: 600 !important;
        white-space: normal !important; /* Changed from nowrap to allow 2 lines */
        display: inline-block;
        max-width: 180px; /* Constrain for pretty wrapping */
    }

    /* Tighten button padding for the primary header button */
    .elementor-417 .elementor-element.elementor-element-81e2863 .elementor-button {
        padding: 10px !important;
    }

    /* Mobile Heading typography */
    .elementor-23 .elementor-element.elementor-element-69a28aee .elementor-heading-title {
        font-size: 18px !important;
        line-height: 1.3em !important;
    }
}

    /* Mobile Heading typography */
    .elementor-23 .elementor-element.elementor-element-69a28aee .elementor-heading-title {
        font-size: 18px !important;
        line-height: 1.3em !important;
    }
}

/* Desktop-only hamburger padding (if not already handled) */
@media (min-width: 1025px) {
    .elementor-417 .elementor-element.elementor-element-1fc64985 .elementskit-menu-hamburger {
        display: none !important;
    }
}

@media (max-width: 384px) {
    .elementor-element-aa39577 .elementor-icon-list-text {
        display: none !important;
    }
    .elementor-element-aa39577 .elementor-widget-container,
    .elementor-element-aa39577 .elementor-icon-list-items {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    .elementor-element-aa39577 .elementor-icon-list-item {
        margin-right: 8px !important;
    }
}

/* Sub 354px */
@media (max-width: 354px) {
    .elementor-417 .elementor-element.elementor-element-2cf14de {
        --display: flex !important;
        --flex-direction: row !important;
        --container-widget-width: calc((1 - var(--container-widget-flex-grow)) * 100%) !important;
        --container-widget-height: 100% !important;
        --container-widget-flex-grow: 1 !important;
        --container-widget-align-self: stretch !important;
        --flex-wrap-mobile: wrap !important;
        --justify-content: space-between !important;
        --align-items: center !important;
        --padding-top: 0px !important;
        --padding-bottom: 0px !important;
        --padding-left: 0px !important;
        --flex-wrap: none !important;
    }
}

/* Sub 396px hamburger adjustments */
@media (max-width: 396px) {
    .elementor-417 .elementor-element.elementor-element-1fc64985 .elementskit-menu-hamburger {
        padding: 8px !important;
        width: 35px !important; /* Modificat la 35px */
        border-radius: 30px !important;
    }
}

/* ================================================================
   AORO EXPERT BLOG — BOTTOM + SIDEBAR COLOUR OVERRIDES
   Loaded via child theme = always wins cascade over parent
   ================================================================ */

/* ── AORO colour tokens ── */
:root {
    --aoro-green:       #1F6F5C;
    --aoro-green-dk:    #174f42;
    --aoro-green-lt:    #a0ffd4;
    --aoro-bg-dark:     #0f1c19;
    --aoro-border:      rgba(31,111,92,.18);
    --aoro-t:           .3s cubic-bezier(.4,0,.2,1);
}

/* ─────────────────────────────────────────────
   GLOBAL FONT — Epilogue pe toata pagina
   single post (sidebar, bottom, comments, tot)
   NOTE: excludem <i> — Font Awesome are nevoie
   de propriul sau font-family
───────────────────────────────────────────── */
html body.single-post p,
html body.single-post h1,
html body.single-post h2,
html body.single-post h3,
html body.single-post h4,
html body.single-post h5,
html body.single-post h6,
html body.single-post a,
html body.single-post span:not([class*="fa"]):not([class*="icon"]),
html body.single-post li,
html body.single-post button,
html body.single-post input,
html body.single-post label,
html body.single-post .sidebar-area .widget_title,
html body.single-post .sidebar-area .post-title,
html body.single-post .sidebar-area .recent-post-meta a,
html body.single-post .sidebar-area .media-body,
html body.single-post .blog-comment-area,
html body.single-post #comments,
html body.single-post .widget-author .box-title,
html body.single-post .widget-author .author-bio,
html body.single-post .tagcloud a,
html body.single-post .share-links-title,
html body.single-post .blog-navigation {
    font-family: 'Epilogue', sans-serif !important;
}

/* ── Restore Font Awesome on ALL icon elements ── */
html body.single-post i,
html body.single-post i[class*="fa-"],
html body.single-post i[class*="fa "],
html body.single-post .fa,
html body.single-post .fas,
html body.single-post .far,
html body.single-post .fal,
html body.single-post .fab,
html body.single-post .fad,
html body.single-post [class^="fa-"],
html body.single-post [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-style: normal !important;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
/* Solid weight */
html body.single-post i.fas,
html body.single-post i.fa-solid,
html body.single-post i[class*="fa-solid"],
html body.single-post i[class*="fa-sharp"] {
    font-weight: 900 !important;
}
/* Regular weight */
html body.single-post i.far,
html body.single-post i.fa-regular {
    font-weight: 400 !important;
}
/* Brands */
html body.single-post i.fab,
html body.single-post i.fa-brands {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}



/* ─────────────────────────────────────────────
   FIX: Elementor Kit forces font-family + color
   on h3/h4/a — reset on single post pages
───────────────────────────────────────────── */
body.single-post .elementor-kit-14961 h3,
body.single-post [class*="elementor-kit"] h3,
body.single-post .elementor-kit-14961 h4,
body.single-post [class*="elementor-kit"] h4 {
    font-family: inherit !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-transform: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
}

/* Override Elementor kit BLUE link color on single post */
html body.single-post .elementor-kit-14961 a,
html body.single-post [class*="elementor-kit"] a {
    color: var(--aoro-green) !important;
}
html body.single-post .elementor-kit-14961 a:hover,
html body.single-post [class*="elementor-kit"] a:hover {
    color: var(--aoro-green-dk) !important;
}

/* All sidebar headings — site font, dark color */
body.single-post .sidebar-area .widget_title,
body.single-post .sidebar-area h3,
body.single-post .sidebar-area h4 {
    font-family: inherit !important;
    color: #0a1612 !important;
}

/* All sidebar links — AORO green, no blue */
html body.single-post .sidebar-area a,
html body.single-post .sidebar-area .recent-post-meta a,
html body.single-post .sidebar-area .post-title a,
html body.single-post .sidebar-area .text-inherit {
    color: var(--aoro-green) !important;
    text-decoration: none !important;
    transition: color var(--aoro-t) !important;
}
html body.single-post .sidebar-area a:hover,
html body.single-post .sidebar-area .recent-post-meta a:hover,
html body.single-post .sidebar-area .post-title a:hover,
html body.single-post .sidebar-area .text-inherit:hover {
    color: var(--aoro-green-dk) !important;
}
/* Post title links stay dark, green on hover */
html body.single-post .sidebar-area h4.post-title a,
html body.single-post .sidebar-area h4.post-title .text-inherit {
    color: #0a1612 !important;
}
html body.single-post .sidebar-area h4.post-title a:hover,
html body.single-post .sidebar-area h4.post-title .text-inherit:hover {
    color: var(--aoro-green) !important;
}

/* Comments + author area — site font (Epilogue) */
body.single-post .blog-comment-area,
body.single-post .blog-comment-area *,
body.single-post #comments,
body.single-post #comments * {
    font-family: 'Epilogue', inherit !important;
}

/* Comments title styling */
body.single-post .blog-comment-area .inner-title,
body.single-post #comments h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    font-family: 'Epilogue', inherit !important;
    color: #0a1612 !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 14px !important;
    position: relative !important;
}

/* Author box link (Operations@empirex.tech) */
html body.single-post .widget-author a,
html body.single-post .widget-author .box-title a {
    color: var(--aoro-green) !important;
    text-decoration: none !important;
}
html body.single-post .widget-author a:hover,
html body.single-post .widget-author .box-title a:hover {
    color: var(--aoro-green-dk) !important;
    text-decoration: underline !important;
}

/* Widget titles inside AORO custom sidebar keep green */
body.single-post .aoro-sidebar-widget .aoro-sidebar-widget-title {
    color: var(--aoro-green) !important;
}


/* ─────────────────────────────────────────────
   BLOG META  (.blog-meta — author / date / time)
───────────────────────────────────────────── */
body.single-post .blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(31,111,92,.12);
    margin-bottom: 28px;
}
body.single-post .blog-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--aoro-green) !important;
    text-decoration: none !important;
    letter-spacing: .02em;
    transition: color var(--aoro-t);
}
body.single-post .blog-meta a:hover {
    color: var(--aoro-green-dk) !important;
}
body.single-post .blog-meta a i {
    color: var(--aoro-green) !important;
    font-size: 13px;
}

/* ─────────────────────────────────────────────
   SEARCH BUTTON — force circle + icon visible
   FA5: far fa-search = \f002
   FA6: renamed to fa-magnifying-glass but same unicode
───────────────────────────────────────────── */
body.single-post .widget_search .search-form button[type="submit"],
body.single-post .widget_search button[type="submit"] {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    background: var(--aoro-green) !important;
    background-color: var(--aoro-green) !important;
    color: #fff !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    font-size: 0 !important;   /* hide any text fallback */
    line-height: 1 !important;
    position: absolute !important;
    right: 6px !important;
    top: 6px !important;
    cursor: pointer !important;
    transition: background var(--aoro-t) !important;
    overflow: hidden !important;
}
body.single-post .widget_search button[type="submit"]:hover {
    background: var(--aoro-green-dk) !important;
    background-color: var(--aoro-green-dk) !important;
}
/* Force icon visible — works for both FA5 and FA6 */
body.single-post .widget_search button[type="submit"] i {
    font-size: 15px !important;
    color: #fff !important;
    display: inline-block !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    line-height: 1 !important;
}
/* FA unicode fallback for search/magnifying-glass */
body.single-post .widget_search button[type="submit"] i.fa-search::before,
body.single-post .widget_search button[type="submit"] i.fa-magnifying-glass::before {
    content: "\f002" !important;
    color: #fff !important;
}


/* ─────────────────────────────────────────────
   TAGS CLOUD  (theme uses .tagcloud > a)
   Use html prefix for maximum specificity
───────────────────────────────────────────── */
html body.single-post .tagcloud a,
html body.single-post .wp-block-tag-cloud a {
    display: inline-block !important;
    padding: 7px 18px !important;
    border-radius: 20px !important;
    background: rgba(31,111,92,.08) !important;
    border: 1px solid rgba(31,111,92,.22) !important;
    color: var(--aoro-green) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background var(--aoro-t), border-color var(--aoro-t), color var(--aoro-t) !important;
    margin: 3px !important;
    font-family: inherit !important;
}
html body.single-post .tagcloud a:hover,
html body.single-post .wp-block-tag-cloud a:hover {
    background: rgba(31,111,92,.18) !important;
    border-color: rgba(31,111,92,.55) !important;
    color: #0d3d2d !important;
}

/* ─────────────────────────────────────────────
   SHARE BUTTONS  (theme uses .social-links > a)
───────────────────────────────────────────── */
body.single-post .share-links .social-links {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
body.single-post .share-links .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--aoro-green);
    border: none;
    color: #fff;
    text-decoration: none;
    transition: background var(--aoro-t), transform var(--aoro-t), box-shadow var(--aoro-t);
    margin: 0;
    box-shadow: 0 3px 10px rgba(31,111,92,.3);
}
body.single-post .share-links .social-links a i,
body.single-post .share-links .social-links a svg {
    color: #fff !important;
    font-size: 14px;
}
body.single-post .share-links .social-links a:hover {
    background: var(--aoro-green-dk);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(31,111,92,.4);
}

/* ─────────────────────────────────────────────
   BLOG-NAVIGATION (Previous / Next)
───────────────────────────────────────────── */
body.single-post .blog-navigation {
    background: rgba(31,111,92,.04);
    border: 1px solid rgba(31,111,92,.12);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 40px;
}
body.single-post .blog-navigation a,
body.single-post .blog-navigation .nav-btn {
    color: #0a1612;
    font-weight: 700;
    transition: color var(--aoro-t);
}
body.single-post .blog-navigation a:hover,
body.single-post .blog-navigation .nav-btn:hover {
    color: var(--aoro-green);
}

/* ─────────────────────────────────────────────
   AUTHOR BOX  (.widget-author)
───────────────────────────────────────────── */
body.single-post .widget-author {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(0,0,0,.04);
    margin-bottom: 40px;
}
body.single-post .widget-author .box-title,
body.single-post .widget-author h3 {
    color: var(--aoro-green);
    font-size: 18px;
    font-weight: 800;
}
body.single-post .widget-author .avater img {
    border-radius: 50%;
    border: 2px solid rgba(31,111,92,.2);
}
body.single-post .widget-author .desig {
    color: #64748b;
}

/* ─────────────────────────────────────────────
   COMMENTS AREA
───────────────────────────────────────────── */
body.single-post .blog-comment-area {
    padding: 0;
    background: transparent;
    border: none;
    margin-bottom: 48px;
}
body.single-post .blog-comment-area .inner-title,
body.single-post #comments h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0a1612;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 14px;
    position: relative;
}
body.single-post .blog-comment-area .inner-title::after,
body.single-post #comments h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--aoro-green);
}

/* ─────────────────────────────────────────────
   SIDEBAR — ALL WIDGETS
───────────────────────────────────────────── */
body.single-post .sidebar-area .widget {
    background: #fff;
    border: 1px solid #e5ecf0;
    border-radius: 14px;
    padding: 28px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 18px rgba(0,0,0,.04);
}

/* Widget Title */
body.single-post .sidebar-area .widget_title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #0a1612;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}
body.single-post .sidebar-area .widget_title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--aoro-green);
    border-radius: 2px;
}

/* ─────────────────────────────────────────────
   SIDEBAR RECENT POSTS
───────────────────────────────────────────── */
body.single-post .sidebar-area .recent-post {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0;
    margin-bottom: 16px;
    border-bottom: none;
}
body.single-post .sidebar-area .recent-post:last-child { margin-bottom: 0; }

/* Image thumbnail */
body.single-post .sidebar-area .recent-post .media-img {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 10px;
    overflow: hidden;
    background: #e8edf3;
    margin-right: 0;
}
body.single-post .sidebar-area .recent-post .media-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--aoro-t);
}
body.single-post .sidebar-area .recent-post:hover .media-img img {
    transform: scale(1.07);
}

/* Date meta */
body.single-post .sidebar-area .recent-post-meta a,
body.single-post .sidebar-area .recent-post-meta {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--aoro-green);
    margin-bottom: 5px;
    display: block;
}
body.single-post .sidebar-area .recent-post-meta i {
    color: var(--aoro-green);
    margin-right: 5px;
}

/* Post title */
body.single-post .sidebar-area .recent-post .post-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    text-transform: none;
}
body.single-post .sidebar-area .recent-post .post-title a {
    color: #0a1612;
    transition: color var(--aoro-t);
}
body.single-post .sidebar-area .recent-post .post-title a:hover,
body.single-post .sidebar-area .recent-post:hover .post-title a {
    color: var(--aoro-green);
}

/* ─────────────────────────────────────────────
   SIDEBAR SEARCH WIDGET
───────────────────────────────────────────── */
body.single-post .sidebar-area .search-form {
    position: relative;
    display: flex;
}
body.single-post .sidebar-area .search-form input[type="text"],
body.single-post .sidebar-area .widget_search input[type="text"],
body.single-post .sidebar-area .widget_search input[type="search"] {
    flex: 1;
    height: 50px;
    padding: 0 56px 0 20px;
    border-radius: 50px;
    border: 1px solid rgba(31,111,92,.22);
    background: rgba(31,111,92,.025);
    font-size: 14px;
    color: #0a1612;
    outline: none;
    box-shadow: none;
    transition: border-color var(--aoro-t), box-shadow var(--aoro-t);
}
body.single-post .sidebar-area .search-form input:focus,
body.single-post .sidebar-area .widget_search input:focus {
    border-color: var(--aoro-green);
    box-shadow: 0 0 0 3px rgba(31,111,92,.1);
}
body.single-post .sidebar-area .search-form button,
body.single-post .sidebar-area .widget_search button {
    position: absolute;
    right: 7px;
    top: 7px;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    border-radius: 50% !important;
    background: var(--aoro-green) !important;
    background-color: var(--aoro-green) !important;
    border: none !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    padding: 0 !important;
    transition: background var(--aoro-t);
}
body.single-post .sidebar-area .search-form button i,
body.single-post .sidebar-area .widget_search button i {
    color: #fff !important;
    font-size: 14px;
}
body.single-post .sidebar-area .search-form button:hover,
body.single-post .sidebar-area .widget_search button:hover {
    background: var(--aoro-green-dk) !important;
    background-color: var(--aoro-green-dk) !important;
}