/* onest-100 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-100.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-100.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* onest-200 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-200.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-200.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* onest-300 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* onest-regular - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* onest-500 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* onest-600 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-600.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* onest-700 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* onest-800 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-800.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* onest-900 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('../fonts/onest-v9-cyrillic_cyrillic-ext_latin_latin-ext-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

body {
    font-family: 'Onest', sans-serif;
    background: #fff;
   /* padding: 40px 20px;*/
}

/* ─── COUNTDOWN CARD ─── */
.cd-href
{
    text-decoration: none !important;
    border: none !important;
    outline: none !important;

}
.cd-card {
    background: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 10px;
    padding: 25px 25px 25px;
    display: none; /* ascuns implicit, JS decide */
    text-decoration: none;
}

.cd-card:hover {
    background: #f5f8ff;
    border: 1px solid #d2d2d2;

}

.cd-card.visible {
    display: block;text-decoration: none;
}

/* Row 1: titlu + data */
.cd-header {
    display: flex;text-decoration: none;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.cd-title {
    font-size: 18px;text-decoration: none;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cd-date {
    font-size: 18px;text-decoration: none;
    font-weight: 400;
    color: #919191;
    white-space: nowrap;
    margin-left: 12px;
}

/* Row 2: zile + cercuri */
.cd-body {
    display: flex;text-decoration: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Stânga: număr zile */
.cd-days-wrap {
    display: flex;text-decoration: none;
    flex-direction: column;
}

.cd-days-row {
    display: flex;
    align-items: baseline;text-decoration: none;
    gap: 5px;
}

.cd-days-num {
    font-size: 40px;
    font-weight: 800;text-decoration: none;
    color: #067fc3;
    line-height: 1;
    letter-spacing: -1px;
}

.cd-days-lbl {
    font-size: 18px;
    font-weight: 400;text-decoration: none;
    color: #4a5568;
}

.cd-sub {
    font-size: 16px;
    font-weight: 400;text-decoration: none;
    color: #919191;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dreapta: cercuri */
.cd-circles {
    display: flex;
    align-items: center;text-decoration: none;
    gap: 10px;
}

.cd-circle-wrap {
    position: relative;text-decoration: none;
    width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cd-circle-wrap svg {
    position: absolute;text-decoration: none;
    top: 0; left: 0;
    transform: rotate(-90deg);
}

.cd-circle-inner {
    position: relative;text-decoration: none;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cd-circle-val {
    font-size: 18px;text-decoration: none;
    font-weight: 600;
    color: #1a1a2e;
}

.cd-circle-lbl {
    font-size: 11px;text-decoration: none;
    font-weight: 400;
    color: #8a93a2;
    margin-top: 2px;
    letter-spacing: 0.2px;
}

/* SVG cercuri */
.svg-track {
    fill: none;text-decoration: none;
    stroke: #e8edf2;
    stroke-width: 6;
}

.svg-progress {
    fill: none;
    stroke: #067fc3;text-decoration: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.9s ease;
}

/* ─── WRAPPER ─── */
.ev-module {
    background: #fff;
    padding: 48px 0px 48px 48px;
}

/* ─── TITLU ─── */
.ev-title {
    font-size: 30px;
    font-weight: 700;
    color: #0d0d0d;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #e2e6ea;
    margin-bottom: 0;
    line-height: 1.2;
}

/* ─── SLIDER WRAPPER ─── */
.ev-slider-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ev-slider-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.38s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.ev-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
}

/* ─── ITEM ─── */
.ev-item {
    padding: 14px 0 13px;
    border-bottom: 1px solid #e8ecf0;
}

.ev-item:last-child {
    border-bottom: none;
}

.ev-meta {
    margin-bottom: 5px;
    line-height: 1;
}

.ev-location {
    font-size: 18px;
    font-weight: 500;
    color: #067fc3;
    text-decoration: underline;

    cursor: pointer;
}

.ev-location:hover {
    color: #0d47a1; text-decoration: none;
}

.ev-date {
    font-size: 18px;
    font-weight: 400;
    color: #747474;
    margin-left: 7px;
}

.ev-desc {
    font-size: 20px;
    font-weight: 400;
    color: #1a1a2e;
    line-height: 1.55;
}

.a-ev-desc {
    font-size: 20px;
    font-weight: 400;
    color: #1a1a2e;
    line-height: 1.55; text-decoration: none;
}
.a-ev-desc:hover {
    font-size: 20px;
    font-weight: 400;
    color: #067fc3;
    line-height: 1.55;text-decoration: underline;
}

/* ─── FOOTER: dots + link ─── */
.ev-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #e2e6ea;
    margin-top: 2px;
}

.ev-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ev-dot {
    height: 12px;
    border-radius: 8px;
    background: #dadada;
    cursor: pointer;
    transition: background 0.25s, width 0.25s;
    width: 30px;
}

.ev-dot.active {
    background: #067fc3;
    width: 60px;
}

.ev-more {
    font-size: 17px;
    font-weight: 300;
    color: #067fc3;
    text-decoration: underline;
    white-space: nowrap;
    cursor: pointer;
}

.ev-more:hover {
    text-decoration: none;
}
.circum-title
{
    font-size: 24px;
    color: rgb( 0, 0, 0 );
    text-align: left;
    font-weight:300;
    margin-bottom:20px;
}


/* ─── BUTON SELECT ─── */
.btn-circum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    font-family: 'Onest', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    cursor: pointer;
    transition: border-color 0.2s;
    text-align: left;
}

.btn-circum:hover {
    border-color: #2f2f2f;
    background: #f3f3f3;
}

.btn-circum .chevron {
    font-size: 18px;
    color: #555;
    flex-shrink: 0;
    margin-left: 10px;
    transition: transform 0.2s;
}

/* ─── OVERLAY ─── */
.circum-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgb(255 255 255 / 88%);
    z-index: 1040;
    backdrop-filter: blur(2px);
}

.circum-overlay.show { display: block; }

/* ─── MODAL ─── */
.circum-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    width: 380px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 2px solid #1565c0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.circum-modal.show { display: block; }

/* Modal header */
.circum-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid #e2e6ea;
}

.circum-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}

.circum-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}

