/*
 Theme Name:     Beaver Builder Child Theme - UNBR 2026
 Template:       bb-theme
 Description:    Tema Child pentru UNBR 2026 Facelift. Arhitectură curată, fără inline CSS.
 Version:        1.6.6
*/

/* =========================================================
   0. FONTURI ȘI ICONIȚE
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@400;700;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* =========================================================
   1. VARIABILE (DESIGN TOKENS)
   ========================================================= */
:root {
    --unbr-navy: #0B2A4A;
    --unbr-navy-dark: #071d33;
    --unbr-red: #990000;
    --unbr-gold: #DCA824;
    --unbr-yellow-action: #F6C23E;
    --unbr-gray-light: #f3f4f6;
    --unbr-gray-bg: #f4f4f4;
    --font-primary: 'Inter', 'Courier New', monospace;
    --font-secondary: 'Merriweather', Georgia, serif;
    --container-width: 1200px;
    --container-narrow: 1200px;
}

/* =========================================================
   2. REGULI GLOBALE
   ========================================================= */
body.fl-builder-active, 
body {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    background-color: #f9fafb;
}

#unbr-custom-header,
#unbr-custom-header *:not(i):not(.fa):not(.fas):not(.fa-solid) {
    font-family: var(--font-primary);
}

#unbr-custom-header i.fa-solid, 
#unbr-custom-header .fa-solid,
#unbr-custom-header i.fas,
#unbr-custom-header .fas {
    font-weight: 900;
    font-style: normal;
}

/* =========================================================
   3. CONTAINERE
   ========================================================= */
#unbr-custom-header .container,
#unbr-custom-header .unbr-container,
#unbr-custom-footer .container,
#unbr-custom-footer .unbr-container,
#unbr-home-main .unbr-container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.unbr-container-narrow {
    max-width: var(--container-narrow);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

#unbr-custom-header .header-utility .container,
#unbr-custom-header .header-utility .unbr-container,
#unbr-custom-header .header-main .container,
#unbr-custom-header .header-main .unbr-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#unbr-custom-header .nav-bar .container,
#unbr-custom-header .nav-bar .unbr-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================================
   4. HEADER: BARA DE UTILITĂȚI
   ========================================================= */
#unbr-custom-header .header-utility { background-color: var(--unbr-gray-light); border-bottom: 1px solid #e5e7eb; padding: 8px 0; }
#unbr-custom-header ul.utility-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 20px; align-items: center; }
#unbr-custom-header ul.utility-menu li { margin: 0; padding: 0; }
#unbr-custom-header ul.utility-menu li a { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: #4b5563; text-decoration: none; text-transform: uppercase; display: flex; align-items: center; gap: 6px; transition: all 0.2s ease-in-out; line-height: 1; }
#unbr-custom-header ul.utility-menu li a:hover { color: var(--unbr-red); }
#unbr-custom-header ul.utility-menu li a i { font-size: 13px; color: var(--unbr-navy-dark); transition: color 0.2s ease-in-out; }

#unbr-custom-header ul.left-menu li:first-child a i,
#unbr-custom-header ul.utility-menu li.unbr-icon-red a i { color: var(--unbr-red); }
#unbr-custom-header ul.right-menu li:nth-child(2) a,
#unbr-custom-header ul.right-menu li:nth-child(2) a i,
#unbr-custom-header ul.utility-menu li.unbr-text-gold a { color: var(--unbr-gold); }
#unbr-custom-header ul.right-menu li:last-child a,
#unbr-custom-header ul.utility-menu li.unbr-btn-red a { background-color: var(--unbr-red); color: #ffffff; padding: 6px 14px; border-radius: 3px; }
#unbr-custom-header ul.right-menu li:last-child a i,
#unbr-custom-header ul.utility-menu li.unbr-btn-red a i { color: #ffffff; }
#unbr-custom-header ul.right-menu li:last-child a:hover,
#unbr-custom-header ul.utility-menu li.unbr-btn-red a:hover { background-color: var(--unbr-navy-dark); }

/* =========================================================
   5. HEADER: BRAND & CĂUTARE
   ========================================================= */
#unbr-custom-header .header-main { background-color: var(--unbr-red); padding: 3px 0; }
#unbr-custom-header .search-wrapper { background: rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.4); padding: 10px 15px; border-radius: 4px; display: flex; align-items: center; width: 100%; }
#unbr-custom-header .search-wrapper input { font-size: 14px; background: transparent; border: none; color: white; width: 100%; outline: none; box-shadow: none; padding: 0; }
#unbr-custom-header .search-wrapper input::placeholder { color: rgba(255, 255, 255, 0.7); }
#unbr-custom-header .search-wrapper button { background: transparent; border: none; color: white; cursor: pointer; padding: 0; }
#unbr-custom-header .search-wrapper button i { font-size: 16px; color: white; }

