/* =========================
   LAYOUT SECTIUNE CENTRALA
========================= */

.ue {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 40px;
}

/* =========================
   SIDEBAR PROIECT
========================= */

.project-box {
    width: 340px;
    min-width: 340px;
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    position: sticky;
    top: 30px;
}

.project-box h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #003366;
}

.project-content {
    font-size: 12px;
    color: #444;
    line-height: 1.7;
}

.project-section {
    margin-bottom: 24px;
}

.project-section h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #111;
}

.label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #003366;
}

.project-section p {
    margin: 5px 0;
}

.partners-list {
    margin: 0;
    padding-left: 18px;
}

.partners-list li {
    margin-bottom: 10px;
}

.btn-project {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background: #0056b3;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-project:hover {
    background: #003d80;
}

/* =========================
   CONTINUT PRINCIPAL
========================= */

.ue-main {
    flex: 1;
    
}

.ue-main h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 35px;
    color: #003366;
	
}

/* =========================
   SERVICII
========================= */

.services1 {
    padding: 10px 0;
    background: none;
	text-align: center;
}

.services1 a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 14px 18px;
    color: var(--primary);
    font-size: 22px;
    font-weight: 600;
    border-radius: 10px;
    transition: 0.3s ease;
    text-decoration: none;
}

.services1 a:hover {
    background: #f3f8ff;
    color: var(--primary);
}

.services1 a::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 8px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s ease;
}

.services1 a:hover::after {
    width: calc(100% - 36px);
}


/* =========================
   BOXURI CONTINUT
========================= */

.box {
   
    background: #fff;
    padding: 10px;
    border-radius: 16px;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}



.box ul li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #444;
}

/* =========================
   DOCUMENTE / ANUNTURI
========================= */

.docs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs li {
    margin-bottom: 12px;
}

.docs a {
    text-decoration: none;
    color: #0056b3;
    font-weight: 600;
    transition: 0.3s;
}

.docs a:hover {
    color: #003d80;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .ue {
        flex-direction: column;
        padding: 0 20px;
    }

    .project-box {
        width: 100%;
        min-width: 100%;
        position: relative;
        top: 0;
    }

    .ue-main h1 {
        font-size: 32px;
    }

    .box {
        padding: 25px;
    }
	
}
	
/* EXPANDARE ANUNTURI */

details {
    width: 100%;
}



details summary {
    width: 100%;
    cursor: pointer;
    display: flex;
    gap: 12px;
    padding: 4px 0;
	cursor: pointer;
    display: flex;
    gap: 12px;
}

details summary li:last-child {
    color: #0056b3;
    font-weight: 600;
}
details summary li:last-child:hover {
    color: #003d80;
}

details summary::-webkit-details-marker {
    content: none;
    display: none;
}