.circum-modal-close:hover { color: #1565c0; }

/* Search input */
.circum-search-wrap {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e6ea;
}

.circum-search {
    width: 100%;
    border: 1.5px solid #d0d5dd;
    border-radius: 5px;
    padding: 8px 12px;
    font-family: 'Onest', sans-serif;
    font-size: 17px;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.2s;
}

.circum-search:focus { border-color: #1565c0; }
.circum-search::placeholder { color: #aab0bb; }

/* Lista optiuni */
.circum-list {
    max-height: 320px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.circum-list::-webkit-scrollbar { width: 5px; }
.circum-list::-webkit-scrollbar-track { background: #f5f7fa; }
.circum-list::-webkit-scrollbar-thumb { background: #c5ccd6; border-radius: 3px; }

.circum-list .circum-option {
    display: block;
    width: 100%;
    padding: 10px 20px;
    border: none;
    border-bottom: 1px solid #eef0f3;
    background: #fff;
    font-family: 'Onest', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #1a1a2e;
    text-align: left;
    cursor: pointer;
    border-radius:0;
    transition: background 0.15s, color 0.15s;
}

.circum-list .circum-option:last-child { border-bottom: none; }
.circum-list .circum-option:hover { background: #e8f0fe; color: #1565c0; }

.circum-list .circum-option mark {
    background: #ffde78;
    color: inherit;
    border-radius: 2px;
    padding: 0 1px;
}

/* No results */
.circum-no-results {
    padding: 20px 18px;
    font-size: 17px;
    color: #8a93a2;
    text-align: center;
    display: none;
}

/*    ----------------------------*/
/* ─── GRID ─── */
.footer-links {
    display: flex;
    gap: 16px;
    width: 100%;
}

/* ─── CARD / LINK ─── */
.footer-link-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 0;
    padding: 18px 20px;
    border: 1.5px solid #dde1e7;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: #1a1a2e;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;justify-content: center;
}

.footer-link-item:hover {
    border-color: #1565c0;
    box-shadow: 0 2px 12px rgba(208, 208, 208, 0.1);
    background:#f5f8ff;
}

/* ─── ICON CERC ─── */
.footer-link-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-link-icon img {
    width: 64px;
    height: 64px;
    display: block;
}

/* ─── TEXT ─── */
.footer-link-label {
    font-size: 22px;
    font-weight: 300;
    color: #1a1a2e;
    line-height: 1.4;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 680px) {
    .footer-links {
        flex-direction: column;
    }

    .footer-link-item {
        flex: unset;
        width: 100%;
    }
}
/*    ----------------------------*/

/* ===== NAVBAR BREADCRUMB BAR ===== */
.navbar-breadcrumb-wrapper {
    border-top: 3px solid #e0e0e0;
    background-color: #fff;
    width: 100%;
}

ul[data-block="breadcrumb"].nav.navbar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;

}

ul[data-block="breadcrumb"].nav.navbar-nav .nav-item {
    position: relative;
    flex-shrink: 0;
}

ul[data-block="breadcrumb"].nav.navbar-nav .nav-item .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    border: none;
    border-radius: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    border-right: 1px solid #5c5c5c;
}

/* First item - home icon */
ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:first-child .nav-link {
    padding: 12px 18px;
    font-size: 0;
}

ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:first-child .nav-link .bi {
    font-size: 18px;
}

/* Hover & Active */
ul[data-block="breadcrumb"].nav.navbar-nav .nav-item .nav-link:hover,
ul[data-block="breadcrumb"].nav.navbar-nav .nav-item .nav-link:focus {
    background-color: #0072bc;
    color: #fff;
}

ul[data-block="breadcrumb"].nav.navbar-nav .nav-item .nav-link.active.is-active {
    background-color: #0072bc;
    color: #fff;
}

/* Last item - Harta pushed to right */
ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:last-child {
    margin-left: auto;
}

ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:last-child .nav-link {
    font-weight: 400;
    font-style: normal;
    color: #0072bc;
    text-transform: none;
    border:none;
}

ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:last-child .nav-link:hover {
    background-color: transparent;
    color: #005a96;
    text-decoration: underline;
}

/* ===== HOVER POPUP ===== */
.nav-hover-popup {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    z-index: 1050;
    min-width: 280px;
    max-width: 380px;
    padding: 14px 18px;
    background-color: #0072bc;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
}

.nav-hover-popup::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background-color: #0072bc;
    transform: rotate(45deg);
}



.nav-hover-popup.is-visible {
    opacity: 1;
    visibility: visible;
}
/*    ----------------*/
/*-------------search result*/
/* ── ss_search-results: modern search results ── */
ol.search-results {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

ol.search-results > li {
    padding: 16px 0; margin-left: 0;
    border-bottom: 1px solid #cccccc;
}
ol.search-results > li:last-child { border-bottom: none; }

ol.search-results h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}
ol.search-results h3 a {
    color:#067fc3;
    text-decoration: none;
    transition: color .15s;
}
ol.search-results h3 a:hover {
    color: #1963b6;
    text-decoration: underline;
}

ol.search-results > li > p:first-of-type {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #5b5b5b;
    line-height: 1.55;
}

ol.search-results strong {
    color: #565656;
    font-weight: 700;
    background: #fff6af;
    padding: 0 2px;
    border-radius: 2px;
}

.search-result__region {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    color: #575757;
    text-decoration: none;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 20px;
    transition: background .15s, color .15s;
    margin-bottom: 4px;
}
.search-result__region:hover {
    background: #fff6af;
    color: #1a3a5c;
}
.search-result__region svg { flex-shrink: 0; }

ol.search-results > li > p:last-of-type {
    margin: 6px 0 0 0;
    font-size: 14px;
    color: #9a9a9a;
}

ol.search-results > li > p:last-of-type .username {
    display: none;
}
/*-------------search result*/



















/* ===== BREADCRUMB RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1199.98px) {
    ul[data-block="breadcrumb"].nav.navbar-nav {
        flex-wrap: wrap;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item .nav-link {
        padding: 9px 14px;
        font-size: 15px;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:first-child .nav-link {
        padding: 10px 14px;
    }
}

/* Mobile landscape */
@media (max-width: 991.98px) {
    ul[data-block="breadcrumb"].nav.navbar-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item .nav-link {
        padding: 8px 12px;
        font-size: 14px;
        border-right: 1px solid #d0d0d0;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:last-child {
        margin-left: 0;
        flex-basis: 100%;
        border-top: 1px solid #e0e0e0;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:last-child .nav-link {
        justify-content: flex-start;
        padding: 8px 12px;
        font-size: 14px;
    }

    .nav-hover-popup {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* Mobile portrait */
@media (max-width: 767.98px) {
    .navbar-breadcrumb-wrapper {
        border-top: 2px solid #e0e0e0;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav {
        flex-wrap: wrap;
        gap: 0;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item {
        flex-shrink: 1; width:100%;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item .nav-link {
        padding: 8px 10px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: -0.01em;
        border-right: 1px solid #d5d5d5;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:first-child .nav-link {
        padding: 8px 12px;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:first-child .nav-link .bi {
        font-size: 16px;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:last-child {
        margin-left: 0;
        flex-basis: 100%;
        border-top: 1px solid #e8e8e8;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:last-child .nav-link {
        justify-content: center;
        font-size: 18px;
    }
}

/* Very small screens */
@media (max-width: 479.98px) {
    ul[data-block="breadcrumb"].nav.navbar-nav {
        flex-wrap: wrap;
        gap: 0;
        flex-direction: column !important;
        display: flex;
        align-items: center;
        align-content: center;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item .nav-link {
        padding: 7px 7px;
        font-size: 11px;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:first-child .nav-link {
        padding: 7px 10px;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:first-child .nav-link .bi {
        font-size: 14px;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:last-child .nav-link {
        font-size: 18px;
    }
    .top-bar
    {
        display:none !important;
    }
    .region-nav-additional .block-search .form-search {
        width: 190px;
    }
    .ev-module {
        background: #fff;
        padding: 0 0 48px 0;
    }
    .footer-copyright-bar {
text-align:center;
        flex-direction: column;
    }
    .footer-grid-branding {

        flex-direction: column;
    }
}
.breadcrumb-menu-toggle {
    display: none !important;
}

@media (max-width: 991.98px) {
    .breadcrumb-menu-toggle {
        display: flex !important;

    }
}

/* ===== BUTON MENIU MOBIL ===== */
.breadcrumb-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    border: 1.5px solid #0072bc;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Onest', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0072bc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
    margin: 8px 0;
}

.breadcrumb-menu-toggle:hover {
    background: #0072bc;
    color: #fff;
}

.breadcrumb-menu-toggle:hover .breadcrumb-toggle-icon span {
    background: #fff;
}

.breadcrumb-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 20px;
    height: 16px;
}

.breadcrumb-toggle-icon span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #0072bc;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s;
}

.breadcrumb-menu-toggle.is-open .breadcrumb-toggle-icon span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.breadcrumb-menu-toggle.is-open .breadcrumb-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.breadcrumb-menu-toggle.is-open .breadcrumb-toggle-icon span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 991.98px) {
    .breadcrumb-menu-toggle {
        display: flex;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav {
        display: none;
        flex-direction: column;
        border: 1.5px solid #e0e0e0;
        border-radius: 6px;
        overflow: hidden;
        margin-top: 4px;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav.breadcrumb-open {
        display: flex;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item .nav-link {
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid #eaeaea;
        padding: 10px 16px;
        font-size: 18px;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:last-child {
        margin-left: 0;
    }

    ul[data-block="breadcrumb"].nav.navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .nav-hover-popup {
        display: none !important;
    }
}

/*----------------*/
.node-preview-form-select
{
    text-align:center !important;
}

/*---modal windows consiliers----------------*/
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-fullscreen-content {
    background: #fff;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0;
}

.modal-fullscreen-title {
    margin: 0;
    font-size: 1.25rem;
}

.modal-fullscreen-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    color: #333;
}

.modal-fullscreen-close:hover {
    color: #000;
}

.modal-fullscreen-body {
    flex: 1;
    overflow: hidden; padding:5px 30px;
}
/*-------------------*/
.another_articles  .another_title
{
    font-size:25px;
    font-weight:bold;
}

.another_articles  .another_url a.another_href
{
    color:#067fc3;
    font-size:20px;
    font-weight:normal;
    text-decoration:underline;
    margin-right:10px;
}

.another_articles  .another_url a.another_href:hover
{
    color:#067fc3;
    font-size:20px;
    font-weight:normal;
    text-decoration:none; margin-right:10px;
}
.listheadbg {
    background: url(../images/listhead.jpg) left top no-repeat #067fc3 !important;
    margin: 20px 0;
}
.post_title_a
{
    font-size:30px;
    color:#fff;
    line-height:1.3;
    padding:20px;
}

.another_url_a a.another_href_a
{
    color:#067fc3;
    font-size:18px;
    font-weight:normal;
    text-decoration:underline;
    margin-right:10px;
}

.another_url_a a.another_href_a:hover
{
    color:#067fc3;
    font-size:18px;
    font-weight:normal;
    text-decoration:none; margin-right:10px;
}
.article-data-a
{
 font-size:18px; color:#067fc3;
}
.article-views-a
{
    color:#595959;
    font-weight: 300;
    font-size:18px;
    margin-left:20px;
}
.post-text p,
.post-text,
.post-text a,
.post-text p a
{
font-size:18px;
    line-height:1.6;
}

.post-text a,
.post-text p a
{
    text-decoration:underline !important;
}

.post-text a:hover,
.post-text p a:hover
{
    text-decoration:none !important; color:#000;
}
.foto-left
{
    float:left;
    padding:0px 30px 10px 0px;
}

.foto-left .field--name-field-image
{
    margin-bottom: 0rem;
}

.foto-left .field--name-field-image.field--type-image
{
    width:650px;
}

/*-----------------tabel------------*/
.post-text.articles-text-a table,
.post-text.articles-text-a .table {
    width: 100%;
    border-collapse: collapse;
   /* display: block;*/
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.post-text.articles-text-a   table th
{
    vertical-align: top;
}
/*-----------------tabel------------*/
.lg-progress-bar .lg-progress {
    background-color: #0d6efd;
    height: 8px;
}
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
    border-color: #0d6efd;
}
.lg-outer .lg-thumb-item
{
    border-width:4px;
}
#lg-counter {
    color: #65c1ff;

    font-size: 26px;

}

.lg-actions .lg-next, .lg-actions .lg-prev
{
    font-size: 42px; color: #65c1ff;
}
/*-----------------------------*/

.files-list .field--name-field-attachments {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 32px 0;
    border: 1px solid #e2e6ed;
}

/* ---------- LABEL / TITLU ---------- */
.files-list .field--name-field-attachments .field__label {
    font-size: 23px;
    font-weight: 700;
    color: #1a1a2e;
    padding: 0 0 6px 0 !important;
    margin-bottom: 8px;
    border-bottom: 2px solid #2b7cba;
    display: inline-block;
    letter-spacing: 0;
}

/* ---------- TABLE RESET ---------- */
.files-list .field--name-field-attachments .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin: 0;
    background: transparent;
}

/* Hide table header */
.files-list .field--name-field-attachments .table thead {
    display: none;
}

/* ---------- ROWS = CARDS ---------- */
.files-list .field--name-field-attachments .table tbody tr {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.files-list .field--name-field-attachments .table tbody tr:hover {
    box-shadow: 0 4px 16px rgba(43, 124, 186, 0.15);
    transform: translateY(-1px);
}

/* ---------- CELLS ---------- */
.files-list .field--name-field-attachments .table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    border: none;
}

.files-list .field--name-field-attachments .table tbody td:first-child {
    border-radius: 10px 0 0 10px;
    width: 80%;
}

.files-list .field--name-field-attachments .table tbody td:last-child {
    border-radius: 0 10px 10px 0;
    text-align: right;
    white-space: nowrap;
    font-size: 18px;
    color: #8a8a8a;
    font-weight: 400;
}

/* ---------- FILE ICON + LINK ---------- */
.files-list .field--name-field-attachments .file a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2b7cba;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    transition: color 0.2s;
}

.files-list .field--name-field-attachments .file a:hover {
    color: #2b7cba; text-decoration: underline;
}

.files-list .file
{
    min-height: 32px;
    padding-left: 40px;
    background-position: left top;
}





/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
    .files-list .field--name-field-attachments {
        padding: 20px 16px;
    }

    .files-list .field--name-field-attachments .table tbody td {
        padding: 5px 14px;
    }

    .files-list .field--name-field-attachments .table tbody td:first-child {
        width:100%;
        text-align:left;
    }

    .files-list  .field--type-file table.table tr td
    {
display:block;
        width:100%; text-align:left;
    }
    .files-list .field--name-field-attachments .table tbody td:last-child
    {
        font-size:14px; font-style:italic;
    }
}
/*-----------------------------*/

/* ============================================
   LIGHTGALLERY — Image hover animation
   ============================================ */



.lightgallery .field-content a img.img-responsive {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
    border-radius:0px;
}

.lightgallery .field-content a:hover img.img-responsive {
    transform: scale(1.06);
    filter: brightness(0.75);
}

.lightgallery .field-content a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(43, 124, 186, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius:10px;
    pointer-events: none;
}



.lightgallery .field-content a:hover::after {
    opacity: 1;
}
/*---------------*/
a.butonalbastru:link,   a.butonalbastru:visited   {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 24px !important;
    background: #2b7cba !important;
    color: #ffffff !important;
    font-size: inherit !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    border: 2px solid transparent !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.25s, transform 0.2s !important;
    box-shadow: none !important;
    margin: 4px 10px !important;
    vertical-align: middle !important;
}

a.butonalbastru:hover {
    background: #1e6ba3 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

a.butonalbastru:active {
    background: #185a8a !important;
    transform: translateY(0) !important;
    box-shadow: none !important;
}

a.butonalbastru:focus-visible {
    outline: 3px solid rgba(43, 124, 186, 0.5) !important;
    outline-offset: 2px !important;
}
/*---------------*/

a.butonalb:link,   a.butonalb:visited   {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 24px !important;
    background: #ffffff !important;
    color: #2b7cba !important;
    font-size: inherit !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    border: 1px solid #2b7cba !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.25s, transform 0.2s !important;
    box-shadow: none !important;
    margin: 4px 10px !important;
    vertical-align: middle !important;
}

a.butonalb:hover {
    background: #efefef !important;
    color: #000 !important;
    box-shadow: none !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

a.butonalb:active {
    background: #185a8a !important;
    transform: translateY(0) !important;
    box-shadow: none !important;
}

a.butonalb:focus-visible {
    outline: 3px solid rgba(43, 124, 186, 0.5) !important;
    outline-offset: 2px !important;
}
/*----------------------*/

.hot-nav {
    border-top: 1px solid #d0d0d0 !important;
    /*border-bottom: 1px solid #d0d0d0 !important;*/
    padding: 20px 0 0 0 !important;
    margin-top:30px !important;
}

.contextual-region.foto-galerie
{
    margin-top:30px !important;
}
.hot-nav__arrow {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    border-radius: 50% !important;
    border: 3px solid #2b7cba !important;
    background: #ffffff !important;
    color: #2b7cba !important;
    font-size: 33px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s, color 0.2s !important;
    text-decoration: none !important;
    padding: 0 !important;
}

.hot-nav__arrow:hover {
    background: #2b7cba !important;
    color: #ffffff !important;
}

.hot-nav__date {
    display: block !important;
    font-size: 17px !important;
    color: #333333 !important;
    margin-bottom: 4px !important;
    font-weight:bold !important;
}

.hot-nav__link {
    font-size: 19px !important;
    color: #2b7cba !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.hot-nav__link:hover {
    color: #000 !important;
    text-decoration: underline !important;
}
/*--------------------*/
.sub-sedinte,
.sub-elections {
    display: none !important;
}

.sub-sedinte.is-open,
.sub-elections.is-open {
    display: block !important;
}

/*-------------------------------------*/



/* --- CSS Variables (CEC Site Colors) --- */
:root {
    --cec-primary: #067fc3;
    --cec-primary-dark: #015986;
    --cec-primary-light: #257daf;
    --cec-accent: #ffd86f;
    --cec-accent-hover: #ffc42c;
    --cec-bg-light: #f4f6f9;
    --cec-bg-page: #ffffff;
    --cec-bg-card: #ffffff;
    --cec-text-dark: #1a1a2e;
    --cec-text-muted: #5a6275;
    --cec-text-light: #8892a4;
    --cec-border: #e2e6ed;
    --cec-shadow-sm: 0 2px 8px rgba(6, 127, 195, 0.06);
    --cec-shadow-md: 0 8px 24px rgba(6, 127, 195, 0.10);
    --cec-shadow-lg: 0 16px 48px rgba(6, 127, 195, 0.15);
    --cec-radius: 12px;
    --cec-transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Bootstrap col height fix (carduri egale) --- */
.newstyle .views-col {
    display: flex;
}

/* --- Post Block / Card --- */
.newstyle .post-block {
    background: var(--cec-bg-card);
    border-radius: var(--cec-radius);
    overflow: hidden;
    box-shadow: var(--cec-shadow-sm);
    border: 1px solid var(--cec-border);
    transition: box-shadow var(--cec-transition),
    transform var(--cec-transition),
    border-color var(--cec-transition);
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.newstyle .post-block:hover {
    box-shadow: var(--cec-shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(6, 127, 195, 0.15);
}

/* --- Linie accent deasupra cardului --- */
.newstyle .post-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cec-primary) 0%, var(--cec-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
    border-radius: var(--cec-radius) var(--cec-radius) 0 0;
}

.newstyle .post-block:hover::before {
    transform: scaleX(1);
}

/* --- Image Container --- */
.newstyle .post-block .post-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--cec-bg-light);
    flex-shrink: 0;
}

.newstyle .post-block .post-image .field.field--name-field-image,
.newstyle .post-block .post-image .field.field--name-field-image .field__item,
.newstyle .post-block .post-image .item-image,
.newstyle .post-block .post-image .item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.newstyle .post-block .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.6s ease;
    filter: brightness(1);
}

/* --- Image Hover Animation --- */
.newstyle .post-block:hover .post-image img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* --- Image Overlay pe hover --- */
.newstyle .post-block .post-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            transparent 40%,
            rgba(6, 127, 195, 0.55) 100%
    );
    opacity: 0;
    transition: opacity var(--cec-transition);
    pointer-events: none;
    z-index: 1;
}

.newstyle .post-block:hover .post-image::after {
    opacity: 1;
}

/* --- Săgeată indicator pe hover --- */
.newstyle .post-block .post-image .post-image-arrow {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    background: var(--cec-accent);
    color: var(--cec-primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    opacity: 0;
    transform: translate(10px, 10px);
    transition: opacity var(--cec-transition),
    transform var(--cec-transition);
    pointer-events: none;
}

.newstyle .post-block:hover .post-image .post-image-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Placeholder (fără imagine) --- */
.newstyle .post-block .post-image--placeholder {
    background: linear-gradient(135deg, var(--cec-bg-light) 0%, #dde3ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newstyle .post-block .post-image--placeholder .placeholder-icon {
    opacity: 0.35;
}

/* --- Post Content --- */
.newstyle .post-block .post-content {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* --- Post Meta (data, linkuri taxonomy) --- */
.newstyle .post-block .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 14px;
}

.newstyle .post-block .post-meta .post-created {
    font-size: 15px;
    font-weight: 400;
    color: var(--cec-text-muted);
    letter-spacing: 0.02em;
    position: relative;
    padding-left: 0px;
}

/* Calendar icon înainte de dată */
/*
.newstyle .post-block .post-meta .post-created::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235a6275' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
*/
/* --- Tag / Badge pentru tipul articolului și circumscripție --- */
.newstyle .post-block .post-meta a.meta-tag--type,
.newstyle .post-block .post-meta a.meta-tag--region {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 10px 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: background var(--cec-transition),
    color var(--cec-transition),
    transform 0.2s ease;
    line-height: 1.4;
}

/* Tip articol - badge albastru */
.newstyle .post-block .post-meta a.meta-tag--type {
    background: rgba(6, 127, 195, 0.08);
    color: var(--cec-primary);
}

.newstyle .post-block .post-meta a.meta-tag--type:hover {
    background: var(--cec-primary);
    color: #ffffff;
    transform: scale(1.03);
}

/* Circumscripție - badge auriu */
.newstyle .post-block .post-meta a.meta-tag--region {
    background: rgba(255, 216, 111, 0.12);
    color: #fd8700;
}

.newstyle .post-block .post-meta a.meta-tag--region:hover {
    background: var(--cec-accent);
    color: var(--cec-primary-dark);
    transform: scale(1.03);
}

/* --- Titlu articol --- */
.newstyle .post-block .post-title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    color: var(--cec-text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newstyle .post-block .post-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--cec-transition);
}

.newstyle .post-block .post-title a:hover {
    color: var(--cec-primary-light);
}

.newstyle .post-block .post-title a span {
    background-image: linear-gradient(var(--cec-primary-light), var(--cec-primary-light));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-bottom: 1px;
}

.newstyle .post-block:hover .post-title a span {
    background-size: 100% 2px;
}

/* ============================================
   PAGINARE - Design modern centrat
   Clasele Drupal: nav.pager > ul.pagination.js-pager__items > li.page-item > a.page-link
   ============================================ */
nav.pager {
    display: flex;
    justify-content: center;
    padding: 40px 0 20px;
    width: 100%;
}

nav.pager ul.pagination.js-pager__items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0 auto !important;
    padding: 12px 16px !important;
    background: var(--cec-bg-card);
    border: 1px solid var(--cec-border);
    border-radius: 60px !important;
    box-shadow: var(--cec-shadow-sm);
}

nav.pager .page-item {
    display: flex;
}

/* Link-uri paginare */
nav.pager .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--cec-transition);
    color: var(--cec-text-muted);
    background: transparent;
    border: none;
}

/* Pagina curentă (activă) */
nav.pager .page-item.is-active .page-link,
nav.pager .page-item.active .page-link {
    background: var(--cec-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(6, 127, 195, 0.3);
    pointer-events: none;
}

/* Hover pe paginare */
nav.pager .page-item:not(.is-active):not(.active) .page-link:hover {
    background: var(--cec-bg-light);
    color: var(--cec-primary);
}

/* Next / Last */
nav.pager .page-item.pager__item--next .page-link,
nav.pager .page-item.pager__item--last .page-link {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--cec-primary);
    gap: 4px;
}

nav.pager .page-item.pager__item--next .page-link:hover,
nav.pager .page-item.pager__item--last .page-link:hover {
    background: rgba(6, 127, 195, 0.08);
    color: var(--cec-primary-dark);
}

/* Disabled state */
nav.pager .page-item.disabled .page-link {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

/* --- Responsive Paginare --- */
@media (max-width: 575px) {
    nav.pager ul.pagination.js-pager__items {
        gap: 3px;
        padding: 4px 6px !important;
    }
    nav.pager .page-item .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/* ============================================
   ANIMAȚII LA ÎNCĂRCAREA PAGINII
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.views-col {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.views-col:nth-child(1)  { animation-delay: 0.05s; }
.views-col:nth-child(2)  { animation-delay: 0.12s; }
.views-col:nth-child(3)  { animation-delay: 0.19s; }
.views-col:nth-child(4)  { animation-delay: 0.26s; }
.views-col:nth-child(5)  { animation-delay: 0.33s; }
.views-col:nth-child(6)  { animation-delay: 0.40s; }
.views-col:nth-child(7)  { animation-delay: 0.47s; }
.views-col:nth-child(8)  { animation-delay: 0.54s; }
.views-col:nth-child(9)  { animation-delay: 0.61s; }
.views-col:nth-child(10) { animation-delay: 0.68s; }
.views-col:nth-child(11) { animation-delay: 0.75s; }
.views-col:nth-child(12) { animation-delay: 0.82s; }
/*-------------------------------------*/
.js-form-item.form-item.js-form-type-select.form-type-select.js-form-item-tid.form-item-tid
{
    width:200px;
}
.views-exposed-form.bef-exposed-form input,
.views-exposed-form.bef-exposed-form select
{
    cursor:pointer;
}
#edit-submit-arhiva-cu-evenimente
/*.button.js-form-submit.form-submit.btn.btn-secondary*/
{
    border-radius: 5px;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
}
#edit-reset-arhiva-cu-evenimente
{
    border-radius: 5px;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 700;    margin: 0;
    cursor: pointer;
    background-color: #777777;
    color: #fff;
}
.navbar.navbar-expand-lg .container.d-flex
{
  padding-right:0;
}
.search-advanced.js-form-wrapper.form-wrapper.accordion
{
    display:none !important;
}

/*calendar=========*/
.cece-year-calendar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 10px 0;
}
.cece-year-calendar__title {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    padding: 6px 0;
}
.cece-year-calendar__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.cece-year-calendar__table th {
    font-size: 11px;
    color: #666;
    padding: 4px 0;
    text-align: center;
}
.cece-year-calendar__table td {
    font-size: 12px;
    text-align: center;
    padding: 4px 0;
    position: relative;
    vertical-align: top;
}
.cece-year-calendar__table td:hover {
    background: #f0f4f8;
}
.cece-year-calendar__dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 2px auto 0;
}

/*calendar=========*/
/* === CECE Calendar Modal === */

/* Ascunde dialogul jQuery UI */
.ui-dialog,
.ui-widget-overlay {
    display: none !important;
}

/* Modal header */
#ceceEventModal .modal-header {
    background: #2271b1;
    color: #fff;
}
#ceceEventModal .btn-close {
    filter: invert(1);
}

/* Modal body */
#ceceEventModal .modal-body {
    padding: 0;
}
#ceceEventModal .info-row {
    display: block;
    border-bottom: 1px solid #dee2e6;
    padding: 12px 16px;
}
#ceceEventModal .info-row:last-child {
    border-bottom: none;
}
#ceceEventModal .info-label {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0px;
}
#ceceEventModal .info-value {
    display: block;
}
#ceceEventModal .info-value a {
    color: #2271b1;  text-decoration:underline !important;
}
#ceceEventModal .info-value a:hover {
    text-decoration:none !important;
}
#ceceEventModal .info-value .date {
    white-space: nowrap;
}
#ceceEventModal .info-value p {
    margin: 0; font-size:18px;
}

