/* 
Plugin: Deka Mega Menu Blog 
Styles for the mega menu dropdown
*/

/* Asigurăm că item-ul de meniu părinte e poziționat corect pentru a ancora dropdown-ul */
.deka-has-mega-menu {
    position: relative !important;
}

/* Wrapper-ul principal ascuns inițial */
.deka-blog-mm-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 600px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    padding: 30px 40px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    text-align: left;
    border-radius: 4px;
}

/* Afișarea la hover pe părinte */
.deka-has-mega-menu:hover .deka-blog-mm-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Reset pentru varianta shortcode statică */
.deka-blog-mm-wrapper.deka-is-shortcode {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    width: 100%;
    box-shadow: none;
    border: 1px solid #eee;
}

/* Coloanele interne */
.deka-mm-col {
    flex: 1;
}

/* Titlurile coloanelor (CATEGORII, ULTIMELE POSTARI) */
.deka-mm-title {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 25px 0;
    padding: 0;
}

/* Coloana Categorii */
.deka-mm-cats ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.deka-mm-cats ul li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

.deka-mm-cats ul li::before {
    content: "•";
    color: #ed1c24; /* Roșul brandului */
    font-size: 18px;
    line-height: 1;
    margin-right: 10px;
}

.deka-mm-cats ul li a {
    font-size: 15px;
    color: #ed1c24; /* Text roșu exact ca în poză */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.deka-mm-cats ul li a:hover {
    color: #b31018; /* Roșu mai închis la hover */
    text-decoration: underline;
}

/* Coloana Postări (cu linie delimitatoare la stânga) */
.deka-mm-posts {
    border-left: 1px solid #eaeaea;
    padding-left: 40px;
    margin-left: 10px;
}

.deka-mm-post {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.deka-mm-post:last-child {
    margin-bottom: 0;
}

.deka-mm-post:hover {
    transform: translateX(3px);
}

.deka-mm-post img {
    width: 80px;
    height: 55px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.deka-mm-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.deka-mm-post-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px 0;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
}

.deka-mm-post-info span {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