/* =========================================================
   6. HEADER: LINK-URI RAPIDE
   ========================================================= */
#unbr-custom-header ul.quick-links-menu { display: flex; justify-content: flex-end; list-style: none; margin: 0; padding: 0; gap: 16px; }
#unbr-custom-header ul.quick-links-menu li { position: relative; margin: 0; }
#unbr-custom-header ul.quick-links-menu li:not(:last-child)::after { content: "|"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.4); font-size: 11px; }
#unbr-custom-header ul.quick-links-menu li a { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: color 0.2s; }
#unbr-custom-header ul.quick-links-menu li a:hover { color: #ffffff; }

/* =========================================================
   7. HEADER: MENIUL PRINCIPAL
   ========================================================= */
#unbr-custom-header .nav-bar { background-color: var(--unbr-navy-dark); border-bottom: 4px solid var(--unbr-gold); }
#unbr-custom-header .nav-bar ul { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; justify-content: center; flex-wrap: nowrap; }
#unbr-custom-header .nav-bar > div > ul > li > a { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #ffffff; padding: 12px 6px; display: block; text-decoration: none; transition: background-color 0.2s, color 0.2s; white-space: nowrap; }
#unbr-custom-header .nav-bar > div > ul > li:hover > a { color: var(--unbr-gold); background-color: rgba(0,0,0,0.2); }
#unbr-custom-header .nav-bar > div > ul > li.menu-item-has-children > a::after, #unbr-custom-header .nav-bar > div > ul > li.page_item_has_children > a::after { content: "\25BE"; font-family: sans-serif; font-size: 12px; margin-left: 3px; opacity: 0.8; vertical-align: middle; }
#unbr-custom-header .nav-bar ul ul li.menu-item-has-children > a::after, #unbr-custom-header .nav-bar ul ul li.page_item_has_children > a::after { content: "\25B8"; font-family: sans-serif; font-size: 12px; float: right; margin-top: 2px; opacity: 0.8; }
#unbr-custom-header .nav-bar ul li { position: relative; }
#unbr-custom-header .nav-bar ul ul.sub-menu, #unbr-custom-header .nav-bar ul ul.children { display: none; position: absolute; top: 100%; left: 0; background: white; min-width: 250px; list-style: none; padding: 0; margin: 0; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1) !important; border-top: 4px solid var(--unbr-red); z-index: 100; }
#unbr-custom-header .nav-bar ul ul ul.sub-menu, #unbr-custom-header .nav-bar ul ul ul.children { top: 0; left: 100%; border-top: none; border-left: 4px solid var(--unbr-red); }
#unbr-custom-header .nav-bar ul li:hover > ul.sub-menu, #unbr-custom-header .nav-bar ul li:hover > ul.children { display: block; }
#unbr-custom-header .nav-bar ul ul li a { font-size: 14px; font-weight: 500; padding: 12px 20px; color: #374151; border-bottom: 1px solid #f3f4f6; text-transform: none; display: block; text-decoration: none; white-space: normal; }
#unbr-custom-header .nav-bar ul ul li a:hover { background-color: #f9fafb; color: var(--unbr-red); }

/* =========================================================
   8. FOOTER
   ========================================================= */
#unbr-custom-footer { background-color: var(--unbr-navy); border-top: 6px solid var(--unbr-gold); color: #ffffff; font-family: var(--font-primary); width: 100%; margin-top: 0px; }
#unbr-custom-footer .footer-top { padding: 20px; }
#unbr-custom-footer .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
#unbr-custom-footer a { color: rgba(191, 219, 254, 0.8); text-decoration: none; transition: color 0.2s ease-in-out; }
#unbr-custom-footer a:hover { color: #ffffff; }
#unbr-custom-footer h4 { color: #ffffff; font-family: var(--font-secondary); font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: normal; margin-top: 0; margin-bottom: 4px; }
#unbr-custom-footer ul.footer-menu, #unbr-custom-footer ul.contact-info, #unbr-custom-footer ul { list-style: none; padding: 0; margin: 0; }
#unbr-custom-footer ul.footer-menu li, #unbr-custom-footer ul:not(.contact-info) li { line-height: 2.2; font-size: 13px; font-weight: 300; color: rgba(191, 219, 254, 0.8); }
#unbr-custom-footer ul.footer-menu li a { color: inherit; }
#unbr-custom-footer .footer-map { width: 100%; max-width: 340px; height: 80px; margin-bottom: 8px; border: 0; }
#unbr-custom-footer .footer-rss { display: flex; flex-direction: column; gap: 16px; }
#unbr-custom-footer .footer-rss a { display: flex; align-items: center; gap: 12px; color: #bfdbfe; }
#unbr-custom-footer .footer-rss a .rss-icon { width: 32px; height: 32px; border-radius: 50%; background-color: var(--unbr-navy-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; color: #bfdbfe; }
#unbr-custom-footer .footer-rss a:hover .rss-icon { background-color: var(--unbr-gold); color: var(--unbr-navy); }
#unbr-custom-footer .footer-rss a span { font-size: 13px; font-weight: 300; line-height: 1.4; }
#unbr-custom-footer .contact-info li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; margin-bottom: 8px; }
#unbr-custom-footer .contact-info li i { margin-top: 4px; width: 12px; text-align: center; opacity: 0.6; }
#unbr-custom-footer .footer-bottom { background-color: #051524; padding: 10px; font-size: 11px; color: #9ca3af; font-weight: 300; display: flex; justify-content: center; align-items: center; }