.cece-direct-link-row {
    background: #f8f9fa;
}
.cece-direct-link-row .input-group {
    max-width: 100%;
}
.cece-direct-link-row input.form-control {
    font-size: 0.8rem;
    color: #555;
}
/*calendar=========*/
/* === Year Nav Bar === */
.cece-year-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    margin-bottom: 12px;
}
.cece-year-nav__left {
    display: flex;

}



.cece-year-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;

    cursor: pointer;



    -webkit-appearance: button;

    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color:  #2271b1;
    border: 1px solid #2271b1;
    padding: .4em .65em;
    font-size: 1em;
    line-height: 1.5;

    color: #fff;


}
.cece-year-nav__btn:hover {

    color: #fff;
    background-color: #1e2b37;
    border-color: #1a252f;
}

 #ceceYearNext
 {
     border:none;    font-size: 1em;
 }

.cece-year-nav__btn--today {
    font-size: 1em;
    font-weight: 600;
    padding: 0 14px;
    color: #fff;
    background-color: #4499e1;
    border-color: #4499e1;
    border-radius:5px;
}
#ceceYearToday
{
    margin-left: .75em ;
    padding: .4em .65em;
    font-size: 1em;
    line-height: 1.5;
    border-radius: .25em;
    font-weight:400;    opacity: .75;
}
#ceceYearPrev,#ceceYearNext
{
    font-size: 35px;

    padding: 10px 16px;
}

.cece-year-nav__center {
    flex: 1;
    text-align: center;
}
.cece-year-nav__title {
    font-size: 1.75rem;
    font-weight: 600;
}
.cece-year-nav__right {
    display: flex;
    gap: 0;
}
.cece-year-nav__view {
    padding: 6px 12px;



    cursor: pointer;
    margin-left: -1px;
    color: #fff;
    background-color: #2271b1;
    border-color: #2271b1;
    font-size:1em;
}
.cece-year-nav__view:first-child {
    border-radius: 4px 0 0 4px;
    margin-left: 0;
}
.cece-year-nav__view:last-child {
    border-radius: 0 4px 4px 0;
}
.cece-year-nav__view:hover {

    color: #fff;
    background-color: #2271b1;
    border-color: #2271b1;
    font-size:1em;
}
.cece-year-nav__view--active {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}
.cece-year-nav__view--active:hover {
    background: #34495e;
}

/* === 12 Luni Grid === */
.cece-year-calendar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 10px 0;
}


.cece-year-calendar__month {
    min-height: 250px;
}
.cece-year-calendar__title {
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    padding: 6px 0;
}
.cece-year-calendar
.cece-year-calendar__title
{
    border: 1px solid #ddd; text-transform:uppercase;    background: #e7f1ff;
}