/* =========================================================
   12. UTILITIES GLOBALE
   ========================================================= */
.bg-unbr-red { background-color: var(--unbr-red); }
.text-gold { color: var(--unbr-gold); }
.unbr-flex-between { display: flex; justify-content: space-between; align-items: center; }
.unbr-link-all { font-size: 12px; font-weight: 600; color: var(--unbr-red); text-transform: uppercase; text-decoration: none; transition: color 0.2s; letter-spacing: 0.5px; }
.unbr-link-all:hover { color: var(--unbr-navy); }

/* =========================================================
   14. HOMEPAGE CONTENT (Arhitectură Curată, specifică temei)
   ========================================================= */

#unbr-home-hero { background-color: var(--unbr-navy); border-bottom: 6px solid var(--unbr-red); display: flex; justify-content: center; overflow: hidden; width: 100%; margin: 0 0 20px 0; text-align: center; }
#unbr-home-hero .hero-image { max-width: 1200px; width: 100%; height: auto; display: block; }
#unbr-home-main { padding: 20px 0 40px 0; flex-grow: 1; }

.unbr-home-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; } 
.unbr-home-left { display: flex; flex-direction: column; gap: 40px; }
.unbr-home-right { display: flex; flex-direction: column; gap: 30px; }

/* Caseta "Top Actualitate" */
.unbr-section-box { background: #ffffff; padding: 30px; border: 1px solid #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.unbr-top-actualitate { border-top: 4px solid var(--unbr-red); }
.unbr-box-header { border-bottom: 2px solid #f3f4f6; padding-bottom: 10px; margin-bottom: 25px; }
.unbr-badge-red { background: var(--unbr-red); color: white; font-size: 10px; font-weight: 700; padding: 4px 10px; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; display: inline-block; }

/* Știrea Principală */
.unbr-home-left .unbr-featured-article { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #f3f4f6; }
.unbr-home-left .unbr-featured-article h2, 
.unbr-home-left .unbr-featured-article h2 a { font-family: var(--font-secondary); font-size: 36px; font-weight: 700; color: #111827; line-height: 1.25; margin: 0 0 1rem 0; text-decoration: none; transition: color 0.2s; display: block; }
.unbr-home-left .unbr-featured-article h2 a:hover { color: var(--unbr-red); }

.unbr-home-left .unbr-meta { font-size: 11px; color: #6b7280; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.unbr-home-left .unbr-meta i { color: var(--unbr-gold); }

.unbr-home-left .unbr-featured-article p { font-size: 16px; color: #4b5563; line-height: 1.625; font-weight: 400; border-left: 4px solid var(--unbr-gold); padding-left: 1rem; margin: 0 0 1.5rem 0; }
.unbr-home-left .unbr-read-more { font-size: 14px; font-weight: 700; color: var(--unbr-red); text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.unbr-home-left .unbr-read-more:hover { color: var(--unbr-navy); }
.unbr-home-left .unbr-read-more i { transition: transform 0.2s; }
.unbr-home-left .unbr-read-more:hover i { transform: translateX(4px); }

/* Grid Secundar & Sub-articole */
.unbr-home-left .unbr-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.unbr-home-left .unbr-sub-article { display: flex; flex-direction: column; height: 100%; }
.unbr-home-left .unbr-meta-red { font-size: 10px; color: var(--unbr-red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }

.unbr-home-left .unbr-sub-article h3,
.unbr-home-left .unbr-sub-article h3 a { font-family: var(--font-secondary); font-size: 20px; font-weight: 700; color: #111827; line-height: 1.3; margin: 0 0 12px 0; text-decoration: none; transition: color 0.2s; }
.unbr-home-left .unbr-sub-article h3 a:hover { color: var(--unbr-red); }
.unbr-home-left .unbr-sub-article p { font-size: 14px; color: #4b5563; line-height: 1.6; font-weight: 300; margin: 0 0 15px 0; flex-grow: 1; border-left: none; padding-left: 0; }
.unbr-home-left .unbr-link-detail { font-size: 11px; font-weight: 700; color: #1f2937; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; transition: color 0.2s; margin-top: auto; }
.unbr-home-left .unbr-link-detail:hover { color: var(--unbr-red); }

/* Banner Orizontal Caut Avocat */
.unbr-banner-caut { background: var(--unbr-navy); color: white; padding: 2rem; border-radius: 4px; display: flex; justify-content: space-between; align-items: center; gap: 20px; position: relative; overflow: hidden; }
.unbr-banner-icon { position: absolute; right: 0; top: 0; opacity: 0.05; font-size: 200px; transform: translate(15%, -20%); pointer-events: none; }
.unbr-banner-content { position: relative; z-index: 10; }
.unbr-banner-subtitle { color: var(--unbr-gold); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.unbr-banner-content h3 { font-family: var(--font-secondary); font-size: 1.5rem; font-weight: 700; margin: 0 0 5px 0; color: white; }
.unbr-banner-content p { color: #bfdbfe; font-size: 14px; font-weight: 300; margin: 0; opacity: 0.8; }
.unbr-btn-gold { position: relative; z-index: 10; background: var(--unbr-gold); color: var(--unbr-navy); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; padding: 12px 24px; border: none; border-radius: 2px; cursor: pointer; transition: background 0.2s; white-space: nowrap; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.unbr-btn-gold:hover { background: #ffffff; }

/* Secțiuni Simple (Activitati barouri) */
.unbr-section-simple { margin-bottom: 10px; }
.unbr-section-title-wrap { border-bottom: 2px solid var(--unbr-navy); padding-bottom: 10px; margin-bottom: 20px; }
.unbr-section-title-wrap h3 { font-family: var(--font-secondary); font-size: 22px; font-weight: 700; color: var(--unbr-navy); margin: 0; display: flex; align-items: center; gap: 10px; }
.unbr-section-title-wrap h3 i { color: var(--unbr-red); }

.unbr-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.unbr-card-barou { background: white; border: 1px solid #e5e7eb; border-top: 2px solid var(--unbr-navy); padding: 20px; display: flex; flex-direction: column; height: 100%; transition: box-shadow 0.2s; }
.unbr-card-barou:hover { box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.unbr-card-badge { font-size: 10px; color: var(--unbr-navy); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid #f3f4f6; padding-bottom: 8px; margin-bottom: 12px; display: block; }

.unbr-title-clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.unbr-card-barou h4 { font-size: 14px; font-weight: 700; color: #111827; line-height: 1.4; margin: 0 0 15px 0; transition: color 0.2s; }
.unbr-card-barou h4 a { color: inherit; text-decoration: none; transition: color 0.2s; }
.unbr-card-barou h4 a:hover { color: var(--unbr-red); }
.unbr-meta-bottom { font-size: 11px; color: #6b7280; font-weight: 500; margin-top: auto; display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.5px;}

/* Casete 6 Categorii */
.unbr-category-box { background: white; border: 1px solid #e5e7eb; transition: box-shadow 0.2s; display: flex; flex-direction: column; }
.unbr-category-box:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.unbr-category-box:hover .unbr-cat-icon { color: var(--unbr-red); border-color: var(--unbr-red); }
.unbr-cat-header { background: #f9fafb; border-bottom: 1px solid #e5e7eb; padding: 15px; display: flex; align-items: center; gap: 12px; }
.unbr-cat-icon { background: white; width: 36px; height: 36px; display: flex; justify-content: center; align-items: center; border: 1px solid #e5e7eb; border-radius: 4px; color: var(--unbr-navy); font-size: 15px; transition: all 0.2s; }
.unbr-cat-header h4 { margin: 0; font-size: 14px; font-weight: 700; color: #111827; }
.unbr-cat-list { list-style: none; margin: 0; padding: 15px; display: flex; flex-direction: column; flex-grow: 1; }
.unbr-cat-list li { display: flex; align-items: flex-start; gap: 8px; }
.unbr-cat-list-item { margin-bottom: 10px !important; }
.unbr-cat-list-item:last-child { margin-bottom: 0 !important; }
.unbr-cat-list li i { color: var(--unbr-red); font-size: 10px; margin-top: 4px; }
.unbr-cat-list li a { font-size: 13px; color: #374151; text-decoration: none; line-height: 1.4; transition: color 0.2s; }
.unbr-cat-list li a:hover { color: var(--unbr-red); }
.unbr-cat-footer { padding: 0 15px 15px 15px; margin-top: auto; }
.unbr-cat-footer a { display: inline-block; border: 1px solid #d1d5db; color: #4b5563; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 6px 12px; text-decoration: none; transition: all 0.2s; border-radius: 2px; }
.unbr-cat-footer a:hover { background: #f3f4f6; color: var(--unbr-navy); border-color: var(--unbr-navy); }

/* Sidebar - Ultimele stiri */
.unbr-home-right .unbr-sidebar-news { background: white; border: 1px solid #e5e7eb; border-top: 4px solid var(--unbr-navy); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.unbr-home-right .unbr-sb-header { background: #f9fafb; font-family: var(--font-secondary); font-size: 18px; font-weight: 700; padding: 1rem; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; gap: 10px; color: #111827; }
.unbr-home-right .unbr-sb-header i { color: var(--unbr-navy); }
.unbr-home-right .unbr-sb-content { display: flex; flex-direction: column; padding: 1rem; }
.unbr-home-right .unbr-news-item { margin-bottom: 1rem; border-bottom: 1px solid #f3f4f6; padding-bottom: 0.5rem; transition: background 0.2s; }
.unbr-home-right .unbr-news-item:hover { background: #f9fafb; }
.unbr-news-date { font-size: 11px !important; color: var(--unbr-red) !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; margin-bottom: 4px !important; }
.unbr-home-right .unbr-news-item a { font-size: 14px; font-weight: 600; color: #1f2937; text-decoration: none; line-height: 1.4; margin-top: 4px; transition: color 0.2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.unbr-home-right .unbr-sb-footer-link { display: block; background: #f9fafb; text-align: center; font-size: 12px; font-weight: 700; color: var(--unbr-navy); padding: 15px; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; transition: background 0.2s; border-top: 1px solid #e5e7eb; }
.unbr-home-right .unbr-sb-footer-link:hover { background: #f3f4f6; }

/* Sidebar - Casete Proiecte */
.unbr-home-right .unbr-sidebar-box { border-radius: 3px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-bottom: 30px; }
.unbr-home-right .unbr-box-title { padding: 15px 20px; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: white; display: flex; justify-content: space-between; align-items: center; }
.unbr-home-right .unbr-box-title a { color: white; opacity: 0.8; transition: all 0.2s; }
.unbr-home-right .unbr-box-title a:hover { opacity: 1; color: var(--unbr-gold); }
.unbr-home-right .unbr-box-body { padding: 20px; }
.unbr-home-right .unbr-box-body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.unbr-home-right .unbr-box-body ul li a { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 600; text-decoration: none; line-height: 1.4; transition: color 0.2s; color: inherit; }
.unbr-home-right .unbr-box-body ul li i { font-size: 10px; margin-top: 3px; transition: color 0.2s; }

.unbr-home-right .unbr-box-red .unbr-box-title { background: #7a0000; border-bottom: 1px solid #5a0f12; }
.unbr-home-right .unbr-box-red .unbr-box-body { background: var(--unbr-red); padding: 1rem; }
.unbr-home-right .unbr-box-red .unbr-box-body a { color: white; }
.unbr-home-right .unbr-box-red .unbr-box-body a:hover { color: var(--unbr-gold); }
.unbr-home-right .unbr-box-red .unbr-box-body i { color: var(--unbr-gold); }
.unbr-home-right .unbr-box-red .unbr-box-body a:hover i { color: white; }

.unbr-home-right .unbr-box-gold .unbr-box-title { background: #b4881d; border-bottom: 1px solid #a67a16; }
.unbr-home-right .unbr-box-gold .unbr-box-body { background: var(--unbr-gold); }
.unbr-home-right .unbr-box-gold .unbr-box-body a { color: var(--unbr-navy-dark); }
.unbr-home-right .unbr-box-gold .unbr-box-body a:hover { color: white; }
.unbr-home-right .unbr-box-gold .unbr-box-body i { color: var(--unbr-navy-dark); }
.unbr-home-right .unbr-box-gold .unbr-box-body a:hover i { color: white; }

.unbr-home-right .unbr-box-navy { border-top: 4px solid var(--unbr-gold); }
.unbr-home-right .unbr-box-navy .unbr-box-title { background: var(--unbr-navy); border-bottom: 1px solid var(--unbr-navy-dark); }
.unbr-home-right .unbr-box-navy .unbr-box-body { background: var(--unbr-navy); padding: 15px 20px; }
.unbr-home-right .unbr-box-navy .unbr-box-body ul { gap: 0; }
.unbr-home-right .unbr-box-navy .unbr-box-body li { border-bottom: 1px solid var(--unbr-navy-dark); padding-bottom: 12px; margin-bottom: 12px; }
.unbr-home-right .unbr-box-navy .unbr-box-body li.unbr-no-border { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.unbr-home-right .unbr-box-navy .unbr-box-body a { color: #bfdbfe; }
.unbr-home-right .unbr-box-navy .unbr-box-body a:hover { color: var(--unbr-gold); }

/* BANNERE DE ACȚIUNE GALBENE (SIDEBAR) */
.unbr-action-banners-wrap { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.unbr-side-banner { background-color: var(--unbr-yellow-action); color: var(--unbr-navy-dark); text-decoration: none; display: flex; align-items: center; justify-content: center; padding: 18px 20px; border-radius: 4px; text-transform: uppercase; font-weight: 700; font-size: 15px; gap: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: all 0.2s ease-in-out; border: 1px solid rgba(0,0,0,0.05); text-align: center; }
.unbr-side-banner i { font-size: 20px; opacity: 0.8; }
.unbr-side-banner:hover { background-color: #f1b623; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.1); color: var(--unbr-navy-dark); }
.unbr-side-banner.banner-multiline { flex-direction: column; gap: 4px; padding: 15px 10px; }
.unbr-side-banner .banner-title { font-size: 15px; line-height: 1.2; }
.unbr-side-banner .banner-subtitle { font-size: 12px; font-weight: 500; opacity: 0.9; }

/* =========================================================
   L. SINGLE POST / SINGLE PAGE (PAGINA DE CONȚINUT)
   ========================================================= */
.unbr-single-header { background-color: var(--unbr-gray-bg); border-bottom: 1px solid #e5e7eb; padding: 20px 0 60px 0; }
.unbr-breadcrumbs { font-size: 13px; color: #6b7280; font-style: italic; margin: 0 auto 20px auto; display: flex; flex-wrap: wrap; gap: 5px; max-width: var(--container-narrow); padding: 0 20px; box-sizing: border-box; }
.unbr-breadcrumbs a { color: var(--unbr-red); text-decoration: none; transition: color 0.2s; }
.unbr-breadcrumbs a:hover { text-decoration: underline; }
.unbr-single-title { font-family: var(--font-secondary); font-size: 36px; font-weight: 700; color: var(--unbr-red); line-height: 1.2; margin: 0 auto; max-width: var(--container-narrow); padding: 0 20px; box-sizing: border-box; }

.unbr-single-main { background-color: transparent; padding-bottom: 60px; }
.unbr-single-main .unbr-container-narrow { background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,0.05); border: 1px solid #f3f4f6; border-top: none; padding: 40px; margin-top: -20px; border-radius: 0 0 4px 4px; }
.unbr-single-meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; color: #6b7280; font-style: italic; border-bottom: 1px solid #f3f4f6; padding-bottom: 20px; margin-bottom: 30px; text-align: right; }
.unbr-single-meta .meta-views { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.unbr-single-meta .meta-views i { color: #9ca3af; }

.unbr-post-content { font-size: 16px; line-height: 1.7; color: #374151; }
.unbr-post-content p { margin-bottom: 20px; }
.unbr-post-content .font-bold { color: #111827; }
.unbr-post-content ul { list-style: none; padding-left: 10px; margin-bottom: 30px; }
.unbr-post-content li { position: relative; padding-left: 25px; margin-bottom: 12px; display: flex; align-items: flex-start; }
.unbr-post-content li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background-color: #000000; border-radius: 50%; }

.unbr-post-content .unbr-doc-link-wrap { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; }
.unbr-post-content a.unbr-doc-link { color: var(--unbr-red); font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.unbr-post-content a.unbr-doc-link::before { content: ""; width: 6px; height: 6px; background-color: #000000; border-radius: 50%; flex-shrink: 0; }
.unbr-post-content a.unbr-doc-link:hover { text-decoration: underline; }

.unbr-social-share-wrap { margin-top: 50px; padding-top: 30px; border-top: 1px solid #e5e7eb; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.unbr-social-share-wrap .share-label { font-weight: 700; font-size: 18px; color: #111827; }
.unbr-social-share-wrap .social-buttons, .unbr-social-share-wrap .social-box { display: flex !important; flex-direction: row !important; gap: 20px !important; width: auto !important; }
.sbtn { padding: 10px 20px; border-radius: 3px; color: #ffffff !important; text-decoration: none; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; transition: background-color 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.05); white-space: nowrap; }
.sbtn i { font-size: 16px; }
.s-facebook { background-color: #3b5998; }
.s-facebook:hover { background-color: #2d4373; }
.s-linkedin { background-color: #0077b5; }
.s-linkedin:hover { background-color: #005a8c; }
.s-twitter { background-color: #000000; }
.s-twitter:hover { background-color: #333333; }

/* =========================================================
   M. CATEGORY ARCHIVES (PAGINI CATEGORII & HEADER ARHIVE)
   ========================================================= */
.archive .fl-page-content, .fl-builder-content-6e179e { background-color: #ffffff !important; }

.unbr-archive-header { background-color: #f4f4f4; padding: 40px 0 60px 0; margin-bottom: -40px; border-bottom: 1px solid #e5e7eb; }
.unbr-archive-page-title { max-width: 1200px; margin: 10px auto 0 auto; padding: 0 20px; color: #9c0b0b; font-family: 'Merriweather', serif; font-size: 36px; font-weight: 700; }

.unbr-archive-wrapper { display: flex; flex-direction: column; gap: 25px; margin: -30px auto 60px auto; max-width: var(--container-narrow); padding: 0 20px; }
.unbr-archive-item { display: flex; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 4px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.unbr-archive-item:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--unbr-navy); }

.unbr-archive-date-box { width: 140px; min-width: 140px; background-color: #f9fafb; border-right: 1px solid #e5e7eb; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; transition: all 0.3s ease; }
.unbr-archive-item:hover .unbr-archive-date-box { background-color: var(--unbr-navy); color: white !important; }
.unbr-date-day { font-size: 42px; font-weight: 800; line-height: 1; color: var(--unbr-navy); margin-bottom: 5px; }
.unbr-date-month { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #4b5563; }
.unbr-date-year { font-size: 14px; color: #9ca3af; margin-top: 2px; }
.unbr-archive-item:hover .unbr-date-day, .unbr-archive-item:hover .unbr-date-month, .unbr-archive-item:hover .unbr-date-year { color: #ffffff; }

.unbr-archive-main-content { padding: 30px; display: flex; flex-direction: column; justify-content: center; flex-grow: 1; }
.unbr-archive-item-title { font-family: var(--font-secondary); font-size: 22px; font-weight: 700; margin: 0 0 15px 0; line-height: 1.3; }
.unbr-archive-item-title a { color: var(--unbr-red); text-decoration: none; transition: color 0.2s; }
.unbr-archive-item-title a:hover { color: var(--unbr-navy); }
.unbr-archive-item-excerpt { font-size: 15px; color: #4b5563; line-height: 1.6; margin-bottom: 20px; }
.unbr-archive-link { font-size: 12px; font-weight: 700; color: var(--unbr-navy); text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.unbr-archive-link:hover { color: var(--unbr-red); }

.unbr-pagination-wrap { margin: 40px 0; display: flex; justify-content: center; gap: 15px; }
.unbr-pagination-wrap a { background: #ffffff; border: 1px solid #e5e7eb; padding: 12px 24px; font-size: 14px; font-weight: 700; color: var(--unbr-navy); text-decoration: none; border-radius: 2px; transition: all 0.2s; text-transform: uppercase; }
.unbr-pagination-wrap a:hover { background: var(--unbr-navy); color: #ffffff; border-color: var(--unbr-navy); }

/* =========================================================
   N. TOOLSET FILTERS (LUNA/AN)
   ========================================================= */
form.js-wpv-filter-form { display: flex !important; flex-flow: row wrap !important; align-items: flex-end !important; justify-content: center !important; gap: 15px !important; background: #f8f9fa !important; padding: 25px !important; border: 1px solid #e5e7eb !important; margin: 20px auto !important; max-width: var(--container-narrow) !important; box-sizing: border-box !important; }
form.js-wpv-filter-form .row, form.js-wpv-filter-form [class*="col-"] { display: contents !important; }
form.js-wpv-filter-form .form-group { display: flex !important; flex-direction: column !important; margin: 0 !important; }
form.js-wpv-filter-form label { font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase !important; margin-bottom: 5px !important; color: #112233 !important; }
form.js-wpv-filter-form select { height: 40px !important; min-width: 150px !important; border: 1px solid #ccc !important; border-radius: 4px !important; padding: 0 10px !important; background: #fff !important; }
form.js-wpv-filter-form .js-wpv-submit-trigger { height: 40px !important; padding: 0 30px !important; background: #112233 !important; color: #fff !important; border: none !important; border-radius: 4px !important; font-weight: 700 !important; text-transform: uppercase !important; cursor: pointer !important; transition: background 0.2s !important; }
form.js-wpv-filter-form .js-wpv-submit-trigger:hover { background: #9c0b0b !important; }

/* =========================================================
   O. AGENDA PREȘEDINTELUI (Arhivă Înălțime Fixă & Clamp)
   ========================================================= */
.unbr-agenda-wrapper { max-width: var(--container-narrow); margin: 30px auto; padding: 0 20px; box-sizing: border-box; display: flex; flex-direction: column; gap: 20px; }
.unbr-agenda-card { display: flex; height: 170px !important; background: #ffffff; border: 1px solid #e5e7eb; box-shadow: 0 2px 4px rgba(0,0,0,0.04); overflow: hidden; transition: box-shadow 0.3s ease; }
.unbr-agenda-card:hover { box-shadow: 0 8px 15px rgba(0,0,0,0.08); }
.unbr-agenda-media { flex: 0 0 280px; height: 100%; background-color: #f8f9fa; border-right: 1px solid #eee; }
.unbr-agenda-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.unbr-agenda-content { flex: 1; padding: 20px 30px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }

/* Truncare titlu la fix 3 rânduri */
.unbr-agenda-title { margin: 0 0 15px 0 !important; font-family: 'Merriweather', serif; font-size: 19px !important; font-weight: 700; line-height: 1.4; color: #112233; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.unbr-agenda-title a { color: #112233; text-decoration: none; }
.unbr-agenda-title a:hover { color: #9c0b0b; }

.unbr-agenda-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; font-size: 13px; font-weight: 700; color: #555; text-transform: uppercase; }
.unbr-icon { color: #9c0b0b; margin-right: 3px; }
.unbr-agenda-loc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.unbr-agenda-date-badge { background-color: #9c0b0b; color: #ffffff; padding: 4px 10px; border-radius: 3px; font-size: 11px; letter-spacing: 0.5px; white-space: nowrap; }

/* =========================================================
   P. LEGISLAȚIE NAVIGAȚIE (Pagina de Arhivă Legislație)
   ========================================================= */
.unbr-legis-nav { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 20px; margin: 40px auto; max-width: 800px; }
.unbr-legis-item { display: flex !important; align-items: center; gap: 15px; text-decoration: none !important; transition: all 0.3s ease; width: 100%; justify-content: center; }
.unbr-legis-icon { font-size: 24px; opacity: 0.9; }
.unbr-legis-text { font-size: 22px !important; font-weight: 600 !important; color: #112233 !important; font-family: 'Merriweather', serif; }
.unbr-legis-item:hover .unbr-legis-text { color: #9c0b0b !important; text-decoration: underline !important; }
/* Ascundem <br> generate de WP Autop */
.unbr-legis-nav br, .unbr-legis-item br { display: none !important; }

/* =========================================================
   15. RESPONSIVE DESIGN (Centralizat)
   ========================================================= */
@media (max-width: 992px) {
    #unbr-custom-header .header-utility .container, #unbr-custom-header .header-utility .unbr-container, #unbr-custom-header .header-main .container, #unbr-custom-header .header-main .unbr-container { flex-direction: column; text-align: center; gap: 15px; }
    #unbr-custom-header .logo-section { flex-direction: column; justify-content: center; gap: 10px; }
    #unbr-custom-header ul.quick-links-menu { justify-content: center; }
    #unbr-custom-header .nav-bar ul { flex-wrap: wrap; justify-content: center; }
    #unbr-custom-header .nav-bar > div > ul > li > a { padding: 12px 15px; font-size: 12px; }
    .unbr-home-grid { grid-template-columns: 1fr; } 
    .unbr-grid-2, .unbr-grid-3 { grid-template-columns: 1fr 1fr; }
    .unbr-banner-caut { flex-direction: column; text-align: center; }
    .unbr-banner-caut button { width: 100%; }
    .unbr-banner-icon { transform: translate(0, -20%); right: 50%; }
}

@media (max-width: 768px) {
    #unbr-custom-header .container, #unbr-custom-header .unbr-container, #unbr-home-main .unbr-container { padding: 0 15px; }
    #unbr-custom-header .search-section { width: 100%; }
    #unbr-custom-header ul.utility-menu { flex-direction: column; gap: 10px; }
    #unbr-custom-footer .footer-bottom .unbr-container { flex-direction: column; text-align: center; }
    .unbr-grid-2, .unbr-grid-3 { grid-template-columns: 1fr; }
    .unbr-section-title-wrap { flex-direction: column; align-items: flex-start; gap: 10px; }

    /* Single Post Mobile */
    .unbr-single-header { padding: 30px 0 40px 0; }
    .unbr-single-title { font-size: 26px; }
    .unbr-single-main .unbr-container-narrow { padding: 25px 20px; margin-top: 0; }
    
    .unbr-social-share-wrap { flex-direction: column; align-items: center; text-align: center; }
    .unbr-social-share-wrap .social-buttons, .unbr-social-share-wrap .social-box { width: 100% !important; flex-direction: column !important; gap: 10px !important; }
    .sbtn { justify-content: center; }

    /* Agenda Președintelui Mobile */
    .unbr-agenda-card { flex-direction: column; height: auto !important; }
    .unbr-agenda-media { flex: 0 0 160px; width: 100%; border-right: none; border-bottom: 1px solid #eee; }
    .unbr-agenda-loc { max-width: 100%; }
}

@media (max-width: 600px) {
    /* Legislație Navigație Mobile */
    .unbr-legis-text { font-size: 18px !important; }
    .unbr-legis-icon { font-size: 20px; }
}