.cece-year-calendar__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.cece-year-calendar
.cece-year-calendar__table th {
    font-size: 16px;
    color: #666;
    padding: 4px 0;
    text-align: center; border: 1px solid #ddd;
}
.cece-year-calendar
.cece-year-calendar__table td {
    font-size: 16px;
    text-align: right;
    padding:10px 15px 20px 0;
    position: relative;
    vertical-align: top;border: 1px solid #ddd;
}
.cece-year-calendar
.cece-year-calendar__table td:hover {
    background: #f0f4f8;
}
.cece-year-calendar
.cece-year-calendar__dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 2px auto 0;
    position: absolute;
    right: 14px;
}
/*-------stil bara la 12 luni calendar*/
/*---------*/
.fc-day-grid-event.fc-h-event.fc-event
{
    cursor:pointer;
}
.fc-day-grid-event .fc-time
{
    font-weight: 500;
    font-size: 16px;
}
.fc-content
{
    padding: 6px 10px;
}
.fc-unthemed td.fc-today {
    background: #ffecb0;
}
.fc-day-header.fc-widget-header span
{
    text-transform: uppercase;
}
.fc-day-header.fc-widget-header
{
    padding:6px 10px;
}
.fc-day-top.fc-future .fc-day-number
{
    font-size: 20px;
    padding: 10px;
}
.fc-day-top.fc-past .fc-day-number
{
    font-size: 20px;
    padding: 10px;
}
.fc-day-top.fc-today .fc-day-number
{
    font-size: 20px;
    padding: 10px;
}
.fc-button-primary {
    color: #fff;
    background-color: #2271b1;
    border-color: #2271b1;
}
.fc-button-primary:disabled {
    color: #fff;
    background-color: #4499e1;
    border-color: #4499e1;
}
/*---------*/
article.contextual-region.node.node--type-page .text-formatted p
{
    font-size: 18px;
    line-height: 1.6;
}
.region-title a
{
    color: #067fc3;
    font-size: 20px;
    font-weight: normal;
    text-decoration: underline;
    margin-right: 10px;
    float: right;
    margin-top:10px;

}
.region-title a:hover
{
    color: #067fc3;
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
    margin-right: 10px;
}
.region-title a:after {
    content: "";
    display: inline-block;
    position: relative;
    background: url("/themes/custom/cec_theme/images/arrow-right-1.png") no-repeat right center;
    width: 36px;
    height: 24px;
    margin: 0px 0 0 10px;
    vertical-align: middle;
}
.modal-content
.modal-body
.info-value
.detail-text img
{
    width:100%;
    height:auto;
}

/* ============================================
  butoane moderne, fond alb
   ============================================ */


.item-list-alegeri ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.item-list-alegeri ul li {
    margin: 0;
    padding: 0;
    flex: 0 0 calc(33.333% - 20px);
}

.item-list-alegeri ul li:has(.field-content a span:empty) {
    display: none;
}

.item-list-alegeri .views-field-nothing .field-content a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60px;
    background: #ffffff;
    border: 1px solid #d0dce8;
    border-radius: 8px;
    padding: 14px 20px;
    color: #2b7cba;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.item-list-alegeri .views-field-nothing .field-content a:hover {
    background: #f0f5fa;
    border-color: #2b7cba;
    box-shadow: 0 2px 8px rgba(43, 124, 186, 0.15);
    color: #1a5a8a;
}

.item-list-alegeri .views-field-nothing .field-content a:active {
    background: #e3eef7;
}

.item-list-alegeri .views-field-nothing .field-content a span:empty {
    display: none;
}

/* ---------- TABLET ---------- */
@media (max-width: 992px) {
    .item-list-alegeri ul li {
        flex: 0 0 calc(50% - 5px);
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 576px) {
    .item-list-alegeri ul li {
        flex: 0 0 100%;
    }
}
/* ============================================
  butoane moderne, fond alb
   ============================================ */
/* ============================================
  butoane moderne, fond alb
   ============================================ */

.alegeri-nav-av ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.alegeri-nav-av ul li {
    margin: 0;
    padding: 0;
    flex: 1 1 0;
}

.alegeri-nav-av ul li a {
    display: block;
    width: 100%;
    background: #ffffff;
    border: 1px solid #d0dce8;
    border-radius: 8px;
    padding: 12px 24px;
    color: #2b7cba;
    font-size: 22px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-transform:uppercase;
}

.alegeri-nav-av ul li a:hover {
    background: #2b7cba;
    border-color: #2b7cba;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(43, 124, 186, 0.25);
}

.alegeri-nav-av ul li a:active {
    background: #1a5a8a;
    border-color: #1a5a8a;
    color: #ffffff;
}

.alegeri-nav-av ul li.is-active a {
    background: #1a5a8a;
    border-color: #1a5a8a;
    color: #ffffff;
}

.alegeri-nav-av ul li.is-active a:hover {
    background: #2b7cba  ;
    border-color: #2b7cba;
    color: #ffffff  ;
}

/* ---------- MOBILE ---------- */
@media (max-width: 576px) {
    .alegeri-nav-av ul {
        flex-direction: column;
    }
}

/* ============================================
   ALEGERI NAV — butoane moderne, fond alb
   ============================================ */
.alegeri-panel-heading
{
    color: #2b7cba;
}

.sectiune-bloc p
{
    font-size:18px;
    line-height:1.6;
}
/*---------*/
a.contacte_cece:link,
a.contacte_cece:visited,
a.contacte_cece:active
{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60px;
    background: #f0f5fa;
    border: 1px solid #2b7cba;
    border-radius: 0px;
    padding: 14px 20px;
    color: #1a5a8a;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);    margin-bottom:10px;
}

a.contacte_cece:hover {
    background: #fff;
    border-color: #d0dce8;
    box-shadow: 0 2px 8px rgba(43, 124, 186, 0.15);
    color: #2b7cba;    margin-bottom:10px;
}


a.contacte_besv:link,
a.contacte_besv:visited,
a.contacte_besv:active
{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60px;
    background: #f0f5fa;
    border: 1px solid #2b7cba;
    border-radius: 0px;
    padding: 14px 20px;
    color: #1a5a8a;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom:10px;
}

a.contacte_besv:hover {
    background: #fff;
    border-color: #d0dce8;
    box-shadow: 0 2px 8px rgba(43, 124, 186, 0.15);
    color: #2b7cba;    margin-bottom:10px;
}

/*-----------------------*/
/* ============================================
   ALEGERI NAV — tree / copac
   ============================================ */

.alegeri-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.alegeri-nav > ul {
    width: 100%;
    border: 1px solid #d0dce8;
    background: #ffffff;
    margin-top:8px !important;
}

.alegeri-nav > ul > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e8edf3;
}

.alegeri-nav > ul > li:last-child {
    border-bottom: none;
}

.alegeri-nav > ul > li > a {
    display: block;
    padding: 12px 18px;
    color: #2b7cba;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}

.alegeri-nav > ul > li > a:hover,
.alegeri-nav > ul > li.is-active > a {
    background: #f0f5fa;
}

/* ---------- RAMURI (submeniu) ---------- */

.alegeri-nav > ul > li > ul {
    padding: 0;
    border-top: 1px solid #e8edf3;
}

.alegeri-nav > ul > li > ul > li {
    margin: 0;
    padding: 0;
    position: relative;
    padding-left: 18px;
}

.alegeri-nav > ul > li > ul > li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #d0dce8;
}

.alegeri-nav > ul > li > ul > li::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    width: 12px;
    height: 1px;
    background: #d0dce8;
}

.alegeri-nav > ul > li > ul > li:last-child::before {
    bottom: 50%;
}

.alegeri-nav > ul > li > ul > li > a {
    display: block;
    padding: 10px 18px 10px 36px;
    color: #333333;
    font-size: 17px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.alegeri-nav > ul > li > ul > li > a:hover {
    background: #f0f5fa;
    color: #2b7cba;
}
.alegeri-nav
{
    margin-bottom:20px;
}

.alegeri-nav ul li.is-active ul li a.is-active
{
    background: #f0f5fa;
    color: #2b7cba;

}
.fc-list-table .fc-list-item,
.fc-time-grid-event.fc-event
{
    cursor:pointer;
}
.page-route-search-view-node-search
    .alert.alert-error.alert-danger.alert-dismissible
{
    display:none;
}
.page-route-search-view-node-search .search-form
{
    display:none;
}
#edit-field-serial-no-value
{
    width: 150px;
}
.decizii-corelate .views-row:not(:first-of-type) .lista-tabel .lista-antet
{
    display: none;
}
/*----------------------*/
.lista-tabel {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lista-antet,
.lista-rind {
    display: grid;
    grid-template-columns: 60px 180px 1fr 150px 200px;
    align-items: center;
}

.lista-antet {
    background: #2b7cba;
    color: #fff;
    font-weight: 700;
}

.lista-antet span {
    padding: 10px 12px;
    font-size: 19px;
}

.lista-rind span {
    padding: 10px 12px;
    font-size: 17px;
}

.lista-rind {
    border-bottom: 1px solid #bebebe;
}

.lista-rind:nth-child(even) {
    background: #fff;
}
.lista-rind:hover
{
    background: #e3eef7;
}
.lista-rind span a:hover
{
    color:black; text-decoration:none;
}
@media (max-width: 768px) {
    .lista-antet {
        display: none;
    }

    .lista-rind {
        display: block;
        padding: 12px !important;
        margin-bottom: 8px !important;
        border: 1px solid #dee2e6;
        border-radius: 6px !important;
        background: #fff !important;
    }

    .lista-rind span {
        display: flex;
        padding: 4px 0;
        gap: 8px;word-break: break-all;
    }

    .lista-rind span::before {
        content: attr(data-label) ": ";
        display: inline-block;
        font-weight: 700;
        color: #003366;
        min-width: 120px;
        flex-shrink: 0;
    }
}
/*----------------------*/
.date_de_contact_cece
{
    margin-top:10px;
}
.date_de_contact_cece a:link,
.date_de_contact_cece a:visited,
.date_de_contact_cece a:active,
.date_de_contact_besv a:link,
.date_de_contact_besv a:visited,
.date_de_contact_besv a:active
{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60px;
    background: #f0f5fa;
    border: 1px solid #2b7cba;
    border-radius: 0px;
    padding: 14px 20px;
    color: #1a5a8a;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 10px;
}


.date_de_contact_cece a:hover,
.date_de_contact_besv a:hover
{
    background: #fff;
    border-color: #d0dce8;
    box-shadow: 0 2px 8px rgba(43, 124, 186, 0.15);
    color: #2b7cba;
    margin-bottom: 10px;
}
/*----------------------------------------*/
.lista-tabel-a {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lista-antet-a,
.lista-rind-a {
    display: grid;
    grid-template-columns: 60px 180px 1fr 150px 200px;
    align-items: center;
}


.lista-antet-a {
    background: #2b7cba;
    color: #fff;
    font-weight: 700;
}

.lista-antet-a span {
    padding: 10px 12px;
    font-size: 19px;
}

.lista-rind-a span {
    padding: 10px 12px;
    font-size: 17px;
}

.lista-rind-a {
    border-bottom: 1px solid #bebebe;
}

.lista-rind-a:nth-child(even) {
    background: #fff;
}
.lista-rind-a:hover
{
    background: #e3eef7;
}
.lista-rind-a span a:hover
{
    color:black; text-decoration:none;
}
/* Arătăm antetul implicit */
.lista-antet-a {
    display: grid;
}

/* Ascundem antetul din orice views-row care vine DUPĂ alt views-row */
.views-row ~ .views-row .lista-antet-a {
    display: none;
}
 

@media (max-width: 768px) {
    .lista-antet-a {
        display: none !important;
    }

    .lista-rind-a {
        display: block;
        padding: 12px !important;
        margin-bottom: 8px !important;
        border: 1px solid #dee2e6;
        border-radius: 6px !important;
        background: #fff !important;
    }

    .lista-rind-a span {
        display: flex;
        padding: 4px 0;
        gap: 8px;word-break: break-all;
    }

    .lista-rind-a span::before {
        content: attr(data-label) ": ";
        display: inline-block;
        font-weight: 700;
        color: #003366;
        min-width: 120px;
        flex-shrink: 0;
    }
}
/*----------------------------------------*/
.cec-tabset-buttons .nav-pills {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

/* Tab inactiv - gri deschis */
.cec-tabset-buttons .nav-pills .nav-link {
    background-color: #e9ecef;
    color: #495057;
    border: none;
    border-radius: 4px;
    padding: 0.65rem 1.5rem;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Hover pe tab inactiv - gri puțin mai închis */
.cec-tabset-buttons .nav-pills .nav-link:hover {
    background-color: #dee2e6;
    color: #2b7cba;
}

/* La click/apăsare - efect de press */
.cec-tabset-buttons .nav-pills .nav-link:active {
    transform: scale(0.97);
}

/* Tab activ - albastru */
.cec-tabset-buttons .nav-pills .nav-link.active {
    background-color: #067fc3;
    color: #fff;
}

.cec-tabset-buttons .nav-pills .nav-link.active:hover {
    background-color: #2b7cba;
    color: #fff;
}

/* Focus pentru accesibilitate */
.cec-tabset-buttons .nav-pills .nav-link:focus-visible {
    outline: 2px solid #067fc3;
    outline-offset: 2px;
}

.cec-tabset-buttons .tab-content {
    padding: 1rem 0;
}

/* Mobile - listbox vertical */
@media (max-width: 576px) {
    .cec-tabset-buttons .nav-pills {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0.35rem;
        padding: 0.5rem;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 6px;
    }

    .cec-tabset-buttons .nav-pills .nav-item {
        width: 100%;
    }

    .cec-tabset-buttons .nav-pills .nav-link {
        width: 100%;
        text-align: left;
        white-space: normal;
        border-radius: 4px;
        font-size: 1.4rem;
        padding: 0.75rem 1rem;
        position: relative;
    }

    /* Săgeată/indicator pe tab-ul activ */
    .cec-tabset-buttons .nav-pills .nav-link.active::after {
        content: "›";
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.4rem;
        line-height: 1;
        font-weight: 700;
    }

    /* Anulez efectul de scale ca să nu pară glitchy pe touch */
    .cec-tabset-buttons .nav-pills .nav-link:active {
        transform: none;
    }
}
/*-------------*/


.sectiune-bloc a, .sectiune-bloc p a {
    text-decoration: underline !important;
}

.sectiune-bloc a:hover, .sectiune-bloc p a:hover {
    text-decoration: none !important;
    color: #000;
}
.sectiune-bloc ul,
.sectiune-bloc ul li {
    list-style-type:  initial !important;
    padding: revert !important;
    margin:  revert !important;
}

/*-----------------*/
/*------------------------------*/
.region-tabs-grid-ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.region-tabs-grid-ul li {
    margin: 0;
}

.region-tabs-grid-ul li a {
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 30px;
    transition: .2s;
    min-height: 150px;
    font-family: "Open Sans", sans-serif;
    background-color: rgb(6, 127, 195);
    color: #fff;
    font-size: 22px;
    text-decoration: none !important;
    width: 100%;
    word-break: break-word;
}

.region-tabs-grid-ul li a:hover,
.region-tabs-grid-ul li a:focus {
    text-decoration: none !important;
    background-color: white;
    color: #000;
}

.region-tabs-grid-ul li a img {
    filter: brightness(0) invert(1);
    width: auto !important;
    height: auto !important;
}

.region-tabs-grid-ul li a:hover img {
    filter: brightness(1) invert(0);
    width: auto !important;
    height: auto !important;
}

@media (max-width: 576px) {
    .region-tabs-grid-ul {
        grid-template-columns: 1fr;
    }
}
/*------------------------------*/

#accessibility_modal_footer {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
}
.views-field-field-opening-hours-for-the-week h4
{
    font-size: 1.3rem;
}
.views-field-field-opening-hours-for-the-week h5  {
    font-size: 1.15rem;
}


















@media (min-width: 768px) and (max-width: 1199.98px)
{
    .another_url_a img
    {
        width: auto !important;
    }
    .cd-body {
        display: flex;text-decoration: none;
        align-items: center;
        justify-content: space-between;
        gap: 10px;text-align: center;
        flex-direction: column;
    }
    .cd-header {
        display: flex;
        justify-content: space-between;
        align-items: center;text-decoration: none;
        margin-bottom: 10px;
        flex-direction: column;        text-align: center;
    }
    .foto-left .field--name-field-image.field--type-image {
        width: 350px;
    }
    .post-content img
    {
        width: 100%;
        height:auto !important;
    }
}

@media (max-width: 767.98px) {
    .grid-tab-link-ab .grid-tab-icon {
        filter: brightness(0) invert(1);
        width: 64px;
    }
    .cece-year-calendar {

        grid-template-columns: 1fr;

    }

    .modal-content
    .modal-body
    .info-value
    .detail-text img
    {
        width:100%;
        height:auto;
    }

    .region-title a
    {
        color: #067fc3;
        font-size: 20px;
        font-weight: normal;
        text-decoration: underline;
        margin-right: 10px;
        float: none;
        position: relative;
        right: auto;
        top: auto;
        display:block;
    }
    article.contextual-region.node.node--type-page .text-formatted p img.align-center,
    article.contextual-region.node.node--type-page  .text-formatted p img.align-left,
    article.contextual-region.node.node--type-page .text-formatted p img.align-right,
    .post-content .text-formatted p img.align-right,
    .post-content .text-formatted p img.align-left,
    .post-content .text-formatted p img.align-center
    {
      width:100%;
        height:auto;
    }
    .post-content  .text-formatted video
    {
        width:100% !important;
        height:auto !important;
    }
    .fc-toolbar.fc-header-toolbar
    {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }

    .js-form-item.form-item.js-form-type-select.form-type-select.js-form-item-tid.form-item-tid {
        width: auto;
    }

    .newstyle .post-block .post-title {
        font-size: 19px;

        -webkit-line-clamp: 6;

    }

    .hot-nav .row.align-items-center
    {
        flex-direction: column;
    }
    .hot-nav .row .col-auto,
    .hot-nav .row .col

    {
        margin-bottom:20px;
    }
    .hot-nav .row .col.text-end
    {
        margin-top: 20px;
        padding-top: 30px;
        border-top: 1px solid #ccc;
    }

    .lightgallery-wrapper ul.lightgallery li
    {
        width:100%
    }
    .lightgallery .field-content {
        width: auto;
        height: 200px;
    }
    ul.lightgallery
    {
        margin:0;
        padding:0;
    }
    .another_url_a img
    {
        width: auto !important;
    }
    .foto-left
    {
        float:none;
        padding: 0px 0px 0px 0px;
        margin-bottom:20px;
    }
    .foto-left .field--name-field-image.field--type-image
    {
        margin-bottom:20px;
    }
    /*---------------------*/

    @media (max-width: 767px) {
        .cece-year-nav__view {
            padding: 6px 11px;
            font-size: 15px;
        }

        .cece-year-nav {

            flex-direction: column;
        }
        .fc-scroller
        {
            overflow:auto !important;
        }
        .post-text.articles-text-a  table,
        .post-text.articles-text-a   .table {
            min-width: 100%;
            overflow-x: scroll;display:block;
            -webkit-overflow-scrolling: touch;
            -ms-overflow-style: -ms-autohiding-scrollbar;
        }

        .post-text.articles-text-a  table thead,
        .post-text.articles-text-a  table tbody,
        .post-text.articles-text-a   table tr,
        .post-text.articles-text-a   table th,
        .post-text.articles-text-a   table td,
        .post-text.articles-text-a   .table thead,
        .post-text.articles-text-a   .table tbody,
        .post-text.articles-text-a   .table tr,
        .post-text.articles-text-a   .table th,
        .post-text.articles-text-a   .table td {
            white-space: nowrap;
        }

        .post-text.articles-text-a    table::-webkit-scrollbar,
        .post-text.articles-text-a   .table::-webkit-scrollbar {
            height: 6px;
        }

        .post-text.articles-text-a  table::-webkit-scrollbar-track,
        .post-text.articles-text-a   .table::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .post-text.articles-text-a  table::-webkit-scrollbar-thumb,
        .post-text.articles-text-a  .table::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 3px;
        }

        .post-text.articles-text-a  table::-webkit-scrollbar-thumb:hover,
        .post-text.articles-text-a  .table::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
    }
    /*---------------------*/
    .foto-left .field--name-field-image.field--type-image,
    .post-content img
    {
        width: 100%;
        height:auto !important;
    }
    .cd-body {
        display: flex;text-decoration: none;
        align-items: center;
        justify-content: space-between;
        gap: 10px; text-align: center;
        flex-direction: column;
    }
    .cd-header {
        display: flex;text-decoration: none;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        flex-direction: column; text-align: center;
    }
    .circum-modal {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1050;
        width: 320px;
        max-width: 320px;
        background: #fff;
        border: 2px solid #1565c0;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    }
    .navbar-brand a.site-title::before
    {
        font-size: 1em;
    }
    .region-breadcrumb {
        border: 0;

    }
    .post_title_a
    {
        font-size: 22px;
    }
}

